better-supabase 0.61.1 → 0.62.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{account-parts-DtC5voD1.d.ts → account-parts-C3mte2Y7.d.ts} +1 -1
- package/dist/{adapter-base-DGiRWzEo.js → adapter-base-DXF0tNJJ.js} +1 -1
- package/dist/{agents-3wTmHYZr.d.ts → agents-CRTcqx6K.d.ts} +2 -2
- package/dist/{ai-schedules-CtxaSWA1.d.ts → ai-schedules-DdoefSrp.d.ts} +1 -1
- package/dist/ai-sdk/agents/index.d.ts +1 -1
- package/dist/ai-sdk/workflow/index.d.ts +1 -1
- package/dist/{api-Dq7hOzxh.js → api-C5GmF1ZU.js} +1 -1
- package/dist/{api-pGkHTqH6.d.ts → api-D4gZPhMd.d.ts} +1 -1
- package/dist/{app-tables-BHoeMC9w.d.ts → app-tables-C0w_j1sJ.d.ts} +1 -1
- package/dist/astro/index.d.ts +3 -3
- package/dist/astro/index.js +3 -3
- package/dist/{audit-actions-DC-AtyWB.d.ts → audit-actions-be1sy-Vh.d.ts} +1 -0
- package/dist/{authorization-glyinWcf.d.ts → authorization-DKxttkik.d.ts} +1 -1
- package/dist/better-result/index.d.ts +2 -2
- package/dist/{bind-B-NW7-Fd.d.ts → bind-DiQyvXnj.d.ts} +4 -4
- package/dist/{block-env-BN4cyqTj.d.ts → block-env-aG5V88tR.d.ts} +4 -4
- package/dist/{block-tables-CkbJsNys.d.ts → block-tables-lpnW9xMs.d.ts} +1 -1
- package/dist/blocks/access-requests/index.d.ts +1 -1
- package/dist/blocks/accounting/index.d.ts +1 -1
- package/dist/blocks/acknowledgements/index.d.ts +1 -1
- package/dist/blocks/activities/index.d.ts +2 -2
- package/dist/blocks/advisories/index.d.ts +1 -1
- package/dist/blocks/agent-checkout/index.d.ts +1 -1
- package/dist/blocks/agents/index.d.ts +1 -1
- package/dist/blocks/ai-cache/index.d.ts +1 -1
- package/dist/blocks/ai-chat/index.d.ts +1 -1
- package/dist/blocks/ai-evals/index.d.ts +1 -1
- package/dist/blocks/ai-files/index.d.ts +1 -1
- package/dist/blocks/ai-guardrails/index.d.ts +1 -1
- package/dist/blocks/ai-keys/index.d.ts +1 -1
- package/dist/blocks/ai-schedules/index.d.ts +2 -2
- package/dist/blocks/announcements/index.d.ts +4 -4
- package/dist/blocks/api-keys/index.d.ts +1 -1
- package/dist/blocks/appraisals/index.d.ts +1 -1
- package/dist/blocks/approvals/index.d.ts +1 -1
- package/dist/blocks/assets/index.d.ts +2 -2
- package/dist/blocks/assignment/index.d.ts +1 -1
- package/dist/blocks/attachments/index.d.ts +5 -5
- package/dist/blocks/audit/index.d.ts +2 -2
- package/dist/blocks/automations/index.d.ts +3 -3
- package/dist/blocks/banking/index.d.ts +1 -1
- package/dist/blocks/billable-time/index.d.ts +1 -1
- package/dist/blocks/billing/index.d.ts +3 -3
- package/dist/blocks/bookings/index.d.ts +2 -2
- package/dist/blocks/bulk-actions/index.d.ts +2 -2
- package/dist/blocks/calendar/index.d.ts +3 -3
- package/dist/blocks/care/index.d.ts +27 -27
- package/dist/blocks/care-plans/index.d.ts +3 -3
- package/dist/blocks/cases/index.d.ts +3 -3
- package/dist/blocks/catalog/index.d.ts +2 -2
- package/dist/blocks/channels/index.d.ts +1 -1
- package/dist/blocks/clinical-decision-support/index.d.ts +1 -1
- package/dist/blocks/cms/index.d.ts +5 -5
- package/dist/blocks/collaboration/index.d.ts +6 -6
- package/dist/blocks/collections/index.d.ts +1 -1
- package/dist/blocks/comments/index.d.ts +2 -2
- package/dist/blocks/commerce/index.d.ts +5 -5
- package/dist/blocks/commissions/index.d.ts +1 -1
- package/dist/blocks/compliance/index.d.ts +1 -1
- package/dist/blocks/connectors/index.d.ts +1 -1
- package/dist/blocks/consents/index.d.ts +2 -2
- package/dist/blocks/contacts/index.d.ts +2 -2
- package/dist/blocks/content/index.d.ts +2 -2
- package/dist/blocks/contracts/index.d.ts +1 -1
- package/dist/blocks/courses/index.d.ts +2 -2
- package/dist/blocks/created-by/index.d.ts +2 -2
- package/dist/blocks/crm/index.d.ts +17 -17
- package/dist/blocks/custom-fields/index.d.ts +1 -1
- package/dist/blocks/dam/index.d.ts +2 -2
- package/dist/blocks/data-lifecycle/index.d.ts +2 -2
- package/dist/blocks/deadlines/index.d.ts +1 -1
- package/dist/blocks/deals/index.d.ts +1 -1
- package/dist/blocks/dispatch/index.d.ts +2 -2
- package/dist/blocks/document-templates/index.d.ts +2 -2
- package/dist/blocks/documents/index.d.ts +1 -1
- package/dist/blocks/domains/index.d.ts +1 -1
- package/dist/blocks/donations/index.d.ts +1 -1
- package/dist/blocks/drive/index.d.ts +5 -5
- package/dist/blocks/e-prescribing/index.d.ts +1 -1
- package/dist/blocks/employees/index.d.ts +1 -1
- package/dist/blocks/enrichment/index.d.ts +1 -1
- package/dist/blocks/enrollments/index.d.ts +2 -2
- package/dist/blocks/entitlements/index.d.ts +3 -3
- package/dist/blocks/events/index.d.ts +3 -3
- package/dist/blocks/expenses/index.d.ts +1 -1
- package/dist/blocks/field-history/index.d.ts +1 -1
- package/dist/blocks/filespace/index.d.ts +8 -8
- package/dist/blocks/finance/index.d.ts +5 -5
- package/dist/blocks/flags/index.d.ts +1 -1
- package/dist/blocks/forecasts/index.d.ts +1 -1
- package/dist/blocks/forms/index.d.ts +3 -3
- package/dist/blocks/funding/index.d.ts +2 -2
- package/dist/blocks/goals/index.d.ts +1 -1
- package/dist/blocks/governance/index.d.ts +4 -4
- package/dist/blocks/guests/index.d.ts +1 -1
- package/dist/blocks/hiring/index.d.ts +1 -1
- package/dist/blocks/identities/index.d.ts +1 -1
- package/dist/blocks/imports/index.d.ts +2 -2
- package/dist/blocks/inbox/index.d.ts +6 -6
- package/dist/blocks/incidents/index.d.ts +1 -1
- package/dist/blocks/index.d.ts +5 -5
- package/dist/blocks/inspections/index.d.ts +2 -2
- package/dist/blocks/inventory/index.d.ts +1 -1
- package/dist/blocks/invoices/index.d.ts +1 -1
- package/dist/blocks/knowledge/index.d.ts +1 -1
- package/dist/blocks/lead-scoring/index.d.ts +2 -2
- package/dist/blocks/learning/index.d.ts +3 -3
- package/dist/blocks/leases/index.d.ts +1 -1
- package/dist/blocks/leave/index.d.ts +1 -1
- package/dist/blocks/ledger/index.d.ts +1 -1
- package/dist/blocks/legal-entities/index.d.ts +2 -2
- package/dist/blocks/lims/index.d.ts +2 -2
- package/dist/blocks/mail-sync/index.d.ts +3 -3
- package/dist/blocks/maintenance/index.d.ts +2 -2
- package/dist/blocks/manufacturing/index.d.ts +2 -2
- package/dist/blocks/medications/index.d.ts +1 -1
- package/dist/blocks/meetings/index.d.ts +3 -3
- package/dist/blocks/memberships/index.d.ts +2 -2
- package/dist/blocks/memory/index.d.ts +1 -1
- package/dist/blocks/messaging/index.d.ts +5 -5
- package/dist/blocks/metrics/index.d.ts +1 -1
- package/dist/blocks/mfa/index.d.ts +2 -2
- package/dist/blocks/moderation/index.d.ts +2 -2
- package/dist/blocks/notifications/index.d.ts +5 -5
- package/dist/blocks/numbering/index.d.ts +1 -1
- package/dist/blocks/oauth-server/index.d.ts +1 -1
- package/dist/blocks/observations/index.d.ts +2 -2
- package/dist/blocks/onboarding/index.d.ts +2 -2
- package/dist/blocks/option-sets/index.d.ts +2 -2
- package/dist/blocks/orders/index.d.ts +1 -1
- package/dist/blocks/organizations/index.d.ts +2 -2
- package/dist/blocks/outbox/index.d.ts +1 -1
- package/dist/blocks/passes/index.d.ts +2 -2
- package/dist/blocks/payroll-export/index.d.ts +2 -2
- package/dist/blocks/people/index.d.ts +7 -7
- package/dist/blocks/periods/index.d.ts +1 -1
- package/dist/blocks/permissions/index.d.ts +3 -3
- package/dist/blocks/pipelines/index.d.ts +2 -2
- package/dist/blocks/posts/index.d.ts +2 -2
- package/dist/blocks/procurement/index.d.ts +5 -5
- package/dist/blocks/profiles/index.d.ts +1 -1
- package/dist/blocks/projects/index.d.ts +7 -7
- package/dist/blocks/promotions/index.d.ts +1 -1
- package/dist/blocks/prompts/index.d.ts +1 -1
- package/dist/blocks/push/index.d.ts +2 -2
- package/dist/blocks/qualifications/index.d.ts +2 -2
- package/dist/blocks/queue/index.d.ts +2 -2
- package/dist/blocks/quotes/index.d.ts +1 -1
- package/dist/blocks/rank/index.d.ts +1 -1
- package/dist/blocks/reactions/index.d.ts +4 -4
- package/dist/blocks/recruiting/index.d.ts +4 -4
- package/dist/blocks/referrals/index.d.ts +1 -1
- package/dist/blocks/relations/index.d.ts +1 -1
- package/dist/blocks/reminders/index.d.ts +1 -1
- package/dist/blocks/reviews/index.d.ts +1 -1
- package/dist/blocks/rfqs/index.d.ts +2 -2
- package/dist/blocks/risks/index.d.ts +2 -2
- package/dist/blocks/saas/index.d.ts +12 -12
- package/dist/blocks/sales/index.d.ts +1 -1
- package/dist/blocks/saved-views/index.d.ts +3 -3
- package/dist/blocks/scheduling/index.d.ts +4 -4
- package/dist/blocks/scores/index.d.ts +2 -2
- package/dist/blocks/search/index.d.ts +3 -3
- package/dist/blocks/security-events/index.d.ts +1 -1
- package/dist/blocks/segments/index.d.ts +2 -2
- package/dist/blocks/sequences/index.d.ts +3 -3
- package/dist/blocks/service/index.d.ts +7 -7
- package/dist/blocks/service-accounts/index.d.ts +1 -1
- package/dist/blocks/sessions/index.d.ts +2 -2
- package/dist/blocks/settings/index.d.ts +2 -2
- package/dist/blocks/share-links/index.d.ts +1 -1
- package/dist/blocks/shifts/index.d.ts +2 -2
- package/dist/blocks/shipments/index.d.ts +1 -1
- package/dist/blocks/signatures/index.d.ts +2 -2
- package/dist/blocks/signing-keys/index.d.ts +1 -1
- package/dist/blocks/sla/index.d.ts +1 -1
- package/dist/blocks/sso/index.d.ts +1 -1
- package/dist/blocks/state-machine/index.d.ts +1 -1
- package/dist/blocks/subjects/index.d.ts +2 -2
- package/dist/blocks/support/index.d.ts +5 -5
- package/dist/blocks/tags/index.d.ts +2 -2
- package/dist/blocks/tasks/index.d.ts +2 -2
- package/dist/blocks/tax/index.d.ts +2 -2
- package/dist/blocks/teams/index.d.ts +1 -1
- package/dist/blocks/templates/index.d.ts +1 -1
- package/dist/blocks/tills/index.d.ts +1 -1
- package/dist/blocks/time-entries/index.d.ts +2 -2
- package/dist/blocks/timeline/index.d.ts +1 -1
- package/dist/blocks/trash/index.d.ts +1 -1
- package/dist/blocks/undo/index.d.ts +2 -2
- package/dist/blocks/updated-at/index.d.ts +2 -2
- package/dist/blocks/usage/index.d.ts +2 -2
- package/dist/blocks/vercel-marketplace/index.d.ts +1 -1
- package/dist/blocks/versions/index.d.ts +1 -1
- package/dist/blocks/waitlist/index.d.ts +1 -1
- package/dist/blocks/warehouse/index.d.ts +1 -1
- package/dist/blocks/warranty/index.d.ts +1 -1
- package/dist/blocks/webhooks/index.d.ts +3 -3
- package/dist/blocks/webhooks/index.js +5 -2
- package/dist/blocks/workflow-editor/index.d.ts +4 -4
- package/dist/blocks/workflows/index.d.ts +4 -4
- package/dist/{blocks-D4ngpPJ_.d.ts → blocks-BaVwMDrs.d.ts} +8 -2
- package/dist/{build-Ds53XOWu.js → build-C0BLapAI.js} +1 -1
- package/dist/{cache-tags-UWvxDMDO.d.ts → cache-tags-THgO4say.d.ts} +1 -1
- package/dist/claims/index.d.ts +4 -4
- package/dist/{claims-source-D-4CztOl.d.ts → claims-source-yTqGqUDc.d.ts} +1 -1
- package/dist/cli/add-8PulB0kB.js +1 -0
- package/dist/cli/{add-BufF64Hx.js → add-DH4qqKNb.js} +11 -11
- package/dist/cli/{add-BegIE-Rb.js → add-DLYO-lcP.js} +2 -2
- package/dist/cli/{app-table-files-RdOXXDCt.js → app-table-files--ulI7C3Z.js} +4 -4
- package/dist/cli/{app-tables-CK-U5_ZN.js → app-tables-CQVNZglP.js} +2 -2
- package/dist/cli/{backfill-CT6yncRM.js → backfill-Byn-Pe2a.js} +3 -3
- package/dist/cli/bin.js +1 -1
- package/dist/cli/{blocks-CVadF4-D.js → blocks-BATYI3l9.js} +1 -1
- package/dist/cli/{blocks-Q7wC6dj7.js → blocks-D7DYKEOZ.js} +1 -1
- package/dist/cli/{cache-BKwYvrrJ.js → cache-D6iHVy6b.js} +1 -1
- package/dist/cli/{codemod-BzEKQMSK.js → codemod-PLqZ1YGz.js} +5 -5
- package/dist/cli/{codemod-naming-BpWNTsvf.js → codemod-naming-BgEIRJLM.js} +1 -1
- package/dist/cli/{column-renames-7IG0Gcf3.js → column-renames-B1bMtdIF.js} +2 -2
- package/dist/cli/{config-DX58lDf7.js → config-By5EbpdJ.js} +1 -1
- package/dist/cli/{config-CoW6aoul.js → config-D4AVoIh5.js} +1 -1
- package/dist/cli/{content-mapper-BUWZw8Yr.js → content-mapper-BGus1ryq.js} +1 -1
- package/dist/cli/{db-CZ9qHsDs.js → db-C4up7wFU.js} +2 -2
- package/dist/cli/{dev-BRQUcr0M.js → dev-Bd6RJwLg.js} +5 -5
- package/dist/cli/{doctor-auNf55mF.js → doctor-DW_QzhsK.js} +18 -18
- package/dist/cli/{emit-CxD5qNz7.js → emit-DGhalWTA.js} +2 -2
- package/dist/cli/{gen-B8K-GHgH.js → gen-BjMSXpcG.js} +5 -5
- package/dist/cli/{gen-tasks-oTH8W-xH.js → gen-tasks-D3kLr5we.js} +11 -11
- package/dist/cli/index.d.ts +1 -1
- package/dist/cli/index.js +8 -8
- package/dist/cli/{init-lNqq_JHu.js → init-DeGm-42D.js} +9 -9
- package/dist/cli/{live-Dbt0gFSL.js → live-CJ3gBXTW.js} +2 -2
- package/dist/cli/{mcp-Bs3746MS.js → mcp-C7bG8fs9.js} +2 -2
- package/dist/cli/{memo-backend-BAduTvxg.js → memo-backend-BbAaoaCp.js} +1 -1
- package/dist/cli/{metadata-IpEhOh60.js → metadata-Da7lPV1G.js} +4 -4
- package/dist/cli/{migrate-CaEzxtNU.js → migrate-adO6TGQx.js} +1 -1
- package/dist/cli/{migration-safety-B473uP9G.js → migration-safety-TjFxbPdK.js} +2 -2
- package/dist/cli/{module-migration-BMmyFP2c.js → module-migration-BOwCFfuw.js} +1 -1
- package/dist/cli/{partition-C9ta6Kld.js → partition-Bi76oVvt.js} +3 -3
- package/dist/cli/{powersync-DNUSeMtj.js → powersync-01LIe9WO.js} +4 -4
- package/dist/cli/powersync-BIncCNre.js +1 -0
- package/dist/cli/{print-84kAnn1u.js → print-CoDV1AZr.js} +2 -2
- package/dist/cli/{providers-BgyVs06M.js → providers-B3VKJOGS.js} +1 -1
- package/dist/cli/{prune-workflows-D96eYjdj.js → prune-workflows-Ck7bPjbs.js} +3 -3
- package/dist/cli/{remove-Y62Mu1VK.js → remove-B0mcKNLX.js} +6 -6
- package/dist/cli/{render-cache-CHTWh5Rl.js → render-cache-Dkkervpu.js} +1 -1
- package/dist/cli/{render-Div4K_TT.js → render-g0u-8VRx.js} +5 -5
- package/dist/cli/{run-BkbVZBeG.js → run-DKHipy0c.js} +7 -7
- package/dist/cli/{run-Dx-CrkU_.js → run-DcjkMeLQ.js} +35 -35
- package/dist/cli/seed-B3MrC1Qe.js +1 -0
- package/dist/cli/{seed-pDWlnzyK.js → seed-BufZFJ_Q.js} +2 -2
- package/dist/cli/{shared-B0zV1qW9.js → shared-BL_SZdUw.js} +1 -1
- package/dist/cli/{source-So9SSLFc.js → source-BBn7ypvg.js} +1 -1
- package/dist/cli/{source-args-D5BSEgUG.js → source-args-CvgOHwlj.js} +1 -1
- package/dist/cli/{spec-BA3jaJaL.js → spec-COv0ojkG.js} +2 -2
- package/dist/cli/{spec-BiLpXtjI.js → spec-DH55djVx.js} +1 -1
- package/dist/cli/{sql-layout-BH9MeAY3.js → sql-layout-ClqJfxAp.js} +3 -3
- package/dist/cli/{squash-CZJcKsks.js → squash-Cit4Liiw.js} +1 -1
- package/dist/cli/{sync-Csq5olpt.js → sync-Ba5EvTIT.js} +4 -4
- package/dist/cli/{upgrade-MfDU8Z5K.js → upgrade-BIuxR2Z-.js} +5 -5
- package/dist/cli/{upgrade-DBE7LYrq.js → upgrade-DI4ZTrXV.js} +5 -5
- package/dist/cli/{verify-O5zxWWuE.js → verify-CR7f21Ri.js} +2 -2
- package/dist/cli/{version-ljacjTnk.js → version-D_miCSxz.js} +1 -1
- package/dist/client/index.d.ts +5 -5
- package/dist/client/index.js +1 -1
- package/dist/client/native/index.d.ts +5 -5
- package/dist/client/native/index.js +2 -2
- package/dist/{composite-CxojRRUF.d.ts → composite-BInEW9vs.d.ts} +3 -3
- package/dist/{composite-Bxpd7oru.js → composite-C13UCNgm.js} +1 -1
- package/dist/{composite-reads-CK-Y5b6M.d.ts → composite-reads-C942bzhw.d.ts} +1 -1
- package/dist/config/index.d.ts +4 -4
- package/dist/config/index.js +4 -4
- package/dist/{config-cisS43w5.js → config-1kAVpZc_.js} +3 -3
- package/dist/{config-a_CzEbpi.js → config-L5_4kg24.js} +1 -1
- package/dist/{context-m-t6Kr9_.d.ts → context-C-msUG_m.d.ts} +4 -4
- package/dist/contract/index.d.ts +4 -4
- package/dist/{controller-zwQFyrOG.d.ts → controller-DMoPjq2t.d.ts} +1 -1
- package/dist/{conversion-b6htac73.d.ts → conversion-Cckh_HHY.d.ts} +1 -1
- package/dist/create/index.d.ts +4 -4
- package/dist/create/index.js +3 -3
- package/dist/create/lite/index.d.ts +3 -3
- package/dist/create/lite/index.js +4 -4
- package/dist/{db-blocks-_jJICfjp.d.ts → db-blocks-BQkHb77X.d.ts} +3 -3
- package/dist/{define-block-DQvTGOGv.d.ts → define-block-ClbL68WH.d.ts} +2 -2
- package/dist/{define-runtime-DsFTahQB.js → define-runtime-BbNPkt-5.js} +17 -1
- package/dist/{define-runtime-full-B_cMkyCk.js → define-runtime-full-gpz09qAj.js} +16 -3
- package/dist/{delete-account-BQDeafVT.d.ts → delete-account-DKGAVT94.d.ts} +1 -1
- package/dist/{drive-DaEK5ZxU.d.ts → drive-DXU2QoV_.d.ts} +1 -1
- package/dist/edge/index.d.ts +5 -5
- package/dist/edge/index.js +4 -4
- package/dist/{entitlements-D4ob6MfK.d.ts → entitlements-DKNLoLw3.d.ts} +2 -2
- package/dist/{executor-D24_D6dr.js → executor-DABWqMfV.js} +1 -1
- package/dist/{executor-nx2Q8Xdy.d.ts → executor-h098g0vY.d.ts} +2 -2
- package/dist/expo/index.d.ts +2 -2
- package/dist/expo/index.js +3 -3
- package/dist/{extract-W4zb3wIh.d.ts → extract-CzjhSs6g.d.ts} +1 -1
- package/dist/{extras-ByEPERCR.d.ts → extras-Ctnag4x3.d.ts} +1 -1
- package/dist/{field-errors-pj0uOXSg.d.ts → field-errors-D0vkq05i.d.ts} +6 -6
- package/dist/{former-permission-keys-D8FbWktT.js → former-permission-keys-FPrqQHXf.js} +1 -1
- package/dist/{framework-pfJvMQy3.js → framework-BQgHM3zD.js} +1 -1
- package/dist/{framework-BYx1ke3r.d.ts → framework-CEMVz7JS.d.ts} +3 -3
- package/dist/generators/factories/index.d.ts +1 -1
- package/dist/generators/factories/index.js +1 -1
- package/dist/generators/index.d.ts +2 -2
- package/dist/generators/json-schema/index.d.ts +2 -2
- package/dist/generators/json-schema/index.js +1 -1
- package/dist/generators/nuqs/index.d.ts +1 -1
- package/dist/generators/nuqs/index.js +1 -1
- package/dist/generators/standard-schema/index.d.ts +1 -1
- package/dist/generators/standard-schema/index.js +1 -1
- package/dist/generators/valibot/index.d.ts +1 -1
- package/dist/generators/valibot/index.js +1 -1
- package/dist/generators/zod/index.d.ts +1 -1
- package/dist/generators/zod/index.js +1 -1
- package/dist/hono/index.d.ts +4 -4
- package/dist/hono/index.js +3 -3
- package/dist/{index-ByCXNZ2j.d.ts → index-6L3fO1VW.d.ts} +2 -2
- package/dist/{index-IrsC8TLH.d.ts → index-B9kqCDKK.d.ts} +2 -2
- package/dist/{index-DYh76mE_.d.ts → index-BG1eY1KO.d.ts} +1 -1
- package/dist/{index-ClqA-t45.d.ts → index-BIk7uOsB.d.ts} +1 -1
- package/dist/{index-SWDnWdWw.d.ts → index-BNbcydCQ.d.ts} +1 -1
- package/dist/{index-DsNwQRWG.d.ts → index-BO4gZI8-.d.ts} +1 -1
- package/dist/{index-CQGi7Jnn.d.ts → index-BTgHDNoK.d.ts} +2 -2
- package/dist/{index-CxZV8RJE.d.ts → index-BoidURQg.d.ts} +1 -1
- package/dist/{index-BYDpdZxq.d.ts → index-BwbFX9kz.d.ts} +1 -1
- package/dist/{index-SZ8qGIVO.d.ts → index-Bz-T_58c.d.ts} +9 -9
- package/dist/{index-DpoUltRu.d.ts → index-C-vdLX8y.d.ts} +1 -1
- package/dist/{index-BpQxfGSO.d.ts → index-C0rHOTr-.d.ts} +1 -1
- package/dist/{index-BVuN7_fC.d.ts → index-C1rKo4z7.d.ts} +1 -1
- package/dist/{index-DyV6z0Q_.d.ts → index-C7AEdCOx.d.ts} +1 -1
- package/dist/{index-BfnBjZpy.d.ts → index-CN9tlkaZ.d.ts} +3 -3
- package/dist/{index-WoE9Z_V-.d.ts → index-CO_JEQpa.d.ts} +1 -1
- package/dist/{index-CjoB5SrD.d.ts → index-CaBdEfvB.d.ts} +3 -3
- package/dist/{index-C37Wq488.d.ts → index-CfYIKxmO.d.ts} +1 -1
- package/dist/{index-CxX_Bgfa.d.ts → index-Cy-294dJ.d.ts} +1 -1
- package/dist/{index-46tesKqa.d.ts → index-DHwwaa5c.d.ts} +1 -1
- package/dist/{index-BomyYKtC.d.ts → index-DLPEBVA3.d.ts} +4 -4
- package/dist/{index-D_0l5hHh.d.ts → index-DMaROBj_.d.ts} +2 -2
- package/dist/{index-Dea13gIz.d.ts → index-DPHg8c59.d.ts} +4 -4
- package/dist/{index-Dyhkn8FU.d.ts → index-DTBxclC4.d.ts} +2 -2
- package/dist/{index-DCqy0ESb.d.ts → index-DeJHUkru.d.ts} +2 -2
- package/dist/{index-CDX9U_CH.d.ts → index-DewyE3_q.d.ts} +1 -1
- package/dist/{index-DlUd0CTA.d.ts → index-DwC5RgXo.d.ts} +7 -7
- package/dist/{index-DeI4h1N1.d.ts → index-FfVEwPC7.d.ts} +1 -1
- package/dist/{index-DW_S9n3h.d.ts → index-JCe4Kgvs.d.ts} +2 -2
- package/dist/{index-r_SO6mVm.d.ts → index-L9nFXemf.d.ts} +3 -3
- package/dist/{index-CWTWbIz_.d.ts → index-M6PP_nv1.d.ts} +1 -1
- package/dist/{index-CriIH7di.d.ts → index-OPLT30am.d.ts} +4 -4
- package/dist/{index-Bu4YwWl0.d.ts → index-bDmQ69hy.d.ts} +1 -1
- package/dist/{index-Crm9IjfQ.d.ts → index-b_QoL2Xl.d.ts} +1 -1
- package/dist/{index-BZCCv04g.d.ts → index-k-3GAYGO.d.ts} +2 -2
- package/dist/{index-BLPzvJ5v.d.ts → index-tHzSmAVM.d.ts} +4 -4
- package/dist/{index-Bb_il0ub.d.ts → index-xNtO4Cbv.d.ts} +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/{instances-07Lopbd1.js → instances-PZAWgQEX.js} +2 -1
- package/dist/{json-schema-CChz-Csz.js → json-schema-C8deWP59.js} +1 -1
- package/dist/list/export/index.d.ts +1 -1
- package/dist/list/index.d.ts +1 -1
- package/dist/list/order/index.d.ts +2 -2
- package/dist/{list-query-B6lXbY0T.d.ts → list-query-0IoIyFnQ.d.ts} +1 -1
- package/dist/{manifest-NkuGL5p2.d.ts → manifest-8h7Bi6Pu.d.ts} +1 -1
- package/dist/{manifest-CS8I2fku.d.ts → manifest-B5Tf88Uq.d.ts} +1 -1
- package/dist/{manifest-Cv7Mji7w.d.ts → manifest-BAoLDoxK.d.ts} +1 -1
- package/dist/{manifest-Bf6Rzatq.d.ts → manifest-BF-mU2bV.d.ts} +1 -1
- package/dist/{manifest-DucB6ix_.d.ts → manifest-BG1VIYZT.d.ts} +1 -1
- package/dist/{manifest-Dg2BCyzg.d.ts → manifest-BHMX17A8.d.ts} +1 -1
- package/dist/{manifest-x_fSttX7.d.ts → manifest-BLOaDsUW.d.ts} +1 -1
- package/dist/{manifest-D48Fi0bR.d.ts → manifest-BO1W_e-B.d.ts} +1 -1
- package/dist/{manifest-tP62uJrR.d.ts → manifest-BPriFiTU.d.ts} +1 -1
- package/dist/{manifest-CtL5JmoY.d.ts → manifest-BTdv7qf4.d.ts} +1 -1
- package/dist/{manifest-DwBFwxFo.d.ts → manifest-BTw7TOwu.d.ts} +1 -1
- package/dist/{manifest-NuYSYeQT.d.ts → manifest-BZNn8jSV.d.ts} +1 -1
- package/dist/{manifest-CYO44YUb.d.ts → manifest-Bk8cjM0l.d.ts} +1 -1
- package/dist/{manifest-ubm80xCr.d.ts → manifest-BrGySkFX.d.ts} +1 -1
- package/dist/{manifest-4S1YGIS3.d.ts → manifest-BzO-6IJr.d.ts} +1 -1
- package/dist/{manifest-BKiaRgiZ.d.ts → manifest-C0Wdg3J2.d.ts} +1 -1
- package/dist/{manifest-DftU8SXo.d.ts → manifest-C2PHEJ5z.d.ts} +1 -1
- package/dist/{manifest-Ccc0ZZup.d.ts → manifest-C2rmE8qa.d.ts} +1 -1
- package/dist/{manifest-CMn61uKN.d.ts → manifest-C5l5bb08.d.ts} +1 -1
- package/dist/{manifest-DOtSiMt5.d.ts → manifest-C6ITivwS.d.ts} +1 -1
- package/dist/{manifest-DsINyvTh.d.ts → manifest-C71ANbeV.d.ts} +1 -1
- package/dist/{manifest-BxvFH1G_.d.ts → manifest-CAnCtcFS.d.ts} +2 -2
- package/dist/{manifest-_zu02ImE.d.ts → manifest-CBlNPtFA.d.ts} +1 -1
- package/dist/{manifest-2sJavyD8.d.ts → manifest-CEXnXtGH.d.ts} +1 -1
- package/dist/{manifest-FVkgBS-K.d.ts → manifest-CFH-eOXg.d.ts} +1 -1
- package/dist/{manifest-BRvnB8C0.d.ts → manifest-CFsi-Ht5.d.ts} +1 -1
- package/dist/{manifest-BaIG9QRj.d.ts → manifest-CJvaMP9x.d.ts} +1 -1
- package/dist/{manifest-C95ET4CL.d.ts → manifest-CK3rwqU_.d.ts} +1 -1
- package/dist/{manifest-Dim5U8TQ.d.ts → manifest-CLdp5_oL.d.ts} +1 -1
- package/dist/{manifest-N5wuAzq4.d.ts → manifest-CY_k3qjM.d.ts} +3 -3
- package/dist/{manifest-eaGk_4rq.d.ts → manifest-Cg8WeAdC.d.ts} +1 -1
- package/dist/{manifest-BzXqieUD.d.ts → manifest-ChaCvq6y.d.ts} +1 -1
- package/dist/{manifest-BpgNJhYN.d.ts → manifest-CiMGJyOC.d.ts} +1 -1
- package/dist/{manifest-cJ3rQXtl.d.ts → manifest-CpqWpt8p.d.ts} +4 -4
- package/dist/{manifest-Dp9ZtoFo.d.ts → manifest-Cqt64tuH.d.ts} +1 -1
- package/dist/{manifest-C2hpeEBF.d.ts → manifest-CrVJZ86G.d.ts} +1 -1
- package/dist/{manifest-xlpYSpLJ.d.ts → manifest-CsJCoSyK.d.ts} +1 -1
- package/dist/{manifest-CXdJUJjX.d.ts → manifest-D-kHfhG5.d.ts} +1 -1
- package/dist/{manifest-5i2UwyQr.d.ts → manifest-D17W6_c7.d.ts} +1 -1
- package/dist/{manifest-DZyxhWcb.d.ts → manifest-D1w2lSll.d.ts} +1 -1
- package/dist/{manifest-wXk0ZLhO.d.ts → manifest-D5TAMdzY.d.ts} +1 -1
- package/dist/{manifest-BEQWkGmf.d.ts → manifest-DJIIa2Em.d.ts} +1 -1
- package/dist/{manifest-Bj8bumDU.d.ts → manifest-DJuZGlHR.d.ts} +1 -1
- package/dist/{manifest-YtnGn7F9.d.ts → manifest-DLHnAPNS.d.ts} +1 -1
- package/dist/{manifest-BZPruG-S.d.ts → manifest-DNx5sz8h.d.ts} +1 -1
- package/dist/{manifest-TG95ksdH.d.ts → manifest-DSA0yeuM.d.ts} +1 -1
- package/dist/{manifest-dOFbx7Iv.d.ts → manifest-DSvRcUhd.d.ts} +1 -1
- package/dist/{manifest-Cl2U3bic.d.ts → manifest-DZwGgT_z.d.ts} +1 -1
- package/dist/{manifest-CA5EhKZ9.d.ts → manifest-D_wapvtH.d.ts} +1 -1
- package/dist/{manifest-DUPKC2rO.d.ts → manifest-DbZYZpku.d.ts} +1 -1
- package/dist/{manifest-DoZXpoG_.d.ts → manifest-DdE8MnRN.d.ts} +1 -1
- package/dist/{manifest-BMilYLsh.d.ts → manifest-Doi_y4XH.d.ts} +1 -1
- package/dist/{manifest-B0pan6cS.d.ts → manifest-DplQt5I6.d.ts} +1 -1
- package/dist/{manifest-CWFhOuFW.d.ts → manifest-Dqths6WM.d.ts} +1 -1
- package/dist/{manifest-CF3BUmbe.d.ts → manifest-DsxLVrmD.d.ts} +1 -1
- package/dist/{manifest-Bfu-Cu0f.d.ts → manifest-DuBsaflS.d.ts} +1 -1
- package/dist/{manifest-DpFy7git.d.ts → manifest-Pny9-_9a.d.ts} +1 -1
- package/dist/{manifest-DfC1XBrV.d.ts → manifest-YGFH2TL_.d.ts} +1 -1
- package/dist/{manifest-CnVa_nHw.d.ts → manifest-b3PqBQa0.d.ts} +1 -1
- package/dist/{manifest-CiF1Sb29.d.ts → manifest-cYotBkfZ.d.ts} +1 -1
- package/dist/{manifest-DiXINLQQ.d.ts → manifest-myniqe46.d.ts} +1 -1
- package/dist/{manifest-CumC7hH5.d.ts → manifest-sOy_ZKWF.d.ts} +1 -1
- package/dist/mapper/bin.js +6 -6
- package/dist/mcp/index.d.ts +2 -2
- package/dist/mcp/index.js +1 -1
- package/dist/mcp/sdk/index.d.ts +2 -2
- package/dist/mcp/sdk/index.js +1 -1
- package/dist/{mcp-B4bvacl4.js → mcp-CZgh_ubo.js} +3 -3
- package/dist/next/index.d.ts +12 -12
- package/dist/next/index.js +2 -2
- package/dist/next/proxy/index.d.ts +3 -3
- package/dist/{operations-D4zxY2TL.d.ts → operations-DAHER9Co.d.ts} +1 -1
- package/dist/orpc/index.d.ts +4 -4
- package/dist/orpc/index.js +2 -2
- package/dist/otel/index.js +5 -5
- package/dist/{permissions-BkUcXwtV.d.ts → permissions-Ddma4Div.d.ts} +1 -1
- package/dist/{ports-BBowiGiD.js → ports-ClJbgoyt.js} +1 -1
- package/dist/{ports-DD-pDkHu.d.ts → ports-DPp4Fq_P.d.ts} +1 -1
- package/dist/powersync/index.d.ts +3 -3
- package/dist/powersync/index.js +1 -1
- package/dist/preset/index.d.ts +4 -4
- package/dist/preset/index.js +3 -3
- package/dist/{preset-ZZ4H2s92.js → preset-BcwGsW_B.js} +2 -2
- package/dist/{preview-GUvVjUxf.d.ts → preview-nlRIsJni.d.ts} +2 -2
- package/dist/{project-wJ3jYipI.js → project-Bw5sWuoO.js} +5 -5
- package/dist/{push-token-C8MoiM7E.d.ts → push-token-Dwlj0LIL.d.ts} +1 -1
- package/dist/query/index.d.ts +1 -1
- package/dist/react/index.d.ts +5 -5
- package/dist/react/native/index.d.ts +1 -1
- package/dist/react/server.d.ts +6 -6
- package/dist/react-router/index.d.ts +3 -3
- package/dist/react-router/index.js +3 -3
- package/dist/realtime/index.d.ts +3 -3
- package/dist/{record-form-CbFN-AdD.d.ts → record-form-3eD-nwYk.d.ts} +1 -1
- package/dist/records/index.d.ts +7 -7
- package/dist/{resource-execute-BQx_Pmeu.d.ts → resource-execute-H-XO83hu.d.ts} +1 -1
- package/dist/{resource-types-lBguZ_8J.d.ts → resource-types-D4IZrOCo.d.ts} +1 -1
- package/dist/{resources-CWfoS1er.d.ts → resources-B5k-hJW_.d.ts} +1 -1
- package/dist/server/account/index.d.ts +2 -2
- package/dist/server/accounts/index.d.ts +1 -1
- package/dist/server/index.d.ts +12 -12
- package/dist/server/index.js +4 -4
- package/dist/{server-af58-Q51.js → server-B0T944J9.js} +1 -1
- package/dist/{server-types-By5oBsDZ.d.ts → server-types-Bax89ShV.d.ts} +2 -2
- package/dist/{session-D5IrTUwv.d.ts → session-DitGLCxF.d.ts} +1 -1
- package/dist/{sign-in-TNX4Pj9E.d.ts → sign-in-Dtd2Bqgm.d.ts} +10 -10
- package/dist/{signers-DB0S8YhO.d.ts → signers-FVeDbZxq.d.ts} +5 -1
- package/dist/solid/index.d.ts +6 -6
- package/dist/solid-start/index.d.ts +3 -3
- package/dist/solid-start/index.js +3 -3
- package/dist/spec/index.d.ts +1 -1
- package/dist/spec/index.js +2 -2
- package/dist/sql/index.d.ts +6 -6
- package/dist/sql/index.js +2 -2
- package/dist/{sql-CP1j2jfo.js → sql-DLuqUuGO.js} +42 -14
- package/dist/sqlite/index.d.ts +1 -1
- package/dist/sqlite/index.js +1 -1
- package/dist/ssr/index.d.ts +1 -1
- package/dist/svelte/index.d.ts +6 -6
- package/dist/sveltekit/index.d.ts +4 -4
- package/dist/sveltekit/index.js +3 -3
- package/dist/{tags-Csj8VfA7.d.ts → tags-C3z-ntLF.d.ts} +1 -1
- package/dist/tanstack-db/index.d.ts +1 -1
- package/dist/tanstack-start/index.d.ts +3 -3
- package/dist/tanstack-start/index.js +3 -3
- package/dist/{tenant-CVRFoaDM.d.ts → tenant-DLvOWwEG.d.ts} +1 -1
- package/dist/testing/index.d.ts +9 -9
- package/dist/testing/index.js +3 -3
- package/dist/{timeline-T1qkzVdR.d.ts → timeline-ChkpN8Bw.d.ts} +3 -3
- package/dist/{topic-DytYYyP3.d.ts → topic-Dw4CI2so.d.ts} +2 -2
- package/dist/{types-Cge5o3f5.d.ts → types-_hw_fdQp.d.ts} +2 -2
- package/dist/{verify-dg8Q3iRY.d.ts → verify-B4daVDDR.d.ts} +1 -1
- package/dist/{version-BFYCXhul.js → version-CrTSdSoJ.js} +1 -1
- package/dist/vue/index.d.ts +6 -6
- package/dist/{watch-topic-DT31uYqF.d.ts → watch-topic-CPyTKYDb.d.ts} +1 -1
- package/dist/webmcp/index.d.ts +1 -1
- package/dist/webmcp/index.js +1 -1
- package/dist/yjs/index.d.ts +1 -1
- package/package.json +1 -1
- package/schemas/config-v1.json +40 -2
- package/dist/cli/add-BXNrz9sN.js +0 -1
- package/dist/cli/powersync-BLXxgdbk.js +0 -1
- package/dist/cli/seed-B6_MBFd2.js +0 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { n as CliError } from "./errors-B7i-VGxk.js";
|
|
2
2
|
import { d as readSupabaseToml, n as declarativeSchemasDir } from "./supabase-toml-B6-eEV5p.js";
|
|
3
|
-
import { r as literal } from "./live-
|
|
4
|
-
import { r as layoutFor } from "./providers-
|
|
5
|
-
import { n as renderBlocksCached } from "./render-cache-
|
|
6
|
-
import { f as subjectTagArgs } from "./config-
|
|
3
|
+
import { r as literal } from "./live-CJ3gBXTW.js";
|
|
4
|
+
import { r as layoutFor } from "./providers-B3VKJOGS.js";
|
|
5
|
+
import { n as renderBlocksCached } from "./render-cache-Dkkervpu.js";
|
|
6
|
+
import { f as subjectTagArgs } from "./config-By5EbpdJ.js";
|
|
7
7
|
import { join, resolve, sep } from "node:path";
|
|
8
8
|
import { APP_TABLES_MODULE, setTableFeature } from "better-supabase/sql";
|
|
9
9
|
import { FIELD_FORMATS } from "better-supabase/config";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as accessProviderMode } from "./authorization-CNWhpdKb.js";
|
|
2
|
-
import { u as writtenByBlocks } from "./sql-layout-
|
|
3
|
-
import { c as qualified, t as catalogOf } from "./shared-
|
|
2
|
+
import { u as writtenByBlocks } from "./sql-layout-ClqJfxAp.js";
|
|
3
|
+
import { c as qualified, t as catalogOf } from "./shared-BL_SZdUw.js";
|
|
4
4
|
import { declaredTables, resolveBlocks } from "better-supabase/sql";
|
|
5
5
|
// src/cli/doctor/app-tables.ts
|
|
6
6
|
/**
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { l as stdinDatabaseUrl, n as databaseUrl } from "./config-
|
|
1
|
+
import { l as stdinDatabaseUrl, n as databaseUrl } from "./config-By5EbpdJ.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-CJ3gBXTW.js";
|
|
7
|
+
import { r as STACK_ARG, t as DB_URL_STDIN_ARG } from "./source-args-CvgOHwlj.js";
|
|
8
8
|
// src/cli/commands/backfill.ts
|
|
9
9
|
const DEFAULT_BATCH = 1e3;
|
|
10
10
|
const ARGS = {
|
package/dist/cli/bin.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { n as blocksListCommand, r as blocksSearchCommand, i as blocksViewCommand } from "./blocks-
|
|
1
|
+
export { n as blocksListCommand, r as blocksSearchCommand, i as blocksViewCommand } from "./blocks-D7DYKEOZ.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
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 { t as SQL_ARGS } from "./args-CS_64_tg.js";
|
|
4
|
-
import { n as listModules, t as printModule } from "./print-
|
|
4
|
+
import { n as listModules, t as printModule } from "./print-CoDV1AZr.js";
|
|
5
5
|
import { t as decodePresetInput } from "./preset-CWfLlmTO.js";
|
|
6
6
|
import { SQL_MODULES } from "better-supabase/sql";
|
|
7
7
|
import { PRESET_CATALOG, PRESET_NAMES, glueCommand } from "better-supabase/preset";
|
|
@@ -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-D_miCSxz.js";
|
|
3
3
|
import { dirname, resolve } from "node:path";
|
|
4
4
|
import { mkdir, readFile, rename, rm, writeFile } from "node:fs/promises";
|
|
5
5
|
import { createHash } from "node:crypto";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as codeRanges } from "./code-ranges-uTOKmIXC.js";
|
|
2
|
-
import { i as pinReview, n as namingCodemod, o as configCodemod, r as columnPins, t as NAMING_RENAMES } from "./codemod-naming-
|
|
2
|
+
import { i as pinReview, n as namingCodemod, o as configCodemod, r as columnPins, t as NAMING_RENAMES } from "./codemod-naming-BgEIRJLM.js";
|
|
3
3
|
import { n as CliError } from "./errors-B7i-VGxk.js";
|
|
4
|
-
import { r as layoutFor } from "./providers-
|
|
5
|
-
import { c as snapshotColumnTypes, i as migrationsDir, o as ownLayout, u as writtenByBlocks } from "./sql-layout-
|
|
4
|
+
import { r as layoutFor } from "./providers-B3VKJOGS.js";
|
|
5
|
+
import { c as snapshotColumnTypes, i as migrationsDir, o as ownLayout, u as writtenByBlocks } from "./sql-layout-ClqJfxAp.js";
|
|
6
6
|
import { r as arrayEntries, t as PROMISE_ALL } from "./round-trips-BHfeIu6I.js";
|
|
7
|
-
import { l as schemaModulePath } from "./emit-
|
|
8
|
-
import { n as databaseUrl, s as loadConfig } from "./config-
|
|
7
|
+
import { l as schemaModulePath } from "./emit-DGhalWTA.js";
|
|
8
|
+
import { n as databaseUrl, s as loadConfig } from "./config-By5EbpdJ.js";
|
|
9
9
|
import { m as commandMeta, r as defineCliCommand } from "./command-fqvJ0TdG.js";
|
|
10
10
|
import { a as changedFiles, i as changeLines, r as applyPlan, u as planResult } from "./files-NnXnawki.js";
|
|
11
11
|
import { t as connect } from "./db-B_xr3ZvK.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as codeRanges } from "./code-ranges-uTOKmIXC.js";
|
|
2
|
-
import { o as ownLayout } from "./sql-layout-
|
|
2
|
+
import { o as ownLayout } from "./sql-layout-ClqJfxAp.js";
|
|
3
3
|
import { t as isRecord } from "./guards-DxwRG0Uv.js";
|
|
4
4
|
import { LEGACY_OPTION, SQL_MODULES, bsbPolicyName, moduleContext, readPolicies, redundantNulls } from "better-supabase/sql";
|
|
5
5
|
// src/cli/codemod-config.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as NAMING_RENAMES } from "./codemod-naming-
|
|
2
|
-
import { u as writtenByBlocks } from "./sql-layout-
|
|
1
|
+
import { t as NAMING_RENAMES } from "./codemod-naming-BgEIRJLM.js";
|
|
2
|
+
import { u as writtenByBlocks } from "./sql-layout-ClqJfxAp.js";
|
|
3
3
|
import { SQL_MODULES } from "better-supabase/sql";
|
|
4
4
|
// src/cli/doctor/column-renames.ts
|
|
5
5
|
const ADD_COLUMN = /\balter\s+table\s+(?:if\s+exists\s+)?(?:only\s+)?((?:"?[\w$]+"?\s*\.\s*)?"?[\w$]+"?)\s+add\s+column\s+if\s+not\s+exists\s+("?[\w$]+"?)/gi;
|
|
@@ -1003,7 +1003,7 @@ const blockEntries = {
|
|
|
1003
1003
|
schema: optional(string()),
|
|
1004
1004
|
functions: optional(stringRecord)
|
|
1005
1005
|
})),
|
|
1006
|
-
events: optional(boolean()),
|
|
1006
|
+
events: optional(union([boolean(), strictObject({ payload: optional(record(string(), stringRecord)) })])),
|
|
1007
1007
|
audit: optional(boolean()),
|
|
1008
1008
|
api: optional(union([
|
|
1009
1009
|
string(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as applyEnvironment, n as databaseUrl, r as defaultConfig, i as discoverConfig, a as findConfig, o as importExport, s as loadConfig, c as readSupabasePort, l as stdinDatabaseUrl } from "./config-
|
|
1
|
+
export { t as applyEnvironment, n as databaseUrl, r as defaultConfig, i as discoverConfig, a as findConfig, o as importExport, s as loadConfig, c as readSupabasePort, l as stdinDatabaseUrl } from "./config-By5EbpdJ.js";
|
|
@@ -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-ClqJfxAp.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-By5EbpdJ.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-CvgOHwlj.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-By5EbpdJ.js";
|
|
4
|
+
import { c as stampFiles, l as watchLoop, o as fileWaker, s as parseInterval } from "./spec-COv0ojkG.js";
|
|
5
|
+
import { a as stepInputs, i as selectTasks, n as runTasks, r as parseTasks, t as poll } from "./gen-tasks-D3kLr5we.js";
|
|
6
|
+
import { g as snapshotFile, p as openSource } from "./sql-layout-ClqJfxAp.js";
|
|
7
|
+
import { i as sourceArgs, n as SOURCE_ARGS } from "./source-args-CvgOHwlj.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-By5EbpdJ.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-BGus1ryq.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-ClqJfxAp.js";
|
|
11
|
+
import { i as request } from "./source-BBn7ypvg.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-DKHipy0c.js";
|
|
16
|
+
import { r as renderFiles } from "./render-g0u-8VRx.js";
|
|
17
|
+
import { l as schemaModulePath, m as configFor, p as notNullTag } from "./emit-DGhalWTA.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-BgEIRJLM.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-CQVNZglP.js";
|
|
22
|
+
import { i as migrationHolds, o as migrationModules, r as latestMigration, t as MODULES_SUFFIX } from "./module-migration-BOwCFfuw.js";
|
|
23
|
+
import { n as renderBlocksCached } from "./render-cache-Dkkervpu.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-BL_SZdUw.js";
|
|
25
|
+
import { n as staleRenameKeys, t as shadowedBlockColumns } from "./column-renames-B1bMtdIF.js";
|
|
26
|
+
import { a as reservedRoles, i as statementsView, n as ident$1, r as literal$1, t as LIVE_RULES } from "./live-CJ3gBXTW.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-D_miCSxz.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-TjFxbPdK.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-Da7lPV1G.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-CvgOHwlj.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";
|
|
@@ -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-BBn7ypvg.js";
|
|
6
|
+
import { F as restrictSchemas, R as tsTypeOf, b as bootstrapTables } from "./sql-layout-ClqJfxAp.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,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-Da7lPV1G.js";
|
|
4
|
+
import { m as GEN_TASKS } from "./config-By5EbpdJ.js";
|
|
5
|
+
import { i as selectTasks, n as runTasks, r as parseTasks } from "./gen-tasks-D3kLr5we.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-ClqJfxAp.js";
|
|
8
|
+
import { a as sourceFlags, i as sourceArgs, n as SOURCE_ARGS } from "./source-args-CvgOHwlj.js";
|
|
9
9
|
// src/cli/commands/save-snapshot.ts
|
|
10
10
|
/** The flags `gen --save-snapshot` reads. */
|
|
11
11
|
const SAVE_SNAPSHOT_ARGS = {
|
|
@@ -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-DKHipy0c.js";
|
|
3
|
+
import { l as catalogFingerprint } from "./cache-D6iHVy6b.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-By5EbpdJ.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-01LIe9WO.js";
|
|
8
|
+
import { t as runSeed } from "./seed-BufZFJ_Q.js";
|
|
9
|
+
import { r as specOptionsFromConfig, t as runSpec } from "./spec-COv0ojkG.js";
|
|
10
|
+
import { t as addModules } from "./add-DLYO-lcP.js";
|
|
11
|
+
import { n as listModules, t as printModule } from "./print-CoDV1AZr.js";
|
|
12
|
+
import { o as dataMigration, t as syncModules } from "./sync-Ba5EvTIT.js";
|
|
13
|
+
import { t as upgrade } from "./upgrade-DI4ZTrXV.js";
|
|
14
|
+
import { d as loadSnapshot } from "./sql-layout-ClqJfxAp.js";
|
|
15
15
|
import { existsSync } from "node:fs";
|
|
16
16
|
import { resolve } from "node:path";
|
|
17
17
|
// src/cli/commands/sql.ts
|
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.62.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-DcjkMeLQ.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-g0u-8VRx.js";
|
|
5
|
+
import { n as runGen } from "./run-DKHipy0c.js";
|
|
6
|
+
import { d as loadSnapshot, h as serializeSnapshot, m as parseSnapshot, y as introspect } from "./sql-layout-ClqJfxAp.js";
|
|
7
|
+
import { a as emitModule, d as buildModel, t as GENERATED_HEADER } from "./emit-DGhalWTA.js";
|
|
8
|
+
import { a as toCatalog, n as managementSource, r as pgSource } from "./source-BBn7ypvg.js";
|
|
9
|
+
import { s as loadConfig } from "./config-By5EbpdJ.js";
|
|
10
|
+
import { t as VERSION } from "./version-D_miCSxz.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-By5EbpdJ.js";
|
|
2
|
+
import { r as contentMapperFiles } from "./content-mapper-BGus1ryq.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-DH4qqKNb.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-TjFxbPdK.js";
|
|
9
|
+
import { c as enablePgDelta, t as syncModules } from "./sync-Ba5EvTIT.js";
|
|
10
|
+
import { A as suggestedPackage, d as loadSnapshot, h as serializeSnapshot, k as detectWorkspace } from "./sql-layout-ClqJfxAp.js";
|
|
11
|
+
import { a as toCatalog } from "./source-BBn7ypvg.js";
|
|
12
|
+
import { c as TYPEGEN_VERSION } from "./cache-D6iHVy6b.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--ulI7C3Z.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-BBn7ypvg.js";
|
|
3
|
+
import { c as qualified, l as tableObject, r as exposed, t as catalogOf } from "./shared-BL_SZdUw.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-DcjkMeLQ.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-D_miCSxz.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-D_miCSxz.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-DKHipy0c.js";
|
|
4
|
+
import { P as parseMetadataDocument, j as MetadataRejectedError } from "./sql-layout-ClqJfxAp.js";
|
|
5
|
+
import { c as metaPaths } from "./emit-DGhalWTA.js";
|
|
6
|
+
import { n as render } from "./render-g0u-8VRx.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--ulI7C3Z.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-By5EbpdJ.js";
|
|
2
|
+
import { l as schemaModulePath } from "./emit-DGhalWTA.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-ClqJfxAp.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-By5EbpdJ.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-CJ3gBXTW.js";
|
|
7
|
+
import { r as STACK_ARG, t as DB_URL_STDIN_ARG } from "./source-args-CvgOHwlj.js";
|
|
8
8
|
// src/cli/commands/partition.ts
|
|
9
9
|
const DEFAULT_BATCH = 5e4;
|
|
10
10
|
const PROCEDURE = "convert_audit_log_to_partitioned";
|
|
@@ -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-ClqJfxAp.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-B3VKJOGS.js";
|
|
7
|
+
import { n as renderBlocksCached } from "./render-cache-Dkkervpu.js";
|
|
8
|
+
import { d as subjectFromTag } from "./config-By5EbpdJ.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";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as powersyncStreamsCommand } from "./powersync-01LIe9WO.js";
|
|
@@ -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-BOwCFfuw.js";
|
|
3
|
+
import { n as layout } from "./providers-B3VKJOGS.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-ClqJfxAp.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-By5EbpdJ.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-CJ3gBXTW.js";
|
|
7
|
+
import { r as STACK_ARG, t as DB_URL_STDIN_ARG } from "./source-args-CvgOHwlj.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-DH4qqKNb.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-ClqJfxAp.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-DLYO-lcP.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-B3VKJOGS.js";
|
|
11
|
+
import { n as guardedRemoval } from "./sync-Ba5EvTIT.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-D7DYKEOZ.js";
|
|
14
14
|
import { existsSync } from "node:fs";
|
|
15
15
|
import { resolve } from "node:path";
|
|
16
16
|
import { readFile } from "node:fs/promises";
|
|
@@ -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-D_miCSxz.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";
|
|
@@ -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-D6iHVy6b.js";
|
|
5
|
+
import { t as VERSION } from "./version-D_miCSxz.js";
|
|
6
|
+
import { M as generateDatabaseTypes, N as oxfmtInstalled, n as appSchemaTexts, t as appColumnsFor, x as apiTypeSchemas } from "./sql-layout-ClqJfxAp.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-DGhalWTA.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-By5EbpdJ.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,17 +1,17 @@
|
|
|
1
1
|
import { t as CACHE_DIR } from "./store-DP-nmqBt.js";
|
|
2
2
|
import { a as entitlementsMode, c as unsafeKey, i as entitlementRequirements, n as accessRequirements, o as moduleKeyProblems, s as providerLabel } from "./authorization-CNWhpdKb.js";
|
|
3
|
-
import { B as typegenVersionNotice, H as installedVersion, L as stabilizeMetadata, N as oxfmtInstalled, V as declaredPeers, W as satisfies, d as loadSnapshot, i as migrationsDir, z as typegenVersion } from "./sql-layout-
|
|
4
|
-
import { s as schemaStampPath } from "./content-mapper-
|
|
3
|
+
import { B as typegenVersionNotice, H as installedVersion, L as stabilizeMetadata, N as oxfmtInstalled, V as declaredPeers, W as satisfies, d as loadSnapshot, i as migrationsDir, z as typegenVersion } from "./sql-layout-ClqJfxAp.js";
|
|
4
|
+
import { s as schemaStampPath } from "./content-mapper-BGus1ryq.js";
|
|
5
5
|
import { a as changedFiles, d as fileDiff, i as changeLines, r as applyPlan, s as hasConflicts } from "./files-NnXnawki.js";
|
|
6
6
|
import { a as sameText, t as display } from "./io-CngfGyMA.js";
|
|
7
|
-
import { n as adoptionContext, r as appTablesOf, t as accessModule } from "./app-tables-
|
|
7
|
+
import { n as adoptionContext, r as appTablesOf, t as accessModule } from "./app-tables-CQVNZglP.js";
|
|
8
8
|
import { r as errorText } from "./errors-B7i-VGxk.js";
|
|
9
|
-
import { c as qualified, l as tableObject, r as exposed, s as policyObject, t as catalogOf } from "./shared-
|
|
10
|
-
import { a as storeTypesModule, o as typesModuleKey, s as writeAtomic } from "./cache-
|
|
9
|
+
import { c as qualified, l as tableObject, r as exposed, s as policyObject, t as catalogOf } from "./shared-BL_SZdUw.js";
|
|
10
|
+
import { a as storeTypesModule, o as typesModuleKey, s as writeAtomic } from "./cache-D6iHVy6b.js";
|
|
11
11
|
import { t as compiledReadSets } from "./read-sets-77o7SxpK.js";
|
|
12
|
-
import { c as sameModuleMigration, l as writeLatestMigration, n as READ_SETS_SUFFIX, r as latestMigration, u as writesMigrations } from "./module-migration-
|
|
12
|
+
import { c as sameModuleMigration, l as writeLatestMigration, n as READ_SETS_SUFFIX, r as latestMigration, u as writesMigrations } from "./module-migration-BOwCFfuw.js";
|
|
13
13
|
import { t as byCodePoint } from "./compare-yl4sSwVn.js";
|
|
14
|
-
import { n as render } from "./render-
|
|
14
|
+
import { n as render } from "./render-g0u-8VRx.js";
|
|
15
15
|
import { existsSync } from "node:fs";
|
|
16
16
|
import { dirname, isAbsolute, relative, resolve, sep } from "node:path";
|
|
17
17
|
import { readFile } from "node:fs/promises";
|