better-supabase 0.17.0 → 0.18.1
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-B-MkVARa.js → access-sql-CNIgUqWf.js} +2 -0
- package/dist/{adapter-Dyks1lX1.js → adapter-CfuBICuG.js} +3 -1
- package/dist/{ai-schedules-Dk9H3kAp.d.ts → ai-schedules-DzLh6BYI.d.ts} +1 -1
- package/dist/ai-sdk/agents/index.d.ts +2 -2
- package/dist/ai-sdk/memory/index.js +1 -1
- package/dist/{api-CpL3hm87.d.ts → api-B6zteBya.d.ts} +1 -1
- package/dist/{app-tables-Q0TYfeih.js → app-tables-DyswUg6J.js} +10 -2
- package/dist/{app-tables-dS02piE7.d.ts → app-tables-XwCviyhP.d.ts} +1 -1
- package/dist/astro/index.d.ts +3 -3
- package/dist/astro/index.js +5 -5
- package/dist/{attachments-aJYgdYtB.js → attachments-M-Dy79Ry.js} +9 -2
- package/dist/{authorization-CNsvnwle.d.ts → authorization-IiE__z2m.d.ts} +169 -87
- package/dist/{automations-CIwRq7zm.js → automations-B5P6vTvk.js} +2 -2
- package/dist/{automations-CD1XlL2W.js → automations-BKjJpktQ.js} +1 -1
- package/dist/{automations-Bc2ue55V.js → automations-FCnWy387.js} +2 -2
- package/dist/{bind-C801IaK-.d.ts → bind-pu5TLrla.d.ts} +3 -3
- package/dist/{block-env-BeG4DiiO.d.ts → block-env-CA65ulTD.d.ts} +4 -4
- package/dist/blocks/access-requests/index.d.ts +1 -1
- package/dist/blocks/access-requests/index.js +1 -1
- package/dist/blocks/activities/index.d.ts +1 -1
- package/dist/blocks/activities/index.js +1 -1
- package/dist/blocks/agents/index.d.ts +1 -1
- package/dist/blocks/agents/index.js +1 -1
- package/dist/blocks/ai-cache/index.d.ts +1 -1
- package/dist/blocks/ai-cache/index.js +1 -1
- package/dist/blocks/ai-chat/index.d.ts +4 -4
- package/dist/blocks/ai-chat/index.js +1 -1
- package/dist/blocks/ai-files/index.d.ts +1 -1
- package/dist/blocks/ai-files/index.js +1 -1
- package/dist/blocks/ai-keys/index.d.ts +1 -1
- package/dist/blocks/ai-keys/index.js +1 -1
- package/dist/blocks/ai-schedules/index.d.ts +2 -2
- package/dist/blocks/ai-schedules/index.js +1 -1
- package/dist/blocks/announcements/index.d.ts +4 -4
- package/dist/blocks/announcements/index.js +1 -1
- package/dist/blocks/api-keys/index.d.ts +2 -2
- package/dist/blocks/api-keys/index.js +1 -1
- package/dist/blocks/approvals/index.d.ts +1 -1
- package/dist/blocks/approvals/index.js +1 -1
- package/dist/blocks/assets/index.d.ts +1 -1
- package/dist/blocks/assets/index.js +1 -1
- package/dist/blocks/assignment/index.d.ts +1 -1
- package/dist/blocks/attachments/index.d.ts +40 -4
- package/dist/blocks/attachments/index.js +42 -4
- package/dist/blocks/audit/index.d.ts +3 -3
- package/dist/blocks/audit/index.js +2 -2
- package/dist/blocks/automations/index.d.ts +3 -3
- package/dist/blocks/automations/index.js +1 -1
- package/dist/blocks/billable-time/index.d.ts +1 -1
- package/dist/blocks/billing/index.d.ts +2 -2
- package/dist/blocks/billing/index.js +1 -1
- package/dist/blocks/bookings/index.d.ts +2 -2
- package/dist/blocks/bookings/index.js +1 -1
- package/dist/blocks/bulk/index.d.ts +1 -1
- package/dist/blocks/bulk/index.js +1 -1
- package/dist/blocks/calendar/index.d.ts +2 -2
- package/dist/blocks/calendar/index.js +1 -1
- package/dist/blocks/catalog/index.d.ts +1 -1
- package/dist/blocks/catalog/index.js +1 -1
- package/dist/blocks/channels/index.d.ts +1 -1
- package/dist/blocks/collections/index.d.ts +1 -1
- package/dist/blocks/collections/index.js +1 -1
- package/dist/blocks/comments/index.d.ts +5 -5
- package/dist/blocks/comments/index.js +1 -1
- package/dist/blocks/compliance/index.d.ts +1 -1
- package/dist/blocks/compliance/index.js +1 -1
- package/dist/blocks/connectors/index.d.ts +1 -1
- package/dist/blocks/connectors/index.js +1 -1
- package/dist/blocks/contacts/index.d.ts +1 -1
- package/dist/blocks/contacts/index.js +1 -1
- package/dist/blocks/content/index.d.ts +2 -2
- package/dist/blocks/content/index.js +1 -1
- package/dist/blocks/contracts/index.d.ts +1 -1
- package/dist/blocks/contracts/index.js +1 -1
- package/dist/blocks/courses/index.d.ts +2 -2
- package/dist/blocks/courses/index.js +1 -1
- package/dist/blocks/created-by/index.d.ts +1 -1
- package/dist/blocks/created-by/index.js +1 -1
- package/dist/blocks/custom-fields/index.d.ts +1 -1
- package/dist/blocks/custom-fields/index.js +1 -1
- package/dist/blocks/data-lifecycle/index.d.ts +1 -1
- package/dist/blocks/data-lifecycle/index.js +1 -1
- package/dist/blocks/deals/index.d.ts +1 -1
- package/dist/blocks/deals/index.js +1 -1
- package/dist/blocks/dispatch/index.d.ts +2 -2
- package/dist/blocks/dispatch/index.js +1 -1
- package/dist/blocks/documents/index.d.ts +1 -1
- package/dist/blocks/documents/index.js +1 -1
- package/dist/blocks/domains/index.d.ts +1 -1
- package/dist/blocks/domains/index.js +1 -1
- package/dist/blocks/donations/index.d.ts +1 -1
- package/dist/blocks/donations/index.js +1 -1
- package/dist/blocks/drive/index.d.ts +1 -1
- package/dist/blocks/drive/index.js +2 -2
- package/dist/blocks/employees/index.d.ts +2 -2
- package/dist/blocks/employees/index.js +1 -1
- package/dist/blocks/enrichment/index.d.ts +1 -1
- package/dist/blocks/enrollments/index.d.ts +1 -1
- package/dist/blocks/enrollments/index.js +1 -1
- package/dist/blocks/entitlements/index.d.ts +3 -3
- package/dist/blocks/expenses/index.d.ts +1 -1
- package/dist/blocks/expenses/index.js +1 -1
- package/dist/blocks/field-history/index.d.ts +1 -1
- package/dist/blocks/flags/index.d.ts +1 -1
- package/dist/blocks/flags/index.js +1 -1
- package/dist/blocks/forecasts/index.d.ts +1 -1
- package/dist/blocks/forms/index.d.ts +2 -2
- package/dist/blocks/forms/index.js +1 -1
- package/dist/blocks/goals/index.d.ts +1 -1
- package/dist/blocks/goals/index.js +1 -1
- package/dist/blocks/guests/index.d.ts +1 -1
- package/dist/blocks/hiring/index.d.ts +1 -1
- package/dist/blocks/hiring/index.js +1 -1
- package/dist/blocks/identities/index.d.ts +1 -1
- package/dist/blocks/identities/index.js +1 -1
- package/dist/blocks/imports/index.d.ts +1 -1
- package/dist/blocks/inbox/index.d.ts +5 -5
- package/dist/blocks/inbox/index.js +1 -1
- package/dist/blocks/incidents/index.d.ts +1 -1
- package/dist/blocks/incidents/index.js +1 -1
- package/dist/blocks/index.d.ts +4 -4
- package/dist/blocks/index.js +1 -1
- package/dist/blocks/inventory/index.d.ts +1 -1
- package/dist/blocks/inventory/index.js +1 -1
- package/dist/blocks/invoices/index.d.ts +1 -1
- package/dist/blocks/invoices/index.js +1 -1
- package/dist/blocks/knowledge/index.d.ts +1 -1
- package/dist/blocks/knowledge/index.js +1 -1
- package/dist/blocks/lead-scoring/index.d.ts +2 -2
- package/dist/blocks/lead-scoring/index.js +1 -1
- package/dist/blocks/leases/index.d.ts +1 -1
- package/dist/blocks/leases/index.js +1 -1
- package/dist/blocks/leave/index.d.ts +1 -1
- package/dist/blocks/leave/index.js +1 -1
- package/dist/blocks/ledger/index.d.ts +1 -1
- package/dist/blocks/mail-sync/index.d.ts +2 -2
- package/dist/blocks/mail-sync/index.js +1 -1
- package/dist/blocks/memberships/index.d.ts +3 -3
- package/dist/blocks/memberships/index.js +1 -1
- package/dist/blocks/memory/index.d.ts +1 -1
- package/dist/blocks/memory/index.js +1 -1
- package/dist/blocks/messaging/index.d.ts +5 -5
- package/dist/blocks/messaging/index.js +1 -1
- package/dist/blocks/metrics/index.d.ts +1 -1
- package/dist/blocks/metrics/index.js +1 -1
- package/dist/blocks/mfa/index.d.ts +2 -2
- package/dist/blocks/moderation/index.d.ts +1 -1
- package/dist/blocks/moderation/index.js +1 -1
- package/dist/blocks/notifications/index.d.ts +17 -6
- package/dist/blocks/notifications/index.js +110 -40
- package/dist/blocks/numbering/index.d.ts +1 -1
- package/dist/blocks/numbering/index.js +1 -1
- package/dist/blocks/oauth-server/index.d.ts +1 -1
- package/dist/blocks/oauth-server/index.js +1 -1
- package/dist/blocks/onboarding/index.d.ts +2 -2
- package/dist/blocks/onboarding/index.js +1 -1
- package/dist/blocks/orders/index.d.ts +2 -2
- package/dist/blocks/orders/index.js +1 -1
- package/dist/blocks/organizations/index.d.ts +38 -3
- package/dist/blocks/organizations/index.js +50 -5
- package/dist/blocks/outbox/index.d.ts +1 -1
- package/dist/blocks/outbox/index.js +1 -1
- package/dist/blocks/passes/index.d.ts +2 -2
- package/dist/blocks/passes/index.js +1 -1
- package/dist/blocks/permissions/index.d.ts +4 -4
- package/dist/blocks/permissions/index.js +2 -2
- package/dist/blocks/pipelines/index.d.ts +1 -1
- package/dist/blocks/pipelines/index.js +1 -1
- package/dist/blocks/posts/index.d.ts +2 -2
- package/dist/blocks/posts/index.js +1 -1
- package/dist/blocks/profiles/index.d.ts +1 -1
- package/dist/blocks/profiles/index.js +1 -1
- package/dist/blocks/promotions/index.d.ts +1 -1
- package/dist/blocks/promotions/index.js +1 -1
- package/dist/blocks/push/index.d.ts +76 -10
- package/dist/blocks/push/index.js +172 -43
- package/dist/blocks/queue/index.d.ts +1 -1
- package/dist/blocks/queue/index.js +1 -1
- package/dist/blocks/quotes/index.d.ts +1 -1
- package/dist/blocks/quotes/index.js +1 -1
- package/dist/blocks/rank/index.d.ts +1 -1
- package/dist/blocks/reactions/index.d.ts +4 -4
- package/dist/blocks/reactions/index.js +1 -1
- package/dist/blocks/relations/index.d.ts +1 -1
- package/dist/blocks/relations/index.js +1 -1
- package/dist/blocks/reminders/index.d.ts +1 -1
- package/dist/blocks/reminders/index.js +1 -1
- package/dist/blocks/reviews/index.d.ts +1 -1
- package/dist/blocks/reviews/index.js +1 -1
- package/dist/blocks/saved-views/index.d.ts +2 -2
- package/dist/blocks/saved-views/index.js +1 -1
- package/dist/blocks/scores/index.d.ts +1 -1
- package/dist/blocks/scores/index.js +1 -1
- package/dist/blocks/search/index.d.ts +3 -3
- package/dist/blocks/search/index.js +1 -1
- package/dist/blocks/security-events/index.d.ts +1 -1
- package/dist/blocks/security-events/index.js +1 -1
- package/dist/blocks/segments/index.d.ts +2 -2
- package/dist/blocks/segments/index.js +1 -1
- package/dist/blocks/sequences/index.d.ts +2 -2
- package/dist/blocks/sequences/index.js +1 -1
- package/dist/blocks/service-accounts/index.d.ts +1 -1
- package/dist/blocks/service-accounts/index.js +1 -1
- package/dist/blocks/sessions/index.d.ts +2 -2
- package/dist/blocks/sessions/index.js +1 -1
- package/dist/blocks/settings/index.d.ts +2 -2
- package/dist/blocks/settings/index.js +1 -1
- package/dist/blocks/share-links/index.d.ts +1 -1
- package/dist/blocks/share-links/index.js +1 -1
- package/dist/blocks/shipments/index.d.ts +2 -2
- package/dist/blocks/shipments/index.js +1 -1
- package/dist/blocks/signatures/index.d.ts +2 -2
- package/dist/blocks/signatures/index.js +1 -1
- package/dist/blocks/signing-keys/index.d.ts +1 -1
- package/dist/blocks/signing-keys/index.js +1 -1
- package/dist/blocks/sla/index.d.ts +1 -1
- package/dist/blocks/sla/index.js +1 -1
- package/dist/blocks/sso/index.d.ts +1 -1
- package/dist/blocks/sso/index.js +1 -1
- package/dist/blocks/state-machine/index.d.ts +1 -1
- package/dist/blocks/state-machine/index.js +1 -1
- package/dist/blocks/subjects/index.d.ts +2 -2
- package/dist/blocks/tags/index.d.ts +2 -2
- package/dist/blocks/tags/index.js +1 -1
- package/dist/blocks/tasks/index.d.ts +2 -2
- package/dist/blocks/tasks/index.js +1 -1
- package/dist/blocks/teams/index.d.ts +1 -1
- package/dist/blocks/teams/index.js +1 -1
- package/dist/blocks/templates/index.d.ts +2 -2
- package/dist/blocks/templates/index.js +1 -1
- package/dist/blocks/time-tracking/index.d.ts +1 -1
- package/dist/blocks/time-tracking/index.js +1 -1
- package/dist/blocks/timeline/index.d.ts +1 -1
- package/dist/blocks/trash/index.d.ts +1 -1
- package/dist/blocks/trash/index.js +1 -1
- package/dist/blocks/undo/index.d.ts +2 -2
- package/dist/blocks/updated-at/index.d.ts +1 -1
- package/dist/blocks/updated-at/index.js +1 -1
- package/dist/blocks/usage/index.d.ts +2 -2
- package/dist/blocks/usage/index.js +1 -1
- package/dist/blocks/vercel-marketplace/index.d.ts +1 -1
- package/dist/blocks/vercel-marketplace/index.js +1 -1
- package/dist/blocks/versions/index.d.ts +1 -1
- package/dist/blocks/versions/index.js +1 -1
- package/dist/blocks/waitlist/index.d.ts +1 -1
- package/dist/blocks/waitlist/index.js +1 -1
- package/dist/blocks/webhooks/index.d.ts +1 -1
- package/dist/blocks/webhooks/index.js +1 -1
- package/dist/blocks/workflow-editor/index.d.ts +4 -4
- package/dist/blocks/workflow-editor/index.js +1 -1
- package/dist/blocks/workflows/index.d.ts +4 -4
- package/dist/{channel-BjvGO39m.d.ts → channel-JcMd5lNP.d.ts} +30 -2
- package/dist/cli/{add-DMcrsWjC.js → add-C5kLXuqn.js} +18 -13
- package/dist/cli/add-CFKvvXlK.js +1 -0
- package/dist/cli/{add-BinNYhFD.js → add-CTtj1dfh.js} +2 -2
- package/dist/cli/{backfill-DxBB62Zr.js → backfill-C-b6eH98.js} +4 -4
- package/dist/cli/bin.js +1 -1
- package/dist/cli/{blocks-DSgTifw0.js → blocks-CT8-TBdW.js} +2 -2
- package/dist/cli/{blocks-rxOS-Mzz.js → blocks-zpu__C1Y.js} +1 -1
- package/dist/cli/{cache-oU0yHKf0.js → cache-BxohmNou.js} +1 -1
- package/dist/cli/{codemod-Dsrv_3gQ.js → codemod-BVo3sdx7.js} +5 -5
- package/dist/cli/{command-CQ61x6gN.js → command-BWEEXmtz.js} +20 -0
- package/dist/cli/{completion-Dlu5AdUW.js → completion-8EDK21xj.js} +1 -1
- package/dist/cli/{completion-BwI0_Ap5.js → completion-BfnKI4QZ.js} +2 -2
- package/dist/cli/{completion-2Y3D_eNu.js → completion-Bt7LMypX.js} +2 -2
- package/dist/cli/{config-2rwFHbwj.js → config-BJSqMi04.js} +17 -5
- package/dist/cli/{config-C6XylzKz.js → config-BlfVh0IP.js} +1 -1
- package/dist/cli/{config-CPux9Wa7.js → config-WKDixoGK.js} +1 -1
- package/dist/cli/{content-mapper-DLbXilBz.js → content-mapper-D54wumPS.js} +2 -2
- package/dist/cli/{db-Bwrr3GHM.js → db-DYU5hUcd.js} +3 -3
- package/dist/cli/{doctor-CKt5Yyl4.js → doctor-DBxc5aud.js} +17 -16
- package/dist/cli/{env-BBl5L8Bf.js → env-BCgVZkcb.js} +1 -1
- package/dist/cli/env-xhwXk5Ri.js +1 -0
- package/dist/cli/{gen-CeG6lbka.js → gen--IBq-J4M.js} +22 -15
- package/dist/cli/index.d.ts +2 -2
- package/dist/cli/index.js +8 -8
- package/dist/cli/{init-DrQlf9RL.js → init-Dxvlzka4.js} +7 -7
- package/dist/cli/{keys-DGEpMbeB.js → keys-CbaL0lnw.js} +1 -1
- package/dist/cli/{legacy-prefix-DkTA3Rhx.js → legacy-prefix-R7UChFFl.js} +18 -5
- package/dist/cli/{live-BvWGM4c3.js → live-C-0OdLKE.js} +2 -2
- package/dist/cli/{mcp-BrOnGB15.js → mcp-3q5RDvYJ.js} +3 -3
- package/dist/cli/{metadata-BNSdPuKp.js → metadata-Dvc6U3bk.js} +3 -3
- package/dist/cli/{migration-safety-NtB3dsRU.js → migration-safety-DYgarZxP.js} +2 -2
- package/dist/cli/{module-migration-mKhX88V_.js → migrations-Cwh5VvUC.js} +3 -113
- package/dist/cli/module-migration-CXtSwDLu.js +119 -0
- package/dist/cli/{moved-CsfDQcyk.js → moved-DVwgE8lV.js} +1 -1
- package/dist/cli/{parse-B9Iv_-Pf.js → parse-B079x40m.js} +1 -1
- package/dist/cli/powersync-BAE2dlPJ.js +1 -0
- package/dist/cli/powersync-BCDuGn5p.js +283 -0
- package/dist/cli/{print-Dh8iuPK3.js → print-Dpfa_--H.js} +2 -1
- package/dist/cli/{remove-DfFXVBRr.js → remove-DpAwgO8A.js} +6 -6
- package/dist/cli/{render-ChIwdIOJ.js → render-D9c5ynjR.js} +8 -5
- package/dist/cli/{run-CLSHSVYo.js → run-CuzSU8Sk.js} +29 -10
- package/dist/cli/{run-BXx6D1aR.js → run-DmOTMa44.js} +2 -2
- package/dist/cli/{run-D48ZEU58.js → run-Q5V5Kle1.js} +38 -37
- package/dist/cli/{seed-CG-pA-5N.js → seed-D9mt8bnW.js} +3 -3
- package/dist/cli/seed-EPO6AvLG.js +1 -0
- package/dist/cli/{shared-D0XBFSlz.js → shared-BNScv93m.js} +1 -1
- package/dist/cli/{skills-toUan_OV.js → skills-FXAVPLzp.js} +1 -1
- package/dist/cli/{snapshot-C6vh_n3t.js → snapshot-k4R6vT20.js} +3 -3
- package/dist/cli/{source-BZbEK5if.js → source-MMQKgaIx.js} +1 -1
- package/dist/cli/{source-args-MTLYpifA.js → source-args-DlckPVje.js} +1 -1
- package/dist/cli/{spec-B4LhpI6t.js → spec-CCpPVw_T.js} +3 -3
- package/dist/cli/{spec-C-dhdKwa.js → spec-CqANRfuu.js} +1 -1
- package/dist/cli/{sql-layout-26LSoifK.js → sql-layout-AByPAQXl.js} +2 -2
- package/dist/cli/{stack-CWEHdO0b.js → stack-DgASZP0K.js} +1 -1
- package/dist/cli/{sync-CHGMZCJ5.js → sync-DYQVml8j.js} +3 -2
- package/dist/cli/{upgrade-C0dVsqNX.js → upgrade-DHcIHeRM.js} +5 -4
- package/dist/cli/{upgrade-GB9rqUGT.js → upgrade-f-3Nl6lO.js} +3 -3
- package/dist/cli/{version-T507a49w.js → version-DzroJkIT.js} +1 -1
- package/dist/client/index.d.ts +5 -5
- package/dist/client/native/index.d.ts +4 -4
- package/dist/{composite-B7f1MMgr.d.ts → composite-C-8A8qzi.d.ts} +2 -2
- package/dist/{composite-B3TIjId4.js → composite-D24L5RIY.js} +2 -2
- package/dist/config/index.d.ts +3 -3
- package/dist/config/index.js +4 -4
- package/dist/{config-CIBc79_8.js → config-CD2OGfCG.js} +2 -1
- package/dist/{config-BVNNJwGC.js → config-mbVyJwSc.js} +3 -3
- package/dist/{context-CKCgjEDF.d.ts → context-D24k1Cpc.d.ts} +29 -4
- package/dist/{controller-CJUXhshv.d.ts → controller-BR7CZ1R9.d.ts} +1 -1
- package/dist/{conversion-DgHdDlTK.d.ts → conversion-BgtOfTaS.d.ts} +1 -1
- package/dist/create/index.d.ts +2 -2
- package/dist/create/index.js +5 -5
- package/dist/{define-block-Xxw8Hroe.d.ts → define-block-CJWiDWa5.d.ts} +10 -3
- package/dist/edge/index.d.ts +5 -5
- package/dist/edge/index.js +7 -7
- package/dist/elysia/index.d.ts +1 -1
- package/dist/elysia/index.js +1 -1
- package/dist/{email-tt2QqiSc.d.ts → email-B3YxEzwC.d.ts} +1 -1
- package/dist/{entitlements-B0jmjNLD.d.ts → entitlements-DHcNt1aF.d.ts} +1 -1
- package/dist/{events-SqJLbb8q.js → events-DuLhzjP6.js} +2 -0
- package/dist/expo/index.d.ts +1 -1
- package/dist/expo/index.js +3 -3
- package/dist/{field-errors-DqlebtTE.d.ts → field-errors-DkAemDoc.d.ts} +5 -5
- package/dist/{framework-BozTXRzt.js → framework-CNhTg0th.js} +1 -1
- package/dist/{framework-CF6zFU7a.d.ts → framework-x9Y4uB1q.d.ts} +4 -4
- 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 +4 -4
- package/dist/hono/index.js +7 -6
- package/dist/{index-Dbb7BQdi.d.ts → index-4WT_uRRL.d.ts} +14 -3
- package/dist/{index-BCeTYhFk.d.ts → index-BAcQz5DS.d.ts} +1 -1
- package/dist/{index-B8YjrfVl.d.ts → index-C0t-vNIt.d.ts} +1 -1
- package/dist/{index-DUxXdQN_.d.ts → index-C6ruLtyx.d.ts} +2 -2
- package/dist/{index-ClMN0f98.d.ts → index-DTbJAsrT.d.ts} +8 -8
- package/dist/{index-lB-8iPmY.d.ts → index-DmbCyl6Z.d.ts} +9 -5
- package/dist/{index-BxYOB1Oc.d.ts → index-iRkFvJ7J.d.ts} +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/{instances-QOzIz9-q.js → instances-DDt7NdVl.js} +1 -1
- package/dist/{kit-DOwKpSkA.d.ts → kit-CVgQCIBO.d.ts} +1 -1
- package/dist/{kit-5l-o8RxL.js → kit-DhlB-vv_.js} +1 -1
- package/dist/mapper/bin.js +7 -6
- package/dist/mcp/index.d.ts +9 -3
- package/dist/mcp/index.js +6 -6
- package/dist/mcp/sdk/index.d.ts +1 -1
- package/dist/mcp/sdk/index.js +2 -2
- package/dist/{methods-B3o7BFOW.js → methods-Cund9ZBe.js} +1 -1
- package/dist/nestjs/index.d.ts +2 -2
- package/dist/nestjs/index.js +1 -1
- package/dist/next/index.d.ts +12 -12
- package/dist/next/index.js +6 -6
- package/dist/node/index.d.ts +2 -2
- package/dist/node/index.js +1 -1
- package/dist/{operations-Dc07aV_H.d.ts → operations-CAjMgNr9.d.ts} +1 -1
- package/dist/{options-CK5WiFwG.js → options-3OYOU56e.js} +1 -1
- package/dist/{options-xD4_FRUq.js → options-56zYYXxc.js} +1 -1
- package/dist/{options-_F-enoBs.d.ts → options-5WvWOkAm.d.ts} +1 -1
- package/dist/{options-SViK_2x2.js → options-62woPFn3.js} +1 -1
- package/dist/{options-1GgseJq5.js → options-7ixoOoap.js} +1 -1
- package/dist/{options-BZsoPJGX.js → options-9dSU5RML.js} +2 -2
- package/dist/{options-y_-AkVCs.d.ts → options-B0YZtAkb.d.ts} +1 -1
- package/dist/{options-HLwOuF2H.js → options-B2Kz_tCx.js} +2 -2
- package/dist/{options-CEMawFrr.js → options-B685YSzQ.js} +1 -1
- package/dist/{options-DWbA9buW.js → options-B692WoK6.js} +2 -2
- package/dist/options-BHU1wc74.js +5 -0
- package/dist/{options-CPK2nQER.js → options-BHy0Z5Zd.js} +2 -2
- package/dist/{options-Fz6xqu-b.js → options-BKDxrPvE.js} +2 -2
- package/dist/{options-BVg58avP.js → options-BLfymS4s.js} +2 -2
- package/dist/{options-CYV4iZiQ.js → options-BOCRbzh3.js} +1 -1
- package/dist/{options-tSsUF0-7.js → options-BQWJqwHO.js} +1 -1
- package/dist/{options-Cl9Ag2Pt.js → options-BQunK6_Y.js} +2 -2
- package/dist/{options-CljDnQt2.js → options-BQyrZjwM.js} +4 -1
- package/dist/options-BR9xTHZW.js +5 -0
- package/dist/{options-D40CQzji.js → options-BRUdd5jY.js} +1 -1
- package/dist/{options-CsGl5BLH.d.ts → options-BTmaRzx2.d.ts} +13 -5
- package/dist/{options-Li1Dyu88.d.ts → options-BUCQYAeJ.d.ts} +2 -2
- package/dist/{options-B5BU2Yg7.js → options-BawzwlmC.js} +2 -2
- package/dist/{options-BlzSfWxC.d.ts → options-BbLDAp7G.d.ts} +2 -2
- package/dist/{options-DTDxFT6J.js → options-Bc4xz5jQ.js} +2 -2
- package/dist/options-BfFC4iFE.js +8 -0
- package/dist/{options-Br1Xi2Hw.js → options-BfPsL7E2.js} +1 -1
- package/dist/{options-DYBQ973I.js → options-Bfmwwc78.js} +1 -1
- package/dist/{options-c5WCsky5.js → options-BhsdveDk.js} +2 -2
- package/dist/{options-B5woz53h.js → options-BomoTH-8.js} +2 -2
- package/dist/{options-DeNejBtq.js → options-BtjkzIVh.js} +1 -1
- package/dist/options-Bvi9bl4H.js +5 -0
- package/dist/{options-IHPg8ZoA.js → options-BwKNmaJo.js} +2 -2
- package/dist/{options-CtUUU71w.js → options-BxpLtyk-.js} +4 -6
- package/dist/{options-D_bBVCXg.js → options-BzB2QxL3.js} +1 -1
- package/dist/{options-CmraJhd9.js → options-C078wBP0.js} +1 -1
- package/dist/options-C1-pwEqm.js +5 -0
- package/dist/{options-BZOliZvb.js → options-C3AdsFJ6.js} +2 -2
- package/dist/options-C7C5OhmL.d.ts +8 -0
- package/dist/{options-CCUaRLgd.js → options-C87u6eSa.js} +1 -1
- package/dist/{options-CVSWgZpY.js → options-CBAEGxwS.js} +1 -1
- package/dist/{options-9gvPo1BC.js → options-CDUr8zzX.js} +1 -1
- package/dist/{options-DMR68VAC.js → options-CFjGxfa8.js} +2 -2
- package/dist/{options-Bf96aVk5.js → options-CI6P0xhV.js} +1 -1
- package/dist/{options-B5VUf4IT.js → options-CJFMK9A_.js} +1 -1
- package/dist/{options-CRz8Ht_4.js → options-CLpgx7en.js} +3 -2
- package/dist/{options-BesyRBnM.js → options-CTXHj9zr.js} +2 -2
- package/dist/{options-D2d1fFuw.js → options-CTl8T88w.js} +1 -1
- package/dist/{options-C3RgtOLo.js → options-CTv-xmbA.js} +2 -2
- package/dist/{options-Bpl-WFPk.js → options-CUIOOv4z.js} +1 -1
- package/dist/{options-o2kfYU2x.js → options-CZDmtsbV.js} +2 -2
- package/dist/{options-CF7nRWXS.js → options-CZTscdPB.js} +1 -1
- package/dist/{options-BlncUmIc.js → options-CZdKndeo.js} +2 -2
- package/dist/{options-DplE18Ko.d.ts → options-C_7g9TTq.d.ts} +1 -1
- package/dist/{options-C_pb1Nd3.js → options-Cb2FOFj5.js} +1 -1
- package/dist/{options-t_O5ldT6.js → options-CbOstLa7.js} +2 -2
- package/dist/{options-Bt0bYMLl.js → options-CcXgWlvm.js} +2 -2
- package/dist/{options-BMjcVuaI.js → options-CfVPctAw.js} +7 -0
- package/dist/{options-DWpz3V3F.js → options-ChiL-4ZS.js} +2 -2
- package/dist/{options-E7KcmHQv.js → options-Cjgaf8ub.js} +2 -2
- package/dist/{options-DrSkIBCD.js → options-CoSPgWKy.js} +1 -1
- package/dist/{options-Bp7sgKvl.js → options-CpZ2HlSU.js} +5 -3
- package/dist/{options-CN7PHkhU.js → options-CsSe8Nba.js} +1 -1
- package/dist/{options-B9q8CROT.js → options-CsvJR-r2.js} +1 -1
- package/dist/{options-oeAq4Ho5.js → options-Cucv6sWP.js} +2 -2
- package/dist/{options-BOOEzor9.js → options-CyjL9lTf.js} +2 -2
- package/dist/{options-pOVWwbAK.d.ts → options-D-OOO9V2.d.ts} +1 -1
- package/dist/{options-nFzfgtA6.js → options-D0Y6ZMe8.js} +1 -1
- package/dist/{options-BnZS7IK-.js → options-D0sj5abR.js} +2 -2
- package/dist/{options-0qvUckqt.js → options-D2s7fT1s.js} +2 -2
- package/dist/{options-BjtrC7o6.js → options-D32-YxnO.js} +1 -1
- package/dist/{options-B0EJULm5.js → options-D610Fa6T.js} +2 -2
- package/dist/{options-BvtnxHfK.js → options-D96dScev.js} +1 -1
- package/dist/{options-DgQo80Xh.js → options-DFpyP1bg.js} +2 -2
- package/dist/{options-BYOtaF7w.js → options-DJEcS4DX.js} +1 -1
- package/dist/{options-DPgdAXO5.js → options-DJbN3bi9.js} +2 -2
- package/dist/{options-EsUh744F.js → options-DKoQoRCy.js} +2 -2
- package/dist/{options-CvD9vNvx.js → options-DM1qaMMQ.js} +1 -1
- package/dist/{options-eBPsk4WI.js → options-DNgSwhsm.js} +2 -2
- package/dist/{options-2EMA_x6_.js → options-DOIwzRXL.js} +2 -2
- package/dist/{options-D6as77gU.d.ts → options-DRIgHh4O.d.ts} +2 -2
- package/dist/{options-DDzggjN7.js → options-DRrZmJyI.js} +2 -2
- package/dist/{options-DJ-aYPVN.js → options-DUMUsvml.js} +2 -2
- package/dist/{options-Cp0HyUEk.js → options-DWwL5Kaz.js} +1 -1
- package/dist/{options-BCrqe3HH.js → options-DZHZYlpD.js} +1 -1
- package/dist/{options-BQIYfx9F.js → options-DZLkeqWn.js} +2 -2
- package/dist/{options-RKYdmIdV.js → options-DZRpXKQE.js} +1 -1
- package/dist/{options-D0G06Zm9.js → options-D_9Vxx7f.js} +2 -2
- package/dist/{options-BMGClqoa.js → options-DcHl59RC.js} +1 -1
- package/dist/{options-CW9wTqOk.js → options-Dcaql09y.js} +1 -1
- package/dist/{options-CXFz0xxS.js → options-DcnBNYmV.js} +1 -1
- package/dist/{options-21s0dpnX.js → options-DdpM-fiP.js} +2 -2
- package/dist/{options-BbnPv6p7.js → options-DhdazgTZ.js} +2 -2
- package/dist/{options-C239TLRF.js → options-Dpy-Ruo-.js} +1 -1
- package/dist/{options-DWVYM8P0.d.ts → options-DsVuVRH3.d.ts} +1 -1
- package/dist/{options-BlOPivzq.js → options-DtAJxfHS.js} +1 -1
- package/dist/{options-DXnBN2E7.js → options-Dz9Yo52Z.js} +2 -2
- package/dist/{options-DcOx8_3X.d.ts → options-HnfETSHr.d.ts} +1 -1
- package/dist/{options-CoX6VKGb.js → options-LqUXTpML.js} +1 -1
- package/dist/options-MsloEAIB.js +5 -0
- package/dist/{options-DCduTMST.js → options-P2FxqYpd.js} +2 -2
- package/dist/options-_1gAIMq7.d.ts +60 -0
- package/dist/{options-B0FcEKtH.js → options-aT89JqlB.js} +1 -1
- package/dist/{options-Cyu0hgmN.js → options-cVKZu9b0.js} +2 -2
- package/dist/options-fMxhtuVR.js +5 -0
- package/dist/{options-BxcFLL1G.js → options-fkShrmGQ.js} +2 -2
- package/dist/{options-Ctac2R0Q.js → options-gUvfr3no.js} +2 -2
- package/dist/{options-DNKyN5uq.js → options-hynwKWuf.js} +2 -2
- package/dist/{options-CkScQRJR.js → options-lsxJYfYx.js} +2 -2
- package/dist/{options-CyAhRKKm.d.ts → options-o5wCw8H7.d.ts} +2 -2
- package/dist/{options-DARkpk2P.js → options-p49DFg3H.js} +2 -2
- package/dist/{options-zkyhM3qi.js → options-pYNpXKcg.js} +1 -1
- package/dist/{options-Cqq2jUww.js → options-qtETCHzW.js} +2 -2
- package/dist/options-rnKlqYEr.js +5 -0
- package/dist/{options-KV84gAxl.js → options-sU_zGkiV.js} +2 -2
- package/dist/{options-BfLmA375.js → options-xq4MXG1M.js} +2 -2
- package/dist/{options-BA6jV6py.js → options-zzlznRA7.js} +2 -2
- package/dist/orpc/index.d.ts +19 -8
- package/dist/orpc/index.js +60 -31
- package/dist/otel/index.d.ts +1 -1
- package/dist/otel/index.js +5 -5
- package/dist/{ports-DnpAuTvB.d.ts → ports-g0H1Kzwr.d.ts} +1 -1
- package/dist/powersync/index.d.ts +135 -2
- package/dist/powersync/index.js +333 -1
- package/dist/preset/index.d.ts +3 -3
- package/dist/preset/index.js +3 -3
- package/dist/{preset-BIANzB5p.js → preset-B3CukUhu.js} +4 -4
- package/dist/{push-token-C_mFkYfq.d.ts → push-token-Cl2EihRc.d.ts} +1 -1
- package/dist/query/index.d.ts +1 -1
- package/dist/react/index.d.ts +5 -5
- package/dist/react/index.js +1 -1
- package/dist/react/native/index.d.ts +1 -1
- package/dist/react/server.d.ts +5 -5
- package/dist/react/server.js +1 -1
- package/dist/react-router/index.d.ts +3 -3
- package/dist/react-router/index.js +5 -5
- package/dist/{react-CZUZYn9E.js → react-zBTxLsV6.js} +1 -1
- package/dist/realtime/index.d.ts +3 -3
- package/dist/realtime/index.js +2 -2
- package/dist/{record-form-xWvVcb86.d.ts → record-form-zMwz0Ayt.d.ts} +1 -1
- package/dist/records/index.d.ts +7 -7
- package/dist/{refusal-ByBZcm0V.js → refusal-D48CMqpQ.js} +2 -2
- package/dist/{refusal-CSntB_x8.d.ts → refusal-OrlI3g4H.d.ts} +1 -1
- package/dist/{relay-gKvKJ3xf.js → relay-CIKcAVjf.js} +61 -21
- package/dist/{resource-DV2GC2dB.js → resource-R3KToNze.js} +1 -1
- package/dist/{resource-execute-DqWfEc56.d.ts → resource-execute-CKBtGL8-.d.ts} +1 -1
- package/dist/{resource-types-BIoz_ElD.d.ts → resource-types-8Q5Klkpa.d.ts} +1 -1
- package/dist/{resources-C02l_YBJ.js → resources-DqIwoQsP.js} +1 -1
- package/dist/{resources-Bt2PDKE7.d.ts → resources-DxpqenZA.d.ts} +1 -1
- package/dist/{respond-C3CcOZlA.js → respond-3RKp6VgU.js} +8 -1
- package/dist/{respond-Dn1_YhC1.d.ts → respond-oZeJ342J.d.ts} +6 -0
- package/dist/server/index.d.ts +9 -8
- package/dist/server/index.js +17 -10
- package/dist/{session-C1OuXbtN.d.ts → session-Fcft5A39.d.ts} +1 -1
- package/dist/{sign-in-B64114O4.js → sign-in-BLkRU3lc.js} +1 -1
- package/dist/solid/index.d.ts +5 -5
- package/dist/solid-start/index.d.ts +3 -3
- package/dist/solid-start/index.js +5 -5
- package/dist/spec/index.d.ts +2 -2
- package/dist/spec/index.js +1 -1
- package/dist/{spec-pins-DIx95afw.d.ts → spec-pins-BZkKfwY8.d.ts} +2 -0
- package/dist/{spec-pins-C1Vm8OBl.js → spec-pins-D3zDek-u.js} +1 -0
- package/dist/sql/index.d.ts +5 -5
- package/dist/sql/index.js +5 -5
- package/dist/{sql-ClTmzHs8.js → sql-fHTjZGqR.js} +2608 -1415
- package/dist/sql-type-iUSZpaUu.js +34 -0
- package/dist/ssr/index.d.ts +1 -1
- package/dist/{statuses-DMMDwXpZ.js → statuses-Alll5Ip6.js} +2 -2
- package/dist/storage/index.js +1 -1
- package/dist/svelte/index.d.ts +5 -5
- package/dist/sveltekit/index.d.ts +3 -3
- package/dist/sveltekit/index.js +5 -5
- package/dist/tanstack-start/index.d.ts +3 -3
- package/dist/tanstack-start/index.js +5 -5
- package/dist/{tenant-DVvjw9H-.d.ts → tenant-DyoVYFfC.d.ts} +1 -1
- package/dist/testing/index.d.ts +7 -7
- package/dist/testing/index.js +6 -3
- package/dist/{timeline-BBfKuMVL.d.ts → timeline-CMmo0R7g.d.ts} +2 -2
- package/dist/{topic-ikV_pLTX.js → topic-J9I3yu6f.js} +1 -1
- package/dist/{topic-BtLz-qTI.d.ts → topic-nQYxoTaU.d.ts} +1 -1
- package/dist/vue/index.d.ts +5 -5
- package/dist/{watch-topic-tnfOTa3-.d.ts → watch-topic-UGSEWAqR.d.ts} +1 -1
- package/dist/workflow-sdk/world/index.js +1 -1
- package/dist/{workflow-sdk-Bw6_u0ar.js → workflow-sdk-DELaQEp3.js} +2 -0
- package/dist/yjs/index.d.ts +1 -1
- package/dist/yjs/index.js +1 -1
- package/package.json +1 -1
- package/schemas/config-v1.json +449 -69
- package/dist/cli/add-z-3pXI6C.js +0 -1
- package/dist/cli/env-CAU1nknN.js +0 -1
- package/dist/cli/seed-CUxW5Dks.js +0 -1
- package/dist/options-63AKQNv0.js +0 -5
- package/dist/options-B-cxGmRA.js +0 -5
- package/dist/options-BPDiwSa-.js +0 -5
- package/dist/options-C6rEL6U5.js +0 -8
- package/dist/options-CE93HOYi.d.ts +0 -7
- package/dist/options-CTZNpb2n.js +0 -5
- package/dist/options-CrC78Tee.js +0 -5
- package/dist/options-DINdgVih.d.ts +0 -9
- package/dist/options-DWML05Cp.js +0 -5
- package/dist/options-Q1Bzgqpr.js +0 -5
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { t as BlockOptionsSchema } from "./options-
|
|
1
|
+
import { n as ExtraColumns, t as BlockOptionsSchema } from "./options-BTmaRzx2.js";
|
|
2
2
|
import { t as AssetsSqlOptions } from "./options-D1hSuf50.js";
|
|
3
|
-
import { t as ContentSqlOptions } from "./options-
|
|
4
|
-
import { t as CoursesSqlOptions } from "./options-
|
|
3
|
+
import { t as ContentSqlOptions } from "./options-5WvWOkAm.js";
|
|
4
|
+
import { t as CoursesSqlOptions } from "./options-BUCQYAeJ.js";
|
|
5
5
|
import { t as CreatedBySqlOptions } from "./options-CDSCkYxu.js";
|
|
6
|
-
import { t as DispatchSqlOptions } from "./options-
|
|
6
|
+
import { t as DispatchSqlOptions } from "./options-o5wCw8H7.js";
|
|
7
7
|
import { t as EnrollmentsSqlOptions } from "./options-CSCXNYJO.js";
|
|
8
|
-
import { t as LeadScoringSqlOptions } from "./options-
|
|
9
|
-
import { t as MailSyncSqlOptions } from "./options-
|
|
10
|
-
import { t as MembershipsSqlOptions } from "./options-
|
|
8
|
+
import { t as LeadScoringSqlOptions } from "./options-DsVuVRH3.js";
|
|
9
|
+
import { t as MailSyncSqlOptions } from "./options-C_7g9TTq.js";
|
|
10
|
+
import { t as MembershipsSqlOptions } from "./options-_1gAIMq7.js";
|
|
11
11
|
import { t as ModerationSqlOptions } from "./options-DlohRAYd.js";
|
|
12
|
-
import { t as PassesSqlOptions } from "./options-
|
|
13
|
-
import { t as PostsSqlOptions } from "./options-
|
|
12
|
+
import { t as PassesSqlOptions } from "./options-HnfETSHr.js";
|
|
13
|
+
import { t as PostsSqlOptions } from "./options-DRIgHh4O.js";
|
|
14
14
|
import { t as ScoresSqlOptions } from "./options-D0bzZx9a.js";
|
|
15
|
-
import { t as SegmentsSqlOptions } from "./options-
|
|
16
|
-
import { t as SequencesSqlOptions } from "./options-
|
|
17
|
-
import { t as ShipmentsSqlOptions } from "./options-
|
|
18
|
-
import { t as SignaturesSqlOptions } from "./options-
|
|
15
|
+
import { t as SegmentsSqlOptions } from "./options-D-OOO9V2.js";
|
|
16
|
+
import { t as SequencesSqlOptions } from "./options-B0YZtAkb.js";
|
|
17
|
+
import { t as ShipmentsSqlOptions } from "./options-BbLDAp7G.js";
|
|
18
|
+
import { t as SignaturesSqlOptions } from "./options-C7C5OhmL.js";
|
|
19
19
|
import { t as UpdatedAtSqlOptions } from "./options-B_NrjVDt.js";
|
|
20
20
|
//#region src/blocks/name-registry.generated.d.ts
|
|
21
21
|
/** The names each module's `blocks.<name>` config keys accept. */
|
|
@@ -213,6 +213,7 @@ interface BlockNameRegistry {
|
|
|
213
213
|
readonly "attachments": "id" | "tenant" | "subjectType" | "subjectId" | "bucket" | "path" | "name" | "mimeType" | "size" | "status" | "detail" | "uploadedBy" | "createdAt" | "uploadedAt" | "scannedAt" | "metadata" | "version" | "width" | "height" | "pages";
|
|
214
214
|
readonly "versions": "id" | "tenant" | "attachment" | "version" | "bucket" | "path" | "name" | "mimeType" | "size" | "width" | "height" | "pages" | "status" | "detail" | "uploadedBy" | "uploadedAt" | "scannedAt" | "archivedAt";
|
|
215
215
|
readonly "scans": "bucket" | "path" | "status" | "detail" | "createdAt" | "scannedAt";
|
|
216
|
+
readonly "cleanup": "bucket" | "path" | "queuedBy" | "queuedAt" | "attempts";
|
|
216
217
|
};
|
|
217
218
|
readonly functions: "attachment_object_allowed" | "attachment_object_visible" | "attachment_subject_readable" | "confirm_attachment" | "create_attachment" | "delete_attachment" | "get_attachment" | "list_attachment_versions" | "list_attachments" | "object_clean" | "object_scan" | "replace_attachment" | "restore_attachment_version" | "set_attachment_status" | "set_object_scan";
|
|
218
219
|
readonly actions: "read" | "upload" | "manage";
|
|
@@ -1037,7 +1038,7 @@ interface BlockNameRegistry {
|
|
|
1037
1038
|
readonly tables: {
|
|
1038
1039
|
readonly "memberships": "tenant" | "user" | "role" | "createdAt" | "updatedAt" | "lastUsedAt" | "disabledAt";
|
|
1039
1040
|
};
|
|
1040
|
-
readonly functions: "current_tenant_id" | "has_organization_role" | "member_organization_ids" | "membership_claims" | "organization_member_role";
|
|
1041
|
+
readonly functions: "current_tenant_id" | "has_organization_role" | "member_organization_ids" | "membership_claims" | "membership_role_from_roles" | "membership_roles_from_role" | "organization_member_role" | "organization_member_roles";
|
|
1041
1042
|
readonly actions: never;
|
|
1042
1043
|
readonly hooks: never;
|
|
1043
1044
|
readonly entities: {
|
|
@@ -1113,8 +1114,8 @@ interface BlockNameRegistry {
|
|
|
1113
1114
|
};
|
|
1114
1115
|
readonly "notifications": {
|
|
1115
1116
|
readonly tables: {
|
|
1116
|
-
readonly "events": "id" | "tenant" | "type" | "actor" | "subjectType" | "subjectId" | "subjectLabel" | "summary" | "actionPath" | "priority" | "data" | "key" | "createdBy" | "createdAt";
|
|
1117
|
-
readonly "recipients": "id" | "event" | "tenant" | "user" | "readAt" | "dismissedAt" | "resolvedAt" | "deliveredAt" | "createdAt";
|
|
1117
|
+
readonly "events": "id" | "tenant" | "type" | "actor" | "subjectType" | "subjectId" | "subjectLabel" | "summary" | "actionPath" | "actions" | "priority" | "data" | "key" | "createdBy" | "createdAt";
|
|
1118
|
+
readonly "recipients": "id" | "event" | "tenant" | "user" | "readAt" | "dismissedAt" | "resolvedAt" | "resolution" | "deliveredAt" | "createdAt";
|
|
1118
1119
|
readonly "deliveries": "id" | "recipient" | "tenant" | "channel" | "status" | "provider" | "providerMessageId" | "error" | "attempts" | "attemptedAt" | "nextAttemptAt" | "deliveredAt" | "providerStatus" | "providerStatusAt" | "templateKey" | "createdAt";
|
|
1119
1120
|
readonly "deliveryEvents": "id" | "delivery" | "tenant" | "kind" | "provider" | "providerEventId" | "occurredAt" | "detail" | "createdAt";
|
|
1120
1121
|
readonly "subscriptions": "id" | "tenant" | "user" | "subjectType" | "subjectId" | "level" | "createdAt" | "updatedAt";
|
|
@@ -1189,8 +1190,8 @@ interface BlockNameRegistry {
|
|
|
1189
1190
|
readonly tables: {
|
|
1190
1191
|
readonly "organizations": "id" | "name" | "slug" | "createdBy" | "createdAt" | "updatedAt" | "disabledAt" | "deletedAt";
|
|
1191
1192
|
};
|
|
1192
|
-
readonly functions: "create_organization" | "delete_organization" | "ensure_organization_owner" | "guard_membership" | "guard_membership_role" | "leave_organization" | "list_members" | "list_my_organizations" | "mark_used" | "organization_slug_problem" | "remove_member" | "resume_member" | "suspend_member" | "switch_organization" | "transfer_ownership" | "update_member_role" | "update_organization";
|
|
1193
|
-
readonly actions: "update" | "delete" | "removeMember" | "suspendMember" | "updateRole" | "transferOwnership";
|
|
1193
|
+
readonly functions: "add_member_role" | "create_organization" | "delete_organization" | "ensure_organization_owner" | "guard_membership" | "guard_membership_role" | "leave_organization" | "list_members" | "list_my_organizations" | "mark_used" | "organization_slug_problem" | "remove_member" | "remove_member_role" | "resume_member" | "suspend_member" | "switch_organization" | "transfer_ownership" | "update_member_role" | "update_organization";
|
|
1194
|
+
readonly actions: "update" | "delete" | "listMembers" | "removeMember" | "suspendMember" | "updateRole" | "transferOwnership";
|
|
1194
1195
|
readonly hooks: "before_organization_create" | "after_organization_create" | "before_organization_update" | "after_organization_update" | "after_member_change";
|
|
1195
1196
|
readonly entities: {};
|
|
1196
1197
|
readonly primary: never;
|
|
@@ -1274,7 +1275,7 @@ interface BlockNameRegistry {
|
|
|
1274
1275
|
};
|
|
1275
1276
|
readonly "profiles": {
|
|
1276
1277
|
readonly tables: {
|
|
1277
|
-
readonly "profiles": "key" | "email" | "username" | "fullName" | "firstName" | "lastName" | "avatar" | "avatarPath" | "activeTenant" | "activeTeam" | "onboarding" | "disabledAt" | "createdAt" | "updatedAt";
|
|
1278
|
+
readonly "profiles": "key" | "email" | "username" | "fullName" | "firstName" | "lastName" | "avatar" | "avatarPath" | "locale" | "activeTenant" | "activeTeam" | "onboarding" | "disabledAt" | "createdAt" | "updatedAt";
|
|
1278
1279
|
};
|
|
1279
1280
|
readonly functions: "allocate_username" | "backfill_profiles" | "guard_profile" | "mirror_profile_email" | "my_profile" | "on_auth_user_created" | "sync_profile" | "update_my_profile";
|
|
1280
1281
|
readonly actions: never;
|
|
@@ -1300,6 +1301,7 @@ interface BlockNameRegistry {
|
|
|
1300
1301
|
readonly "push": {
|
|
1301
1302
|
readonly tables: {
|
|
1302
1303
|
readonly "devices": "id" | "user" | "token" | "platform" | "provider" | "deviceName" | "appVersion" | "createdAt" | "lastSeenAt";
|
|
1304
|
+
readonly "tickets": "id" | "delivery" | "token" | "ticket" | "status" | "error" | "createdAt" | "checkedAt";
|
|
1303
1305
|
};
|
|
1304
1306
|
readonly functions: "prune_push_tokens" | "push_tokens_for" | "register_push_device" | "unregister_push_device";
|
|
1305
1307
|
readonly actions: never;
|
|
@@ -1919,14 +1921,14 @@ type AccessRequestsSqlOptions = {
|
|
|
1919
1921
|
readonly policy?: unknown;
|
|
1920
1922
|
readonly maxDuration?: unknown;
|
|
1921
1923
|
readonly join?: boolean;
|
|
1922
|
-
readonly extraColumns?:
|
|
1924
|
+
readonly extraColumns?: ExtraColumns;
|
|
1923
1925
|
};
|
|
1924
1926
|
//#endregion
|
|
1925
1927
|
//#region src/blocks/activities/options.d.ts
|
|
1926
1928
|
/** `blocks.activities.options`. */
|
|
1927
1929
|
type ActivitiesSqlOptions = {
|
|
1928
1930
|
readonly types?: readonly string[];
|
|
1929
|
-
readonly extraColumns?:
|
|
1931
|
+
readonly extraColumns?: ExtraColumns;
|
|
1930
1932
|
/**
|
|
1931
1933
|
* Recordings of calls and meetings as ai-files files, their transcripts and
|
|
1932
1934
|
* notes on each engagement. Needs the ai-files block. Default `false`.
|
|
@@ -1944,7 +1946,7 @@ type ActivitiesSqlOptions = {
|
|
|
1944
1946
|
/** `blocks.agents.options`. */
|
|
1945
1947
|
type AgentsSqlOptions = {
|
|
1946
1948
|
readonly maxInstructions?: number;
|
|
1947
|
-
readonly extraColumns?:
|
|
1949
|
+
readonly extraColumns?: ExtraColumns;
|
|
1948
1950
|
};
|
|
1949
1951
|
//#endregion
|
|
1950
1952
|
//#region src/blocks/ai-cache/options.d.ts
|
|
@@ -1965,7 +1967,7 @@ type AiChatSqlOptions = {
|
|
|
1965
1967
|
readonly meterUsage?: boolean;
|
|
1966
1968
|
readonly inputMeter?: string;
|
|
1967
1969
|
readonly outputMeter?: string;
|
|
1968
|
-
readonly extraColumns?:
|
|
1970
|
+
readonly extraColumns?: ExtraColumns;
|
|
1969
1971
|
};
|
|
1970
1972
|
//#endregion
|
|
1971
1973
|
//#region src/blocks/ai-files/options.d.ts
|
|
@@ -1975,7 +1977,7 @@ type AiFilesSqlOptions = {
|
|
|
1975
1977
|
readonly maxSize?: number;
|
|
1976
1978
|
readonly allowedMimeTypes?: readonly string[];
|
|
1977
1979
|
readonly pendingTtl?: string;
|
|
1978
|
-
readonly extraColumns?:
|
|
1980
|
+
readonly extraColumns?: ExtraColumns;
|
|
1979
1981
|
};
|
|
1980
1982
|
//#endregion
|
|
1981
1983
|
//#region src/blocks/ai-keys/options.d.ts
|
|
@@ -1990,7 +1992,7 @@ type AiSchedulesSqlOptions = {
|
|
|
1990
1992
|
readonly queue?: string;
|
|
1991
1993
|
readonly staleAfter?: string;
|
|
1992
1994
|
readonly maxPrompt?: number;
|
|
1993
|
-
readonly extraColumns?:
|
|
1995
|
+
readonly extraColumns?: ExtraColumns;
|
|
1994
1996
|
};
|
|
1995
1997
|
//#endregion
|
|
1996
1998
|
//#region src/blocks/announcements/options.d.ts
|
|
@@ -1998,7 +2000,7 @@ type AiSchedulesSqlOptions = {
|
|
|
1998
2000
|
type AnnouncementsSqlOptions = {
|
|
1999
2001
|
readonly topic?: string;
|
|
2000
2002
|
readonly event?: string;
|
|
2001
|
-
readonly extraColumns?:
|
|
2003
|
+
readonly extraColumns?: ExtraColumns;
|
|
2002
2004
|
};
|
|
2003
2005
|
//#endregion
|
|
2004
2006
|
//#region src/blocks/api-keys/options.d.ts
|
|
@@ -2008,14 +2010,14 @@ type ApiKeysSqlOptions = {
|
|
|
2008
2010
|
readonly kinds?: readonly string[];
|
|
2009
2011
|
readonly touchInterval?: number;
|
|
2010
2012
|
readonly prefix?: string;
|
|
2011
|
-
readonly extraColumns?:
|
|
2013
|
+
readonly extraColumns?: ExtraColumns;
|
|
2012
2014
|
};
|
|
2013
2015
|
//#endregion
|
|
2014
2016
|
//#region src/blocks/approvals/options.d.ts
|
|
2015
2017
|
/** `blocks.approvals.options`. */
|
|
2016
2018
|
type ApprovalsSqlOptions = {
|
|
2017
2019
|
readonly policies?: unknown;
|
|
2018
|
-
readonly extraColumns?:
|
|
2020
|
+
readonly extraColumns?: ExtraColumns;
|
|
2019
2021
|
};
|
|
2020
2022
|
//#endregion
|
|
2021
2023
|
//#region src/blocks/attachments/options.d.ts
|
|
@@ -2028,10 +2030,27 @@ type AttachmentsSqlOptions = {
|
|
|
2028
2030
|
readonly path?: string;
|
|
2029
2031
|
readonly scanBuckets?: readonly string[];
|
|
2030
2032
|
readonly publicBuckets?: readonly string[];
|
|
2031
|
-
readonly
|
|
2033
|
+
readonly offline?: boolean;
|
|
2034
|
+
readonly extraColumns?: ExtraColumns;
|
|
2032
2035
|
};
|
|
2033
2036
|
//#endregion
|
|
2034
2037
|
//#region src/blocks/audit/options.d.ts
|
|
2038
|
+
/** `blocks.audit.options.ipHeader`. */
|
|
2039
|
+
interface AuditIpHeader {
|
|
2040
|
+
/** The request header that carries the client address. */
|
|
2041
|
+
readonly name: string;
|
|
2042
|
+
/** Which hop of a comma-separated list to take. Defaults to `"last"`. */
|
|
2043
|
+
readonly hop?: "first" | "last";
|
|
2044
|
+
}
|
|
2045
|
+
/** One entry of `blocks.audit.options.subjectColumns`. */
|
|
2046
|
+
interface AuditSubjectColumn {
|
|
2047
|
+
readonly type: "text" | "uuid" | "bigint";
|
|
2048
|
+
/**
|
|
2049
|
+
* The key in the row (or the event metadata) to read. Defaults to the column
|
|
2050
|
+
* name.
|
|
2051
|
+
*/
|
|
2052
|
+
readonly from?: string;
|
|
2053
|
+
}
|
|
2035
2054
|
/** `blocks.audit.options`. */
|
|
2036
2055
|
type AuditSqlOptions = {
|
|
2037
2056
|
readonly appendOnly?: boolean;
|
|
@@ -2043,12 +2062,21 @@ type AuditSqlOptions = {
|
|
|
2043
2062
|
readonly eventSource?: string;
|
|
2044
2063
|
readonly exempt?: unknown;
|
|
2045
2064
|
readonly impersonators?: string;
|
|
2065
|
+
/**
|
|
2066
|
+
* The header `request_ip()` reads; defaults to the last `x-forwarded-for`
|
|
2067
|
+
* hop.
|
|
2068
|
+
*/
|
|
2069
|
+
readonly ipHeader?: string | AuditIpHeader;
|
|
2046
2070
|
readonly keepMappedMetadata?: boolean;
|
|
2047
2071
|
readonly metadataColumns?: unknown;
|
|
2048
2072
|
readonly partitioned?: boolean;
|
|
2049
2073
|
readonly readPolicy?: boolean;
|
|
2050
2074
|
readonly requestIdHeader?: string;
|
|
2051
2075
|
readonly restricted?: boolean;
|
|
2076
|
+
/** A dotted JWT claim path; a caller that carries it is recorded as `staff`. */
|
|
2077
|
+
readonly staffClaim?: string;
|
|
2078
|
+
/** Indexed columns generated from a key of the row or event metadata. */
|
|
2079
|
+
readonly subjectColumns?: Readonly<Record<string, AuditSubjectColumn>>;
|
|
2052
2080
|
readonly tenantColumn?: string;
|
|
2053
2081
|
readonly tenantLabel?: unknown;
|
|
2054
2082
|
readonly tenantLabelKey?: string;
|
|
@@ -2086,7 +2114,7 @@ type BillingSqlOptions = {
|
|
|
2086
2114
|
//#region src/blocks/bookings/options.d.ts
|
|
2087
2115
|
/** `blocks.bookings.options`. */
|
|
2088
2116
|
type BookingsSqlOptions = {
|
|
2089
|
-
readonly extraColumns?:
|
|
2117
|
+
readonly extraColumns?: ExtraColumns;
|
|
2090
2118
|
/** Adds booking series: a recurrence rule that books every occurrence. */
|
|
2091
2119
|
readonly recurring?: boolean;
|
|
2092
2120
|
};
|
|
@@ -2101,14 +2129,14 @@ type BulkSqlOptions = {
|
|
|
2101
2129
|
//#region src/blocks/calendar/options.d.ts
|
|
2102
2130
|
/** `blocks.calendar.options`. */
|
|
2103
2131
|
type CalendarSqlOptions = {
|
|
2104
|
-
readonly extraColumns?:
|
|
2132
|
+
readonly extraColumns?: ExtraColumns;
|
|
2105
2133
|
};
|
|
2106
2134
|
//#endregion
|
|
2107
2135
|
//#region src/blocks/catalog/options.d.ts
|
|
2108
2136
|
/** `blocks.catalog.options`. */
|
|
2109
2137
|
type CatalogSqlOptions = {
|
|
2110
2138
|
readonly storefront?: string;
|
|
2111
|
-
readonly extraColumns?:
|
|
2139
|
+
readonly extraColumns?: ExtraColumns;
|
|
2112
2140
|
/** Language tags the catalog translates into; the first is the default. */
|
|
2113
2141
|
readonly locales?: readonly string[];
|
|
2114
2142
|
};
|
|
@@ -2116,7 +2144,7 @@ type CatalogSqlOptions = {
|
|
|
2116
2144
|
//#region src/blocks/collections/options.d.ts
|
|
2117
2145
|
/** `blocks.collections.options`. */
|
|
2118
2146
|
type CollectionsSqlOptions = {
|
|
2119
|
-
readonly extraColumns?:
|
|
2147
|
+
readonly extraColumns?: ExtraColumns;
|
|
2120
2148
|
};
|
|
2121
2149
|
//#endregion
|
|
2122
2150
|
//#region src/blocks/comments/options.d.ts
|
|
@@ -2134,7 +2162,7 @@ type CommentsSqlOptions = {
|
|
|
2134
2162
|
//#region src/blocks/compliance/options.d.ts
|
|
2135
2163
|
/** `blocks.compliance.options`. */
|
|
2136
2164
|
type ComplianceSqlOptions = {
|
|
2137
|
-
readonly extraColumns?:
|
|
2165
|
+
readonly extraColumns?: ExtraColumns;
|
|
2138
2166
|
};
|
|
2139
2167
|
//#endregion
|
|
2140
2168
|
//#region src/blocks/connectors/options.d.ts
|
|
@@ -2143,7 +2171,7 @@ type ConnectorsSqlOptions = {
|
|
|
2143
2171
|
readonly allowHttp?: boolean;
|
|
2144
2172
|
readonly trustFirstUse?: boolean;
|
|
2145
2173
|
readonly sessionTtl?: string;
|
|
2146
|
-
readonly extraColumns?:
|
|
2174
|
+
readonly extraColumns?: ExtraColumns;
|
|
2147
2175
|
};
|
|
2148
2176
|
//#endregion
|
|
2149
2177
|
//#region src/blocks/contacts/options.d.ts
|
|
@@ -2151,7 +2179,7 @@ type ConnectorsSqlOptions = {
|
|
|
2151
2179
|
type ContactsSqlOptions = {
|
|
2152
2180
|
readonly companyLifecycles?: unknown;
|
|
2153
2181
|
readonly personLifecycles?: unknown;
|
|
2154
|
-
readonly extraColumns?:
|
|
2182
|
+
readonly extraColumns?: ExtraColumns;
|
|
2155
2183
|
};
|
|
2156
2184
|
//#endregion
|
|
2157
2185
|
//#region src/blocks/contracts/options.d.ts
|
|
@@ -2159,7 +2187,7 @@ type ContactsSqlOptions = {
|
|
|
2159
2187
|
type ContractsSqlOptions = {
|
|
2160
2188
|
/** Days before the notice deadline the owner's renewal reminder fires. */
|
|
2161
2189
|
readonly reminderDays?: number;
|
|
2162
|
-
readonly extraColumns?:
|
|
2190
|
+
readonly extraColumns?: ExtraColumns;
|
|
2163
2191
|
};
|
|
2164
2192
|
//#endregion
|
|
2165
2193
|
//#region src/blocks/credentials/options.d.ts
|
|
@@ -2201,7 +2229,7 @@ type DealsSqlOptions = {
|
|
|
2201
2229
|
readonly priorities?: unknown;
|
|
2202
2230
|
readonly prefix?: string;
|
|
2203
2231
|
readonly readAll?: boolean;
|
|
2204
|
-
readonly extraColumns?:
|
|
2232
|
+
readonly extraColumns?: ExtraColumns;
|
|
2205
2233
|
};
|
|
2206
2234
|
//#endregion
|
|
2207
2235
|
//#region src/blocks/documents/options.d.ts
|
|
@@ -2227,7 +2255,7 @@ type DomainsSqlOptions = {
|
|
|
2227
2255
|
//#region src/blocks/donations/options.d.ts
|
|
2228
2256
|
/** `blocks.donations.options`. */
|
|
2229
2257
|
type DonationsSqlOptions = {
|
|
2230
|
-
readonly extraColumns?:
|
|
2258
|
+
readonly extraColumns?: ExtraColumns;
|
|
2231
2259
|
};
|
|
2232
2260
|
//#endregion
|
|
2233
2261
|
//#region src/blocks/drive/options.d.ts
|
|
@@ -2239,20 +2267,20 @@ type DriveSqlOptions = {
|
|
|
2239
2267
|
readonly memberRole?: unknown;
|
|
2240
2268
|
readonly subjectType?: string;
|
|
2241
2269
|
readonly conflict?: string;
|
|
2242
|
-
readonly extraColumns?:
|
|
2270
|
+
readonly extraColumns?: ExtraColumns;
|
|
2243
2271
|
};
|
|
2244
2272
|
//#endregion
|
|
2245
2273
|
//#region src/blocks/employees/options.d.ts
|
|
2246
2274
|
/** `blocks.employees.options`. */
|
|
2247
2275
|
type EmployeesSqlOptions = {
|
|
2248
2276
|
readonly employmentTypes?: readonly string[];
|
|
2249
|
-
readonly extraColumns?:
|
|
2277
|
+
readonly extraColumns?: ExtraColumns;
|
|
2250
2278
|
};
|
|
2251
2279
|
//#endregion
|
|
2252
2280
|
//#region src/blocks/expenses/options.d.ts
|
|
2253
2281
|
/** `blocks.expenses.options`. */
|
|
2254
2282
|
type ExpensesSqlOptions = {
|
|
2255
|
-
readonly extraColumns?:
|
|
2283
|
+
readonly extraColumns?: ExtraColumns;
|
|
2256
2284
|
};
|
|
2257
2285
|
//#endregion
|
|
2258
2286
|
//#region src/blocks/flags/options.d.ts
|
|
@@ -2272,7 +2300,7 @@ type FlagsSqlOptions = {
|
|
|
2272
2300
|
* column: "brand_id" } }`.
|
|
2273
2301
|
*/
|
|
2274
2302
|
readonly contexts?: Readonly<Record<string, FlagContextColumn>>;
|
|
2275
|
-
readonly extraColumns?:
|
|
2303
|
+
readonly extraColumns?: ExtraColumns;
|
|
2276
2304
|
};
|
|
2277
2305
|
//#endregion
|
|
2278
2306
|
//#region src/blocks/forms/options.d.ts
|
|
@@ -2280,13 +2308,13 @@ type FlagsSqlOptions = {
|
|
|
2280
2308
|
type FormsSqlOptions = {
|
|
2281
2309
|
readonly handlers?: unknown;
|
|
2282
2310
|
readonly publicLimit?: unknown;
|
|
2283
|
-
readonly extraColumns?:
|
|
2311
|
+
readonly extraColumns?: ExtraColumns;
|
|
2284
2312
|
};
|
|
2285
2313
|
//#endregion
|
|
2286
2314
|
//#region src/blocks/goals/options.d.ts
|
|
2287
2315
|
/** `blocks.goals.options`. */
|
|
2288
2316
|
type GoalsSqlOptions = {
|
|
2289
|
-
readonly extraColumns?:
|
|
2317
|
+
readonly extraColumns?: ExtraColumns;
|
|
2290
2318
|
};
|
|
2291
2319
|
//#endregion
|
|
2292
2320
|
//#region src/blocks/grants/options.d.ts
|
|
@@ -2299,7 +2327,7 @@ type GrantsSqlOptions = {
|
|
|
2299
2327
|
/** `blocks.hiring.options`. */
|
|
2300
2328
|
type HiringSqlOptions = {
|
|
2301
2329
|
readonly candidate?: string;
|
|
2302
|
-
readonly extraColumns?:
|
|
2330
|
+
readonly extraColumns?: ExtraColumns;
|
|
2303
2331
|
};
|
|
2304
2332
|
//#endregion
|
|
2305
2333
|
//#region src/blocks/identities/options.d.ts
|
|
@@ -2337,13 +2365,13 @@ type InboxSqlOptions = {
|
|
|
2337
2365
|
//#region src/blocks/incidents/options.d.ts
|
|
2338
2366
|
/** `blocks.incidents.options`. */
|
|
2339
2367
|
type IncidentsSqlOptions = {
|
|
2340
|
-
readonly extraColumns?:
|
|
2368
|
+
readonly extraColumns?: ExtraColumns;
|
|
2341
2369
|
};
|
|
2342
2370
|
//#endregion
|
|
2343
2371
|
//#region src/blocks/inventory/options.d.ts
|
|
2344
2372
|
/** `blocks.inventory.options`. */
|
|
2345
2373
|
type InventorySqlOptions = {
|
|
2346
|
-
readonly extraColumns?:
|
|
2374
|
+
readonly extraColumns?: ExtraColumns;
|
|
2347
2375
|
};
|
|
2348
2376
|
//#endregion
|
|
2349
2377
|
//#region src/blocks/invoices/options.d.ts
|
|
@@ -2354,7 +2382,7 @@ type InvoicesSqlOptions = {
|
|
|
2354
2382
|
readonly prefix?: string;
|
|
2355
2383
|
readonly creditPrefix?: string;
|
|
2356
2384
|
readonly termsDays?: number;
|
|
2357
|
-
readonly extraColumns?:
|
|
2385
|
+
readonly extraColumns?: ExtraColumns;
|
|
2358
2386
|
};
|
|
2359
2387
|
//#endregion
|
|
2360
2388
|
//#region src/blocks/knowledge/options.d.ts
|
|
@@ -2370,7 +2398,7 @@ type KnowledgeSqlOptions = {
|
|
|
2370
2398
|
//#region src/blocks/leases/options.d.ts
|
|
2371
2399
|
/** `blocks.leases.options`. */
|
|
2372
2400
|
type LeasesSqlOptions = {
|
|
2373
|
-
readonly extraColumns?:
|
|
2401
|
+
readonly extraColumns?: ExtraColumns;
|
|
2374
2402
|
};
|
|
2375
2403
|
//#endregion
|
|
2376
2404
|
//#region src/blocks/leave/options.d.ts
|
|
@@ -2379,7 +2407,7 @@ type LeaveSqlOptions = {
|
|
|
2379
2407
|
readonly policy?: unknown;
|
|
2380
2408
|
readonly workingDays?: readonly string[];
|
|
2381
2409
|
readonly allowNegative?: boolean;
|
|
2382
|
-
readonly extraColumns?:
|
|
2410
|
+
readonly extraColumns?: ExtraColumns;
|
|
2383
2411
|
};
|
|
2384
2412
|
//#endregion
|
|
2385
2413
|
//#region src/blocks/memory/options.d.ts
|
|
@@ -2403,7 +2431,7 @@ type MessagingSqlOptions = {
|
|
|
2403
2431
|
readonly editWindow?: number;
|
|
2404
2432
|
/** The jobs queue that sends scheduled messages. */
|
|
2405
2433
|
readonly scheduleQueue?: string;
|
|
2406
|
-
readonly extraColumns?:
|
|
2434
|
+
readonly extraColumns?: ExtraColumns;
|
|
2407
2435
|
/**
|
|
2408
2436
|
* `false` sends no `message.mentioned`, `message.direct` or `message.replied`
|
|
2409
2437
|
* notification.
|
|
@@ -2430,7 +2458,7 @@ type NotificationsSqlOptions = {
|
|
|
2430
2458
|
readonly realtime?: string;
|
|
2431
2459
|
readonly topic?: string;
|
|
2432
2460
|
readonly updatedEvent?: string;
|
|
2433
|
-
readonly extraColumns?:
|
|
2461
|
+
readonly extraColumns?: ExtraColumns;
|
|
2434
2462
|
};
|
|
2435
2463
|
//#endregion
|
|
2436
2464
|
//#region src/blocks/numbering/options.d.ts
|
|
@@ -2486,7 +2514,7 @@ type OnboardingSqlOptions = {
|
|
|
2486
2514
|
/** `blocks.orders.options`. */
|
|
2487
2515
|
type OrdersSqlOptions = {
|
|
2488
2516
|
readonly paymentWindowMinutes?: number;
|
|
2489
|
-
readonly extraColumns?:
|
|
2517
|
+
readonly extraColumns?: ExtraColumns;
|
|
2490
2518
|
/** Per-line preparation states and kitchen stations. Off by default. */
|
|
2491
2519
|
readonly kitchen?: boolean;
|
|
2492
2520
|
};
|
|
@@ -2498,7 +2526,7 @@ type OrganizationsSqlOptions = {
|
|
|
2498
2526
|
readonly attributes?: readonly string[];
|
|
2499
2527
|
readonly auditCategory?: unknown;
|
|
2500
2528
|
readonly deleteMode?: string;
|
|
2501
|
-
readonly extraColumns?:
|
|
2529
|
+
readonly extraColumns?: ExtraColumns;
|
|
2502
2530
|
readonly formerOwnerRole?: string;
|
|
2503
2531
|
readonly ownerInvariant?: boolean;
|
|
2504
2532
|
readonly ownerRole?: string;
|
|
@@ -2508,17 +2536,48 @@ type OrganizationsSqlOptions = {
|
|
|
2508
2536
|
readonly slugMinLength?: number;
|
|
2509
2537
|
readonly slugPattern?: string;
|
|
2510
2538
|
};
|
|
2539
|
+
/**
|
|
2540
|
+
* `platformRoles`: the platform roles a provider keeps outside the tenant,
|
|
2541
|
+
* which an invitation can grant.
|
|
2542
|
+
*/
|
|
2543
|
+
interface PlatformRolesOption {
|
|
2544
|
+
/** `schema.table` of the platform role grants. */
|
|
2545
|
+
readonly table: string;
|
|
2546
|
+
/** The user column. */
|
|
2547
|
+
readonly user: string;
|
|
2548
|
+
/** The role column. */
|
|
2549
|
+
readonly role: string;
|
|
2550
|
+
/** Where the role name lives when `role` holds an id. */
|
|
2551
|
+
readonly through?: {
|
|
2552
|
+
readonly table: string;
|
|
2553
|
+
readonly id: string;
|
|
2554
|
+
readonly column: string;
|
|
2555
|
+
/** A condition on the roles row `{row}`. */
|
|
2556
|
+
readonly where?: string;
|
|
2557
|
+
};
|
|
2558
|
+
/** A SQL template that holds when the caller may grant `{role}`. */
|
|
2559
|
+
readonly canAssign?: string;
|
|
2560
|
+
/** The same check for another user, `{user}`. */
|
|
2561
|
+
readonly canAssignFor?: string;
|
|
2562
|
+
}
|
|
2511
2563
|
/** `blocks.invitations.options`. */
|
|
2512
2564
|
type InvitationsSqlOptions = {
|
|
2513
2565
|
readonly maxValidFor?: string;
|
|
2514
|
-
readonly platformRoles?:
|
|
2566
|
+
readonly platformRoles?: PlatformRolesOption;
|
|
2515
2567
|
readonly prefill?: boolean;
|
|
2516
2568
|
readonly previewColumns?: readonly string[];
|
|
2517
2569
|
readonly requireConfirmedEmail?: boolean;
|
|
2518
2570
|
readonly tokenBytes?: number;
|
|
2519
2571
|
readonly tokenStorage?: string;
|
|
2520
2572
|
readonly validFor?: string;
|
|
2521
|
-
readonly extraColumns?:
|
|
2573
|
+
readonly extraColumns?: ExtraColumns;
|
|
2574
|
+
/** The role `create_invitation` and `invite_member` use when none is named. */
|
|
2575
|
+
readonly defaultRole?: string;
|
|
2576
|
+
/** Extra roles and teams an invitation grants on accept. */
|
|
2577
|
+
readonly onAccept?: {
|
|
2578
|
+
readonly roles?: boolean;
|
|
2579
|
+
readonly teams?: boolean;
|
|
2580
|
+
};
|
|
2522
2581
|
};
|
|
2523
2582
|
//#endregion
|
|
2524
2583
|
//#region src/blocks/outbox/options.d.ts
|
|
@@ -2543,14 +2602,14 @@ type PermissionsSqlOptions = {
|
|
|
2543
2602
|
//#region src/blocks/pipelines/options.d.ts
|
|
2544
2603
|
/** `blocks.pipelines.options`. */
|
|
2545
2604
|
type PipelinesSqlOptions = {
|
|
2546
|
-
readonly extraColumns?:
|
|
2605
|
+
readonly extraColumns?: ExtraColumns;
|
|
2547
2606
|
};
|
|
2548
2607
|
//#endregion
|
|
2549
2608
|
//#region src/blocks/profiles/options.d.ts
|
|
2550
2609
|
/** `blocks.profiles.options`. */
|
|
2551
2610
|
type ProfilesSqlOptions = {
|
|
2552
2611
|
readonly columnGrants?: boolean;
|
|
2553
|
-
readonly extraColumns?:
|
|
2612
|
+
readonly extraColumns?: ExtraColumns;
|
|
2554
2613
|
readonly metadata?: unknown;
|
|
2555
2614
|
readonly mirrorEmail?: boolean;
|
|
2556
2615
|
readonly readPolicy?: unknown;
|
|
@@ -2568,13 +2627,13 @@ type ProfilesSqlOptions = {
|
|
|
2568
2627
|
//#region src/blocks/promotions/options.d.ts
|
|
2569
2628
|
/** `blocks.promotions.options`. */
|
|
2570
2629
|
type PromotionsSqlOptions = {
|
|
2571
|
-
readonly extraColumns?:
|
|
2630
|
+
readonly extraColumns?: ExtraColumns;
|
|
2572
2631
|
};
|
|
2573
2632
|
//#endregion
|
|
2574
2633
|
//#region src/blocks/push/options.d.ts
|
|
2575
2634
|
/** `blocks.push.options`. */
|
|
2576
2635
|
type PushSqlOptions = {
|
|
2577
|
-
readonly extraColumns?:
|
|
2636
|
+
readonly extraColumns?: ExtraColumns;
|
|
2578
2637
|
};
|
|
2579
2638
|
//#endregion
|
|
2580
2639
|
//#region src/blocks/queue/options.d.ts
|
|
@@ -2589,7 +2648,7 @@ type RateLimitSqlOptions = {
|
|
|
2589
2648
|
};
|
|
2590
2649
|
/** `blocks.webhook-inbox.options`. */
|
|
2591
2650
|
type WebhookInboxSqlOptions = {
|
|
2592
|
-
readonly extraColumns?:
|
|
2651
|
+
readonly extraColumns?: ExtraColumns;
|
|
2593
2652
|
};
|
|
2594
2653
|
//#endregion
|
|
2595
2654
|
//#region src/blocks/quotes/options.d.ts
|
|
@@ -2599,7 +2658,7 @@ type QuotesSqlOptions = {
|
|
|
2599
2658
|
readonly contact?: string;
|
|
2600
2659
|
readonly prefix?: string;
|
|
2601
2660
|
readonly validDays?: number;
|
|
2602
|
-
readonly extraColumns?:
|
|
2661
|
+
readonly extraColumns?: ExtraColumns;
|
|
2603
2662
|
};
|
|
2604
2663
|
//#endregion
|
|
2605
2664
|
//#region src/blocks/reactions/options.d.ts
|
|
@@ -2612,14 +2671,14 @@ type ReactionsSqlOptions = {
|
|
|
2612
2671
|
/** `blocks.relations.options`. */
|
|
2613
2672
|
type RelationsSqlOptions = {
|
|
2614
2673
|
readonly kinds?: unknown;
|
|
2615
|
-
readonly extraColumns?:
|
|
2674
|
+
readonly extraColumns?: ExtraColumns;
|
|
2616
2675
|
};
|
|
2617
2676
|
//#endregion
|
|
2618
2677
|
//#region src/blocks/reminders/options.d.ts
|
|
2619
2678
|
/** `blocks.reminders.options`. */
|
|
2620
2679
|
type RemindersSqlOptions = {
|
|
2621
2680
|
readonly ruleFormat?: string;
|
|
2622
|
-
readonly extraColumns?:
|
|
2681
|
+
readonly extraColumns?: ExtraColumns;
|
|
2623
2682
|
};
|
|
2624
2683
|
//#endregion
|
|
2625
2684
|
//#region src/blocks/reserved-slugs/options.d.ts
|
|
@@ -2637,13 +2696,13 @@ type ReviewsSqlOptions = {
|
|
|
2637
2696
|
readonly maxBodyLength?: number;
|
|
2638
2697
|
readonly moderation?: string;
|
|
2639
2698
|
readonly requirePurchase?: boolean;
|
|
2640
|
-
readonly extraColumns?:
|
|
2699
|
+
readonly extraColumns?: ExtraColumns;
|
|
2641
2700
|
};
|
|
2642
2701
|
//#endregion
|
|
2643
2702
|
//#region src/blocks/saved-views/options.d.ts
|
|
2644
2703
|
/** `blocks.saved-views.options`. */
|
|
2645
2704
|
type SavedViewsSqlOptions = {
|
|
2646
|
-
readonly extraColumns?:
|
|
2705
|
+
readonly extraColumns?: ExtraColumns;
|
|
2647
2706
|
};
|
|
2648
2707
|
//#endregion
|
|
2649
2708
|
//#region src/blocks/search/options.d.ts
|
|
@@ -2662,7 +2721,7 @@ type SecurityEventsSqlOptions = {
|
|
|
2662
2721
|
//#region src/blocks/service-accounts/options.d.ts
|
|
2663
2722
|
/** `blocks["service-accounts"].options`. */
|
|
2664
2723
|
type ServiceAccountsSqlOptions = {
|
|
2665
|
-
readonly extraColumns?:
|
|
2724
|
+
readonly extraColumns?: ExtraColumns;
|
|
2666
2725
|
};
|
|
2667
2726
|
//#endregion
|
|
2668
2727
|
//#region src/blocks/sessions/options.d.ts
|
|
@@ -2682,7 +2741,7 @@ type SettingsSqlOptions = {
|
|
|
2682
2741
|
//#region src/blocks/share-links/options.d.ts
|
|
2683
2742
|
/** `blocks.share-links.options`. */
|
|
2684
2743
|
type ShareLinksSqlOptions = {
|
|
2685
|
-
readonly extraColumns?:
|
|
2744
|
+
readonly extraColumns?: ExtraColumns;
|
|
2686
2745
|
};
|
|
2687
2746
|
//#endregion
|
|
2688
2747
|
//#region src/blocks/signing-keys/options.d.ts
|
|
@@ -2695,7 +2754,7 @@ type SigningKeysSqlOptions = {
|
|
|
2695
2754
|
/** `blocks.sla.options`. */
|
|
2696
2755
|
type SlaSqlOptions = {
|
|
2697
2756
|
readonly businessHours?: unknown;
|
|
2698
|
-
readonly extraColumns?:
|
|
2757
|
+
readonly extraColumns?: ExtraColumns;
|
|
2699
2758
|
};
|
|
2700
2759
|
//#endregion
|
|
2701
2760
|
//#region src/blocks/sso/options.d.ts
|
|
@@ -2724,7 +2783,7 @@ type StreamsSqlOptions = {
|
|
|
2724
2783
|
//#region src/blocks/tags/options.d.ts
|
|
2725
2784
|
/** `blocks.tags.options`. */
|
|
2726
2785
|
type TagsSqlOptions = {
|
|
2727
|
-
readonly extraColumns?:
|
|
2786
|
+
readonly extraColumns?: ExtraColumns;
|
|
2728
2787
|
};
|
|
2729
2788
|
//#endregion
|
|
2730
2789
|
//#region src/blocks/tasks/options.d.ts
|
|
@@ -2732,20 +2791,21 @@ type TagsSqlOptions = {
|
|
|
2732
2791
|
type TasksSqlOptions = {
|
|
2733
2792
|
readonly prefix?: string;
|
|
2734
2793
|
readonly maxAssignees?: number;
|
|
2735
|
-
readonly extraColumns?:
|
|
2794
|
+
readonly extraColumns?: ExtraColumns;
|
|
2736
2795
|
};
|
|
2737
2796
|
//#endregion
|
|
2738
2797
|
//#region src/blocks/teams/options.d.ts
|
|
2739
2798
|
/** `blocks.teams.options`. */
|
|
2740
2799
|
type TeamsSqlOptions = {
|
|
2741
|
-
|
|
2742
|
-
readonly
|
|
2800
|
+
/** The key type of teams. Default `uuid`; `inbox` needs `uuid`. */
|
|
2801
|
+
readonly teamIdType?: "uuid" | "bigint";
|
|
2802
|
+
readonly extraColumns?: ExtraColumns;
|
|
2743
2803
|
};
|
|
2744
2804
|
//#endregion
|
|
2745
2805
|
//#region src/blocks/templates/options.d.ts
|
|
2746
2806
|
/** `blocks.templates.options`. */
|
|
2747
2807
|
type TemplatesSqlOptions = {
|
|
2748
|
-
readonly extraColumns?:
|
|
2808
|
+
readonly extraColumns?: ExtraColumns;
|
|
2749
2809
|
};
|
|
2750
2810
|
//#endregion
|
|
2751
2811
|
//#region src/blocks/time-tracking/options.d.ts
|
|
@@ -2753,14 +2813,14 @@ type TemplatesSqlOptions = {
|
|
|
2753
2813
|
type TimeTrackingSqlOptions = {
|
|
2754
2814
|
readonly policy?: unknown;
|
|
2755
2815
|
readonly timeZone?: string;
|
|
2756
|
-
readonly extraColumns?:
|
|
2816
|
+
readonly extraColumns?: ExtraColumns;
|
|
2757
2817
|
};
|
|
2758
2818
|
//#endregion
|
|
2759
2819
|
//#region src/blocks/trash/options.d.ts
|
|
2760
2820
|
/** `blocks.trash.options`. */
|
|
2761
2821
|
type TrashSqlOptions = {
|
|
2762
2822
|
readonly retentionDays?: number;
|
|
2763
|
-
readonly extraColumns?:
|
|
2823
|
+
readonly extraColumns?: ExtraColumns;
|
|
2764
2824
|
/**
|
|
2765
2825
|
* The column that marks a trashed row on tables outside `on`;
|
|
2766
2826
|
* `trashExtension` filters on it and sets it on delete.
|
|
@@ -2797,7 +2857,7 @@ type VercelMarketplaceSqlOptions = {
|
|
|
2797
2857
|
type VersionsSqlOptions = {
|
|
2798
2858
|
readonly keep?: number;
|
|
2799
2859
|
readonly debounce?: number;
|
|
2800
|
-
readonly extraColumns?:
|
|
2860
|
+
readonly extraColumns?: ExtraColumns;
|
|
2801
2861
|
};
|
|
2802
2862
|
//#endregion
|
|
2803
2863
|
//#region src/blocks/waitlist/options.d.ts
|
|
@@ -2806,7 +2866,7 @@ type WaitlistSqlOptions = {
|
|
|
2806
2866
|
readonly defaultRole?: string;
|
|
2807
2867
|
readonly codeField?: string;
|
|
2808
2868
|
readonly roles?: readonly string[];
|
|
2809
|
-
readonly extraColumns?:
|
|
2869
|
+
readonly extraColumns?: ExtraColumns;
|
|
2810
2870
|
};
|
|
2811
2871
|
//#endregion
|
|
2812
2872
|
//#region src/blocks/webhooks/options.d.ts
|
|
@@ -2830,7 +2890,7 @@ type WebhooksInSqlOptions = {
|
|
|
2830
2890
|
//#region src/blocks/workflow-editor/options.d.ts
|
|
2831
2891
|
/** `blocks["workflow-editor"].options`. */
|
|
2832
2892
|
type WorkflowEditorSqlOptions = {
|
|
2833
|
-
readonly extraColumns?:
|
|
2893
|
+
readonly extraColumns?: ExtraColumns;
|
|
2834
2894
|
};
|
|
2835
2895
|
//#endregion
|
|
2836
2896
|
//#region src/blocks/workflow-sdk/options.d.ts
|
|
@@ -3342,10 +3402,12 @@ declare function resolveBlock(config?: BlockConfig): ResolvedBlock;
|
|
|
3342
3402
|
/**
|
|
3343
3403
|
* SQL expression templates the SQL modules and the access policies call.
|
|
3344
3404
|
* `{permission}` is a text expression (a literal or a parameter), `{user}` a
|
|
3345
|
-
* uuid expression, `{tenant}` an expression of the tenant id type
|
|
3346
|
-
*
|
|
3347
|
-
*
|
|
3348
|
-
*
|
|
3405
|
+
* uuid expression, `{tenant}` an expression of the tenant id type, `{role}` a
|
|
3406
|
+
* text expression and `{roles}` a `text[]` of the roles being assigned
|
|
3407
|
+
* (`array[{role}]` for one role, the whole set with
|
|
3408
|
+
* `blocks.memberships.options.roles.many`). `{scope}` is the scope's name
|
|
3409
|
+
* unquoted, so it can be part of a function name
|
|
3410
|
+
* (`app.ids_{scope}({permission})`); write `'{scope}'` to pass it as text.
|
|
3349
3411
|
*/
|
|
3350
3412
|
interface AuthorizationFunctions {
|
|
3351
3413
|
/**
|
|
@@ -3373,9 +3435,15 @@ interface AuthorizationFunctions {
|
|
|
3373
3435
|
* `collections`, call it instead of reading `team_members`.
|
|
3374
3436
|
*/
|
|
3375
3437
|
readonly teamIdsOf?: string;
|
|
3376
|
-
/**
|
|
3438
|
+
/**
|
|
3439
|
+
* Whether the caller may assign `{role}` (or every one of `{roles}`) in
|
|
3440
|
+
* `{tenant}`.
|
|
3441
|
+
*/
|
|
3377
3442
|
readonly canAssign?: string;
|
|
3378
|
-
/**
|
|
3443
|
+
/**
|
|
3444
|
+
* Whether `{user}` may assign `{role}` (or every one of `{roles}`) in
|
|
3445
|
+
* `{tenant}`.
|
|
3446
|
+
*/
|
|
3379
3447
|
readonly canAssignFor?: string;
|
|
3380
3448
|
/**
|
|
3381
3449
|
* The permission keys `{user}` holds in `{tenant}`, as a `text[]`. It fills
|
|
@@ -3498,6 +3566,13 @@ interface AuthorizationMembership {
|
|
|
3498
3566
|
readonly value: string;
|
|
3499
3567
|
};
|
|
3500
3568
|
readonly idColumn: string;
|
|
3569
|
+
/**
|
|
3570
|
+
* `schema.table` of the membership's role set, one row per `(scope id, user,
|
|
3571
|
+
* role)`, when a member can hold several roles. better-supabase's own is
|
|
3572
|
+
* `better_supabase.membership_roles`
|
|
3573
|
+
* (`blocks.memberships.options.roles.many`).
|
|
3574
|
+
*/
|
|
3575
|
+
readonly rolesTable?: string;
|
|
3501
3576
|
}
|
|
3502
3577
|
/** A membership table whose role column points into a roles table. */
|
|
3503
3578
|
interface AuthorizationRoleSource {
|
|
@@ -3519,6 +3594,13 @@ interface AuthorizationTokenHook {
|
|
|
3519
3594
|
readonly function: string;
|
|
3520
3595
|
/** The claim it writes the active tenant id to. */
|
|
3521
3596
|
readonly tenantClaim?: string;
|
|
3597
|
+
/**
|
|
3598
|
+
* Where it reads the active organization from: the `auth.organization.claim`
|
|
3599
|
+
* key in `app_metadata` (`"claim"`), a profile column, or the request
|
|
3600
|
+
* (`"resolver"`). Doctor BS409 warns when `switch_organization` writes it
|
|
3601
|
+
* somewhere else (`blocks.permissions.activeTenant`).
|
|
3602
|
+
*/
|
|
3603
|
+
readonly activeOrganizationFrom?: ActiveTenantSource;
|
|
3522
3604
|
/** Claims it writes itself, which a second writer would contradict. */
|
|
3523
3605
|
readonly ownedClaims: readonly string[];
|
|
3524
3606
|
/**
|
|
@@ -3608,4 +3690,4 @@ declare function providerApiProblem(provider: {
|
|
|
3608
3690
|
readonly apiVersion?: unknown;
|
|
3609
3691
|
}): string | undefined;
|
|
3610
3692
|
//#endregion
|
|
3611
|
-
export { tenantNameOf as A, EntityConfig as C, OwnTablePolicies as D, NamedInstance as E,
|
|
3693
|
+
export { tenantNameOf as A, EntityConfig as C, OwnTablePolicies as D, NamedInstance as E, CommentsSqlOptions as F, TablesOf as I, BlockNameRegistry as L, BlockOptionsRegistry as M, PlatformRolesOption as N, ResolvedBlock as O, MessagingSqlOptions as P, EntitiesConfig as S, InstanceOn as T, BlockName as _, AuthorizationProvider as a, DEFAULT_ACTIVE_TENANT as b, AuthorizationScope as c, AccessBlockConfig as d, ActiveTenantSource as f, BlockMode as g, BlockConfigOf as h, AuthorizationPermission as i, BLOCK_OPTION_SCHEMAS as j, resolveBlock as k, AuthorizationTokenHook as l, BlockConfig as m, AuthorizationMembership as n, AuthorizationRequirement as o, AnyBlocksConfig as p, AuthorizationOperation as r, AuthorizationRoleSource as s, AuthorizationFunctions as t, providerApiProblem as u, BlockScope as v, InstanceKeys as w, DisabledRow as x, BlocksConfig as y };
|