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
|
@@ -1003,7 +1003,7 @@ const blockEntries = {
|
|
|
1003
1003
|
schema: optional(string()),
|
|
1004
1004
|
functions: optional(stringRecord)
|
|
1005
1005
|
})),
|
|
1006
|
-
events: optional(union([boolean(), strictObject({ payload: optional(record(string(),
|
|
1006
|
+
events: optional(union([boolean(), strictObject({ payload: optional(record(string(), record(string(), union([string(), strictObject({ sql: string() })])))) })])),
|
|
1007
1007
|
audit: optional(boolean()),
|
|
1008
1008
|
api: optional(union([
|
|
1009
1009
|
string(),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as i } from "./jsonc-Dyww6wHM.js";
|
|
2
2
|
import { r as readIfExists } from "./io-CngfGyMA.js";
|
|
3
3
|
import { t as CACHE_DIR } from "./store-DP-nmqBt.js";
|
|
4
|
-
import { H as installedVersion } from "./sql-layout-
|
|
4
|
+
import { H as installedVersion } from "./sql-layout-C8AdA_Eo.js";
|
|
5
5
|
import { resolve } from "node:path";
|
|
6
6
|
import { createHash } from "node:crypto";
|
|
7
7
|
// src/cli/content-mapper.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { l as stdinDatabaseUrl, n as databaseUrl } from "./config-
|
|
1
|
+
import { l as stdinDatabaseUrl, n as databaseUrl } from "./config-f3sjxKp2.js";
|
|
2
2
|
import { i as isLocalDatabaseUrl, r as databaseHost } from "./agent-BlYLJPzM.js";
|
|
3
3
|
import { m as commandMeta, r as defineCliCommand } from "./command-fqvJ0TdG.js";
|
|
4
4
|
import { n as CliError, r as errorText } from "./errors-B7i-VGxk.js";
|
|
@@ -7,7 +7,7 @@ import { t as connect } from "./db-B_xr3ZvK.js";
|
|
|
7
7
|
import { r as supabaseCli } from "./exec-DBgtTCHK.js";
|
|
8
8
|
import { a as migrationFiles, i as isShadowFailure, o as migrationVersion, r as inStackDiff, t as MIGRATION_HEADER } from "./in-stack-diff-3e1LT1bn.js";
|
|
9
9
|
import { d as readSupabaseToml, f as schemaPaths, n as declarativeSchemasDir, p as sqlWorkflow } from "./supabase-toml-B6-eEV5p.js";
|
|
10
|
-
import { r as STACK_ARG, t as DB_URL_STDIN_ARG } from "./source-args-
|
|
10
|
+
import { r as STACK_ARG, t as DB_URL_STDIN_ARG } from "./source-args-BJ0HQoMM.js";
|
|
11
11
|
import { dirname, join, resolve } from "node:path";
|
|
12
12
|
import { mkdir, readFile, writeFile } from "node:fs/promises";
|
|
13
13
|
import { parseRenameHints } from "better-supabase/create";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { a as list, m as commandMeta, r as defineCliCommand } from "./command-fqvJ0TdG.js";
|
|
2
2
|
import { n as CliError } from "./errors-B7i-VGxk.js";
|
|
3
|
-
import { m as GEN_TASKS } from "./config-
|
|
4
|
-
import { c as stampFiles, l as watchLoop, o as fileWaker, s as parseInterval } from "./spec-
|
|
5
|
-
import { a as stepInputs, i as selectTasks, n as runTasks, r as parseTasks, t as poll } from "./gen-tasks-
|
|
6
|
-
import { g as snapshotFile, p as openSource } from "./sql-layout-
|
|
7
|
-
import { i as sourceArgs, n as SOURCE_ARGS } from "./source-args-
|
|
3
|
+
import { m as GEN_TASKS } from "./config-f3sjxKp2.js";
|
|
4
|
+
import { c as stampFiles, l as watchLoop, o as fileWaker, s as parseInterval } from "./spec-LDMiECv9.js";
|
|
5
|
+
import { a as stepInputs, i as selectTasks, n as runTasks, r as parseTasks, t as poll } from "./gen-tasks-DqGGUn1q.js";
|
|
6
|
+
import { g as snapshotFile, p as openSource } from "./sql-layout-C8AdA_Eo.js";
|
|
7
|
+
import { i as sourceArgs, n as SOURCE_ARGS } from "./source-args-BJ0HQoMM.js";
|
|
8
8
|
import { dirname, resolve } from "node:path";
|
|
9
9
|
import { readdir } from "node:fs/promises";
|
|
10
10
|
// src/cli/commands/dev.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as subjectFromTag, l as stdinDatabaseUrl, n as databaseUrl, u as withTableTags } from "./config-
|
|
2
|
-
import { a as hasContentMapper, c as supportsContentMappers, i as contentMapperSetup$1, n as TSCONFIG_SNIPPET, o as needsRunExternalCode, t as RUN_EXTERNAL_CODE } from "./content-mapper-
|
|
1
|
+
import { d as subjectFromTag, l as stdinDatabaseUrl, n as databaseUrl, u as withTableTags } from "./config-f3sjxKp2.js";
|
|
2
|
+
import { a as hasContentMapper, c as supportsContentMappers, i as contentMapperSetup$1, n as TSCONFIG_SNIPPET, o as needsRunExternalCode, t as RUN_EXTERNAL_CODE } from "./content-mapper-DqVf_Fgs.js";
|
|
3
3
|
import { i as isLocalDatabaseUrl, r as databaseHost } from "./agent-BlYLJPzM.js";
|
|
4
4
|
import { a as list, m as commandMeta, r as defineCliCommand } from "./command-fqvJ0TdG.js";
|
|
5
5
|
import { n as CliError, r as errorText } from "./errors-B7i-VGxk.js";
|
|
@@ -7,37 +7,37 @@ import { c as insideRoot, i as changeLines, r as applyPlan } from "./files-NnXna
|
|
|
7
7
|
import { a as sameText, t as display } from "./io-CngfGyMA.js";
|
|
8
8
|
import { t as connect } from "./db-B_xr3ZvK.js";
|
|
9
9
|
import { t as byCodePoint } from "./compare-yl4sSwVn.js";
|
|
10
|
-
import { C as dataFiles, D as sourceFiles, E as seedFiles, H as installedVersion, O as sqlFiles, S as ENV_FILES, T as readText, U as peerVersions, W as satisfies, _ as liteDriverOf, a as moduleLayoutFor, d as loadSnapshot, f as managementTarget, g as snapshotFile, i as migrationsDir, j as MetadataRejectedError, p as openSource, r as blockDeclaredTables, u as writtenByBlocks, v as isSqliteLiteDriver, w as functionFiles } from "./sql-layout-
|
|
11
|
-
import { i as request } from "./source-
|
|
10
|
+
import { C as dataFiles, D as sourceFiles, E as seedFiles, H as installedVersion, O as sqlFiles, S as ENV_FILES, T as readText, U as peerVersions, W as satisfies, _ as liteDriverOf, a as moduleLayoutFor, d as loadSnapshot, f as managementTarget, g as snapshotFile, i as migrationsDir, j as MetadataRejectedError, p as openSource, r as blockDeclaredTables, u as writtenByBlocks, v as isSqliteLiteDriver, w as functionFiles } from "./sql-layout-C8AdA_Eo.js";
|
|
11
|
+
import { i as request } from "./source-1bNLaVRN.js";
|
|
12
12
|
import { a as findRepoRoot, c as httpHooks, d as readSupabaseToml, h as tomlGet, i as diffEngine, l as migrationCommand, n as declarativeSchemasDir, p as sqlWorkflow, u as pgFunctionHooks } from "./supabase-toml-B6-eEV5p.js";
|
|
13
13
|
import { r as supabaseCli } from "./exec-DBgtTCHK.js";
|
|
14
14
|
import { t as CACHE_DIR } from "./store-DP-nmqBt.js";
|
|
15
|
-
import { _ as BLOCK_PREFIX, a as METADATA_GAPS_TEXT, b as splinterTables, c as entitlementsModule, d as appliesTo, f as escape$7, g as withoutStrings, h as policyHelpers, l as COMMANDS$2, m as functionObject, p as functionBody, s as AUTHORIZATION_RULES, u as RLS_RULES, v as blockTargets, y as advisorRule } from "./run-
|
|
16
|
-
import { r as renderFiles } from "./render-
|
|
17
|
-
import { l as schemaModulePath, m as configFor, p as notNullTag } from "./emit-
|
|
15
|
+
import { _ as BLOCK_PREFIX, a as METADATA_GAPS_TEXT, b as splinterTables, c as entitlementsModule, d as appliesTo, f as escape$7, g as withoutStrings, h as policyHelpers, l as COMMANDS$2, m as functionObject, p as functionBody, s as AUTHORIZATION_RULES, u as RLS_RULES, v as blockTargets, y as advisorRule } from "./run-BOVCY-r-.js";
|
|
16
|
+
import { r as renderFiles } from "./render-BETiezmy.js";
|
|
17
|
+
import { l as schemaModulePath, m as configFor, p as notNullTag } from "./emit-B_Lm7_wL.js";
|
|
18
18
|
import { t as orphanedBlockFiles } from "./orphans-ByB0gKOp.js";
|
|
19
|
-
import { a as renameArguments, s as tenantEntries, t as NAMING_RENAMES } from "./codemod-naming-
|
|
19
|
+
import { a as renameArguments, s as tenantEntries, t as NAMING_RENAMES } from "./codemod-naming-DfHoYdJU.js";
|
|
20
20
|
import { t as isRecord$1 } from "./guards-DxwRG0Uv.js";
|
|
21
|
-
import { i as appViewsOf, n as adoptionContext, r as appTablesOf, t as accessModule } from "./app-tables-
|
|
22
|
-
import { i as migrationHolds, o as migrationModules, r as latestMigration, t as MODULES_SUFFIX } from "./module-migration-
|
|
23
|
-
import { n as renderBlocksCached } from "./render-cache-
|
|
24
|
-
import { a as lineOf, c as qualified, i as exposedSchemas, l as tableObject, n as deniesAll, o as permissionCatalogKeys, r as exposed, s as policyObject, t as catalogOf, u as workflowOf } from "./shared-
|
|
25
|
-
import { n as staleRenameKeys, t as shadowedBlockColumns } from "./column-renames-
|
|
26
|
-
import { a as reservedRoles, i as statementsView, n as ident$1, r as literal$1, t as LIVE_RULES } from "./live-
|
|
21
|
+
import { i as appViewsOf, n as adoptionContext, r as appTablesOf, t as accessModule } from "./app-tables-C38kyCXS.js";
|
|
22
|
+
import { i as migrationHolds, o as migrationModules, r as latestMigration, t as MODULES_SUFFIX } from "./module-migration-DFIsQn_x.js";
|
|
23
|
+
import { n as renderBlocksCached } from "./render-cache-BB0JYz8w.js";
|
|
24
|
+
import { a as lineOf, c as qualified, i as exposedSchemas, l as tableObject, n as deniesAll, o as permissionCatalogKeys, r as exposed, s as policyObject, t as catalogOf, u as workflowOf } from "./shared-BaAJV9R_.js";
|
|
25
|
+
import { n as staleRenameKeys, t as shadowedBlockColumns } from "./column-renames-c21PFef3.js";
|
|
26
|
+
import { a as reservedRoles, i as statementsView, n as ident$1, r as literal$1, t as LIVE_RULES } from "./live-BA_a2Jol.js";
|
|
27
27
|
import { t as projectionsOf } from "./projection-DlVB5YL-.js";
|
|
28
28
|
import { s as providerLabel } from "./authorization-CNWhpdKb.js";
|
|
29
|
-
import { t as VERSION$1 } from "./version-
|
|
29
|
+
import { t as VERSION$1 } from "./version-DfAapHvH.js";
|
|
30
30
|
import { t as PROCESS_ENV } from "./env-CQ831uY0.js";
|
|
31
31
|
import { a as stackEnvValues, i as redactValue, o as staleVariables, t as PREFIX_NAMES } from "./stack-env-CtkfVXsR.js";
|
|
32
32
|
import { n as readStackStatus } from "./stack-status-rNPCacin.js";
|
|
33
|
-
import { o as wiringFor, r as configInstances, t as MIGRATION_SAFETY_RULES } from "./migration-safety-
|
|
33
|
+
import { o as wiringFor, r as configInstances, t as MIGRATION_SAFETY_RULES } from "./migration-safety-Dwfz0WVB.js";
|
|
34
34
|
import { a as OPEN, c as functionsIn, i as CLOSE, l as statementEnd, n as ROUND_TRIP_RULES, o as closeOf, s as codeOnly, u as targetKeys } from "./round-trips-BHfeIu6I.js";
|
|
35
35
|
import { n as PLATFORM_SCHEMAS } from "./in-stack-diff-3e1LT1bn.js";
|
|
36
36
|
import { a as readSharedMemory, n as listStacks, t as branchName } from "./stacks-Eu6d45F8.js";
|
|
37
37
|
import { i as plain$2 } from "./style-B5-nByxb.js";
|
|
38
|
-
import { i as refuseWithMetadata, r as readMetadataSnapshot } from "./metadata-
|
|
38
|
+
import { i as refuseWithMetadata, r as readMetadataSnapshot } from "./metadata-CDLkzqxG.js";
|
|
39
39
|
import { t as compiledReadSets } from "./read-sets-77o7SxpK.js";
|
|
40
|
-
import { a as sourceFlags, n as SOURCE_ARGS } from "./source-args-
|
|
40
|
+
import { a as sourceFlags, n as SOURCE_ARGS } from "./source-args-BJ0HQoMM.js";
|
|
41
41
|
import { existsSync } from "node:fs";
|
|
42
42
|
import { dirname, join, posix, relative, resolve } from "node:path";
|
|
43
43
|
import { mkdir, readFile, writeFile } from "node:fs/promises";
|
|
@@ -4601,7 +4601,7 @@ function privateFunctions(sources) {
|
|
|
4601
4601
|
function nestedPrivateScopes(context) {
|
|
4602
4602
|
const functions = privateFunctions(context.sources);
|
|
4603
4603
|
const names = new Set(functions.map((fn) => fn.name));
|
|
4604
|
-
return functions.flatMap((outer) => [...names].filter((name) => name !== outer.name && new RegExp(
|
|
4604
|
+
return functions.flatMap((outer) => [...names].filter((name) => name !== outer.name && new RegExp(`(?<![.\\w$])${name}\\s*\\(`).test(outer.body)).map((inner) => ({
|
|
4605
4605
|
message: `${outer.file}: ${outer.name} runs in \`"use cache: private"\` and calls ${inner}, which has the same directive. Private cache scopes can't nest, and each one resolves the session again. Call ${inner} from the page and pass its result down, or read both in one scope.`,
|
|
4606
4606
|
target: `${outer.file}:${outer.name}:${inner}`,
|
|
4607
4607
|
location: {
|
|
@@ -2,8 +2,8 @@ import { t as byCodePoint } from "./compare-yl4sSwVn.js";
|
|
|
2
2
|
import { r as claimMarkerOverrides } from "./authorization-CNWhpdKb.js";
|
|
3
3
|
import { n as CliError } from "./errors-B7i-VGxk.js";
|
|
4
4
|
import { t as isRecord } from "./guards-DxwRG0Uv.js";
|
|
5
|
-
import { a as toCatalog } from "./source-
|
|
6
|
-
import { F as restrictSchemas, R as tsTypeOf, b as bootstrapTables } from "./sql-layout-
|
|
5
|
+
import { a as toCatalog } from "./source-1bNLaVRN.js";
|
|
6
|
+
import { F as restrictSchemas, R as tsTypeOf, b as bootstrapTables } from "./sql-layout-C8AdA_Eo.js";
|
|
7
7
|
import { resolveBlock, resolveProviderSql } from "better-supabase/sql";
|
|
8
8
|
import { DEFAULT_CLAIMS, tenantClaimPaths } from "better-supabase/config";
|
|
9
9
|
import { toCamel } from "better-supabase";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { c as parseNames, i as failedResult, n as CliError } from "./errors-B7i-VGxk.js";
|
|
2
|
-
import { n as runGen } from "./run-
|
|
3
|
-
import { l as catalogFingerprint } from "./cache-
|
|
2
|
+
import { n as runGen } from "./run-BOVCY-r-.js";
|
|
3
|
+
import { l as catalogFingerprint } from "./cache-CEIUM3JG.js";
|
|
4
4
|
import { i as plain } from "./style-B5-nByxb.js";
|
|
5
|
-
import { g as isGenTask, m as GEN_TASKS } from "./config-
|
|
5
|
+
import { g as isGenTask, m as GEN_TASKS } from "./config-f3sjxKp2.js";
|
|
6
6
|
import { i as runEnv } from "./env-DtJNOdyD.js";
|
|
7
|
-
import { n as runPowerSync } from "./powersync-
|
|
8
|
-
import { t as runSeed } from "./seed-
|
|
9
|
-
import { r as specOptionsFromConfig, t as runSpec } from "./spec-
|
|
10
|
-
import { t as addModules } from "./add-
|
|
11
|
-
import { n as listModules, t as printModule } from "./print-
|
|
12
|
-
import { o as dataMigration, t as syncModules } from "./sync-
|
|
13
|
-
import { t as upgrade } from "./upgrade-
|
|
14
|
-
import { d as loadSnapshot } from "./sql-layout-
|
|
7
|
+
import { n as runPowerSync } from "./powersync-DrwwjGP-.js";
|
|
8
|
+
import { t as runSeed } from "./seed-DWgxzesp.js";
|
|
9
|
+
import { r as specOptionsFromConfig, t as runSpec } from "./spec-LDMiECv9.js";
|
|
10
|
+
import { t as addModules } from "./add-FzNe4YLu.js";
|
|
11
|
+
import { n as listModules, t as printModule } from "./print-DNSc_N-C.js";
|
|
12
|
+
import { o as dataMigration, t as syncModules } from "./sync-bBwKCyBW.js";
|
|
13
|
+
import { t as upgrade } from "./upgrade-DNukTQY6.js";
|
|
14
|
+
import { d as loadSnapshot } from "./sql-layout-C8AdA_Eo.js";
|
|
15
15
|
import { existsSync } from "node:fs";
|
|
16
16
|
import { resolve } from "node:path";
|
|
17
17
|
// src/cli/commands/sql.ts
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { a as list, m as commandMeta, r as defineCliCommand } from "./command-fqvJ0TdG.js";
|
|
2
2
|
import { n as CliError } from "./errors-B7i-VGxk.js";
|
|
3
|
-
import { a as runMetadataGen, n as checkMetadataFlags, t as EMITS } from "./metadata-
|
|
4
|
-
import { m as GEN_TASKS } from "./config-
|
|
5
|
-
import { i as selectTasks, n as runTasks, r as parseTasks } from "./gen-tasks-
|
|
3
|
+
import { a as runMetadataGen, n as checkMetadataFlags, t as EMITS } from "./metadata-CDLkzqxG.js";
|
|
4
|
+
import { m as GEN_TASKS } from "./config-f3sjxKp2.js";
|
|
5
|
+
import { i as selectTasks, n as runTasks, r as parseTasks } from "./gen-tasks-DqGGUn1q.js";
|
|
6
6
|
import { c as insideRoot, r as applyPlan, u as planResult } from "./files-NnXnawki.js";
|
|
7
|
-
import { F as restrictSchemas, I as serializeGenerator, d as loadSnapshot, h as serializeSnapshot } from "./sql-layout-
|
|
8
|
-
import { a as sourceFlags, i as sourceArgs, n as SOURCE_ARGS } from "./source-args-
|
|
7
|
+
import { F as restrictSchemas, I as serializeGenerator, d as loadSnapshot, h as serializeSnapshot } from "./sql-layout-C8AdA_Eo.js";
|
|
8
|
+
import { a as sourceFlags, i as sourceArgs, n as SOURCE_ARGS } from "./source-args-BJ0HQoMM.js";
|
|
9
9
|
// src/cli/commands/save-snapshot.ts
|
|
10
10
|
/** The flags `gen --save-snapshot` reads. */
|
|
11
11
|
const SAVE_SNAPSHOT_ARGS = {
|
package/dist/cli/index.d.ts
CHANGED
|
@@ -864,5 +864,5 @@ export declare function emitModule(model: Model, options: EmitOptions): string;
|
|
|
864
864
|
export declare function loadConfig(cwd: string, explicit?: string, environment?: string, path?: string | undefined, options?: {
|
|
865
865
|
readonly legacyTables?: boolean;
|
|
866
866
|
}): Promise<ResolvedConfig>;
|
|
867
|
-
export declare const VERSION = "0.
|
|
867
|
+
export declare const VERSION = "0.65.0";
|
|
868
868
|
export type { Catalog, CatalogCheck, CatalogColumn, CatalogColumnGrant, CatalogEnum, CatalogForeignKey, CatalogFunction, CatalogFunctionArg, CatalogGrant, CatalogIndex, CatalogPolicy, CatalogTable, CatalogTrigger, CatalogUnique, Choice, Cli, CliCommand, CliCommandDef, CliContext, CliEnv, CliErrorCode, CliErrorOptions, CliIo, CliLog, CliProblem, CliProblemExtensions, CliValues, CommandResult, CreateCliOptions, ExitCode, ExtrasFunction, ExtrasHook, ExtrasHookFunction, ExtrasTable, ForeignKeyAction, Format, GeneratorMetadata, IntrospectionSource, ManagementSourceOptions, NextStep, Paint, Prompter, Queryable, RunOptions, RunResult, Snapshot, SnapshotBucket, SnapshotExtras };
|
package/dist/cli/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { i as run, n as createCli, r as help, t as commandNames } from "./run-
|
|
1
|
+
import { i as run, n as createCli, r as help, t as commandNames } from "./run-Dxc0-5HJ.js";
|
|
2
2
|
import { a as list, r as defineCliCommand } from "./command-fqvJ0TdG.js";
|
|
3
3
|
import { n as CliError, t as CLI_ERRORS_URL } from "./errors-B7i-VGxk.js";
|
|
4
|
-
import { a as emitBlockConfig, c as emitClientBlocks, o as emitBlockConfigModule, r as renderFiles, s as emitBlockReads } from "./render-
|
|
5
|
-
import { n as runGen } from "./run-
|
|
6
|
-
import { d as loadSnapshot, h as serializeSnapshot, m as parseSnapshot, y as introspect } from "./sql-layout-
|
|
7
|
-
import { a as emitModule, d as buildModel, t as GENERATED_HEADER } from "./emit-
|
|
8
|
-
import { a as toCatalog, n as managementSource, r as pgSource } from "./source-
|
|
9
|
-
import { s as loadConfig } from "./config-
|
|
10
|
-
import { t as VERSION } from "./version-
|
|
4
|
+
import { a as emitBlockConfig, c as emitClientBlocks, o as emitBlockConfigModule, r as renderFiles, s as emitBlockReads } from "./render-BETiezmy.js";
|
|
5
|
+
import { n as runGen } from "./run-BOVCY-r-.js";
|
|
6
|
+
import { d as loadSnapshot, h as serializeSnapshot, m as parseSnapshot, y as introspect } from "./sql-layout-C8AdA_Eo.js";
|
|
7
|
+
import { a as emitModule, d as buildModel, t as GENERATED_HEADER } from "./emit-B_Lm7_wL.js";
|
|
8
|
+
import { a as toCatalog, n as managementSource, r as pgSource } from "./source-1bNLaVRN.js";
|
|
9
|
+
import { s as loadConfig } from "./config-f3sjxKp2.js";
|
|
10
|
+
import { t as VERSION } from "./version-DfAapHvH.js";
|
|
11
11
|
// src/cli/introspect/from-catalog.ts
|
|
12
12
|
/**
|
|
13
13
|
* Builds a snapshot from catalog records: the inverse of `toCatalog`. Tests and
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { a as findConfig, s as loadConfig } from "./config-
|
|
2
|
-
import { r as contentMapperFiles } from "./content-mapper-
|
|
3
|
-
import { C as withConventions, S as promptConventions, _ as CONVENTION_ARGS, a as writeDesign, b as defaultConventions, c as createUrlParam, d as integrationFiles, f as overwrite, g as templatePlan, h as templateContextFor, i as blocksWiringPath, l as CANCELLED, m as parseIntegrations, o as readPresetInput, p as packagesFor, r as blockConfigImport, s as AUTHZ_NOTE, u as chooseIntegrations, v as CONVENTION_COMPLETIONS, x as hasConventionFlags, y as conventionFlags } from "./add-
|
|
1
|
+
import { a as findConfig, s as loadConfig } from "./config-f3sjxKp2.js";
|
|
2
|
+
import { r as contentMapperFiles } from "./content-mapper-DqVf_Fgs.js";
|
|
3
|
+
import { C as withConventions, S as promptConventions, _ as CONVENTION_ARGS, a as writeDesign, b as defaultConventions, c as createUrlParam, d as integrationFiles, f as overwrite, g as templatePlan, h as templateContextFor, i as blocksWiringPath, l as CANCELLED, m as parseIntegrations, o as readPresetInput, p as packagesFor, r as blockConfigImport, s as AUTHZ_NOTE, u as chooseIntegrations, v as CONVENTION_COMPLETIONS, x as hasConventionFlags, y as conventionFlags } from "./add-CJunmhIu.js";
|
|
4
4
|
import { a as list, m as commandMeta, r as defineCliCommand } from "./command-fqvJ0TdG.js";
|
|
5
5
|
import { n as CliError } from "./errors-B7i-VGxk.js";
|
|
6
6
|
import { c as insideRoot, i as changeLines, n as PLAN_ARGS, r as applyPlan, u as planResult } from "./files-NnXnawki.js";
|
|
7
7
|
import { r as readIfExists } from "./io-CngfGyMA.js";
|
|
8
|
-
import { a as wiringFiles, c as baseFiles, f as needsLib, i as wiringChecklist, m as suggestedIntegrations, n as latestMigrationVersion, o as wiringFor, p as resolveIntegrations, r as configInstances, s as TEMPLATES } from "./migration-safety-
|
|
9
|
-
import { c as enablePgDelta, t as syncModules } from "./sync-
|
|
10
|
-
import { A as suggestedPackage, d as loadSnapshot, h as serializeSnapshot, k as detectWorkspace } from "./sql-layout-
|
|
11
|
-
import { a as toCatalog } from "./source-
|
|
12
|
-
import { c as TYPEGEN_VERSION } from "./cache-
|
|
8
|
+
import { a as wiringFiles, c as baseFiles, f as needsLib, i as wiringChecklist, m as suggestedIntegrations, n as latestMigrationVersion, o as wiringFor, p as resolveIntegrations, r as configInstances, s as TEMPLATES } from "./migration-safety-Dwfz0WVB.js";
|
|
9
|
+
import { c as enablePgDelta, t as syncModules } from "./sync-bBwKCyBW.js";
|
|
10
|
+
import { A as suggestedPackage, d as loadSnapshot, h as serializeSnapshot, k as detectWorkspace } from "./sql-layout-C8AdA_Eo.js";
|
|
11
|
+
import { a as toCatalog } from "./source-1bNLaVRN.js";
|
|
12
|
+
import { c as TYPEGEN_VERSION } from "./cache-CEIUM3JG.js";
|
|
13
13
|
import { n as installCommand, t as detectProject } from "./detect-CHR-SAmE.js";
|
|
14
|
-
import { t as appTablePlan } from "./app-table-files-
|
|
14
|
+
import { t as appTablePlan } from "./app-table-files-BDmrt2qu.js";
|
|
15
15
|
import { i as plain } from "./style-B5-nByxb.js";
|
|
16
16
|
import { existsSync } from "node:fs";
|
|
17
17
|
import { join, posix, resolve } from "node:path";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as errorText } from "./errors-B7i-VGxk.js";
|
|
2
|
-
import "./source-
|
|
3
|
-
import { c as qualified, l as tableObject, r as exposed, t as catalogOf } from "./shared-
|
|
2
|
+
import "./source-1bNLaVRN.js";
|
|
3
|
+
import { c as qualified, l as tableObject, r as exposed, t as catalogOf } from "./shared-BaAJV9R_.js";
|
|
4
4
|
// src/cli/doctor/reserved-roles.ts
|
|
5
5
|
/**
|
|
6
6
|
* Supautils' `reserved_roles` on Supabase. Nobody but a superuser may alter,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { m as commandMeta, r as defineCliCommand } from "./command-fqvJ0TdG.js";
|
|
2
|
-
import { a as errorDocument, i as run } from "./run-
|
|
2
|
+
import { a as errorDocument, i as run } from "./run-Dxc0-5HJ.js";
|
|
3
3
|
import { C as optional, D as record, N as unknown, a as array, d as is, j as string$1, k as safeParse, t as PROCESS_ENV, x as object } from "./env-CQ831uY0.js";
|
|
4
4
|
import { n as consentDigest } from "./agent-BlYLJPzM.js";
|
|
5
5
|
import { n as CliError } from "./errors-B7i-VGxk.js";
|
|
6
|
-
import { t as VERSION } from "./version-
|
|
6
|
+
import { t as VERSION } from "./version-DfAapHvH.js";
|
|
7
7
|
import { createInterface } from "node:readline";
|
|
8
8
|
import { answerLine } from "better-supabase/mcp";
|
|
9
9
|
// src/cli/mcp/server.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as generatorHash } from "./generator-hash-BkdtEywR.js";
|
|
2
|
-
import { t as VERSION } from "./version-
|
|
2
|
+
import { t as VERSION } from "./version-DfAapHvH.js";
|
|
3
3
|
import { n as cacheEnabled, r as cacheRoot } from "./store-DP-nmqBt.js";
|
|
4
4
|
import { mkdirSync, readFileSync, renameSync, writeFileSync } from "node:fs";
|
|
5
5
|
import { dirname, resolve } from "node:path";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { n as CliError, r as errorText } from "./errors-B7i-VGxk.js";
|
|
2
2
|
import { i as readStdin } from "./io-CngfGyMA.js";
|
|
3
|
-
import { i as generationNotices, n as runGen, o as fromMetadata, r as UNFORMATTED, t as refuseRowConditionedBuckets } from "./run-
|
|
4
|
-
import { P as parseMetadataDocument, j as MetadataRejectedError } from "./sql-layout-
|
|
5
|
-
import { c as metaPaths } from "./emit-
|
|
6
|
-
import { n as render } from "./render-
|
|
3
|
+
import { i as generationNotices, n as runGen, o as fromMetadata, r as UNFORMATTED, t as refuseRowConditionedBuckets } from "./run-BOVCY-r-.js";
|
|
4
|
+
import { P as parseMetadataDocument, j as MetadataRejectedError } from "./sql-layout-C8AdA_Eo.js";
|
|
5
|
+
import { c as metaPaths } from "./emit-B_Lm7_wL.js";
|
|
6
|
+
import { n as render } from "./render-BETiezmy.js";
|
|
7
7
|
import { basename, join, relative, resolve, sep } from "node:path";
|
|
8
8
|
import { readFile } from "node:fs/promises";
|
|
9
9
|
import { jsonSchema } from "better-supabase/generators/json-schema";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { m as commandMeta, r as defineCliCommand } from "./command-fqvJ0TdG.js";
|
|
2
2
|
import { n as PLAN_ARGS, r as applyPlan, u as planResult } from "./files-NnXnawki.js";
|
|
3
|
-
import { t as appTablePlan } from "./app-table-files-
|
|
3
|
+
import { t as appTablePlan } from "./app-table-files-BDmrt2qu.js";
|
|
4
4
|
import { i as plain } from "./style-B5-nByxb.js";
|
|
5
5
|
// src/cli/commands/migrate.ts
|
|
6
6
|
const MIGRATE_ARGS = {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { h as INTEGRATIONS } from "./config-
|
|
2
|
-
import { l as schemaModulePath } from "./emit-
|
|
1
|
+
import { h as INTEGRATIONS } from "./config-f3sjxKp2.js";
|
|
2
|
+
import { l as schemaModulePath } from "./emit-B_Lm7_wL.js";
|
|
3
3
|
import { dirname, join, posix } from "node:path";
|
|
4
4
|
import { readdir } from "node:fs/promises";
|
|
5
5
|
import { splitStatements } from "better-supabase/sql";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as changeLines, r as applyPlan } from "./files-NnXnawki.js";
|
|
2
|
-
import { i as migrationsDir, l as sqlPlan } from "./sql-layout-
|
|
2
|
+
import { i as migrationsDir, l as sqlPlan } from "./sql-layout-C8AdA_Eo.js";
|
|
3
3
|
import { d as readSupabaseToml, p as sqlWorkflow } from "./supabase-toml-B6-eEV5p.js";
|
|
4
4
|
import { n as migrationFile, t as hasMigrationSuffix } from "./migration-names-7zAdXfcd.js";
|
|
5
5
|
import { resolve } from "node:path";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { l as stdinDatabaseUrl, n as databaseUrl } from "./config-
|
|
1
|
+
import { l as stdinDatabaseUrl, n as databaseUrl } from "./config-f3sjxKp2.js";
|
|
2
2
|
import { i as isLocalDatabaseUrl, r as databaseHost } from "./agent-BlYLJPzM.js";
|
|
3
3
|
import { m as commandMeta, r as defineCliCommand } from "./command-fqvJ0TdG.js";
|
|
4
4
|
import { n as CliError, r as errorText } from "./errors-B7i-VGxk.js";
|
|
5
5
|
import { t as connect } from "./db-B_xr3ZvK.js";
|
|
6
|
-
import { n as ident } from "./live-
|
|
7
|
-
import { r as STACK_ARG, t as DB_URL_STDIN_ARG } from "./source-args-
|
|
6
|
+
import { n as ident } from "./live-BA_a2Jol.js";
|
|
7
|
+
import { r as STACK_ARG, t as DB_URL_STDIN_ARG } from "./source-args-BJ0HQoMM.js";
|
|
8
8
|
// src/cli/commands/partition.ts
|
|
9
9
|
const DEFAULT_BATCH = 5e4;
|
|
10
10
|
const PROCEDURE = "convert_audit_log_to_partitioned";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as powersyncStreamsCommand } from "./powersync-DrwwjGP-.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { m as commandMeta, r as defineCliCommand } from "./command-fqvJ0TdG.js";
|
|
2
2
|
import { n as PLAN_ARGS, r as applyPlan, u as planResult } from "./files-NnXnawki.js";
|
|
3
3
|
import { t as projectionsOf } from "./projection-DlVB5YL-.js";
|
|
4
|
-
import { c as snapshotColumnTypes, i as migrationsDir, n as appSchemaTexts, s as schemasDirOf } from "./sql-layout-
|
|
4
|
+
import { c as snapshotColumnTypes, i as migrationsDir, n as appSchemaTexts, s as schemasDirOf } from "./sql-layout-C8AdA_Eo.js";
|
|
5
5
|
import { n as migrationFile, t as hasMigrationSuffix } from "./migration-names-7zAdXfcd.js";
|
|
6
|
-
import { r as layoutFor } from "./providers-
|
|
7
|
-
import { n as renderBlocksCached } from "./render-cache-
|
|
8
|
-
import { d as subjectFromTag } from "./config-
|
|
6
|
+
import { r as layoutFor } from "./providers-QbWlzsWD.js";
|
|
7
|
+
import { n as renderBlocksCached } from "./render-cache-BB0JYz8w.js";
|
|
8
|
+
import { d as subjectFromTag } from "./config-f3sjxKp2.js";
|
|
9
9
|
import { existsSync } from "node:fs";
|
|
10
10
|
import { join, resolve } from "node:path";
|
|
11
11
|
import { readFile, readdir } from "node:fs/promises";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as CliError } from "./errors-B7i-VGxk.js";
|
|
2
|
-
import { o as migrationModules, r as latestMigration, u as writesMigrations } from "./module-migration-
|
|
3
|
-
import { n as layout } from "./providers-
|
|
2
|
+
import { o as migrationModules, r as latestMigration, u as writesMigrations } from "./module-migration-DFIsQn_x.js";
|
|
3
|
+
import { n as layout } from "./providers-QbWlzsWD.js";
|
|
4
4
|
import { existsSync } from "node:fs";
|
|
5
5
|
import { resolve } from "node:path";
|
|
6
6
|
import { SQL_MODULES, contractSignature, customContracts, moduleBody, moduleFilePaths } from "better-supabase/sql";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as entitlementsMode, o as moduleKeyProblems, t as accessProviderMode } from "./authorization-CNWhpdKb.js";
|
|
2
2
|
import { n as CliError } from "./errors-B7i-VGxk.js";
|
|
3
3
|
import { t as compiledReadSets } from "./read-sets-77o7SxpK.js";
|
|
4
|
-
import { a as moduleLayoutFor, s as schemasDirOf } from "./sql-layout-
|
|
4
|
+
import { a as moduleLayoutFor, s as schemasDirOf } from "./sql-layout-C8AdA_Eo.js";
|
|
5
5
|
import { moduleLayout, modulePermissionKeys, resolveBlocks } from "better-supabase/sql";
|
|
6
6
|
import { FormerPermissionKeyError } from "better-supabase/config";
|
|
7
7
|
// src/cli/sql/providers.ts
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { l as stdinDatabaseUrl, n as databaseUrl } from "./config-
|
|
1
|
+
import { l as stdinDatabaseUrl, n as databaseUrl } from "./config-f3sjxKp2.js";
|
|
2
2
|
import { i as isLocalDatabaseUrl, r as databaseHost } from "./agent-BlYLJPzM.js";
|
|
3
3
|
import { m as commandMeta, r as defineCliCommand } from "./command-fqvJ0TdG.js";
|
|
4
4
|
import { n as CliError, r as errorText } from "./errors-B7i-VGxk.js";
|
|
5
5
|
import { t as connect } from "./db-B_xr3ZvK.js";
|
|
6
|
-
import { n as ident } from "./live-
|
|
7
|
-
import { r as STACK_ARG, t as DB_URL_STDIN_ARG } from "./source-args-
|
|
6
|
+
import { n as ident } from "./live-BA_a2Jol.js";
|
|
7
|
+
import { r as STACK_ARG, t as DB_URL_STDIN_ARG } from "./source-args-BJ0HQoMM.js";
|
|
8
8
|
// src/cli/commands/prune-workflows.ts
|
|
9
9
|
const TERMINAL = [
|
|
10
10
|
"completed",
|
|
@@ -2,15 +2,15 @@ import { m as commandMeta, r as defineCliCommand } from "./command-fqvJ0TdG.js";
|
|
|
2
2
|
import { n as CliError } from "./errors-B7i-VGxk.js";
|
|
3
3
|
import { i as changeLines, n as PLAN_ARGS, r as applyPlan, t as HAND_EDITED, u as planResult } from "./files-NnXnawki.js";
|
|
4
4
|
import { r as readIfExists, t as display } from "./io-CngfGyMA.js";
|
|
5
|
-
import { h as templateContextFor, i as blocksWiringPath, n as blockClients } from "./add-
|
|
5
|
+
import { h as templateContextFor, i as blocksWiringPath, n as blockClients } from "./add-CJunmhIu.js";
|
|
6
6
|
import { t as detectProject } from "./detect-CHR-SAmE.js";
|
|
7
|
-
import { l as sqlPlan } from "./sql-layout-
|
|
8
|
-
import { _ as tidyInline, c as cutRange, i as addBlocksToJson, l as mask, n as isComposite, o as closingIndex, r as addBlocksToConfig, s as configObject, u as properties, v as wiringBlocks } from "./add-
|
|
7
|
+
import { l as sqlPlan } from "./sql-layout-C8AdA_Eo.js";
|
|
8
|
+
import { _ as tidyInline, c as cutRange, i as addBlocksToJson, l as mask, n as isComposite, o as closingIndex, r as addBlocksToConfig, s as configObject, u as properties, v as wiringBlocks } from "./add-FzNe4YLu.js";
|
|
9
9
|
import { t as SQL_ARGS } from "./args-CS_64_tg.js";
|
|
10
|
-
import { r as layoutFor } from "./providers-
|
|
11
|
-
import { n as guardedRemoval } from "./sync-
|
|
10
|
+
import { r as layoutFor } from "./providers-QbWlzsWD.js";
|
|
11
|
+
import { n as guardedRemoval } from "./sync-bBwKCyBW.js";
|
|
12
12
|
import { i as plain } from "./style-B5-nByxb.js";
|
|
13
|
-
import { t as blockNames } from "./blocks-
|
|
13
|
+
import { t as blockNames } from "./blocks-zt9rwTL_.js";
|
|
14
14
|
import { existsSync } from "node:fs";
|
|
15
15
|
import { resolve } from "node:path";
|
|
16
16
|
import { readFile } from "node:fs/promises";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { n as importPath } from "./io-CngfGyMA.js";
|
|
2
2
|
import { n as cacheEnabled, t as CACHE_DIR } from "./store-DP-nmqBt.js";
|
|
3
3
|
import { n as CliError, r as errorText } from "./errors-B7i-VGxk.js";
|
|
4
|
-
import { o as typesModuleKey, r as cachedTypesModule, s as writeAtomic, t as cachedDatabaseTypes } from "./cache-
|
|
5
|
-
import { t as VERSION } from "./version-
|
|
6
|
-
import { M as generateDatabaseTypes, N as oxfmtInstalled, n as appSchemaTexts, t as appColumnsFor, x as apiTypeSchemas } from "./sql-layout-
|
|
4
|
+
import { o as typesModuleKey, r as cachedTypesModule, s as writeAtomic, t as cachedDatabaseTypes } from "./cache-CEIUM3JG.js";
|
|
5
|
+
import { t as VERSION } from "./version-DfAapHvH.js";
|
|
6
|
+
import { M as generateDatabaseTypes, N as oxfmtInstalled, n as appSchemaTexts, t as appColumnsFor, x as apiTypeSchemas } from "./sql-layout-C8AdA_Eo.js";
|
|
7
7
|
import { t as isRecord$1 } from "./guards-DxwRG0Uv.js";
|
|
8
|
-
import { _ as prop, a as emitModule, b as singular, c as metaPaths, d as buildModel$1, f as generatorModel, g as pascal$2, h as identifier, i as emitMeta, l as schemaModulePath, n as emitFunctions, o as emitRuntime, r as emitFunctionsTypes, s as emitSchemaModule, t as GENERATED_HEADER, u as valueLists, v as q, x as applyCasing, y as runtimeSubpath } from "./emit-
|
|
8
|
+
import { _ as prop, a as emitModule, b as singular, c as metaPaths, d as buildModel$1, f as generatorModel, g as pascal$2, h as identifier, i as emitMeta, l as schemaModulePath, n as emitFunctions, o as emitRuntime, r as emitFunctionsTypes, s as emitSchemaModule, t as GENERATED_HEADER, u as valueLists, v as q, x as applyCasing, y as runtimeSubpath } from "./emit-B_Lm7_wL.js";
|
|
9
9
|
import { t as byCodePoint } from "./compare-yl4sSwVn.js";
|
|
10
10
|
import { t as projectionsOf } from "./projection-DlVB5YL-.js";
|
|
11
|
-
import { u as withTableTags } from "./config-
|
|
11
|
+
import { u as withTableTags } from "./config-f3sjxKp2.js";
|
|
12
12
|
import { basename, dirname, isAbsolute, join, posix, relative, resolve } from "node:path";
|
|
13
13
|
import { readFile } from "node:fs/promises";
|
|
14
14
|
import { createHash } from "node:crypto";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as CACHE_DIR } from "./store-DP-nmqBt.js";
|
|
2
|
-
import { t as VERSION } from "./version-
|
|
2
|
+
import { t as VERSION } from "./version-DfAapHvH.js";
|
|
3
3
|
import { t as generatorHash } from "./generator-hash-BkdtEywR.js";
|
|
4
4
|
import { dirname, resolve } from "node:path";
|
|
5
5
|
import { mkdir, readFile, rename, rm, writeFile } from "node:fs/promises";
|