# _collections

id: pbc_2279338944
type: base
name: _mfas
indexes: ["CREATE INDEX `idx_mfas_collectionRef_recordRef` ON `_mfas` (collectionRef,recordRef)"]
options: {}
created: 2026-04-25 08:49:24.789Z
updated: 2026-04-25 08:49:24.789Z
fields:
  [{"autogeneratePattern":"[a-z0-9]{15}","hidden":false,"id":"text3208210256","max":15,"min":15,"name":"id","pattern":"^[a-z0-9]+$","presentable":false,"primaryKey":true,"required":true,"system":true,"type":"text"},{"autogeneratePattern":"","hidden":false,"id":"text455797646","max":0,"min":0,"name":"collectionRef","pattern":"","presentable":false,"primaryKey":false,"required":true,"system":true,"type":"text"},{"autogeneratePattern":"","hidden":false,"id":"text127846527","max":0,"min":0,"name":"recordRef","pattern":"","presentable":false,"primaryKey":false,"required":true,"system":true,"type":"text"},{"autogeneratePattern":"","hidden":false,"id":"text1582905952","max":0,"min":0,"name":"method","pattern":"","presentable":false,"primaryKey":false,"required":true,"system":true,"type":"text"},{"hidden":false,"id":"autodate2990389176","name":"created","onCreate":true,"onUpdate":false,"presentable":false,"system":true,"type":"autodate"},{"hidden":false,"id":"autodate3332085495","name":"updated","onCreate":true,"onUpdate":true,"presentable":false,"system":true,"type":"autodate"}]

listRule:
  @request.auth.id != '' && recordRef = @request.auth.id && collectionRef = @request.auth.collectionId

viewRule:
  @request.auth.id != '' && recordRef = @request.auth.id && collectionRef = @request.auth.collectionId


id: pbc_1638494021
type: base
name: _otps
indexes: ["CREATE INDEX `idx_otps_collectionRef_recordRef` ON `_otps` (collectionRef, recordRef)"]
options: {}
created: 2026-04-25 08:49:24.792Z
updated: 2026-04-25 08:49:24.792Z
fields:
  [{"autogeneratePattern":"[a-z0-9]{15}","hidden":false,"id":"text3208210256","max":15,"min":15,"name":"id","pattern":"^[a-z0-9]+$","presentable":false,"primaryKey":true,"required":true,"system":true,"type":"text"},{"autogeneratePattern":"","hidden":false,"id":"text455797646","max":0,"min":0,"name":"collectionRef","pattern":"","presentable":false,"primaryKey":false,"required":true,"system":true,"type":"text"},{"autogeneratePattern":"","hidden":false,"id":"text127846527","max":0,"min":0,"name":"recordRef","pattern":"","presentable":false,"primaryKey":false,"required":true,"system":true,"type":"text"},{"cost":8,"hidden":true,"id":"password901924565","max":0,"min":0,"name":"password","pattern":"","presentable":false,"required":true,"system":true,"type":"password"},{"autogeneratePattern":"","hidden":true,"id":"text3866985172","max":0,"min":0,"name":"sentTo","pattern":"","presentable":false,"primaryKey":false,"required":false,"system":true,"type":"text"},{"hidden":false,"id":"autodate2990389176","name":"created","onCreate":true,"onUpdate":false,"presentable":false,"system":true,"type":"autodate"},{"hidden":false,"id":"autodate3332085495","name":"updated","onCreate":true,"onUpdate":true,"presentable":false,"system":true,"type":"autodate"}]

listRule:
  @request.auth.id != '' && recordRef = @request.auth.id && collectionRef = @request.auth.collectionId

viewRule:
[cell repeats an earlier one in this file: 100 characters]


id: pbc_2281828961
type: base
name: _externalAuths
options: {}
created: 2026-04-25 08:49:24.796Z
updated: 2026-04-25 08:49:24.796Z
fields:
  [{"autogeneratePattern":"[a-z0-9]{15}","hidden":false,"id":"text3208210256","max":15,"min":15,"name":"id","pattern":"^[a-z0-9]+$","presentable":false,"primaryKey":true,"required":true,"system":true,"type":"text"},{"autogeneratePattern":"","hidden":false,"id":"text455797646","max":0,"min":0,"name":"collectionRef","pattern":"","presentable":false,"primaryKey":false,"required":true,"system":true,"type":"text"},{"autogeneratePattern":"","hidden":false,"id":"text127846527","max":0,"min":0,"name":"recordRef","pattern":"","presentable":false,"primaryKey":false,"required":true,"system":true,"type":"text"},{"autogeneratePattern":"","hidden":false,"id":"text2462348188","max":0,"min":0,"name":"provider","pattern":"","presentable":false,"primaryKey":false,"required":true,"system":true,"type":"text"},{"autogeneratePattern":"","hidden":false,"id":"text1044722854","max":0,"min":0,"name":"providerId","pattern":"","presentable":false,"primaryKey":false,"required":true,"system":true,"type":"text"},{"hidden":false,"id":"autodate2990389176","name":"created","onCreate":true,"onUpdate":false,"presentable":false,"system":true,"type":"autodate"},{"hidden":false,"id":"autodate3332085495","name":"updated","onCreate":true,"onUpdate":true,"presentable":false,"system":true,"type":"autodate"}]

indexes:
  ["CREATE UNIQUE INDEX `idx_externalAuths_record_provider` ON `_externalAuths` (collectionRef, recordRef, provider)","CREATE UNIQUE INDEX `idx_externalAuths_collection_provider` ON `_externalAuths` (collectionRef, provider, providerId)"]

listRule:
[cell repeats an earlier one in this file: 100 characters]

viewRule:
[cell repeats an earlier one in this file: 100 characters]

deleteRule:
[cell repeats an earlier one in this file: 100 characters]


