better-supabase 0.45.0 → 0.46.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{access-sql-BHat-brX.js → access-sql-8In-gFRf.js} +15 -2
- package/dist/{adapter-C0C4jIwI.js → adapter-t7V4k_rU.js} +10 -7
- package/dist/{agents-DxhGxwDS.d.ts → agents-D81UAnah.d.ts} +1 -1
- package/dist/{ai-chat-LHWztFya.d.ts → ai-chat-BBJvSano.d.ts} +1 -1
- package/dist/{ai-schedules-BP0PBKhY.d.ts → ai-schedules-D9mYwQdO.d.ts} +5 -2
- package/dist/ai-sdk/agents/index.d.ts +6 -6
- package/dist/ai-sdk/batches/index.d.ts +1 -1
- package/dist/ai-sdk/chat/index.d.ts +2 -2
- package/dist/ai-sdk/embeddings/index.d.ts +2 -2
- package/dist/ai-sdk/index.d.ts +2 -2
- package/dist/ai-sdk/mcp/index.d.ts +3 -3
- package/dist/ai-sdk/memory/index.d.ts +2 -2
- package/dist/ai-sdk/memory/index.js +1 -1
- package/dist/ai-sdk/workflow/index.d.ts +3 -3
- package/dist/{api-CgO8Gin7.d.ts → api-Bxhw2FD2.d.ts} +4 -4
- package/dist/{api-DXCaMM2S.js → api-DzqXnR6X.js} +1 -1
- package/dist/{api-keys-DINjcAaY.d.ts → api-keys-ClEIzcc3.d.ts} +1 -1
- package/dist/{app-tables-Dg9lERHb.d.ts → app-tables-HqT8E90s.d.ts} +1 -1
- package/dist/{approvals-CoBe9E2b.d.ts → approvals-lmHzZSgF.d.ts} +1 -1
- package/dist/{assistant-DMaZZFps.d.ts → assistant-ewdCgSQn.d.ts} +2 -2
- package/dist/astro/index.d.ts +5 -5
- package/dist/astro/index.js +4 -4
- package/dist/{authorization-CcWVJSsN.d.ts → authorization-CFs44tM2.d.ts} +145 -19
- package/dist/{authorization-hooks-u2Z18CAM.d.ts → authorization-hooks-yUgoV4Q7.d.ts} +1 -1
- package/dist/better-result/index.d.ts +2 -2
- package/dist/{bind-BieIoT6r.d.ts → bind-CUxWEh27.d.ts} +4 -4
- package/dist/{block-env-YzSHv579.d.ts → block-env-DddTzDut.d.ts} +4 -4
- package/dist/{block-subjects-CTIsFATg.js → block-subjects-y1RNnlLz.js} +1 -1
- package/dist/{block-tables-D-UjSTXa.d.ts → block-tables-BNwRNU_D.d.ts} +1 -1
- package/dist/blocks/access-requests/index.d.ts +2 -2
- package/dist/blocks/activities/index.d.ts +3 -3
- package/dist/blocks/agents/index.d.ts +3 -3
- package/dist/blocks/ai-cache/index.d.ts +1 -1
- package/dist/blocks/ai-chat/index.d.ts +6 -6
- package/dist/blocks/ai-files/index.d.ts +1 -1
- package/dist/blocks/ai-keys/index.d.ts +3 -3
- package/dist/blocks/ai-schedules/index.d.ts +2 -2
- package/dist/blocks/announcements/index.d.ts +5 -5
- package/dist/blocks/api-keys/index.d.ts +2 -2
- package/dist/blocks/approvals/index.d.ts +3 -3
- package/dist/blocks/assets/index.d.ts +2 -2
- package/dist/blocks/assignment/index.d.ts +3 -3
- package/dist/blocks/attachments/index.d.ts +46 -4
- package/dist/blocks/attachments/index.js +55 -3
- package/dist/blocks/audit/index.d.ts +7 -7
- package/dist/blocks/audit/index.js +1 -1
- package/dist/blocks/automations/index.d.ts +18 -16
- package/dist/blocks/billable-time/index.d.ts +2 -2
- package/dist/blocks/billing/index.d.ts +5 -5
- package/dist/blocks/bookings/index.d.ts +3 -3
- package/dist/blocks/bulk/index.d.ts +2 -2
- package/dist/blocks/calendar/index.d.ts +3 -3
- package/dist/blocks/catalog/index.d.ts +2 -2
- package/dist/blocks/channels/index.d.ts +3 -3
- package/dist/blocks/collections/index.d.ts +3 -3
- package/dist/blocks/comments/index.d.ts +5 -5
- package/dist/blocks/compliance/index.d.ts +11 -11
- package/dist/blocks/connectors/index.d.ts +3 -3
- package/dist/blocks/contacts/index.d.ts +4 -4
- package/dist/blocks/content/index.d.ts +2 -2
- package/dist/blocks/contracts/index.d.ts +2 -2
- package/dist/blocks/courses/index.d.ts +2 -2
- package/dist/blocks/created-by/index.d.ts +1 -1
- package/dist/blocks/custom-fields/index.d.ts +2 -2
- package/dist/blocks/data-lifecycle/index.d.ts +25 -8
- package/dist/blocks/data-lifecycle/index.js +16 -2
- package/dist/blocks/deals/index.d.ts +3 -3
- package/dist/blocks/dispatch/index.d.ts +2 -2
- package/dist/blocks/documents/index.d.ts +2 -2
- package/dist/blocks/domains/index.d.ts +2 -2
- package/dist/blocks/donations/index.d.ts +2 -2
- package/dist/blocks/drive/index.d.ts +221 -8
- package/dist/blocks/drive/index.js +269 -19
- package/dist/blocks/employees/index.d.ts +4 -4
- package/dist/blocks/enrichment/index.d.ts +3 -3
- package/dist/blocks/enrollments/index.d.ts +2 -2
- package/dist/blocks/entitlements/index.d.ts +3 -3
- package/dist/blocks/expenses/index.d.ts +2 -2
- package/dist/blocks/field-history/index.d.ts +3 -3
- package/dist/blocks/flags/index.d.ts +2 -2
- package/dist/blocks/forecasts/index.d.ts +3 -3
- package/dist/blocks/forms/index.d.ts +3 -3
- package/dist/blocks/goals/index.d.ts +1 -1
- package/dist/blocks/guests/index.d.ts +2 -2
- package/dist/blocks/hiring/index.d.ts +3 -3
- package/dist/blocks/identities/index.d.ts +2 -2
- package/dist/blocks/imports/index.d.ts +2 -2
- package/dist/blocks/inbox/index.d.ts +6 -6
- package/dist/blocks/incidents/index.d.ts +2 -2
- package/dist/blocks/index.d.ts +155 -5
- package/dist/blocks/index.js +19 -1
- package/dist/blocks/inventory/index.d.ts +2 -2
- package/dist/blocks/invoices/index.d.ts +4 -3
- package/dist/blocks/invoices/index.js +3 -2
- package/dist/blocks/knowledge/index.d.ts +3 -3
- package/dist/blocks/knowledge/index.js +1 -1
- package/dist/blocks/lead-scoring/index.d.ts +1 -1
- package/dist/blocks/leases/index.d.ts +2 -2
- package/dist/blocks/leave/index.d.ts +2 -2
- package/dist/blocks/ledger/index.d.ts +2 -2
- package/dist/blocks/mail-sync/index.d.ts +3 -3
- package/dist/blocks/memberships/index.d.ts +1 -1
- package/dist/blocks/memory/index.d.ts +3 -3
- package/dist/blocks/memory/index.js +1 -1
- package/dist/blocks/messaging/index.d.ts +7 -7
- package/dist/blocks/metrics/index.d.ts +2 -2
- package/dist/blocks/mfa/index.d.ts +2 -2
- package/dist/blocks/moderation/index.d.ts +2 -2
- package/dist/blocks/notifications/index.d.ts +13 -9
- package/dist/blocks/notifications/index.js +2 -0
- package/dist/blocks/numbering/index.d.ts +2 -2
- package/dist/blocks/oauth-server/index.d.ts +2 -2
- package/dist/blocks/onboarding/index.d.ts +2 -2
- package/dist/blocks/orders/index.d.ts +3 -3
- package/dist/blocks/organizations/index.d.ts +4 -4
- package/dist/blocks/outbox/index.d.ts +2 -2
- package/dist/blocks/passes/index.d.ts +2 -2
- package/dist/blocks/permissions/index.d.ts +5 -4
- package/dist/blocks/permissions/index.js +3 -2
- package/dist/blocks/pipelines/index.d.ts +3 -3
- package/dist/blocks/posts/index.d.ts +2 -2
- package/dist/blocks/profiles/index.d.ts +1 -1
- package/dist/blocks/promotions/index.d.ts +2 -2
- package/dist/blocks/push/index.d.ts +4 -4
- package/dist/blocks/qualifications/index.d.ts +256 -0
- package/dist/blocks/qualifications/index.js +303 -0
- package/dist/blocks/queue/index.d.ts +8 -103
- package/dist/blocks/queue/index.js +9 -3
- package/dist/blocks/quotes/index.d.ts +3 -3
- package/dist/blocks/rank/index.d.ts +1 -1
- package/dist/blocks/reactions/index.d.ts +5 -5
- package/dist/blocks/relations/index.d.ts +2 -2
- package/dist/blocks/reminders/index.d.ts +3 -3
- package/dist/blocks/reviews/index.d.ts +2 -2
- package/dist/blocks/risks/index.d.ts +303 -0
- package/dist/blocks/risks/index.js +376 -0
- package/dist/blocks/saved-views/index.d.ts +6 -6
- package/dist/blocks/scores/index.d.ts +2 -2
- package/dist/blocks/search/index.d.ts +4 -4
- package/dist/blocks/security-events/index.d.ts +3 -3
- package/dist/blocks/segments/index.d.ts +4 -4
- package/dist/blocks/sequences/index.d.ts +2 -2
- package/dist/blocks/service-accounts/index.d.ts +3 -3
- package/dist/blocks/sessions/index.d.ts +2 -2
- package/dist/blocks/settings/index.d.ts +3 -3
- package/dist/blocks/share-links/index.d.ts +29 -4
- package/dist/blocks/share-links/index.js +37 -4
- package/dist/blocks/shifts/index.d.ts +334 -0
- package/dist/blocks/shifts/index.js +451 -0
- package/dist/blocks/shipments/index.d.ts +3 -3
- package/dist/blocks/signatures/index.d.ts +2 -2
- package/dist/blocks/signing-keys/index.d.ts +2 -2
- package/dist/blocks/sla/index.d.ts +3 -3
- package/dist/blocks/sso/index.d.ts +3 -3
- package/dist/blocks/state-machine/index.d.ts +2 -2
- package/dist/blocks/subjects/index.d.ts +13 -5
- package/dist/blocks/subjects/index.js +114 -5
- package/dist/blocks/tags/index.d.ts +3 -3
- package/dist/blocks/tasks/index.d.ts +5 -5
- package/dist/blocks/teams/index.d.ts +2 -2
- package/dist/blocks/templates/index.d.ts +5 -5
- package/dist/blocks/time-tracking/index.d.ts +3 -3
- package/dist/blocks/timeline/index.d.ts +6 -6
- package/dist/blocks/timeline/index.js +1 -1
- package/dist/blocks/trash/index.d.ts +2 -2
- package/dist/blocks/undo/index.d.ts +2 -2
- package/dist/blocks/updated-at/index.d.ts +1 -1
- package/dist/blocks/usage/index.d.ts +2 -2
- package/dist/blocks/vercel-marketplace/index.d.ts +2 -2
- package/dist/blocks/versions/index.d.ts +2 -2
- package/dist/blocks/waitlist/index.d.ts +2 -2
- package/dist/blocks/webhooks/index.d.ts +6 -6
- package/dist/blocks/webhooks/index.js +2 -1
- package/dist/blocks/workflow-editor/index.d.ts +8 -8
- package/dist/blocks/workflow-editor/index.js +1 -1
- package/dist/blocks/workflows/index.d.ts +6 -6
- package/dist/{cache-tags-DrywUP3I.d.ts → cache-tags-DDWP8yDs.d.ts} +2 -2
- package/dist/{channel-B_kufDZy.d.ts → channel-DW9iIWgu.d.ts} +3 -1
- package/dist/chat-sdk/index.d.ts +2 -2
- package/dist/claims/index.d.ts +5 -5
- package/dist/claims/index.js +1 -1
- package/dist/cli/{add-DcLNy2oN.js → add-B6TTIKos.js} +23 -5
- package/dist/cli/{add-B5Gq34wX.js → add-CYH9OE6d.js} +13 -13
- package/dist/cli/add-DsgNHrEH.js +1 -0
- package/dist/cli/{app-table-files-CcGWy0qX.js → app-table-files-Br1VQgjE.js} +3 -3
- package/dist/cli/{app-tables-RbPMD2M3.js → app-tables-FRO1l5rT.js} +2 -2
- package/dist/cli/{backfill-BJterqcQ.js → backfill-BgGBBidH.js} +4 -4
- package/dist/cli/bin.js +1 -1
- package/dist/cli/{blocks-DsAwI_4v.js → blocks-CX_172Ja.js} +1 -1
- package/dist/cli/{blocks-BBALfFv-.js → blocks-DZrlz-13.js} +2 -2
- package/dist/cli/{cache-DRb1xVPh.js → cache-BgiLj67N.js} +1 -1
- package/dist/cli/{codemod-Cpd4DnrL.js → codemod-C86T5p1T.js} +97 -13
- package/dist/cli/{command-67WobzTC.js → command-DtQ7P9XP.js} +6 -0
- package/dist/cli/{completion-C3nMZgUZ.js → completion-9tK4vX1l.js} +2 -2
- package/dist/cli/{completion-Dm0S3ub0.js → completion-DUnYq3GC.js} +2 -2
- package/dist/cli/{completion-DSrus7H1.js → completion-djG61QR0.js} +1 -1
- package/dist/cli/{config-CGVmcEZa.js → config-05wlBDsJ.js} +1 -1
- package/dist/cli/{config-Dy-BAGel.js → config-Cb4swJ2X.js} +32 -10
- package/dist/cli/{config-cbK-wiNs.js → config-CwcsseeT.js} +1 -1
- package/dist/cli/{content-mapper-D0riSMnP.js → content-mapper-DIO-tycM.js} +2 -2
- package/dist/cli/{db-BCVXzXDA.js → db-BND9MSu1.js} +3 -3
- package/dist/cli/{doctor-CHmX2gau.js → doctor-BqS2dAI-.js} +98 -21
- package/dist/cli/{env-CCT-dMFm.js → env-2zOK0skq.js} +1 -1
- package/dist/cli/env-NHlaYmXG.js +1 -0
- package/dist/cli/{gen-DB0svRc8.js → gen-CygGjwk4.js} +16 -16
- package/dist/cli/index.d.ts +1 -1
- package/dist/cli/index.js +8 -8
- package/dist/cli/{init-B4fQNe4C.js → init-BMDuL671.js} +10 -10
- package/dist/cli/{keys-Dj5sJNj7.js → keys-BUl10CEQ.js} +1 -1
- package/dist/cli/{live-Bft5EE70.js → live-BRhu6mk8.js} +2 -2
- package/dist/cli/{mcp-BKcS-LZw.js → mcp-DzfSUgqc.js} +3 -3
- package/dist/cli/{metadata-CgKNmMsc.js → metadata-Ao_uwhbL.js} +3 -3
- package/dist/cli/{migrate-ehxT23Gg.js → migrate-BySeyvYY.js} +2 -2
- package/dist/cli/{migration-safety-D2gG-dDs.js → migration-safety-CtSYqXjZ.js} +2 -2
- package/dist/cli/{migrations-CQ1Sgz_X.js → migrations-Cnf7TlYZ.js} +2 -2
- package/dist/cli/{module-migration-BOPJUkIX.js → module-migration-CKKOcrG0.js} +2 -2
- package/dist/cli/{moved-CY0yDtAr.js → moved-QZ-btdFz.js} +1 -1
- package/dist/cli/{parse-yAC-NFMq.js → parse-Bd_CRjbn.js} +1 -1
- package/dist/cli/{powersync-BTari5WF.js → powersync-BeeW0i26.js} +168 -67
- package/dist/cli/powersync-miOelRmt.js +1 -0
- package/dist/cli/{print-BMJnlJ8k.js → print-Sdb6L0v4.js} +2 -2
- package/dist/cli/{providers-BNZ-OqMI.js → providers-BlkYmOf-.js} +1 -1
- package/dist/cli/{prune-workflows-BG55npqs.js → prune-workflows-iRTaOxbs.js} +4 -4
- package/dist/cli/{remove-BIqGDE0A.js → remove-DvzSG08w.js} +6 -6
- package/dist/cli/{render-BIC4Wctz.js → render-svtBPq7R.js} +118 -18
- package/dist/cli/{run-C_slJx8m.js → run-BHhVGtd_.js} +46 -45
- package/dist/cli/{run-BJ4_rmHy.js → run-CnafzCVh.js} +14 -14
- package/dist/cli/{run-DX4X7xqV.js → run-WD6LyrAZ.js} +2 -2
- package/dist/cli/{seed-0r_0aD8_.js → seed-Bc_q0nFf.js} +12 -4
- package/dist/cli/seed-DT_k-CGR.js +1 -0
- package/dist/cli/{shared-DhpBDjRa.js → shared-By7_hqFX.js} +1 -1
- package/dist/cli/{skills-B5p6bDwe.js → skills-CvEA4xdj.js} +1 -1
- package/dist/cli/{snapshot-CMJksw-t.js → snapshot-T8fVRXqA.js} +3 -3
- package/dist/cli/{source-args-CgCX8KUJ.js → source-args-BiySywDB.js} +1 -1
- package/dist/cli/{source-CJilfcq-.js → source-xL7qYX0r.js} +1 -1
- package/dist/cli/{spec-CnjHA0br.js → spec-BH7BDCnA.js} +1 -1
- package/dist/cli/{spec-Br9cWMbU.js → spec-CU_OO1Gq.js} +3 -3
- package/dist/cli/{sql-layout-BCiEl_G5.js → sql-layout-C_-LNpAw.js} +2 -2
- package/dist/cli/{stack-CQXLe5j0.js → stack-DM3keIfh.js} +1 -1
- package/dist/cli/{sync-Bulv1zyy.js → sync-Bl4Kf4_T.js} +4 -4
- package/dist/cli/{table-BAR0cLmU.js → table-DocogEpr.js} +1 -1
- package/dist/cli/{upgrade-DTBvTAAV.js → upgrade-BLi83wT-.js} +5 -5
- package/dist/cli/{upgrade-C8fiTE3r.js → upgrade-kce809Am.js} +3 -3
- package/dist/cli/{version-hhuwVLKj.js → version-D8HDt2fH.js} +1 -1
- package/dist/client/index.d.ts +7 -6
- package/dist/client/index.js +2 -1
- package/dist/client/native/index.d.ts +6 -5
- package/dist/client/native/index.js +2 -1
- package/dist/{cloud-event-LTUGgt6D.d.ts → cloud-event-Dxy5EZVG.d.ts} +1 -1
- package/dist/commerce/index.d.ts +1 -1
- package/dist/{composite-BCUNxZCd.d.ts → composite-DNDFvcQc.d.ts} +6 -6
- package/dist/{composite-C3lLpMys.js → composite-c7POXFs3.js} +2 -2
- package/dist/config/index.d.ts +4 -4
- package/dist/config/index.js +4 -4
- package/dist/{config-HOXkrND2.js → config--zZjnkYA.js} +1 -1
- package/dist/{config-DA_R9O_y.js → config-CAbv8kRz.js} +21 -8
- package/dist/{connectors-DTxDzUzD.d.ts → connectors-BQtx-Llh.d.ts} +1 -1
- package/dist/{context-BJK9_ppk.d.ts → context-Lhw7PgdA.d.ts} +52 -8
- package/dist/contract/index.d.ts +8 -8
- package/dist/{controller-TplPQG5m.d.ts → controller-CouRuczb.d.ts} +1 -1
- package/dist/{controller-y1kSMuCU.js → controller-DxzV9X72.js} +1 -1
- package/dist/{conversion-DwDBNeWT.d.ts → conversion-G2ODS617.d.ts} +1 -1
- package/dist/create/index.d.ts +3 -3
- package/dist/create/index.js +3 -3
- package/dist/create/lite/index.d.ts +3 -3
- package/dist/create/lite/index.js +3 -3
- package/dist/credentials/index.d.ts +3 -3
- package/dist/{data-hooks-BToeAcQ_.js → data-hooks-DDEPFoWv.js} +44 -3
- package/dist/{define-DXQHQ2Qy.d.ts → db-blocks-Dgu-HpFb.d.ts} +296 -296
- package/dist/{define-block-tFQZ8936.d.ts → define-block-eiBbZ3mM.d.ts} +357 -357
- package/dist/{delegation-C2rLpkHO.js → delegation-C0EQp3ss.js} +1 -1
- package/dist/edge/index.d.ts +8 -8
- package/dist/edge/index.js +6 -6
- package/dist/elysia/index.d.ts +1 -1
- package/dist/elysia/index.js +1 -1
- package/dist/{email-BRm6wMWQ.d.ts → email-_X1-FD9h.d.ts} +1 -1
- package/dist/{embeddings-LhxY3bUD.d.ts → embeddings-DJs1UeQt.d.ts} +1 -1
- package/dist/{ended-CpyW7_0h.d.ts → ended-XY1q20JM.d.ts} +1 -1
- package/dist/{entitlements-SqfT4gk_.d.ts → entitlements-D_vas3Yl.d.ts} +2 -2
- package/dist/{envelope-CapD-JtH.js → envelope-CSb4c7xn.js} +1 -1
- package/dist/eve/index.d.ts +5 -5
- package/dist/eve/index.js +1 -1
- package/dist/{eve-DmbLji3M.d.ts → eve-Ck586Yfh.d.ts} +2 -2
- package/dist/events/index.d.ts +3 -3
- package/dist/{events-BrgD2StJ.d.ts → events-sK2YdMhE.d.ts} +37 -2
- package/dist/{executor-DlAtlYxY.d.ts → executor-DAQLygMX.d.ts} +2 -2
- package/dist/{executor-kfUaLlQr.d.ts → executor-h4VT8TNz.d.ts} +1 -1
- package/dist/expo/index.d.ts +5 -5
- package/dist/expo/index.js +3 -3
- package/dist/{field-errors-DyWpuH1q.d.ts → field-errors-BFLehpue.d.ts} +22 -10
- package/dist/flags-sdk/index.d.ts +1 -1
- package/dist/{framework-DydnLrMk.js → framework-DvtET86P.js} +1 -1
- package/dist/{framework-C8HFM1bX.d.ts → framework-v4jPUZJ-.d.ts} +7 -7
- package/dist/{gateway-DQirTFOg.d.ts → gateway-BEDpSlLD.d.ts} +1 -1
- package/dist/h3/index.d.ts +1 -1
- package/dist/h3/index.js +1 -1
- package/dist/h3/v1/index.d.ts +1 -1
- package/dist/h3/v1/index.js +1 -1
- package/dist/hono/index.d.ts +10 -10
- package/dist/hono/index.js +6 -6
- package/dist/{index-0erPlzHd.d.ts → index-BRFHDjCG.d.ts} +19 -5
- package/dist/{index-vGZZjCW7.d.ts → index-BoVZxiin.d.ts} +12 -12
- package/dist/{index-Brzh6XAW.d.ts → index-CJfDiWQf.d.ts} +4 -2
- package/dist/{index-BjN_IQQd.d.ts → index-Cc2q2eaq.d.ts} +18 -5
- package/dist/{index-DCyNdhEC.d.ts → index-D2gezcOV.d.ts} +3 -3
- package/dist/{index-CwDdMCdH.d.ts → index-D430cWV7.d.ts} +1 -1
- package/dist/{index-DcmDWojr.d.ts → index-DYSGzEkY.d.ts} +1 -1
- package/dist/{index-DkmorC1b.d.ts → index-eZ8oW-DV.d.ts} +4 -4
- package/dist/{index-Ddjcn6i7.d.ts → index-nfYh7R5C.d.ts} +5 -5
- package/dist/{index-x2YRPbXr.d.ts → index-wRn2y3XS.d.ts} +5 -5
- package/dist/index.d.ts +5 -4
- package/dist/index.js +3 -2
- package/dist/{instances-DGtu3S0m.js → instances-BUhbreNT.js} +1554 -225
- package/dist/{kit-C1GVbhtg.d.ts → kit-CmO46iau.d.ts} +3 -3
- package/dist/{knowledge-CCOSNGJp.d.ts → knowledge-BnKrvPT6.d.ts} +22 -4
- package/dist/{knowledge-CJnZOaix.js → knowledge-BxFkHBTc.js} +14 -3
- package/dist/list/index.d.ts +1 -1
- package/dist/{list-query-CF-5EUVX.d.ts → list-query-CnD6uNzs.d.ts} +1 -1
- package/dist/mapper/bin.js +7 -7
- package/dist/mcp/index.d.ts +3 -3
- package/dist/mcp/index.js +4 -4
- package/dist/mcp/sdk/index.d.ts +18 -7
- package/dist/mcp/sdk/index.js +21 -12
- package/dist/nestjs/index.d.ts +2 -2
- package/dist/nestjs/index.js +1 -1
- package/dist/next/client/index.d.ts +1 -1
- package/dist/next/index.d.ts +22 -22
- package/dist/next/index.js +7 -7
- package/dist/node/index.d.ts +2 -2
- package/dist/node/index.js +1 -1
- package/dist/{operations-CkgwsViz.d.ts → operations-kNq7cGI7.d.ts} +1 -1
- package/dist/{options-CJR59q8s.js → options-B1efbeOv.js} +5 -1
- package/dist/options-B3dQnXgp.js +6 -0
- package/dist/{options-ByxOMSXu.js → options-BEv5xfPg.js} +3 -1
- package/dist/options-BZ5TzeFN.js +12 -0
- package/dist/options-CKMLVUel.js +8 -0
- package/dist/options-CgIKw9s6.js +9 -0
- package/dist/options-D1-2o7kO.d.ts +43 -0
- package/dist/{options-CjocPkX1.js → options-EdzV163Y.js} +3 -0
- package/dist/orpc/index.d.ts +26 -15
- package/dist/orpc/index.js +29 -9
- package/dist/otel/index.d.ts +2 -2
- package/dist/otel/index.js +5 -5
- package/dist/{outbox-DL2737I0.d.ts → outbox-CcISFwgE.d.ts} +2 -2
- package/dist/{permissions-vbtGrV26.d.ts → permissions-XrrAYkXm.d.ts} +1 -1
- package/dist/{permissions-controller-B4uI5IPH.js → permissions-controller-DYm6sF8k.js} +6 -2
- package/dist/{pool-DfDolmmm.d.ts → pool-CQuNr7Nq.d.ts} +1 -1
- package/dist/{ports-ClyPs0q6.d.ts → ports-CvOsUmuD.d.ts} +1 -1
- package/dist/postgres/index.d.ts +1 -1
- package/dist/powersync/index.d.ts +55 -13
- package/dist/powersync/index.js +85 -11
- package/dist/preset/index.d.ts +3 -3
- package/dist/preset/index.js +3 -3
- package/dist/{preset-His18bto.js → preset-DFZn_TLi.js} +2 -2
- package/dist/{project-D81NwLP6.js → project-BwmNYaZt.js} +5 -5
- package/dist/{provider-DxJWo8yD.d.ts → provider-CgYoyX_d.d.ts} +1 -1
- package/dist/{push-token-DMOeO8cU.d.ts → push-token-taE-3JNT.d.ts} +1 -1
- package/dist/query/index.d.ts +2 -2
- package/dist/query/index.js +30 -2
- package/dist/rate-limit/index.d.ts +2 -0
- package/dist/rate-limit/index.js +1 -0
- package/dist/rate-limit-BJyp7iAx.d.ts +109 -0
- package/dist/rate-limit-DLZWqcIS.js +94 -0
- package/dist/rate-limit-DyQbVEBE.js +123 -0
- package/dist/rate-limit-lGysIP9Z.d.ts +79 -0
- package/dist/react/index.d.ts +8 -8
- package/dist/react/index.js +2 -2
- package/dist/react/native/index.d.ts +3 -3
- package/dist/react/native/index.js +2 -1
- package/dist/react/server.d.ts +8 -8
- package/dist/react/server.js +2 -2
- package/dist/react/session.d.ts +2 -2
- package/dist/{react-DkGGh9FE.js → react-AC0iYStn.js} +13 -6
- package/dist/react-router/index.d.ts +5 -5
- package/dist/react-router/index.js +4 -4
- package/dist/realtime/index.d.ts +4 -4
- package/dist/realtime/index.js +1 -1
- package/dist/{record-form-BRtDkhLZ.d.ts → record-form-BAIG-cdw.d.ts} +1 -1
- package/dist/{record-type-oQxekQTX.js → record-type-BID6K9Vk.js} +1 -1
- package/dist/records/index.d.ts +8 -8
- package/dist/records/index.js +4 -4
- package/dist/{refusal-DjCQCcCj.d.ts → refusal-D19i-uE3.d.ts} +2 -2
- package/dist/{refusal-B9w5Bapa.js → refusal-lgW07wlX.js} +1 -1
- package/dist/renames-BPU-FSIn.d.ts +36 -0
- package/dist/renames-BoN2IHI7.js +161 -0
- package/dist/{resolve-CKJMUYRc.d.ts → resolve-C_VNGFjz.d.ts} +1 -1
- package/dist/{resource-CrmhNagD.js → resource--iTRgH4N.js} +1 -1
- package/dist/{resource-execute-DZeWkyIU.d.ts → resource-execute-CoadG2g7.d.ts} +1 -1
- package/dist/{resource-types-D3gmBOeY.d.ts → resource-types-e7vzPJ7t.d.ts} +2 -2
- package/dist/{resources-CSjwmcFs.d.ts → resources-DSqe-GbC.d.ts} +1 -1
- package/dist/{resources-B2i_nIgJ.js → resources-DqEg3HBk.js} +1 -1
- package/dist/{respond-DxS_8bzC.d.ts → respond-C8rBdIBZ.d.ts} +1 -1
- package/dist/server/index.d.ts +22 -22
- package/dist/server/index.js +7 -7
- package/dist/{server-types-DCC-dWKF.d.ts → server-types-Djx3Eb2G.d.ts} +9 -9
- package/dist/{session-Ca4clB30.d.ts → session-BgxLbDYu.d.ts} +5 -5
- package/dist/{session-status-CYtwZBi5.d.ts → session-status-C4g0QoB_.d.ts} +2 -2
- package/dist/{sign-in-BUiy6unD.js → sign-in-Cl7vhgRn.js} +1 -1
- package/dist/solid/index.d.ts +11 -11
- package/dist/solid/index.js +3 -3
- package/dist/solid-start/index.d.ts +5 -5
- package/dist/solid-start/index.js +4 -4
- package/dist/spec/index.d.ts +2 -2
- package/dist/spec/index.js +2 -2
- package/dist/{spec-pins-Dd1Qj3Sj.js → spec-pins-C-1kGh8u.js} +1 -1
- package/dist/{spec-pins-CRJEZYBW.d.ts → spec-pins-DGbByPMT.d.ts} +1 -1
- package/dist/sql/index.d.ts +6 -6
- package/dist/sql/index.js +5 -5
- package/dist/{sql-D3ihagTr.js → sql-TpANPmq7.js} +8961 -2083
- package/dist/sqlite/index.d.ts +1 -1
- package/dist/ssr/index.d.ts +4 -4
- package/dist/storage/index.js +1 -1
- package/dist/{subject-readers-nnYmRpv8.d.ts → subject-readers-yxQ3r1qw.d.ts} +1 -1
- package/dist/{subjects-BGwLJ3IB.d.ts → subjects-BpUQpZhk.d.ts} +30 -2
- package/dist/subjects-D3BE9Q8J.d.ts +173 -0
- package/dist/{support-BzXcdRLG.d.ts → support-B1n33r32.d.ts} +4 -4
- package/dist/{support-view-DNZh8-wA.d.ts → support-view-CkN2Wr1r.d.ts} +1 -1
- package/dist/svelte/index.d.ts +10 -10
- package/dist/svelte/index.js +3 -3
- package/dist/sveltekit/index.d.ts +6 -6
- package/dist/sveltekit/index.js +4 -4
- package/dist/{tags-CpFIpRw8.d.ts → tags-BCjWVMKO.d.ts} +1 -1
- package/dist/tanstack-db/index.d.ts +1 -1
- package/dist/tanstack-start/index.d.ts +5 -5
- package/dist/tanstack-start/index.js +4 -4
- package/dist/{tenant-DyZZDYmm.d.ts → tenant-CBWFqFy0.d.ts} +1 -1
- package/dist/testing/index.d.ts +35 -31
- package/dist/testing/index.js +5 -4
- package/dist/{timeline-Bs-FGMIJ.js → timeline-B3pBRGv9.js} +1 -1
- package/dist/{timeline-Df8GMPkZ.d.ts → timeline-Cy7XP2pq.d.ts} +3 -3
- package/dist/{topic-BtoL1fKf.js → topic-BC3p90lS.js} +1 -1
- package/dist/{topic-B4fSui6P.d.ts → topic-BWJAJkF3.d.ts} +3 -3
- package/dist/{types-mYxPduXR.d.ts → types-B5qUEVWI.d.ts} +22 -16
- package/dist/{types-DJfGy-40.d.ts → types-B_2C7bqG.d.ts} +1 -1
- package/dist/{types-BeXhugiI.d.ts → types-Dlir1n-q.d.ts} +2 -2
- package/dist/{types-D6GlpLD9.d.ts → types-sBLcw65Z.d.ts} +2 -2
- package/dist/{vault-nYFV6WUD.d.ts → vault-BVLUu_Ph.d.ts} +1 -1
- package/dist/vercel-connect/index.d.ts +1 -1
- package/dist/vercel-sandbox/index.d.ts +1 -1
- package/dist/{verify-DxTccsBh.d.ts → verify-DlKjgAEj.d.ts} +1 -1
- package/dist/{view-DwXy8N6Y.d.ts → view-GSwP0y5o.d.ts} +1 -1
- package/dist/vue/index.d.ts +11 -11
- package/dist/vue/index.js +3 -3
- package/dist/{watch-topic-DShzD8ul.d.ts → watch-topic-BfaaK5SW.d.ts} +1 -1
- package/dist/{rate-limit-BJ4EMdAy.js → webhook-inbox-C94C_zIV.js} +3 -119
- package/dist/workflow-sdk/builder/index.d.ts +3 -3
- package/dist/workflow-sdk/builder/index.js +1 -1
- package/dist/workflow-sdk/index.d.ts +1 -1
- package/dist/workflow-sdk/index.js +1 -1
- package/dist/workflow-sdk/world/index.d.ts +1 -1
- package/dist/workflow-sdk/world/index.js +1 -1
- package/dist/{workflow-sdk-q2jnEaAJ.js → workflow-sdk-CZa83j_U.js} +1 -1
- package/dist/{workflow-sdk-ClwzLwNe.d.ts → workflow-sdk-DiDsEArJ.d.ts} +2 -2
- package/dist/{workflow-sdk-Bps7tpOv.js → workflow-sdk-DmHaJHUL.js} +170 -115
- package/dist/{workflows-ZGDa9twb.d.ts → workflows-D1Ax0qSC.d.ts} +4 -4
- package/dist/yjs/index.d.ts +1 -1
- package/dist/yjs/index.js +1 -1
- package/package.json +17 -1
- package/schemas/config-v1.json +201 -2
- package/schemas/doctor-report-v1.json +2 -0
- package/skills/better-supabase/SKILL.md +2 -1
- package/skills/better-supabase/references/ui-recipes.md +1062 -15
- package/skills/better-supabase-api/SKILL.md +1 -1
- package/dist/cli/add-D_JV6V6k.js +0 -1
- package/dist/cli/env-AFfMXxWw.js +0 -1
- package/dist/cli/powersync-B8GWjT_L.js +0 -1
- package/dist/cli/seed-DX1NTTOK.js +0 -1
- package/dist/rate-limit-C89Yzwd9.d.ts +0 -48
- package/dist/rate-limit-DXJbLVg0.js +0 -48
- package/dist/subjects-DgP5x73R.d.ts +0 -86
- package/dist/{kit-CB3AfM9W.js → kit-C-uC7_aG.js} +1 -1
|
@@ -48,6 +48,7 @@ function resolveBlock(config = {}) {
|
|
|
48
48
|
...config.idType === void 0 ? {} : { idType: config.idType },
|
|
49
49
|
...config.scope === void 0 ? {} : { scope: config.scope },
|
|
50
50
|
ownTablePolicies: config.ownTablePolicies ?? "block",
|
|
51
|
+
tenantScopeExempt: config.tenantScope?.exemptRoles ?? [],
|
|
51
52
|
functions: defined(config.functions),
|
|
52
53
|
permissions: defined(config.permissions),
|
|
53
54
|
options: config.options ?? {},
|
|
@@ -616,7 +617,7 @@ const PRESET_CATALOG = {
|
|
|
616
617
|
} },
|
|
617
618
|
"keys": {
|
|
618
619
|
"manage": "waitlist.manage",
|
|
619
|
-
"invite": "
|
|
620
|
+
"invite": "waitlist.invite"
|
|
620
621
|
}
|
|
621
622
|
}
|
|
622
623
|
},
|
|
@@ -738,11 +739,11 @@ const PRESET_CATALOG = {
|
|
|
738
739
|
}
|
|
739
740
|
} },
|
|
740
741
|
"keys": {
|
|
741
|
-
"read": "
|
|
742
|
-
"run": "
|
|
743
|
-
"edit": "
|
|
744
|
-
"publish": "
|
|
745
|
-
"admin": "
|
|
742
|
+
"read": "workflow_editor.read",
|
|
743
|
+
"run": "workflow_editor.run",
|
|
744
|
+
"edit": "workflow_editor.write",
|
|
745
|
+
"publish": "workflow_editor.publish",
|
|
746
|
+
"admin": "workflow_editor.manage"
|
|
746
747
|
}
|
|
747
748
|
}
|
|
748
749
|
},
|
|
@@ -886,7 +887,7 @@ const PRESET_CATALOG = {
|
|
|
886
887
|
"create": "ai_chat.create",
|
|
887
888
|
"share": "ai_chat.share",
|
|
888
889
|
"moderate": "ai_chat.moderate",
|
|
889
|
-
"admin": "ai_chat.
|
|
890
|
+
"admin": "ai_chat.manage"
|
|
890
891
|
}
|
|
891
892
|
}
|
|
892
893
|
},
|
|
@@ -920,8 +921,8 @@ const PRESET_CATALOG = {
|
|
|
920
921
|
}
|
|
921
922
|
} },
|
|
922
923
|
"keys": {
|
|
923
|
-
"upload": "
|
|
924
|
-
"manage": "
|
|
924
|
+
"upload": "ai_files.upload",
|
|
925
|
+
"manage": "ai_files.manage"
|
|
925
926
|
}
|
|
926
927
|
}
|
|
927
928
|
},
|
|
@@ -938,6 +939,7 @@ const PRESET_CATALOG = {
|
|
|
938
939
|
"ai-chat",
|
|
939
940
|
"ai-files",
|
|
940
941
|
"queue",
|
|
942
|
+
"subjects",
|
|
941
943
|
"teams"
|
|
942
944
|
],
|
|
943
945
|
"manifest": "knowledge",
|
|
@@ -966,14 +968,16 @@ const PRESET_CATALOG = {
|
|
|
966
968
|
"chunkCount": "chunk_count",
|
|
967
969
|
"model": "embedding_model",
|
|
968
970
|
"collection": "collection_id",
|
|
971
|
+
"subjectType": "subject_type",
|
|
972
|
+
"subjectId": "subject_id",
|
|
969
973
|
"createdAt": "created_at",
|
|
970
974
|
"updatedAt": "updated_at"
|
|
971
975
|
}
|
|
972
976
|
} },
|
|
973
977
|
"keys": {
|
|
974
|
-
"read": "
|
|
975
|
-
"write": "
|
|
976
|
-
"manage": "
|
|
978
|
+
"read": "knowledge.read",
|
|
979
|
+
"write": "knowledge.write",
|
|
980
|
+
"manage": "knowledge.manage"
|
|
977
981
|
}
|
|
978
982
|
}
|
|
979
983
|
},
|
|
@@ -1028,8 +1032,8 @@ const PRESET_CATALOG = {
|
|
|
1028
1032
|
}
|
|
1029
1033
|
} },
|
|
1030
1034
|
"keys": {
|
|
1031
|
-
"read": "
|
|
1032
|
-
"manage": "
|
|
1035
|
+
"read": "memory.read",
|
|
1036
|
+
"manage": "memory.manage"
|
|
1033
1037
|
}
|
|
1034
1038
|
}
|
|
1035
1039
|
},
|
|
@@ -1073,10 +1077,10 @@ const PRESET_CATALOG = {
|
|
|
1073
1077
|
}
|
|
1074
1078
|
} },
|
|
1075
1079
|
"keys": {
|
|
1076
|
-
"read": "
|
|
1077
|
-
"create": "
|
|
1078
|
-
"publish": "
|
|
1079
|
-
"moderate": "
|
|
1080
|
+
"read": "agents.read",
|
|
1081
|
+
"create": "agents.write",
|
|
1082
|
+
"publish": "agents.publish",
|
|
1083
|
+
"moderate": "agents.moderate"
|
|
1080
1084
|
}
|
|
1081
1085
|
}
|
|
1082
1086
|
},
|
|
@@ -1114,9 +1118,9 @@ const PRESET_CATALOG = {
|
|
|
1114
1118
|
}
|
|
1115
1119
|
} },
|
|
1116
1120
|
"keys": {
|
|
1117
|
-
"read": "
|
|
1118
|
-
"use": "
|
|
1119
|
-
"manage": "
|
|
1121
|
+
"read": "connectors.read",
|
|
1122
|
+
"use": "connectors.use",
|
|
1123
|
+
"manage": "connectors.manage"
|
|
1120
1124
|
}
|
|
1121
1125
|
}
|
|
1122
1126
|
},
|
|
@@ -1159,8 +1163,8 @@ const PRESET_CATALOG = {
|
|
|
1159
1163
|
}
|
|
1160
1164
|
} },
|
|
1161
1165
|
"keys": {
|
|
1162
|
-
"create": "
|
|
1163
|
-
"manage": "
|
|
1166
|
+
"create": "ai_schedules.write",
|
|
1167
|
+
"manage": "ai_schedules.manage"
|
|
1164
1168
|
}
|
|
1165
1169
|
}
|
|
1166
1170
|
},
|
|
@@ -1338,7 +1342,7 @@ const PRESET_CATALOG = {
|
|
|
1338
1342
|
"keys": {
|
|
1339
1343
|
"manage": "custom_fields.manage",
|
|
1340
1344
|
"read": "custom_fields.read",
|
|
1341
|
-
"sensitive": "custom_fields.
|
|
1345
|
+
"sensitive": "custom_fields.read_sensitive"
|
|
1342
1346
|
}
|
|
1343
1347
|
}
|
|
1344
1348
|
},
|
|
@@ -1350,7 +1354,8 @@ const PRESET_CATALOG = {
|
|
|
1350
1354
|
"integrates": [
|
|
1351
1355
|
"outbox",
|
|
1352
1356
|
"versions",
|
|
1353
|
-
"subjects"
|
|
1357
|
+
"subjects",
|
|
1358
|
+
"rate-limit"
|
|
1354
1359
|
],
|
|
1355
1360
|
"manifest": "share-links",
|
|
1356
1361
|
"scopes": ["tenant"],
|
|
@@ -1379,7 +1384,9 @@ const PRESET_CATALOG = {
|
|
|
1379
1384
|
"leaf": "leaf_id",
|
|
1380
1385
|
"versionId": "version_id",
|
|
1381
1386
|
"createdAt": "created_at",
|
|
1382
|
-
"lastUsedAt": "last_used_at"
|
|
1387
|
+
"lastUsedAt": "last_used_at",
|
|
1388
|
+
"passwordHash": "password_hash",
|
|
1389
|
+
"downloadAllowed": "download_allowed"
|
|
1383
1390
|
}
|
|
1384
1391
|
} },
|
|
1385
1392
|
"keys": {
|
|
@@ -1448,9 +1455,10 @@ const PRESET_CATALOG = {
|
|
|
1448
1455
|
"title": "Subjects",
|
|
1449
1456
|
"category": "identity",
|
|
1450
1457
|
"requires": ["permissions"],
|
|
1451
|
-
"integrates": [],
|
|
1458
|
+
"integrates": ["teams", "memberships"],
|
|
1452
1459
|
"manifest": "subjects",
|
|
1453
|
-
"scopes": ["tenant"]
|
|
1460
|
+
"scopes": ["tenant"],
|
|
1461
|
+
"tenantNameClashes": ["team"]
|
|
1454
1462
|
},
|
|
1455
1463
|
{
|
|
1456
1464
|
"name": "rank",
|
|
@@ -1500,8 +1508,8 @@ const PRESET_CATALOG = {
|
|
|
1500
1508
|
}
|
|
1501
1509
|
} },
|
|
1502
1510
|
"keys": {
|
|
1503
|
-
"read": "
|
|
1504
|
-
"share": "
|
|
1511
|
+
"read": "saved_views.read",
|
|
1512
|
+
"share": "saved_views.share"
|
|
1505
1513
|
}
|
|
1506
1514
|
}
|
|
1507
1515
|
},
|
|
@@ -2206,6 +2214,11 @@ const PRESET_CATALOG = {
|
|
|
2206
2214
|
"externalId": "external_id",
|
|
2207
2215
|
"externalMetadata": "external_metadata",
|
|
2208
2216
|
"legalHoldUntil": "legal_hold_until",
|
|
2217
|
+
"lockedBy": "locked_by",
|
|
2218
|
+
"lockedUntil": "locked_until",
|
|
2219
|
+
"lockNote": "lock_note",
|
|
2220
|
+
"downloadBlocked": "download_blocked",
|
|
2221
|
+
"previewPages": "preview_pages",
|
|
2209
2222
|
"createdBy": "created_by",
|
|
2210
2223
|
"createdAt": "created_at",
|
|
2211
2224
|
"updatedAt": "updated_at"
|
|
@@ -2233,7 +2246,8 @@ const PRESET_CATALOG = {
|
|
|
2233
2246
|
"teams",
|
|
2234
2247
|
"share-links",
|
|
2235
2248
|
"tags",
|
|
2236
|
-
"approvals"
|
|
2249
|
+
"approvals",
|
|
2250
|
+
"rate-limit"
|
|
2237
2251
|
],
|
|
2238
2252
|
"manifest": "drive",
|
|
2239
2253
|
"scopes": ["tenant"]
|
|
@@ -2788,9 +2802,9 @@ const PRESET_CATALOG = {
|
|
|
2788
2802
|
}
|
|
2789
2803
|
},
|
|
2790
2804
|
"keys": {
|
|
2791
|
-
"read": "
|
|
2792
|
-
"write": "
|
|
2793
|
-
"manage": "
|
|
2805
|
+
"read": "contacts.read",
|
|
2806
|
+
"write": "contacts.write",
|
|
2807
|
+
"manage": "contacts.manage"
|
|
2794
2808
|
}
|
|
2795
2809
|
}
|
|
2796
2810
|
},
|
|
@@ -2851,9 +2865,9 @@ const PRESET_CATALOG = {
|
|
|
2851
2865
|
}
|
|
2852
2866
|
} },
|
|
2853
2867
|
"keys": {
|
|
2854
|
-
"read": "
|
|
2855
|
-
"write": "
|
|
2856
|
-
"manage": "
|
|
2868
|
+
"read": "activities.read",
|
|
2869
|
+
"write": "activities.write",
|
|
2870
|
+
"manage": "activities.manage"
|
|
2857
2871
|
}
|
|
2858
2872
|
}
|
|
2859
2873
|
},
|
|
@@ -3096,9 +3110,9 @@ const PRESET_CATALOG = {
|
|
|
3096
3110
|
}
|
|
3097
3111
|
},
|
|
3098
3112
|
"keys": {
|
|
3099
|
-
"read": "
|
|
3100
|
-
"write": "
|
|
3101
|
-
"manage": "
|
|
3113
|
+
"read": "tasks.read",
|
|
3114
|
+
"write": "tasks.write",
|
|
3115
|
+
"manage": "tasks.manage"
|
|
3102
3116
|
}
|
|
3103
3117
|
}
|
|
3104
3118
|
},
|
|
@@ -3259,6 +3273,7 @@ const PRESET_CATALOG = {
|
|
|
3259
3273
|
"discountBps": "discount_bps",
|
|
3260
3274
|
"discountAmount": "discount_amount",
|
|
3261
3275
|
"pricesIncludeTax": "prices_include_tax",
|
|
3276
|
+
"archivedAt": "archived_at",
|
|
3262
3277
|
"createdBy": "created_by",
|
|
3263
3278
|
"createdAt": "created_at",
|
|
3264
3279
|
"updatedAt": "updated_at",
|
|
@@ -3365,8 +3380,8 @@ const PRESET_CATALOG = {
|
|
|
3365
3380
|
}
|
|
3366
3381
|
} },
|
|
3367
3382
|
"keys": {
|
|
3368
|
-
"read": "
|
|
3369
|
-
"manage": "
|
|
3383
|
+
"read": "goals.read",
|
|
3384
|
+
"manage": "goals.manage"
|
|
3370
3385
|
}
|
|
3371
3386
|
}
|
|
3372
3387
|
},
|
|
@@ -3530,7 +3545,7 @@ const PRESET_CATALOG = {
|
|
|
3530
3545
|
"keys": {
|
|
3531
3546
|
"read": "employees.read",
|
|
3532
3547
|
"write": "employees.write",
|
|
3533
|
-
"viewSensitive": "employees.
|
|
3548
|
+
"viewSensitive": "employees.read_sensitive"
|
|
3534
3549
|
}
|
|
3535
3550
|
}
|
|
3536
3551
|
},
|
|
@@ -3840,10 +3855,10 @@ const PRESET_CATALOG = {
|
|
|
3840
3855
|
}
|
|
3841
3856
|
} },
|
|
3842
3857
|
"keys": {
|
|
3843
|
-
"read": "
|
|
3844
|
-
"edit": "
|
|
3845
|
-
"publish": "
|
|
3846
|
-
"admin": "
|
|
3858
|
+
"read": "automations.read",
|
|
3859
|
+
"edit": "automations.write",
|
|
3860
|
+
"publish": "automations.publish",
|
|
3861
|
+
"admin": "automations.manage"
|
|
3847
3862
|
}
|
|
3848
3863
|
}
|
|
3849
3864
|
},
|
|
@@ -5104,10 +5119,10 @@ const PRESET_CATALOG = {
|
|
|
5104
5119
|
}
|
|
5105
5120
|
},
|
|
5106
5121
|
"keys": {
|
|
5107
|
-
"read": "
|
|
5108
|
-
"manage": "
|
|
5109
|
-
"collect": "
|
|
5110
|
-
"acknowledge": "
|
|
5122
|
+
"read": "compliance.read",
|
|
5123
|
+
"manage": "compliance.manage",
|
|
5124
|
+
"collect": "compliance.collect",
|
|
5125
|
+
"acknowledge": "compliance.acknowledge"
|
|
5111
5126
|
}
|
|
5112
5127
|
}
|
|
5113
5128
|
},
|
|
@@ -5553,7 +5568,7 @@ const PRESET_CATALOG = {
|
|
|
5553
5568
|
"occurredAt": "occurred_at"
|
|
5554
5569
|
}
|
|
5555
5570
|
} },
|
|
5556
|
-
"keys": { "read": "
|
|
5571
|
+
"keys": { "read": "timeline.read" }
|
|
5557
5572
|
}
|
|
5558
5573
|
},
|
|
5559
5574
|
{
|
|
@@ -5655,10 +5670,10 @@ const PRESET_CATALOG = {
|
|
|
5655
5670
|
}
|
|
5656
5671
|
},
|
|
5657
5672
|
"keys": {
|
|
5658
|
-
"read": "
|
|
5659
|
-
"connect": "
|
|
5660
|
-
"send": "
|
|
5661
|
-
"manage": "
|
|
5673
|
+
"read": "mail_sync.read",
|
|
5674
|
+
"connect": "mail_sync.connect",
|
|
5675
|
+
"send": "mail_sync.send",
|
|
5676
|
+
"manage": "mail_sync.manage"
|
|
5662
5677
|
}
|
|
5663
5678
|
}
|
|
5664
5679
|
},
|
|
@@ -5703,7 +5718,7 @@ const PRESET_CATALOG = {
|
|
|
5703
5718
|
} },
|
|
5704
5719
|
"keys": {
|
|
5705
5720
|
"read": "segments.read",
|
|
5706
|
-
"edit": "segments.
|
|
5721
|
+
"edit": "segments.write"
|
|
5707
5722
|
}
|
|
5708
5723
|
}
|
|
5709
5724
|
},
|
|
@@ -6096,6 +6111,394 @@ const PRESET_CATALOG = {
|
|
|
6096
6111
|
}
|
|
6097
6112
|
}
|
|
6098
6113
|
},
|
|
6114
|
+
{
|
|
6115
|
+
"name": "qualifications",
|
|
6116
|
+
"title": "Qualifications",
|
|
6117
|
+
"category": "people",
|
|
6118
|
+
"requires": [
|
|
6119
|
+
"memberships",
|
|
6120
|
+
"permissions",
|
|
6121
|
+
"subjects"
|
|
6122
|
+
],
|
|
6123
|
+
"integrates": [
|
|
6124
|
+
"courses",
|
|
6125
|
+
"employees",
|
|
6126
|
+
"teams",
|
|
6127
|
+
"contacts",
|
|
6128
|
+
"assets",
|
|
6129
|
+
"segments",
|
|
6130
|
+
"attachments",
|
|
6131
|
+
"notifications",
|
|
6132
|
+
"outbox",
|
|
6133
|
+
"audit"
|
|
6134
|
+
],
|
|
6135
|
+
"manifest": "qualifications",
|
|
6136
|
+
"scopes": ["tenant"],
|
|
6137
|
+
"extraColumns": "qualifications",
|
|
6138
|
+
"entities": {
|
|
6139
|
+
"specs": {
|
|
6140
|
+
"qualification": {
|
|
6141
|
+
"table": "qualifications",
|
|
6142
|
+
"singular": "qualification",
|
|
6143
|
+
"primary": true
|
|
6144
|
+
},
|
|
6145
|
+
"qualification_type": {
|
|
6146
|
+
"table": "types",
|
|
6147
|
+
"singular": "qualification_type",
|
|
6148
|
+
"subject": {
|
|
6149
|
+
"title": "name",
|
|
6150
|
+
"permissions": {
|
|
6151
|
+
"read": "read",
|
|
6152
|
+
"write": "manage"
|
|
6153
|
+
}
|
|
6154
|
+
}
|
|
6155
|
+
},
|
|
6156
|
+
"qualification_requirement": {
|
|
6157
|
+
"table": "requirements",
|
|
6158
|
+
"singular": "qualification_requirement"
|
|
6159
|
+
}
|
|
6160
|
+
},
|
|
6161
|
+
"tables": {
|
|
6162
|
+
"qualifications": {
|
|
6163
|
+
"name": "qualifications",
|
|
6164
|
+
"columns": {
|
|
6165
|
+
"id": "id",
|
|
6166
|
+
"tenant": "tenant_id",
|
|
6167
|
+
"type": "type_id",
|
|
6168
|
+
"holderType": "holder_type",
|
|
6169
|
+
"holderId": "holder_id",
|
|
6170
|
+
"grantedOn": "granted_on",
|
|
6171
|
+
"expiresOn": "expires_on",
|
|
6172
|
+
"revokedAt": "revoked_at",
|
|
6173
|
+
"revokeReason": "revoke_reason",
|
|
6174
|
+
"evidenceAttachment": "evidence_attachment_id",
|
|
6175
|
+
"evidenceNote": "evidence_note",
|
|
6176
|
+
"source": "source",
|
|
6177
|
+
"sourceId": "source_id",
|
|
6178
|
+
"grantedBy": "granted_by",
|
|
6179
|
+
"notifiedStatus": "notified_status",
|
|
6180
|
+
"createdAt": "created_at",
|
|
6181
|
+
"updatedAt": "updated_at"
|
|
6182
|
+
}
|
|
6183
|
+
},
|
|
6184
|
+
"types": {
|
|
6185
|
+
"name": "qualification_types",
|
|
6186
|
+
"columns": {
|
|
6187
|
+
"id": "id",
|
|
6188
|
+
"tenant": "tenant_id",
|
|
6189
|
+
"key": "key",
|
|
6190
|
+
"name": "name",
|
|
6191
|
+
"description": "description",
|
|
6192
|
+
"holderTypes": "holder_types",
|
|
6193
|
+
"validForMonths": "valid_for_months",
|
|
6194
|
+
"evidenceRequired": "evidence_required",
|
|
6195
|
+
"course": "course_id",
|
|
6196
|
+
"archivedAt": "archived_at",
|
|
6197
|
+
"createdAt": "created_at",
|
|
6198
|
+
"updatedAt": "updated_at"
|
|
6199
|
+
}
|
|
6200
|
+
},
|
|
6201
|
+
"requirements": {
|
|
6202
|
+
"name": "qualification_requirements",
|
|
6203
|
+
"columns": {
|
|
6204
|
+
"id": "id",
|
|
6205
|
+
"tenant": "tenant_id",
|
|
6206
|
+
"type": "type_id",
|
|
6207
|
+
"targetType": "target_type",
|
|
6208
|
+
"targetValue": "target_value",
|
|
6209
|
+
"createdAt": "created_at"
|
|
6210
|
+
}
|
|
6211
|
+
}
|
|
6212
|
+
},
|
|
6213
|
+
"keys": {
|
|
6214
|
+
"read": "qualifications.read",
|
|
6215
|
+
"grant": "qualifications.grant",
|
|
6216
|
+
"manage": "qualifications.manage"
|
|
6217
|
+
}
|
|
6218
|
+
}
|
|
6219
|
+
},
|
|
6220
|
+
{
|
|
6221
|
+
"name": "risks",
|
|
6222
|
+
"title": "Risks",
|
|
6223
|
+
"category": "work",
|
|
6224
|
+
"requires": [
|
|
6225
|
+
"memberships",
|
|
6226
|
+
"permissions",
|
|
6227
|
+
"subjects",
|
|
6228
|
+
"versions"
|
|
6229
|
+
],
|
|
6230
|
+
"integrates": [
|
|
6231
|
+
"compliance",
|
|
6232
|
+
"relations",
|
|
6233
|
+
"numbering",
|
|
6234
|
+
"notifications",
|
|
6235
|
+
"outbox",
|
|
6236
|
+
"audit"
|
|
6237
|
+
],
|
|
6238
|
+
"manifest": "risks",
|
|
6239
|
+
"scopes": ["tenant"],
|
|
6240
|
+
"extraColumns": "risks",
|
|
6241
|
+
"entities": {
|
|
6242
|
+
"specs": {
|
|
6243
|
+
"risk": {
|
|
6244
|
+
"table": "risks",
|
|
6245
|
+
"singular": "risk",
|
|
6246
|
+
"primary": true,
|
|
6247
|
+
"subject": {
|
|
6248
|
+
"title": "title",
|
|
6249
|
+
"deletedAt": "archivedAt",
|
|
6250
|
+
"permissions": {
|
|
6251
|
+
"read": "read",
|
|
6252
|
+
"write": "write"
|
|
6253
|
+
},
|
|
6254
|
+
"search": {
|
|
6255
|
+
"title": "title",
|
|
6256
|
+
"body": [
|
|
6257
|
+
"number",
|
|
6258
|
+
"description",
|
|
6259
|
+
"cause",
|
|
6260
|
+
"consequence"
|
|
6261
|
+
]
|
|
6262
|
+
}
|
|
6263
|
+
}
|
|
6264
|
+
},
|
|
6265
|
+
"risk_matrix": {
|
|
6266
|
+
"table": "matrices",
|
|
6267
|
+
"singular": "risk_matrix",
|
|
6268
|
+
"plural": "risk_matrices"
|
|
6269
|
+
},
|
|
6270
|
+
"risk_assessment": {
|
|
6271
|
+
"table": "assessments",
|
|
6272
|
+
"singular": "risk_assessment"
|
|
6273
|
+
}
|
|
6274
|
+
},
|
|
6275
|
+
"tables": {
|
|
6276
|
+
"risks": {
|
|
6277
|
+
"name": "risks",
|
|
6278
|
+
"columns": {
|
|
6279
|
+
"id": "id",
|
|
6280
|
+
"tenant": "tenant_id",
|
|
6281
|
+
"number": "number",
|
|
6282
|
+
"sequence": "sequence",
|
|
6283
|
+
"matrix": "matrix_id",
|
|
6284
|
+
"title": "title",
|
|
6285
|
+
"description": "description",
|
|
6286
|
+
"category": "category",
|
|
6287
|
+
"cause": "cause",
|
|
6288
|
+
"consequence": "consequence",
|
|
6289
|
+
"owner": "owner_id",
|
|
6290
|
+
"status": "status",
|
|
6291
|
+
"treatment": "treatment",
|
|
6292
|
+
"reviewIntervalMonths": "review_interval_months",
|
|
6293
|
+
"nextReviewOn": "next_review_on",
|
|
6294
|
+
"reviewedAt": "reviewed_at",
|
|
6295
|
+
"reviewNotifiedFor": "review_notified_for",
|
|
6296
|
+
"inherentLikelihood": "inherent_likelihood",
|
|
6297
|
+
"inherentImpact": "inherent_impact",
|
|
6298
|
+
"inherentScore": "inherent_score",
|
|
6299
|
+
"inherentBand": "inherent_band",
|
|
6300
|
+
"residualLikelihood": "residual_likelihood",
|
|
6301
|
+
"residualImpact": "residual_impact",
|
|
6302
|
+
"residualScore": "residual_score",
|
|
6303
|
+
"residualBand": "residual_band",
|
|
6304
|
+
"currentAssessment": "current_assessment_id",
|
|
6305
|
+
"closedAt": "closed_at",
|
|
6306
|
+
"archivedAt": "archived_at",
|
|
6307
|
+
"createdBy": "created_by",
|
|
6308
|
+
"createdAt": "created_at",
|
|
6309
|
+
"updatedAt": "updated_at"
|
|
6310
|
+
}
|
|
6311
|
+
},
|
|
6312
|
+
"matrices": {
|
|
6313
|
+
"name": "risk_matrices",
|
|
6314
|
+
"columns": {
|
|
6315
|
+
"id": "id",
|
|
6316
|
+
"tenant": "tenant_id",
|
|
6317
|
+
"key": "key",
|
|
6318
|
+
"name": "name",
|
|
6319
|
+
"likelihoodLevels": "likelihood_levels",
|
|
6320
|
+
"impactLevels": "impact_levels",
|
|
6321
|
+
"bands": "bands",
|
|
6322
|
+
"scoring": "scoring",
|
|
6323
|
+
"isDefault": "is_default",
|
|
6324
|
+
"createdAt": "created_at",
|
|
6325
|
+
"updatedAt": "updated_at"
|
|
6326
|
+
}
|
|
6327
|
+
},
|
|
6328
|
+
"assessments": {
|
|
6329
|
+
"name": "risk_assessments",
|
|
6330
|
+
"columns": {
|
|
6331
|
+
"id": "id",
|
|
6332
|
+
"tenant": "tenant_id",
|
|
6333
|
+
"risk": "risk_id",
|
|
6334
|
+
"inherentLikelihood": "inherent_likelihood",
|
|
6335
|
+
"inherentImpact": "inherent_impact",
|
|
6336
|
+
"inherentScore": "inherent_score",
|
|
6337
|
+
"inherentBand": "inherent_band",
|
|
6338
|
+
"residualLikelihood": "residual_likelihood",
|
|
6339
|
+
"residualImpact": "residual_impact",
|
|
6340
|
+
"residualScore": "residual_score",
|
|
6341
|
+
"residualBand": "residual_band",
|
|
6342
|
+
"rationale": "rationale",
|
|
6343
|
+
"version": "version_id",
|
|
6344
|
+
"assessedBy": "assessed_by",
|
|
6345
|
+
"assessedAt": "assessed_at"
|
|
6346
|
+
}
|
|
6347
|
+
}
|
|
6348
|
+
},
|
|
6349
|
+
"keys": {
|
|
6350
|
+
"read": "risks.read",
|
|
6351
|
+
"write": "risks.write",
|
|
6352
|
+
"assess": "risks.assess",
|
|
6353
|
+
"manage": "risks.manage"
|
|
6354
|
+
}
|
|
6355
|
+
}
|
|
6356
|
+
},
|
|
6357
|
+
{
|
|
6358
|
+
"name": "shifts",
|
|
6359
|
+
"title": "Shifts",
|
|
6360
|
+
"category": "people",
|
|
6361
|
+
"requires": [
|
|
6362
|
+
"memberships",
|
|
6363
|
+
"permissions",
|
|
6364
|
+
"teams"
|
|
6365
|
+
],
|
|
6366
|
+
"integrates": [
|
|
6367
|
+
"employees",
|
|
6368
|
+
"leave",
|
|
6369
|
+
"qualifications",
|
|
6370
|
+
"time-tracking",
|
|
6371
|
+
"assets",
|
|
6372
|
+
"approvals",
|
|
6373
|
+
"notifications",
|
|
6374
|
+
"outbox",
|
|
6375
|
+
"audit"
|
|
6376
|
+
],
|
|
6377
|
+
"manifest": "shifts",
|
|
6378
|
+
"scopes": ["tenant"],
|
|
6379
|
+
"tenantNameClashes": ["team"],
|
|
6380
|
+
"extraColumns": "shifts",
|
|
6381
|
+
"entities": {
|
|
6382
|
+
"specs": {
|
|
6383
|
+
"shift": {
|
|
6384
|
+
"table": "shifts",
|
|
6385
|
+
"singular": "shift",
|
|
6386
|
+
"primary": true
|
|
6387
|
+
},
|
|
6388
|
+
"shift_template": {
|
|
6389
|
+
"table": "templates",
|
|
6390
|
+
"singular": "shift_template"
|
|
6391
|
+
},
|
|
6392
|
+
"shift_assignment": {
|
|
6393
|
+
"table": "assignments",
|
|
6394
|
+
"singular": "shift_assignment"
|
|
6395
|
+
},
|
|
6396
|
+
"shift_swap": {
|
|
6397
|
+
"table": "swaps",
|
|
6398
|
+
"singular": "shift_swap"
|
|
6399
|
+
},
|
|
6400
|
+
"shift_availability": {
|
|
6401
|
+
"table": "availability",
|
|
6402
|
+
"singular": "shift_availability",
|
|
6403
|
+
"plural": "shift_availability"
|
|
6404
|
+
}
|
|
6405
|
+
},
|
|
6406
|
+
"tables": {
|
|
6407
|
+
"shifts": {
|
|
6408
|
+
"name": "shifts",
|
|
6409
|
+
"columns": {
|
|
6410
|
+
"id": "id",
|
|
6411
|
+
"tenant": "tenant_id",
|
|
6412
|
+
"template": "template_id",
|
|
6413
|
+
"team": "team_id",
|
|
6414
|
+
"location": "location_id",
|
|
6415
|
+
"startsAt": "starts_at",
|
|
6416
|
+
"endsAt": "ends_at",
|
|
6417
|
+
"breakMinutes": "break_minutes",
|
|
6418
|
+
"headcount": "headcount",
|
|
6419
|
+
"requiredQualifications": "required_qualifications",
|
|
6420
|
+
"status": "status",
|
|
6421
|
+
"note": "note",
|
|
6422
|
+
"publishedAt": "published_at",
|
|
6423
|
+
"canceledAt": "canceled_at",
|
|
6424
|
+
"createdBy": "created_by",
|
|
6425
|
+
"createdAt": "created_at",
|
|
6426
|
+
"updatedAt": "updated_at"
|
|
6427
|
+
}
|
|
6428
|
+
},
|
|
6429
|
+
"templates": {
|
|
6430
|
+
"name": "shift_templates",
|
|
6431
|
+
"columns": {
|
|
6432
|
+
"id": "id",
|
|
6433
|
+
"tenant": "tenant_id",
|
|
6434
|
+
"name": "name",
|
|
6435
|
+
"team": "team_id",
|
|
6436
|
+
"location": "location_id",
|
|
6437
|
+
"startsTime": "starts_time",
|
|
6438
|
+
"endsTime": "ends_time",
|
|
6439
|
+
"breakMinutes": "break_minutes",
|
|
6440
|
+
"headcount": "headcount",
|
|
6441
|
+
"requiredQualifications": "required_qualifications",
|
|
6442
|
+
"weekdays": "weekdays",
|
|
6443
|
+
"archivedAt": "archived_at",
|
|
6444
|
+
"createdAt": "created_at",
|
|
6445
|
+
"updatedAt": "updated_at"
|
|
6446
|
+
}
|
|
6447
|
+
},
|
|
6448
|
+
"assignments": {
|
|
6449
|
+
"name": "shift_assignments",
|
|
6450
|
+
"columns": {
|
|
6451
|
+
"id": "id",
|
|
6452
|
+
"tenant": "tenant_id",
|
|
6453
|
+
"shift": "shift_id",
|
|
6454
|
+
"user": "user_id",
|
|
6455
|
+
"status": "status",
|
|
6456
|
+
"startsAt": "starts_at",
|
|
6457
|
+
"endsAt": "ends_at",
|
|
6458
|
+
"assignedBy": "assigned_by",
|
|
6459
|
+
"createdAt": "created_at",
|
|
6460
|
+
"updatedAt": "updated_at"
|
|
6461
|
+
}
|
|
6462
|
+
},
|
|
6463
|
+
"swaps": {
|
|
6464
|
+
"name": "shift_swaps",
|
|
6465
|
+
"columns": {
|
|
6466
|
+
"id": "id",
|
|
6467
|
+
"tenant": "tenant_id",
|
|
6468
|
+
"assignment": "assignment_id",
|
|
6469
|
+
"fromUser": "from_user_id",
|
|
6470
|
+
"toUser": "to_user_id",
|
|
6471
|
+
"status": "status",
|
|
6472
|
+
"approval": "approval_id",
|
|
6473
|
+
"note": "note",
|
|
6474
|
+
"decidedBy": "decided_by",
|
|
6475
|
+
"decidedAt": "decided_at",
|
|
6476
|
+
"createdAt": "created_at"
|
|
6477
|
+
}
|
|
6478
|
+
},
|
|
6479
|
+
"availability": {
|
|
6480
|
+
"name": "shift_availability",
|
|
6481
|
+
"columns": {
|
|
6482
|
+
"id": "id",
|
|
6483
|
+
"tenant": "tenant_id",
|
|
6484
|
+
"user": "user_id",
|
|
6485
|
+
"onDate": "on_date",
|
|
6486
|
+
"fromTime": "from_time",
|
|
6487
|
+
"untilTime": "until_time",
|
|
6488
|
+
"kind": "kind",
|
|
6489
|
+
"note": "note",
|
|
6490
|
+
"createdAt": "created_at"
|
|
6491
|
+
}
|
|
6492
|
+
}
|
|
6493
|
+
},
|
|
6494
|
+
"keys": {
|
|
6495
|
+
"read": "shifts.read",
|
|
6496
|
+
"write": "shifts.write",
|
|
6497
|
+
"request": "shifts.request",
|
|
6498
|
+
"manage": "shifts.manage"
|
|
6499
|
+
}
|
|
6500
|
+
}
|
|
6501
|
+
},
|
|
6099
6502
|
{
|
|
6100
6503
|
"name": "rls-guard",
|
|
6101
6504
|
"title": "RLS on every new table",
|
|
@@ -6474,16 +6877,29 @@ const PRESET_CATALOG = {
|
|
|
6474
6877
|
{ "name": "AttachmentFileInput" },
|
|
6475
6878
|
{ "name": "AttachmentImages" },
|
|
6476
6879
|
{ "name": "AttachmentImageUrlOptions" },
|
|
6477
|
-
{ "name": "
|
|
6880
|
+
{ "name": "AttachmentListActions" },
|
|
6478
6881
|
{
|
|
6479
|
-
"name": "
|
|
6882
|
+
"name": "AttachmentListController",
|
|
6480
6883
|
"fields": true
|
|
6481
6884
|
},
|
|
6482
|
-
{
|
|
6483
|
-
|
|
6484
|
-
|
|
6485
|
-
|
|
6486
|
-
{
|
|
6885
|
+
{
|
|
6886
|
+
"name": "AttachmentListControllerOptions",
|
|
6887
|
+
"fields": true
|
|
6888
|
+
},
|
|
6889
|
+
{
|
|
6890
|
+
"name": "AttachmentListSnapshot",
|
|
6891
|
+
"fields": true
|
|
6892
|
+
},
|
|
6893
|
+
{ "name": "AttachmentReplacement" },
|
|
6894
|
+
{
|
|
6895
|
+
"name": "Attachments",
|
|
6896
|
+
"fields": true
|
|
6897
|
+
},
|
|
6898
|
+
{ "name": "AttachmentScanJob" },
|
|
6899
|
+
{ "name": "AttachmentScanner" },
|
|
6900
|
+
{ "name": "AttachmentScannerOptions" },
|
|
6901
|
+
{ "name": "AttachmentScanState" },
|
|
6902
|
+
{ "name": "AttachmentSend" },
|
|
6487
6903
|
{ "name": "AttachmentsEvents" },
|
|
6488
6904
|
{ "name": "AttachmentsOptimisticAction" },
|
|
6489
6905
|
{ "name": "AttachmentsOptions" },
|
|
@@ -11618,244 +12034,1153 @@ const PRESET_CATALOG = {
|
|
|
11618
12034
|
}]
|
|
11619
12035
|
},
|
|
11620
12036
|
{
|
|
11621
|
-
"name": "
|
|
11622
|
-
"sql": ["
|
|
11623
|
-
"category": "content",
|
|
11624
|
-
"client": {
|
|
11625
|
-
"export": "driveBlock",
|
|
11626
|
-
"subpath": "better-supabase/blocks/drive"
|
|
11627
|
-
},
|
|
11628
|
-
"consumes": { "attachments": "optional" },
|
|
11629
|
-
"provides": [],
|
|
11630
|
-
"entityTypes": [{
|
|
11631
|
-
"name": "DriveNode",
|
|
11632
|
-
"fields": true
|
|
11633
|
-
}, { "name": "DriveNodeKind" }],
|
|
11634
|
-
"events": {
|
|
11635
|
-
"type": "DriveEvents",
|
|
11636
|
-
"types": [
|
|
11637
|
-
"drive.node_created",
|
|
11638
|
-
"drive.node_renamed",
|
|
11639
|
-
"drive.node_moved",
|
|
11640
|
-
"drive.node_shared",
|
|
11641
|
-
"drive.node_unshared",
|
|
11642
|
-
"drive.node_purged",
|
|
11643
|
-
"drive.node_hold_placed",
|
|
11644
|
-
"drive.node_hold_released",
|
|
11645
|
-
"drive.created",
|
|
11646
|
-
"drive.renamed",
|
|
11647
|
-
"drive.deleted",
|
|
11648
|
-
"drive.shared",
|
|
11649
|
-
"drive.unshared",
|
|
11650
|
-
"drive.connection_created",
|
|
11651
|
-
"drive.connection_removed"
|
|
11652
|
-
]
|
|
11653
|
-
}
|
|
11654
|
-
},
|
|
11655
|
-
{
|
|
11656
|
-
"name": "employees",
|
|
11657
|
-
"sql": ["employees"],
|
|
12037
|
+
"name": "qualifications",
|
|
12038
|
+
"sql": ["qualifications"],
|
|
11658
12039
|
"category": "people",
|
|
11659
12040
|
"client": {
|
|
11660
|
-
"export": "
|
|
11661
|
-
"subpath": "better-supabase/blocks/
|
|
12041
|
+
"export": "qualificationsBlock",
|
|
12042
|
+
"subpath": "better-supabase/blocks/qualifications"
|
|
11662
12043
|
},
|
|
11663
12044
|
"consumes": {},
|
|
11664
12045
|
"provides": [],
|
|
11665
12046
|
"entityTypes": [
|
|
11666
12047
|
{
|
|
11667
|
-
"name": "
|
|
12048
|
+
"name": "Qualification",
|
|
11668
12049
|
"fields": true
|
|
11669
12050
|
},
|
|
11670
|
-
{ "name": "
|
|
11671
|
-
{ "name": "
|
|
11672
|
-
{ "name": "
|
|
11673
|
-
{ "name": "
|
|
11674
|
-
{ "name": "
|
|
12051
|
+
{ "name": "QualificationExpiryEventData" },
|
|
12052
|
+
{ "name": "QualificationGap" },
|
|
12053
|
+
{ "name": "QualificationGapOptions" },
|
|
12054
|
+
{ "name": "QualificationGapStatus" },
|
|
12055
|
+
{ "name": "QualificationGrantedEventData" },
|
|
11675
12056
|
{
|
|
11676
|
-
"name": "
|
|
12057
|
+
"name": "QualificationGrantInput",
|
|
11677
12058
|
"fields": true
|
|
11678
12059
|
},
|
|
12060
|
+
{ "name": "QualificationHolderType" },
|
|
12061
|
+
{ "name": "QualificationRequirement" },
|
|
12062
|
+
{ "name": "QualificationRevokedEventData" },
|
|
11679
12063
|
{
|
|
11680
|
-
"name": "
|
|
12064
|
+
"name": "Qualifications",
|
|
11681
12065
|
"fields": true
|
|
11682
12066
|
},
|
|
11683
|
-
{ "name": "
|
|
11684
|
-
{ "name": "
|
|
11685
|
-
{ "name": "
|
|
12067
|
+
{ "name": "QualificationsEvents" },
|
|
12068
|
+
{ "name": "QualificationsOptions" },
|
|
12069
|
+
{ "name": "QualificationSource" },
|
|
12070
|
+
{ "name": "QualificationStatus" },
|
|
12071
|
+
{ "name": "QualificationTargetType" },
|
|
12072
|
+
{ "name": "QualificationType" },
|
|
12073
|
+
{ "name": "QualificationTypeArchivedEventData" },
|
|
12074
|
+
{ "name": "QualificationTypeInput" },
|
|
12075
|
+
{ "name": "QualificationTypeSavedEventData" }
|
|
11686
12076
|
],
|
|
11687
|
-
"entitySchemas": {
|
|
11688
|
-
"input": {
|
|
11689
|
-
"title": "
|
|
12077
|
+
"entitySchemas": {
|
|
12078
|
+
"qualification_type": { "input": {
|
|
12079
|
+
"title": "QualificationTypeInput",
|
|
11690
12080
|
"fields": {
|
|
11691
|
-
"
|
|
12081
|
+
"key": {
|
|
11692
12082
|
"kind": "string",
|
|
11693
12083
|
"minLength": 1,
|
|
11694
|
-
"maxLength":
|
|
12084
|
+
"maxLength": 64
|
|
11695
12085
|
},
|
|
11696
|
-
"
|
|
12086
|
+
"name": {
|
|
11697
12087
|
"kind": "string",
|
|
11698
|
-
"
|
|
12088
|
+
"minLength": 1,
|
|
11699
12089
|
"maxLength": 200
|
|
11700
12090
|
},
|
|
11701
|
-
"
|
|
11702
|
-
"kind": "
|
|
11703
|
-
"
|
|
11704
|
-
|
|
12091
|
+
"holderTypes": {
|
|
12092
|
+
"kind": "enum",
|
|
12093
|
+
"values": [
|
|
12094
|
+
"member",
|
|
12095
|
+
"company",
|
|
12096
|
+
"asset"
|
|
12097
|
+
],
|
|
12098
|
+
"array": true
|
|
11705
12099
|
},
|
|
11706
|
-
"
|
|
11707
|
-
"kind": "
|
|
12100
|
+
"validForMonths": {
|
|
12101
|
+
"kind": "integer",
|
|
11708
12102
|
"optional": true,
|
|
11709
|
-
"
|
|
12103
|
+
"minimum": 1,
|
|
12104
|
+
"maximum": 240
|
|
11710
12105
|
},
|
|
11711
|
-
"
|
|
12106
|
+
"evidenceRequired": {
|
|
12107
|
+
"kind": "boolean",
|
|
12108
|
+
"optional": true
|
|
12109
|
+
},
|
|
12110
|
+
"courseId": {
|
|
11712
12111
|
"kind": "uuid",
|
|
11713
12112
|
"optional": true
|
|
11714
12113
|
},
|
|
11715
|
-
"
|
|
12114
|
+
"description": {
|
|
11716
12115
|
"kind": "string",
|
|
11717
12116
|
"optional": true,
|
|
11718
|
-
"maxLength":
|
|
11719
|
-
},
|
|
11720
|
-
"teamId": {
|
|
11721
|
-
"kind": "uuid",
|
|
11722
|
-
"optional": true
|
|
12117
|
+
"maxLength": 1e4
|
|
11723
12118
|
},
|
|
11724
|
-
"
|
|
12119
|
+
"typeId": {
|
|
11725
12120
|
"kind": "uuid",
|
|
11726
12121
|
"optional": true
|
|
12122
|
+
}
|
|
12123
|
+
},
|
|
12124
|
+
"jsonSchema": {
|
|
12125
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
12126
|
+
"title": "QualificationTypeInput",
|
|
12127
|
+
"type": "object",
|
|
12128
|
+
"properties": {
|
|
12129
|
+
"key": {
|
|
12130
|
+
"type": "string",
|
|
12131
|
+
"minLength": 1,
|
|
12132
|
+
"maxLength": 64
|
|
12133
|
+
},
|
|
12134
|
+
"name": {
|
|
12135
|
+
"type": "string",
|
|
12136
|
+
"minLength": 1,
|
|
12137
|
+
"maxLength": 200
|
|
12138
|
+
},
|
|
12139
|
+
"holderTypes": {
|
|
12140
|
+
"type": "array",
|
|
12141
|
+
"items": {
|
|
12142
|
+
"type": "string",
|
|
12143
|
+
"enum": [
|
|
12144
|
+
"member",
|
|
12145
|
+
"company",
|
|
12146
|
+
"asset"
|
|
12147
|
+
]
|
|
12148
|
+
}
|
|
12149
|
+
},
|
|
12150
|
+
"validForMonths": {
|
|
12151
|
+
"type": "integer",
|
|
12152
|
+
"minimum": 1,
|
|
12153
|
+
"maximum": 240
|
|
12154
|
+
},
|
|
12155
|
+
"evidenceRequired": { "type": "boolean" },
|
|
12156
|
+
"courseId": {
|
|
12157
|
+
"type": "string",
|
|
12158
|
+
"format": "uuid"
|
|
12159
|
+
},
|
|
12160
|
+
"description": {
|
|
12161
|
+
"type": "string",
|
|
12162
|
+
"maxLength": 1e4
|
|
12163
|
+
},
|
|
12164
|
+
"typeId": {
|
|
12165
|
+
"type": "string",
|
|
12166
|
+
"format": "uuid"
|
|
12167
|
+
}
|
|
11727
12168
|
},
|
|
11728
|
-
"
|
|
12169
|
+
"required": [
|
|
12170
|
+
"key",
|
|
12171
|
+
"name",
|
|
12172
|
+
"holderTypes"
|
|
12173
|
+
],
|
|
12174
|
+
"additionalProperties": false
|
|
12175
|
+
}
|
|
12176
|
+
} },
|
|
12177
|
+
"qualification": { "input": {
|
|
12178
|
+
"title": "QualificationGrantInput",
|
|
12179
|
+
"fields": {
|
|
12180
|
+
"typeKey": {
|
|
11729
12181
|
"kind": "string",
|
|
11730
|
-
"
|
|
12182
|
+
"minLength": 1,
|
|
12183
|
+
"maxLength": 64
|
|
11731
12184
|
},
|
|
11732
|
-
"
|
|
12185
|
+
"holderType": {
|
|
11733
12186
|
"kind": "enum",
|
|
11734
12187
|
"values": [
|
|
11735
|
-
"
|
|
11736
|
-
"
|
|
11737
|
-
"
|
|
11738
|
-
]
|
|
11739
|
-
"optional": true
|
|
12188
|
+
"member",
|
|
12189
|
+
"company",
|
|
12190
|
+
"asset"
|
|
12191
|
+
]
|
|
11740
12192
|
},
|
|
11741
|
-
"
|
|
12193
|
+
"holderId": {
|
|
12194
|
+
"kind": "string",
|
|
12195
|
+
"minLength": 1,
|
|
12196
|
+
"maxLength": 200
|
|
12197
|
+
},
|
|
12198
|
+
"grantedOn": {
|
|
11742
12199
|
"kind": "plainDate",
|
|
11743
12200
|
"optional": true
|
|
11744
12201
|
},
|
|
11745
|
-
"
|
|
11746
|
-
"kind": "
|
|
12202
|
+
"evidenceAttachmentId": {
|
|
12203
|
+
"kind": "uuid",
|
|
11747
12204
|
"optional": true
|
|
11748
12205
|
},
|
|
11749
|
-
"
|
|
11750
|
-
"kind": "
|
|
12206
|
+
"evidenceNote": {
|
|
12207
|
+
"kind": "string",
|
|
11751
12208
|
"optional": true,
|
|
11752
|
-
"
|
|
12209
|
+
"maxLength": 1e4
|
|
11753
12210
|
},
|
|
11754
12211
|
"fields": {
|
|
11755
12212
|
"kind": "json",
|
|
11756
12213
|
"optional": true,
|
|
11757
|
-
"description": "The extra columns
|
|
12214
|
+
"description": "The extra columns, keyed by database name."
|
|
11758
12215
|
}
|
|
11759
12216
|
},
|
|
11760
12217
|
"jsonSchema": {
|
|
11761
12218
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
11762
|
-
"title": "
|
|
12219
|
+
"title": "QualificationGrantInput",
|
|
11763
12220
|
"type": "object",
|
|
11764
12221
|
"properties": {
|
|
11765
|
-
"
|
|
12222
|
+
"typeKey": {
|
|
11766
12223
|
"type": "string",
|
|
11767
12224
|
"minLength": 1,
|
|
11768
|
-
"maxLength":
|
|
11769
|
-
},
|
|
11770
|
-
"firstName": {
|
|
11771
|
-
"type": "string",
|
|
11772
|
-
"maxLength": 200
|
|
11773
|
-
},
|
|
11774
|
-
"lastName": {
|
|
11775
|
-
"type": "string",
|
|
11776
|
-
"maxLength": 200
|
|
11777
|
-
},
|
|
11778
|
-
"email": {
|
|
11779
|
-
"type": "string",
|
|
11780
|
-
"maxLength": 320
|
|
11781
|
-
},
|
|
11782
|
-
"userId": {
|
|
11783
|
-
"type": "string",
|
|
11784
|
-
"format": "uuid"
|
|
11785
|
-
},
|
|
11786
|
-
"jobTitle": {
|
|
11787
|
-
"type": "string",
|
|
11788
|
-
"maxLength": 200
|
|
11789
|
-
},
|
|
11790
|
-
"teamId": {
|
|
11791
|
-
"type": "string",
|
|
11792
|
-
"format": "uuid"
|
|
11793
|
-
},
|
|
11794
|
-
"managerId": {
|
|
11795
|
-
"type": "string",
|
|
11796
|
-
"format": "uuid"
|
|
12225
|
+
"maxLength": 64
|
|
11797
12226
|
},
|
|
11798
|
-
"
|
|
11799
|
-
"status": {
|
|
12227
|
+
"holderType": {
|
|
11800
12228
|
"type": "string",
|
|
11801
12229
|
"enum": [
|
|
11802
|
-
"
|
|
11803
|
-
"
|
|
11804
|
-
"
|
|
12230
|
+
"member",
|
|
12231
|
+
"company",
|
|
12232
|
+
"asset"
|
|
11805
12233
|
]
|
|
11806
12234
|
},
|
|
11807
|
-
"
|
|
12235
|
+
"holderId": {
|
|
11808
12236
|
"type": "string",
|
|
11809
|
-
"
|
|
12237
|
+
"minLength": 1,
|
|
12238
|
+
"maxLength": 200
|
|
11810
12239
|
},
|
|
11811
|
-
"
|
|
12240
|
+
"grantedOn": {
|
|
11812
12241
|
"type": "string",
|
|
11813
12242
|
"format": "date"
|
|
11814
12243
|
},
|
|
11815
|
-
"
|
|
11816
|
-
"fields": { "description": "The extra columns to set." }
|
|
11817
|
-
},
|
|
11818
|
-
"required": ["name"],
|
|
11819
|
-
"additionalProperties": false
|
|
11820
|
-
}
|
|
11821
|
-
},
|
|
11822
|
-
"change": {
|
|
11823
|
-
"title": "EmployeeChange",
|
|
11824
|
-
"fields": {
|
|
11825
|
-
"employeeId": { "kind": "uuid" },
|
|
11826
|
-
"field": {
|
|
11827
|
-
"kind": "string",
|
|
11828
|
-
"minLength": 1
|
|
11829
|
-
},
|
|
11830
|
-
"value": {
|
|
11831
|
-
"kind": "unknown",
|
|
11832
|
-
"description": "`null` clears the field."
|
|
11833
|
-
}
|
|
11834
|
-
},
|
|
11835
|
-
"jsonSchema": {
|
|
11836
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
11837
|
-
"title": "EmployeeChange",
|
|
11838
|
-
"type": "object",
|
|
11839
|
-
"properties": {
|
|
11840
|
-
"employeeId": {
|
|
12244
|
+
"evidenceAttachmentId": {
|
|
11841
12245
|
"type": "string",
|
|
11842
12246
|
"format": "uuid"
|
|
11843
12247
|
},
|
|
11844
|
-
"
|
|
12248
|
+
"evidenceNote": {
|
|
11845
12249
|
"type": "string",
|
|
11846
|
-
"
|
|
12250
|
+
"maxLength": 1e4
|
|
11847
12251
|
},
|
|
11848
|
-
"
|
|
12252
|
+
"fields": { "description": "The extra columns, keyed by database name." }
|
|
11849
12253
|
},
|
|
11850
12254
|
"required": [
|
|
11851
|
-
"
|
|
11852
|
-
"
|
|
11853
|
-
"
|
|
12255
|
+
"typeKey",
|
|
12256
|
+
"holderType",
|
|
12257
|
+
"holderId"
|
|
11854
12258
|
],
|
|
11855
12259
|
"additionalProperties": false
|
|
11856
12260
|
}
|
|
11857
|
-
}
|
|
11858
|
-
}
|
|
12261
|
+
} }
|
|
12262
|
+
},
|
|
12263
|
+
"events": {
|
|
12264
|
+
"type": "QualificationsEvents",
|
|
12265
|
+
"types": [
|
|
12266
|
+
"qualification_type.created",
|
|
12267
|
+
"qualification_type.updated",
|
|
12268
|
+
"qualification_type.archived",
|
|
12269
|
+
"qualification.granted",
|
|
12270
|
+
"qualification.revoked",
|
|
12271
|
+
"qualification.expiry_warned",
|
|
12272
|
+
"qualification.expired"
|
|
12273
|
+
]
|
|
12274
|
+
}
|
|
12275
|
+
},
|
|
12276
|
+
{
|
|
12277
|
+
"name": "risks",
|
|
12278
|
+
"sql": ["risks"],
|
|
12279
|
+
"category": "work",
|
|
12280
|
+
"client": {
|
|
12281
|
+
"export": "risksBlock",
|
|
12282
|
+
"subpath": "better-supabase/blocks/risks"
|
|
12283
|
+
},
|
|
12284
|
+
"consumes": {},
|
|
12285
|
+
"provides": [],
|
|
12286
|
+
"entityTypes": [
|
|
12287
|
+
{
|
|
12288
|
+
"name": "Risk",
|
|
12289
|
+
"fields": true
|
|
12290
|
+
},
|
|
12291
|
+
{ "name": "RiskAssessedEventData" },
|
|
12292
|
+
{ "name": "RiskAssessment" },
|
|
12293
|
+
{ "name": "RiskAssessmentInput" },
|
|
12294
|
+
{
|
|
12295
|
+
"name": "RiskChange",
|
|
12296
|
+
"fields": true
|
|
12297
|
+
},
|
|
12298
|
+
{ "name": "RiskClosedEventData" },
|
|
12299
|
+
{
|
|
12300
|
+
"name": "RiskDetail",
|
|
12301
|
+
"fields": true
|
|
12302
|
+
},
|
|
12303
|
+
{ "name": "RiskEventData" },
|
|
12304
|
+
{ "name": "RiskHeatmap" },
|
|
12305
|
+
{ "name": "RiskHeatmapCell" },
|
|
12306
|
+
{
|
|
12307
|
+
"name": "RiskInput",
|
|
12308
|
+
"fields": true
|
|
12309
|
+
},
|
|
12310
|
+
{ "name": "RiskLink" },
|
|
12311
|
+
{ "name": "RiskListOptions" },
|
|
12312
|
+
{ "name": "RiskMatrix" },
|
|
12313
|
+
{ "name": "RiskMatrixBand" },
|
|
12314
|
+
{ "name": "RiskMatrixEventData" },
|
|
12315
|
+
{ "name": "RiskMatrixInput" },
|
|
12316
|
+
{ "name": "RiskMatrixLevel" },
|
|
12317
|
+
{ "name": "RiskRating" },
|
|
12318
|
+
{ "name": "RiskReviewDateReachedEventData" },
|
|
12319
|
+
{ "name": "RiskReviewedEventData" },
|
|
12320
|
+
{
|
|
12321
|
+
"name": "Risks",
|
|
12322
|
+
"fields": true
|
|
12323
|
+
},
|
|
12324
|
+
{ "name": "RiskScoring" },
|
|
12325
|
+
{ "name": "RisksEvents" },
|
|
12326
|
+
{ "name": "RisksOptions" },
|
|
12327
|
+
{ "name": "RisksSqlOptions" },
|
|
12328
|
+
{ "name": "RiskStatus" },
|
|
12329
|
+
{ "name": "RiskTreatment" },
|
|
12330
|
+
{ "name": "RiskTreatmentChangedEventData" }
|
|
12331
|
+
],
|
|
12332
|
+
"entitySchemas": {
|
|
12333
|
+
"risk": { "input": {
|
|
12334
|
+
"title": "RiskInput",
|
|
12335
|
+
"fields": {
|
|
12336
|
+
"title": {
|
|
12337
|
+
"kind": "string",
|
|
12338
|
+
"minLength": 1,
|
|
12339
|
+
"maxLength": 300
|
|
12340
|
+
},
|
|
12341
|
+
"category": {
|
|
12342
|
+
"kind": "string",
|
|
12343
|
+
"minLength": 1,
|
|
12344
|
+
"maxLength": 64,
|
|
12345
|
+
"description": "One of `options.categories`."
|
|
12346
|
+
},
|
|
12347
|
+
"description": {
|
|
12348
|
+
"kind": "string",
|
|
12349
|
+
"optional": true,
|
|
12350
|
+
"nullable": true,
|
|
12351
|
+
"maxLength": 1e4
|
|
12352
|
+
},
|
|
12353
|
+
"cause": {
|
|
12354
|
+
"kind": "string",
|
|
12355
|
+
"optional": true,
|
|
12356
|
+
"nullable": true,
|
|
12357
|
+
"maxLength": 1e4
|
|
12358
|
+
},
|
|
12359
|
+
"consequence": {
|
|
12360
|
+
"kind": "string",
|
|
12361
|
+
"optional": true,
|
|
12362
|
+
"nullable": true,
|
|
12363
|
+
"maxLength": 1e4
|
|
12364
|
+
},
|
|
12365
|
+
"ownerId": {
|
|
12366
|
+
"kind": "uuid",
|
|
12367
|
+
"optional": true,
|
|
12368
|
+
"nullable": true
|
|
12369
|
+
},
|
|
12370
|
+
"matrixId": {
|
|
12371
|
+
"kind": "uuid",
|
|
12372
|
+
"optional": true
|
|
12373
|
+
},
|
|
12374
|
+
"reviewIntervalMonths": {
|
|
12375
|
+
"kind": "integer",
|
|
12376
|
+
"optional": true,
|
|
12377
|
+
"nullable": true,
|
|
12378
|
+
"minimum": 1,
|
|
12379
|
+
"maximum": 120
|
|
12380
|
+
},
|
|
12381
|
+
"fields": {
|
|
12382
|
+
"kind": "json",
|
|
12383
|
+
"optional": true,
|
|
12384
|
+
"description": "The extra columns, keyed by database name."
|
|
12385
|
+
}
|
|
12386
|
+
},
|
|
12387
|
+
"jsonSchema": {
|
|
12388
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
12389
|
+
"title": "RiskInput",
|
|
12390
|
+
"type": "object",
|
|
12391
|
+
"properties": {
|
|
12392
|
+
"title": {
|
|
12393
|
+
"type": "string",
|
|
12394
|
+
"minLength": 1,
|
|
12395
|
+
"maxLength": 300
|
|
12396
|
+
},
|
|
12397
|
+
"category": {
|
|
12398
|
+
"type": "string",
|
|
12399
|
+
"minLength": 1,
|
|
12400
|
+
"maxLength": 64,
|
|
12401
|
+
"description": "One of `options.categories`."
|
|
12402
|
+
},
|
|
12403
|
+
"description": {
|
|
12404
|
+
"type": ["string", "null"],
|
|
12405
|
+
"maxLength": 1e4
|
|
12406
|
+
},
|
|
12407
|
+
"cause": {
|
|
12408
|
+
"type": ["string", "null"],
|
|
12409
|
+
"maxLength": 1e4
|
|
12410
|
+
},
|
|
12411
|
+
"consequence": {
|
|
12412
|
+
"type": ["string", "null"],
|
|
12413
|
+
"maxLength": 1e4
|
|
12414
|
+
},
|
|
12415
|
+
"ownerId": {
|
|
12416
|
+
"type": ["string", "null"],
|
|
12417
|
+
"format": "uuid"
|
|
12418
|
+
},
|
|
12419
|
+
"matrixId": {
|
|
12420
|
+
"type": "string",
|
|
12421
|
+
"format": "uuid"
|
|
12422
|
+
},
|
|
12423
|
+
"reviewIntervalMonths": {
|
|
12424
|
+
"type": ["integer", "null"],
|
|
12425
|
+
"minimum": 1,
|
|
12426
|
+
"maximum": 120
|
|
12427
|
+
},
|
|
12428
|
+
"fields": { "description": "The extra columns, keyed by database name." }
|
|
12429
|
+
},
|
|
12430
|
+
"required": ["title", "category"],
|
|
12431
|
+
"additionalProperties": false
|
|
12432
|
+
}
|
|
12433
|
+
} },
|
|
12434
|
+
"risk_matrix": { "input": {
|
|
12435
|
+
"title": "RiskMatrixInput",
|
|
12436
|
+
"fields": {
|
|
12437
|
+
"key": {
|
|
12438
|
+
"kind": "string",
|
|
12439
|
+
"minLength": 1,
|
|
12440
|
+
"maxLength": 64
|
|
12441
|
+
},
|
|
12442
|
+
"name": {
|
|
12443
|
+
"kind": "string",
|
|
12444
|
+
"minLength": 1,
|
|
12445
|
+
"maxLength": 200
|
|
12446
|
+
},
|
|
12447
|
+
"likelihoodLevels": {
|
|
12448
|
+
"kind": "json",
|
|
12449
|
+
"array": true,
|
|
12450
|
+
"description": "2 to 10 levels `{ value, label }`, values 1 to n."
|
|
12451
|
+
},
|
|
12452
|
+
"impactLevels": {
|
|
12453
|
+
"kind": "json",
|
|
12454
|
+
"array": true,
|
|
12455
|
+
"description": "2 to 10 levels `{ value, label }`, values 1 to n."
|
|
12456
|
+
},
|
|
12457
|
+
"bands": {
|
|
12458
|
+
"kind": "json",
|
|
12459
|
+
"array": true,
|
|
12460
|
+
"description": "Bands `{ key, label, min, max }` that cover every score without gaps."
|
|
12461
|
+
},
|
|
12462
|
+
"scoring": {
|
|
12463
|
+
"kind": "enum",
|
|
12464
|
+
"optional": true,
|
|
12465
|
+
"values": ["product", "sum"]
|
|
12466
|
+
},
|
|
12467
|
+
"isDefault": {
|
|
12468
|
+
"kind": "boolean",
|
|
12469
|
+
"optional": true
|
|
12470
|
+
},
|
|
12471
|
+
"matrixId": {
|
|
12472
|
+
"kind": "uuid",
|
|
12473
|
+
"optional": true
|
|
12474
|
+
}
|
|
12475
|
+
},
|
|
12476
|
+
"jsonSchema": {
|
|
12477
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
12478
|
+
"title": "RiskMatrixInput",
|
|
12479
|
+
"type": "object",
|
|
12480
|
+
"properties": {
|
|
12481
|
+
"key": {
|
|
12482
|
+
"type": "string",
|
|
12483
|
+
"minLength": 1,
|
|
12484
|
+
"maxLength": 64
|
|
12485
|
+
},
|
|
12486
|
+
"name": {
|
|
12487
|
+
"type": "string",
|
|
12488
|
+
"minLength": 1,
|
|
12489
|
+
"maxLength": 200
|
|
12490
|
+
},
|
|
12491
|
+
"likelihoodLevels": {
|
|
12492
|
+
"type": "array",
|
|
12493
|
+
"items": {},
|
|
12494
|
+
"description": "2 to 10 levels `{ value, label }`, values 1 to n."
|
|
12495
|
+
},
|
|
12496
|
+
"impactLevels": {
|
|
12497
|
+
"type": "array",
|
|
12498
|
+
"items": {},
|
|
12499
|
+
"description": "2 to 10 levels `{ value, label }`, values 1 to n."
|
|
12500
|
+
},
|
|
12501
|
+
"bands": {
|
|
12502
|
+
"type": "array",
|
|
12503
|
+
"items": {},
|
|
12504
|
+
"description": "Bands `{ key, label, min, max }` that cover every score without gaps."
|
|
12505
|
+
},
|
|
12506
|
+
"scoring": {
|
|
12507
|
+
"type": "string",
|
|
12508
|
+
"enum": ["product", "sum"]
|
|
12509
|
+
},
|
|
12510
|
+
"isDefault": { "type": "boolean" },
|
|
12511
|
+
"matrixId": {
|
|
12512
|
+
"type": "string",
|
|
12513
|
+
"format": "uuid"
|
|
12514
|
+
}
|
|
12515
|
+
},
|
|
12516
|
+
"required": [
|
|
12517
|
+
"key",
|
|
12518
|
+
"name",
|
|
12519
|
+
"likelihoodLevels",
|
|
12520
|
+
"impactLevels",
|
|
12521
|
+
"bands"
|
|
12522
|
+
],
|
|
12523
|
+
"additionalProperties": false
|
|
12524
|
+
}
|
|
12525
|
+
} },
|
|
12526
|
+
"risk_assessment": { "input": {
|
|
12527
|
+
"title": "RiskAssessmentInput",
|
|
12528
|
+
"fields": {
|
|
12529
|
+
"inherent": {
|
|
12530
|
+
"kind": "json",
|
|
12531
|
+
"description": "`{ likelihood, impact }` before controls."
|
|
12532
|
+
},
|
|
12533
|
+
"residual": {
|
|
12534
|
+
"kind": "json",
|
|
12535
|
+
"description": "`{ likelihood, impact }` after controls."
|
|
12536
|
+
},
|
|
12537
|
+
"rationale": {
|
|
12538
|
+
"kind": "string",
|
|
12539
|
+
"optional": true,
|
|
12540
|
+
"maxLength": 1e4
|
|
12541
|
+
}
|
|
12542
|
+
},
|
|
12543
|
+
"jsonSchema": {
|
|
12544
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
12545
|
+
"title": "RiskAssessmentInput",
|
|
12546
|
+
"type": "object",
|
|
12547
|
+
"properties": {
|
|
12548
|
+
"inherent": { "description": "`{ likelihood, impact }` before controls." },
|
|
12549
|
+
"residual": { "description": "`{ likelihood, impact }` after controls." },
|
|
12550
|
+
"rationale": {
|
|
12551
|
+
"type": "string",
|
|
12552
|
+
"maxLength": 1e4
|
|
12553
|
+
}
|
|
12554
|
+
},
|
|
12555
|
+
"required": ["inherent", "residual"],
|
|
12556
|
+
"additionalProperties": false
|
|
12557
|
+
}
|
|
12558
|
+
} }
|
|
12559
|
+
},
|
|
12560
|
+
"events": {
|
|
12561
|
+
"type": "RisksEvents",
|
|
12562
|
+
"types": [
|
|
12563
|
+
"risk_matrix.created",
|
|
12564
|
+
"risk_matrix.updated",
|
|
12565
|
+
"risk.created",
|
|
12566
|
+
"risk.updated",
|
|
12567
|
+
"risk.assessed",
|
|
12568
|
+
"risk.treatment_changed",
|
|
12569
|
+
"risk.reviewed",
|
|
12570
|
+
"risk.closed",
|
|
12571
|
+
"risk.review_date_reached"
|
|
12572
|
+
]
|
|
12573
|
+
},
|
|
12574
|
+
"schedules": [{
|
|
12575
|
+
"name": "review-due",
|
|
12576
|
+
"cron": "0 6 * * *",
|
|
12577
|
+
"runs": "notifyDueReviews()",
|
|
12578
|
+
"description": "Reports the risks whose review date has come."
|
|
12579
|
+
}]
|
|
12580
|
+
},
|
|
12581
|
+
{
|
|
12582
|
+
"name": "shifts",
|
|
12583
|
+
"sql": ["shifts"],
|
|
12584
|
+
"category": "people",
|
|
12585
|
+
"client": {
|
|
12586
|
+
"export": "shiftsBlock",
|
|
12587
|
+
"subpath": "better-supabase/blocks/shifts"
|
|
12588
|
+
},
|
|
12589
|
+
"consumes": {},
|
|
12590
|
+
"provides": [],
|
|
12591
|
+
"entityTypes": [
|
|
12592
|
+
{
|
|
12593
|
+
"name": "MyShift",
|
|
12594
|
+
"fields": true
|
|
12595
|
+
},
|
|
12596
|
+
{
|
|
12597
|
+
"name": "RosterShift",
|
|
12598
|
+
"fields": true
|
|
12599
|
+
},
|
|
12600
|
+
{
|
|
12601
|
+
"name": "Shift",
|
|
12602
|
+
"fields": true
|
|
12603
|
+
},
|
|
12604
|
+
{ "name": "ShiftAssignment" },
|
|
12605
|
+
{ "name": "ShiftAssignmentCreatedEventData" },
|
|
12606
|
+
{ "name": "ShiftAssignmentReleasedEventData" },
|
|
12607
|
+
{ "name": "ShiftAssignmentStatus" },
|
|
12608
|
+
{ "name": "ShiftAssignmentWarning" },
|
|
12609
|
+
{ "name": "ShiftAvailability" },
|
|
12610
|
+
{ "name": "ShiftAvailabilityInput" },
|
|
12611
|
+
{ "name": "ShiftAvailabilityKind" },
|
|
12612
|
+
{ "name": "ShiftCanceledEventData" },
|
|
12613
|
+
{ "name": "ShiftCreatedEventData" },
|
|
12614
|
+
{ "name": "ShiftHours" },
|
|
12615
|
+
{
|
|
12616
|
+
"name": "ShiftInput",
|
|
12617
|
+
"fields": true
|
|
12618
|
+
},
|
|
12619
|
+
{ "name": "ShiftPublishedEventData" },
|
|
12620
|
+
{
|
|
12621
|
+
"name": "Shifts",
|
|
12622
|
+
"fields": true
|
|
12623
|
+
},
|
|
12624
|
+
{ "name": "ShiftsEvents" },
|
|
12625
|
+
{ "name": "ShiftsOptions" },
|
|
12626
|
+
{ "name": "ShiftStatus" },
|
|
12627
|
+
{ "name": "ShiftSwap" },
|
|
12628
|
+
{ "name": "ShiftSwapDecidedEventData" },
|
|
12629
|
+
{ "name": "ShiftSwapRequestedEventData" },
|
|
12630
|
+
{ "name": "ShiftSwapStatus" },
|
|
12631
|
+
{ "name": "ShiftTemplate" },
|
|
12632
|
+
{ "name": "ShiftTemplateInput" }
|
|
12633
|
+
],
|
|
12634
|
+
"entitySchemas": {
|
|
12635
|
+
"shift": { "input": {
|
|
12636
|
+
"title": "ShiftInput",
|
|
12637
|
+
"fields": {
|
|
12638
|
+
"startsAt": { "kind": "instant" },
|
|
12639
|
+
"endsAt": { "kind": "instant" },
|
|
12640
|
+
"teamId": {
|
|
12641
|
+
"kind": "string",
|
|
12642
|
+
"optional": true,
|
|
12643
|
+
"maxLength": 64
|
|
12644
|
+
},
|
|
12645
|
+
"locationId": {
|
|
12646
|
+
"kind": "uuid",
|
|
12647
|
+
"optional": true
|
|
12648
|
+
},
|
|
12649
|
+
"breakMinutes": {
|
|
12650
|
+
"kind": "integer",
|
|
12651
|
+
"optional": true,
|
|
12652
|
+
"minimum": 0
|
|
12653
|
+
},
|
|
12654
|
+
"headcount": {
|
|
12655
|
+
"kind": "integer",
|
|
12656
|
+
"optional": true,
|
|
12657
|
+
"minimum": 1,
|
|
12658
|
+
"maximum": 1e3
|
|
12659
|
+
},
|
|
12660
|
+
"requiredQualifications": {
|
|
12661
|
+
"kind": "string",
|
|
12662
|
+
"optional": true,
|
|
12663
|
+
"array": true
|
|
12664
|
+
},
|
|
12665
|
+
"note": {
|
|
12666
|
+
"kind": "string",
|
|
12667
|
+
"optional": true,
|
|
12668
|
+
"maxLength": 1e4
|
|
12669
|
+
},
|
|
12670
|
+
"shiftId": {
|
|
12671
|
+
"kind": "uuid",
|
|
12672
|
+
"optional": true
|
|
12673
|
+
},
|
|
12674
|
+
"fields": {
|
|
12675
|
+
"kind": "json",
|
|
12676
|
+
"optional": true,
|
|
12677
|
+
"description": "The extra columns, keyed by database name."
|
|
12678
|
+
}
|
|
12679
|
+
},
|
|
12680
|
+
"jsonSchema": {
|
|
12681
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
12682
|
+
"title": "ShiftInput",
|
|
12683
|
+
"type": "object",
|
|
12684
|
+
"properties": {
|
|
12685
|
+
"startsAt": {
|
|
12686
|
+
"type": "string",
|
|
12687
|
+
"format": "date-time"
|
|
12688
|
+
},
|
|
12689
|
+
"endsAt": {
|
|
12690
|
+
"type": "string",
|
|
12691
|
+
"format": "date-time"
|
|
12692
|
+
},
|
|
12693
|
+
"teamId": {
|
|
12694
|
+
"type": "string",
|
|
12695
|
+
"maxLength": 64
|
|
12696
|
+
},
|
|
12697
|
+
"locationId": {
|
|
12698
|
+
"type": "string",
|
|
12699
|
+
"format": "uuid"
|
|
12700
|
+
},
|
|
12701
|
+
"breakMinutes": {
|
|
12702
|
+
"type": "integer",
|
|
12703
|
+
"minimum": 0
|
|
12704
|
+
},
|
|
12705
|
+
"headcount": {
|
|
12706
|
+
"type": "integer",
|
|
12707
|
+
"minimum": 1,
|
|
12708
|
+
"maximum": 1e3
|
|
12709
|
+
},
|
|
12710
|
+
"requiredQualifications": {
|
|
12711
|
+
"type": "array",
|
|
12712
|
+
"items": { "type": "string" }
|
|
12713
|
+
},
|
|
12714
|
+
"note": {
|
|
12715
|
+
"type": "string",
|
|
12716
|
+
"maxLength": 1e4
|
|
12717
|
+
},
|
|
12718
|
+
"shiftId": {
|
|
12719
|
+
"type": "string",
|
|
12720
|
+
"format": "uuid"
|
|
12721
|
+
},
|
|
12722
|
+
"fields": { "description": "The extra columns, keyed by database name." }
|
|
12723
|
+
},
|
|
12724
|
+
"required": ["startsAt", "endsAt"],
|
|
12725
|
+
"additionalProperties": false
|
|
12726
|
+
}
|
|
12727
|
+
} },
|
|
12728
|
+
"shift_template": { "input": {
|
|
12729
|
+
"title": "ShiftTemplateInput",
|
|
12730
|
+
"fields": {
|
|
12731
|
+
"name": {
|
|
12732
|
+
"kind": "string",
|
|
12733
|
+
"minLength": 1,
|
|
12734
|
+
"maxLength": 200
|
|
12735
|
+
},
|
|
12736
|
+
"startsTime": {
|
|
12737
|
+
"kind": "string",
|
|
12738
|
+
"minLength": 5,
|
|
12739
|
+
"maxLength": 8,
|
|
12740
|
+
"description": "A time of day, HH:MM."
|
|
12741
|
+
},
|
|
12742
|
+
"endsTime": {
|
|
12743
|
+
"kind": "string",
|
|
12744
|
+
"minLength": 5,
|
|
12745
|
+
"maxLength": 8,
|
|
12746
|
+
"description": "A time of day, HH:MM."
|
|
12747
|
+
},
|
|
12748
|
+
"weekdays": {
|
|
12749
|
+
"kind": "integer",
|
|
12750
|
+
"optional": true,
|
|
12751
|
+
"array": true,
|
|
12752
|
+
"minimum": 1,
|
|
12753
|
+
"maximum": 7
|
|
12754
|
+
},
|
|
12755
|
+
"teamId": {
|
|
12756
|
+
"kind": "string",
|
|
12757
|
+
"optional": true,
|
|
12758
|
+
"maxLength": 64
|
|
12759
|
+
},
|
|
12760
|
+
"locationId": {
|
|
12761
|
+
"kind": "uuid",
|
|
12762
|
+
"optional": true
|
|
12763
|
+
},
|
|
12764
|
+
"breakMinutes": {
|
|
12765
|
+
"kind": "integer",
|
|
12766
|
+
"optional": true,
|
|
12767
|
+
"minimum": 0
|
|
12768
|
+
},
|
|
12769
|
+
"headcount": {
|
|
12770
|
+
"kind": "integer",
|
|
12771
|
+
"optional": true,
|
|
12772
|
+
"minimum": 1,
|
|
12773
|
+
"maximum": 1e3
|
|
12774
|
+
},
|
|
12775
|
+
"requiredQualifications": {
|
|
12776
|
+
"kind": "string",
|
|
12777
|
+
"optional": true,
|
|
12778
|
+
"array": true
|
|
12779
|
+
},
|
|
12780
|
+
"templateId": {
|
|
12781
|
+
"kind": "uuid",
|
|
12782
|
+
"optional": true
|
|
12783
|
+
}
|
|
12784
|
+
},
|
|
12785
|
+
"jsonSchema": {
|
|
12786
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
12787
|
+
"title": "ShiftTemplateInput",
|
|
12788
|
+
"type": "object",
|
|
12789
|
+
"properties": {
|
|
12790
|
+
"name": {
|
|
12791
|
+
"type": "string",
|
|
12792
|
+
"minLength": 1,
|
|
12793
|
+
"maxLength": 200
|
|
12794
|
+
},
|
|
12795
|
+
"startsTime": {
|
|
12796
|
+
"type": "string",
|
|
12797
|
+
"minLength": 5,
|
|
12798
|
+
"maxLength": 8,
|
|
12799
|
+
"description": "A time of day, HH:MM."
|
|
12800
|
+
},
|
|
12801
|
+
"endsTime": {
|
|
12802
|
+
"type": "string",
|
|
12803
|
+
"minLength": 5,
|
|
12804
|
+
"maxLength": 8,
|
|
12805
|
+
"description": "A time of day, HH:MM."
|
|
12806
|
+
},
|
|
12807
|
+
"weekdays": {
|
|
12808
|
+
"type": "array",
|
|
12809
|
+
"items": {
|
|
12810
|
+
"type": "integer",
|
|
12811
|
+
"minimum": 1,
|
|
12812
|
+
"maximum": 7
|
|
12813
|
+
}
|
|
12814
|
+
},
|
|
12815
|
+
"teamId": {
|
|
12816
|
+
"type": "string",
|
|
12817
|
+
"maxLength": 64
|
|
12818
|
+
},
|
|
12819
|
+
"locationId": {
|
|
12820
|
+
"type": "string",
|
|
12821
|
+
"format": "uuid"
|
|
12822
|
+
},
|
|
12823
|
+
"breakMinutes": {
|
|
12824
|
+
"type": "integer",
|
|
12825
|
+
"minimum": 0
|
|
12826
|
+
},
|
|
12827
|
+
"headcount": {
|
|
12828
|
+
"type": "integer",
|
|
12829
|
+
"minimum": 1,
|
|
12830
|
+
"maximum": 1e3
|
|
12831
|
+
},
|
|
12832
|
+
"requiredQualifications": {
|
|
12833
|
+
"type": "array",
|
|
12834
|
+
"items": { "type": "string" }
|
|
12835
|
+
},
|
|
12836
|
+
"templateId": {
|
|
12837
|
+
"type": "string",
|
|
12838
|
+
"format": "uuid"
|
|
12839
|
+
}
|
|
12840
|
+
},
|
|
12841
|
+
"required": [
|
|
12842
|
+
"name",
|
|
12843
|
+
"startsTime",
|
|
12844
|
+
"endsTime"
|
|
12845
|
+
],
|
|
12846
|
+
"additionalProperties": false
|
|
12847
|
+
}
|
|
12848
|
+
} },
|
|
12849
|
+
"shift_availability": { "input": {
|
|
12850
|
+
"title": "ShiftAvailabilityInput",
|
|
12851
|
+
"fields": {
|
|
12852
|
+
"onDate": { "kind": "plainDate" },
|
|
12853
|
+
"kind": {
|
|
12854
|
+
"kind": "enum",
|
|
12855
|
+
"values": [
|
|
12856
|
+
"available",
|
|
12857
|
+
"unavailable",
|
|
12858
|
+
"preferred"
|
|
12859
|
+
]
|
|
12860
|
+
},
|
|
12861
|
+
"fromTime": {
|
|
12862
|
+
"kind": "string",
|
|
12863
|
+
"optional": true,
|
|
12864
|
+
"minLength": 5,
|
|
12865
|
+
"maxLength": 8,
|
|
12866
|
+
"description": "A time of day, HH:MM."
|
|
12867
|
+
},
|
|
12868
|
+
"untilTime": {
|
|
12869
|
+
"kind": "string",
|
|
12870
|
+
"optional": true,
|
|
12871
|
+
"minLength": 5,
|
|
12872
|
+
"maxLength": 8,
|
|
12873
|
+
"description": "A time of day, HH:MM."
|
|
12874
|
+
},
|
|
12875
|
+
"note": {
|
|
12876
|
+
"kind": "string",
|
|
12877
|
+
"optional": true,
|
|
12878
|
+
"maxLength": 1e4
|
|
12879
|
+
},
|
|
12880
|
+
"userId": {
|
|
12881
|
+
"kind": "uuid",
|
|
12882
|
+
"optional": true
|
|
12883
|
+
}
|
|
12884
|
+
},
|
|
12885
|
+
"jsonSchema": {
|
|
12886
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
12887
|
+
"title": "ShiftAvailabilityInput",
|
|
12888
|
+
"type": "object",
|
|
12889
|
+
"properties": {
|
|
12890
|
+
"onDate": {
|
|
12891
|
+
"type": "string",
|
|
12892
|
+
"format": "date"
|
|
12893
|
+
},
|
|
12894
|
+
"kind": {
|
|
12895
|
+
"type": "string",
|
|
12896
|
+
"enum": [
|
|
12897
|
+
"available",
|
|
12898
|
+
"unavailable",
|
|
12899
|
+
"preferred"
|
|
12900
|
+
]
|
|
12901
|
+
},
|
|
12902
|
+
"fromTime": {
|
|
12903
|
+
"type": "string",
|
|
12904
|
+
"minLength": 5,
|
|
12905
|
+
"maxLength": 8,
|
|
12906
|
+
"description": "A time of day, HH:MM."
|
|
12907
|
+
},
|
|
12908
|
+
"untilTime": {
|
|
12909
|
+
"type": "string",
|
|
12910
|
+
"minLength": 5,
|
|
12911
|
+
"maxLength": 8,
|
|
12912
|
+
"description": "A time of day, HH:MM."
|
|
12913
|
+
},
|
|
12914
|
+
"note": {
|
|
12915
|
+
"type": "string",
|
|
12916
|
+
"maxLength": 1e4
|
|
12917
|
+
},
|
|
12918
|
+
"userId": {
|
|
12919
|
+
"type": "string",
|
|
12920
|
+
"format": "uuid"
|
|
12921
|
+
}
|
|
12922
|
+
},
|
|
12923
|
+
"required": ["onDate", "kind"],
|
|
12924
|
+
"additionalProperties": false
|
|
12925
|
+
}
|
|
12926
|
+
} }
|
|
12927
|
+
},
|
|
12928
|
+
"events": {
|
|
12929
|
+
"type": "ShiftsEvents",
|
|
12930
|
+
"types": [
|
|
12931
|
+
"shift.created",
|
|
12932
|
+
"shift.published",
|
|
12933
|
+
"shift.cancelled",
|
|
12934
|
+
"shift_assignment.created",
|
|
12935
|
+
"shift_assignment.released",
|
|
12936
|
+
"shift_swap.requested",
|
|
12937
|
+
"shift_swap.decided"
|
|
12938
|
+
]
|
|
12939
|
+
}
|
|
12940
|
+
},
|
|
12941
|
+
{
|
|
12942
|
+
"name": "drive",
|
|
12943
|
+
"sql": ["drive", "drive-files"],
|
|
12944
|
+
"category": "content",
|
|
12945
|
+
"client": {
|
|
12946
|
+
"export": "driveBlock",
|
|
12947
|
+
"subpath": "better-supabase/blocks/drive"
|
|
12948
|
+
},
|
|
12949
|
+
"consumes": { "attachments": "optional" },
|
|
12950
|
+
"provides": [],
|
|
12951
|
+
"entityTypes": [{
|
|
12952
|
+
"name": "DriveNode",
|
|
12953
|
+
"fields": true
|
|
12954
|
+
}, { "name": "DriveNodeKind" }],
|
|
12955
|
+
"events": {
|
|
12956
|
+
"type": "DriveEvents",
|
|
12957
|
+
"types": [
|
|
12958
|
+
"drive.node_created",
|
|
12959
|
+
"drive.node_renamed",
|
|
12960
|
+
"drive.node_moved",
|
|
12961
|
+
"drive.node_shared",
|
|
12962
|
+
"drive.node_unshared",
|
|
12963
|
+
"drive.node_purged",
|
|
12964
|
+
"drive.node_hold_placed",
|
|
12965
|
+
"drive.node_hold_released",
|
|
12966
|
+
"drive.node_locked",
|
|
12967
|
+
"drive.node_unlocked",
|
|
12968
|
+
"drive.node_download_blocked_changed",
|
|
12969
|
+
"drive.download_blocked_changed",
|
|
12970
|
+
"drive.created",
|
|
12971
|
+
"drive.renamed",
|
|
12972
|
+
"drive.deleted",
|
|
12973
|
+
"drive.shared",
|
|
12974
|
+
"drive.unshared",
|
|
12975
|
+
"drive.connection_created",
|
|
12976
|
+
"drive.connection_removed"
|
|
12977
|
+
]
|
|
12978
|
+
}
|
|
12979
|
+
},
|
|
12980
|
+
{
|
|
12981
|
+
"name": "employees",
|
|
12982
|
+
"sql": ["employees"],
|
|
12983
|
+
"category": "people",
|
|
12984
|
+
"client": {
|
|
12985
|
+
"export": "employeesBlock",
|
|
12986
|
+
"subpath": "better-supabase/blocks/employees"
|
|
12987
|
+
},
|
|
12988
|
+
"consumes": {},
|
|
12989
|
+
"provides": [],
|
|
12990
|
+
"entityTypes": [
|
|
12991
|
+
{
|
|
12992
|
+
"name": "Employee",
|
|
12993
|
+
"fields": true
|
|
12994
|
+
},
|
|
12995
|
+
{ "name": "EmployeeChange" },
|
|
12996
|
+
{ "name": "EmployeeChangeResult" },
|
|
12997
|
+
{ "name": "EmployeeField" },
|
|
12998
|
+
{ "name": "EmployeeFromApplicationClients" },
|
|
12999
|
+
{ "name": "EmployeeFromApplicationOptions" },
|
|
13000
|
+
{
|
|
13001
|
+
"name": "EmployeeInput",
|
|
13002
|
+
"fields": true
|
|
13003
|
+
},
|
|
13004
|
+
{
|
|
13005
|
+
"name": "Employees",
|
|
13006
|
+
"fields": true
|
|
13007
|
+
},
|
|
13008
|
+
{ "name": "EmployeesEvents" },
|
|
13009
|
+
{ "name": "EmployeesOptions" },
|
|
13010
|
+
{ "name": "EmployeeStatus" }
|
|
13011
|
+
],
|
|
13012
|
+
"entitySchemas": { "employee": {
|
|
13013
|
+
"input": {
|
|
13014
|
+
"title": "EmployeeInput",
|
|
13015
|
+
"fields": {
|
|
13016
|
+
"name": {
|
|
13017
|
+
"kind": "string",
|
|
13018
|
+
"minLength": 1,
|
|
13019
|
+
"maxLength": 200
|
|
13020
|
+
},
|
|
13021
|
+
"firstName": {
|
|
13022
|
+
"kind": "string",
|
|
13023
|
+
"optional": true,
|
|
13024
|
+
"maxLength": 200
|
|
13025
|
+
},
|
|
13026
|
+
"lastName": {
|
|
13027
|
+
"kind": "string",
|
|
13028
|
+
"optional": true,
|
|
13029
|
+
"maxLength": 200
|
|
13030
|
+
},
|
|
13031
|
+
"email": {
|
|
13032
|
+
"kind": "string",
|
|
13033
|
+
"optional": true,
|
|
13034
|
+
"maxLength": 320
|
|
13035
|
+
},
|
|
13036
|
+
"userId": {
|
|
13037
|
+
"kind": "uuid",
|
|
13038
|
+
"optional": true
|
|
13039
|
+
},
|
|
13040
|
+
"jobTitle": {
|
|
13041
|
+
"kind": "string",
|
|
13042
|
+
"optional": true,
|
|
13043
|
+
"maxLength": 200
|
|
13044
|
+
},
|
|
13045
|
+
"teamId": {
|
|
13046
|
+
"kind": "uuid",
|
|
13047
|
+
"optional": true
|
|
13048
|
+
},
|
|
13049
|
+
"managerId": {
|
|
13050
|
+
"kind": "uuid",
|
|
13051
|
+
"optional": true
|
|
13052
|
+
},
|
|
13053
|
+
"employmentType": {
|
|
13054
|
+
"kind": "string",
|
|
13055
|
+
"optional": true
|
|
13056
|
+
},
|
|
13057
|
+
"status": {
|
|
13058
|
+
"kind": "enum",
|
|
13059
|
+
"values": [
|
|
13060
|
+
"preboarding",
|
|
13061
|
+
"active",
|
|
13062
|
+
"on_leave"
|
|
13063
|
+
],
|
|
13064
|
+
"optional": true
|
|
13065
|
+
},
|
|
13066
|
+
"startDate": {
|
|
13067
|
+
"kind": "plainDate",
|
|
13068
|
+
"optional": true
|
|
13069
|
+
},
|
|
13070
|
+
"endDate": {
|
|
13071
|
+
"kind": "plainDate",
|
|
13072
|
+
"optional": true
|
|
13073
|
+
},
|
|
13074
|
+
"origin": {
|
|
13075
|
+
"kind": "json",
|
|
13076
|
+
"optional": true,
|
|
13077
|
+
"description": "A `{ type, id }` reference."
|
|
13078
|
+
},
|
|
13079
|
+
"fields": {
|
|
13080
|
+
"kind": "json",
|
|
13081
|
+
"optional": true,
|
|
13082
|
+
"description": "The extra columns to set."
|
|
13083
|
+
}
|
|
13084
|
+
},
|
|
13085
|
+
"jsonSchema": {
|
|
13086
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
13087
|
+
"title": "EmployeeInput",
|
|
13088
|
+
"type": "object",
|
|
13089
|
+
"properties": {
|
|
13090
|
+
"name": {
|
|
13091
|
+
"type": "string",
|
|
13092
|
+
"minLength": 1,
|
|
13093
|
+
"maxLength": 200
|
|
13094
|
+
},
|
|
13095
|
+
"firstName": {
|
|
13096
|
+
"type": "string",
|
|
13097
|
+
"maxLength": 200
|
|
13098
|
+
},
|
|
13099
|
+
"lastName": {
|
|
13100
|
+
"type": "string",
|
|
13101
|
+
"maxLength": 200
|
|
13102
|
+
},
|
|
13103
|
+
"email": {
|
|
13104
|
+
"type": "string",
|
|
13105
|
+
"maxLength": 320
|
|
13106
|
+
},
|
|
13107
|
+
"userId": {
|
|
13108
|
+
"type": "string",
|
|
13109
|
+
"format": "uuid"
|
|
13110
|
+
},
|
|
13111
|
+
"jobTitle": {
|
|
13112
|
+
"type": "string",
|
|
13113
|
+
"maxLength": 200
|
|
13114
|
+
},
|
|
13115
|
+
"teamId": {
|
|
13116
|
+
"type": "string",
|
|
13117
|
+
"format": "uuid"
|
|
13118
|
+
},
|
|
13119
|
+
"managerId": {
|
|
13120
|
+
"type": "string",
|
|
13121
|
+
"format": "uuid"
|
|
13122
|
+
},
|
|
13123
|
+
"employmentType": { "type": "string" },
|
|
13124
|
+
"status": {
|
|
13125
|
+
"type": "string",
|
|
13126
|
+
"enum": [
|
|
13127
|
+
"preboarding",
|
|
13128
|
+
"active",
|
|
13129
|
+
"on_leave"
|
|
13130
|
+
]
|
|
13131
|
+
},
|
|
13132
|
+
"startDate": {
|
|
13133
|
+
"type": "string",
|
|
13134
|
+
"format": "date"
|
|
13135
|
+
},
|
|
13136
|
+
"endDate": {
|
|
13137
|
+
"type": "string",
|
|
13138
|
+
"format": "date"
|
|
13139
|
+
},
|
|
13140
|
+
"origin": { "description": "A `{ type, id }` reference." },
|
|
13141
|
+
"fields": { "description": "The extra columns to set." }
|
|
13142
|
+
},
|
|
13143
|
+
"required": ["name"],
|
|
13144
|
+
"additionalProperties": false
|
|
13145
|
+
}
|
|
13146
|
+
},
|
|
13147
|
+
"change": {
|
|
13148
|
+
"title": "EmployeeChange",
|
|
13149
|
+
"fields": {
|
|
13150
|
+
"employeeId": { "kind": "uuid" },
|
|
13151
|
+
"field": {
|
|
13152
|
+
"kind": "string",
|
|
13153
|
+
"minLength": 1
|
|
13154
|
+
},
|
|
13155
|
+
"value": {
|
|
13156
|
+
"kind": "unknown",
|
|
13157
|
+
"description": "`null` clears the field."
|
|
13158
|
+
}
|
|
13159
|
+
},
|
|
13160
|
+
"jsonSchema": {
|
|
13161
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
13162
|
+
"title": "EmployeeChange",
|
|
13163
|
+
"type": "object",
|
|
13164
|
+
"properties": {
|
|
13165
|
+
"employeeId": {
|
|
13166
|
+
"type": "string",
|
|
13167
|
+
"format": "uuid"
|
|
13168
|
+
},
|
|
13169
|
+
"field": {
|
|
13170
|
+
"type": "string",
|
|
13171
|
+
"minLength": 1
|
|
13172
|
+
},
|
|
13173
|
+
"value": { "description": "`null` clears the field." }
|
|
13174
|
+
},
|
|
13175
|
+
"required": [
|
|
13176
|
+
"employeeId",
|
|
13177
|
+
"field",
|
|
13178
|
+
"value"
|
|
13179
|
+
],
|
|
13180
|
+
"additionalProperties": false
|
|
13181
|
+
}
|
|
13182
|
+
}
|
|
13183
|
+
} },
|
|
11859
13184
|
"events": {
|
|
11860
13185
|
"type": "EmployeesEvents",
|
|
11861
13186
|
"types": [
|
|
@@ -14549,7 +15874,11 @@ const PRESET_CATALOG = {
|
|
|
14549
15874
|
"subpath": "better-supabase/blocks/subjects"
|
|
14550
15875
|
},
|
|
14551
15876
|
"consumes": {},
|
|
14552
|
-
"provides": []
|
|
15877
|
+
"provides": [],
|
|
15878
|
+
"events": {
|
|
15879
|
+
"type": "SubjectsEvents",
|
|
15880
|
+
"types": ["subject_member.added", "subject_member.ended"]
|
|
15881
|
+
}
|
|
14553
15882
|
},
|
|
14554
15883
|
{
|
|
14555
15884
|
"name": "impersonation",
|