# _collections

id: _pb_users_auth_
type: auth
name: users
indexes: ["CREATE INDEX `__pb_users_auth__created_idx` ON `users` (`created`)"]
listRule: id = @request.auth.id
viewRule: id = @request.auth.id
updateRule: id = @request.auth.id
deleteRule: id = @request.auth.id
created: 2023-07-05 18:42:05.530Z
updated: 2023-07-05 18:42:05.534Z
schema:
  [{"system":false,"id":"users_name","name":"name","type":"text","required":false,"unique":false,"options":{"min":null,"max":null,"pattern":""}},{"system":false,"id":"users_avatar","name":"avatar","type":"file","required":false,"unique":false,"options":{"maxSelect":1,"maxSize":5242880,"mimeTypes":["image/jpg","image/jpeg","image/png","image/svg+xml","image/gif"],"thumbs":null,"protected":false}}]

options:
  {"allowEmailAuth":true,"allowOAuth2Auth":false,"allowUsernameAuth":false,"exceptEmailDomains":null,"manageRule":null,"minPasswordLength":8,"onlyEmailDomains":null,"requireEmail":true}


id: i55lo3cshpxcrjp
type: base
name: user_details
listRule: @request.auth.id = related_user.id
viewRule: @request.auth.id = related_user.id
updateRule: @request.auth.id = related_user.id
options: {}
created: 2022-12-19 21:24:06.804Z
updated: 2024-03-16 09:42:20.155Z
schema:
  [{"system":false,"id":"zspevcal","name":"related_user","type":"relation","required":true,"unique":false,"options":{"collectionId":"_pb_users_auth_","cascadeDelete":true,"minSelect":null,"maxSelect":1,"displayFields":null}},{"system":false,"id":"sayjsjcf","name":"nickname","type":"text","required":false,"unique":false,"options":{"min":null,"max":null,"pattern":""}},{"system":false,"id":"vmelrxxa","name":"extension_token","type":"text","required":true,"unique":false,"options":{"min":6,"max":null,"pattern":""}}]

indexes:
  ["CREATE INDEX `_i55lo3cshpxcrjp_created_idx` ON `user_details` (`created`)","CREATE UNIQUE INDEX `idx_unique_zspevcal` ON `user_details` (`related_user`)"]


id: 55cz3o94i0qsma6
type: base
name: user_activity
indexes: ["CREATE INDEX `_55cz3o94i0qsma6_created_idx` ON `user_activity` (`created`)"]
listRule: @request.auth.id = related_user.id
viewRule: @request.auth.id = related_user.id
options: {}
created: 2023-01-18 21:02:34.691Z
updated: 2023-05-15 11:05:19.905Z
schema:
  [{"system":false,"id":"vfoeexxd","name":"activity_type","type":"select","required":true,"unique":false,"options":{"maxSelect":1,"values":["optimization","update_etf"]}},{"system":false,"id":"pdilo56f","name":"related_user","type":"relation","required":true,"unique":false,"options":{"collectionId":"_pb_users_auth_","cascadeDelete":false,"minSelect":null,"maxSelect":1,"displayFields":null}},{"system":false,"id":"pvlk0ekk","name":"details","type":"json","required":false,"unique":false,"options":{}}]


id: 5v6iqh41x3rsuym
type: base
name: pages
listRule: @request.auth.id = owner.id
viewRule: @request.auth.id = owner.id
createRule: @request.auth.id = owner.id
updateRule: @request.auth.id = owner.id
deleteRule: @request.auth.id = owner.id
options: {}
created: 2023-03-13 10:49:19.956Z
updated: 2023-05-15 11:05:19.907Z
schema:
  [{"system":false,"id":"jwertuox","name":"owner","type":"relation","required":true,"unique":false,"options":{"collectionId":"_pb_users_auth_","cascadeDelete":false,"minSelect":null,"maxSelect":1,"displayFields":null}},{"system":false,"id":"6ntrcsnn","name":"link","type":"url","required":true,"unique":false,"options":{"exceptDomains":null,"onlyDomains":null}},{"system":false,"id":"uavmdrbl","name":"page_title","type":"text","required":false,"unique":false,"options":{"min":null,"max":null,"pattern":""}},{"system":false,"id":"z45bhnd8","name":"fts_ref","type":"text","required":true,"unique":true,"options":{"min":null,"max":null,"pattern":""}},{"system":false,"id":"gsiv3tnj","name":"votes","type":"number","required":true,"unique":false,"options":{"min":1,"max":null}},{"system":false,"id":"8ha17oaa","name":"with_proxy","type":"bool","required":false,"unique":false,"options":{}},{"system":false,"id":"iku3ksdf","name":"origin","type":"select","required":true,"unique":false,"options":{"maxSelect":1,"values":["scrape","extention","text_field"]}}]

indexes:
  ["CREATE INDEX `_5v6iqh41x3rsuym_created_idx` ON \"pages\" (`created`)","CREATE UNIQUE INDEX \"idx_unique_z45bhnd8\" on \"pages\" (\"fts_ref\")"]