id: pbc_4275539003
type: base
name: _authOrigins
options: {}
created: 2026-04-25 08:49:24.798Z
updated: 2026-04-25 08:49:24.798Z
fields:
  [{"autogeneratePattern":"[a-z0-9]{15}","hidden":false,"id":"text3208210256","max":15,"min":15,"name":"id","pattern":"^[a-z0-9]+$","presentable":false,"primaryKey":true,"required":true,"system":true,"type":"text"},{"autogeneratePattern":"","hidden":false,"id":"text455797646","max":0,"min":0,"name":"collectionRef","pattern":"","presentable":false,"primaryKey":false,"required":true,"system":true,"type":"text"},{"autogeneratePattern":"","hidden":false,"id":"text127846527","max":0,"min":0,"name":"recordRef","pattern":"","presentable":false,"primaryKey":false,"required":true,"system":true,"type":"text"},{"autogeneratePattern":"","hidden":false,"id":"text4228609354","max":0,"min":0,"name":"fingerprint","pattern":"","presentable":false,"primaryKey":false,"required":true,"system":true,"type":"text"},{"hidden":false,"id":"autodate2990389176","name":"created","onCreate":true,"onUpdate":false,"presentable":false,"system":true,"type":"autodate"},{"hidden":false,"id":"autodate3332085495","name":"updated","onCreate":true,"onUpdate":true,"presentable":false,"system":true,"type":"autodate"}]

indexes:
  ["CREATE UNIQUE INDEX `idx_authOrigins_unique_pairs` ON `_authOrigins` (collectionRef, recordRef, fingerprint)"]

listRule:
[cell repeats an earlier one in this file: 100 characters]

viewRule:
[cell repeats an earlier one in this file: 100 characters]

deleteRule:
[cell repeats an earlier one in this file: 100 characters]


id: pbc_3142635823
type: auth
name: _superusers
created: 2026-04-25 08:49:24.800Z
updated: 2026-04-25 08:53:55.461Z
fields:
  [{"autogeneratePattern":"[a-z0-9]{15}","hidden":false,"id":"text3208210256","max":15,"min":15,"name":"id","pattern":"^[a-z0-9]+$","presentable":false,"primaryKey":true,"required":true,"system":true,"type":"text"},{"cost":0,"hidden":true,"id":"password901924565","max":0,"min":8,"name":"password","pattern":"","presentable":false,"required":true,"system":true,"type":"password"},{"autogeneratePattern":"[a-zA-Z0-9]{50}","hidden":true,"id":"text2504183744","max":60,"min":30,"name":"tokenKey","pattern":"","presentable":false,"primaryKey":false,"required":true,"system":true,"type":"text"},{"exceptDomains":null,"hidden":false,"id":"email3885137012","name":"email","onlyDomains":null,"presentable":false,"required":true,"system":true,"type":"email"},{"hidden":false,"id":"bool1547992806","name":"emailVisibility","presentable":false,"required":false,"system":true,"type":"bool"},{"hidden":false,"id":"bool256245529","name":"verified","presentable":false,"required":false,"system":true,"type":"bool"},{"hidden":false,"id":"autodate2990389176","name":"created","onCreate":true,"onUpdate":false,"presentable":false,"system":true,"type":"autodate"},{"hidden":false,"id":"autodate3332085495","name":"updated","onCreate":true,"onUpdate":true,"presentable":false,"system":true,"type":"autodate"}]

indexes:
  ["CREATE UNIQUE INDEX `idx_tokenKey_pbc_3142635823` ON `_superusers` (`tokenKey`)","CREATE UNIQUE INDEX `idx_email_pbc_3142635823` ON `_superusers` (`email`) WHERE `email` != ''"]

options:
  {"authRule":"","manageRule":null,"authAlert":{"enabled":true,"emailTemplate":{"subject":"Login from a new location","body":"\u003cp\u003eHello,\u003c/p\u003e\n\u003cp\u003eWe noticed a login to your {APP_NAME} account from a new location:\u003c/p\u003e\n\u003cp\u003e\u003cem\u003e{ALERT_INFO}\u003c/em\u003e\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003eIf this wasn't you, you should immediately change your {APP_NAME} account password to revoke access from all other locations.\u003c/strong\u003e\u003c/p\u003e\n\u003cp\u003eIf this was you, you may disregard this email.\u003c/p\u003e\n\u003cp\u003e\n  Thanks,\u003cbr/\u003e\n  {APP_NAME} team\n\u003c/p\u003e"}},"oauth2":{"providers":null,"mappedFields":{"id":"","name":"","username":"","avatarURL":""},"enabled":false},"passwordAuth":{"enabled":true,"identityFields":["email"]},"mfa":{"enabled":false,"duration":1800,"rule":""},"otp":{"enabled":false,"duration":180,"length":6,"emailTemplate":{"subject":"OTP for {APP_NAME}","body":"\u003cp\u003eHello,\u003c/p\u003e\n\u003cp\u003eYour one-time password is: \u003cstrong\u003e{OTP}\u003c/strong\u003e\u003c/p\u003e\n\u003cp\u003e\u003ci\u003eIf you didn't ask for the one-time password, you can ignore this email.\u003c/i\u003e\u003c/p\u003e\n\u003cp\u003e\n  Thanks,\u003cbr/\u003e\n  {APP_NAME} team\n\u003c/p\u003e"}},"authToken":{"secret":"I5YfCHGoafXIUS31di1UvmN36aHrUx2a3Xf4pmTedNCXpAuEow","duration":86400},"passwordResetToken":{"secret":"S4psVozRw7RLhKgdtn6LJtT4UiqT1qEDY9S10bAZPV1AvboXPW","duration":1800},"emailChangeToken":{"secret":"jJZ0dY9RwvGaZ2W2lMEp9xdLyQ2FLZTPpQ9cu75lg9E2ZPK709","duration":1800},"verificationToken":{"secret":"E8YiZTttwnMTfFKJMPESMsvyigvCEhFlUkPl0a4dslg3YDquYP","duration":259200},"fileToken":{"secret":"BrJzQGm4s6nDYd9vpzXrlMYfet8cl1hPGkbY8ku4wP9TiGXJrT","duration":180},"verificationTemplate":{"subject":"Verify your {APP_NAME} email","body":"\u003cp\u003eHello,\u003c/p\u003e\n\u003cp\u003eThank you for joining us at {APP_NAME}.\u003c/p\u003e\n\u003cp\u003eClick on the button below to verify your email address.\u003c/p\u003e\n\u003cp\u003e\n  \u003ca class=\"btn\" href=\"{APP_URL}/_/#/auth/confirm-verification/{TOKEN}\" target=\"_blank\" rel=\"noopener\"\u003eVerify\u003c/a\u003e\n\u003c/p\u003e\n\u003cp\u003e\n  Thanks,\u003cbr/\u003e\n  {APP_NAME} team\n\u003c/p\u003e"},"resetPasswordTemplate":{"subject":"Reset your {APP_NAME} password","body":"\u003cp\u003eHello,\u003c/p\u003e\n\u003cp\u003eClick on the button below to reset your password.\u003c/p\u003e\n\u003cp\u003e\n  \u003ca class=\"btn\" href=\"{APP_URL}/_/#/auth/confirm-password-reset/{TOKEN}\" target=\"_blank\" rel=\"noopener\"\u003eReset password\u003c/a\u003e\n\u003c/p\u003e\n\u003cp\u003e\u003ci\u003eIf you didn't ask to reset your password, you can ignore this email.\u003c/i\u003e\u003c/p\u003e\n\u003cp\u003e\n  Thanks,\u003cbr/\u003e\n  {APP_NAME} team\n\u003c/p\u003e"},"confirmEmailChangeTemplate":{"subject":"Confirm your {APP_NAME} new email address","body":"\u003cp\u003eHello,\u003c/p\u003e\n\u003cp\u003eClick on the button below to confirm your new email address.\u003c/p\u003e\n\u003cp\u003e\n  \u003ca class=\"btn\" href=\"{APP_URL}/_/#/auth/confirm-email-change/{TOKEN}\" target=\"_blank\" rel=\"noopener\"\u003eConfirm new email\u003c/a\u003e\n\u003c/p\u003e\n\u003cp\u003e\u003ci\u003eIf you didn't ask to change your email address, you can ignore this email.\u003c/i\u003e\u003c/p\u003e\n\u003cp\u003e\n  Thanks,\u003cbr/\u003e\n  {APP_NAME} team\n\u003c/p\u003e"}}


