better-supabase 0.63.2 → 0.65.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/{adapter-base-DXF0tNJJ.js → adapter-base-BWp_GpBq.js} +1 -1
- package/dist/{agents-C8BwEXD0.d.ts → agents-DwZDwOoT.d.ts} +2 -2
- package/dist/{ai-schedules-j51dDzm3.d.ts → ai-schedules-Snwu8x_i.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-DhCLHpIU.js → api-DW835Q-a.js} +1 -1
- package/dist/{app-tables-Br5Khxij.d.ts → app-tables-Bfqe58WR.d.ts} +1 -1
- package/dist/astro/index.js +3 -3
- package/dist/{authorization-k0Y3L701.d.ts → authorization-CX-03Zgx.d.ts} +1 -1
- package/dist/{bind-CuRPlZYY.d.ts → bind-C9Bu9fgk.d.ts} +3 -3
- package/dist/{block-env-hdFBj6FQ.d.ts → block-env-B0azWULB.d.ts} +4 -4
- package/dist/{block-tables-1XNfpOPP.d.ts → block-tables-BYfcmfA5.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 +2 -2
- 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 +16 -16
- 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 +3 -3
- 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 +2 -2
- 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 +1 -1
- package/dist/blocks/workflow-editor/index.d.ts +4 -4
- package/dist/blocks/workflows/index.d.ts +4 -4
- package/dist/{blocks-C2F_SycJ.d.ts → blocks-DuL-Ds3g.d.ts} +11 -3
- package/dist/{build-Vd4JkaqJ.js → build-C4utCr_F.js} +1 -1
- package/dist/claims/index.d.ts +4 -4
- package/dist/{claims-source-fUk4pR24.d.ts → claims-source-Cek93vyw.d.ts} +1 -1
- package/dist/cli/{add-B8H-eHVK.js → add-CJunmhIu.js} +11 -11
- package/dist/cli/add-D70QLNK7.js +1 -0
- package/dist/cli/{add-DzsB2EMd.js → add-FzNe4YLu.js} +2 -2
- package/dist/cli/{app-table-files-BNbkk4mU.js → app-table-files-BDmrt2qu.js} +4 -4
- package/dist/cli/{app-tables-B9xoTgSg.js → app-tables-C38kyCXS.js} +2 -2
- package/dist/cli/{backfill-DxGGF0tw.js → backfill-BafFSdLq.js} +3 -3
- package/dist/cli/bin.js +1 -1
- package/dist/cli/{blocks-xgk0tdfI.js → blocks-CLZsTRQp.js} +1 -1
- package/dist/cli/{blocks-zWXWOGcv.js → blocks-zt9rwTL_.js} +1 -1
- package/dist/cli/{cache-DGTzqvsc.js → cache-CEIUM3JG.js} +1 -1
- package/dist/cli/{codemod-C63P8ybN.js → codemod-M2rQ1W_U.js} +5 -5
- package/dist/cli/{codemod-naming-wb0ni9VH.js → codemod-naming-DfHoYdJU.js} +1 -1
- package/dist/cli/{column-renames-Cw-VJmbc.js → column-renames-c21PFef3.js} +2 -2
- package/dist/cli/{config-D4AVoIh5.js → config-CVwtXlJf.js} +1 -1
- package/dist/cli/{config-By5EbpdJ.js → config-f3sjxKp2.js} +1 -1
- package/dist/cli/{content-mapper-DXjq7Wfl.js → content-mapper-DqVf_Fgs.js} +1 -1
- package/dist/cli/{db-C4up7wFU.js → db-ZevmfY9U.js} +2 -2
- package/dist/cli/{dev-r1oRNl1e.js → dev-D1GK3haS.js} +5 -5
- package/dist/cli/{doctor-BHIIEqOU.js → doctor-uoRPUZ8F.js} +19 -19
- package/dist/cli/{emit-C6S__22g.js → emit-B_Lm7_wL.js} +2 -2
- package/dist/cli/{gen-tasks-D0_qerE6.js → gen-tasks-DqGGUn1q.js} +11 -11
- package/dist/cli/{gen-DWNQMbqr.js → gen-wt2ZUpGe.js} +5 -5
- package/dist/cli/index.d.ts +1 -1
- package/dist/cli/index.js +8 -8
- package/dist/cli/{init-DiYhhVtO.js → init-D86uTIWa.js} +9 -9
- package/dist/cli/{live-C7AMtQsQ.js → live-BA_a2Jol.js} +2 -2
- package/dist/cli/{mcp-DaymIFzT.js → mcp-BAbfqDad.js} +2 -2
- package/dist/cli/{memo-backend-DaO-IuUk.js → memo-backend-DhdJmTUc.js} +1 -1
- package/dist/cli/{metadata-CsSZ8mZc.js → metadata-CDLkzqxG.js} +4 -4
- package/dist/cli/{migrate-Ceai0fte.js → migrate-CdPcq8-a.js} +1 -1
- package/dist/cli/{migration-safety-BXKmX5ar.js → migration-safety-Dwfz0WVB.js} +2 -2
- package/dist/cli/{module-migration-ueN8AWpK.js → module-migration-DFIsQn_x.js} +1 -1
- package/dist/cli/{partition-DMv3-JOr.js → partition-CXNI9PQP.js} +3 -3
- package/dist/cli/powersync-Crw4D8xt.js +1 -0
- package/dist/cli/{powersync-QpdoYTM1.js → powersync-DrwwjGP-.js} +4 -4
- package/dist/cli/{print-CQe9SQD_.js → print-DNSc_N-C.js} +2 -2
- package/dist/cli/{providers-DocDgHot.js → providers-QbWlzsWD.js} +1 -1
- package/dist/cli/{prune-workflows-w_4KdMR9.js → prune-workflows-BpWuOsJw.js} +3 -3
- package/dist/cli/{remove-DvnCBCVe.js → remove-C_qXMRzB.js} +6 -6
- package/dist/cli/{render-X1jNuye8.js → render-BETiezmy.js} +5 -5
- package/dist/cli/{render-cache-Be5Sm_Eu.js → render-cache-BB0JYz8w.js} +1 -1
- package/dist/cli/{run-72NxM1zM.js → run-BOVCY-r-.js} +101 -21
- package/dist/cli/{run-BoLLvybx.js → run-Dxc0-5HJ.js} +35 -35
- package/dist/cli/seed-CIRl--FX.js +1 -0
- package/dist/cli/{seed-BufZFJ_Q.js → seed-DWgxzesp.js} +2 -2
- package/dist/cli/{shared-BR48oJN4.js → shared-BaAJV9R_.js} +1 -1
- package/dist/cli/{source-aefKuXMY.js → source-1bNLaVRN.js} +1 -1
- package/dist/cli/{source-args-CvgOHwlj.js → source-args-BJ0HQoMM.js} +1 -1
- package/dist/cli/{spec-CxtMMgXM.js → spec-D4oXGSKz.js} +1 -1
- package/dist/cli/{spec-Dvz-C4MP.js → spec-LDMiECv9.js} +2 -2
- package/dist/cli/{sql-layout-B2fda2KP.js → sql-layout-C8AdA_Eo.js} +3 -3
- package/dist/cli/{squash-D7KwCZHj.js → squash-BB0Kxk8Q.js} +1 -1
- package/dist/cli/{sync-DvD3jbb4.js → sync-bBwKCyBW.js} +4 -4
- package/dist/cli/{upgrade-hDU5DI6_.js → upgrade-DNukTQY6.js} +5 -5
- package/dist/cli/{upgrade-C6Pw49Jc.js → upgrade-DfYVHnuj.js} +5 -5
- package/dist/cli/{verify-CR7f21Ri.js → verify-CiUN5skL.js} +2 -2
- package/dist/cli/{version-CiDgdPUD.js → version-DfAapHvH.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 +4 -4
- package/dist/client/native/index.js +2 -2
- package/dist/{composite-C13UCNgm.js → composite-RorL_F8I.js} +1 -1
- package/dist/config/index.d.ts +4 -4
- package/dist/config/index.js +4 -4
- package/dist/{config-1kAVpZc_.js → config-BuZW7wNr.js} +3 -3
- package/dist/{config-L5_4kg24.js → config-ocvgjLWV.js} +1 -1
- package/dist/{context-DtyeoCvj.d.ts → context-CoxeOKXg.d.ts} +3 -3
- package/dist/contract/index.d.ts +3 -3
- package/dist/{controller-D6ZUjfhv.d.ts → controller-D4dnWk48.d.ts} +1 -1
- package/dist/{conversion-BiAEs9ja.d.ts → conversion-BK0OksW-.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/{define-block-DpnCxELV.d.ts → define-block-BNN4jNs1.d.ts} +1 -1
- package/dist/{define-runtime-BbNPkt-5.js → define-runtime-DQC2Gjdr.js} +4 -0
- package/dist/{define-runtime-full-gpz09qAj.js → define-runtime-full-BIrEQWJR.js} +1 -1
- package/dist/{drive-_xuMA2xw.d.ts → drive-CNwty_R6.d.ts} +1 -1
- package/dist/edge/index.js +4 -4
- package/dist/{entitlements-Djh4bBdj.d.ts → entitlements-CYnE3d6D.d.ts} +2 -2
- package/dist/{executor-DABWqMfV.js → executor-D7avvqx3.js} +1 -1
- package/dist/expo/index.js +3 -3
- package/dist/{extract-DZznUgzb.d.ts → extract-DMI10ymS.d.ts} +1 -1
- package/dist/{extras-Cb1ZUvNK.d.ts → extras-DLKG5Qrz.d.ts} +1 -1
- package/dist/{field-errors-DSEpFDCa.d.ts → field-errors-B88R19Ds.d.ts} +5 -5
- package/dist/{former-permission-keys-FPrqQHXf.js → former-permission-keys-DVwR65bj.js} +1 -1
- package/dist/{framework-BQgHM3zD.js → framework-DxCx0pmS.js} +1 -1
- 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.js +3 -3
- package/dist/{index-Bx9qRuof.d.ts → index-7zilcSsn.d.ts} +1 -1
- package/dist/{index-D9fhYtnp.d.ts → index-95m7aK3r.d.ts} +1 -1
- package/dist/{index-DIwhnfIi.d.ts → index-B5_A0px6.d.ts} +2 -2
- package/dist/{index-Dsb6-otF.d.ts → index-B62LISft.d.ts} +1 -1
- package/dist/{index-DVmqH-jI.d.ts → index-BH0TBQjQ.d.ts} +3 -3
- package/dist/{index-CjmtqiRE.d.ts → index-Be44DVw_.d.ts} +1 -1
- package/dist/{index-bFOgwrCN.d.ts → index-BezbTIy8.d.ts} +1 -1
- package/dist/{index-jJ7Q-AYO.d.ts → index-Bn9uT8zK.d.ts} +2 -2
- package/dist/{index-Bt5jJrzR.d.ts → index-BnQd1un1.d.ts} +1 -1
- package/dist/{index-1aGCqU0F.d.ts → index-BpB7zXE8.d.ts} +1 -1
- package/dist/{index-BEVvxkvW.d.ts → index-BsxetsKr.d.ts} +1 -1
- package/dist/{index-DUDYFfnG.d.ts → index-BtBPT0Xd.d.ts} +1 -1
- package/dist/{index-BKD8Lkn9.d.ts → index-BuJNFxep.d.ts} +7 -7
- package/dist/{index-DtGyj0RU.d.ts → index-ByxPedDM.d.ts} +4 -4
- package/dist/{index-BDq77p1R.d.ts → index-C-dzSmym.d.ts} +1 -1
- package/dist/{index-BIOLHETk.d.ts → index-C0efZ4-1.d.ts} +1 -1
- package/dist/{index-D-LxyjmH.d.ts → index-CGWlGdkC.d.ts} +2 -2
- package/dist/{index-B2NJNoRd.d.ts → index-CHpvAU8q.d.ts} +16 -8
- package/dist/{index-BiX0gNGQ.d.ts → index-CIC4gEN2.d.ts} +2 -2
- package/dist/{index-CygaT0GH.d.ts → index-CIWIKJq9.d.ts} +1 -1
- package/dist/{index-Dga-eftL.d.ts → index-CUIQqlYq.d.ts} +4 -4
- package/dist/{index-DEHVn5Ma.d.ts → index-Ci5b0O38.d.ts} +1 -1
- package/dist/{index-_IFPpPG9.d.ts → index-CuIfFMrc.d.ts} +1 -1
- package/dist/{index-RGXgZmyg.d.ts → index-CzJiTefX.d.ts} +2 -2
- package/dist/{index-DAYCCmVC.d.ts → index-CzMeb47z.d.ts} +1 -1
- package/dist/{index-vOUlkC2o.d.ts → index-D9cT5n3D.d.ts} +1 -1
- package/dist/{index-CaE6XZnq.d.ts → index-D9oaJIco.d.ts} +3 -3
- package/dist/{index-BAccIXQt.d.ts → index-DIlQq5SD.d.ts} +2 -2
- package/dist/{index-CbKxPo6t.d.ts → index-DZBqNuEr.d.ts} +2 -2
- package/dist/{index-C8H6hpAP.d.ts → index-DZxb4kuD.d.ts} +2 -2
- package/dist/{index-CmHvVWGd.d.ts → index-Dl4NyBCR.d.ts} +1 -1
- package/dist/{index-S6WKucTU.d.ts → index-Dpuwg0TF.d.ts} +1 -1
- package/dist/{index-BeJMACah.d.ts → index-N---BEYQ.d.ts} +2 -2
- package/dist/{index-BREewNqU.d.ts → index-kKRVxhxd.d.ts} +1 -1
- package/dist/{index-DitpSLYH.d.ts → index-ljkv6cKx.d.ts} +2 -2
- package/dist/{index-C-h2MrvD.d.ts → index-o4u57crs.d.ts} +1 -1
- package/dist/{index-TkkZfmGg.d.ts → index-omC5tnCw.d.ts} +1 -1
- package/dist/{instances-PZAWgQEX.js → instances-B9oCgEOH.js} +76 -0
- package/dist/{json-schema-BwfI_jJ2.js → json-schema-BHx8LHzw.js} +1 -1
- package/dist/{manifest-B1bfLbzz.d.ts → manifest-0mtF51MB.d.ts} +1 -1
- package/dist/{manifest-C0-rnYge.d.ts → manifest-1Wrn1roh.d.ts} +1 -1
- package/dist/{manifest-DiJKbgrM.d.ts → manifest-1scY6yWo.d.ts} +1 -1
- package/dist/{manifest-DySuHx51.d.ts → manifest-2xnqzIEk.d.ts} +2 -2
- package/dist/{manifest-uAf9hw_t.d.ts → manifest-7jM_DQl2.d.ts} +1 -1
- package/dist/{manifest-ByfZrxkk.d.ts → manifest-9foPJ_Fd.d.ts} +1 -1
- package/dist/{manifest-BYHJvkqX.d.ts → manifest-B83vvPek.d.ts} +1 -1
- package/dist/{manifest-Cf8__tMA.d.ts → manifest-B8ThF_jn.d.ts} +1 -1
- package/dist/{manifest-CrO5Gwed.d.ts → manifest-BHwpLaPI.d.ts} +1 -1
- package/dist/{manifest-B-5cqXlx.d.ts → manifest-BJ3DoG3E.d.ts} +1 -1
- package/dist/{manifest-CzErrA0R.d.ts → manifest-BMLhR4Eg.d.ts} +1 -1
- package/dist/{manifest-Bgc-jWOV.d.ts → manifest-BNRs20Uf.d.ts} +1 -1
- package/dist/{manifest-rk3V9E0p.d.ts → manifest-BWzHfbrz.d.ts} +1 -1
- package/dist/{manifest-C3qUn0ka.d.ts → manifest-BYoi4yhl.d.ts} +1 -1
- package/dist/{manifest-C02JeWGr.d.ts → manifest-BZe8-T8v.d.ts} +1 -1
- package/dist/{manifest-B1R3o592.d.ts → manifest-B_wuy2Dp.d.ts} +1 -1
- package/dist/{manifest-DpW-TJwu.d.ts → manifest-BaElonmS.d.ts} +1 -1
- package/dist/{manifest-DgVrJNgv.d.ts → manifest-Batx8PnZ.d.ts} +1 -1
- package/dist/{manifest-nsV6ZrZ7.d.ts → manifest-BcgK5CNE.d.ts} +1 -1
- package/dist/{manifest-CRe-o25G.d.ts → manifest-BeYe1Tqi.d.ts} +1 -1
- package/dist/{manifest-BTZI-Jq1.d.ts → manifest-BlVniNtg.d.ts} +1 -1
- package/dist/{manifest-DFRP7LFo.d.ts → manifest-C0fdSZ8P.d.ts} +1 -1
- package/dist/{manifest-B__S-85Q.d.ts → manifest-C1hpLMFd.d.ts} +1 -1
- package/dist/{manifest-DWS1Hszm.d.ts → manifest-C2msUYGH.d.ts} +1 -1
- package/dist/{manifest-CKbJBLaW.d.ts → manifest-CA1Xja1g.d.ts} +1 -1
- package/dist/{manifest-D_RJDjHz.d.ts → manifest-CXuwQ864.d.ts} +1 -1
- package/dist/{manifest-BGBYLCP-.d.ts → manifest-CYptKcK7.d.ts} +1 -1
- package/dist/{manifest-rB3i09ej.d.ts → manifest-CkfGKcp8.d.ts} +1 -1
- package/dist/{manifest-BLVRM4WX.d.ts → manifest-ClyZmlqw.d.ts} +1 -1
- package/dist/{manifest-4K_pRDrE.d.ts → manifest-CnDmxd8U.d.ts} +1 -1
- package/dist/{manifest-DCIvxvg9.d.ts → manifest-CnSYGkcj.d.ts} +1 -1
- package/dist/{manifest-CQ1Xpja6.d.ts → manifest-CsFtXBBz.d.ts} +1 -1
- package/dist/{manifest-DEf81vUp.d.ts → manifest-CtUjuzks.d.ts} +1 -1
- package/dist/{manifest-DH1wX47F.d.ts → manifest-Cw2OY_as.d.ts} +1 -1
- package/dist/{manifest-BsuYq-pZ.d.ts → manifest-D0L-FCeR.d.ts} +1 -1
- package/dist/{manifest-Ca6Rm4u6.d.ts → manifest-D0bqUKw0.d.ts} +1 -1
- package/dist/{manifest-B5y82qsH.d.ts → manifest-D7F15gCk.d.ts} +1 -1
- package/dist/{manifest-C46GM61W.d.ts → manifest-DGyxea7P.d.ts} +1 -1
- package/dist/{manifest-Qa7Oz8op.d.ts → manifest-DJxtzNlO.d.ts} +1 -1
- package/dist/{manifest-BFc_Zpzf.d.ts → manifest-DMlBwnAD.d.ts} +1 -1
- package/dist/{manifest-DYMvHTJ4.d.ts → manifest-DO6xgonh.d.ts} +1 -1
- package/dist/{manifest-D-IfkyQg.d.ts → manifest-DSMOUOS4.d.ts} +1 -1
- package/dist/{manifest-C3-OpYr0.d.ts → manifest-DTo6wGdl.d.ts} +1 -1
- package/dist/{manifest-YV2wB81I.d.ts → manifest-DWftB4-k.d.ts} +1 -1
- package/dist/{manifest-B9FkI5Za.d.ts → manifest-DZujRBYP.d.ts} +1 -1
- package/dist/{manifest-BND77-ps.d.ts → manifest-DdASQqwu.d.ts} +1 -1
- package/dist/{manifest-CGnYiIs8.d.ts → manifest-DhxLrgXs.d.ts} +1 -1
- package/dist/{manifest-z_JoPdSA.d.ts → manifest-DiVRV5uU.d.ts} +1 -1
- package/dist/{manifest-B11QNHpO.d.ts → manifest-Dne-vzLU.d.ts} +1 -1
- package/dist/{manifest-DIsc4u7U.d.ts → manifest-Dwlal9hp.d.ts} +1 -1
- package/dist/{manifest-BQYkGxek.d.ts → manifest-Dyd4YmHX.d.ts} +1 -1
- package/dist/{manifest-CE4rGv9r.d.ts → manifest-Fjo0zGvZ.d.ts} +1 -1
- package/dist/{manifest-DF6MWZld.d.ts → manifest-PNunwDTR.d.ts} +1 -1
- package/dist/{manifest-BBQmMfq7.d.ts → manifest-QK3zY9yE.d.ts} +1 -1
- package/dist/{manifest-iwcDpOkG.d.ts → manifest-aUNaGswA.d.ts} +1 -1
- package/dist/{manifest-MIOw1h6u.d.ts → manifest-f3YpFDwr.d.ts} +1 -1
- package/dist/{manifest-4zuq-I0U.d.ts → manifest-iw_Mj8TT.d.ts} +1 -1
- package/dist/{manifest-D_u0Uhd9.d.ts → manifest-r4Qg9IUj.d.ts} +1 -1
- package/dist/{manifest-IWiafJCj.d.ts → manifest-rioWw1Xh.d.ts} +1 -1
- package/dist/{manifest-4ZM88myP.d.ts → manifest-svAvvbCb.d.ts} +1 -1
- package/dist/{manifest-BLkOEccx.d.ts → manifest-vm3Sbqkq.d.ts} +1 -1
- package/dist/{manifest-C9Cs9rtL.d.ts → manifest-z8UXpGBO.d.ts} +1 -1
- package/dist/mapper/bin.js +6 -6
- package/dist/mcp/index.d.ts +1 -1
- package/dist/mcp/index.js +1 -1
- package/dist/mcp/sdk/index.js +1 -1
- package/dist/{mcp-Cif2SnK4.js → mcp-B6AK8gXQ.js} +3 -3
- package/dist/next/index.d.ts +5 -5
- package/dist/next/index.js +2 -2
- package/dist/next/proxy/index.d.ts +2 -2
- package/dist/{operations-C4vxakMi.d.ts → operations-B4iP1805.d.ts} +1 -1
- package/dist/orpc/index.js +2 -2
- package/dist/otel/index.js +5 -5
- package/dist/{permissions-CP5Cwz8h.d.ts → permissions-DM2TO3IW.d.ts} +1 -1
- package/dist/{ports-ClJbgoyt.js → ports-BfHdHz1e.js} +1 -1
- package/dist/{ports-B1QMhbn5.d.ts → ports-CI4MCK_w.d.ts} +1 -1
- package/dist/powersync/index.d.ts +2 -2
- 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-BcwGsW_B.js → preset-DrfMF0Hv.js} +2 -2
- package/dist/{preview-ByZwgNq9.d.ts → preview-wfts0f_Q.d.ts} +2 -2
- package/dist/{project-DYyr_iyu.js → project-MUYG_cjl.js} +5 -5
- package/dist/{push-token-BAcQAeb8.d.ts → push-token-BlbHCW_P.d.ts} +1 -1
- package/dist/query/index.d.ts +1 -1
- package/dist/react/index.d.ts +5 -5
- package/dist/react/index.js +1 -1
- package/dist/react/native/index.d.ts +1 -1
- package/dist/react/server.d.ts +5 -5
- package/dist/react/server.js +1 -1
- package/dist/{react-hb2gg5UV.js → react-BkLf1aNc.js} +14 -1
- package/dist/react-router/index.js +3 -3
- package/dist/realtime/index.d.ts +3 -3
- package/dist/{record-form-53Hzv9d9.d.ts → record-form-Do_tZhFZ.d.ts} +1 -1
- package/dist/records/index.d.ts +7 -7
- package/dist/server/index.d.ts +4 -4
- package/dist/server/index.js +4 -4
- package/dist/{server-B0T944J9.js → server-DpcMKAt_.js} +1 -1
- package/dist/{sign-in-DbXRH5zh.d.ts → sign-in-BK0MoYoZ.d.ts} +4 -4
- package/dist/solid/index.d.ts +5 -5
- package/dist/solid-start/index.js +3 -3
- package/dist/spec/index.js +4 -4
- package/dist/sql/index.d.ts +5 -5
- package/dist/sql/index.js +2 -2
- package/dist/{sql-DPpcMNUF.js → sql-DLM5qTve.js} +82 -4
- package/dist/sqlite/index.js +1 -1
- package/dist/ssr/index.d.ts +1 -1
- package/dist/svelte/index.d.ts +5 -5
- package/dist/sveltekit/index.js +3 -3
- package/dist/tanstack-start/index.js +3 -3
- package/dist/{tenant-tAtS31r8.d.ts → tenant-Cue0nAH2.d.ts} +1 -1
- package/dist/testing/index.d.ts +6 -6
- package/dist/testing/index.js +3 -3
- package/dist/{timeline-BoKhn-Ei.d.ts → timeline-BzwEUkAX.d.ts} +2 -2
- package/dist/{topic-BdTuoZRL.d.ts → topic-vKeXr5Iq.d.ts} +1 -1
- package/dist/{types-D4wgpab9.d.ts → types-BHPiJK75.d.ts} +2 -2
- package/dist/{version-B9H4YoiS.js → version-g50CWvKI.js} +1 -1
- package/dist/vue/index.d.ts +5 -5
- package/dist/{watch-topic-BjkFSiGe.d.ts → watch-topic-DBvJTKe6.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 +9 -9
- package/schemas/config-v1.json +30 -2
- package/skills/better-supabase/references/ui-recipes.md +1174 -532
- package/dist/cli/add-BpikP7u5.js +0 -1
- package/dist/cli/powersync-CEhwfawV.js +0 -1
- package/dist/cli/seed-B3MrC1Qe.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { F as linkNeedsRelations, I as PRESET_CATALOG, z as asBlocksConfig } from "./instances-
|
|
1
|
+
import { F as linkNeedsRelations, I as PRESET_CATALOG, z as asBlocksConfig } from "./instances-B9oCgEOH.js";
|
|
2
2
|
import { t as DEFAULT_TENANT } from "./entity-naming-CUsC8bC1.js";
|
|
3
3
|
import { a as QUALITY, c as SAAS_LINKED, i as PUBLIC_MEDIA, l as TICKETS, n as CONTROLLED_DOCUMENTS, o as QUOTE_TO_ORDER, r as ERP, s as SAAS } from "./preset-blocks-DDsAXYDY.js";
|
|
4
4
|
import { t as canonicalJson } from "./canonical-json-CTT9fC4F.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
2
|
import { F as ClaimsMeta, M as BucketPolicyName, N as Casing, T as AccessBucketPolicy, st as SchemaMeta, vt as BucketLifecycle } from "./types-Dizn1liT.js";
|
|
3
|
-
import { It as SubjectsConfig, Xt as TablesOf, Zt as BlockNameRegistry, _ as OwnTablePolicies, a as BlockConfigOf, c as BlockScope, d as DisabledRow, g as NamedInstance, h as InstanceOn, i as BlockConfig, jt as RelationKindOptions, l as BlocksConfig, o as BlockMode, p as EntityConfig, r as AnyBlocksConfig, s as BlockName, t as AccessBlockConfig, v as ResolvedBlock, y as TenantScopeConfig } from "./blocks-
|
|
4
|
-
import { Ar as PresetAccess, Br as PresetTenantName, C as BlockWorker, Cr as EntityRename, Gr as DoctorConfig, Ir as PresetInstance, Kr as EnvFileConfig, Nr as PresetFieldKey, Rr as PresetScope, Sr as EntityNoun, Xr as KeysConfig, Yr as IntegrationName, b as BlockEnvKey, bi as DefaultAutomation, di as ActionDescriptor, ei as SkillsConfig, fn as FieldFormatName, g as PartDefaults, i as BlockCategory, jr as PresetConventions, kr as Preset, ln as FIELD_FORMAT_NAMES, mt as PortName, ni as SpecsConfig, qr as GenConfig, ti as SpecOutputConfig, x as BlockProvider, xr as EntityNames, yi as BlockSchedule } from "./define-block-
|
|
3
|
+
import { It as SubjectsConfig, Xt as TablesOf, Zt as BlockNameRegistry, _ as OwnTablePolicies, a as BlockConfigOf, c as BlockScope, d as DisabledRow, g as NamedInstance, h as InstanceOn, i as BlockConfig, jt as RelationKindOptions, l as BlocksConfig, o as BlockMode, p as EntityConfig, r as AnyBlocksConfig, s as BlockName, t as AccessBlockConfig, v as ResolvedBlock, y as TenantScopeConfig } from "./blocks-DuL-Ds3g.js";
|
|
4
|
+
import { Ar as PresetAccess, Br as PresetTenantName, C as BlockWorker, Cr as EntityRename, Gr as DoctorConfig, Ir as PresetInstance, Kr as EnvFileConfig, Nr as PresetFieldKey, Rr as PresetScope, Sr as EntityNoun, Xr as KeysConfig, Yr as IntegrationName, b as BlockEnvKey, bi as DefaultAutomation, di as ActionDescriptor, ei as SkillsConfig, fn as FieldFormatName, g as PartDefaults, i as BlockCategory, jr as PresetConventions, kr as Preset, ln as FIELD_FORMAT_NAMES, mt as PortName, ni as SpecsConfig, qr as GenConfig, ti as SpecOutputConfig, x as BlockProvider, xr as EntityNames, yi as BlockSchedule } from "./define-block-BNN4jNs1.js";
|
|
5
5
|
import { i as FieldSpec } from "./table-schema-CwXg7oBz.js";
|
|
6
6
|
import { n as ReadType } from "./read-type-BmF8GOkz.js";
|
|
7
7
|
import { a as BlockSqlEmit, r as BlockSqlAction } from "./audit-actions-be1sy-Vh.js";
|
|
8
8
|
import { r as FrameworkBinding } from "./frameworks-BRExUk_W.js";
|
|
9
9
|
import { t as GuestAction } from "./guest-actions-DfHHp98H.js";
|
|
10
|
-
import { c as AuthorizationProvider, i as AuthorizationOperation, n as AuthorizationFunctions, r as AuthorizationMembership, s as AuthorizationPlatformRoles, u as AuthorizationRoleSource } from "./authorization-
|
|
10
|
+
import { c as AuthorizationProvider, i as AuthorizationOperation, n as AuthorizationFunctions, r as AuthorizationMembership, s as AuthorizationPlatformRoles, u as AuthorizationRoleSource } from "./authorization-CX-03Zgx.js";
|
|
11
11
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
12
12
|
/**
|
|
13
13
|
* One declared link from an entity of this module to an entity of another
|
package/dist/contract/index.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { a as AuthorizationPermission, c as AuthorizationProvider, d as AuthorizationScope, f as AuthorizationTokenHook, i as AuthorizationOperation, l as AuthorizationRequirement, n as AuthorizationFunctions, o as AuthorizationPersona, p as AuthorizationVersions, r as AuthorizationMembership, s as AuthorizationPlatformRoles, t as AuthorizationFixtureRole, u as AuthorizationRoleSource } from "../authorization-
|
|
1
|
+
import { a as AuthorizationPermission, c as AuthorizationProvider, d as AuthorizationScope, f as AuthorizationTokenHook, i as AuthorizationOperation, l as AuthorizationRequirement, n as AuthorizationFunctions, o as AuthorizationPersona, p as AuthorizationVersions, r as AuthorizationMembership, s as AuthorizationPlatformRoles, t as AuthorizationFixtureRole, u as AuthorizationRoleSource } from "../authorization-CX-03Zgx.js";
|
|
2
2
|
import { r as AuthzVersionSource } from "../authz-topic-C7n3kIm_.js";
|
|
3
3
|
import { $t as AuthorizationSubject, D as AccessTopicPolicy, E as AccessPolicySql, Gt as AuthorizationChange, Jt as AuthorizationOutcome, Kt as AuthorizationContext, Qt as AuthorizationResourceSource, T as AccessBucketPolicy, Ut as AnyAuthorizer, Wt as AuthorizationCallKind, Xt as AuthorizationRequest, Yt as AuthorizationPurpose, Zt as AuthorizationResource, an as RequestMemo, en as Authorizer, in as PermissionRef, qt as AuthorizationIntent, rn as AuthzVersionCache, tn as AuthorizerRuntime } from "../types-Dizn1liT.js";
|
|
4
4
|
import { _ as SupportAuthorize, g as SubscriberPolicy, i as AuthorizationHooks, v as SupportAuthorizeInput } from "../authorization-hooks-Oe0WJTn2.js";
|
|
5
5
|
import { s as ApiKeyResolverOptions } from "../api-keys-Bfk9mJgz.js";
|
|
6
6
|
import { r as CredentialProvider } from "../provider-DSokOaUo.js";
|
|
7
|
-
import { a as ToolDecision, n as McpOptions, s as ToolRef } from "../index-
|
|
7
|
+
import { a as ToolDecision, n as McpOptions, s as ToolRef } from "../index-BezbTIy8.js";
|
|
8
8
|
import { g as SessionSnapshot } from "../resolve-Pn7KvQ23.js";
|
|
9
9
|
import { n as ApprovalOptions } from "../server-types-Bax89ShV.js";
|
|
10
|
-
import { n as BlockTables, t as BlockTable } from "../block-tables-
|
|
10
|
+
import { n as BlockTables, t as BlockTable } from "../block-tables-BYfcmfA5.js";
|
|
11
11
|
import { a as BootstrapPermissionsWire, i as BootstrapPermissionsFull, n as BootstrapPermissions, r as BootstrapPermissionsCompact } from "../bootstrap-permissions-hiWjQ2N7.js";
|
|
12
12
|
/**
|
|
13
13
|
* The types an authorization library implements or reads, in one entry with no
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as ClientAuth } from "./bind-
|
|
1
|
+
import { a as ClientAuth } from "./bind-C9Bu9fgk.js";
|
|
2
2
|
/**
|
|
3
3
|
* A block's client state, framework-agnostic. `subscribe` and `getSnapshot`
|
|
4
4
|
* follow the external-store contract, so React's `useSyncExternalStore`, a Vue
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ci as Action, li as ActionCall, ui as ActionContext } from "./define-block-
|
|
1
|
+
import { ci as Action, li as ActionCall, ui as ActionContext } from "./define-block-BNN4jNs1.js";
|
|
2
2
|
import { f as Result } from "./result-aun_QZHn.js";
|
|
3
3
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
4
4
|
/** A record a conversion reads from or creates: its subject type and id. */
|
package/dist/create/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
|
-
import { Kr as APP_ON_DELETE_ACTIONS, Nn as PresetSpec, Qr as AppColumnType, Qt as PresetName, Yr as AppColumnAccess, ei as AppOnDeleteAction, m as BlockSqlAccessProvider, pt as PresetInput, rn as CreateDesign } from "../context-
|
|
3
|
-
import { $ as keyColumnsOf, A as renameTable, B as eventsColumnsEdited, C as freeTableName, Ct as Issue, D as moveTables, E as isEmptyDesign, Et as IssueSource, F as updateTable, G as SchemaComputed, H as subjectColumnsEdited, I as userConnection, J as SchemaOptions, K as SchemaData, L as withDesign, M as setTableId, N as singular, O as referenceFrom, P as tidy, Q as SchemaTarget, R as AppEvents, S as editTable, St as tableWithoutComputed, T as isAppTable, Tt as IssueSeverity, U as subjectTypeError, V as subjectColumns, W as SchemaColumn, X as SchemaSource, Y as SchemaSoftRef, Z as SchemaTable, _ as connect, _t as prunedComputed, a as AppScope, at as AppRollup, b as deleteTable, bt as rollupSources, c as ConnectResult, ct as ROLLUP_AGGREGATES, d as EMPTY_DESIGN, dt as computedRows, et as parseSchema, f as NamedDesign, ft as computedTableRenamed, g as columnError, gt as lookupSources, h as appTableId, ht as isRollupAggregate, i as AppReference, it as AppLookup, j as setColumn, k as renameColumn, l as Connection, lt as RollupAggregate, m as addTable, mt as fittedRollup, n as APP_MODULE, nt as tableStatements, o as AppTable, ot as ComputedRow, p as TablePatch, pt as filterColumns, q as SchemaForeignKey, r as AppColumn, rt as tenantColumnOf, s as AppTableId, st as DraftRollup, t as PresetMigrationFile, tt as schemaRelations, u as Design, ut as computedColumnRenamed, v as defaultError, vt as readableColumns, w as identifierError, wt as IssueCode, x as duplicateTable, xt as tableWithComputed, y as deleteColumn, yt as rollupColumns, z as AppSubject } from "../types-
|
|
4
|
-
import { kr as Preset } from "../define-block-
|
|
2
|
+
import { Kr as APP_ON_DELETE_ACTIONS, Nn as PresetSpec, Qr as AppColumnType, Qt as PresetName, Yr as AppColumnAccess, ei as AppOnDeleteAction, m as BlockSqlAccessProvider, pt as PresetInput, rn as CreateDesign } from "../context-CoxeOKXg.js";
|
|
3
|
+
import { $ as keyColumnsOf, A as renameTable, B as eventsColumnsEdited, C as freeTableName, Ct as Issue, D as moveTables, E as isEmptyDesign, Et as IssueSource, F as updateTable, G as SchemaComputed, H as subjectColumnsEdited, I as userConnection, J as SchemaOptions, K as SchemaData, L as withDesign, M as setTableId, N as singular, O as referenceFrom, P as tidy, Q as SchemaTarget, R as AppEvents, S as editTable, St as tableWithoutComputed, T as isAppTable, Tt as IssueSeverity, U as subjectTypeError, V as subjectColumns, W as SchemaColumn, X as SchemaSource, Y as SchemaSoftRef, Z as SchemaTable, _ as connect, _t as prunedComputed, a as AppScope, at as AppRollup, b as deleteTable, bt as rollupSources, c as ConnectResult, ct as ROLLUP_AGGREGATES, d as EMPTY_DESIGN, dt as computedRows, et as parseSchema, f as NamedDesign, ft as computedTableRenamed, g as columnError, gt as lookupSources, h as appTableId, ht as isRollupAggregate, i as AppReference, it as AppLookup, j as setColumn, k as renameColumn, l as Connection, lt as RollupAggregate, m as addTable, mt as fittedRollup, n as APP_MODULE, nt as tableStatements, o as AppTable, ot as ComputedRow, p as TablePatch, pt as filterColumns, q as SchemaForeignKey, r as AppColumn, rt as tenantColumnOf, s as AppTableId, st as DraftRollup, t as PresetMigrationFile, tt as schemaRelations, u as Design, ut as computedColumnRenamed, v as defaultError, vt as readableColumns, w as identifierError, wt as IssueCode, x as duplicateTable, xt as tableWithComputed, y as deleteColumn, yt as rollupColumns, z as AppSubject } from "../types-BHPiJK75.js";
|
|
4
|
+
import { kr as Preset } from "../define-block-BNN4jNs1.js";
|
|
5
5
|
import { a as SupabaseLint, o as SupabaseOrganization, s as SupabaseProject } from "../management-DtX4ic1F.js";
|
|
6
|
-
import { b as DesignChange } from "../index-
|
|
6
|
+
import { b as DesignChange } from "../index-DZxb4kuD.js";
|
|
7
7
|
/** What `checkDesign` returns. */
|
|
8
8
|
export type DesignCheck = {
|
|
9
9
|
readonly ok: true;
|
package/dist/create/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { A as APP_ON_DELETE_ACTIONS } from "../instances-
|
|
2
|
-
import { $ as eventsColumnsEdited, A as renameColumn, B as computedColumnRenamed, C as editTable, D as isEmptyDesign, E as isAppTable, F as tidy, G as isRollupAggregate, H as computedTableRenamed, I as updateTable, J as readableColumns, K as lookupSources, L as userConnection, M as setColumn, N as setTableId, O as moveTables, P as singular, Q as tableWithoutComputed, R as withDesign, S as duplicateTable, T as identifierError, U as filterColumns, V as computedRows, W as fittedRollup, X as rollupSources, Y as rollupColumns, Z as tableWithComputed, _ as columnError, a as parseSchema, at as encryptable, b as deleteColumn, c as tenantColumnOf, ct as optionError, d as previewFiles, et as subjectColumns, f as designIssues, g as appTableId, h as addTable, i as keyColumnsOf, it as columnLabel, j as renameTable, k as referenceFrom, l as schemaData, lt as takesBounds, m as EMPTY_DESIGN, n as loadProject, nt as subjectTypeError, o as schemaRelations, ot as fitted, p as APP_MODULE, q as prunedComputed, r as checkDesign, rt as boundError, s as tableStatements, st as lockedWithoutDefault, t as checkProject, tt as subjectColumnsEdited, u as previewAccessProvider, ut as withBounds, v as connect, w as freeTableName, x as deleteTable, y as defaultError, z as ROLLUP_AGGREGATES } from "../project-
|
|
3
|
-
import { m as diffDesigns } from "../preset-
|
|
1
|
+
import { A as APP_ON_DELETE_ACTIONS } from "../instances-B9oCgEOH.js";
|
|
2
|
+
import { $ as eventsColumnsEdited, A as renameColumn, B as computedColumnRenamed, C as editTable, D as isEmptyDesign, E as isAppTable, F as tidy, G as isRollupAggregate, H as computedTableRenamed, I as updateTable, J as readableColumns, K as lookupSources, L as userConnection, M as setColumn, N as setTableId, O as moveTables, P as singular, Q as tableWithoutComputed, R as withDesign, S as duplicateTable, T as identifierError, U as filterColumns, V as computedRows, W as fittedRollup, X as rollupSources, Y as rollupColumns, Z as tableWithComputed, _ as columnError, a as parseSchema, at as encryptable, b as deleteColumn, c as tenantColumnOf, ct as optionError, d as previewFiles, et as subjectColumns, f as designIssues, g as appTableId, h as addTable, i as keyColumnsOf, it as columnLabel, j as renameTable, k as referenceFrom, l as schemaData, lt as takesBounds, m as EMPTY_DESIGN, n as loadProject, nt as subjectTypeError, o as schemaRelations, ot as fitted, p as APP_MODULE, q as prunedComputed, r as checkDesign, rt as boundError, s as tableStatements, st as lockedWithoutDefault, t as checkProject, tt as subjectColumnsEdited, u as previewAccessProvider, ut as withBounds, v as connect, w as freeTableName, x as deleteTable, y as defaultError, z as ROLLUP_AGGREGATES } from "../project-MUYG_cjl.js";
|
|
3
|
+
import { m as diffDesigns } from "../preset-DrfMF0Hv.js";
|
|
4
4
|
// src/create/column-kinds.ts
|
|
5
5
|
/** The groups of the column type picker, in the order it shows them. */
|
|
6
6
|
const KIND_GROUPS = [
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Ct as Issue, t as PresetMigrationFile, u as Design } from "../../types-
|
|
2
|
-
import { pt as PresetInput, rn as CreateDesign } from "../../context-
|
|
1
|
+
import { Ct as Issue, t as PresetMigrationFile, u as Design } from "../../types-BHPiJK75.js";
|
|
2
|
+
import { pt as PresetInput, rn as CreateDesign } from "../../context-CoxeOKXg.js";
|
|
3
3
|
import { st as SchemaMeta } from "../../types-Dizn1liT.js";
|
|
4
4
|
import { c as SpecDiagnostic } from "../../format-BT0Z3V54.js";
|
|
5
|
-
import { c as AuthorizationProvider } from "../../authorization-
|
|
5
|
+
import { c as AuthorizationProvider } from "../../authorization-CX-03Zgx.js";
|
|
6
6
|
/**
|
|
7
7
|
* The parts of `@supabase/lite` that `liteStack()` uses, typed structurally so
|
|
8
8
|
* the optional peer stays out of the published types.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as loadLite, t as LITE_INSTALL } from "../../runtime-sBnEajcK.js";
|
|
2
|
-
import { b as appDefaultError } from "../../instances-
|
|
3
|
-
import { t as defineApi } from "../../api-
|
|
4
|
-
import { n as loadProject } from "../../project-
|
|
5
|
-
import { c as resolvePersonas } from "../../config-
|
|
2
|
+
import { b as appDefaultError } from "../../instances-B9oCgEOH.js";
|
|
3
|
+
import { t as defineApi } from "../../api-DW835Q-a.js";
|
|
4
|
+
import { n as loadProject } from "../../project-MUYG_cjl.js";
|
|
5
|
+
import { c as resolvePersonas } from "../../config-BuZW7wNr.js";
|
|
6
6
|
import { i as fillTemplate } from "../../access-sql-Dvl7BRy0.js";
|
|
7
7
|
// src/create/lite/apply.ts
|
|
8
8
|
const MISSING_EXTENSION = /extension "([^"]+)" is not available/u;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
2
|
import { T as ErrorMapper, b as DbError, f as Result, t as AsyncResult } from "./result-aun_QZHn.js";
|
|
3
3
|
import { Ct as EventMap, Dt as MergedEventMap, E as BlockEventPattern, Et as Events, O as BlockEventsMatching, o as EventHub, w as BlockEvent, wt as EventMapOf } from "./events-zz8DwtZi.js";
|
|
4
|
-
import { Bt as BlockOptionsSchema, m as InstanceKeys, p as EntityConfig } from "./blocks-
|
|
4
|
+
import { Bt as BlockOptionsSchema, m as InstanceKeys, p as EntityConfig } from "./blocks-DuL-Ds3g.js";
|
|
5
5
|
import { c as BlockTenantOptions, n as BlockOptions, r as BlockTemporalOptions } from "./block-helpers-DDotKGAf.js";
|
|
6
6
|
import { a as BlockTransportMiddleware, n as BlockHooks } from "./block-hooks-b7-RUIxS.js";
|
|
7
7
|
import { i as RpcClient, r as DbTransportSource, t as BlockTransport } from "./block-transport-Bqne7_GN.js";
|
|
@@ -1250,6 +1250,7 @@ function createRepository(runner, table) {
|
|
|
1250
1250
|
* installs the runtime without them.
|
|
1251
1251
|
*/
|
|
1252
1252
|
let extras;
|
|
1253
|
+
const FULL_RUNTIME_SLOT = Symbol.for("better-supabase.connection-runtime.full");
|
|
1253
1254
|
/**
|
|
1254
1255
|
* Turns one definition into a `db`. Lives apart from the definition class so
|
|
1255
1256
|
* entries that only read the definition (the proxy, the sessions runtime) do
|
|
@@ -1558,6 +1559,9 @@ function connectorOf(definition) {
|
|
|
1558
1559
|
*/
|
|
1559
1560
|
function provideLeanConnectionRuntime(withExtras) {
|
|
1560
1561
|
extras ??= withExtras;
|
|
1562
|
+
const host = globalThis;
|
|
1563
|
+
if (withExtras === void 0 && host[FULL_RUNTIME_SLOT] === true) return;
|
|
1564
|
+
if (withExtras !== void 0) host[FULL_RUNTIME_SLOT] = true;
|
|
1561
1565
|
installConnectionRuntime({
|
|
1562
1566
|
connect: (definition, source, context, options) => connectorOf(definition).connect(source, context, options),
|
|
1563
1567
|
registerTable: (definition, table) => {
|
|
@@ -4,7 +4,7 @@ import { a as ok, r as err, s as toDbError, t as AsyncResult } from "./result-Di
|
|
|
4
4
|
import { t as DbException } from "./db-exception-Dv18UZ-I.js";
|
|
5
5
|
import { r as addLazyTable, t as builderFor } from "./build-ByfDs2ru.js";
|
|
6
6
|
import { t as decodeRows } from "./codec-CJaAdLjG.js";
|
|
7
|
-
import { a as loadReachedTables, i as NO_PLUGINS, n as decodeRpcResult, o as runSpec, r as rpcFunction, t as provideLeanConnectionRuntime } from "./define-runtime-
|
|
7
|
+
import { a as loadReachedTables, i as NO_PLUGINS, n as decodeRpcResult, o as runSpec, r as rpcFunction, t as provideLeanConnectionRuntime } from "./define-runtime-DQC2Gjdr.js";
|
|
8
8
|
import { n as isRecord } from "./guards-CsRa6v57.js";
|
|
9
9
|
import { t as vectorLiteral } from "./search-DtbkD0h0.js";
|
|
10
10
|
import { t as EventHub } from "./events-Da482tiF.js";
|
|
@@ -5,7 +5,7 @@ import { t as BlockTransport } from "./block-transport-Bqne7_GN.js";
|
|
|
5
5
|
import { T as ErrorMapper, t as AsyncResult } from "./result-aun_QZHn.js";
|
|
6
6
|
import { n as Logger } from "./logger-0LfhvwE4.js";
|
|
7
7
|
import { t as StandardSchemaV1 } from "./standard-Vmy7ALDX.js";
|
|
8
|
-
import { An as Attachment, Ln as AttachmentStorage, Mn as AttachmentDownload, Vn as Attachments, cr as RecordRequestListOptions, er as AccessRequests, sr as RecordAccessRequest } from "./define-block-
|
|
8
|
+
import { An as Attachment, Ln as AttachmentStorage, Mn as AttachmentDownload, Vn as Attachments, cr as RecordRequestListOptions, er as AccessRequests, sr as RecordAccessRequest } from "./define-block-BNN4jNs1.js";
|
|
9
9
|
import { p as ApprovalStatus } from "./approvals-B1mzlyzk.js";
|
|
10
10
|
import { r as BlockTemporalOptions } from "./block-helpers-DDotKGAf.js";
|
|
11
11
|
/**
|
package/dist/edge/index.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { n as dbError } from "../errors-DK1wGb9z.js";
|
|
2
2
|
import { o as problemResponse } from "../problem-BwplIuhI.js";
|
|
3
3
|
import { a as ok, r as err } from "../result-DijoXEFG.js";
|
|
4
|
-
import { t as adapterBase } from "../adapter-base-
|
|
4
|
+
import { t as adapterBase } from "../adapter-base-BWp_GpBq.js";
|
|
5
5
|
import { _ as withFlush, g as unexpectedResponse } from "../sessions-w6xril_l.js";
|
|
6
|
-
import { t as withBetterSupabase } from "../composite-
|
|
6
|
+
import { t as withBetterSupabase } from "../composite-RorL_F8I.js";
|
|
7
7
|
import { n as corsConfig, t as SUPABASE_CORS_HEADERS } from "../cors-DrDFLMNn.js";
|
|
8
8
|
import { t as withExtra } from "../extra-Dz9n5y1s.js";
|
|
9
|
-
import { t as EVERY_CALLER } from "../framework-
|
|
9
|
+
import { t as EVERY_CALLER } from "../framework-DxCx0pmS.js";
|
|
10
10
|
import { i as requireCaller } from "../kit-BgRTtW9w.js";
|
|
11
11
|
import { n as resourceRouter } from "../resources-CM9wwyfa.js";
|
|
12
12
|
import { o as respond, s as settle } from "../respond-DLvLJwwN.js";
|
|
13
|
-
import { n as extendServer, t as createServer } from "../server-
|
|
13
|
+
import { n as extendServer, t as createServer } from "../server-DpcMKAt_.js";
|
|
14
14
|
import { i as defineAction } from "../resource-BxSmk1R1.js";
|
|
15
15
|
import { t as FUNCTION_DESCRIPTOR } from "../function-contract-Bf6llTkE.js";
|
|
16
16
|
import { n as validate } from "../standard-DM4THQrL.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as AuthSnapshot } from "./bind-
|
|
2
|
-
import { n as ClaimsSource } from "./claims-source-
|
|
1
|
+
import { t as AuthSnapshot } from "./bind-C9Bu9fgk.js";
|
|
2
|
+
import { n as ClaimsSource } from "./claims-source-Cek93vyw.js";
|
|
3
3
|
import { n as AuthSession } from "./view-DwTCw_jZ.js";
|
|
4
4
|
/**
|
|
5
5
|
* One entry of the `memberships` claim when a hook writes it as a list. Hooks
|
|
@@ -6,7 +6,7 @@ import { p as isQuerySpec } from "./read-set-DfScfSsf.js";
|
|
|
6
6
|
import { a as ok, r as err, s as toDbError } from "./result-DijoXEFG.js";
|
|
7
7
|
import { n as simplifyOrFalse } from "./simplify-BzThKn5b.js";
|
|
8
8
|
import { n as whereClause, t as integer } from "./shared-BRFaCh8n.js";
|
|
9
|
-
import { t as provideConnectionRuntime } from "./define-runtime-full-
|
|
9
|
+
import { t as provideConnectionRuntime } from "./define-runtime-full-BIrEQWJR.js";
|
|
10
10
|
// src/compile/sqlite.ts
|
|
11
11
|
/**
|
|
12
12
|
* The operation needs something the SQLite dialect can't express: full-text
|
package/dist/expo/index.js
CHANGED
|
@@ -6,11 +6,11 @@ import { t as tenantOf } from "../tenant-Duq0dWqX.js";
|
|
|
6
6
|
import { i as claimsOf } from "../claims-CX-ar1vt.js";
|
|
7
7
|
import { t as DbException } from "../db-exception-Dv18UZ-I.js";
|
|
8
8
|
import { c as toProblem } from "../problem-BwplIuhI.js";
|
|
9
|
-
import { t as adapterBase } from "../adapter-base-
|
|
9
|
+
import { t as adapterBase } from "../adapter-base-BWp_GpBq.js";
|
|
10
10
|
import { g as unexpectedResponse } from "../sessions-w6xril_l.js";
|
|
11
|
-
import { c as bootstrapSchema, l as bootstrapWith, n as extendServer, s as accessOf, t as createServer } from "../server-
|
|
11
|
+
import { c as bootstrapSchema, l as bootstrapWith, n as extendServer, s as accessOf, t as createServer } from "../server-DpcMKAt_.js";
|
|
12
12
|
import { i as userSessionTags, r as tableTags, t as sessionIdTag } from "../cache-tags-C5Oivuxo.js";
|
|
13
|
-
import { t as withBetterSupabase } from "../composite-
|
|
13
|
+
import { t as withBetterSupabase } from "../composite-RorL_F8I.js";
|
|
14
14
|
import { r as refreshFor } from "../request-kind-BMNdlQpz.js";
|
|
15
15
|
import { i as guard, o as respond } from "../respond-DLvLJwwN.js";
|
|
16
16
|
import { bufferRequest, pipeline, seedContext } from "@supabase/middleware";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as BlockTransport } from "./block-transport-Bqne7_GN.js";
|
|
2
2
|
import { i as EventSink } from "./cloud-event-B0AsPtwP.js";
|
|
3
|
-
import { jn as AttachmentBucket } from "./define-block-
|
|
3
|
+
import { jn as AttachmentBucket } from "./define-block-BNN4jNs1.js";
|
|
4
4
|
import { o as Knowledge } from "./knowledge-CSWQouuC.js";
|
|
5
5
|
import { _ as JobHandler } from "./types-DerSPnBG.js";
|
|
6
6
|
import { t as AsyncResult } from "./result-aun_QZHn.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { L as ColumnMeta, ft as TableMeta, st as SchemaMeta } from "./types-Dizn1liT.js";
|
|
2
2
|
import { a as ScalarKind, i as FieldSpec } from "./table-schema-CwXg7oBz.js";
|
|
3
|
-
import { Er as GeneratorInput } from "./context-
|
|
3
|
+
import { Er as GeneratorInput } from "./context-CoxeOKXg.js";
|
|
4
4
|
/** What field planning reads: the metadata and the typed-jsonb config. */
|
|
5
5
|
interface SchemaSource {
|
|
6
6
|
readonly meta: SchemaMeta;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { b as DbError, f as Result } from "./result-aun_QZHn.js";
|
|
2
2
|
import { l as BlockTenant } from "./block-helpers-DDotKGAf.js";
|
|
3
|
-
import { fr as GeneratedBlocks } from "./define-block-
|
|
3
|
+
import { fr as GeneratedBlocks } from "./define-block-BNN4jNs1.js";
|
|
4
4
|
import { tt as TemplateValues } from "./bucket-BJ03ZblY.js";
|
|
5
5
|
import { dt as QuerySpec } from "./db-blocks-BQkHb77X.js";
|
|
6
6
|
import { n as DataEngine } from "./data-engine-nmeUijzR.js";
|
|
7
|
-
import { c as RealtimeClient, d as SubscribeOptions, i as PresenceOptions, s as PresenceSubscription, v as TopicMessage } from "./topic-
|
|
8
|
-
import { t as ClientPorts } from "./ports-
|
|
9
|
-
import { a as ClientAuth } from "./bind-
|
|
10
|
-
import { a as LiveSource, r as LiveCountSeed } from "./index-
|
|
7
|
+
import { c as RealtimeClient, d as SubscribeOptions, i as PresenceOptions, s as PresenceSubscription, v as TopicMessage } from "./topic-vKeXr5Iq.js";
|
|
8
|
+
import { t as ClientPorts } from "./ports-CI4MCK_w.js";
|
|
9
|
+
import { a as ClientAuth } from "./bind-C9Bu9fgk.js";
|
|
10
|
+
import { a as LiveSource, r as LiveCountSeed } from "./index-ljkv6cKx.js";
|
|
11
11
|
import { SupabaseClient } from "@supabase/supabase-js";
|
|
12
12
|
import { QueryClient } from "@tanstack/query-core";
|
|
13
13
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as entityNoun, i as entityNames, n as checkEntityName, s as tenantRename, t as DEFAULT_TENANT } from "./entity-naming-CUsC8bC1.js";
|
|
2
|
-
import { B as resolveBlock, I as PRESET_CATALOG, V as tenantNameOf } from "./instances-
|
|
2
|
+
import { B as resolveBlock, I as PRESET_CATALOG, V as tenantNameOf } from "./instances-B9oCgEOH.js";
|
|
3
3
|
// src/config/defaults.ts
|
|
4
4
|
/**
|
|
5
5
|
* Every default `resolveConfig` fills in. Other modules (the SQL module
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { c as snapshotOf } from "./snapshot-C1KUHKTc.js";
|
|
2
2
|
import { i as toSession } from "./view-DpKWWhP2.js";
|
|
3
|
-
import { t as withBetterSupabase } from "./composite-
|
|
3
|
+
import { t as withBetterSupabase } from "./composite-RorL_F8I.js";
|
|
4
4
|
// src/server/framework.ts
|
|
5
5
|
/**
|
|
6
6
|
* Every caller: the framework factories guard per loader, action or route
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as VERSION } from "../../version-
|
|
1
|
+
import { t as VERSION } from "../../version-g50CWvKI.js";
|
|
2
2
|
import { f as siblingPath, t as HEADER } from "../../shared-BXRDj6UR.js";
|
|
3
3
|
import { r as relativeImport } from "../../kit-D6kdfQFj.js";
|
|
4
4
|
// src/generators/factories.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as ScalarKind } from "../table-schema-CwXg7oBz.js";
|
|
2
|
-
import { Ar as GeneratorModule, Cr as GeneratorFunction, Er as GeneratorInput, Mr as GeneratorTable, Sr as GeneratorField, Tr as GeneratorImports, _r as GeneratorBlockEntity, br as GeneratorConfigView, gr as GeneratorBlock, hr as Generator, kr as GeneratorModel, mr as GeneratedFile, vr as GeneratorCapability, xr as GeneratorEntitySchemas, yr as GeneratorColumn } from "../context-
|
|
3
|
-
import { A as tableDocs, C as parseCheckBounds, D as rowType, E as propertyKey, F as variantsFor, M as temporalGuardImport, N as titleOf, O as schemaName, P as variantTitle, S as optionalLine, T as parseImport, _ as TableDocs, a as extraKinds, b as fieldSpec, c as fieldMetaLines, d as Bounds, f as DocsSource, g as SchemaSource, h as HEADER, i as ResultSchema, j as tableEntries, k as siblingPath, l as objectType, m as FieldPlan, n as ExtraSchemas, o as extraSchemas, p as FieldDocs, r as FieldMeta, s as fieldMeta, t as ExtraSchema, u as resultType, v as Variant, w as parseComment, x as fieldsFor, y as fieldDocs } from "../extras-
|
|
2
|
+
import { Ar as GeneratorModule, Cr as GeneratorFunction, Er as GeneratorInput, Mr as GeneratorTable, Sr as GeneratorField, Tr as GeneratorImports, _r as GeneratorBlockEntity, br as GeneratorConfigView, gr as GeneratorBlock, hr as Generator, kr as GeneratorModel, mr as GeneratedFile, vr as GeneratorCapability, xr as GeneratorEntitySchemas, yr as GeneratorColumn } from "../context-CoxeOKXg.js";
|
|
3
|
+
import { A as tableDocs, C as parseCheckBounds, D as rowType, E as propertyKey, F as variantsFor, M as temporalGuardImport, N as titleOf, O as schemaName, P as variantTitle, S as optionalLine, T as parseImport, _ as TableDocs, a as extraKinds, b as fieldSpec, c as fieldMetaLines, d as Bounds, f as DocsSource, g as SchemaSource, h as HEADER, i as ResultSchema, j as tableEntries, k as siblingPath, l as objectType, m as FieldPlan, n as ExtraSchemas, o as extraSchemas, p as FieldDocs, r as FieldMeta, s as fieldMeta, t as ExtraSchema, u as resultType, v as Variant, w as parseComment, x as fieldsFor, y as fieldDocs } from "../extras-DLKG5Qrz.js";
|
|
4
4
|
/** The generator contract this release of `gen` runs. */
|
|
5
5
|
export declare const GENERATOR_API_VERSION = 2;
|
|
6
6
|
/** What `defineGenerator` takes: a `Generator` without its `apiVersion`. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { hr as Generator } from "../../context-
|
|
2
|
-
import { f as DocsSource, n as ExtraSchemas } from "../../extras-
|
|
1
|
+
import { hr as Generator } from "../../context-CoxeOKXg.js";
|
|
2
|
+
import { f as DocsSource, n as ExtraSchemas } from "../../extras-DLKG5Qrz.js";
|
|
3
3
|
/** The JSON Schema dialects the generators and MCP emit. */
|
|
4
4
|
type JsonSchemaTarget = "draft-2020-12" | "draft-07" | "openapi-3.0";
|
|
5
5
|
interface JsonSchemaGeneratorOptions {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as jsonSchema, n as toJsonSchema } from "../../json-schema-
|
|
1
|
+
export { t as jsonSchema, n as toJsonSchema } from "../../json-schema-BHx8LHzw.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as VERSION } from "../../version-
|
|
1
|
+
import { t as VERSION } from "../../version-g50CWvKI.js";
|
|
2
2
|
import { _ as variantTitle, c as parseImport, d as schemaName, f as siblingPath, i as fieldsFor, l as propertyKey, m as tableEntries, n as fieldDocs, p as tableDocs, r as fieldSpec, t as HEADER, v as variantsFor } from "../../shared-BXRDj6UR.js";
|
|
3
3
|
import { a as objectType, i as fieldMetaLines, n as extraSchemas } from "../../extras-CW8CKLeE.js";
|
|
4
4
|
import { r as relativeImport } from "../../kit-D6kdfQFj.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as VERSION } from "../../version-
|
|
1
|
+
import { t as VERSION } from "../../version-g50CWvKI.js";
|
|
2
2
|
import { _ as variantTitle, a as optionalLine, c as parseImport, d as schemaName, f as siblingPath, h as temporalGuardImport, i as fieldsFor, l as propertyKey, m as tableEntries, n as fieldDocs, p as tableDocs, t as HEADER, u as rowType, v as variantsFor } from "../../shared-BXRDj6UR.js";
|
|
3
3
|
import { a as objectType, i as fieldMetaLines, n as extraSchemas, o as resultType, t as extraKinds } from "../../extras-CW8CKLeE.js";
|
|
4
4
|
import { r as relativeImport } from "../../kit-D6kdfQFj.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as VERSION } from "../../version-
|
|
1
|
+
import { t as VERSION } from "../../version-g50CWvKI.js";
|
|
2
2
|
import { _ as variantTitle, a as optionalLine, c as parseImport, d as schemaName, f as siblingPath, h as temporalGuardImport, i as fieldsFor, l as propertyKey, m as tableEntries, n as fieldDocs, p as tableDocs, t as HEADER, u as rowType, v as variantsFor } from "../../shared-BXRDj6UR.js";
|
|
3
3
|
import { a as objectType, i as fieldMetaLines, n as extraSchemas, o as resultType, t as extraKinds } from "../../extras-CW8CKLeE.js";
|
|
4
4
|
import { r as relativeImport } from "../../kit-D6kdfQFj.js";
|
package/dist/hono/index.js
CHANGED
|
@@ -3,16 +3,16 @@ import { i as toSession } from "../view-DpKWWhP2.js";
|
|
|
3
3
|
import { r as handoffOf } from "../shared-Ci1g9nl4.js";
|
|
4
4
|
import { r as dbErrorOf } from "../errors-DK1wGb9z.js";
|
|
5
5
|
import { o as problemResponse } from "../problem-BwplIuhI.js";
|
|
6
|
-
import { t as adapterBase } from "../adapter-base-
|
|
6
|
+
import { t as adapterBase } from "../adapter-base-BWp_GpBq.js";
|
|
7
7
|
import { g as unexpectedResponse, p as flushEvents } from "../sessions-w6xril_l.js";
|
|
8
|
-
import { t as withBetterSupabase } from "../composite-
|
|
8
|
+
import { t as withBetterSupabase } from "../composite-RorL_F8I.js";
|
|
9
9
|
import { n as corsConfig } from "../cors-DrDFLMNn.js";
|
|
10
10
|
import { i as requireCaller } from "../kit-BgRTtW9w.js";
|
|
11
11
|
import { t as rateLimitGate } from "../rate-limit-Wolzge1m.js";
|
|
12
12
|
import { i as defineAction, t as defineResource } from "../resource-BxSmk1R1.js";
|
|
13
13
|
import { t as matchResource } from "../resources-CM9wwyfa.js";
|
|
14
14
|
import { o as respond, t as assertCookieRefresh } from "../respond-DLvLJwwN.js";
|
|
15
|
-
import { n as extendServer, t as createServer } from "../server-
|
|
15
|
+
import { n as extendServer, t as createServer } from "../server-DpcMKAt_.js";
|
|
16
16
|
import { bufferRequest, pipeline, seedContext } from "@supabase/middleware";
|
|
17
17
|
import { withCors } from "@supabase/middleware/cors";
|
|
18
18
|
import { Hono } from "hono";
|
|
@@ -5,7 +5,7 @@ import { T as ErrorMapper, t as AsyncResult } from "./result-aun_QZHn.js";
|
|
|
5
5
|
import { n as Logger } from "./logger-0LfhvwE4.js";
|
|
6
6
|
import { h as FilterQuery } from "./filter-query-DwJ1iMQ0.js";
|
|
7
7
|
import { r as BlockTemporalOptions } from "./block-helpers-DDotKGAf.js";
|
|
8
|
-
import { G as EntitySchema, c as BlockOf } from "./define-block-
|
|
8
|
+
import { G as EntitySchema, c as BlockOf } from "./define-block-BNN4jNs1.js";
|
|
9
9
|
import { D as SegmentMemberEventData, E as SegmentEventData } from "./block-events-records-CUCsDp0S.js";
|
|
10
10
|
import { Et as Events } from "./events-zz8DwtZi.js";
|
|
11
11
|
/** The events of the `segments` block: type to data. */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { f as Bookings, m as PlacedBooking, n as Booking, r as BookingCustomer, u as BookingSlot } from "./bookings-DIQGDex_.js";
|
|
2
2
|
import { t as EventCalendarEvent } from "./event-calendar-aJSOUoNM.js";
|
|
3
3
|
import { b as DbError } from "./result-aun_QZHn.js";
|
|
4
|
-
import { n as Controller } from "./controller-
|
|
4
|
+
import { n as Controller } from "./controller-D4dnWk48.js";
|
|
5
5
|
import { t as VisibleRange } from "./range-BN3kpJAE.js";
|
|
6
6
|
/** A booking row as `hold_booking`, `list_bookings` and the others return it. */
|
|
7
7
|
declare function bookingOf(value: unknown): Booking;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as CourseInput, o as CourseLearner, r as CourseCertificate, u as CourseLessonInput, x as Courses } from "./manifest-
|
|
2
|
-
import { E as RecordBinding, G as EntitySchema, M as RecordBindingWrite } from "./define-block-
|
|
1
|
+
import { a as CourseInput, o as CourseLearner, r as CourseCertificate, u as CourseLessonInput, x as Courses } from "./manifest-BZe8-T8v.js";
|
|
2
|
+
import { E as RecordBinding, G as EntitySchema, M as RecordBindingWrite } from "./define-block-BNN4jNs1.js";
|
|
3
3
|
import { i as JwsAlgorithm, n as Jwks } from "./jws-CxgTsbgG.js";
|
|
4
4
|
import { f as Result } from "./result-aun_QZHn.js";
|
|
5
5
|
/** What `upsert` takes, with the bounds the SQL checks. */
|
|
@@ -6,7 +6,7 @@ import { t as StandardSchemaV1 } from "./standard-Vmy7ALDX.js";
|
|
|
6
6
|
import { et as RecordRef } from "./types-Dizn1liT.js";
|
|
7
7
|
import { n as BlockOptions } from "./block-helpers-DDotKGAf.js";
|
|
8
8
|
import { t as AsyncResult } from "./result-aun_QZHn.js";
|
|
9
|
-
import { E as RecordBinding, G as EntitySchema, L as RecordRowInput, M as RecordBindingWrite, c as BlockOf } from "./define-block-
|
|
9
|
+
import { E as RecordBinding, G as EntitySchema, L as RecordRowInput, M as RecordBindingWrite, c as BlockOf } from "./define-block-BNN4jNs1.js";
|
|
10
10
|
import { Et as Events, et as SaasEventData, tt as SaasSubjectEventData } from "./events-zz8DwtZi.js";
|
|
11
11
|
/** The events of the `share-links` block: type to data. */
|
|
12
12
|
type ShareLinksEvents = {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { E as AccessPolicySql } from "./types-Dizn1liT.js";
|
|
2
|
-
import { Mt as SubjectConfig, r as AnyBlocksConfig } from "./blocks-
|
|
2
|
+
import { Mt as SubjectConfig, r as AnyBlocksConfig } from "./blocks-DuL-Ds3g.js";
|
|
3
3
|
import { q as ReadSet } from "./db-blocks-BQkHb77X.js";
|
|
4
|
-
import { Ct as ResolvedConfig, L as TableGrant, Si as CatalogPolicy, _ as BlockSqlFile, ai as AppTableConfig, g as BlockSqlEntitlementsProvider, h as BlockSqlDeprecation, m as BlockSqlAccessProvider, n as BlockSqlContractFunction, p as BlockSql, r as BlockSqlIdType, t as BlockSqlContext, v as BlockSqlLayout } from "./context-
|
|
5
|
-
import { n as AuthorizationFunctions } from "./authorization-
|
|
4
|
+
import { Ct as ResolvedConfig, L as TableGrant, Si as CatalogPolicy, _ as BlockSqlFile, ai as AppTableConfig, g as BlockSqlEntitlementsProvider, h as BlockSqlDeprecation, m as BlockSqlAccessProvider, n as BlockSqlContractFunction, p as BlockSql, r as BlockSqlIdType, t as BlockSqlContext, v as BlockSqlLayout } from "./context-CoxeOKXg.js";
|
|
5
|
+
import { n as AuthorizationFunctions } from "./authorization-CX-03Zgx.js";
|
|
6
6
|
/** The contract's argument list with `{id}` resolved, as Postgres prints it. */
|
|
7
7
|
declare function contractSignature(fn: BlockSqlContractFunction, idType: string): string;
|
|
8
8
|
/** A module's SQL for `layout`, without header; `undefined` in custom mode. */
|
|
@@ -6,7 +6,7 @@ import { t as BlockTransport } from "./block-transport-Bqne7_GN.js";
|
|
|
6
6
|
import { T as ErrorMapper, t as AsyncResult } from "./result-aun_QZHn.js";
|
|
7
7
|
import { n as Logger } from "./logger-0LfhvwE4.js";
|
|
8
8
|
import { et as RecordRef } from "./types-Dizn1liT.js";
|
|
9
|
-
import { E as RecordBinding, G as EntitySchema, M as RecordBindingWrite, c as BlockOf } from "./define-block-
|
|
9
|
+
import { E as RecordBinding, G as EntitySchema, M as RecordBindingWrite, c as BlockOf } from "./define-block-BNN4jNs1.js";
|
|
10
10
|
import { Et as Events } from "./events-zz8DwtZi.js";
|
|
11
11
|
/** A project's costs and earnings in one currency. */
|
|
12
12
|
interface ProjectCostTotals {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { O as AnyFunctions, Ut as AnyAuthorizer, dt as TableKey, in as PermissionRef, k as AnyModels, rn as AuthzVersionCache } from "./types-Dizn1liT.js";
|
|
2
2
|
import { s as BetterSupabase } from "./db-blocks-BQkHb77X.js";
|
|
3
|
-
import { t as OperationTable } from "./operations-
|
|
3
|
+
import { t as OperationTable } from "./operations-B4iP1805.js";
|
|
4
4
|
import { l as ResourceRouteOptions } from "./resource-types-D4IZrOCo.js";
|
|
5
5
|
import { r as GuardOptions } from "./respond-vxhdVf23.js";
|
|
6
6
|
import { r as BetterServer, s as ServerContext, u as ServerOptions } from "./server-types-Bax89ShV.js";
|
|
@@ -2,8 +2,8 @@ import { _ as createApiKeys, d as CreateApiKeyInput, f as CreatedApiKey, l as Ap
|
|
|
2
2
|
import { r as AuthState } from "./resolve-Pn7KvQ23.js";
|
|
3
3
|
import { t as BlockProblemOptions } from "./problem-DfABfWnk.js";
|
|
4
4
|
import { b as DbError, f as Result } from "./result-aun_QZHn.js";
|
|
5
|
-
import { n as Controller, t as AuthPort } from "./controller-
|
|
6
|
-
import { c as BlockOf } from "./define-block-
|
|
5
|
+
import { n as Controller, t as AuthPort } from "./controller-D4dnWk48.js";
|
|
6
|
+
import { c as BlockOf } from "./define-block-BNN4jNs1.js";
|
|
7
7
|
import { Et as Events, v as ApiKeyEventData } from "./events-zz8DwtZi.js";
|
|
8
8
|
import { Entry } from "@supabase/middleware";
|
|
9
9
|
import { AuthMode, JWTClaims, UserClaims } from "@supabase/server";
|
|
@@ -5,7 +5,7 @@ import { T as ErrorMapper, t as AsyncResult } from "./result-aun_QZHn.js";
|
|
|
5
5
|
import { n as Logger } from "./logger-0LfhvwE4.js";
|
|
6
6
|
import { h as FilterQuery } from "./filter-query-DwJ1iMQ0.js";
|
|
7
7
|
import { r as BlockTemporalOptions } from "./block-helpers-DDotKGAf.js";
|
|
8
|
-
import { G as EntitySchema, c as BlockOf } from "./define-block-
|
|
8
|
+
import { G as EntitySchema, c as BlockOf } from "./define-block-BNN4jNs1.js";
|
|
9
9
|
import { o as AssignmentEventData } from "./block-events-records-CUCsDp0S.js";
|
|
10
10
|
import { Et as Events } from "./events-zz8DwtZi.js";
|
|
11
11
|
/** How a queue picks the next owner. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
|
-
import { a as TimeEntry } from "./manifest-
|
|
2
|
+
import { a as TimeEntry } from "./manifest-vm3Sbqkq.js";
|
|
3
3
|
import { n as MetricDefinition } from "./metric-definition-2KQYeUZ1.js";
|
|
4
4
|
import { t as CloudEvent } from "./cloud-event-B0AsPtwP.js";
|
|
5
5
|
import { et as RecordRef } from "./types-Dizn1liT.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as ActivityInput } from "./activities-DFL2uhTK.js";
|
|
2
|
-
import { G as EntitySchema } from "./define-block-
|
|
2
|
+
import { G as EntitySchema } from "./define-block-BNN4jNs1.js";
|
|
3
3
|
type ActivityLog = ActivityInput & {
|
|
4
4
|
readonly type: string;
|
|
5
5
|
readonly title: string;
|
|
@@ -6,7 +6,7 @@ import { n as DbException } from "./escape-like-BvolEoGc.js";
|
|
|
6
6
|
import { n as DataEngine, r as DataEngineOptions } from "./data-engine-nmeUijzR.js";
|
|
7
7
|
import { o as EventHub } from "./events-zz8DwtZi.js";
|
|
8
8
|
import { f as Result, t as AsyncResult } from "./result-aun_QZHn.js";
|
|
9
|
-
import { D as RecordBindingData, F as RecordBindingWriteOutput, N as RecordBindingWriteInput, P as RecordBindingWriteName, T as AnyRecordBindingWrite, fr as GeneratedBlocks, j as RecordBindingResult, k as RecordBindingOptions, t as AnyBlock, w as AnyRecordBinding } from "./define-block-
|
|
9
|
+
import { D as RecordBindingData, F as RecordBindingWriteOutput, N as RecordBindingWriteInput, P as RecordBindingWriteName, T as AnyRecordBindingWrite, fr as GeneratedBlocks, j as RecordBindingResult, k as RecordBindingOptions, t as AnyBlock, w as AnyRecordBinding } from "./define-block-BNN4jNs1.js";
|
|
10
10
|
import { DataTag, InfiniteData, QueryClient, SkipToken } from "@tanstack/query-core";
|
|
11
11
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
12
12
|
type QueryKeyOf<T> = DataTag<readonly unknown[], T, DbException>;
|
|
@@ -2,15 +2,15 @@ import { n as Money } from "./money-BgpAd7d3.js";
|
|
|
2
2
|
import { n as BlockHooks } from "./block-hooks-b7-RUIxS.js";
|
|
3
3
|
import { n as Logger } from "./logger-0LfhvwE4.js";
|
|
4
4
|
import { t as AsyncResult } from "./result-aun_QZHn.js";
|
|
5
|
-
import { Q as BlockContext, c as BlockOf, h as PartClients, p as CompositeOptions } from "./define-block-
|
|
6
|
-
import { i as Deal, r as dealsBlock } from "./index-
|
|
5
|
+
import { Q as BlockContext, c as BlockOf, h as PartClients, p as CompositeOptions } from "./define-block-BNN4jNs1.js";
|
|
6
|
+
import { i as Deal, r as dealsBlock } from "./index-Dpuwg0TF.js";
|
|
7
7
|
import { t as Invoice } from "./invoices-L6khZ9kt.js";
|
|
8
8
|
import { l as Order } from "./codecs-B5fYSNuM.js";
|
|
9
|
-
import { c as quotesBlock, u as Quote } from "./index-
|
|
10
|
-
import { t as contactsBlock } from "./manifest-
|
|
11
|
-
import { t as invoicesBlock } from "./manifest-
|
|
12
|
-
import { i as ordersBlock } from "./index-
|
|
13
|
-
import { t as pipelinesBlock } from "./manifest-
|
|
9
|
+
import { c as quotesBlock, u as Quote } from "./index-DZBqNuEr.js";
|
|
10
|
+
import { t as contactsBlock } from "./manifest-B83vvPek.js";
|
|
11
|
+
import { t as invoicesBlock } from "./manifest-aUNaGswA.js";
|
|
12
|
+
import { i as ordersBlock } from "./index-CGWlGdkC.js";
|
|
13
|
+
import { t as pipelinesBlock } from "./manifest-DZujRBYP.js";
|
|
14
14
|
/** The blocks `sales` is made of, by block name. */
|
|
15
15
|
declare const salesParts: {
|
|
16
16
|
readonly contacts: typeof contactsBlock;
|