id: ihrmv170av8ev9q
type: base
name: categories
options: {}
created: 2023-03-14 09:42:30.901Z
updated: 2023-05-15 11:05:19.911Z
schema:
  [{"system":false,"id":"peaejaw7","name":"name","type":"text","required":true,"unique":true,"options":{"min":null,"max":null,"pattern":""}},{"system":false,"id":"1n2zhnxq","name":"color","type":"text","required":true,"unique":false,"options":{"min":3,"max":6,"pattern":""}}]

indexes:
  ["CREATE INDEX `_ihrmv170av8ev9q_created_idx` ON `categories` (`created`)","CREATE UNIQUE INDEX \"idx_unique_peaejaw7\" on \"categories\" (\"name\")"]


id: 4ynwd1qhh8f42n1
type: base
name: page_to_categories
indexes: ["CREATE INDEX `_4ynwd1qhh8f42n1_created_idx` ON `page_to_categories` (`created`)"]
options: {}
created: 2023-03-14 14:48:17.955Z
updated: 2023-07-05 18:42:05.537Z
schema:
  [{"system":false,"id":"absoik9e","name":"page_id","type":"relation","required":true,"unique":false,"options":{"collectionId":"5v6iqh41x3rsuym","cascadeDelete":true,"minSelect":null,"maxSelect":1,"displayFields":null}},{"system":false,"id":"3o5geiyy","name":"category_id","type":"relation","required":true,"unique":false,"options":{"collectionId":"ihrmv170av8ev9q","cascadeDelete":false,"minSelect":null,"maxSelect":1,"displayFields":null}}]


id: ek3rycc8y7z759x
type: base
name: comments
indexes: ["CREATE INDEX `_ek3rycc8y7z759x_created_idx` ON `comments` (`created`)"]
options: {}
created: 2023-03-17 23:03:48.359Z
updated: 2023-05-15 11:05:19.914Z
schema:
  [{"system":false,"id":"orzvatcl","name":"text","type":"text","required":true,"unique":false,"options":{"min":null,"max":null,"pattern":""}},{"system":false,"id":"xpwbyxfi","name":"author","type":"relation","required":true,"unique":false,"options":{"collectionId":"_pb_users_auth_","cascadeDelete":false,"minSelect":null,"maxSelect":1,"displayFields":null}},{"system":false,"id":"buqtotvw","name":"page","type":"relation","required":true,"unique":false,"options":{"collectionId":"5v6iqh41x3rsuym","cascadeDelete":false,"minSelect":null,"maxSelect":1,"displayFields":null}},{"system":false,"id":"hyivtumx","name":"parent_comment","type":"relation","required":false,"unique":false,"options":{"collectionId":"ek3rycc8y7z759x","cascadeDelete":false,"minSelect":null,"maxSelect":1,"displayFields":null}}]


id: dj5nwif6tpvibcb
type: base
name: proxy_connections
indexes: ["CREATE INDEX `_dj5nwif6tpvibcb_created_idx` ON `proxy_connections` (`created`)"]
options: {}
created: 2023-03-18 13:30:22.996Z
updated: 2023-05-15 11:05:19.915Z
schema:
  [{"system":false,"id":"dtps1i9a","name":"enabled","type":"bool","required":false,"unique":false,"options":{}},{"system":false,"id":"o1s4bpon","name":"address","type":"text","required":true,"unique":false,"options":{"min":7,"max":16,"pattern":"((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)"}},{"system":false,"id":"p6kzkz9q","name":"port","type":"number","required":true,"unique":false,"options":{"min":20,"max":20000}}]


id: rxiblprp8cb8e9q
type: base
name: config
options: {}
created: 2023-03-18 14:03:30.379Z
updated: 2023-05-15 11:05:19.917Z
schema:
  [{"system":false,"id":"hdaii9oc","name":"key","type":"text","required":true,"unique":true,"options":{"min":null,"max":null,"pattern":""}},{"system":false,"id":"prhbxww3","name":"text_value","type":"text","required":false,"unique":false,"options":{"min":null,"max":null,"pattern":""}},{"system":false,"id":"uqpkjmjo","name":"float_value","type":"number","required":false,"unique":false,"options":{"min":null,"max":null}},{"system":false,"id":"rkap5ncd","name":"note","type":"text","required":false,"unique":false,"options":{"min":null,"max":null,"pattern":""}},{"system":false,"id":"3yydiron","name":"boolean_value","type":"bool","required":false,"unique":false,"options":{}}]

indexes:
  ["CREATE INDEX `_rxiblprp8cb8e9q_created_idx` ON `config` (`created`)","CREATE UNIQUE INDEX \"idx_unique_hdaii9oc\" on \"config\" (\"key\")"]


# _params