id: _pb_users_auth_
type: auth
name: users
listRule: id = @request.auth.id
viewRule: id = @request.auth.id
created: 2026-04-25 08:49:24.803Z
updated: 2026-04-25 08:53:55.467Z
fields:
  [{"autogeneratePattern":"[a-z0-9]{15}","hidden":false,"id":"text3208210256","max":15,"min":15,"name":"id","pattern":"^[a-z0-9]+$","presentable":false,"primaryKey":true,"required":true,"system":true,"type":"text"},{"cost":10,"hidden":true,"id":"password901924565","max":0,"min":8,"name":"password","pattern":"","presentable":false,"required":true,"system":true,"type":"password"},{"autogeneratePattern":"[a-zA-Z0-9_]{50}","hidden":true,"id":"text2504183744","max":60,"min":30,"name":"tokenKey","pattern":"","presentable":false,"primaryKey":false,"required":true,"system":true,"type":"text"},{"exceptDomains":null,"hidden":false,"id":"email3885137012","name":"email","onlyDomains":null,"presentable":false,"required":true,"system":true,"type":"email"},{"hidden":false,"id":"bool1547992806","name":"emailVisibility","presentable":false,"required":false,"system":true,"type":"bool"},{"hidden":false,"id":"bool256245529","name":"verified","presentable":false,"required":false,"system":true,"type":"bool"},{"autogeneratePattern":"users[0-9]{6}","hidden":false,"id":"text4166911607","max":150,"min":3,"name":"username","pattern":"^[\\w][\\w\\.\\-]*$","presentable":false,"primaryKey":false,"required":false,"system":false,"type":"text"},{"hidden":false,"id":"qkbp58ae","maxSelect":1,"name":"role","presentable":false,"required":false,"system":false,"type":"select","values":["user","admin","readonly"]},{"hidden":false,"id":"autodate2990389176","name":"created","onCreate":true,"onUpdate":false,"presentable":false,"system":false,"type":"autodate"},{"hidden":false,"id":"autodate3332085495","name":"updated","onCreate":true,"onUpdate":true,"presentable":false,"system":false,"type":"autodate"},{"autogeneratePattern":"","hidden":false,"id":"text1579384326","max":255,"min":0,"name":"name","pattern":"","presentable":false,"primaryKey":false,"required":false,"system":false,"type":"text"},{"hidden":false,"id":"file376926767","maxSelect":1,"maxSize":0,"mimeTypes":["image/jpeg","image/png","image/svg+xml","image/gif","image/webp"],"name":"avatar","presentable":false,"protected":false,"required":false,"system":false,"thumbs":null,"type":"file"}]

indexes:
  ["CREATE UNIQUE INDEX `__pb_users_auth__username_idx` ON `users` (username COLLATE NOCASE)","CREATE UNIQUE INDEX `__pb_users_auth__email_idx` ON `users` (`email`) WHERE `email` != ''","CREATE UNIQUE INDEX `__pb_users_auth__tokenKey_idx` ON `users` (`tokenKey`)"]

