# _collections

id: _pb_users_auth_
type: auth
name: users
listRule: id = @request.auth.id
viewRule: id = @request.auth.id
updateRule: id = @request.auth.id
deleteRule: id = @request.auth.id
created: 2022-12-19 21:22:39.763Z
updated: 2023-01-15 10:30:58.980Z
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}}]

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


id: 2wphntur2m5kk6u
type: base
name: user_important_data
listRule: @request.auth.id = related_user.id
viewRule: @request.auth.id = related_user.id
options: {}
created: 2022-12-19 21:24:06.781Z
updated: 2023-01-19 22:24:15.151Z
schema:
  [{"system":false,"id":"tay5phqk","name":"payment_level","type":"select","required":true,"unique":false,"options":{"maxSelect":1,"values":["free","premium"]}},{"system":false,"id":"v2pcycen","name":"stripe_subscription_id","type":"text","required":false,"unique":true,"options":{"min":null,"max":null,"pattern":""}},{"system":false,"id":"tpaa6ewf","name":"related_user","type":"relation","required":true,"unique":true,"options":{"maxSelect":1,"collectionId":"_pb_users_auth_","cascadeDelete":true}},{"system":false,"id":"yvigkwo9","name":"free_optimizations","type":"number","required":true,"unique":false,"options":{"min":null,"max":null}},{"system":false,"id":"cwbut7oy","name":"stripe_customer_id","type":"text","required":false,"unique":true,"options":{"min":null,"max":null,"pattern":""}}]


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: 2023-01-24 15:53:31.222Z
schema:
  [{"system":false,"id":"zspevcal","name":"related_user","type":"relation","required":true,"unique":true,"options":{"maxSelect":1,"collectionId":"_pb_users_auth_","cascadeDelete":true}},{"system":false,"id":"sayjsjcf","name":"nickname","type":"text","required":false,"unique":false,"options":{"min":null,"max":null,"pattern":""}},{"system":false,"id":"okxhmrai","name":"last_optimization","type":"json","required":true,"unique":false,"options":{}}]


id: 55cz3o94i0qsma6
type: base
name: user_activity
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-01-28 00:02:09.296Z
schema:
  [{"system":false,"id":"vfoeexxd","name":"activity_type","type":"select","required":true,"unique":false,"options":{"maxSelect":1,"values":["optimization","update_etf"]}},{"system":false,"id":"g36yykmt","name":"stripe_ref","type":"text","required":true,"unique":false,"options":{"min":null,"max":null,"pattern":""}},{"system":false,"id":"pdilo56f","name":"related_user","type":"relation","required":true,"unique":false,"options":{"maxSelect":1,"collectionId":"_pb_users_auth_","cascadeDelete":false}},{"system":false,"id":"mzy6prjk","name":"note","type":"text","required":true,"unique":false,"options":{"min":null,"max":null,"pattern":""}},{"system":false,"id":"4ynp2hvr","name":"activity_input","type":"json","required":true,"unique":false,"options":{}},{"system":false,"id":"aa1mvhcy","name":"activity_output","type":"json","required":true,"unique":false,"options":{}}]


# _params

id: vku5zbmggyj31fm
key: settings
created: 2022-12-19 21:22:39.770Z
updated: 2022-12-19 21:22:39.770Z
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":"fcdkppcjnoy5fBG7atbAKxDpdYvG9kZDZ9nqN2LbONZ0LM2pMH","duration":1209600},"adminPasswordResetToken":{"secret":"LoDrUaj8jolYMaMVqzW4VKygPxCh5vsR1hNL9KydbtvPa8kXaW","duration":1800},"recordAuthToken":{"secret":"tAQqWZuaThuy7OBMKtiKZw2QxljHR97c1QWA3suF5zk0ketMbC","duration":1209600},"recordPasswordResetToken":{"secret":"ZufQNd5s8icT942p7H0UJbJcAX72lBbZXZXp8VwD3rRz5LHFml","duration":1800},"recordEmailChangeToken":{"secret":"SrSahhDicSTIIfqNMvzRMdLmdyJPspspBMOiIURboNN1rw7NXk","duration":1800},"recordVerificationToken":{"secret":"AXyPtRoVMPiFjVQrVlOaJrO85PZkz8qyTsdt5Np0ids5hE4DVf","duration":604800},"emailAuth":{"enabled":false,"exceptDomains":null,"onlyDomains":null,"minPasswordLength":0},"googleAuth":{"enabled":false},"facebookAuth":{"enabled":false},"githubAuth":{"enabled":false},"gitlabAuth":{"enabled":false},"discordAuth":{"enabled":false},"twitterAuth":{"enabled":false},"microsoftAuth":{"enabled":false},"spotifyAuth":{"enabled":false},"kakaoAuth":{"enabled":false},"twitchAuth":{"enabled":false}}