id: pnmaf6r7kgsee82
key: settings
created: 2023-07-05 18:42:05.530Z
updated: 2023-07-05 18:42:05.530Z
value:
  {"meta":{"appName":"Acme","appUrl":"http://localhost:8090","hideControls":false,"senderName":"Support","senderAddress":"support@example.com","verificationTemplate":{"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=\"{ACTION_URL}\" 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","subject":"Verify your {APP_NAME} email","actionUrl":"{APP_URL}/_/#/auth/confirm-verification/{TOKEN}"},"resetPasswordTemplate":{"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=\"{ACTION_URL}\" 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","subject":"Reset your {APP_NAME} password","actionUrl":"{APP_URL}/_/#/auth/confirm-password-reset/{TOKEN}"},"confirmEmailChangeTemplate":{"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=\"{ACTION_URL}\" 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","subject":"Confirm your {APP_NAME} new email address","actionUrl":"{APP_URL}/_/#/auth/confirm-email-change/{TOKEN}"}},"logs":{"maxDays":5},"smtp":{"enabled":false,"host":"smtp.example.com","port":587,"username":"","password":"","authMethod":"","tls":false},"s3":{"enabled":false,"bucket":"","region":"","endpoint":"","accessKey":"","secret":"","forcePathStyle":false},"adminAuthToken":{"secret":"QdSXDcZ9BdLyqIk5sZ8jAPKmRDqiVrIaH2HGsoE7O6tz3mH6o8","duration":1209600},"adminPasswordResetToken":{"secret":"Xa8K8cS1aJ1P9LOLy4fu0Sxla9LRLFufbmebS0P2xLRnH4CaxQ","duration":1800},"adminFileToken":{"secret":"daUcGzPUgpwKH5OFwP29Ohv3oc5KmJsqNmsYdDWPkM1xhvTcN9","duration":300},"recordAuthToken":{"secret":"dj7hpDwfrlmdthWHcS7AwWHVeTfjQB64UymKt36hq6qNLtDOQr","duration":1209600},"recordPasswordResetToken":{"secret":"8wFv2dnp0Y2ddVDRLNKPKYXiNtEDsgRgPgrUVhlzSoZWeYldqx","duration":1800},"recordEmailChangeToken":{"secret":"d9g0r8NvceGh4G2n5toZ2mwHBDNME2vuEfp8uUdAdOrVO1eubK","duration":1800},"recordVerificationToken":{"secret":"s5wFIyERu38ifKtk06QfMCaVowXPeeWrGVsWiLdjVBt6pILeO6","duration":604800},"recordFileToken":{"secret":"s51cPOKJjpScxlFupXIeJKncQC5yOdhtEEasV2XKc39B08DBc3","duration":300},"emailAuth":{"enabled":false,"exceptDomains":null,"onlyDomains":null,"minPasswordLength":0},"googleAuth":{"enabled":false,"clientId":"","clientSecret":"","authUrl":"","tokenUrl":"","userApiUrl":""},"facebookAuth":{"enabled":false,"clientId":"","clientSecret":"","authUrl":"","tokenUrl":"","userApiUrl":""},"githubAuth":{"enabled":false,"clientId":"","clientSecret":"","authUrl":"","tokenUrl":"","userApiUrl":""},"gitlabAuth":{"enabled":false,"clientId":"","clientSecret":"","authUrl":"","tokenUrl":"","userApiUrl":""},"discordAuth":{"enabled":false,"clientId":"","clientSecret":"","authUrl":"","tokenUrl":"","userApiUrl":""},"twitterAuth":{"enabled":false,"clientId":"","clientSecret":"","authUrl":"","tokenUrl":"","userApiUrl":""},"microsoftAuth":{"enabled":false,"clientId":"","clientSecret":"","authUrl":"","tokenUrl":"","userApiUrl":""},"spotifyAuth":{"enabled":false,"clientId":"","clientSecret":"","authUrl":"","tokenUrl":"","userApiUrl":""},"kakaoAuth":{"enabled":false,"clientId":"","clientSecret":"","authUrl":"","tokenUrl":"","userApiUrl":""},"twitchAuth":{"enabled":false,"clientId":"","clientSecret":"","authUrl":"","tokenUrl":"","userApiUrl":""},"stravaAuth":{"enabled":false,"clientId":"","clientSecret":"","authUrl":"","tokenUrl":"","userApiUrl":""},"giteeAuth":{"enabled":false,"clientId":"","clientSecret":"","authUrl":"","tokenUrl":"","userApiUrl":""},"livechatAuth":{"enabled":false,"clientId":"","clientSecret":"","authUrl":"","tokenUrl":"","userApiUrl":""},"giteaAuth":{"enabled":false,"clientId":"","clientSecret":"","authUrl":"","tokenUrl":"","userApiUrl":""},"oidcAuth":{"enabled":false,"clientId":"","clientSecret":"","authUrl":"","tokenUrl":"","userApiUrl":""},"oidc2Auth":{"enabled":false,"clientId":"","clientSecret":"","authUrl":"","tokenUrl":"","userApiUrl":""},"oidc3Auth":{"enabled":false,"clientId":"","clientSecret":"","authUrl":"","tokenUrl":"","userApiUrl":""},"appleAuth":{"enabled":false,"clientId":"","clientSecret":"","authUrl":"","tokenUrl":"","userApiUrl":""}}