options:
  {"authRule":"verified=true","manageRule":null,"authAlert":{"enabled":true,"emailTemplate":{"subject":"Login from a new location","body":"\u003cp\u003eHello,\u003c/p\u003e\n\u003cp\u003eWe noticed a login to your {APP_NAME} account from a new location:\u003c/p\u003e\n\u003cp\u003e\u003cem\u003e{ALERT_INFO}\u003c/em\u003e\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003eIf this wasn't you, you should immediately change your {APP_NAME} account password to revoke access from all other locations.\u003c/strong\u003e\u003c/p\u003e\n\u003cp\u003eIf this was you, you may disregard this email.\u003c/p\u003e\n\u003cp\u003e\n  Thanks,\u003cbr/\u003e\n  {APP_NAME} team\n\u003c/p\u003e"}},"oauth2":{"providers":null,"mappedFields":{"id":"","name":"name","username":"","avatarURL":"avatar"},"enabled":false},"passwordAuth":{"enabled":true,"identityFields":["email"]},"mfa":{"enabled":false,"duration":1800,"rule":""},"otp":{"enabled":false,"duration":180,"length":6,"emailTemplate":{"subject":"OTP for {APP_NAME}","body":"\u003cp\u003eHello,\u003c/p\u003e\n\u003cp\u003eYour one-time password is: \u003cstrong\u003e{OTP}\u003c/strong\u003e\u003c/p\u003e\n\u003cp\u003e\u003ci\u003eIf you didn't ask for the one-time password, you can ignore this email.\u003c/i\u003e\u003c/p\u003e\n\u003cp\u003e\n  Thanks,\u003cbr/\u003e\n  {APP_NAME} team\n\u003c/p\u003e"}},"authToken":{"secret":"sGNtB6nhUapiQZzpMgIZhApY9EEegP9mzRX7P7PGBolCtguuRA","duration":604800},"passwordResetToken":{"secret":"XxFBTi3JEs7bMSXeOTRRTO0F9vsZNV1b66hqarcNjLqaJrpLsJ","duration":1800},"emailChangeToken":{"secret":"JZrnj4zV9A2NX4ea2cxl3uhRKTIDALaOZDFhZ47gpxw3jRTRN5","duration":1800},"verificationToken":{"secret":"X5YB1su0tBsqwYzhJ5dPlJmRfH9YN0h4LUqbhA0CnBZ79sgLYo","duration":259200},"fileToken":{"secret":"9Z4SsDCv1HMbHPyeCnLGLhRZuB6HeEK2mRytTN0mAA0B1MD5Tr","duration":180},"verificationTemplate":{"subject":"Verify your {APP_NAME} email","body":"\u003cp\u003eHello,\u003c/p\u003e\n\u003cp\u003eThank you for joining us at {APP_NAME}.\u003c/p\u003e\n\u003cp\u003eClick on the button below to verify your email address.\u003c/p\u003e\n\u003cp\u003e\n  \u003ca class=\"btn\" href=\"{APP_URL}/_/#/auth/confirm-verification/{TOKEN}\" target=\"_blank\" rel=\"noopener\"\u003eVerify\u003c/a\u003e\n\u003c/p\u003e\n\u003cp\u003e\n  Thanks,\u003cbr/\u003e\n  {APP_NAME} team\n\u003c/p\u003e"},"resetPasswordTemplate":{"subject":"Reset your {APP_NAME} password","body":"\u003cp\u003eHello,\u003c/p\u003e\n\u003cp\u003eClick on the button below to reset your password.\u003c/p\u003e\n\u003cp\u003e\n  \u003ca class=\"btn\" href=\"{APP_URL}/_/#/auth/confirm-password-reset/{TOKEN}\" target=\"_blank\" rel=\"noopener\"\u003eReset password\u003c/a\u003e\n\u003c/p\u003e\n\u003cp\u003e\u003ci\u003eIf you didn't ask to reset your password, you can ignore this email.\u003c/i\u003e\u003c/p\u003e\n\u003cp\u003e\n  Thanks,\u003cbr/\u003e\n  {APP_NAME} team\n\u003c/p\u003e"},"confirmEmailChangeTemplate":{"subject":"Confirm your {APP_NAME} new email address","body":"\u003cp\u003eHello,\u003c/p\u003e\n\u003cp\u003eClick on the button below to confirm your new email address.\u003c/p\u003e\n\u003cp\u003e\n  \u003ca class=\"btn\" href=\"{APP_URL}/_/#/auth/confirm-email-change/{TOKEN}\" target=\"_blank\" rel=\"noopener\"\u003eConfirm new email\u003c/a\u003e\n\u003c/p\u003e\n\u003cp\u003e\u003ci\u003eIf you didn't ask to change your email address, you can ignore this email.\u003c/i\u003e\u003c/p\u003e\n\u003cp\u003e\n  Thanks,\u003cbr/\u003e\n  {APP_NAME} team\n\u003c/p\u003e"}}


id: elngm8x1l60zi2v
type: base
name: alerts
indexes: ["CREATE UNIQUE INDEX `idx_MnhEt21L5r` ON `alerts` (\n `user`,\n `system`,\n `name`\n)"]
listRule: @request.auth.id != "" && user = @request.auth.id
createRule: @request.auth.id != "" && user = @request.auth.id
updateRule: @request.auth.id != "" && user = @request.auth.id
deleteRule: @request.auth.id != "" && user = @request.auth.id
options: {}
created: 2026-04-25 08:49:24.829Z
updated: 2026-04-25 08:49:24.829Z
fields:
  [{"autogeneratePattern":"[a-z0-9]{15}","hidden":false,"id":"text3208210256","max":15,"min":15,"name":"id","pattern":"^[a-z0-9]+$","presentable":false,"primaryKey":true,"required":true,"system":true,"type":"text"},{"cascadeDelete":true,"collectionId":"_pb_users_auth_","hidden":false,"id":"hn5ly3vi","maxSelect":1,"minSelect":0,"name":"user","presentable":false,"required":true,"system":false,"type":"relation"},{"cascadeDelete":true,"collectionId":"2hz5ncl8tizk5nx","hidden":false,"id":"g5sl3jdg","maxSelect":1,"minSelect":0,"name":"system","presentable":false,"required":true,"system":false,"type":"relation"},{"hidden":false,"id":"zj3ingrv","maxSelect":1,"name":"name","presentable":false,"required":true,"system":false,"type":"select","values":["Status","CPU","Memory","Disk","Temperature","Bandwidth","GPU","LoadAvg1","LoadAvg5","LoadAvg15","Battery"]},{"hidden":false,"id":"o2ablxvn","max":null,"min":null,"name":"value","onlyInt":false,"presentable":false,"required":false,"system":false,"type":"number"},{"hidden":false,"id":"fstdehcq","max":60,"min":null,"name":"min","onlyInt":true,"presentable":false,"required":false,"system":false,"type":"number"},{"hidden":false,"id":"6hgdf6hs","name":"triggered","presentable":false,"required":false,"system":false,"type":"bool"},{"hidden":false,"id":"autodate2990389176","name":"created","onCreate":true,"onUpdate":false,"presentable":false,"system":false,"type":"autodate"},{"hidden":false,"id":"autodate3332085495","name":"updated","onCreate":true,"onUpdate":true,"presentable":false,"system":false,"type":"autodate"}]


