# _collections

id: abe78266-fd4d-4aea-962d-8c0138ac522b
name: profiles
listRule: userId = @request.user.id
viewRule: userId = @request.user.id
createRule: userId = @request.user.id
updateRule: userId = @request.user.id
deleteRule: userId = @request.user.id
created: 2022-05-15 14:21:18.930
updated: 2022-08-10 14:20:13.368
schema:
  [{"system":true,"id":"koih1lqx","name":"userId","type":"user","required":true,"unique":true,"options":{"maxSelect":1,"cascadeDelete":true}},{"system":false,"id":"8lbt1ycw","name":"name","type":"text","required":false,"unique":false,"options":{"min":null,"max":null,"pattern":""}},{"system":false,"id":"8f67smbf","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}},{"system":false,"id":"fz6iql2m","name":"active","type":"bool","required":false,"unique":false,"options":{}},{"system":false,"id":"69ycbg3q","name":"rel","type":"relation","required":false,"unique":false,"options":{"maxSelect":2,"collectionId":"abe78266-fd4d-4aea-962d-8c0138ac522b","cascadeDelete":false}}]


id: 3f2888f8-075d-49fe-9d09-ea7e951000dc
name: demo
created: 2022-05-16 08:50:29.838
updated: 2022-08-17 18:32:48.795
schema:
  [{"system":false,"id":"_2hlxbmp","name":"title","type":"text","required":true,"unique":false,"options":{"min":3,"max":null,"pattern":""}},{"system":false,"id":"km1xk8ru","name":"file","type":"file","required":false,"unique":false,"options":{"maxSelect":1,"maxSize":5242880,"mimeTypes":[],"thumbs":["70x50","70x50f","70x50t","70x50b","70x0","0x50"]}}]


id: 2c1010aa-b8fe-41d9-a980-99534ca8a167
name: demo2
listRule: @request.user.profile.active = true
viewRule: @request.user.profile.active = true && bool=true
createRule: @request.user.profile.active = true && bool=true
updateRule: @request.user.profile.active = true && bool=true
deleteRule: @request.user.profile.active = true && bool=true
created: 2022-05-17 14:10:55.763
updated: 2022-08-10 14:20:13.368
schema:
  [{"system":false,"id":"3owpgv_i","name":"text","type":"text","required":true,"unique":true,"options":{"min":2,"max":10,"pattern":""}},{"system":false,"id":"8rffjihd","name":"number","type":"number","required":false,"unique":false,"options":{"min":1,"max":null}},{"system":false,"id":"dr2hd6ud","name":"bool","type":"bool","required":false,"unique":false,"options":{}},{"system":false,"id":"cbuksex2","name":"email","type":"email","required":false,"unique":false,"options":{"exceptDomains":null,"onlyDomains":["example.com"]}},{"system":false,"id":"q5sgwmgl","name":"url","type":"url","required":false,"unique":false,"options":{"exceptDomains":null,"onlyDomains":["example.com"]}},{"system":false,"id":"uyo5cqp9","name":"datetime","type":"date","required":false,"unique":false,"options":{"min":"","max":""}},{"system":false,"id":"x6ycmmlj","name":"select","type":"select","required":false,"unique":false,"options":{"maxSelect":2,"values":["a","b","c","d"]}},{"system":false,"id":"qbx26yx3","name":"json","type":"json","required":false,"unique":false,"options":{}},{"system":false,"id":"lykz6nh3","name":"file","type":"file","required":false,"unique":false,"options":{"maxSelect":1,"maxSize":5242880,"mimeTypes":[],"thumbs":[]}},{"system":false,"id":"jh4id1h2","name":"onerel","type":"relation","required":true,"unique":false,"options":{"maxSelect":1,"collectionId":"3f2888f8-075d-49fe-9d09-ea7e951000dc","cascadeDelete":false}},{"system":false,"id":"smaoo37c","name":"user","type":"user","required":false,"unique":false,"options":{"maxSelect":1,"cascadeDelete":false}},{"system":false,"id":"wo5cxnlo","name":"manyrels","type":"relation","required":false,"unique":false,"options":{"maxSelect":2,"collectionId":"3f2888f8-075d-49fe-9d09-ea7e951000dc","cascadeDelete":true}},{"system":false,"id":"im5o3m3l","name":"cascaderel","type":"relation","required":true,"unique":false,"options":{"maxSelect":1,"collectionId":"3f2888f8-075d-49fe-9d09-ea7e951000dc","cascadeDelete":true}},{"system":false,"id":"5qc9hrxs","name":"selfrel","type":"relation","required":false,"unique":false,"options":{"maxSelect":1,"collectionId":"2c1010aa-b8fe-41d9-a980-99534ca8a167","cascadeDelete":false}}]


id: 3cd6fe92-70dc-4819-8542-4d036faabd89
name: demo3
created: 2022-05-17 14:12:25.574
updated: 2022-08-10 14:20:13.369
schema:
  [{"system":false,"id":"wbak8aep","name":"title","type":"text","required":false,"unique":false,"options":{"min":null,"max":null,"pattern":""}}]


id: f12f3eb6-b980-4bf6-b1e4-36de0450c8be
name: demo4
created: 2022-05-22 11:56:00.068
updated: 2022-08-10 14:20:13.369
schema:
  [{"system":false,"id":"1vw2eqz4","name":"manyrels","type":"relation","required":false,"unique":false,"options":{"maxSelect":99,"collectionId":"f12f3eb6-b980-4bf6-b1e4-36de0450c8be","cascadeDelete":false}},{"system":false,"id":"wvbvdosu","name":"onerel","type":"relation","required":false,"unique":false,"options":{"maxSelect":1,"collectionId":"f12f3eb6-b980-4bf6-b1e4-36de0450c8be","cascadeDelete":false}},{"system":false,"id":"eh65lz4u","name":"onefile","type":"file","required":false,"unique":false,"options":{"maxSelect":1,"maxSize":5242880,"mimeTypes":[],"thumbs":[]}},{"system":false,"id":"qsiluxoo","name":"manyfiles","type":"file","required":false,"unique":false,"options":{"maxSelect":3,"maxSize":5242880,"mimeTypes":[],"thumbs":[]}},{"system":false,"id":"tw_hdmes","name":"title","type":"text","required":false,"unique":false,"options":{"min":3,"max":null,"pattern":""}},{"system":false,"id":"fa7sjraq","name":"onlyimages","type":"file","required":false,"unique":false,"options":{"maxSelect":99,"maxSize":5242880,"mimeTypes":["image/jpg","image/jpeg","image/png","image/svg+xml","image/gif"],"thumbs":[]}}]


# demo4

created: 2022-05-22 12:01:03.477
id: b84cd893-7119-43c9-8505-3c4e22da28a9
updated: 2022-07-19 09:57:21.250
manyrels: []
onerel: b8ba58f9-e2d7-42a0-b0e7-a11efd98236b
title: demo2
onlyimages: []
manyfiles:
  ["f80296fb-9fa5-4372-80f2-be196b973c7b.txt","ff3b7633-6440-43d8-a957-1bfb3d3421ec.txt","5e74d0b5-c183-4419-9d7c-a6a3d4a7faca.txt"]


# _params

id: f737f448-c241-4242-9177-e09eb61ee0c6
key: settings
created: 2022-04-28 07:54:02.000
updated: 2022-08-14 15:31:33.354
value:
  {"meta":{"appName":"Acme","appUrl":"http://localhost:8090","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    \u003ca class=\"text-link\" href=\"{ACTION_URL}\" target=\"_blank\" rel=\"noopener\"\u003e{ACTION_URL}\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp\u003e\n    Thanks,\u003cbr/\u003e\n    {APP_NAME} team\n\u003c/p\u003e","subject":"Verify your {APP_NAME} email","actionUrl":"{APP_URL}/_/#/users/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    \u003ca class=\"text-link\" href=\"{ACTION_URL}\" target=\"_blank\" rel=\"noopener\"\u003e{ACTION_URL}\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}/_/#/users/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    \u003ca class=\"text-link\" href=\"{ACTION_URL}\" target=\"_blank\" rel=\"noopener\"\u003e{ACTION_URL}\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}/_/#/users/confirm-email-change/{TOKEN}"}},"logs":{"maxDays":0},"smtp":{"enabled":false,"host":"mail.example.com","port":25,"username":"","password":"","tls":true},"s3":{"enabled":false,"bucket":"","region":"","endpoint":"","accessKey":"","secret":"","forcePathStyle":false},"adminAuthToken":{"secret":"BuFJmdZEIiZgBC3xfNnw9q0eTM5y4f9P7sCL9SUiadwBYS2toq","duration":1209600},"adminPasswordResetToken":{"secret":"YXzTarK7MfCF34SB9t7Ek7BWAve9M8GfSWik6nClAJ6eYuktqU","duration":1800},"userAuthToken":{"secret":"by2CVEJgeYCDnrB57pz_dxWtmXlEncqF9ifqUks16wc6pmNaxw","duration":1209600},"userPasswordResetToken":{"secret":"pmiAPRA3l5f9LIB8djlTg7XyJg38AJ15x53afKnAgyhMhzIQa2","duration":1800},"userEmailChangeToken":{"secret":"hF5rpzB_ZVr0DquLiads9oiZP9CQDMnSW666mMo8cegfgBsB4U","duration":1800},"userVerificationToken":{"secret":"FqGw4UOyg5uX_r3rx1RwUjESHLGRSm785ktMT2juMYd6BMOjE5","duration":604800},"emailAuth":{"enabled":true,"exceptDomains":null,"onlyDomains":null,"minPasswordLength":8},"googleAuth":{"enabled":false,"allowRegistrations":false,"clientId":"123","clientSecret":"12312321232"},"facebookAuth":{"enabled":false,"allowRegistrations":false},"githubAuth":{"enabled":false,"allowRegistrations":false,"clientSecret":"123"},"gitlabAuth":{"enabled":true,"allowRegistrations":true,"clientId":"test_gitlab","clientSecret":"123456"}}


