better-supabase 0.61.0 → 0.62.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/{account-parts-DtC5voD1.d.ts → account-parts-C3mte2Y7.d.ts} +1 -1
- package/dist/{adapter-base-DGiRWzEo.js → adapter-base-DXF0tNJJ.js} +1 -1
- package/dist/{agents-3wTmHYZr.d.ts → agents-CRTcqx6K.d.ts} +2 -2
- package/dist/{ai-schedules-CtxaSWA1.d.ts → ai-schedules-DdoefSrp.d.ts} +1 -1
- package/dist/ai-sdk/agents/index.d.ts +1 -1
- package/dist/ai-sdk/workflow/index.d.ts +1 -1
- package/dist/{api-Q23GAwx1.js → api-C5GmF1ZU.js} +1 -1
- package/dist/{api-pGkHTqH6.d.ts → api-D4gZPhMd.d.ts} +1 -1
- package/dist/{app-tables-BHoeMC9w.d.ts → app-tables-C0w_j1sJ.d.ts} +1 -1
- package/dist/astro/index.d.ts +3 -3
- package/dist/astro/index.js +3 -3
- package/dist/{audit-actions-DC-AtyWB.d.ts → audit-actions-be1sy-Vh.d.ts} +1 -0
- package/dist/{authorization-glyinWcf.d.ts → authorization-DKxttkik.d.ts} +1 -1
- package/dist/better-result/index.d.ts +2 -2
- package/dist/{bind-B-NW7-Fd.d.ts → bind-DiQyvXnj.d.ts} +4 -4
- package/dist/{block-env-BN4cyqTj.d.ts → block-env-aG5V88tR.d.ts} +4 -4
- package/dist/{block-tables-CkbJsNys.d.ts → block-tables-lpnW9xMs.d.ts} +1 -1
- package/dist/blocks/access-requests/index.d.ts +1 -1
- package/dist/blocks/accounting/index.d.ts +1 -1
- package/dist/blocks/acknowledgements/index.d.ts +1 -1
- package/dist/blocks/activities/index.d.ts +2 -2
- package/dist/blocks/advisories/index.d.ts +1 -1
- package/dist/blocks/agent-checkout/index.d.ts +1 -1
- package/dist/blocks/agents/index.d.ts +1 -1
- package/dist/blocks/ai-cache/index.d.ts +1 -1
- package/dist/blocks/ai-chat/index.d.ts +1 -1
- package/dist/blocks/ai-evals/index.d.ts +1 -1
- package/dist/blocks/ai-files/index.d.ts +1 -1
- package/dist/blocks/ai-guardrails/index.d.ts +1 -1
- package/dist/blocks/ai-keys/index.d.ts +1 -1
- package/dist/blocks/ai-schedules/index.d.ts +2 -2
- package/dist/blocks/announcements/index.d.ts +4 -4
- package/dist/blocks/api-keys/index.d.ts +1 -1
- package/dist/blocks/appraisals/index.d.ts +1 -1
- package/dist/blocks/approvals/index.d.ts +1 -1
- package/dist/blocks/assets/index.d.ts +2 -2
- package/dist/blocks/assignment/index.d.ts +1 -1
- package/dist/blocks/attachments/index.d.ts +5 -5
- package/dist/blocks/audit/index.d.ts +2 -2
- package/dist/blocks/automations/index.d.ts +3 -3
- package/dist/blocks/banking/index.d.ts +1 -1
- package/dist/blocks/billable-time/index.d.ts +1 -1
- package/dist/blocks/billing/index.d.ts +3 -3
- package/dist/blocks/bookings/index.d.ts +2 -2
- package/dist/blocks/bulk-actions/index.d.ts +2 -2
- package/dist/blocks/calendar/index.d.ts +3 -3
- package/dist/blocks/care/index.d.ts +27 -27
- package/dist/blocks/care-plans/index.d.ts +3 -3
- package/dist/blocks/cases/index.d.ts +3 -3
- package/dist/blocks/catalog/index.d.ts +2 -2
- package/dist/blocks/channels/index.d.ts +1 -1
- package/dist/blocks/clinical-decision-support/index.d.ts +1 -1
- package/dist/blocks/cms/index.d.ts +5 -5
- package/dist/blocks/collaboration/index.d.ts +6 -6
- package/dist/blocks/collections/index.d.ts +1 -1
- package/dist/blocks/comments/index.d.ts +2 -2
- package/dist/blocks/commerce/index.d.ts +5 -5
- package/dist/blocks/commissions/index.d.ts +1 -1
- package/dist/blocks/compliance/index.d.ts +1 -1
- package/dist/blocks/connectors/index.d.ts +1 -1
- package/dist/blocks/consents/index.d.ts +2 -2
- package/dist/blocks/contacts/index.d.ts +2 -2
- package/dist/blocks/content/index.d.ts +2 -2
- package/dist/blocks/contracts/index.d.ts +1 -1
- package/dist/blocks/courses/index.d.ts +2 -2
- package/dist/blocks/created-by/index.d.ts +2 -2
- package/dist/blocks/crm/index.d.ts +17 -17
- package/dist/blocks/custom-fields/index.d.ts +1 -1
- package/dist/blocks/dam/index.d.ts +2 -2
- package/dist/blocks/data-lifecycle/index.d.ts +2 -2
- package/dist/blocks/deadlines/index.d.ts +1 -1
- package/dist/blocks/deals/index.d.ts +1 -1
- package/dist/blocks/dispatch/index.d.ts +2 -2
- package/dist/blocks/document-templates/index.d.ts +2 -2
- package/dist/blocks/documents/index.d.ts +1 -1
- package/dist/blocks/domains/index.d.ts +1 -1
- package/dist/blocks/donations/index.d.ts +1 -1
- package/dist/blocks/drive/index.d.ts +5 -5
- package/dist/blocks/e-prescribing/index.d.ts +1 -1
- package/dist/blocks/employees/index.d.ts +1 -1
- package/dist/blocks/enrichment/index.d.ts +1 -1
- package/dist/blocks/enrollments/index.d.ts +2 -2
- package/dist/blocks/entitlements/index.d.ts +3 -3
- package/dist/blocks/events/index.d.ts +3 -3
- package/dist/blocks/expenses/index.d.ts +1 -1
- package/dist/blocks/field-history/index.d.ts +1 -1
- package/dist/blocks/filespace/index.d.ts +8 -8
- package/dist/blocks/finance/index.d.ts +5 -5
- package/dist/blocks/flags/index.d.ts +1 -1
- package/dist/blocks/forecasts/index.d.ts +1 -1
- package/dist/blocks/forms/index.d.ts +3 -3
- package/dist/blocks/funding/index.d.ts +2 -2
- package/dist/blocks/goals/index.d.ts +1 -1
- package/dist/blocks/governance/index.d.ts +4 -4
- package/dist/blocks/guests/index.d.ts +1 -1
- package/dist/blocks/hiring/index.d.ts +1 -1
- package/dist/blocks/identities/index.d.ts +1 -1
- 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 +1 -1
- package/dist/blocks/index.d.ts +5 -5
- package/dist/blocks/inspections/index.d.ts +2 -2
- package/dist/blocks/inventory/index.d.ts +1 -1
- package/dist/blocks/invoices/index.d.ts +1 -1
- package/dist/blocks/knowledge/index.d.ts +1 -1
- package/dist/blocks/lead-scoring/index.d.ts +2 -2
- package/dist/blocks/learning/index.d.ts +3 -3
- package/dist/blocks/leases/index.d.ts +1 -1
- package/dist/blocks/leave/index.d.ts +1 -1
- package/dist/blocks/ledger/index.d.ts +1 -1
- package/dist/blocks/legal-entities/index.d.ts +2 -2
- package/dist/blocks/lims/index.d.ts +2 -2
- package/dist/blocks/mail-sync/index.d.ts +3 -3
- package/dist/blocks/maintenance/index.d.ts +2 -2
- package/dist/blocks/manufacturing/index.d.ts +2 -2
- package/dist/blocks/medications/index.d.ts +1 -1
- package/dist/blocks/meetings/index.d.ts +3 -3
- package/dist/blocks/memberships/index.d.ts +2 -2
- package/dist/blocks/memory/index.d.ts +1 -1
- package/dist/blocks/messaging/index.d.ts +5 -5
- package/dist/blocks/metrics/index.d.ts +1 -1
- 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 +5 -5
- package/dist/blocks/numbering/index.d.ts +1 -1
- package/dist/blocks/oauth-server/index.d.ts +1 -1
- package/dist/blocks/observations/index.d.ts +2 -2
- package/dist/blocks/onboarding/index.d.ts +2 -2
- package/dist/blocks/option-sets/index.d.ts +2 -2
- package/dist/blocks/orders/index.d.ts +1 -1
- package/dist/blocks/organizations/index.d.ts +2 -2
- package/dist/blocks/outbox/index.d.ts +1 -1
- package/dist/blocks/passes/index.d.ts +2 -2
- package/dist/blocks/payroll-export/index.d.ts +2 -2
- package/dist/blocks/people/index.d.ts +7 -7
- package/dist/blocks/periods/index.d.ts +1 -1
- package/dist/blocks/permissions/index.d.ts +3 -3
- package/dist/blocks/pipelines/index.d.ts +2 -2
- package/dist/blocks/posts/index.d.ts +2 -2
- package/dist/blocks/procurement/index.d.ts +5 -5
- package/dist/blocks/profiles/index.d.ts +1 -1
- package/dist/blocks/projects/index.d.ts +7 -7
- package/dist/blocks/promotions/index.d.ts +1 -1
- package/dist/blocks/prompts/index.d.ts +1 -1
- package/dist/blocks/push/index.d.ts +2 -2
- package/dist/blocks/qualifications/index.d.ts +2 -2
- package/dist/blocks/queue/index.d.ts +2 -2
- package/dist/blocks/quotes/index.d.ts +1 -1
- package/dist/blocks/rank/index.d.ts +1 -1
- package/dist/blocks/reactions/index.d.ts +4 -4
- package/dist/blocks/recruiting/index.d.ts +4 -4
- package/dist/blocks/referrals/index.d.ts +1 -1
- package/dist/blocks/relations/index.d.ts +1 -1
- package/dist/blocks/reminders/index.d.ts +1 -1
- package/dist/blocks/reviews/index.d.ts +1 -1
- package/dist/blocks/rfqs/index.d.ts +2 -2
- package/dist/blocks/risks/index.d.ts +2 -2
- package/dist/blocks/saas/index.d.ts +12 -12
- package/dist/blocks/sales/index.d.ts +1 -1
- package/dist/blocks/saved-views/index.d.ts +3 -3
- package/dist/blocks/scheduling/index.d.ts +4 -4
- package/dist/blocks/scores/index.d.ts +2 -2
- package/dist/blocks/search/index.d.ts +3 -3
- package/dist/blocks/security-events/index.d.ts +1 -1
- package/dist/blocks/segments/index.d.ts +2 -2
- package/dist/blocks/sequences/index.d.ts +3 -3
- package/dist/blocks/service/index.d.ts +7 -7
- package/dist/blocks/service-accounts/index.d.ts +1 -1
- package/dist/blocks/sessions/index.d.ts +2 -2
- package/dist/blocks/settings/index.d.ts +2 -2
- package/dist/blocks/share-links/index.d.ts +1 -1
- package/dist/blocks/shifts/index.d.ts +2 -2
- package/dist/blocks/shipments/index.d.ts +1 -1
- package/dist/blocks/signatures/index.d.ts +2 -2
- package/dist/blocks/signing-keys/index.d.ts +1 -1
- package/dist/blocks/sla/index.d.ts +1 -1
- package/dist/blocks/sso/index.d.ts +1 -1
- package/dist/blocks/state-machine/index.d.ts +1 -1
- package/dist/blocks/subjects/index.d.ts +2 -2
- package/dist/blocks/support/index.d.ts +5 -5
- package/dist/blocks/tags/index.d.ts +2 -2
- package/dist/blocks/tasks/index.d.ts +2 -2
- package/dist/blocks/tax/index.d.ts +2 -2
- package/dist/blocks/teams/index.d.ts +1 -1
- package/dist/blocks/templates/index.d.ts +1 -1
- package/dist/blocks/tills/index.d.ts +1 -1
- package/dist/blocks/time-entries/index.d.ts +2 -2
- package/dist/blocks/timeline/index.d.ts +1 -1
- package/dist/blocks/trash/index.d.ts +1 -1
- package/dist/blocks/undo/index.d.ts +2 -2
- package/dist/blocks/updated-at/index.d.ts +2 -2
- package/dist/blocks/usage/index.d.ts +2 -2
- package/dist/blocks/vercel-marketplace/index.d.ts +1 -1
- package/dist/blocks/versions/index.d.ts +1 -1
- package/dist/blocks/waitlist/index.d.ts +1 -1
- package/dist/blocks/warehouse/index.d.ts +1 -1
- package/dist/blocks/warranty/index.d.ts +1 -1
- package/dist/blocks/webhooks/index.d.ts +3 -3
- package/dist/blocks/webhooks/index.js +5 -2
- package/dist/blocks/workflow-editor/index.d.ts +4 -4
- package/dist/blocks/workflows/index.d.ts +4 -4
- package/dist/{blocks-D4ngpPJ_.d.ts → blocks-BaVwMDrs.d.ts} +8 -2
- package/dist/{build-CRxrX567.js → build-C0BLapAI.js} +1 -1
- package/dist/{cache-tags-UWvxDMDO.d.ts → cache-tags-THgO4say.d.ts} +1 -1
- package/dist/claims/index.d.ts +4 -4
- package/dist/{claims-source-D-4CztOl.d.ts → claims-source-yTqGqUDc.d.ts} +1 -1
- package/dist/cli/add-8PulB0kB.js +1 -0
- package/dist/cli/{add-ucxskHiv.js → add-DH4qqKNb.js} +11 -11
- package/dist/cli/{add-CN5jkEFM.js → add-DLYO-lcP.js} +2 -2
- package/dist/cli/{app-table-files-FcgTfOf9.js → app-table-files--ulI7C3Z.js} +4 -4
- package/dist/cli/{app-tables-DCpSNfJ3.js → app-tables-CQVNZglP.js} +2 -2
- package/dist/cli/{backfill-DVP_elK_.js → backfill-Byn-Pe2a.js} +3 -3
- package/dist/cli/bin.js +1 -1
- package/dist/cli/{blocks-CFKjKW4s.js → blocks-BATYI3l9.js} +1 -1
- package/dist/cli/{blocks-iSEepN2Y.js → blocks-D7DYKEOZ.js} +1 -1
- package/dist/cli/{cache-CNa3fjK-.js → cache-D6iHVy6b.js} +1 -1
- package/dist/cli/{codemod-DH-VSZps.js → codemod-PLqZ1YGz.js} +5 -5
- package/dist/cli/{codemod-naming-CuQ0ltfE.js → codemod-naming-BgEIRJLM.js} +1 -1
- package/dist/cli/{column-renames-CtcG8MR5.js → column-renames-B1bMtdIF.js} +2 -2
- package/dist/cli/{config-DX58lDf7.js → config-By5EbpdJ.js} +1 -1
- package/dist/cli/{config-CoW6aoul.js → config-D4AVoIh5.js} +1 -1
- package/dist/cli/{content-mapper-TATvvrmb.js → content-mapper-BGus1ryq.js} +1 -1
- package/dist/cli/{db-CZ9qHsDs.js → db-C4up7wFU.js} +2 -2
- package/dist/cli/{dev-BDv1efAy.js → dev-Bd6RJwLg.js} +5 -5
- package/dist/cli/{doctor-CkO1yd7F.js → doctor-DW_QzhsK.js} +39 -22
- package/dist/cli/{emit-OhupwGNp.js → emit-DGhalWTA.js} +2 -2
- package/dist/cli/{gen-1lVJoeH1.js → gen-BjMSXpcG.js} +5 -5
- package/dist/cli/{gen-tasks-BgxoXxuF.js → gen-tasks-D3kLr5we.js} +11 -11
- package/dist/cli/index.d.ts +1 -1
- package/dist/cli/index.js +8 -8
- package/dist/cli/{init-Defy7VJ0.js → init-DeGm-42D.js} +9 -9
- package/dist/cli/{live-DmvnAvGV.js → live-CJ3gBXTW.js} +2 -2
- package/dist/cli/{mcp-BGKeD-lo.js → mcp-C7bG8fs9.js} +2 -2
- package/dist/cli/{memo-backend-3u-X51UO.js → memo-backend-BbAaoaCp.js} +1 -1
- package/dist/cli/{metadata-D0UazHyQ.js → metadata-Da7lPV1G.js} +4 -4
- package/dist/cli/{migrate-PshyB8a6.js → migrate-adO6TGQx.js} +1 -1
- package/dist/cli/{migration-safety-DYgRA8-5.js → migration-safety-TjFxbPdK.js} +2 -2
- package/dist/cli/{module-migration-CRsIlrig.js → module-migration-BOwCFfuw.js} +1 -1
- package/dist/cli/{partition-ht8zldUV.js → partition-Bi76oVvt.js} +3 -3
- package/dist/cli/{powersync-r6iL7zEo.js → powersync-01LIe9WO.js} +4 -4
- package/dist/cli/powersync-BIncCNre.js +1 -0
- package/dist/cli/{print-Ca78W5ZF.js → print-CoDV1AZr.js} +2 -2
- package/dist/cli/{providers-DhMSptuy.js → providers-B3VKJOGS.js} +1 -1
- package/dist/cli/{prune-workflows-DyZx-veL.js → prune-workflows-Ck7bPjbs.js} +3 -3
- package/dist/cli/{remove-37g_SvZW.js → remove-B0mcKNLX.js} +6 -6
- package/dist/cli/{render-cache-BYkVt264.js → render-cache-Dkkervpu.js} +1 -1
- package/dist/cli/{render-Bfh2EtMO.js → render-g0u-8VRx.js} +5 -5
- package/dist/cli/{run-CfWFddfH.js → run-DKHipy0c.js} +7 -7
- package/dist/cli/{run-DEPt1rAn.js → run-DcjkMeLQ.js} +35 -35
- package/dist/cli/seed-B3MrC1Qe.js +1 -0
- package/dist/cli/{seed-pDWlnzyK.js → seed-BufZFJ_Q.js} +2 -2
- package/dist/cli/{shared-BrAtQXmC.js → shared-BL_SZdUw.js} +1 -1
- package/dist/cli/{source-Bt6UAek-.js → source-BBn7ypvg.js} +1 -1
- package/dist/cli/{source-args-D5BSEgUG.js → source-args-CvgOHwlj.js} +1 -1
- package/dist/cli/{spec-DsNayDt2.js → spec-COv0ojkG.js} +2 -2
- package/dist/cli/{spec-BJreyth3.js → spec-DH55djVx.js} +1 -1
- package/dist/cli/{sql-layout-Bt7NcWXk.js → sql-layout-ClqJfxAp.js} +3 -3
- package/dist/cli/{squash-DmbB7Gx9.js → squash-Cit4Liiw.js} +1 -1
- package/dist/cli/{sync-DFAkNjw_.js → sync-Ba5EvTIT.js} +4 -4
- package/dist/cli/{upgrade-D8GOjXrv.js → upgrade-BIuxR2Z-.js} +5 -5
- package/dist/cli/{upgrade-DP-30QID.js → upgrade-DI4ZTrXV.js} +5 -5
- package/dist/cli/{verify-O5zxWWuE.js → verify-CR7f21Ri.js} +2 -2
- package/dist/cli/{version-CHVFvh95.js → version-D_miCSxz.js} +1 -1
- package/dist/client/index.d.ts +5 -5
- package/dist/client/index.js +1 -1
- package/dist/client/native/index.d.ts +5 -5
- package/dist/client/native/index.js +2 -2
- package/dist/{composite-CxojRRUF.d.ts → composite-BInEW9vs.d.ts} +3 -3
- package/dist/{composite-Bxpd7oru.js → composite-C13UCNgm.js} +1 -1
- package/dist/{composite-reads-CK-Y5b6M.d.ts → composite-reads-C942bzhw.d.ts} +1 -1
- package/dist/config/index.d.ts +4 -4
- package/dist/config/index.js +4 -4
- package/dist/{config-cisS43w5.js → config-1kAVpZc_.js} +3 -3
- package/dist/{config-a_CzEbpi.js → config-L5_4kg24.js} +1 -1
- package/dist/{context-m-t6Kr9_.d.ts → context-C-msUG_m.d.ts} +4 -4
- package/dist/contract/index.d.ts +4 -4
- package/dist/{controller-zwQFyrOG.d.ts → controller-DMoPjq2t.d.ts} +1 -1
- package/dist/{conversion-b6htac73.d.ts → conversion-Cckh_HHY.d.ts} +1 -1
- package/dist/create/index.d.ts +4 -4
- package/dist/create/index.js +3 -3
- package/dist/create/lite/index.d.ts +3 -3
- package/dist/create/lite/index.js +4 -4
- package/dist/{db-blocks-_jJICfjp.d.ts → db-blocks-BQkHb77X.d.ts} +3 -3
- package/dist/{define-block-DQvTGOGv.d.ts → define-block-ClbL68WH.d.ts} +2 -2
- package/dist/{define-runtime-DsFTahQB.js → define-runtime-BbNPkt-5.js} +17 -1
- package/dist/{define-runtime-full-B_cMkyCk.js → define-runtime-full-gpz09qAj.js} +16 -3
- package/dist/{delete-account-BQDeafVT.d.ts → delete-account-DKGAVT94.d.ts} +1 -1
- package/dist/{drive-DaEK5ZxU.d.ts → drive-DXU2QoV_.d.ts} +1 -1
- package/dist/edge/index.d.ts +5 -5
- package/dist/edge/index.js +4 -4
- package/dist/{entitlements-D4ob6MfK.d.ts → entitlements-DKNLoLw3.d.ts} +2 -2
- package/dist/{executor-D24_D6dr.js → executor-DABWqMfV.js} +1 -1
- package/dist/{executor-nx2Q8Xdy.d.ts → executor-h098g0vY.d.ts} +2 -2
- package/dist/expo/index.d.ts +2 -2
- package/dist/expo/index.js +3 -3
- package/dist/{extract-W4zb3wIh.d.ts → extract-CzjhSs6g.d.ts} +1 -1
- package/dist/{extras-ByEPERCR.d.ts → extras-Ctnag4x3.d.ts} +1 -1
- package/dist/{field-errors-pj0uOXSg.d.ts → field-errors-D0vkq05i.d.ts} +6 -6
- package/dist/{former-permission-keys-D8FbWktT.js → former-permission-keys-FPrqQHXf.js} +1 -1
- package/dist/{framework-pfJvMQy3.js → framework-BQgHM3zD.js} +1 -1
- package/dist/{framework-BYx1ke3r.d.ts → framework-CEMVz7JS.d.ts} +3 -3
- package/dist/generators/factories/index.d.ts +1 -1
- package/dist/generators/factories/index.js +1 -1
- package/dist/generators/index.d.ts +2 -2
- package/dist/generators/json-schema/index.d.ts +2 -2
- package/dist/generators/json-schema/index.js +1 -1
- package/dist/generators/nuqs/index.d.ts +1 -1
- package/dist/generators/nuqs/index.js +1 -1
- package/dist/generators/standard-schema/index.d.ts +1 -1
- package/dist/generators/standard-schema/index.js +1 -1
- package/dist/generators/valibot/index.d.ts +1 -1
- package/dist/generators/valibot/index.js +1 -1
- package/dist/generators/zod/index.d.ts +1 -1
- package/dist/generators/zod/index.js +1 -1
- package/dist/hono/index.d.ts +4 -4
- package/dist/hono/index.js +3 -3
- package/dist/{index-ByCXNZ2j.d.ts → index-6L3fO1VW.d.ts} +2 -2
- package/dist/{index-IrsC8TLH.d.ts → index-B9kqCDKK.d.ts} +2 -2
- package/dist/{index-DYh76mE_.d.ts → index-BG1eY1KO.d.ts} +1 -1
- package/dist/{index-ClqA-t45.d.ts → index-BIk7uOsB.d.ts} +1 -1
- package/dist/{index-SWDnWdWw.d.ts → index-BNbcydCQ.d.ts} +1 -1
- package/dist/{index-DsNwQRWG.d.ts → index-BO4gZI8-.d.ts} +1 -1
- package/dist/{index-CQGi7Jnn.d.ts → index-BTgHDNoK.d.ts} +2 -2
- package/dist/{index-CxZV8RJE.d.ts → index-BoidURQg.d.ts} +1 -1
- package/dist/{index-BYDpdZxq.d.ts → index-BwbFX9kz.d.ts} +1 -1
- package/dist/{index-SZ8qGIVO.d.ts → index-Bz-T_58c.d.ts} +9 -9
- package/dist/{index-DpoUltRu.d.ts → index-C-vdLX8y.d.ts} +1 -1
- package/dist/{index-BpQxfGSO.d.ts → index-C0rHOTr-.d.ts} +1 -1
- package/dist/{index-BVuN7_fC.d.ts → index-C1rKo4z7.d.ts} +1 -1
- package/dist/{index-DyV6z0Q_.d.ts → index-C7AEdCOx.d.ts} +1 -1
- package/dist/{index-BfnBjZpy.d.ts → index-CN9tlkaZ.d.ts} +3 -3
- package/dist/{index-WoE9Z_V-.d.ts → index-CO_JEQpa.d.ts} +1 -1
- package/dist/{index-CjoB5SrD.d.ts → index-CaBdEfvB.d.ts} +3 -3
- package/dist/{index-C37Wq488.d.ts → index-CfYIKxmO.d.ts} +1 -1
- package/dist/{index-CxX_Bgfa.d.ts → index-Cy-294dJ.d.ts} +1 -1
- package/dist/{index-46tesKqa.d.ts → index-DHwwaa5c.d.ts} +1 -1
- package/dist/{index-BomyYKtC.d.ts → index-DLPEBVA3.d.ts} +4 -4
- package/dist/{index-D_0l5hHh.d.ts → index-DMaROBj_.d.ts} +2 -2
- package/dist/{index-Dea13gIz.d.ts → index-DPHg8c59.d.ts} +4 -4
- package/dist/{index-Dyhkn8FU.d.ts → index-DTBxclC4.d.ts} +2 -2
- package/dist/{index-DCqy0ESb.d.ts → index-DeJHUkru.d.ts} +2 -2
- package/dist/{index-CDX9U_CH.d.ts → index-DewyE3_q.d.ts} +1 -1
- package/dist/{index-DlUd0CTA.d.ts → index-DwC5RgXo.d.ts} +7 -7
- package/dist/{index-DeI4h1N1.d.ts → index-FfVEwPC7.d.ts} +1 -1
- package/dist/{index-DW_S9n3h.d.ts → index-JCe4Kgvs.d.ts} +2 -2
- package/dist/{index-r_SO6mVm.d.ts → index-L9nFXemf.d.ts} +3 -3
- package/dist/{index-CWTWbIz_.d.ts → index-M6PP_nv1.d.ts} +1 -1
- package/dist/{index-CriIH7di.d.ts → index-OPLT30am.d.ts} +4 -4
- package/dist/{index-Bu4YwWl0.d.ts → index-bDmQ69hy.d.ts} +1 -1
- package/dist/{index-Crm9IjfQ.d.ts → index-b_QoL2Xl.d.ts} +1 -1
- package/dist/{index-BZCCv04g.d.ts → index-k-3GAYGO.d.ts} +2 -2
- package/dist/{index-BLPzvJ5v.d.ts → index-tHzSmAVM.d.ts} +4 -4
- package/dist/{index-Bb_il0ub.d.ts → index-xNtO4Cbv.d.ts} +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/{instances-07Lopbd1.js → instances-PZAWgQEX.js} +2 -1
- package/dist/{json-schema-CU9Mg-_d.js → json-schema-C8deWP59.js} +1 -1
- package/dist/list/export/index.d.ts +1 -1
- package/dist/list/index.d.ts +1 -1
- package/dist/list/order/index.d.ts +2 -2
- package/dist/{list-query-B6lXbY0T.d.ts → list-query-0IoIyFnQ.d.ts} +1 -1
- package/dist/{manifest-NkuGL5p2.d.ts → manifest-8h7Bi6Pu.d.ts} +1 -1
- package/dist/{manifest-CS8I2fku.d.ts → manifest-B5Tf88Uq.d.ts} +1 -1
- package/dist/{manifest-Cv7Mji7w.d.ts → manifest-BAoLDoxK.d.ts} +1 -1
- package/dist/{manifest-Bf6Rzatq.d.ts → manifest-BF-mU2bV.d.ts} +1 -1
- package/dist/{manifest-DucB6ix_.d.ts → manifest-BG1VIYZT.d.ts} +1 -1
- package/dist/{manifest-Dg2BCyzg.d.ts → manifest-BHMX17A8.d.ts} +1 -1
- package/dist/{manifest-x_fSttX7.d.ts → manifest-BLOaDsUW.d.ts} +1 -1
- package/dist/{manifest-D48Fi0bR.d.ts → manifest-BO1W_e-B.d.ts} +1 -1
- package/dist/{manifest-tP62uJrR.d.ts → manifest-BPriFiTU.d.ts} +1 -1
- package/dist/{manifest-CtL5JmoY.d.ts → manifest-BTdv7qf4.d.ts} +1 -1
- package/dist/{manifest-DwBFwxFo.d.ts → manifest-BTw7TOwu.d.ts} +1 -1
- package/dist/{manifest-NuYSYeQT.d.ts → manifest-BZNn8jSV.d.ts} +1 -1
- package/dist/{manifest-CYO44YUb.d.ts → manifest-Bk8cjM0l.d.ts} +1 -1
- package/dist/{manifest-ubm80xCr.d.ts → manifest-BrGySkFX.d.ts} +1 -1
- package/dist/{manifest-4S1YGIS3.d.ts → manifest-BzO-6IJr.d.ts} +1 -1
- package/dist/{manifest-BKiaRgiZ.d.ts → manifest-C0Wdg3J2.d.ts} +1 -1
- package/dist/{manifest-DftU8SXo.d.ts → manifest-C2PHEJ5z.d.ts} +1 -1
- package/dist/{manifest-Ccc0ZZup.d.ts → manifest-C2rmE8qa.d.ts} +1 -1
- package/dist/{manifest-CMn61uKN.d.ts → manifest-C5l5bb08.d.ts} +1 -1
- package/dist/{manifest-DOtSiMt5.d.ts → manifest-C6ITivwS.d.ts} +1 -1
- package/dist/{manifest-DsINyvTh.d.ts → manifest-C71ANbeV.d.ts} +1 -1
- package/dist/{manifest-BxvFH1G_.d.ts → manifest-CAnCtcFS.d.ts} +2 -2
- package/dist/{manifest-_zu02ImE.d.ts → manifest-CBlNPtFA.d.ts} +1 -1
- package/dist/{manifest-2sJavyD8.d.ts → manifest-CEXnXtGH.d.ts} +1 -1
- package/dist/{manifest-FVkgBS-K.d.ts → manifest-CFH-eOXg.d.ts} +1 -1
- package/dist/{manifest-BRvnB8C0.d.ts → manifest-CFsi-Ht5.d.ts} +1 -1
- package/dist/{manifest-BaIG9QRj.d.ts → manifest-CJvaMP9x.d.ts} +1 -1
- package/dist/{manifest-C95ET4CL.d.ts → manifest-CK3rwqU_.d.ts} +1 -1
- package/dist/{manifest-Dim5U8TQ.d.ts → manifest-CLdp5_oL.d.ts} +1 -1
- package/dist/{manifest-N5wuAzq4.d.ts → manifest-CY_k3qjM.d.ts} +3 -3
- package/dist/{manifest-eaGk_4rq.d.ts → manifest-Cg8WeAdC.d.ts} +1 -1
- package/dist/{manifest-BzXqieUD.d.ts → manifest-ChaCvq6y.d.ts} +1 -1
- package/dist/{manifest-BpgNJhYN.d.ts → manifest-CiMGJyOC.d.ts} +1 -1
- package/dist/{manifest-cJ3rQXtl.d.ts → manifest-CpqWpt8p.d.ts} +4 -4
- package/dist/{manifest-Dp9ZtoFo.d.ts → manifest-Cqt64tuH.d.ts} +1 -1
- package/dist/{manifest-C2hpeEBF.d.ts → manifest-CrVJZ86G.d.ts} +1 -1
- package/dist/{manifest-xlpYSpLJ.d.ts → manifest-CsJCoSyK.d.ts} +1 -1
- package/dist/{manifest-CXdJUJjX.d.ts → manifest-D-kHfhG5.d.ts} +1 -1
- package/dist/{manifest-5i2UwyQr.d.ts → manifest-D17W6_c7.d.ts} +1 -1
- package/dist/{manifest-DZyxhWcb.d.ts → manifest-D1w2lSll.d.ts} +1 -1
- package/dist/{manifest-wXk0ZLhO.d.ts → manifest-D5TAMdzY.d.ts} +1 -1
- package/dist/{manifest-BEQWkGmf.d.ts → manifest-DJIIa2Em.d.ts} +1 -1
- package/dist/{manifest-Bj8bumDU.d.ts → manifest-DJuZGlHR.d.ts} +1 -1
- package/dist/{manifest-YtnGn7F9.d.ts → manifest-DLHnAPNS.d.ts} +1 -1
- package/dist/{manifest-BZPruG-S.d.ts → manifest-DNx5sz8h.d.ts} +1 -1
- package/dist/{manifest-TG95ksdH.d.ts → manifest-DSA0yeuM.d.ts} +1 -1
- package/dist/{manifest-dOFbx7Iv.d.ts → manifest-DSvRcUhd.d.ts} +1 -1
- package/dist/{manifest-Cl2U3bic.d.ts → manifest-DZwGgT_z.d.ts} +1 -1
- package/dist/{manifest-CA5EhKZ9.d.ts → manifest-D_wapvtH.d.ts} +1 -1
- package/dist/{manifest-DUPKC2rO.d.ts → manifest-DbZYZpku.d.ts} +1 -1
- package/dist/{manifest-DoZXpoG_.d.ts → manifest-DdE8MnRN.d.ts} +1 -1
- package/dist/{manifest-BMilYLsh.d.ts → manifest-Doi_y4XH.d.ts} +1 -1
- package/dist/{manifest-B0pan6cS.d.ts → manifest-DplQt5I6.d.ts} +1 -1
- package/dist/{manifest-CWFhOuFW.d.ts → manifest-Dqths6WM.d.ts} +1 -1
- package/dist/{manifest-CF3BUmbe.d.ts → manifest-DsxLVrmD.d.ts} +1 -1
- package/dist/{manifest-Bfu-Cu0f.d.ts → manifest-DuBsaflS.d.ts} +1 -1
- package/dist/{manifest-DpFy7git.d.ts → manifest-Pny9-_9a.d.ts} +1 -1
- package/dist/{manifest-DfC1XBrV.d.ts → manifest-YGFH2TL_.d.ts} +1 -1
- package/dist/{manifest-CnVa_nHw.d.ts → manifest-b3PqBQa0.d.ts} +1 -1
- package/dist/{manifest-CiF1Sb29.d.ts → manifest-cYotBkfZ.d.ts} +1 -1
- package/dist/{manifest-DiXINLQQ.d.ts → manifest-myniqe46.d.ts} +1 -1
- package/dist/{manifest-CumC7hH5.d.ts → manifest-sOy_ZKWF.d.ts} +1 -1
- package/dist/mapper/bin.js +6 -6
- package/dist/mcp/index.d.ts +2 -2
- package/dist/mcp/index.js +1 -1
- package/dist/mcp/sdk/index.d.ts +2 -2
- package/dist/mcp/sdk/index.js +1 -1
- package/dist/{mcp-CULIbS-b.js → mcp-CZgh_ubo.js} +3 -3
- package/dist/next/index.d.ts +12 -12
- package/dist/next/index.js +2 -2
- package/dist/next/proxy/index.d.ts +3 -3
- package/dist/{operations-D4zxY2TL.d.ts → operations-DAHER9Co.d.ts} +1 -1
- package/dist/orpc/index.d.ts +4 -4
- package/dist/orpc/index.js +2 -2
- package/dist/otel/index.js +5 -5
- package/dist/{permissions-BkUcXwtV.d.ts → permissions-Ddma4Div.d.ts} +1 -1
- package/dist/{ports-BBowiGiD.js → ports-ClJbgoyt.js} +1 -1
- package/dist/{ports-DD-pDkHu.d.ts → ports-DPp4Fq_P.d.ts} +1 -1
- package/dist/powersync/index.d.ts +3 -3
- package/dist/powersync/index.js +1 -1
- package/dist/preset/index.d.ts +4 -4
- package/dist/preset/index.js +3 -3
- package/dist/{preset-ZZ4H2s92.js → preset-BcwGsW_B.js} +2 -2
- package/dist/{preview-GUvVjUxf.d.ts → preview-nlRIsJni.d.ts} +2 -2
- package/dist/{project-wJ3jYipI.js → project-Bw5sWuoO.js} +5 -5
- package/dist/{push-token-C8MoiM7E.d.ts → push-token-Dwlj0LIL.d.ts} +1 -1
- package/dist/query/index.d.ts +1 -1
- package/dist/react/index.d.ts +5 -5
- package/dist/react/native/index.d.ts +1 -1
- package/dist/react/server.d.ts +6 -6
- package/dist/react-router/index.d.ts +3 -3
- package/dist/react-router/index.js +3 -3
- package/dist/realtime/index.d.ts +3 -3
- package/dist/{record-form-CbFN-AdD.d.ts → record-form-3eD-nwYk.d.ts} +1 -1
- package/dist/records/index.d.ts +7 -7
- package/dist/{resource-execute-BQx_Pmeu.d.ts → resource-execute-H-XO83hu.d.ts} +1 -1
- package/dist/{resource-types-lBguZ_8J.d.ts → resource-types-D4IZrOCo.d.ts} +1 -1
- package/dist/{resources-CWfoS1er.d.ts → resources-B5k-hJW_.d.ts} +1 -1
- package/dist/server/account/index.d.ts +2 -2
- package/dist/server/accounts/index.d.ts +1 -1
- package/dist/server/index.d.ts +12 -12
- package/dist/server/index.js +4 -4
- package/dist/{server-af58-Q51.js → server-B0T944J9.js} +1 -1
- package/dist/{server-types-By5oBsDZ.d.ts → server-types-Bax89ShV.d.ts} +2 -2
- package/dist/{session-D5IrTUwv.d.ts → session-DitGLCxF.d.ts} +1 -1
- package/dist/{sign-in-TNX4Pj9E.d.ts → sign-in-Dtd2Bqgm.d.ts} +10 -10
- package/dist/{signers-DB0S8YhO.d.ts → signers-FVeDbZxq.d.ts} +5 -1
- package/dist/solid/index.d.ts +6 -6
- package/dist/solid-start/index.d.ts +3 -3
- package/dist/solid-start/index.js +3 -3
- package/dist/spec/index.d.ts +1 -1
- package/dist/spec/index.js +2 -2
- package/dist/sql/index.d.ts +6 -6
- package/dist/sql/index.js +2 -2
- package/dist/{sql-CP1j2jfo.js → sql-DLuqUuGO.js} +42 -14
- package/dist/sqlite/index.d.ts +1 -1
- package/dist/sqlite/index.js +1 -1
- package/dist/ssr/index.d.ts +1 -1
- package/dist/svelte/index.d.ts +6 -6
- package/dist/sveltekit/index.d.ts +4 -4
- package/dist/sveltekit/index.js +3 -3
- package/dist/{tags-Csj8VfA7.d.ts → tags-C3z-ntLF.d.ts} +1 -1
- package/dist/tanstack-db/index.d.ts +1 -1
- package/dist/tanstack-start/index.d.ts +3 -3
- package/dist/tanstack-start/index.js +3 -3
- package/dist/{tenant-CVRFoaDM.d.ts → tenant-DLvOWwEG.d.ts} +1 -1
- package/dist/testing/index.d.ts +9 -9
- package/dist/testing/index.js +3 -3
- package/dist/{timeline-T1qkzVdR.d.ts → timeline-ChkpN8Bw.d.ts} +3 -3
- package/dist/{topic-DytYYyP3.d.ts → topic-Dw4CI2so.d.ts} +2 -2
- package/dist/{types-Cge5o3f5.d.ts → types-_hw_fdQp.d.ts} +2 -2
- package/dist/{verify-dg8Q3iRY.d.ts → verify-B4daVDDR.d.ts} +1 -1
- package/dist/{version-B0uw5rOF.js → version-CrTSdSoJ.js} +1 -1
- package/dist/vue/index.d.ts +6 -6
- package/dist/{watch-topic-DT31uYqF.d.ts → watch-topic-CPyTKYDb.d.ts} +1 -1
- package/dist/webmcp/index.d.ts +1 -1
- package/dist/webmcp/index.js +1 -1
- package/dist/yjs/index.d.ts +1 -1
- package/package.json +1 -1
- package/schemas/config-v1.json +40 -2
- package/dist/cli/add-fra98UnY.js +0 -1
- package/dist/cli/powersync-BztAuUyy.js +0 -1
- package/dist/cli/seed-B6_MBFd2.js +0 -1
|
@@ -197,7 +197,8 @@ interface IncomingWebhooks {
|
|
|
197
197
|
remove(id: string): AsyncResult<boolean>;
|
|
198
198
|
/**
|
|
199
199
|
* A tenant's endpoints, or one subject's, as the caller sees them (the read
|
|
200
|
-
* policy hides endpoints whose subject they can't read)
|
|
200
|
+
* policy hides endpoints whose subject they can't read), oldest first unless
|
|
201
|
+
* `newestFirst`; without `pageSize`, every endpoint.
|
|
201
202
|
*/
|
|
202
203
|
list(input: {
|
|
203
204
|
tenant: string;
|
|
@@ -205,6 +206,9 @@ interface IncomingWebhooks {
|
|
|
205
206
|
readonly type: string;
|
|
206
207
|
readonly id?: string;
|
|
207
208
|
} | undefined;
|
|
209
|
+
pageSize?: number | undefined;
|
|
210
|
+
skip?: number | undefined;
|
|
211
|
+
newestFirst?: boolean | undefined;
|
|
208
212
|
}): AsyncResult<readonly IncomingWebhook[]>;
|
|
209
213
|
}
|
|
210
214
|
/**
|
package/dist/solid/index.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { t as SupportView } from "../support-view-CfyHFSq4.js";
|
|
2
2
|
import { n as AuthSession } from "../view-DwTCw_jZ.js";
|
|
3
|
-
import { _ as LiveQueryHookOptions, a as DataRows, b as ProfileOf, c as DataWrites, d as ActionState, f as BroadcastOptions, g as LiveCountSource, h as LiveCountHookOptions, i as DataRow, l as ActionInputOf, m as ClientLike, n as DataId, o as DataSource, p as ClaimsOf, r as DataListOptions, s as DataState, t as fieldErrorsOf, u as ActionResultOf, v as PresenceHookOptions, x as UseActionOptions, y as PresenceTopic } from "../field-errors-
|
|
4
|
-
import { t as AuthSnapshot } from "../bind-
|
|
3
|
+
import { _ as LiveQueryHookOptions, a as DataRows, b as ProfileOf, c as DataWrites, d as ActionState, f as BroadcastOptions, g as LiveCountSource, h as LiveCountHookOptions, i as DataRow, l as ActionInputOf, m as ClientLike, n as DataId, o as DataSource, p as ClaimsOf, r as DataListOptions, s as DataState, t as fieldErrorsOf, u as ActionResultOf, v as PresenceHookOptions, x as UseActionOptions, y as PresenceTopic } from "../field-errors-D0vkq05i.js";
|
|
4
|
+
import { t as AuthSnapshot } from "../bind-DiQyvXnj.js";
|
|
5
5
|
import { b as DbError } from "../result-aun_QZHn.js";
|
|
6
|
-
import { dt as QuerySpec } from "../db-blocks-
|
|
7
|
-
import { _ as TopicHandlers, m as Topic, p as SubscriptionStatus, r as PresenceMember, t as EventSchemas } from "../topic-
|
|
6
|
+
import { dt as QuerySpec } from "../db-blocks-BQkHb77X.js";
|
|
7
|
+
import { _ as TopicHandlers, m as Topic, p as SubscriptionStatus, r as PresenceMember, t as EventSchemas } from "../topic-Dw4CI2so.js";
|
|
8
8
|
import { tt as TemplateValues } from "../bucket-BJ03ZblY.js";
|
|
9
9
|
import { a as BlockQueryActions, c as BlockRefetchOn, i as BlockMutationState, n as BlockEventSource, o as BlockQueryOptions, r as BlockMutationActions, s as BlockQueryState, t as BlockEngineOptions } from "../block-controller-Dy-Jyy8A.js";
|
|
10
|
-
import { n as Controller } from "../controller-
|
|
10
|
+
import { n as Controller } from "../controller-DMoPjq2t.js";
|
|
11
11
|
import { n as BlockDataOf, r as BlockMethodName, t as BlockArgsOf } from "../block-method-OJA4a62H.js";
|
|
12
12
|
import { Ct as EventMap, E as BlockEventPattern, Et as Events, O as BlockEventsMatching, w as BlockEvent } from "../events-zz8DwtZi.js";
|
|
13
|
-
import { n as BlockOptions } from "../block-env-
|
|
13
|
+
import { n as BlockOptions } from "../block-env-aG5V88tR.js";
|
|
14
14
|
import { SupabaseClient } from "@supabase/supabase-js";
|
|
15
15
|
import { QueryClient } from "@tanstack/query-core";
|
|
16
16
|
import { Accessor, JSX } from "solid-js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { O as AnyFunctions, Ut as AnyAuthorizer, in as PermissionRef, k as AnyModels } from "../types-Dizn1liT.js";
|
|
2
|
-
import { s as BetterSupabase } from "../db-blocks-
|
|
3
|
-
import { n as FrameworkOptions, r as LocalsResource, t as FrameworkLocals } from "../framework-
|
|
2
|
+
import { s as BetterSupabase } from "../db-blocks-BQkHb77X.js";
|
|
3
|
+
import { n as FrameworkOptions, r as LocalsResource, t as FrameworkLocals } from "../framework-CEMVz7JS.js";
|
|
4
4
|
import { a as AuthorizedContext, l as Unwrapped, n as ActionParsed, o as BlockActionOptions, r as ActionResult, s as BlockRequireOptions } from "../kit-BwlTgitb.js";
|
|
5
|
-
import { r as BetterServer } from "../server-types-
|
|
5
|
+
import { r as BetterServer } from "../server-types-Bax89ShV.js";
|
|
6
6
|
import { t as RefusalRedirects } from "../refusal-6HGi0oY9.js";
|
|
7
7
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
8
8
|
/** The part of a SolidStart `FetchEvent` the integration reads and writes. */
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as beforeRoute } from "../before-route-Ra3OhI2x.js";
|
|
2
2
|
import { i as nitroCloudflareEnv } from "../shared-Ci1g9nl4.js";
|
|
3
|
-
import { t as adapterBase } from "../adapter-base-
|
|
3
|
+
import { t as adapterBase } from "../adapter-base-DXF0tNJJ.js";
|
|
4
4
|
import { p as flushEvents } from "../sessions-w6xril_l.js";
|
|
5
|
-
import { i as localsOf, r as frameworkEntry } from "../framework-
|
|
5
|
+
import { i as localsOf, r as frameworkEntry } from "../framework-BQgHM3zD.js";
|
|
6
6
|
import { i as requireCaller, o as runAction } from "../kit-BgRTtW9w.js";
|
|
7
7
|
import { r as refusalResponse } from "../refusal-CgSrkirX.js";
|
|
8
|
-
import { n as extendServer, t as createServer } from "../server-
|
|
8
|
+
import { n as extendServer, t as createServer } from "../server-B0T944J9.js";
|
|
9
9
|
// src/solid-start/index.ts
|
|
10
10
|
/** SolidStart integration: middleware, guards and server function actions. */
|
|
11
11
|
function createSolidStart(betterSupabase, options) {
|
package/dist/spec/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as AnyOpenApiDocument, B as OpenApiSecurityRequirement, C as TopicInput, D as DEFAULT_ERRORS, E as CustomSecurity, F as OpenApi33PreviewDocument, H as RenderedOpenApi, I as OpenApiComponents, L as OpenApiDocument, M as OpenApi30Document, N as OpenApi31Document, O as PROBLEM_SCHEMA, P as OpenApi32Document, R as OpenApiDocuments, S as EventsOptions, T as DataApiOptions, V as OpenApiVersion, _ as WorkflowSource, a as OverlayEngine, b as CLOUD_EVENT_TRAIT, c as defineApi, d as BuiltModel, f as ComponentNameContext, g as RouteSpec, h as ResourceInput, i as OpenApiRenderResult, j as OPENAPI_33_PREVIEW_VERSION, k as SecurityPreset, l as ApiOptions, m as OperationIdContext, n as DefineApiOptions, o as RenderOptions, p as EnrichHooks, r as OpenApiRenderOptions, s as RenderResult, t as Api, u as ApiSource, v as BlockEventSchema, w as topicsFrom, x as CloudEventsInput, y as BlockEventSchemas, z as OpenApiInfo } from "../api-
|
|
1
|
+
import { A as AnyOpenApiDocument, B as OpenApiSecurityRequirement, C as TopicInput, D as DEFAULT_ERRORS, E as CustomSecurity, F as OpenApi33PreviewDocument, H as RenderedOpenApi, I as OpenApiComponents, L as OpenApiDocument, M as OpenApi30Document, N as OpenApi31Document, O as PROBLEM_SCHEMA, P as OpenApi32Document, R as OpenApiDocuments, S as EventsOptions, T as DataApiOptions, V as OpenApiVersion, _ as WorkflowSource, a as OverlayEngine, b as CLOUD_EVENT_TRAIT, c as defineApi, d as BuiltModel, f as ComponentNameContext, g as RouteSpec, h as ResourceInput, i as OpenApiRenderResult, j as OPENAPI_33_PREVIEW_VERSION, k as SecurityPreset, l as ApiOptions, m as OperationIdContext, n as DefineApiOptions, o as RenderOptions, p as EnrichHooks, r as OpenApiRenderOptions, s as RenderResult, t as Api, u as ApiSource, v as BlockEventSchema, w as topicsFrom, x as CloudEventsInput, y as BlockEventSchemas, z as OpenApiInfo } from "../api-D4gZPhMd.js";
|
|
2
2
|
import { a as FormatVersion, c as SpecDiagnostic, d as defineDocumentFormat, i as DocumentOf, l as VersionOf, n as DiagnosticSeverity, o as LowerContext, r as DocumentFormat, s as RenderedOf, t as AnyDocumentFormat, u as VersionStatus } from "../format-BT0Z3V54.js";
|
|
3
3
|
import { t as DescribedFunction } from "../function-contract-DEVGJGzd.js";
|
|
4
4
|
import { C as ModelWebhook, D as ResourceOperation, E as OperationSource, O as SecurityRequirement, S as ModelTag, T as OAuthFlow, _ as ModelResponseOrRef, a as JsonSchema, b as ModelServer, c as ModelChannelOperation, d as ModelInfo, f as ModelMessage, g as ModelResponse, h as ModelParameter, i as JsonObject, k as TableVerb, l as ModelContent, m as ModelOperation, n as DataApiOperation, o as ModelBody, p as ModelMessageTrait, r as HttpMethod, s as ModelChannel, t as ApiModel, u as ModelExample, v as ModelSecurityProfileRequirement, w as ModelWorkflow, x as ModelStep, y as ModelSecurityScheme } from "../model-Lxa_mOzB.js";
|
package/dist/spec/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as toOpenApi30Schema, n as openapiFormat, o as defineDocumentFormat, r as OPENAPI_33_PREVIEW_VERSION, t as defineApi } from "../api-
|
|
2
|
-
import { a as topicsFrom, c as PROBLEM_SCHEMA, d as mergeJson, f as pointerToken, i as safeKey, l as convertStandard, r as CLOUD_EVENT_TRAIT, s as DEFAULT_ERRORS, t as defineApiModel, u as pascal } from "../build-
|
|
1
|
+
import { a as toOpenApi30Schema, n as openapiFormat, o as defineDocumentFormat, r as OPENAPI_33_PREVIEW_VERSION, t as defineApi } from "../api-C5GmF1ZU.js";
|
|
2
|
+
import { a as topicsFrom, c as PROBLEM_SCHEMA, d as mergeJson, f as pointerToken, i as safeKey, l as convertStandard, r as CLOUD_EVENT_TRAIT, s as DEFAULT_ERRORS, t as defineApiModel, u as pascal } from "../build-C0BLapAI.js";
|
|
3
3
|
import { t as FUNCTION_DESCRIPTOR } from "../function-contract-Bf6llTkE.js";
|
|
4
4
|
import { r as isPlainObject } from "../clone-H_gCsL29.js";
|
|
5
5
|
import { a as methodNotAllowed } from "../problem-BwplIuhI.js";
|
package/dist/sql/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { C as BlockOptionsRegistry, S as BLOCK_OPTION_SCHEMAS, b as resolveBlock } from "../blocks-
|
|
2
|
-
import { A as declaredTableColumns, Br as sameTenantLayout, C as notNullCheckName, D as addedColumnTypes, E as PolicyGrant, F as policyGrants, Hr as auditRegistrations, I as rlsTables, M as declaredUpdatedAtTriggers, N as declaredViews, O as declaredColumnTypes, P as extensionSchema, S as blockSqlVersion, T as OwnIndex, Vr as AuditedTable, _ as BlockSqlFile, a as BlockSqlTableSpec, aa as readArgSqlType, b as BlockSqlUpgrade, c as moduleIdType, d as appValues, ea as BlockSqlRead, f as checkedValueMaps, g as BlockSqlEntitlementsProvider, h as BlockSqlDeprecation, i as BlockSqlNames, ia as readArgSource, j as declaredTables, k as declaredIndexes, l as ValueMap, m as BlockSqlAccessProvider, n as BlockSqlContractFunction, na as BlockSqlReadArgType, o as MODULE_ID_TYPES, p as BlockSql, r as BlockSqlIdType, ra as declareRead, s as isBlockSqlIdType, t as BlockSqlContext, ta as BlockSqlReadArg, u as ValueMaps, v as BlockSqlLayout, w as DeclaredView, x as OwnView, y as BlockSqlTestFile, zr as DeclaredForeignKey } from "../context-
|
|
3
|
-
import { a as BlockSqlEmit, i as BlockSqlAudit, n as AuditCategory, r as BlockSqlAction, t as AUDIT_CATEGORIES } from "../audit-actions-
|
|
4
|
-
import { $ as PolicyCommand, $n as moduleContext, $t as AdoptedView, A as POLICY_FUNCTIONS, An as EntityRenameStep, At as checkValues, B as policyFunctionsSql, Bn as ParseStore, Bt as DataExportPlan, C as setTagBlock, Cn as blockFileState, Ct as templateFunctions, D as formatBsbComment, Dn as moduleDataDir, Dt as writtenValues, E as commentOnTableSql, En as sameBlockFile, Et as duplicateObjects, F as RulePolicy, Fn as ModuleRenderEntry, Ft as TenantQuery, G as bsbPolicyName, Gn as duplicatePolicies, Gt as excludedColumns, H as renderRule, Hn as appColumnsOf, Ht as dataExportPlan, I as RulePolicyInput, In as ModuleRenderStore, It as tenantsQuery, J as widenedCommands, Jn as setParseStore, Jt as clearMemo, K as appTablePolicyNotes, Kn as ownerOf, Kt as resolveExposeColumns, L as RuleValue, Ln as moduleRenderStats, Lt as expiredFlagsQuery, M as ReadRulePolicy, Mn as SqlStatement, Mt as ReadRolesModule, N as Rule, Nn as splitStatements, Nt as blockReadRoles, O as parseBsbComment, On as moduleFilePaths, Ot as CheckValues, P as RuleOperator, Pn as renderKey, Pt as subjectColumns, Q as Policy, Qn as upgradePlan, Qt as AdoptedTable, R as disallowedPolicyCalls, Rn as setModuleRenderStore, Rt as sameTenantColumn, S as renderTagBlock, Sn as moduleSchemaExtensions, St as scopeProblems, T as BsbTag, Tn as moduleFileVersion, Tt as DuplicateObject, U as renderRulePolicy, Un as buildModel, Ut as OwnedColumn, V as readRulePolicies, Vn as SchemaModel, Vt as SECRET_COLUMNS, W as rulePolicy, Wn as conflicts, Wt as ownedColumns, X as TENANT_SCOPE_POLICY, Xn as InstalledBlock, Xt as memoized, Y as TENANT_SCOPE_NAMES, Yn as BlockSqlUpgradePlan, Yt as memoStats, Z as Grant, Zn as moduleDeprecations, Zt as setMemoBackend, _ as tableTagComments, _n as BlockSqlExtension, _t as migrationOptionUses, a as ListTemplateOptions, an as PRELUDE_FUNCTIONS, ar as customContracts, at as policy, b as TagRenderOptions, bn as moduleHidingColumns, bt as resolveProviderSql, c as listDeclare, cn as APP_TABLES_MODULE, cr as renderBlocks, ct as readPolicy, d as TableFeature, dn as instanceFunctions, dt as hasColumnAccess, en as adoptedColumnProblems, er as redundantNulls, et as PolicyInput, f as createsTable, fn as SeedDefaultsFunction, ft as CompiledReadSet, g as tableFeatures, gn as resolveBlocks, gt as MigrationOptionUse, h as setTableFeature, hn as moduleSource, ht as sharedRolesProblems, i as ListSortKey, in as UNSCOPED_MODULE, ir as BlockSqlTopic, it as maskSql, j as PolicyFunctionsOptions, jn as entityRenamePlan, jt as declaredCheckValues, k as setBsbTag, kn as EntityRenamePlan, kt as TableCheckValues, l as listOrder, ln as appTablesFiles, lr as contractSignature, lt as renderPolicy, m as setFeatureStatement, mn as SQL_MODULES, mt as compileReadSets, n as renderAutoEmbedding, nn as adoptedViews, nr as legacyOptionTarget, nt as RenderPolicyOptions, o as keysetPredicate, on as PRELUDE_MODULE, or as moduleBody, ot as readGrants, p as isTableFeature, pn as seedDefaultsFunctions, pt as compileReadSet, q as declaredPolicies, qn as parseDeclared, qt as MemoBackend, r as LIST_TOTAL_CAP, rn as moduleWritesText, rr as LEGACY_OPTION, rt as catalogPolicy, s as listBody, sn as APP_TABLES_MARKER, sr as moduleTopics, st as readPolicies, t as AutoEmbeddingConfig, tn as adoptedTables, tr as legacyOptionTables, tt as ReadPolicy, u as TABLE_FEATURES, un as DEFAULT_ROLES, ut as scopePolicyName, v as RENDERED_FEATURES, vn as BlockSqlPermissionKey, vt as moduleLayout, w as BsbComment, wn as isModuleDataFile, wt as templatePlaceholderProblems, x as isRenderedFeature, xn as modulePermissionKeys, xt as sameTemplateFunction, y as RenderedFeature, yn as moduleEventTriggers, yt as SCOPE_ID_TYPES, z as isRule, zn as Declaration, zt as sameTenantTrigger } from "../index-
|
|
5
|
-
import { n as BlockTables, r as blockTables, t as BlockTable } from "../block-tables-
|
|
6
|
-
import { a as appTableEventTypes } from "../app-tables-
|
|
1
|
+
import { C as BlockOptionsRegistry, S as BLOCK_OPTION_SCHEMAS, b as resolveBlock } from "../blocks-BaVwMDrs.js";
|
|
2
|
+
import { A as declaredTableColumns, Br as sameTenantLayout, C as notNullCheckName, D as addedColumnTypes, E as PolicyGrant, F as policyGrants, Hr as auditRegistrations, I as rlsTables, M as declaredUpdatedAtTriggers, N as declaredViews, O as declaredColumnTypes, P as extensionSchema, S as blockSqlVersion, T as OwnIndex, Vr as AuditedTable, _ as BlockSqlFile, a as BlockSqlTableSpec, aa as readArgSqlType, b as BlockSqlUpgrade, c as moduleIdType, d as appValues, ea as BlockSqlRead, f as checkedValueMaps, g as BlockSqlEntitlementsProvider, h as BlockSqlDeprecation, i as BlockSqlNames, ia as readArgSource, j as declaredTables, k as declaredIndexes, l as ValueMap, m as BlockSqlAccessProvider, n as BlockSqlContractFunction, na as BlockSqlReadArgType, o as MODULE_ID_TYPES, p as BlockSql, r as BlockSqlIdType, ra as declareRead, s as isBlockSqlIdType, t as BlockSqlContext, ta as BlockSqlReadArg, u as ValueMaps, v as BlockSqlLayout, w as DeclaredView, x as OwnView, y as BlockSqlTestFile, zr as DeclaredForeignKey } from "../context-C-msUG_m.js";
|
|
3
|
+
import { a as BlockSqlEmit, i as BlockSqlAudit, n as AuditCategory, r as BlockSqlAction, t as AUDIT_CATEGORIES } from "../audit-actions-be1sy-Vh.js";
|
|
4
|
+
import { $ as PolicyCommand, $n as moduleContext, $t as AdoptedView, A as POLICY_FUNCTIONS, An as EntityRenameStep, At as checkValues, B as policyFunctionsSql, Bn as ParseStore, Bt as DataExportPlan, C as setTagBlock, Cn as blockFileState, Ct as templateFunctions, D as formatBsbComment, Dn as moduleDataDir, Dt as writtenValues, E as commentOnTableSql, En as sameBlockFile, Et as duplicateObjects, F as RulePolicy, Fn as ModuleRenderEntry, Ft as TenantQuery, G as bsbPolicyName, Gn as duplicatePolicies, Gt as excludedColumns, H as renderRule, Hn as appColumnsOf, Ht as dataExportPlan, I as RulePolicyInput, In as ModuleRenderStore, It as tenantsQuery, J as widenedCommands, Jn as setParseStore, Jt as clearMemo, K as appTablePolicyNotes, Kn as ownerOf, Kt as resolveExposeColumns, L as RuleValue, Ln as moduleRenderStats, Lt as expiredFlagsQuery, M as ReadRulePolicy, Mn as SqlStatement, Mt as ReadRolesModule, N as Rule, Nn as splitStatements, Nt as blockReadRoles, O as parseBsbComment, On as moduleFilePaths, Ot as CheckValues, P as RuleOperator, Pn as renderKey, Pt as subjectColumns, Q as Policy, Qn as upgradePlan, Qt as AdoptedTable, R as disallowedPolicyCalls, Rn as setModuleRenderStore, Rt as sameTenantColumn, S as renderTagBlock, Sn as moduleSchemaExtensions, St as scopeProblems, T as BsbTag, Tn as moduleFileVersion, Tt as DuplicateObject, U as renderRulePolicy, Un as buildModel, Ut as OwnedColumn, V as readRulePolicies, Vn as SchemaModel, Vt as SECRET_COLUMNS, W as rulePolicy, Wn as conflicts, Wt as ownedColumns, X as TENANT_SCOPE_POLICY, Xn as InstalledBlock, Xt as memoized, Y as TENANT_SCOPE_NAMES, Yn as BlockSqlUpgradePlan, Yt as memoStats, Z as Grant, Zn as moduleDeprecations, Zt as setMemoBackend, _ as tableTagComments, _n as BlockSqlExtension, _t as migrationOptionUses, a as ListTemplateOptions, an as PRELUDE_FUNCTIONS, ar as customContracts, at as policy, b as TagRenderOptions, bn as moduleHidingColumns, bt as resolveProviderSql, c as listDeclare, cn as APP_TABLES_MODULE, cr as renderBlocks, ct as readPolicy, d as TableFeature, dn as instanceFunctions, dt as hasColumnAccess, en as adoptedColumnProblems, er as redundantNulls, et as PolicyInput, f as createsTable, fn as SeedDefaultsFunction, ft as CompiledReadSet, g as tableFeatures, gn as resolveBlocks, gt as MigrationOptionUse, h as setTableFeature, hn as moduleSource, ht as sharedRolesProblems, i as ListSortKey, in as UNSCOPED_MODULE, ir as BlockSqlTopic, it as maskSql, j as PolicyFunctionsOptions, jn as entityRenamePlan, jt as declaredCheckValues, k as setBsbTag, kn as EntityRenamePlan, kt as TableCheckValues, l as listOrder, ln as appTablesFiles, lr as contractSignature, lt as renderPolicy, m as setFeatureStatement, mn as SQL_MODULES, mt as compileReadSets, n as renderAutoEmbedding, nn as adoptedViews, nr as legacyOptionTarget, nt as RenderPolicyOptions, o as keysetPredicate, on as PRELUDE_MODULE, or as moduleBody, ot as readGrants, p as isTableFeature, pn as seedDefaultsFunctions, pt as compileReadSet, q as declaredPolicies, qn as parseDeclared, qt as MemoBackend, r as LIST_TOTAL_CAP, rn as moduleWritesText, rr as LEGACY_OPTION, rt as catalogPolicy, s as listBody, sn as APP_TABLES_MARKER, sr as moduleTopics, st as readPolicies, t as AutoEmbeddingConfig, tn as adoptedTables, tr as legacyOptionTables, tt as ReadPolicy, u as TABLE_FEATURES, un as DEFAULT_ROLES, ut as scopePolicyName, v as RENDERED_FEATURES, vn as BlockSqlPermissionKey, vt as moduleLayout, w as BsbComment, wn as isModuleDataFile, wt as templatePlaceholderProblems, x as isRenderedFeature, xn as modulePermissionKeys, xt as sameTemplateFunction, y as RenderedFeature, yn as moduleEventTriggers, yt as SCOPE_ID_TYPES, z as isRule, zn as Declaration, zt as sameTenantTrigger } from "../index-OPLT30am.js";
|
|
5
|
+
import { n as BlockTables, r as blockTables, t as BlockTable } from "../block-tables-lpnW9xMs.js";
|
|
6
|
+
import { a as appTableEventTypes } from "../app-tables-C0w_j1sJ.js";
|
|
7
7
|
export { APP_TABLES_MARKER, APP_TABLES_MODULE, AUDIT_CATEGORIES, type AdoptedTable, type AdoptedView, type AuditCategory, type AuditedTable, type AutoEmbeddingConfig, BLOCK_OPTION_SCHEMAS, type BlockOptionsRegistry, type BlockSql, type BlockSqlAccessProvider, type BlockSqlAction, type BlockSqlAudit, type BlockSqlContext, type BlockSqlContractFunction, type BlockSqlDeprecation, type BlockSqlEmit, type BlockSqlEntitlementsProvider, type BlockSqlExtension, type BlockSqlFile, type BlockSqlIdType, type BlockSqlLayout, type BlockSqlNames, type BlockSqlPermissionKey, type BlockSqlRead, type BlockSqlReadArg, type BlockSqlReadArgType, type BlockSqlTableSpec, type BlockSqlTestFile, type BlockSqlTopic, type BlockSqlUpgrade, type BlockSqlUpgradePlan, type BlockTable, type BlockTables, type BsbComment, type BsbTag, type CheckValues, type CompiledReadSet, DEFAULT_ROLES, type DataExportPlan, type Declaration, type DeclaredForeignKey, type DeclaredView, type DuplicateObject, type EntityRenamePlan, type EntityRenameStep, type Grant, type InstalledBlock, LEGACY_OPTION, LIST_TOTAL_CAP, type ListSortKey, type ListTemplateOptions, MODULE_ID_TYPES, type MemoBackend, type MigrationOptionUse, type ModuleRenderEntry, type ModuleRenderStore, type OwnIndex, type OwnView, type OwnedColumn, POLICY_FUNCTIONS, PRELUDE_FUNCTIONS, PRELUDE_MODULE, type ParseStore, type Policy, type PolicyCommand, type PolicyFunctionsOptions, type PolicyGrant, type PolicyInput, RENDERED_FEATURES, type ReadPolicy, type ReadRolesModule, type ReadRulePolicy, type RenderPolicyOptions, type RenderedFeature, type Rule, type RuleOperator, type RulePolicy, type RulePolicyInput, type RuleValue, SCOPE_ID_TYPES, SECRET_COLUMNS, SQL_MODULES, type SchemaModel, type SeedDefaultsFunction, type SqlStatement, TABLE_FEATURES, TENANT_SCOPE_NAMES, TENANT_SCOPE_POLICY, type TableCheckValues, type TableFeature, type TagRenderOptions, type TenantQuery, UNSCOPED_MODULE, type ValueMap, type ValueMaps, addedColumnTypes, adoptedColumnProblems, adoptedTables, adoptedViews, appColumnsOf, appTableEventTypes, appTablePolicyNotes, appTablesFiles, appValues, auditRegistrations, blockFileState, blockReadRoles, blockSqlVersion, blockTables, bsbPolicyName, buildModel, catalogPolicy, checkValues, checkedValueMaps, clearMemo, commentOnTableSql, compileReadSet, compileReadSets, conflicts, contractSignature, createsTable, customContracts, dataExportPlan, declareRead, declaredCheckValues, declaredColumnTypes, declaredIndexes, declaredPolicies, declaredTableColumns, declaredTables, declaredUpdatedAtTriggers, declaredViews, disallowedPolicyCalls, duplicateObjects, duplicatePolicies, entityRenamePlan, excludedColumns, expiredFlagsQuery, extensionSchema, formatBsbComment, hasColumnAccess, instanceFunctions, isBlockSqlIdType, isModuleDataFile, isRenderedFeature, isRule, isTableFeature, keysetPredicate, legacyOptionTables, legacyOptionTarget, listBody, listDeclare, listOrder, maskSql, memoStats, memoized, migrationOptionUses, moduleBody, moduleContext, moduleDataDir, moduleDeprecations, moduleEventTriggers, moduleFilePaths, moduleFileVersion, moduleHidingColumns, moduleIdType, moduleLayout, modulePermissionKeys, moduleRenderStats, moduleSchemaExtensions, moduleSource, moduleTopics, moduleWritesText, notNullCheckName, ownedColumns, ownerOf, parseBsbComment, parseDeclared, policy, policyFunctionsSql, policyGrants, readArgSource, readArgSqlType, readGrants, readPolicies, readPolicy, readRulePolicies, redundantNulls, renderAutoEmbedding, renderBlocks, renderKey, renderPolicy, renderRule, renderRulePolicy, renderTagBlock, resolveBlock, resolveBlocks, resolveExposeColumns, resolveProviderSql, rlsTables, rulePolicy, sameBlockFile, sameTemplateFunction, sameTenantColumn, sameTenantLayout, sameTenantTrigger, scopePolicyName, scopeProblems, seedDefaultsFunctions, setBsbTag, setFeatureStatement, setMemoBackend, setModuleRenderStore, setParseStore, setTableFeature, setTagBlock, sharedRolesProblems, splitStatements, subjectColumns, tableFeatures, tableTagComments, templateFunctions, templatePlaceholderProblems, tenantsQuery, upgradePlan, widenedCommands, writtenValues };
|
package/dist/sql/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as resolveBlock, T as hasColumnAccess, h as appTableEventTypes } from "../instances-
|
|
2
|
-
import { $ as ownerOf, $t as redundantNulls, A as declaredCheckValues, At as sameBlockFile, B as clearMemo, Bt as excludedColumns, C as rulePolicy, Ct as appTablesFiles, D as duplicateObjects, Dt as blockFileState, E as sharedRolesProblems, Et as blockSqlVersion, F as sameTenantLayout, Ft as SQL_MODULES, G as blockTables, Gt as keysetPredicate, H as memoized, Ht as SECRET_COLUMNS, I as adoptedColumnProblems, It as moduleSource, J as entityRenamePlan, Jt as listOrder, K as seedDefaultsFunctions, Kt as listBody, L as adoptedTables, Lt as resolveBlocks, M as tenantsQuery, Mt as moduleHidingColumns, N as expiredFlagsQuery, Nt as modulePermissionKeys, O as writtenValues, Ot as isModuleDataFile, P as ownedColumns, Pt as moduleSchemaExtensions, Q as duplicatePolicies, Qt as moduleContext, R as adoptedViews, Rt as TENANT_SCOPE_NAMES, S as renderRulePolicy, St as APP_TABLES_MODULE, T as compileReadSets, Tt as renderAutoEmbedding, U as setMemoBackend, Ut as dataExportPlan, V as memoStats, Vt as resolveExposeColumns, W as instanceFunctions, Wt as LIST_TOTAL_CAP, X as buildModel, Xt as sameTenantTrigger, Y as appColumnsOf, Yt as sameTenantColumn, Z as conflicts, Zt as migrationOptionUses, _ as disallowedPolicyCalls, _n as extensionSchema, _t as setModuleRenderStore, a as setTableFeature, an as checkedValueMaps, at as moduleTopics, b as readRulePolicies, bn as auditRegistrations, bt as moduleFilePaths, c as RENDERED_FEATURES, cn as AUDIT_CATEGORIES, ct as upgradePlan, d as setTagBlock, dn as declaredColumnTypes, dt as appTablePolicyNotes, en as MODULE_ID_TYPES, et as parseDeclared, f as commentOnTableSql, fn as declaredIndexes, ft as declaredPolicies, g as POLICY_FUNCTIONS, gn as declaredViews, gt as moduleRenderStats, h as setBsbTag, hn as declaredUpdatedAtTriggers, ht as PRELUDE_MODULE, i as setFeatureStatement, in as appValues, it as moduleBody, j as blockReadRoles, jt as moduleEventTriggers, k as checkValues, kt as moduleFileVersion, l as isRenderedFeature, ln as BLOCK_OPTION_SCHEMAS, lt as bsbPolicyName, m as parseBsbComment, mn as declaredTables, mt as PRELUDE_FUNCTIONS, n as createsTable, nn as moduleIdType, nt as splitStatements, o as tableFeatures, on as legacyOptionTables, ot as renderBlocks, p as formatBsbComment, pn as declaredTableColumns, pt as widenedCommands, q as moduleLayout, qt as listDeclare, r as isTableFeature, rn as contractSignature, rt as customContracts, s as tableTagComments, sn as legacyOptionTarget, st as moduleDeprecations, t as TABLE_FEATURES, tn as isBlockSqlIdType, tt as setParseStore, u as renderTagBlock, un as addedColumnTypes, ut as UNSCOPED_MODULE, v as isRule, vn as policyGrants, vt as renderKey, w as compileReadSet, wt as scopePolicyName, x as renderRule, xt as APP_TABLES_MARKER, y as policyFunctionsSql, yn as rlsTables, yt as moduleDataDir, z as moduleWritesText, zt as TENANT_SCOPE_POLICY } from "../sql-
|
|
1
|
+
import { B as resolveBlock, T as hasColumnAccess, h as appTableEventTypes } from "../instances-PZAWgQEX.js";
|
|
2
|
+
import { $ as ownerOf, $t as redundantNulls, A as declaredCheckValues, At as sameBlockFile, B as clearMemo, Bt as excludedColumns, C as rulePolicy, Ct as appTablesFiles, D as duplicateObjects, Dt as blockFileState, E as sharedRolesProblems, Et as blockSqlVersion, F as sameTenantLayout, Ft as SQL_MODULES, G as blockTables, Gt as keysetPredicate, H as memoized, Ht as SECRET_COLUMNS, I as adoptedColumnProblems, It as moduleSource, J as entityRenamePlan, Jt as listOrder, K as seedDefaultsFunctions, Kt as listBody, L as adoptedTables, Lt as resolveBlocks, M as tenantsQuery, Mt as moduleHidingColumns, N as expiredFlagsQuery, Nt as modulePermissionKeys, O as writtenValues, Ot as isModuleDataFile, P as ownedColumns, Pt as moduleSchemaExtensions, Q as duplicatePolicies, Qt as moduleContext, R as adoptedViews, Rt as TENANT_SCOPE_NAMES, S as renderRulePolicy, St as APP_TABLES_MODULE, T as compileReadSets, Tt as renderAutoEmbedding, U as setMemoBackend, Ut as dataExportPlan, V as memoStats, Vt as resolveExposeColumns, W as instanceFunctions, Wt as LIST_TOTAL_CAP, X as buildModel, Xt as sameTenantTrigger, Y as appColumnsOf, Yt as sameTenantColumn, Z as conflicts, Zt as migrationOptionUses, _ as disallowedPolicyCalls, _n as extensionSchema, _t as setModuleRenderStore, a as setTableFeature, an as checkedValueMaps, at as moduleTopics, b as readRulePolicies, bn as auditRegistrations, bt as moduleFilePaths, c as RENDERED_FEATURES, cn as AUDIT_CATEGORIES, ct as upgradePlan, d as setTagBlock, dn as declaredColumnTypes, dt as appTablePolicyNotes, en as MODULE_ID_TYPES, et as parseDeclared, f as commentOnTableSql, fn as declaredIndexes, ft as declaredPolicies, g as POLICY_FUNCTIONS, gn as declaredViews, gt as moduleRenderStats, h as setBsbTag, hn as declaredUpdatedAtTriggers, ht as PRELUDE_MODULE, i as setFeatureStatement, in as appValues, it as moduleBody, j as blockReadRoles, jt as moduleEventTriggers, k as checkValues, kt as moduleFileVersion, l as isRenderedFeature, ln as BLOCK_OPTION_SCHEMAS, lt as bsbPolicyName, m as parseBsbComment, mn as declaredTables, mt as PRELUDE_FUNCTIONS, n as createsTable, nn as moduleIdType, nt as splitStatements, o as tableFeatures, on as legacyOptionTables, ot as renderBlocks, p as formatBsbComment, pn as declaredTableColumns, pt as widenedCommands, q as moduleLayout, qt as listDeclare, r as isTableFeature, rn as contractSignature, rt as customContracts, s as tableTagComments, sn as legacyOptionTarget, st as moduleDeprecations, t as TABLE_FEATURES, tn as isBlockSqlIdType, tt as setParseStore, u as renderTagBlock, un as addedColumnTypes, ut as UNSCOPED_MODULE, v as isRule, vn as policyGrants, vt as renderKey, w as compileReadSet, wt as scopePolicyName, x as renderRule, xt as APP_TABLES_MARKER, y as policyFunctionsSql, yn as rlsTables, yt as moduleDataDir, z as moduleWritesText, zt as TENANT_SCOPE_POLICY } from "../sql-DLuqUuGO.js";
|
|
3
3
|
import { a as LEGACY_OPTION } from "../options-Bfd-k6yw.js";
|
|
4
4
|
import { A as notNullCheckName } from "../shared-D-qwk29i.js";
|
|
5
5
|
import { s as subjectColumns } from "../contributions-Ba-C1ueE.js";
|
|
@@ -3,10 +3,10 @@ import { a as hasPlaceholder, f as isFunctionSpec, l as splitPlaceholders, r as
|
|
|
3
3
|
import { a as ok } from "./result-DijoXEFG.js";
|
|
4
4
|
import { n as isRecord$1, t as isList } from "./guards-CsRa6v57.js";
|
|
5
5
|
import { t as SPEC_PINS } from "./spec-pins-Dlz8OVqi.js";
|
|
6
|
-
import { _ as CONFIG_DEFAULTS, d as blockColumnName, f as checkTenantEntry, g as resolveJsonSchema, h as clientFunctions, l as installedBlockSubjects, m as resolveNames, n as checkFormerPermissionKeys, p as entityType, r as renames } from "./former-permission-keys-
|
|
6
|
+
import { _ as CONFIG_DEFAULTS, d as blockColumnName, f as checkTenantEntry, g as resolveJsonSchema, h as clientFunctions, l as installedBlockSubjects, m as resolveNames, n as checkFormerPermissionKeys, p as entityType, r as renames } from "./former-permission-keys-FPrqQHXf.js";
|
|
7
7
|
import { t as DEFAULT_CLAIMS } from "./claims-CX-ar1vt.js";
|
|
8
8
|
import { o as tenantNames, r as composeNames } from "./entity-naming-CUsC8bC1.js";
|
|
9
|
-
import { B as resolveBlock, C as columnsWithAccess, E as hiddenColumns, I as PRESET_CATALOG, L as BLOCK_SCOPES, N as createdFromLink, P as link, S as hasComputed, T as hasColumnAccess, V as tenantNameOf, a as isRenamedInstance, g as appTableVersions, i as instancePrefix, l as APP_RANK_COLUMN, m as appTableEventKinds, s as APP_DELETED_AT_COLUMN, w as encryptedColumns, y as lookupColumn } from "./instances-
|
|
9
|
+
import { B as resolveBlock, C as columnsWithAccess, E as hiddenColumns, I as PRESET_CATALOG, L as BLOCK_SCOPES, N as createdFromLink, P as link, S as hasComputed, T as hasColumnAccess, V as tenantNameOf, a as isRenamedInstance, g as appTableVersions, i as instancePrefix, l as APP_RANK_COLUMN, m as appTableEventKinds, s as APP_DELETED_AT_COLUMN, w as encryptedColumns, y as lookupColumn } from "./instances-PZAWgQEX.js";
|
|
10
10
|
import { i as FIELD_FORMATS, n as CUSTOM_FIELD_FORM_TYPES, o as FIELD_FORMAT_VALIDATORS, r as CUSTOM_FIELD_TYPES, s as RATING_BOUNDS, t as CUSTOM_FIELD_CHECKED_FORMATS } from "./field-formats-sLYMh1ZK.js";
|
|
11
11
|
import { a as sqlString, i as sqlIdent$1 } from "./template-CpYN7hZX.js";
|
|
12
12
|
import { a as LEGACY_OPTION, n as blockOptions, r as option, t as NO_OPTIONS } from "./options-Bfd-k6yw.js";
|
|
@@ -167,7 +167,7 @@ import { n as WARRANTY_STATUSES } from "./warranty-values-BJo_g1F1.js";
|
|
|
167
167
|
import { n as WORKFLOW_SDK_WORLD } from "./workflow-sdk-IPsOMGEC.js";
|
|
168
168
|
import { s as permissionMatches$1 } from "./delegation-CnCIKysL.js";
|
|
169
169
|
import { n as quoteIdent, t as compileSql } from "./sql-DqCwJ2qB.js";
|
|
170
|
-
import { t as provideConnectionRuntime } from "./define-runtime-full-
|
|
170
|
+
import { t as provideConnectionRuntime } from "./define-runtime-full-gpz09qAj.js";
|
|
171
171
|
// src/sql/api-schema.ts
|
|
172
172
|
/** The roles PostgREST runs a request as. */
|
|
173
173
|
const API_ROLES = /* @__PURE__ */ new Set([
|
|
@@ -2486,6 +2486,13 @@ function createModuleContext(module, namesOf, source = {}) {
|
|
|
2486
2486
|
...subject === void 0 ? {} : { subject }
|
|
2487
2487
|
};
|
|
2488
2488
|
};
|
|
2489
|
+
for (const type of Object.keys(config.eventPayload)) if (names.events && !Object.hasOwn(names.events, type)) throw new TypeError(`${where}.events.payload names "${type}", which module "${module}" doesn't record`);
|
|
2490
|
+
const withPayload = (event, type) => {
|
|
2491
|
+
const added = Object.entries(config.eventPayload[type] ?? {});
|
|
2492
|
+
if (added.length === 0) return event.payload;
|
|
2493
|
+
if (event.row === void 0) throw new TypeError(`${where}.events.payload names "${type}", which module "${module}" records without a row`);
|
|
2494
|
+
return `(${event.payload} || jsonb_build_object(${added.map(([key, column]) => `${sqlString(key)}, ${event.row}.${sqlIdent$1(column)}`).join(", ")}))`;
|
|
2495
|
+
};
|
|
2489
2496
|
const outbox = (checked) => {
|
|
2490
2497
|
checkEvent(checked);
|
|
2491
2498
|
const event = renamed(checked);
|
|
@@ -2495,7 +2502,7 @@ function createModuleContext(module, namesOf, source = {}) {
|
|
|
2495
2502
|
if (typeof template !== "string") throw new TypeError("blocks.outbox.options.blockSource must be a string");
|
|
2496
2503
|
return `perform ${sqlIdent$1(outboxConfig.schema)}.emit_event(${[
|
|
2497
2504
|
sqlString(event.type),
|
|
2498
|
-
event.
|
|
2505
|
+
withPayload(event, checked.type),
|
|
2499
2506
|
event.subject ?? "null",
|
|
2500
2507
|
event.tenant === void 0 ? "null" : `(${event.tenant})::text`,
|
|
2501
2508
|
event.key ?? "null",
|
|
@@ -49018,6 +49025,7 @@ function taskFunctions(ctx, n) {
|
|
|
49018
49025
|
payload: `jsonb_build_object('organizationId', ${alias}.${w("tenant")}, 'taskId', ${alias}.${w("id")}, 'subjectType', ${item}, 'subjectId', ${alias}.${w("id")}::text, 'title', ${alias}.${w("title")}${extra})`,
|
|
49019
49026
|
subject: `'tasks/' || ${alias}.${w("id")}::text`,
|
|
49020
49027
|
tenant: `${alias}.${w("tenant")}::text`,
|
|
49028
|
+
row: alias,
|
|
49021
49029
|
audit: false,
|
|
49022
49030
|
...n.templates ? { live: `${alias}.${w("template")} is null` } : {}
|
|
49023
49031
|
});
|
|
@@ -50324,6 +50332,7 @@ ${ctx.has("items", "progress") ? ` if ${state(`new.${w("state")}`, ["comple
|
|
|
50324
50332
|
end if;
|
|
50325
50333
|
` : ""} ${ctx.record({
|
|
50326
50334
|
type: "task.closed",
|
|
50335
|
+
row: "new",
|
|
50327
50336
|
payload: payload(`, 'state', new.${w("state")}, 'closeReason', new.${w("closeReason")}`),
|
|
50328
50337
|
subject,
|
|
50329
50338
|
tenant,
|
|
@@ -50335,6 +50344,7 @@ ${ctx.has("items", "progress") ? ` if ${state(`new.${w("state")}`, ["comple
|
|
|
50335
50344
|
new.${w("closeReason")} := null;
|
|
50336
50345
|
${ctx.record({
|
|
50337
50346
|
type: "task.reopened",
|
|
50347
|
+
row: "new",
|
|
50338
50348
|
payload: payload(""),
|
|
50339
50349
|
subject,
|
|
50340
50350
|
tenant,
|
|
@@ -225922,6 +225932,9 @@ ${renderPolicy(policy$1({
|
|
|
225922
225932
|
["created_by", read("e", "createdBy")],
|
|
225923
225933
|
["created_at", read("e", "createdAt")]
|
|
225924
225934
|
];
|
|
225935
|
+
const created = read("e", "createdAt", e("id"));
|
|
225936
|
+
const newest = "list_incoming_webhooks.newest_first";
|
|
225937
|
+
const order = `case when ${newest} then ${created} end desc, case when ${newest} then ${e("id")} end desc, ${created}, ${e("id")}`;
|
|
225925
225938
|
const subjectFilter = subjectColumns ? `
|
|
225926
225939
|
and (list_incoming_webhooks.subject_type is null or ${e("subjectType")} = list_incoming_webhooks.subject_type)
|
|
225927
225940
|
and (list_incoming_webhooks.subject_id is null or ${e("subjectId")} = list_incoming_webhooks.subject_id)` : `
|
|
@@ -226027,22 +226040,29 @@ $$;
|
|
|
226027
226040
|
revoke execute on function ${ctx.fn("incoming_webhook_subject_readable")}(text, text, ${id}) from public, anon;
|
|
226028
226041
|
grant execute on function ${ctx.fn("incoming_webhook_subject_readable")}(text, text, ${id}) to authenticated, service_role;
|
|
226029
226042
|
${readPolicy}
|
|
226043
|
+
drop function if exists ${ctx.fn("list_incoming_webhooks")}(${id}, text, text);
|
|
226030
226044
|
-- A tenant's endpoints, or one subject's, without secrets; runs as the caller.
|
|
226031
|
-
create or replace function ${ctx.fn("list_incoming_webhooks")}(tenant ${id}, subject_type text default null, subject_id text default null)
|
|
226045
|
+
create or replace function ${ctx.fn("list_incoming_webhooks")}(tenant ${id}, subject_type text default null, subject_id text default null, page_size integer default null, skip integer default 0, newest_first boolean default false)
|
|
226032
226046
|
returns jsonb
|
|
226033
226047
|
language sql
|
|
226034
226048
|
stable
|
|
226035
226049
|
security invoker
|
|
226036
226050
|
set search_path = ''
|
|
226037
226051
|
as $$
|
|
226038
|
-
select coalesce(jsonb_agg(
|
|
226039
|
-
|
|
226040
|
-
|
|
226041
|
-
|
|
226042
|
-
|
|
226052
|
+
select coalesce(jsonb_agg(page.item order by page.n), '[]'::jsonb)
|
|
226053
|
+
from (
|
|
226054
|
+
select jsonb_build_object(
|
|
226055
|
+
${listed.map(([name, value]) => `'${name}', ${value}`).join(",\n ")}
|
|
226056
|
+
) as item, row_number() over (order by ${order}) as n
|
|
226057
|
+
from ${t} e
|
|
226058
|
+
where ${e("tenant")} = list_incoming_webhooks.tenant${subjectFilter}
|
|
226059
|
+
order by ${order}
|
|
226060
|
+
limit case when list_incoming_webhooks.page_size is null then null else ${pageSize("list_incoming_webhooks.page_size", 50, 500)} end
|
|
226061
|
+
offset greatest(coalesce(list_incoming_webhooks.skip, 0), 0)
|
|
226062
|
+
) page
|
|
226043
226063
|
$$;
|
|
226044
|
-
revoke execute on function ${ctx.fn("list_incoming_webhooks")}(${id}, text, text) from public, anon;
|
|
226045
|
-
grant execute on function ${ctx.fn("list_incoming_webhooks")}(${id}, text, text) to authenticated, service_role;
|
|
226064
|
+
revoke execute on function ${ctx.fn("list_incoming_webhooks")}(${id}, text, text, integer, integer, boolean) from public, anon;
|
|
226065
|
+
grant execute on function ${ctx.fn("list_incoming_webhooks")}(${id}, text, text, integer, integer, boolean) to authenticated, service_role;
|
|
226046
226066
|
${cascades}
|
|
226047
226067
|
drop function if exists ${ctx.fn("create_incoming_webhook")}(${id}, text, text, jsonb, text);
|
|
226048
226068
|
-- Creates an endpoint and returns it with its token (and the signing secret
|
|
@@ -226378,7 +226398,7 @@ const WEBHOOKS_IN = {
|
|
|
226378
226398
|
} },
|
|
226379
226399
|
options: ["maxBodyBytes", "secretStorage"]
|
|
226380
226400
|
},
|
|
226381
|
-
version:
|
|
226401
|
+
version: 5,
|
|
226382
226402
|
upgrades: [
|
|
226383
226403
|
{
|
|
226384
226404
|
from: 1,
|
|
@@ -226400,6 +226420,11 @@ where e.secret is not null and e.secret_id is null;`;
|
|
|
226400
226420
|
from: 3,
|
|
226401
226421
|
description: "Adopt mode over an app's endpoints table; incoming_webhook_by_token returns the endpoint's metadata for destinations.",
|
|
226402
226422
|
sql: () => ""
|
|
226423
|
+
},
|
|
226424
|
+
{
|
|
226425
|
+
from: 4,
|
|
226426
|
+
description: "list_incoming_webhooks pages with page_size and skip, and newest_first lists the newest endpoints first.",
|
|
226427
|
+
sql: () => ""
|
|
226403
226428
|
}
|
|
226404
226429
|
],
|
|
226405
226430
|
contract: () => [
|
|
@@ -226437,7 +226462,10 @@ where e.secret is not null and e.secret_id is null;`;
|
|
|
226437
226462
|
args: [
|
|
226438
226463
|
"{id}",
|
|
226439
226464
|
"text",
|
|
226440
|
-
"text"
|
|
226465
|
+
"text",
|
|
226466
|
+
"integer",
|
|
226467
|
+
"integer",
|
|
226468
|
+
"boolean"
|
|
226441
226469
|
],
|
|
226442
226470
|
returns: "jsonb"
|
|
226443
226471
|
},
|
package/dist/sqlite/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { c as LocalTablesOption, n as DataEngine, s as LiveEngineOptions } from "../data-engine-nmeUijzR.js";
|
|
2
2
|
import { Vt as Executor } from "../types-Dizn1liT.js";
|
|
3
|
-
import { i as fromSqliteError, n as SqliteDatabaseLike, o as CheckSqliteOptions, r as SqliteExecutorOptions, s as checkSqlite, t as SqliteContextLike } from "../executor-
|
|
3
|
+
import { i as fromSqliteError, n as SqliteDatabaseLike, o as CheckSqliteOptions, r as SqliteExecutorOptions, s as checkSqlite, t as SqliteContextLike } from "../executor-h098g0vY.js";
|
|
4
4
|
/** A SQLite database that may report which tables changed. */
|
|
5
5
|
interface ChangingSqliteDatabase extends SqliteDatabaseLike {
|
|
6
6
|
onChange?(handler: {
|
package/dist/sqlite/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as localEngine } from "../data-engine-MRAlinsa.js";
|
|
2
|
-
import { i as checkSqlite, r as sqliteExecutor, t as fromSqliteError } from "../executor-
|
|
2
|
+
import { i as checkSqlite, r as sqliteExecutor, t as fromSqliteError } from "../executor-DABWqMfV.js";
|
|
3
3
|
// src/sqlite/engine.ts
|
|
4
4
|
/**
|
|
5
5
|
* A UUID v4 from SQLite's `randomblob`, for runtimes without
|
package/dist/ssr/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { A as parseCookies, C as CookieOptions, D as SessionEncoding, E as CookieWrite, M as serializeCookie, N as sessionCookieName, O as StoredSession, T as CookieScope, a as ResolveAuthOptions, d as resolveAuth, j as readSession, k as applyCookieWrites, n as AuthResolver, r as AuthState, t as AuthResolution, w as CookieRecord } from "../resolve-Pn7KvQ23.js";
|
|
2
2
|
import { a as sessionStatus, i as clearSessionCookies, n as SessionStatus, o as authContext, r as SessionStatusOptions, t as ClearSessionCookiesOptions } from "../ended-CzWPQkkG.js";
|
|
3
3
|
import { n as AuthSession, o as toSession } from "../view-DwTCw_jZ.js";
|
|
4
|
-
import { r as MembershipClaim } from "../entitlements-
|
|
4
|
+
import { r as MembershipClaim } from "../entitlements-DKNLoLw3.js";
|
|
5
5
|
export { type AuthResolution, type AuthResolver, type AuthSession, type AuthState, type ClearSessionCookiesOptions, type CookieOptions, type CookieRecord, type CookieScope, type CookieWrite, type MembershipClaim, type ResolveAuthOptions, type SessionEncoding, type SessionStatus, type SessionStatusOptions, type StoredSession, applyCookieWrites, authContext, clearSessionCookies, parseCookies, readSession, resolveAuth, serializeCookie, sessionCookieName, sessionStatus, toSession };
|
package/dist/svelte/index.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { n as AuthSession } from "../view-DwTCw_jZ.js";
|
|
2
|
-
import { _ as LiveQueryHookOptions, a as DataRows, b as ProfileOf, c as DataWrites, d as ActionState, f as BroadcastOptions, g as LiveCountSource, h as LiveCountHookOptions, i as DataRow, l as ActionInputOf, m as ClientLike, n as DataId, o as DataSource, p as ClaimsOf, r as DataListOptions, s as DataState, t as fieldErrorsOf, u as ActionResultOf, v as PresenceHookOptions, x as UseActionOptions, y as PresenceTopic } from "../field-errors-
|
|
3
|
-
import { t as AuthSnapshot } from "../bind-
|
|
2
|
+
import { _ as LiveQueryHookOptions, a as DataRows, b as ProfileOf, c as DataWrites, d as ActionState, f as BroadcastOptions, g as LiveCountSource, h as LiveCountHookOptions, i as DataRow, l as ActionInputOf, m as ClientLike, n as DataId, o as DataSource, p as ClaimsOf, r as DataListOptions, s as DataState, t as fieldErrorsOf, u as ActionResultOf, v as PresenceHookOptions, x as UseActionOptions, y as PresenceTopic } from "../field-errors-D0vkq05i.js";
|
|
3
|
+
import { t as AuthSnapshot } from "../bind-DiQyvXnj.js";
|
|
4
4
|
import { b as DbError } from "../result-aun_QZHn.js";
|
|
5
|
-
import { dt as QuerySpec } from "../db-blocks-
|
|
6
|
-
import { _ as TopicHandlers, m as Topic, p as SubscriptionStatus, r as PresenceMember, t as EventSchemas } from "../topic-
|
|
5
|
+
import { dt as QuerySpec } from "../db-blocks-BQkHb77X.js";
|
|
6
|
+
import { _ as TopicHandlers, m as Topic, p as SubscriptionStatus, r as PresenceMember, t as EventSchemas } from "../topic-Dw4CI2so.js";
|
|
7
7
|
import { tt as TemplateValues } from "../bucket-BJ03ZblY.js";
|
|
8
8
|
import { a as BlockQueryActions, c as BlockRefetchOn, i as BlockMutationState, n as BlockEventSource, o as BlockQueryOptions, r as BlockMutationActions, s as BlockQueryState, t as BlockEngineOptions } from "../block-controller-Dy-Jyy8A.js";
|
|
9
|
-
import { n as Controller } from "../controller-
|
|
9
|
+
import { n as Controller } from "../controller-DMoPjq2t.js";
|
|
10
10
|
import { Ct as EventMap, E as BlockEventPattern, Et as Events, O as BlockEventsMatching, w as BlockEvent } from "../events-zz8DwtZi.js";
|
|
11
11
|
import { n as BlockDataOf, r as BlockMethodName, t as BlockArgsOf } from "../block-method-OJA4a62H.js";
|
|
12
|
-
import { n as BlockOptions } from "../block-env-
|
|
12
|
+
import { n as BlockOptions } from "../block-env-aG5V88tR.js";
|
|
13
13
|
import { SupabaseClient } from "@supabase/supabase-js";
|
|
14
14
|
import { QueryClient } from "@tanstack/query-core";
|
|
15
15
|
import { Readable } from "svelte/store";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as Validated } from "../shared-DsBcvj6q.js";
|
|
2
2
|
import { O as AnyFunctions, Ut as AnyAuthorizer, in as PermissionRef, k as AnyModels } from "../types-Dizn1liT.js";
|
|
3
|
-
import { s as BetterSupabase } from "../db-blocks-
|
|
4
|
-
import { n as FrameworkOptions, r as LocalsResource, t as FrameworkLocals } from "../framework-
|
|
3
|
+
import { s as BetterSupabase } from "../db-blocks-BQkHb77X.js";
|
|
4
|
+
import { n as FrameworkOptions, r as LocalsResource, t as FrameworkLocals } from "../framework-CEMVz7JS.js";
|
|
5
5
|
import { a as AuthorizedContext, c as ResourceLoaderContext, i as AuthorizeOptions, l as Unwrapped, n as ActionParsed, o as BlockActionOptions, r as ActionResult, s as BlockRequireOptions } from "../kit-BwlTgitb.js";
|
|
6
|
-
import { r as BetterServer } from "../server-types-
|
|
6
|
+
import { r as BetterServer } from "../server-types-Bax89ShV.js";
|
|
7
7
|
import { t as RefusalRedirects } from "../refusal-6HGi0oY9.js";
|
|
8
|
-
import { i as tagFor } from "../tags-
|
|
8
|
+
import { i as tagFor } from "../tags-C3z-ntLF.js";
|
|
9
9
|
import { AnyEntry, Contributions } from "@supabase/middleware";
|
|
10
10
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
11
11
|
/** The part of SvelteKit's `RequestEvent` the bridge reads and writes. */
|
package/dist/sveltekit/index.js
CHANGED
|
@@ -2,12 +2,12 @@ import { t as DbException } from "../db-exception-Dv18UZ-I.js";
|
|
|
2
2
|
import { n as bufferInPlace, t as around } from "../shared-Ci1g9nl4.js";
|
|
3
3
|
import { r as dbErrorOf } from "../errors-DK1wGb9z.js";
|
|
4
4
|
import { c as toProblem } from "../problem-BwplIuhI.js";
|
|
5
|
-
import { t as adapterBase } from "../adapter-base-
|
|
5
|
+
import { t as adapterBase } from "../adapter-base-DXF0tNJJ.js";
|
|
6
6
|
import { _ as withFlush } from "../sessions-w6xril_l.js";
|
|
7
|
-
import { a as platformWaitUntil, i as localsOf, n as actionInput, r as frameworkEntry } from "../framework-
|
|
7
|
+
import { a as platformWaitUntil, i as localsOf, n as actionInput, r as frameworkEntry } from "../framework-BQgHM3zD.js";
|
|
8
8
|
import { i as requireCaller, o as runAction } from "../kit-BgRTtW9w.js";
|
|
9
9
|
import { i as refusalTarget } from "../refusal-CgSrkirX.js";
|
|
10
|
-
import { n as extendServer, t as createServer } from "../server-
|
|
10
|
+
import { n as extendServer, t as createServer } from "../server-B0T944J9.js";
|
|
11
11
|
import { r as tagFor } from "../tags-CW-KvjdL.js";
|
|
12
12
|
// src/bridges/sveltekit.ts
|
|
13
13
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { cn as CacheTarget, sn as CacheAdapter } from "./db-blocks-
|
|
1
|
+
import { cn as CacheTarget, sn as CacheAdapter } from "./db-blocks-BQkHb77X.js";
|
|
2
2
|
interface TagOptions {
|
|
3
3
|
/** The tenant the read is scoped to; `"*"` is every tenant's reads. */
|
|
4
4
|
readonly tenant?: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as Db, s as BetterSupabase } from "../db-blocks-
|
|
1
|
+
import { p as Db, s as BetterSupabase } from "../db-blocks-BQkHb77X.js";
|
|
2
2
|
import { t as BetterQueryMeta } from "../invalidate-DAB9CaPm.js";
|
|
3
3
|
import { O as AnyFunctions, dt as TableKey, k as AnyModels } from "../types-Dizn1liT.js";
|
|
4
4
|
import { n as DataEngine } from "../data-engine-nmeUijzR.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as Validated } from "../shared-DsBcvj6q.js";
|
|
2
2
|
import { O as AnyFunctions, Ut as AnyAuthorizer, in as PermissionRef, k as AnyModels } from "../types-Dizn1liT.js";
|
|
3
|
-
import { s as BetterSupabase } from "../db-blocks-
|
|
4
|
-
import { n as FrameworkOptions, r as LocalsResource, t as FrameworkLocals } from "../framework-
|
|
3
|
+
import { s as BetterSupabase } from "../db-blocks-BQkHb77X.js";
|
|
4
|
+
import { n as FrameworkOptions, r as LocalsResource, t as FrameworkLocals } from "../framework-CEMVz7JS.js";
|
|
5
5
|
import { a as AuthorizedContext, c as ResourceLoaderContext, i as AuthorizeOptions, l as Unwrapped, n as ActionParsed, o as BlockActionOptions, r as ActionResult, s as BlockRequireOptions } from "../kit-BwlTgitb.js";
|
|
6
|
-
import { r as BetterServer } from "../server-types-
|
|
6
|
+
import { r as BetterServer } from "../server-types-Bax89ShV.js";
|
|
7
7
|
import { t as RefusalRedirects } from "../refusal-6HGi0oY9.js";
|
|
8
8
|
import { AnyEntry, Contributions } from "@supabase/middleware";
|
|
9
9
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { n as bufferInPlace, t as around } from "../shared-Ci1g9nl4.js";
|
|
2
|
-
import { t as adapterBase } from "../adapter-base-
|
|
2
|
+
import { t as adapterBase } from "../adapter-base-DXF0tNJJ.js";
|
|
3
3
|
import { _ as withFlush } from "../sessions-w6xril_l.js";
|
|
4
|
-
import { i as localsOf, r as frameworkEntry } from "../framework-
|
|
4
|
+
import { i as localsOf, r as frameworkEntry } from "../framework-BQgHM3zD.js";
|
|
5
5
|
import { i as requireCaller, o as runAction } from "../kit-BgRTtW9w.js";
|
|
6
6
|
import { r as refusalResponse } from "../refusal-CgSrkirX.js";
|
|
7
|
-
import { n as extendServer, t as createServer } from "../server-
|
|
7
|
+
import { n as extendServer, t as createServer } from "../server-B0T944J9.js";
|
|
8
8
|
// src/bridges/tanstack-start.ts
|
|
9
9
|
/**
|
|
10
10
|
* The `response` of a request middleware's `next()` result; server function
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as ClaimsSource } from "./claims-source-
|
|
1
|
+
import { n as ClaimsSource } from "./claims-source-yTqGqUDc.js";
|
|
2
2
|
/**
|
|
3
3
|
* The active tenant of a user session: the `claim` claim (`tenant_id` by
|
|
4
4
|
* default, as `config.claims.tenant`) at the top level of the token, then in
|
package/dist/testing/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
2
|
import { g as SessionSnapshot, n as AuthResolver } from "../resolve-Pn7KvQ23.js";
|
|
3
3
|
import { o as InlineJwks, t as BetterSupabaseEnv } from "../index-5RZgIqiw.js";
|
|
4
|
-
import { p as Db, rn as DbStats, s as BetterSupabase, sn as CacheAdapter } from "../db-blocks-
|
|
4
|
+
import { p as Db, rn as DbStats, s as BetterSupabase, sn as CacheAdapter } from "../db-blocks-BQkHb77X.js";
|
|
5
5
|
import { Ct as AnyPlugin, It as RequestContext, O as AnyFunctions, St as Actor, Vt as Executor, Xt as AuthorizationRequest, Yt as AuthorizationPurpose, Zt as AuthorizationResource, at as Row, dt as TableKey, en as Authorizer, et as RecordRef, gt as Update, k as AnyModels, q as Insert, st as SchemaMeta } from "../types-Dizn1liT.js";
|
|
6
6
|
import { s as SqlClaims, t as BetterPostgres } from "../pool-Dzeln5IJ.js";
|
|
7
7
|
import { n as SqlClient } from "../executor-7zo2arIZ.js";
|
|
@@ -13,28 +13,28 @@ import { i as EventSink, t as CloudEvent } from "../cloud-event-B0AsPtwP.js";
|
|
|
13
13
|
import { n as Money } from "../money-BgpAd7d3.js";
|
|
14
14
|
import { n as Payment, o as PaymentProvider } from "../payments-CE1UK-Kj.js";
|
|
15
15
|
import { r as WebhookInput } from "../signatures-Db_koMbq.js";
|
|
16
|
-
import { tn as FieldPack, w as AnyRecordBinding } from "../define-block-
|
|
16
|
+
import { tn as FieldPack, w as AnyRecordBinding } from "../define-block-ClbL68WH.js";
|
|
17
17
|
import { l as TaxProvider, r as TaxAddress } from "../tax-fBGOPO9u.js";
|
|
18
18
|
import { Q as EInvoiceChannel, et as EInvoiceDocument, lt as EInvoiceEndpoint, t as Invoice } from "../invoices-L6khZ9kt.js";
|
|
19
19
|
import { p as ShippingProvider, s as ShipmentAddress } from "../carrier-CxbhGVXO.js";
|
|
20
|
-
import { O as IncomingDestination, f as WebhookSecretStore, o as WebhookSigner, v as WebhookTransport } from "../signers-
|
|
20
|
+
import { O as IncomingDestination, f as WebhookSecretStore, o as WebhookSigner, v as WebhookTransport } from "../signers-FVeDbZxq.js";
|
|
21
21
|
import { L as QueueProvider } from "../types-CID74uQG.js";
|
|
22
22
|
import { w as SupportSessionStore } from "../support-8jVUURe-.js";
|
|
23
|
-
import { n as Controller } from "../controller-
|
|
23
|
+
import { n as Controller } from "../controller-DMoPjq2t.js";
|
|
24
24
|
import { r as GuardOptions } from "../respond-vxhdVf23.js";
|
|
25
|
-
import { s as ServerContext, u as ServerOptions } from "../server-types-
|
|
25
|
+
import { s as ServerContext, u as ServerOptions } from "../server-types-Bax89ShV.js";
|
|
26
26
|
import { a as BlockTransportMiddleware } from "../block-hooks-b7-RUIxS.js";
|
|
27
|
-
import { c as AuthorizationProvider } from "../authorization-
|
|
27
|
+
import { c as AuthorizationProvider } from "../authorization-DKxttkik.js";
|
|
28
28
|
import { i as AuthorizationHooks } from "../authorization-hooks-Oe0WJTn2.js";
|
|
29
29
|
import { a as DeliveryTransport } from "../delivery-CWcbh87x.js";
|
|
30
30
|
import { l as VersionOf, t as AnyDocumentFormat } from "../format-BT0Z3V54.js";
|
|
31
31
|
import { t as ApiModel } from "../model-Lxa_mOzB.js";
|
|
32
|
-
import { Ct as ResolvedConfig, Er as GeneratorInput, hr as Generator, kr as GeneratorModel } from "../context-
|
|
32
|
+
import { Ct as ResolvedConfig, Er as GeneratorInput, hr as Generator, kr as GeneratorModel } from "../context-C-msUG_m.js";
|
|
33
33
|
import { l as Transcriber, s as NoteTaker, u as TranscriberInput } from "../recordings-C1BOyHYu.js";
|
|
34
34
|
import { o as VulnerabilityFeed } from "../feed-cS7xrEWS.js";
|
|
35
|
-
import { c as AiTaskRunner, o as AiTaskRun, r as AiTask } from "../ai-schedules-
|
|
35
|
+
import { c as AiTaskRunner, o as AiTaskRun, r as AiTask } from "../ai-schedules-DdoefSrp.js";
|
|
36
36
|
import { _ as ClinicalDecisionSupport, l as CareDecisionContext } from "../clinical-decision-support-D6FWGbEw.js";
|
|
37
|
-
import { n as DriveTextFile, s as TextExtractor } from "../extract-
|
|
37
|
+
import { n as DriveTextFile, s as TextExtractor } from "../extract-CzjhSs6g.js";
|
|
38
38
|
import { i as Prescription, r as PrescribedOrder, s as PrescriptionGateway } from "../e-prescribing-CP0lcOje.js";
|
|
39
39
|
import { D as FundingRenderedClaim, c as FundingClaim, f as FundingClaimFormat, l as FundingClaimChannel, p as FundingClaimLine } from "../funding-B4vqlKq2.js";
|
|
40
40
|
import { r as Embedder } from "../knowledge-C7RZqwQu.js";
|
package/dist/testing/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i as fromBase64, o as toBase64Url, t as base64ToText } from "../base64-DgNIlSAS.js";
|
|
2
2
|
import { t as DbException } from "../db-exception-Dv18UZ-I.js";
|
|
3
3
|
import { n as dbError } from "../errors-DK1wGb9z.js";
|
|
4
|
-
import { t as provideConnectionRuntime } from "../define-runtime-full-
|
|
4
|
+
import { t as provideConnectionRuntime } from "../define-runtime-full-gpz09qAj.js";
|
|
5
5
|
import { ENV_VARIABLES } from "../env/index.js";
|
|
6
6
|
import { t as postgresExecutor } from "../executor-BWg7xw7c.js";
|
|
7
7
|
import { i as seedLite, n as loadLite, r as migrateLite, t as LITE_INSTALL } from "../runtime-sBnEajcK.js";
|
|
@@ -34,8 +34,8 @@ import { t as AUTHZ_VERSION_CLAIM } from "../claim-names-B3KyK7Js.js";
|
|
|
34
34
|
import { c as snapshotOf } from "../snapshot-C1KUHKTc.js";
|
|
35
35
|
import { c as requestOf, i as defineAuthorizer, r as checkPermission } from "../authorizer-DtUCjKBn.js";
|
|
36
36
|
import { t as mailHeaders } from "../delivery-SmPHu2_H.js";
|
|
37
|
-
import { t as defineApiModel } from "../build-
|
|
38
|
-
import { i as resolveConfig, r as generatorProblem } from "../config-
|
|
37
|
+
import { t as defineApiModel } from "../build-C0BLapAI.js";
|
|
38
|
+
import { i as resolveConfig, r as generatorProblem } from "../config-1kAVpZc_.js";
|
|
39
39
|
import { i as embedVectors } from "../knowledge-LNI5C6QT.js";
|
|
40
40
|
import { n as toFhirPrescription } from "../prescriptions-CzY13vFr.js";
|
|
41
41
|
import { a as CARE_BUILT_IN_SOURCE, n as CARE_ALERT_KINDS, r as CARE_ALERT_SEVERITIES } from "../clinical-decision-support-values-Bk1AzL7L.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { D as ValidationIssue, t as AsyncResult } from "./result-aun_QZHn.js";
|
|
2
2
|
import { et as RecordRef } from "./types-Dizn1liT.js";
|
|
3
|
-
import { D as RecordBindingData, R as TimelineItem, j as RecordBindingResult } from "./define-block-
|
|
3
|
+
import { D as RecordBindingData, R as TimelineItem, j as RecordBindingResult } from "./define-block-ClbL68WH.js";
|
|
4
4
|
import { o as FilterField } from "./filter-query-DwJ1iMQ0.js";
|
|
5
|
-
import { A as BindingBlocks, F as LoadBindingsOptions, M as BindingName, N as BindingOf, P as BindingSource, V as PermissionSet, _ as RecordTypeBlocks, g as RecordType, h as RecordCan } from "./index-
|
|
6
|
-
import { _ as ListSearchParams, u as ListParseOptions } from "./list-query-
|
|
5
|
+
import { A as BindingBlocks, F as LoadBindingsOptions, M as BindingName, N as BindingOf, P as BindingSource, V as PermissionSet, _ as RecordTypeBlocks, g as RecordType, h as RecordCan } from "./index-xNtO4Cbv.js";
|
|
6
|
+
import { _ as ListSearchParams, u as ListParseOptions } from "./list-query-0IoIyFnQ.js";
|
|
7
7
|
/**
|
|
8
8
|
* How a binding fills a list column: `count` is how many rows it has (the
|
|
9
9
|
* binding's `count`, one query for the page), `data` its rows (its `column`, or
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as AuthorizationFunctions } from "./authorization-
|
|
1
|
+
import { n as AuthorizationFunctions } from "./authorization-DKxttkik.js";
|
|
2
2
|
import { g as SubscriberPolicy, h as SubscriberEvent, i as AuthorizationHooks, m as Subscriber } from "./authorization-hooks-Oe0WJTn2.js";
|
|
3
|
-
import { s as BetterSupabase } from "./db-blocks-
|
|
3
|
+
import { s as BetterSupabase } from "./db-blocks-BQkHb77X.js";
|
|
4
4
|
import { D as ValidationIssue, b as DbError, t as AsyncResult } from "./result-aun_QZHn.js";
|
|
5
5
|
import { t as RealtimeStatus } from "./realtime-status-D3oUx3o4.js";
|
|
6
6
|
import { et as TemplateParams, tt as TemplateValues } from "./bucket-BJ03ZblY.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { kr as Preset } from "./define-block-
|
|
2
|
-
import { Qr as AppColumnType, Yr as AppColumnAccess, Zr as AppColumnFormat, ei as AppOnDeleteAction, on as DesignErrorCode, ui as AppTableVersions } from "./context-
|
|
1
|
+
import { kr as Preset } from "./define-block-ClbL68WH.js";
|
|
2
|
+
import { Qr as AppColumnType, Yr as AppColumnAccess, Zr as AppColumnFormat, ei as AppOnDeleteAction, on as DesignErrorCode, ui as AppTableVersions } from "./context-C-msUG_m.js";
|
|
3
3
|
/** Where in the project pipeline an issue came from. */
|
|
4
4
|
type IssueSource = "design" | "rules" | "sql" | "seeds" | "verifier" | "plan";
|
|
5
5
|
type IssueSeverity = "error" | "warning" | "info";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
|
-
import { s as BetterSupabase } from "./db-blocks-
|
|
2
|
+
import { s as BetterSupabase } from "./db-blocks-BQkHb77X.js";
|
|
3
3
|
import { f as Result } from "./result-aun_QZHn.js";
|
|
4
4
|
import { n as VerifyOptions, r as WebhookInput, t as VerifiedWebhook } from "./signatures-Db_koMbq.js";
|
|
5
5
|
import { O as AnyFunctions, at as Row, dt as TableKey, k as AnyModels } from "./types-Dizn1liT.js";
|
package/dist/vue/index.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { t as SupportView } from "../support-view-CfyHFSq4.js";
|
|
2
2
|
import { n as AuthSession } from "../view-DwTCw_jZ.js";
|
|
3
|
-
import { _ as LiveQueryHookOptions, a as DataRows, b as ProfileOf, c as DataWrites, d as ActionState, f as BroadcastOptions, g as LiveCountSource, h as LiveCountHookOptions, i as DataRow, l as ActionInputOf, m as ClientLike, n as DataId, o as DataSource, p as ClaimsOf, r as DataListOptions, s as DataState, t as fieldErrorsOf, u as ActionResultOf, v as PresenceHookOptions, x as UseActionOptions, y as PresenceTopic } from "../field-errors-
|
|
4
|
-
import { t as AuthSnapshot } from "../bind-
|
|
3
|
+
import { _ as LiveQueryHookOptions, a as DataRows, b as ProfileOf, c as DataWrites, d as ActionState, f as BroadcastOptions, g as LiveCountSource, h as LiveCountHookOptions, i as DataRow, l as ActionInputOf, m as ClientLike, n as DataId, o as DataSource, p as ClaimsOf, r as DataListOptions, s as DataState, t as fieldErrorsOf, u as ActionResultOf, v as PresenceHookOptions, x as UseActionOptions, y as PresenceTopic } from "../field-errors-D0vkq05i.js";
|
|
4
|
+
import { t as AuthSnapshot } from "../bind-DiQyvXnj.js";
|
|
5
5
|
import { b as DbError } from "../result-aun_QZHn.js";
|
|
6
|
-
import { dt as QuerySpec } from "../db-blocks-
|
|
7
|
-
import { _ as TopicHandlers, m as Topic, p as SubscriptionStatus, r as PresenceMember, t as EventSchemas } from "../topic-
|
|
6
|
+
import { dt as QuerySpec } from "../db-blocks-BQkHb77X.js";
|
|
7
|
+
import { _ as TopicHandlers, m as Topic, p as SubscriptionStatus, r as PresenceMember, t as EventSchemas } from "../topic-Dw4CI2so.js";
|
|
8
8
|
import { tt as TemplateValues } from "../bucket-BJ03ZblY.js";
|
|
9
9
|
import { a as BlockQueryActions, c as BlockRefetchOn, i as BlockMutationState, n as BlockEventSource, o as BlockQueryOptions, r as BlockMutationActions, s as BlockQueryState, t as BlockEngineOptions } from "../block-controller-Dy-Jyy8A.js";
|
|
10
|
-
import { n as Controller } from "../controller-
|
|
10
|
+
import { n as Controller } from "../controller-DMoPjq2t.js";
|
|
11
11
|
import { n as BlockDataOf, r as BlockMethodName, t as BlockArgsOf } from "../block-method-OJA4a62H.js";
|
|
12
12
|
import { Ct as EventMap, E as BlockEventPattern, Et as Events, O as BlockEventsMatching, w as BlockEvent } from "../events-zz8DwtZi.js";
|
|
13
|
-
import { n as BlockOptions } from "../block-env-
|
|
13
|
+
import { n as BlockOptions } from "../block-env-aG5V88tR.js";
|
|
14
14
|
import { SupabaseClient } from "@supabase/supabase-js";
|
|
15
15
|
import { QueryClient } from "@tanstack/query-core";
|
|
16
16
|
import { App, ComputedRef, MaybeRefOrGetter, Ref, ShallowRef } from "vue";
|