id: pbc_1697146157
type: base
name: alerts_history
listRule: @request.auth.id != "" && user = @request.auth.id
deleteRule: @request.auth.id != "" && user = @request.auth.id
options: {}
created: 2026-04-25 08:49:24.831Z
updated: 2026-04-25 08:49:24.831Z
fields:
  [{"autogeneratePattern":"[a-z0-9]{15}","hidden":false,"id":"text3208210256","max":15,"min":15,"name":"id","pattern":"^[a-z0-9]+$","presentable":false,"primaryKey":true,"required":true,"system":true,"type":"text"},{"cascadeDelete":true,"collectionId":"_pb_users_auth_","hidden":false,"id":"relation2375276105","maxSelect":1,"minSelect":0,"name":"user","presentable":false,"required":true,"system":false,"type":"relation"},{"cascadeDelete":true,"collectionId":"2hz5ncl8tizk5nx","hidden":false,"id":"relation3377271179","maxSelect":1,"minSelect":0,"name":"system","presentable":false,"required":true,"system":false,"type":"relation"},{"autogeneratePattern":"","hidden":false,"id":"text2466471794","max":0,"min":0,"name":"alert_id","pattern":"","presentable":false,"primaryKey":false,"required":false,"system":false,"type":"text"},{"autogeneratePattern":"","hidden":false,"id":"text1579384326","max":0,"min":0,"name":"name","pattern":"","presentable":false,"primaryKey":false,"required":true,"system":false,"type":"text"},{"hidden":false,"id":"number494360628","max":null,"min":null,"name":"value","onlyInt":false,"presentable":false,"required":false,"system":false,"type":"number"},{"hidden":false,"id":"autodate2990389176","name":"created","onCreate":true,"onUpdate":false,"presentable":false,"system":false,"type":"autodate"},{"hidden":false,"id":"date2276568630","max":"","min":"","name":"resolved","presentable":false,"required":false,"system":false,"type":"date"}]

indexes:
  ["CREATE INDEX `idx_YdGnup5aqB` ON `alerts_history` (`user`)","CREATE INDEX `idx_taLet9VdME` ON `alerts_history` (`created`)"]


id: juohu4jipgc13v7
type: base
name: container_stats
indexes: ["CREATE INDEX `idx_d87OiXGZD8` ON `container_stats` (\n `system`,\n `type`,\n `created`\n)"]
listRule: @request.auth.id != "" && system.users.id ?= @request.auth.id
options: {}
created: 2026-04-25 08:49:24.833Z
updated: 2026-04-25 08:53:55.483Z
fields:
  [{"autogeneratePattern":"[a-z0-9]{15}","hidden":false,"id":"text3208210256","max":15,"min":15,"name":"id","pattern":"^[a-z0-9]+$","presentable":false,"primaryKey":true,"required":true,"system":true,"type":"text"},{"cascadeDelete":true,"collectionId":"2hz5ncl8tizk5nx","hidden":false,"id":"hutcu6ps","maxSelect":1,"minSelect":0,"name":"system","presentable":false,"required":true,"system":false,"type":"relation"},{"hidden":false,"id":"r39hhnil","maxSize":2000000,"name":"stats","presentable":false,"required":true,"system":false,"type":"json"},{"hidden":false,"id":"vo7iuj96","maxSelect":1,"name":"type","presentable":false,"required":true,"system":false,"type":"select","values":["1m","10m","20m","120m","480m"]},{"hidden":false,"id":"autodate2990389176","name":"created","onCreate":true,"onUpdate":false,"presentable":false,"system":false,"type":"autodate"},{"hidden":false,"id":"autodate3332085495","name":"updated","onCreate":true,"onUpdate":true,"presentable":false,"system":false,"type":"autodate"}]


id: pbc_3663931638
type: base
name: fingerprints
listRule: @request.auth.id != "" && system.users.id ?= @request.auth.id
viewRule: @request.auth.id != "" && system.users.id ?= @request.auth.id
createRule: @request.auth.id != "" && system.users.id ?= @request.auth.id && @request.auth.role != "readonly"
updateRule: @request.auth.id != "" && system.users.id ?= @request.auth.id && @request.auth.role != "readonly"
deleteRule: @request.auth.id != "" && system.users.id ?= @request.auth.id && @request.auth.role != "readonly"
options: {}
created: 2026-04-25 08:49:24.835Z
updated: 2026-04-25 08:53:55.500Z
fields:
  [{"autogeneratePattern":"[a-z0-9]{9}","hidden":false,"id":"text3208210256","max":15,"min":9,"name":"id","pattern":"^[a-z0-9]+$","presentable":false,"primaryKey":true,"required":true,"system":true,"type":"text"},{"cascadeDelete":true,"collectionId":"2hz5ncl8tizk5nx","hidden":false,"id":"relation3377271179","maxSelect":1,"minSelect":0,"name":"system","presentable":false,"required":true,"system":false,"type":"relation"},{"autogeneratePattern":"[a-zA-Z9-9]{20}","hidden":false,"id":"text1597481275","max":255,"min":9,"name":"token","pattern":"","presentable":false,"primaryKey":false,"required":true,"system":false,"type":"text"},{"autogeneratePattern":"","hidden":false,"id":"text4228609354","max":255,"min":9,"name":"fingerprint","pattern":"","presentable":false,"primaryKey":false,"required":false,"system":false,"type":"text"},{"hidden":false,"id":"autodate3332085495","name":"updated","onCreate":true,"onUpdate":true,"presentable":false,"system":false,"type":"autodate"}]

indexes:
  ["CREATE INDEX `idx_p9qZlu26po` ON `fingerprints` (`token`)","CREATE UNIQUE INDEX `idx_ngboulGMYw` ON `fingerprints` (`system`)"]


id: ej9oowivz8b2mht
type: base
name: system_stats
indexes: ["CREATE INDEX `idx_GxIee0j` ON `system_stats` (\n `system`,\n `type`,\n `created`\n)"]
listRule: @request.auth.id != "" && system.users.id ?= @request.auth.id
options: {}
created: 2026-04-25 08:49:24.837Z
updated: 2026-04-25 08:53:55.487Z
fields:
  [{"autogeneratePattern":"[a-z0-9]{15}","hidden":false,"id":"text3208210256","max":15,"min":15,"name":"id","pattern":"^[a-z0-9]+$","presentable":false,"primaryKey":true,"required":true,"system":true,"type":"text"},{"cascadeDelete":true,"collectionId":"2hz5ncl8tizk5nx","hidden":false,"id":"h9sg148r","maxSelect":1,"minSelect":0,"name":"system","presentable":false,"required":true,"system":false,"type":"relation"},{"hidden":false,"id":"azftn0be","maxSize":2000000,"name":"stats","presentable":false,"required":true,"system":false,"type":"json"},{"hidden":false,"id":"m1ekhli3","maxSelect":1,"name":"type","presentable":false,"required":true,"system":false,"type":"select","values":["1m","10m","20m","120m","480m"]},{"hidden":false,"id":"autodate2990389176","name":"created","onCreate":true,"onUpdate":false,"presentable":false,"system":false,"type":"autodate"},{"hidden":false,"id":"autodate3332085495","name":"updated","onCreate":true,"onUpdate":true,"presentable":false,"system":false,"type":"autodate"}]


id: 4afacsdnlu8q8r2
type: base
name: user_settings
indexes: ["CREATE UNIQUE INDEX `idx_30Lwgf2` ON `user_settings` (`user`)"]
listRule: @request.auth.id != "" && user = @request.auth.id
createRule: @request.auth.id != "" && user = @request.auth.id
updateRule: @request.auth.id != "" && user = @request.auth.id
options: {}
created: 2026-04-25 08:49:24.838Z
updated: 2026-04-25 08:49:24.838Z
fields:
  [{"autogeneratePattern":"[a-z0-9]{15}","hidden":false,"id":"text3208210256","max":15,"min":15,"name":"id","pattern":"^[a-z0-9]+$","presentable":false,"primaryKey":true,"required":true,"system":true,"type":"text"},{"cascadeDelete":true,"collectionId":"_pb_users_auth_","hidden":false,"id":"d5vztyxa","maxSelect":1,"minSelect":0,"name":"user","presentable":false,"required":true,"system":false,"type":"relation"},{"hidden":false,"id":"xcx4qgqq","maxSize":2000000,"name":"settings","presentable":false,"required":false,"system":false,"type":"json"},{"hidden":false,"id":"autodate2990389176","name":"created","onCreate":true,"onUpdate":false,"presentable":false,"system":false,"type":"autodate"},{"hidden":false,"id":"autodate3332085495","name":"updated","onCreate":true,"onUpdate":true,"presentable":false,"system":false,"type":"autodate"}]


id: 2hz5ncl8tizk5nx
type: base
name: systems
indexes: ["CREATE INDEX `idx_systems_status` ON `systems` (`status`)"]
listRule: @request.auth.id != "" && users.id ?= @request.auth.id
viewRule: @request.auth.id != "" && users.id ?= @request.auth.id
createRule: @request.auth.id != "" && users.id ?= @request.auth.id && @request.auth.role != "readonly"
updateRule: @request.auth.id != "" && users.id ?= @request.auth.id && @request.auth.role != "readonly"
deleteRule: @request.auth.id != "" && users.id ?= @request.auth.id && @request.auth.role != "readonly"
options: {}
created: 2026-04-25 08:49:24.840Z
updated: 2026-04-25 08:53:55.474Z
fields:
  [{"autogeneratePattern":"[a-z0-9]{15}","hidden":false,"id":"text3208210256","max":15,"min":15,"name":"id","pattern":"^[a-z0-9]+$","presentable":false,"primaryKey":true,"required":true,"system":true,"type":"text"},{"autogeneratePattern":"","hidden":false,"id":"7xloxkwk","max":0,"min":0,"name":"name","pattern":"","presentable":false,"primaryKey":false,"required":true,"system":false,"type":"text"},{"hidden":false,"id":"waj7seaf","maxSelect":1,"name":"status","presentable":false,"required":false,"system":false,"type":"select","values":["up","down","paused","pending"]},{"autogeneratePattern":"","hidden":false,"id":"ve781smf","max":0,"min":0,"name":"host","pattern":"","presentable":false,"primaryKey":false,"required":true,"system":false,"type":"text"},{"autogeneratePattern":"","hidden":false,"id":"pij0k2jk","max":0,"min":0,"name":"port","pattern":"","presentable":false,"primaryKey":false,"required":false,"system":false,"type":"text"},{"hidden":false,"id":"qoq64ntl","maxSize":2000000,"name":"info","presentable":false,"required":false,"system":false,"type":"json"},{"cascadeDelete":true,"collectionId":"_pb_users_auth_","hidden":false,"id":"jcarjnjj","maxSelect":2147483647,"minSelect":0,"name":"users","presentable":false,"required":true,"system":false,"type":"relation"},{"hidden":false,"id":"autodate2990389176","name":"created","onCreate":true,"onUpdate":false,"presentable":false,"system":false,"type":"autodate"},{"hidden":false,"id":"autodate3332085495","name":"updated","onCreate":true,"onUpdate":true,"presentable":false,"system":false,"type":"autodate"}]


id: pbc_1864144027
type: base
name: containers
listRule: @request.auth.id != "" && system.users.id ?= @request.auth.id
options: {}
created: 2026-04-25 08:49:24.843Z
updated: 2026-04-25 08:53:55.479Z
fields:
  [{"autogeneratePattern":"[a-f0-9]{6}","hidden":false,"id":"text3208210256","max":12,"min":6,"name":"id","pattern":"^[a-f0-9]+$","presentable":false,"primaryKey":true,"required":true,"system":true,"type":"text"},{"cascadeDelete":false,"collectionId":"2hz5ncl8tizk5nx","hidden":false,"id":"relation3377271179","maxSelect":1,"minSelect":0,"name":"system","presentable":false,"required":false,"system":false,"type":"relation"},{"autogeneratePattern":"","hidden":false,"id":"text1579384326","max":0,"min":0,"name":"name","pattern":"","presentable":false,"primaryKey":false,"required":false,"system":false,"type":"text"},{"autogeneratePattern":"","hidden":false,"id":"text2063623452","max":0,"min":0,"name":"status","pattern":"","presentable":false,"primaryKey":false,"required":false,"system":false,"type":"text"},{"hidden":false,"id":"number3470402323","max":null,"min":null,"name":"health","onlyInt":false,"presentable":false,"required":false,"system":false,"type":"number"},{"hidden":false,"id":"number3128971310","max":100,"min":0,"name":"cpu","onlyInt":false,"presentable":false,"required":false,"system":false,"type":"number"},{"hidden":false,"id":"number3933025333","max":null,"min":0,"name":"memory","onlyInt":false,"presentable":false,"required":false,"system":false,"type":"number"},{"hidden":false,"id":"number4075427327","max":null,"min":null,"name":"net","onlyInt":false,"presentable":false,"required":false,"system":false,"type":"number"},{"autogeneratePattern":"","hidden":false,"id":"text3309110367","max":0,"min":0,"name":"image","pattern":"","presentable":false,"primaryKey":false,"required":false,"system":false,"type":"text"},{"autogeneratePattern":"","hidden":false,"id":"text2308952269","max":0,"min":0,"name":"ports","pattern":"","presentable":false,"primaryKey":false,"required":false,"system":false,"type":"text"},{"hidden":false,"id":"number3332085495","max":null,"min":null,"name":"updated","onlyInt":true,"presentable":false,"required":true,"system":false,"type":"number"}]

indexes:
  ["CREATE INDEX `idx_JxWirjdhyO` ON `containers` (`updated`)","CREATE INDEX `idx_r3Ja0rs102` ON `containers` (`system`)"]


id: pbc_3494996990
type: base
name: systemd_services
listRule: @request.auth.id != "" && system.users.id ?= @request.auth.id
options: {}
created: 2026-04-25 08:49:24.846Z
updated: 2026-04-25 08:53:55.491Z
fields:
  [{"autogeneratePattern":"[a-z0-9]{10}","hidden":false,"id":"text3208210256","max":10,"min":6,"name":"id","pattern":"^[a-z0-9]+$","presentable":false,"primaryKey":true,"required":true,"system":true,"type":"text"},{"autogeneratePattern":"","hidden":false,"id":"text1579384326","max":0,"min":0,"name":"name","pattern":"","presentable":false,"primaryKey":false,"required":false,"system":false,"type":"text"},{"cascadeDelete":true,"collectionId":"2hz5ncl8tizk5nx","hidden":false,"id":"relation3377271179","maxSelect":1,"minSelect":0,"name":"system","presentable":false,"required":false,"system":false,"type":"relation"},{"hidden":false,"id":"number2063623452","max":null,"min":null,"name":"state","onlyInt":true,"presentable":false,"required":false,"system":false,"type":"number"},{"hidden":false,"id":"number1476559580","max":null,"min":null,"name":"sub","onlyInt":true,"presentable":false,"required":false,"system":false,"type":"number"},{"hidden":false,"id":"number3128971310","max":null,"min":null,"name":"cpu","onlyInt":false,"presentable":false,"required":false,"system":false,"type":"number"},{"hidden":false,"id":"number1052053287","max":null,"min":null,"name":"cpuPeak","onlyInt":false,"presentable":false,"required":false,"system":false,"type":"number"},{"hidden":false,"id":"number3933025333","max":null,"min":null,"name":"memory","onlyInt":false,"presentable":false,"required":false,"system":false,"type":"number"},{"hidden":false,"id":"number1828797201","max":null,"min":null,"name":"memPeak","onlyInt":false,"presentable":false,"required":false,"system":false,"type":"number"},{"hidden":false,"id":"number3332085495","max":null,"min":null,"name":"updated","onlyInt":false,"presentable":false,"required":false,"system":false,"type":"number"}]

indexes:
  ["CREATE INDEX `idx_4Z7LuLNdQb` ON `systemd_services` (`system`)","CREATE INDEX `idx_pBp1fF837e` ON `systemd_services` (`updated`)"]


id: pbc_451525641
type: base
name: quiet_hours
listRule: @request.auth.id != "" && user = @request.auth.id
viewRule: @request.auth.id != "" && user = @request.auth.id
createRule: @request.auth.id != "" && user = @request.auth.id
updateRule: @request.auth.id != "" && user = @request.auth.id
deleteRule: @request.auth.id != "" && user = @request.auth.id
options: {}
created: 2026-04-25 08:49:24.848Z
updated: 2026-04-25 08:49:24.848Z
fields:
  [{"autogeneratePattern":"[a-z0-9]{10}","hidden":false,"id":"text3208210256","max":10,"min":10,"name":"id","pattern":"^[a-z0-9]+$","presentable":false,"primaryKey":true,"required":true,"system":true,"type":"text"},{"cascadeDelete":true,"collectionId":"_pb_users_auth_","hidden":false,"id":"relation2375276105","maxSelect":1,"minSelect":0,"name":"user","presentable":false,"required":false,"system":false,"type":"relation"},{"cascadeDelete":true,"collectionId":"2hz5ncl8tizk5nx","hidden":false,"id":"relation3377271179","maxSelect":1,"minSelect":0,"name":"system","presentable":false,"required":false,"system":false,"type":"relation"},{"hidden":false,"id":"select2844932856","maxSelect":1,"name":"type","presentable":false,"required":true,"system":false,"type":"select","values":["one-time","daily"]},{"hidden":false,"id":"date2675529103","max":"","min":"","name":"start","presentable":false,"required":true,"system":false,"type":"date"},{"hidden":false,"id":"date16528305","max":"","min":"","name":"end","presentable":false,"required":true,"system":false,"type":"date"}]

indexes:
  ["CREATE INDEX `idx_q0iKnRP9v8` ON `quiet_hours` (\n  `user`,\n  `system`\n)","CREATE INDEX `idx_6T7ljT7FJd` ON `quiet_hours` (\n  `type`,\n  `end`\n)"]


id: pbc_2571630677
type: base
name: smart_devices
indexes: ["CREATE INDEX `idx_DZ9yhvgl44` ON `smart_devices` (`system`)"]
listRule: @request.auth.id != "" && system.users.id ?= @request.auth.id
viewRule: @request.auth.id != "" && system.users.id ?= @request.auth.id
deleteRule: @request.auth.id != "" && system.users.id ?= @request.auth.id && @request.auth.role != "readonly"
options: {}
created: 2026-04-25 08:49:24.850Z
updated: 2026-04-25 08:53:55.495Z
fields:
  [{"autogeneratePattern":"[a-z0-9]{10}","hidden":false,"id":"text3208210256","max":10,"min":10,"name":"id","pattern":"^[a-z0-9]+$","presentable":false,"primaryKey":true,"required":true,"system":true,"type":"text"},{"cascadeDelete":true,"collectionId":"2hz5ncl8tizk5nx","hidden":false,"id":"relation3377271179","maxSelect":1,"minSelect":0,"name":"system","presentable":false,"required":true,"system":false,"type":"relation"},{"autogeneratePattern":"","hidden":false,"id":"text1579384326","max":0,"min":0,"name":"name","pattern":"","presentable":false,"primaryKey":false,"required":false,"system":false,"type":"text"},{"autogeneratePattern":"","hidden":false,"id":"text3616895705","max":0,"min":0,"name":"model","pattern":"","presentable":false,"primaryKey":false,"required":false,"system":false,"type":"text"},{"autogeneratePattern":"","hidden":false,"id":"text2744374011","max":0,"min":0,"name":"state","pattern":"","presentable":false,"primaryKey":false,"required":false,"system":false,"type":"text"},{"hidden":false,"id":"number3051925876","max":null,"min":null,"name":"capacity","onlyInt":false,"presentable":false,"required":false,"system":false,"type":"number"},{"hidden":false,"id":"number190023114","max":null,"min":null,"name":"temp","onlyInt":false,"presentable":false,"required":false,"system":false,"type":"number"},{"autogeneratePattern":"","hidden":false,"id":"text3589068740","max":0,"min":0,"name":"firmware","pattern":"","presentable":false,"primaryKey":false,"required":false,"system":false,"type":"text"},{"autogeneratePattern":"","hidden":false,"id":"text3547646428","max":0,"min":0,"name":"serial","pattern":"","presentable":false,"primaryKey":false,"required":false,"system":false,"type":"text"},{"autogeneratePattern":"","hidden":false,"id":"text2363381545","max":0,"min":0,"name":"type","pattern":"","presentable":false,"primaryKey":false,"required":false,"system":false,"type":"text"},{"hidden":false,"id":"number1234567890","max":null,"min":null,"name":"hours","onlyInt":true,"presentable":false,"required":false,"system":false,"type":"number"},{"hidden":false,"id":"number0987654321","max":null,"min":null,"name":"cycles","onlyInt":true,"presentable":false,"required":false,"system":false,"type":"number"},{"hidden":false,"id":"json832282224","maxSize":0,"name":"attributes","presentable":false,"required":false,"system":false,"type":"json"},{"hidden":false,"id":"autodate3332085495","name":"updated","onCreate":true,"onUpdate":true,"presentable":false,"system":false,"type":"autodate"}]


id: pbc_3116237454
type: base
name: system_details
indexes: []
listRule: @request.auth.id != "" && system.users.id ?= @request.auth.id
viewRule: @request.auth.id != "" && system.users.id ?= @request.auth.id
options: {}
created: 2026-04-25 08:49:24.852Z
updated: 2026-04-25 08:53:55.504Z
fields:
  [{"autogeneratePattern":"[a-z0-9]{15}","hidden":false,"id":"text3208210256","max":15,"min":15,"name":"id","pattern":"^[a-z0-9]+$","presentable":false,"primaryKey":true,"required":true,"system":true,"type":"text"},{"cascadeDelete":true,"collectionId":"2hz5ncl8tizk5nx","hidden":false,"id":"relation3377271179","maxSelect":1,"minSelect":0,"name":"system","presentable":false,"required":true,"system":false,"type":"relation"},{"autogeneratePattern":"","hidden":false,"id":"text3847340049","max":0,"min":0,"name":"hostname","pattern":"","presentable":false,"primaryKey":false,"required":false,"system":false,"type":"text"},{"hidden":false,"id":"number1789936913","max":null,"min":null,"name":"os","onlyInt":false,"presentable":false,"required":false,"system":false,"type":"number"},{"autogeneratePattern":"","hidden":false,"id":"text2818598173","max":0,"min":0,"name":"os_name","pattern":"","presentable":false,"primaryKey":false,"required":false,"system":false,"type":"text"},{"autogeneratePattern":"","hidden":false,"id":"text1574083243","max":0,"min":0,"name":"kernel","pattern":"","presentable":false,"primaryKey":false,"required":false,"system":false,"type":"text"},{"autogeneratePattern":"","hidden":false,"id":"text3128971310","max":0,"min":0,"name":"cpu","pattern":"","presentable":false,"primaryKey":false,"required":false,"system":false,"type":"text"},{"autogeneratePattern":"","hidden":false,"id":"text4161937994","max":0,"min":0,"name":"arch","pattern":"","presentable":false,"primaryKey":false,"required":false,"system":false,"type":"text"},{"hidden":false,"id":"number4245036687","max":null,"min":null,"name":"cores","onlyInt":false,"presentable":false,"required":false,"system":false,"type":"number"},{"hidden":false,"id":"number1871592925","max":null,"min":null,"name":"threads","onlyInt":false,"presentable":false,"required":false,"system":false,"type":"number"},{"hidden":false,"id":"number3933025333","max":null,"min":null,"name":"memory","onlyInt":false,"presentable":false,"required":false,"system":false,"type":"number"},{"hidden":false,"id":"bool2200265312","name":"podman","presentable":false,"required":false,"system":false,"type":"bool"},{"hidden":false,"id":"autodate3332085495","name":"updated","onCreate":true,"onUpdate":true,"presentable":false,"system":false,"type":"autodate"}]


id: pbc_3383022248
type: base
name: universal_tokens
options: {}
created: 2026-04-25 08:49:24.854Z
updated: 2026-04-25 08:49:24.854Z
fields:
  [{"autogeneratePattern":"[a-z0-9]{10}","hidden":false,"id":"text3208210256","max":10,"min":10,"name":"id","pattern":"^[a-z0-9]+$","presentable":false,"primaryKey":true,"required":true,"system":true,"type":"text"},{"cascadeDelete":true,"collectionId":"_pb_users_auth_","hidden":false,"id":"relation2375276105","maxSelect":1,"minSelect":0,"name":"user","presentable":false,"required":true,"system":false,"type":"relation"},{"autogeneratePattern":"","hidden":false,"id":"text1597481275","max":0,"min":0,"name":"token","pattern":"","presentable":false,"primaryKey":false,"required":false,"system":false,"type":"text"},{"hidden":false,"id":"autodate2990389176","name":"created","onCreate":true,"onUpdate":false,"presentable":false,"system":false,"type":"autodate"}]

indexes:
  ["CREATE INDEX `idx_iaD9Y2Lgbl` ON `universal_tokens` (`token`)","CREATE UNIQUE INDEX `idx_wdR0A4PbRG` ON `universal_tokens` (`user`)"]


