better-supabase 0.54.0 → 0.55.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/{agents-DcZk8HBB.d.ts → agents-CBXJce8J.d.ts} +2 -2
- package/dist/{ai-schedules-b-uWaxba.d.ts → ai-schedules-CtwkMJDZ.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/{app-tables-B2xNMyLA.d.ts → app-tables-BsDmauWB.d.ts} +1 -1
- package/dist/{audit-actions-Dni5Y4wV.d.ts → audit-actions-DC-AtyWB.d.ts} +6 -0
- package/dist/{authorization-Bk6cLL5f.d.ts → authorization-DK7YSiFV.d.ts} +1 -1
- package/dist/{automations-CjKWYzIu.js → automations-Cu1KdCvL.js} +3 -1
- package/dist/{bind-DWElQa6I.d.ts → bind-DiGmjHzz.d.ts} +4 -4
- package/dist/{block-env-CQQUMPYZ.d.ts → block-env-BTKZBCL4.d.ts} +4 -4
- package/dist/{block-subjects-9KU6Q6-3.js → block-subjects-BoJrJAgR.js} +3 -2
- package/dist/{block-tables-JC1dMLaA.d.ts → block-tables-B6Jt0mWg.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/index.d.ts +1 -1
- 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/commerce/index.js +2 -2
- 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 +3 -3
- package/dist/blocks/created-by/index.d.ts +2 -2
- package/dist/blocks/crm/index.d.ts +16 -16
- package/dist/blocks/crm/index.js +2 -2
- 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/finance/index.js +1 -1
- 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 +4 -4
- package/dist/blocks/inspections/index.d.ts +2 -2
- package/dist/blocks/inventory/index.d.ts +1 -1
- package/dist/blocks/inventory/index.js +1 -1
- package/dist/blocks/invoices/index.d.ts +1 -1
- package/dist/blocks/invoices/index.js +1 -1
- package/dist/blocks/knowledge/index.d.ts +1 -1
- package/dist/blocks/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/orders/index.js +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/payroll-export/index.js +1 -1
- package/dist/blocks/people/index.d.ts +7 -7
- package/dist/blocks/people/index.js +1 -1
- 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 +1 -1
- package/dist/blocks/posts/index.d.ts +2 -2
- package/dist/blocks/procurement/index.d.ts +5 -5
- package/dist/blocks/procurement/index.js +2 -2
- package/dist/blocks/profiles/index.d.ts +1 -1
- package/dist/blocks/projects/index.d.ts +7 -7
- package/dist/blocks/projects/index.js +2 -2
- 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/quotes/index.js +2 -2
- 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/sales/index.js +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/index.js +1 -1
- 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 +2 -2
- 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/support/index.js +1 -1
- package/dist/blocks/tags/index.d.ts +2 -2
- package/dist/blocks/tasks/index.d.ts +2 -2
- package/dist/blocks/tasks/index.js +1 -1
- 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 +11 -1
- package/dist/blocks/templates/index.js +6 -1
- package/dist/blocks/tills/index.d.ts +1 -1
- package/dist/blocks/time-tracking/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/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-LZklPzC5.d.ts → blocks-2HFgUcqG.d.ts} +52 -17
- package/dist/claims/index.d.ts +3 -3
- package/dist/cli/{add-DK38-F2F.js → add-BnYh-Kpy.js} +12 -12
- package/dist/cli/add-D0TUMxXn.js +1 -0
- package/dist/cli/{add-BQZbFEAP.js → add-LvxZ-JNB.js} +2 -2
- package/dist/cli/{app-table-files-C5Sx2Qao.js → app-table-files-7M0I9LaE.js} +3 -3
- package/dist/cli/{app-tables-ChZE8Z_L.js → app-tables-BfWPWiOJ.js} +2 -2
- package/dist/cli/{backfill-COnv2tOL.js → backfill-i0Tx24Sa.js} +3 -3
- package/dist/cli/bin.js +1 -1
- package/dist/cli/{blocks-Dea_Z5Ps.js → blocks-C_7ioBdJ.js} +1 -1
- package/dist/cli/{blocks-Csu6lLqC.js → blocks-X_eD_t_f.js} +1 -1
- package/dist/cli/{cache-C1nAFZNW.js → cache-D98rjB1C.js} +1 -1
- package/dist/cli/{codemod-DHULUpez.js → codemod-j1nCkgA5.js} +1 -1
- package/dist/cli/{config-FN5Cp861.js → config-DdkxiGjH.js} +7 -0
- package/dist/cli/{config-U32Vo0h6.js → config-DmjFp8jY.js} +1 -1
- package/dist/cli/{content-mapper-QVJJto5U.js → content-mapper-UsLt4y0J.js} +2 -2
- package/dist/cli/{db-T8u160uM.js → db-B54TQ_iX.js} +2 -2
- package/dist/cli/{doctor-Du2zwLUG.js → doctor-BYJM72wi.js} +17 -17
- package/dist/cli/{gen-CQ2ubqjB.js → gen-D47t5jj3.js} +14 -14
- package/dist/cli/index.d.ts +1 -1
- package/dist/cli/index.js +7 -7
- package/dist/cli/{init-CTt0aQn1.js → init-CAWeLXCs.js} +10 -10
- package/dist/cli/{live-DMNuAml9.js → live-DNd8MMNk.js} +2 -2
- package/dist/cli/{mcp-C63ulwyU.js → mcp-BUs7M6fq.js} +2 -2
- package/dist/cli/{metadata-CylES-9Y.js → metadata-UwEYCntC.js} +3 -3
- package/dist/cli/{migrate-BezKva56.js → migrate-D-GzXR4D.js} +1 -1
- package/dist/cli/{migration-safety-DQtpMu-g.js → migration-safety-Cg9jf2s-.js} +2 -2
- package/dist/cli/{migrations-DGJJ1rHt.js → migrations-Bhcf7MHM.js} +2 -2
- package/dist/cli/{module-migration-CxbEDfSF.js → module-migration-BJaOdOWy.js} +2 -2
- package/dist/cli/powersync-Bn-u0TGP.js +1 -0
- package/dist/cli/{powersync-FUYFuZSw.js → powersync-DQKdjG_K.js} +3 -3
- package/dist/cli/{print-DAwLAC-7.js → print-B1onZWRG.js} +2 -2
- package/dist/cli/{providers-hrxX3YKU.js → providers-M7s8btf1.js} +1 -1
- package/dist/cli/{prune-workflows-DLhKu_UJ.js → prune-workflows-BiRF1YBZ.js} +3 -3
- package/dist/cli/{remove-DSC6Fvwo.js → remove-BHyzqWNm.js} +6 -6
- package/dist/cli/{render-647qdnrX.js → render-DDCy_0V_.js} +4 -4
- package/dist/cli/{run-BcI6KXV3.js → run-Csm1-Uto.js} +35 -35
- package/dist/cli/{run--qaDaqfL.js → run-DDUBMkbN.js} +9 -9
- package/dist/cli/seed-BxjjQ3OO.js +1 -0
- package/dist/cli/{seed-BgpovbwF.js → seed-kCLEYSOH.js} +2 -2
- package/dist/cli/{shared-D_DZ9MfG.js → shared-Cv22MEAO.js} +1 -1
- package/dist/cli/{snapshot-B-1tPbV4.js → snapshot-9xnSt525.js} +3 -3
- package/dist/cli/{source-BgFNrRcl.js → source-B_miugrh.js} +1 -1
- package/dist/cli/{source-args-DC8snM7e.js → source-args-C3_mMci3.js} +1 -1
- package/dist/cli/{spec-C88dtkj4.js → spec-BeAgQ-of.js} +1 -1
- package/dist/cli/{spec-CV0FdW18.js → spec-dYLJbr9J.js} +2 -2
- package/dist/cli/{sql-layout-byUur5FC.js → sql-layout-3YU4941N.js} +2 -2
- package/dist/cli/{sync-BtM7o-sI.js → sync-Bfwk4Ldc.js} +4 -4
- package/dist/cli/{upgrade-CKDeHkyy.js → upgrade-BMrkzAcD.js} +5 -5
- package/dist/cli/{upgrade-B_HEJvRX.js → upgrade-DRvMFW2T.js} +2 -2
- package/dist/cli/{version-DWDoiP5_.js → version-BXjNETWS.js} +1 -1
- package/dist/client/index.d.ts +6 -6
- package/dist/client/native/index.d.ts +4 -4
- package/dist/config/index.d.ts +4 -4
- package/dist/config/index.js +4 -4
- package/dist/{config-LOwFAFpo.js → config-CsX2THwJ.js} +3 -3
- package/dist/{config-ekflaCnS.js → config-Dgl6AxKE.js} +1 -1
- package/dist/{context-iduX3Fsn.d.ts → context-DSJpfeVv.d.ts} +47 -4
- package/dist/contract/index.d.ts +3 -3
- package/dist/{contributions-DPjEWWpE.js → contributions-olp7tVYC.js} +11 -0
- package/dist/{controller-DFGNChQL.d.ts → controller-BVee4yX8.d.ts} +1 -1
- package/dist/{conversion-DTBB0Zgt.d.ts → conversion-BPkWkVoa.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 +2 -2
- package/dist/{data-engine-BKO5EAzN.d.ts → data-engine-0uVsKWaB.d.ts} +7 -3
- package/dist/{define-block-By-LUpM_.d.ts → define-block-Cu67KCN1.d.ts} +1 -1
- package/dist/{drive-CuNG4qB8.d.ts → drive-D008IDpI.d.ts} +1 -1
- package/dist/{entitlements-Go8BHqhr.d.ts → entitlements-CRBZg5y2.d.ts} +1 -1
- package/dist/{extract-DQKHxiiq.d.ts → extract-BU5w3k5s.d.ts} +1 -1
- package/dist/{field-errors-B4SMTk2e.d.ts → field-errors-CjEgbjO9.d.ts} +6 -6
- package/dist/{index-NqLuAXG3.d.ts → index--7HXH_H_.d.ts} +2 -2
- package/dist/{index-BvwlIGwY.d.ts → index-AmPcMT_X.d.ts} +1 -1
- package/dist/{index-DfJFbsVp.d.ts → index-BDn4Mqq0.d.ts} +1 -1
- package/dist/{index-DeE-Xuv7.d.ts → index-BOZ6AsMs.d.ts} +1 -1
- package/dist/{index-BkBNirhK.d.ts → index-BR8ZkijS.d.ts} +2 -2
- package/dist/{index-DzjugbCf.d.ts → index-BTl5A8Aj.d.ts} +2 -2
- package/dist/{index-BmKtYKwN.d.ts → index-BVJsz3pS.d.ts} +2 -2
- package/dist/{index-CTHuTJtf.d.ts → index-BeU2DRAI.d.ts} +1 -1
- package/dist/{index-DkNMN5uU.d.ts → index-BleHtlJ6.d.ts} +1 -1
- package/dist/{index-ROumUag2.d.ts → index-BoCyVsCr.d.ts} +1 -1
- package/dist/{index-DgRK-iM3.d.ts → index-BvPirjfD.d.ts} +4 -4
- package/dist/{index-pRdO2XnG.d.ts → index-CDEzb5bl.d.ts} +1 -1
- package/dist/{index-D-bMFoGs.d.ts → index-CKdNndE3.d.ts} +2 -2
- package/dist/{index-B8axasMg.d.ts → index-CaW37FHZ.d.ts} +1 -1
- package/dist/{index-DJyt9j86.d.ts → index-ChaJiMkI.d.ts} +2 -2
- package/dist/{index-9zNFFq6E.d.ts → index-D-3fZP5z.d.ts} +1 -1
- package/dist/{index-szXZSILq.d.ts → index-D5nY5k-2.d.ts} +7 -7
- package/dist/{index-D7FXhn2i.d.ts → index-D7zwaGAP.d.ts} +1 -1
- package/dist/{index-DkJtM-9e.d.ts → index-DDDHYXtr.d.ts} +9 -9
- package/dist/{index-DFdqVxv6.d.ts → index-DJ1Uk4ff.d.ts} +4 -4
- package/dist/{index-BKWnyAWN.d.ts → index-DR4P3Lf9.d.ts} +2 -2
- package/dist/{index-BoKvWo8t.d.ts → index-DYzQ_PPW.d.ts} +1 -1
- package/dist/{index-abVPYQE3.d.ts → index-DZRsTCds.d.ts} +1 -1
- package/dist/{index-D9Sb8Ju5.d.ts → index-DhS8Qkgj.d.ts} +3 -3
- package/dist/{index-YZ-_hzdR.d.ts → index-DsA7MQwZ.d.ts} +1 -1
- package/dist/{index-bJVAgXxw.d.ts → index-DtMdKIJU.d.ts} +2 -2
- package/dist/{index-BXRyr3ey.d.ts → index-Dyq6B4gZ.d.ts} +2 -2
- package/dist/{index-D337YzjX.d.ts → index-E_Q5L9PV.d.ts} +1 -1
- package/dist/{index-DXoS8BnK.d.ts → index-JzAR_Y7n.d.ts} +3 -3
- package/dist/{index-D4ke5U0m.d.ts → index-_RnZChF8.d.ts} +1 -1
- package/dist/{index-DkNLdcX_.d.ts → index-_wr8wCe9.d.ts} +1 -1
- package/dist/{index-20EPlFXG.d.ts → index-dMGEJLxl.d.ts} +1 -1
- package/dist/{index-DQVQYEhP.d.ts → index-ilxdL8pz.d.ts} +1 -1
- package/dist/{index-DlXgoerO.d.ts → index-r3QZBY7z.d.ts} +1 -1
- package/dist/{index-Bsd8P1iQ.d.ts → index-slG4UpF_.d.ts} +2 -2
- package/dist/{index-C1kImKZg.d.ts → index-u8EXkOzJ.d.ts} +1 -1
- package/dist/{index-Dg35ugqv.d.ts → index-voglIa16.d.ts} +4 -4
- package/dist/{instances-DJxWRqXk.js → instances-BMjIO6Xu.js} +32 -7
- package/dist/{inventory-reads-BNDSYnuG.js → inventory-reads-DEw2Kbff.js} +2 -1
- package/dist/{manifest-8JvRt8LB.d.ts → manifest-6PhMgCFi.d.ts} +1 -1
- package/dist/{manifest-B6EkxzC0.d.ts → manifest-B17Sra5h.d.ts} +1 -1
- package/dist/{manifest-DCPKfwsh.d.ts → manifest-B4CEdcH_.d.ts} +1 -1
- package/dist/{manifest-BCyCm0Z3.d.ts → manifest-BB3GjGa3.d.ts} +1 -1
- package/dist/{manifest-H6lz9xQm.d.ts → manifest-BE7UwezO.d.ts} +1 -1
- package/dist/{manifest-DGgFeLwd.d.ts → manifest-BMNwdO5D.d.ts} +1 -1
- package/dist/{manifest-BrOXXz7k.d.ts → manifest-BSvxbZH5.d.ts} +1 -1
- package/dist/{manifest-DZLr6Cbr.js → manifest-BV1YxozT.js} +1 -1
- package/dist/{manifest-BJs6pHI0.d.ts → manifest-BVjhJ3Mj.d.ts} +1 -1
- package/dist/{manifest-Dh4AJeLl.d.ts → manifest-BXxSqnLS.d.ts} +1 -1
- package/dist/{manifest-CcDqfRee.d.ts → manifest-BYbt4y_O.d.ts} +1 -1
- package/dist/{manifest-KHudP5T5.d.ts → manifest-BZL2TAB1.d.ts} +1 -1
- package/dist/{manifest-BRFen7mE.js → manifest-Bb8S2tcs.js} +1 -1
- package/dist/{manifest-fviCqeHj.d.ts → manifest-BknZ4yQ-.d.ts} +1 -1
- package/dist/{manifest-B24Ymu8p.d.ts → manifest-Bp0oZ3-W.d.ts} +1 -1
- package/dist/{manifest-DxPMUjhY.js → manifest-BvcIe5z_.js} +1 -1
- package/dist/{manifest-DWQaegX6.d.ts → manifest-Bz0EjE76.d.ts} +1 -1
- package/dist/{manifest-BbC83cJB.d.ts → manifest-BzsuqiQx.d.ts} +1 -1
- package/dist/{manifest-Dc1eHEJV.d.ts → manifest-CBwrN4Nf.d.ts} +1 -1
- package/dist/{manifest-BqBVKNjy.d.ts → manifest-CELTce26.d.ts} +1 -1
- package/dist/{manifest-jSOZl7qT.d.ts → manifest-CGZQ9lU3.d.ts} +1 -1
- package/dist/{manifest-DpF5bliV.d.ts → manifest-CGcGylmw.d.ts} +1 -1
- package/dist/{manifest-RUmJ5H6p.d.ts → manifest-CMNPpmWS.d.ts} +2 -2
- package/dist/{manifest-vG5iHhA5.d.ts → manifest-CMnLDDS3.d.ts} +1 -1
- package/dist/{manifest-CszjCxVJ.d.ts → manifest-CSHNTEJZ.d.ts} +1 -1
- package/dist/{manifest-qs_U2rx3.d.ts → manifest-CWj5SFuw.d.ts} +1 -1
- package/dist/{manifest-Cko_ySTe.d.ts → manifest-C_dVunWg.d.ts} +1 -1
- package/dist/{manifest-uL5fzXsx.d.ts → manifest-CaA-2HPK.d.ts} +1 -1
- package/dist/{manifest-DPGJ2otk.d.ts → manifest-CbKgs5qA.d.ts} +1 -1
- package/dist/{manifest-BfIYKrNe.d.ts → manifest-CdD44xlg.d.ts} +1 -1
- package/dist/{manifest-BGD8cD6S.d.ts → manifest-CoFpa0dN.d.ts} +1 -1
- package/dist/{manifest-H65OlXiB.js → manifest-CqJkmxrA.js} +1 -1
- package/dist/{manifest-BHlKJbN2.d.ts → manifest-D0FjVeay.d.ts} +1 -1
- package/dist/{manifest-Bj5hfBA_.d.ts → manifest-D2Z_2z9-.d.ts} +1 -1
- package/dist/{manifest-o-S9bj6i.d.ts → manifest-D2d1wS7g.d.ts} +1 -1
- package/dist/{manifest-CL5QEu5B.d.ts → manifest-D7mliM-d.d.ts} +1 -1
- package/dist/{manifest-DBmuiJ91.d.ts → manifest-D9P9Yhe3.d.ts} +1 -1
- package/dist/{manifest-Bg5Znp_u.d.ts → manifest-DAXz8rxB.d.ts} +1 -1
- package/dist/{manifest-BgVQ8xd3.d.ts → manifest-DG0oDOmq.d.ts} +1 -1
- package/dist/{manifest-Csw2tVut.d.ts → manifest-DGLrMEdB.d.ts} +1 -1
- package/dist/{manifest-BxujRhsY.d.ts → manifest-DGiswyG5.d.ts} +1 -1
- package/dist/{manifest-Da1QZDY4.d.ts → manifest-DIZ6chpf.d.ts} +1 -1
- package/dist/{manifest-xRlf8RQk.d.ts → manifest-DMvx2rWH.d.ts} +1 -1
- package/dist/{manifest-BtlEwVU4.d.ts → manifest-DPqKZgWn.d.ts} +1 -1
- package/dist/{manifest-BmLU5HtO.d.ts → manifest-DUlZ8qck.d.ts} +1 -1
- package/dist/{manifest-DjAdsSs4.d.ts → manifest-DYPVnKW_.d.ts} +1 -1
- package/dist/{manifest-Oo7PegXK.d.ts → manifest-D_VmA0aC.d.ts} +1 -1
- package/dist/{manifest-CAPSAozN.d.ts → manifest-Dc8pNExY.d.ts} +1 -1
- package/dist/{manifest-dXPq0ubY.d.ts → manifest-Df1QDhiQ.d.ts} +1 -1
- package/dist/{manifest-BAgvJODg.d.ts → manifest-DhXoSaUC.d.ts} +1 -1
- package/dist/{manifest-DweZMH-F.d.ts → manifest-DhpmWh55.d.ts} +1 -1
- package/dist/{manifest-BxuSAdYu.d.ts → manifest-Dk_7prKx.d.ts} +1 -1
- package/dist/{manifest-DnGgZ9_F.d.ts → manifest-Dl_bw4IU.d.ts} +1 -1
- package/dist/{manifest-BeW5LlW1.d.ts → manifest-DsuoLp-Y.d.ts} +1 -1
- package/dist/{manifest-2ZgzNTbP.d.ts → manifest-DtEcJBdE.d.ts} +10 -1
- package/dist/{manifest-DdxfAXvG.d.ts → manifest-DwCorUVJ.d.ts} +1 -1
- package/dist/{manifest-CfQ0nD_7.d.ts → manifest-DxPLHyKY.d.ts} +1 -1
- package/dist/{manifest-BSkYvne3.d.ts → manifest-Eazz96as.d.ts} +1 -1
- package/dist/{manifest-CH7g3uI3.d.ts → manifest-Pl5us_yz.d.ts} +1 -1
- package/dist/{manifest-upfKO7JJ.d.ts → manifest-X4analSK.d.ts} +1 -1
- package/dist/{manifest-2jLTjnVh.d.ts → manifest-auanzyjB.d.ts} +1 -1
- package/dist/{manifest-CeoUoZDs.d.ts → manifest-gGFtQDJz.d.ts} +1 -1
- package/dist/{manifest-BCOBkYvY.d.ts → manifest-lzwWCAYV.d.ts} +2 -2
- package/dist/{manifest-BUktyXMR.js → manifest-ok1ge1bM.js} +1 -1
- package/dist/{manifest-Ct6mHhg4.d.ts → manifest-uIIb_YLI.d.ts} +1 -1
- package/dist/{manifest-DevURQJj.js → manifest-vBvsSefP.js} +5 -1
- package/dist/{manifest-CDcaLpwB.d.ts → manifest-xikzppm9.d.ts} +1 -1
- package/dist/{manifest-BHZEsuzC.d.ts → manifest-yKx0faak.d.ts} +1 -1
- package/dist/mapper/bin.js +6 -6
- package/dist/mcp/index.d.ts +1 -1
- package/dist/next/index.d.ts +7 -7
- package/dist/{operations-IzVAIMvs.d.ts → operations-DKfYeS5z.d.ts} +1 -1
- package/dist/{options-CGQC7Wue.js → options-C1N8cOQU.js} +2 -1
- package/dist/{options-BTuDJ2RC.js → options-Cu6IqZ_n.js} +3 -1
- package/dist/{options-wBw_6uhd.js → options-Oo46IzNk.js} +2 -1
- package/dist/{orders-reads-Yo9GGjdv.js → orders-reads-2ozdZx1l.js} +108 -13
- package/dist/otel/index.js +4 -4
- package/dist/{payroll-export-T754eWz8.js → payroll-export-ChZY6W3w.js} +1 -1
- package/dist/{permissions-DxXor_NY.d.ts → permissions-C5h1cU25.d.ts} +1 -1
- package/dist/{ports-C5BEHQi6.d.ts → ports-DvaVv_3b.d.ts} +1 -1
- package/dist/powersync/index.d.ts +3 -3
- package/dist/powersync/index.js +11 -3
- package/dist/preset/index.d.ts +4 -4
- package/dist/preset/index.js +3 -3
- package/dist/{preset-8Xh21Uyw.js → preset-Cl3Q5ASC.js} +8 -2
- package/dist/{preview-B-mtB1ka.d.ts → preview-Bwg7r1Lf.d.ts} +2 -2
- package/dist/{project-C6JAWCnH.js → project-At5wBJSS.js} +5 -5
- package/dist/{push-token-TWXWra8i.d.ts → push-token-C6ZGE1g0.d.ts} +1 -1
- package/dist/query/index.d.ts +1 -1
- package/dist/react/index.d.ts +6 -6
- package/dist/react/native/index.d.ts +1 -1
- package/dist/react/server.d.ts +5 -5
- package/dist/realtime/index.d.ts +3 -3
- package/dist/{record-form-B9-7RhYz.d.ts → record-form-DTncyqVH.d.ts} +1 -1
- package/dist/records/index.d.ts +7 -7
- package/dist/{sales-CLHrvNDm.js → sales-BhOckhix.js} +3 -3
- package/dist/server/index.d.ts +3 -3
- package/dist/solid/index.d.ts +5 -5
- package/dist/sql/index.d.ts +6 -6
- package/dist/sql/index.js +3 -3
- package/dist/{sql-Bam07JIf.js → sql-CdZdPqjA.js} +1010 -219
- package/dist/sqlite/index.d.ts +1 -1
- package/dist/ssr/index.d.ts +1 -1
- package/dist/svelte/index.d.ts +5 -5
- package/dist/tanstack-db/index.d.ts +1 -1
- package/dist/{tenant-BpJ2F2b_.d.ts → tenant-BTnwa5oZ.d.ts} +1 -1
- package/dist/testing/index.d.ts +6 -6
- package/dist/testing/index.js +1 -1
- package/dist/{timeline-LHtdAJnM.d.ts → timeline-B7kBQ1gh.d.ts} +2 -2
- package/dist/{topic-4KYLvvTB.d.ts → topic-hu0RP7CG.d.ts} +1 -1
- package/dist/{types-Dfa7b0KI.d.ts → types-DvglaQ_D.d.ts} +2 -2
- package/dist/vue/index.d.ts +5 -5
- package/dist/{watch-topic-C9DIO476.d.ts → watch-topic-C_rGHxIA.d.ts} +1 -1
- package/dist/webmcp/index.d.ts +1 -1
- package/dist/yjs/index.d.ts +1 -1
- package/package.json +1 -1
- package/schemas/config-v1.json +64 -1
- package/skills/better-supabase-api/references/powersync.md +1 -0
- package/dist/cli/add-3L9NVEA3.js +0 -1
- package/dist/cli/powersync-COHj6FT8.js +0 -1
- package/dist/cli/seed-CRD1tYPA.js +0 -1
package/dist/cli/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
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-Csm1-Uto.js";
|
|
2
2
|
import { a as list, r as defineCliCommand } from "./command-CLvgELKk.js";
|
|
3
3
|
import { n as CliError, t as CLI_ERRORS_URL } from "./errors-DcJ_PayO.js";
|
|
4
|
-
import { a as emitBlockConfig, c as GENERATED_HEADER, d as buildModel, l as emitModule, o as emitBlockConfigModule, r as renderFiles, s as emitClientBlocks } from "./render-
|
|
5
|
-
import { n as runGen } from "./run
|
|
6
|
-
import { a as serializeSnapshot, i as parseSnapshot, l as introspect, t as loadSnapshot } from "./snapshot-
|
|
7
|
-
import { a as toCatalog, n as managementSource, r as pgSource } from "./source-
|
|
8
|
-
import { s as loadConfig } from "./config-
|
|
9
|
-
import { t as VERSION } from "./version-
|
|
4
|
+
import { a as emitBlockConfig, c as GENERATED_HEADER, d as buildModel, l as emitModule, o as emitBlockConfigModule, r as renderFiles, s as emitClientBlocks } from "./render-DDCy_0V_.js";
|
|
5
|
+
import { n as runGen } from "./run-DDUBMkbN.js";
|
|
6
|
+
import { a as serializeSnapshot, i as parseSnapshot, l as introspect, t as loadSnapshot } from "./snapshot-9xnSt525.js";
|
|
7
|
+
import { a as toCatalog, n as managementSource, r as pgSource } from "./source-B_miugrh.js";
|
|
8
|
+
import { s as loadConfig } from "./config-DdkxiGjH.js";
|
|
9
|
+
import { t as VERSION } from "./version-BXjNETWS.js";
|
|
10
10
|
// src/cli/introspect/from-catalog.ts
|
|
11
11
|
/**
|
|
12
12
|
* Builds a snapshot from catalog records: the inverse of `toCatalog`. Tests and
|
|
@@ -1,18 +1,18 @@
|
|
|
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-DdkxiGjH.js";
|
|
2
|
+
import { r as contentMapperFiles } from "./content-mapper-UsLt4y0J.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-BnYh-Kpy.js";
|
|
4
4
|
import { a as list, m as commandMeta, r as defineCliCommand } from "./command-CLvgELKk.js";
|
|
5
5
|
import { n as CliError } from "./errors-DcJ_PayO.js";
|
|
6
6
|
import { c as insideRoot, i as changeLines, n as PLAN_ARGS, r as applyPlan, u as planResult } from "./files-DQayErI8.js";
|
|
7
7
|
import { r as readIfExists } from "./io-CQzy8PEZ.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 { s as enablePgDelta, t as syncModules } from "./sync-
|
|
10
|
-
import { a as serializeSnapshot, t as loadSnapshot } from "./snapshot-
|
|
11
|
-
import { a as toCatalog } from "./source-
|
|
12
|
-
import { l 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-Cg9jf2s-.js";
|
|
9
|
+
import { s as enablePgDelta, t as syncModules } from "./sync-Bfwk4Ldc.js";
|
|
10
|
+
import { a as serializeSnapshot, t as loadSnapshot } from "./snapshot-9xnSt525.js";
|
|
11
|
+
import { a as toCatalog } from "./source-B_miugrh.js";
|
|
12
|
+
import { l as TYPEGEN_VERSION } from "./cache-D98rjB1C.js";
|
|
13
13
|
import { n as installCommand, t as detectProject } from "./detect-ad_V_zja.js";
|
|
14
|
-
import { m as suggestedPackage, p as detectWorkspace } from "./sql-layout-
|
|
15
|
-
import { t as appTablePlan } from "./app-table-files-
|
|
14
|
+
import { m as suggestedPackage, p as detectWorkspace } from "./sql-layout-3YU4941N.js";
|
|
15
|
+
import { t as appTablePlan } from "./app-table-files-7M0I9LaE.js";
|
|
16
16
|
import { i as plain } from "./style-B5-nByxb.js";
|
|
17
17
|
import { existsSync } from "node:fs";
|
|
18
18
|
import { join, posix, resolve } from "node:path";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as errorText } from "./errors-DcJ_PayO.js";
|
|
2
|
-
import "./source-
|
|
3
|
-
import { l as tableObject, n as exposed, s as qualified, t as catalogOf } from "./shared-
|
|
2
|
+
import "./source-B_miugrh.js";
|
|
3
|
+
import { l as tableObject, n as exposed, s as qualified, t as catalogOf } from "./shared-Cv22MEAO.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-CLvgELKk.js";
|
|
2
|
-
import { a as envelope, i as run } from "./run-
|
|
2
|
+
import { a as envelope, i as run } from "./run-Csm1-Uto.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-BLwQ6srP.js";
|
|
4
4
|
import { n as consentToken } from "./agent-Tqq3MAqx.js";
|
|
5
5
|
import { n as CliError } from "./errors-DcJ_PayO.js";
|
|
6
|
-
import { t as VERSION } from "./version-
|
|
6
|
+
import { t as VERSION } from "./version-BXjNETWS.js";
|
|
7
7
|
import { createInterface } from "node:readline";
|
|
8
8
|
import { answerLine } from "better-supabase/mcp";
|
|
9
9
|
// src/cli/mcp/server.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as CliError, r as errorText } from "./errors-DcJ_PayO.js";
|
|
2
2
|
import { i as readStdin } from "./io-CQzy8PEZ.js";
|
|
3
|
-
import { i as generationNotices, n as runGen, o as fromMetadata, r as UNFORMATTED, t as refuseRowConditionedBuckets } from "./run
|
|
4
|
-
import { f as MetadataRejectedError, g as parseMetadataDocument } from "./snapshot-
|
|
5
|
-
import { n as render, u as metaPaths } from "./render-
|
|
3
|
+
import { i as generationNotices, n as runGen, o as fromMetadata, r as UNFORMATTED, t as refuseRowConditionedBuckets } from "./run-DDUBMkbN.js";
|
|
4
|
+
import { f as MetadataRejectedError, g as parseMetadataDocument } from "./snapshot-9xnSt525.js";
|
|
5
|
+
import { n as render, u as metaPaths } from "./render-DDCy_0V_.js";
|
|
6
6
|
import { basename, join, relative, resolve, sep } from "node:path";
|
|
7
7
|
import { readFile } from "node:fs/promises";
|
|
8
8
|
import { jsonSchema, standardSchema, valibot, zod } from "better-supabase/config";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { m as commandMeta, r as defineCliCommand } from "./command-CLvgELKk.js";
|
|
2
2
|
import { n as PLAN_ARGS, r as applyPlan, u as planResult } from "./files-DQayErI8.js";
|
|
3
|
-
import { t as appTablePlan } from "./app-table-files-
|
|
3
|
+
import { t as appTablePlan } from "./app-table-files-7M0I9LaE.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 { f as INTEGRATIONS } from "./config-
|
|
2
|
-
import { c as splitStatements } from "./shared-
|
|
1
|
+
import { f as INTEGRATIONS } from "./config-DdkxiGjH.js";
|
|
2
|
+
import { c as splitStatements } from "./shared-Cv22MEAO.js";
|
|
3
3
|
import { dirname, join, posix } from "node:path";
|
|
4
4
|
import { readdir } from "node:fs/promises";
|
|
5
5
|
import { INTEGRATION_INFO, groupEntries } from "better-supabase/config";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i as changeLines, r as applyPlan } from "./files-DQayErI8.js";
|
|
2
|
-
import { n as migrationsDir, o as sqlPlan } from "./sql-layout-
|
|
2
|
+
import { n as migrationsDir, o as sqlPlan } from "./sql-layout-3YU4941N.js";
|
|
3
3
|
import { d as readSupabaseToml, p as sqlWorkflow } from "./supabase-toml-B6-eEV5p.js";
|
|
4
|
-
import { r as layoutFor } from "./providers-
|
|
4
|
+
import { r as layoutFor } from "./providers-M7s8btf1.js";
|
|
5
5
|
import { resolve } from "node:path";
|
|
6
6
|
import { readFile, readdir } from "node:fs/promises";
|
|
7
7
|
import { moduleSchemaExtensions, renderBlocks } from "better-supabase/sql";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i as changeLines, r as applyPlan } from "./files-DQayErI8.js";
|
|
2
|
-
import { n as migrationsDir, o as sqlPlan } from "./sql-layout-
|
|
2
|
+
import { n as migrationsDir, o as sqlPlan } from "./sql-layout-3YU4941N.js";
|
|
3
3
|
import { d as readSupabaseToml, p as sqlWorkflow } from "./supabase-toml-B6-eEV5p.js";
|
|
4
|
-
import { i as stampAfter } from "./migrations-
|
|
4
|
+
import { i as stampAfter } from "./migrations-Bhcf7MHM.js";
|
|
5
5
|
import { resolve } from "node:path";
|
|
6
6
|
import { readFile, readdir } from "node:fs/promises";
|
|
7
7
|
import { moduleSchemaExtensions } from "better-supabase/sql";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as powersyncStreamsCommand } from "./powersync-DQKdjG_K.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { m as commandMeta, r as defineCliCommand } from "./command-CLvgELKk.js";
|
|
2
2
|
import { n as PLAN_ARGS, r as applyPlan, u as planResult } from "./files-DQayErI8.js";
|
|
3
|
-
import { a as snapshotColumnTypes, n as migrationsDir } from "./sql-layout-
|
|
4
|
-
import { i as stampAfter } from "./migrations-
|
|
5
|
-
import { r as layoutFor } from "./providers-
|
|
3
|
+
import { a as snapshotColumnTypes, n as migrationsDir } from "./sql-layout-3YU4941N.js";
|
|
4
|
+
import { i as stampAfter } from "./migrations-Bhcf7MHM.js";
|
|
5
|
+
import { r as layoutFor } from "./providers-M7s8btf1.js";
|
|
6
6
|
import { existsSync } from "node:fs";
|
|
7
7
|
import { join, resolve } from "node:path";
|
|
8
8
|
import { readFile, readdir } from "node:fs/promises";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as CliError } from "./errors-DcJ_PayO.js";
|
|
2
|
-
import { n as layout } from "./providers-
|
|
3
|
-
import { o as migrationModules, r as latestMigration, u as writesMigrations } from "./module-migration-
|
|
2
|
+
import { n as layout } from "./providers-M7s8btf1.js";
|
|
3
|
+
import { o as migrationModules, r as latestMigration, u as writesMigrations } from "./module-migration-BJaOdOWy.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 moduleKeyProblems, i as entitlementsMode, t as accessProviderMode } from "./authorization-DAYgx04b.js";
|
|
2
2
|
import { n as CliError } from "./errors-DcJ_PayO.js";
|
|
3
3
|
import { t as importFresh } from "./fresh-import-CdO2oQaQ.js";
|
|
4
|
-
import { i as schemasDirOf, r as moduleLayoutFor } from "./sql-layout-
|
|
4
|
+
import { i as schemasDirOf, r as moduleLayoutFor } from "./sql-layout-3YU4941N.js";
|
|
5
5
|
import { resolve } from "node:path";
|
|
6
6
|
import { compileReadSets, moduleLayout, modulePermissionKeys, resolveBlocks } from "better-supabase/sql";
|
|
7
7
|
import { isReadSet } from "better-supabase";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { l as stdinDatabaseUrl, n as databaseUrl } from "./config-
|
|
1
|
+
import { l as stdinDatabaseUrl, n as databaseUrl } from "./config-DdkxiGjH.js";
|
|
2
2
|
import { i as isLocalDatabaseUrl, r as databaseHost } from "./agent-Tqq3MAqx.js";
|
|
3
3
|
import { m as commandMeta, r as defineCliCommand } from "./command-CLvgELKk.js";
|
|
4
4
|
import { n as CliError, r as errorText } from "./errors-DcJ_PayO.js";
|
|
5
5
|
import { t as connect } from "./db-B8zfxjl2.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-DNd8MMNk.js";
|
|
7
|
+
import { r as STACK_ARG, t as DB_URL_STDIN_ARG } from "./source-args-C3_mMci3.js";
|
|
8
8
|
// src/cli/commands/prune-workflows.ts
|
|
9
9
|
const TERMINAL = [
|
|
10
10
|
"completed",
|
|
@@ -2,17 +2,17 @@ import { m as commandMeta, r as defineCliCommand } from "./command-CLvgELKk.js";
|
|
|
2
2
|
import { n as CliError } from "./errors-DcJ_PayO.js";
|
|
3
3
|
import { i as changeLines, n as PLAN_ARGS, r as applyPlan, t as HAND_EDITED, u as planResult } from "./files-DQayErI8.js";
|
|
4
4
|
import { r as readIfExists, t as display } from "./io-CQzy8PEZ.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-BnYh-Kpy.js";
|
|
6
6
|
import { t as detectProject } from "./detect-ad_V_zja.js";
|
|
7
|
-
import { o as sqlPlan } from "./sql-layout-
|
|
8
|
-
import { n as isComposite } from "./add-
|
|
7
|
+
import { o as sqlPlan } from "./sql-layout-3YU4941N.js";
|
|
8
|
+
import { n as isComposite } from "./add-LvxZ-JNB.js";
|
|
9
9
|
import { t as SQL_ARGS } from "./args-_ZVgRBkx.js";
|
|
10
10
|
import { _ as wiringBlocks, a as configObject, c as mask, i as closingIndex, l as properties, n as addBlocksToJson, t as addBlocksToConfig } from "./config-edit-C6sQ1MqT.js";
|
|
11
|
-
import { r as layoutFor } from "./providers-
|
|
11
|
+
import { r as layoutFor } from "./providers-M7s8btf1.js";
|
|
12
12
|
import { i as tidyInline, t as cutRange } from "./config-group-D4JWh4kG.js";
|
|
13
|
-
import { n as guardedRemoval } from "./sync-
|
|
13
|
+
import { n as guardedRemoval } from "./sync-Bfwk4Ldc.js";
|
|
14
14
|
import { i as plain } from "./style-B5-nByxb.js";
|
|
15
|
-
import { t as blockNames } from "./blocks-
|
|
15
|
+
import { t as blockNames } from "./blocks-X_eD_t_f.js";
|
|
16
16
|
import { existsSync } from "node:fs";
|
|
17
17
|
import { resolve } from "node:path";
|
|
18
18
|
import { readFile } from "node:fs/promises";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { n as CliError, r as errorText } from "./errors-DcJ_PayO.js";
|
|
2
2
|
import { n as importPath } from "./io-CQzy8PEZ.js";
|
|
3
|
-
import { i as cachedTypesModule, n as cachedDatabaseTypes, s as typesModuleKey } from "./cache-
|
|
4
|
-
import { _ as restrictSchemas, b as tsTypeOf, d as apiTypeSchemas, h as oxfmtInstalled, m as generateDatabaseTypes, u as bootstrapTables } from "./snapshot-
|
|
3
|
+
import { i as cachedTypesModule, n as cachedDatabaseTypes, s as typesModuleKey } from "./cache-D98rjB1C.js";
|
|
4
|
+
import { _ as restrictSchemas, b as tsTypeOf, d as apiTypeSchemas, h as oxfmtInstalled, m as generateDatabaseTypes, u as bootstrapTables } from "./snapshot-9xnSt525.js";
|
|
5
5
|
import { t as isRecord$1 } from "./guards-DxwRG0Uv.js";
|
|
6
6
|
import { t as byCodePoint } from "./compare-yl4sSwVn.js";
|
|
7
7
|
import { s as providerTruncatedClaim } from "./authorization-DAYgx04b.js";
|
|
8
|
-
import { a as toCatalog } from "./source-
|
|
9
|
-
import { m as withTableTags } from "./config-
|
|
8
|
+
import { a as toCatalog } from "./source-B_miugrh.js";
|
|
9
|
+
import { m as withTableTags } from "./config-DdkxiGjH.js";
|
|
10
10
|
import { basename, dirname, isAbsolute, join, posix, relative, resolve } from "node:path";
|
|
11
11
|
import { BLOCK_OPTION_SCHEMAS, DEFAULT_ROLES, SQL_MODULES, appTableEventTypes, instanceFunctions, modulePermissionKeys, readArgSource, resolveBlock, resolveBlocks, resolveProviderSql } from "better-supabase/sql";
|
|
12
12
|
import { entityNames } from "better-supabase/blocks";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { c as runsWithInvalidConfig, d as DOCS_ORIGIN, f as GROUPS, g as runCommand, h as parseArgs$2, i as joinRepeated, l as COMMANDS, o as listArgs, p as RESERVED_NAMES, s as readsLegacyTables, t as GLOBAL_ARGS } from "./command-CLvgELKk.js";
|
|
2
2
|
import { n as highlight, r as painter } from "./style-B5-nByxb.js";
|
|
3
|
-
import { t as VERSION } from "./version-
|
|
3
|
+
import { t as VERSION } from "./version-BXjNETWS.js";
|
|
4
4
|
import { a as missingInputNext, o as resolveAgent, t as checkConsent } from "./agent-Tqq3MAqx.js";
|
|
5
5
|
import { n as CliError, o as toCliError } from "./errors-DcJ_PayO.js";
|
|
6
6
|
import { a as globalFlags, c as resolveCommand, i as commandTree, n as closestName, o as isVariadic, r as commandArgs, t as checkArgs } from "./parse-BwGYCpEv.js";
|
|
@@ -19,48 +19,48 @@ const LOADERS = [
|
|
|
19
19
|
["login", () => import("./account-C1vKOJOX.js").then((m) => m.loginCommand)],
|
|
20
20
|
["logout", () => import("./account-C1vKOJOX.js").then((m) => m.logoutCommand)],
|
|
21
21
|
["whoami", () => import("./account-C1vKOJOX.js").then((m) => m.whoamiCommand)],
|
|
22
|
-
["init", () => import("./init-
|
|
23
|
-
["add", () => import("./add-
|
|
24
|
-
["remove", () => import("./remove-
|
|
25
|
-
["upgrade", () => import("./upgrade-
|
|
22
|
+
["init", () => import("./init-CAWeLXCs.js").then((m) => m.initCommand)],
|
|
23
|
+
["add", () => import("./add-D0TUMxXn.js").then((m) => m.addCommand)],
|
|
24
|
+
["remove", () => import("./remove-BHyzqWNm.js").then((m) => m.removeCommand)],
|
|
25
|
+
["upgrade", () => import("./upgrade-DRvMFW2T.js").then((m) => m.upgradeCommand)],
|
|
26
26
|
["table", () => import("./table-Cup45iWj.js").then((m) => m.tableCommand)],
|
|
27
|
-
["migrate schema-first", () => import("./migrate-
|
|
28
|
-
["gen", () => import("./gen-
|
|
29
|
-
["doctor", () => import("./doctor-
|
|
30
|
-
["db query", () => import("./db-
|
|
31
|
-
["db diff", () => import("./db-
|
|
32
|
-
["db seed", () => import("./seed-
|
|
33
|
-
["db backfill", () => import("./backfill-
|
|
34
|
-
["db prune-workflows", () => import("./prune-workflows-
|
|
27
|
+
["migrate schema-first", () => import("./migrate-D-GzXR4D.js").then((m) => m.migrateSchemaFirstCommand)],
|
|
28
|
+
["gen", () => import("./gen-D47t5jj3.js").then((m) => m.genCommand)],
|
|
29
|
+
["doctor", () => import("./doctor-BYJM72wi.js").then((m) => m.doctorCommand)],
|
|
30
|
+
["db query", () => import("./db-B54TQ_iX.js").then((m) => m.dbQueryCommand)],
|
|
31
|
+
["db diff", () => import("./db-B54TQ_iX.js").then((m) => m.dbDiffCommand)],
|
|
32
|
+
["db seed", () => import("./seed-BxjjQ3OO.js").then((m) => m.seedCommand)],
|
|
33
|
+
["db backfill", () => import("./backfill-i0Tx24Sa.js").then((m) => m.dbBackfillCommand)],
|
|
34
|
+
["db prune-workflows", () => import("./prune-workflows-BiRF1YBZ.js").then((m) => m.dbPruneWorkflowsCommand)],
|
|
35
35
|
["dev env", () => import("./env-BMQqBhS_.js").then((m) => m.envCommand)],
|
|
36
36
|
["dev run", () => import("./run-CAvLtfJG.js").then((m) => m.runCommand)],
|
|
37
37
|
["dev keys", () => import("./keys-BnVLA3NK.js").then((m) => m.keysCommand)],
|
|
38
38
|
["dev stack ls", () => import("./stack-DINh7KWu.js").then((m) => m.stackLsCommand)],
|
|
39
39
|
["dev stack prune", () => import("./stack-DINh7KWu.js").then((m) => m.stackPruneCommand)],
|
|
40
40
|
["automations list", () => import("./automations-0G37FqXw.js").then((m) => m.automationsListCommand)],
|
|
41
|
-
["blocks list", () => import("./blocks-
|
|
42
|
-
["blocks view", () => import("./blocks-
|
|
43
|
-
["blocks search", () => import("./blocks-
|
|
44
|
-
["powersync streams", () => import("./powersync-
|
|
45
|
-
["spec emit", () => import("./spec-
|
|
46
|
-
["spec validate", () => import("./spec-
|
|
47
|
-
["mcp", () => import("./mcp-
|
|
41
|
+
["blocks list", () => import("./blocks-C_7ioBdJ.js").then((m) => m.blocksListCommand)],
|
|
42
|
+
["blocks view", () => import("./blocks-C_7ioBdJ.js").then((m) => m.blocksViewCommand)],
|
|
43
|
+
["blocks search", () => import("./blocks-C_7ioBdJ.js").then((m) => m.blocksSearchCommand)],
|
|
44
|
+
["powersync streams", () => import("./powersync-Bn-u0TGP.js").then((m) => m.powersyncStreamsCommand)],
|
|
45
|
+
["spec emit", () => import("./spec-BeAgQ-of.js").then((m) => m.specEmitCommand)],
|
|
46
|
+
["spec validate", () => import("./spec-BeAgQ-of.js").then((m) => m.specValidateCommand)],
|
|
47
|
+
["mcp", () => import("./mcp-BUs7M6fq.js").then((m) => m.mcpCommand)],
|
|
48
48
|
["skills list", () => import("./skills-aC7X7bhq.js").then((m) => m.skillsListCommand)],
|
|
49
49
|
["skills install", () => import("./skills-aC7X7bhq.js").then((m) => m.skillsInstallCommand)],
|
|
50
|
-
["codemod 0.4", () => import("./codemod-
|
|
51
|
-
["codemod 0.5", () => import("./codemod-
|
|
52
|
-
["codemod 0.6", () => import("./codemod-
|
|
53
|
-
["codemod 0.9", () => import("./codemod-
|
|
54
|
-
["codemod 0.11", () => import("./codemod-
|
|
55
|
-
["codemod 0.15", () => import("./codemod-
|
|
56
|
-
["codemod 0.29", () => import("./codemod-
|
|
57
|
-
["codemod 0.32", () => import("./codemod-
|
|
58
|
-
["codemod 0.35", () => import("./codemod-
|
|
59
|
-
["codemod 0.37", () => import("./codemod-
|
|
60
|
-
["codemod 0.46", () => import("./codemod-
|
|
61
|
-
["codemod 0.47", () => import("./codemod-
|
|
62
|
-
["codemod 0.53", () => import("./codemod-
|
|
63
|
-
["codemod read-many", () => import("./codemod-
|
|
50
|
+
["codemod 0.4", () => import("./codemod-j1nCkgA5.js").then((m) => m.codemodCommand("0.4"))],
|
|
51
|
+
["codemod 0.5", () => import("./codemod-j1nCkgA5.js").then((m) => m.codemodCommand("0.5"))],
|
|
52
|
+
["codemod 0.6", () => import("./codemod-j1nCkgA5.js").then((m) => m.codemodCommand("0.6"))],
|
|
53
|
+
["codemod 0.9", () => import("./codemod-j1nCkgA5.js").then((m) => m.codemodCommand("0.9"))],
|
|
54
|
+
["codemod 0.11", () => import("./codemod-j1nCkgA5.js").then((m) => m.codemodCommand("0.11"))],
|
|
55
|
+
["codemod 0.15", () => import("./codemod-j1nCkgA5.js").then((m) => m.codemodCommand("0.15"))],
|
|
56
|
+
["codemod 0.29", () => import("./codemod-j1nCkgA5.js").then((m) => m.codemodCommand("0.29"))],
|
|
57
|
+
["codemod 0.32", () => import("./codemod-j1nCkgA5.js").then((m) => m.codemodCommand("0.32"))],
|
|
58
|
+
["codemod 0.35", () => import("./codemod-j1nCkgA5.js").then((m) => m.codemodCommand("0.35"))],
|
|
59
|
+
["codemod 0.37", () => import("./codemod-j1nCkgA5.js").then((m) => m.codemodCommand("0.37"))],
|
|
60
|
+
["codemod 0.46", () => import("./codemod-j1nCkgA5.js").then((m) => m.codemodCommand("0.46"))],
|
|
61
|
+
["codemod 0.47", () => import("./codemod-j1nCkgA5.js").then((m) => m.codemodCommand("0.47"))],
|
|
62
|
+
["codemod 0.53", () => import("./codemod-j1nCkgA5.js").then((m) => m.codemodCommand("0.53"))],
|
|
63
|
+
["codemod read-many", () => import("./codemod-j1nCkgA5.js").then((m) => m.codemodCommand("read-many"))],
|
|
64
64
|
["completion", () => import("./completion-Q1M-cdP-.js").then((m) => m.completionCommand)],
|
|
65
65
|
["config", () => import("./config-COfXd-G3.js").then((m) => m.configCommand)]
|
|
66
66
|
];
|
|
@@ -607,7 +607,7 @@ function cliFromTree(init, extra = {}) {
|
|
|
607
607
|
try {
|
|
608
608
|
const [loaded, { defaultConfig, discoverConfig, loadConfig }, { configEnvironment, isCi, parseEnv }] = await Promise.all([
|
|
609
609
|
node.load(),
|
|
610
|
-
import("./config-
|
|
610
|
+
import("./config-DmjFp8jY.js"),
|
|
611
611
|
import("./env-DcxRyArf.js")
|
|
612
612
|
]);
|
|
613
613
|
command = loaded;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { a as moduleKeyProblems, c as unsafeKey, i as entitlementsMode, n as accessRequirements, o as providerLabel, r as entitlementRequirements } from "./authorization-DAYgx04b.js";
|
|
2
|
-
import { S as typegenVersionNotice, h as oxfmtInstalled, t as loadSnapshot, x as typegenVersion, y as stabilizeMetadata } from "./snapshot-
|
|
3
|
-
import { s as schemaStampPath } from "./content-mapper-
|
|
2
|
+
import { S as typegenVersionNotice, h as oxfmtInstalled, t as loadSnapshot, x as typegenVersion, y as stabilizeMetadata } from "./snapshot-9xnSt525.js";
|
|
3
|
+
import { s as schemaStampPath } from "./content-mapper-UsLt4y0J.js";
|
|
4
4
|
import { a as changedFiles, d as fileDiff, i as changeLines, r as applyPlan, s as hasConflicts } from "./files-DQayErI8.js";
|
|
5
5
|
import { a as sameText, t as display } from "./io-CQzy8PEZ.js";
|
|
6
|
-
import { n as adoptionContext, r as appTablesOf, t as accessModule } from "./app-tables-
|
|
6
|
+
import { n as adoptionContext, r as appTablesOf, t as accessModule } from "./app-tables-BfWPWiOJ.js";
|
|
7
7
|
import { r as errorText } from "./errors-DcJ_PayO.js";
|
|
8
|
-
import { l as tableObject, n as exposed, o as policyObject, s as qualified, t as catalogOf } from "./shared-
|
|
9
|
-
import { c as writeAtomic, o as storeTypesModule, s as typesModuleKey, t as CACHE_DIR } from "./cache-
|
|
10
|
-
import { a as compiledReadSets } from "./providers-
|
|
11
|
-
import { n as migrationsDir } from "./sql-layout-
|
|
12
|
-
import { c as sameModuleMigration, l as writeLatestMigration, n as READ_SETS_SUFFIX, r as latestMigration, u as writesMigrations } from "./module-migration-
|
|
8
|
+
import { l as tableObject, n as exposed, o as policyObject, s as qualified, t as catalogOf } from "./shared-Cv22MEAO.js";
|
|
9
|
+
import { c as writeAtomic, o as storeTypesModule, s as typesModuleKey, t as CACHE_DIR } from "./cache-D98rjB1C.js";
|
|
10
|
+
import { a as compiledReadSets } from "./providers-M7s8btf1.js";
|
|
11
|
+
import { n as migrationsDir } from "./sql-layout-3YU4941N.js";
|
|
12
|
+
import { c as sameModuleMigration, l as writeLatestMigration, n as READ_SETS_SUFFIX, r as latestMigration, u as writesMigrations } from "./module-migration-BJaOdOWy.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-DDCy_0V_.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";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { n as seedCommand } from "./seed-kCLEYSOH.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { l as stdinDatabaseUrl, n as databaseUrl, o as importExport } from "./config-
|
|
1
|
+
import { l as stdinDatabaseUrl, n as databaseUrl, o as importExport } from "./config-DdkxiGjH.js";
|
|
2
2
|
import { i as isLocalDatabaseUrl, r as databaseHost } from "./agent-Tqq3MAqx.js";
|
|
3
3
|
import { m as commandMeta, r as defineCliCommand } from "./command-CLvgELKk.js";
|
|
4
4
|
import { c as insideRoot, i as changeLines, n as PLAN_ARGS, r as applyPlan, s as hasConflicts, u as planResult } from "./files-DQayErI8.js";
|
|
@@ -6,7 +6,7 @@ import { t as display } from "./io-CQzy8PEZ.js";
|
|
|
6
6
|
import { t as connect } from "./db-B8zfxjl2.js";
|
|
7
7
|
import { m as supabaseDir } from "./supabase-toml-B6-eEV5p.js";
|
|
8
8
|
import { d as requestSample, f as tokenPath, l as CloudError, n as cloudUrl, t as cloudFailure, u as activeLogin } from "./account-MSvhufSp.js";
|
|
9
|
-
import { r as STACK_ARG, t as DB_URL_STDIN_ARG } from "./source-args-
|
|
9
|
+
import { r as STACK_ARG, t as DB_URL_STDIN_ARG } from "./source-args-C3_mMci3.js";
|
|
10
10
|
import { existsSync } from "node:fs";
|
|
11
11
|
import { dirname, resolve } from "node:path";
|
|
12
12
|
import { mkdir, readFile, writeFile } from "node:fs/promises";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as toCatalog } from "./source-
|
|
1
|
+
import { a as toCatalog } from "./source-B_miugrh.js";
|
|
2
2
|
import { h as tomlGet, p as sqlWorkflow, r as detectWorkflow } from "./supabase-toml-B6-eEV5p.js";
|
|
3
3
|
// src/cli/doctor/shared.ts
|
|
4
4
|
const catalogs = /* @__PURE__ */ new WeakMap();
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { n as databaseUrl, u as accessToken } from "./config-
|
|
1
|
+
import { n as databaseUrl, u as accessToken } from "./config-DdkxiGjH.js";
|
|
2
2
|
import { n as CliError, r as errorText } from "./errors-DcJ_PayO.js";
|
|
3
3
|
import { t as connect } from "./db-B8zfxjl2.js";
|
|
4
|
-
import { d as readExtras, l as TYPEGEN_VERSION, r as cachedIntrospect } from "./cache-
|
|
4
|
+
import { d as readExtras, l as TYPEGEN_VERSION, r as cachedIntrospect } from "./cache-D98rjB1C.js";
|
|
5
5
|
import { t as byCodePoint } from "./compare-yl4sSwVn.js";
|
|
6
6
|
import { d as readSupabaseToml, f as schemaPaths, h as tomlGet, u as pgFunctionHooks } from "./supabase-toml-B6-eEV5p.js";
|
|
7
|
-
import { n as managementSource, r as pgSource } from "./source-
|
|
7
|
+
import { n as managementSource, r as pgSource } from "./source-B_miugrh.js";
|
|
8
8
|
import { existsSync } from "node:fs";
|
|
9
9
|
import { dirname, join, resolve } from "node:path";
|
|
10
10
|
import { readFile, readdir } from "node:fs/promises";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as VERSION } from "./version-
|
|
1
|
+
import { t as VERSION } from "./version-BXjNETWS.js";
|
|
2
2
|
import { n as CliError } from "./errors-DcJ_PayO.js";
|
|
3
3
|
import { r as redactUrl } from "./redact--zOGdWzo.js";
|
|
4
4
|
import { n as HTTP_CHANNEL } from "./trace-D3TNqWBg.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { n as specEmitCommand, i as specValidateCommand } from "./spec-
|
|
1
|
+
export { n as specEmitCommand, i as specValidateCommand } from "./spec-dYLJbr9J.js";
|
|
@@ -3,8 +3,8 @@ import { m as commandMeta, r as defineCliCommand } from "./command-CLvgELKk.js";
|
|
|
3
3
|
import { i as failedResult, n as CliError, r as errorText } from "./errors-DcJ_PayO.js";
|
|
4
4
|
import { a as changedFiles, i as changeLines, r as applyPlan } from "./files-DQayErI8.js";
|
|
5
5
|
import { t as display } from "./io-CQzy8PEZ.js";
|
|
6
|
-
import { c as writeAtomic, t as CACHE_DIR } from "./cache-
|
|
7
|
-
import { t as VERSION } from "./version-
|
|
6
|
+
import { c as writeAtomic, t as CACHE_DIR } from "./cache-D98rjB1C.js";
|
|
7
|
+
import { t as VERSION } from "./version-BXjNETWS.js";
|
|
8
8
|
import { t as importFresh } from "./fresh-import-CdO2oQaQ.js";
|
|
9
9
|
import { t as isRecord } from "./guards-DxwRG0Uv.js";
|
|
10
10
|
import { t as loadTopics } from "./topics-Cdg0V7Tt.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as byCodePoint } from "./compare-yl4sSwVn.js";
|
|
2
2
|
import { t as detectProject } from "./detect-ad_V_zja.js";
|
|
3
3
|
import { d as readSupabaseToml, f as schemaPaths, n as declarativeSchemasDir, p as sqlWorkflow, u as pgFunctionHooks } from "./supabase-toml-B6-eEV5p.js";
|
|
4
|
-
import { i as parseSnapshot, p as TypegenMissingError } from "./snapshot-
|
|
5
|
-
import { a as toCatalog } from "./source-
|
|
4
|
+
import { i as parseSnapshot, p as TypegenMissingError } from "./snapshot-9xnSt525.js";
|
|
5
|
+
import { a as toCatalog } from "./source-B_miugrh.js";
|
|
6
6
|
import { existsSync } from "node:fs";
|
|
7
7
|
import { dirname, join, posix, relative, resolve, sep } from "node:path";
|
|
8
8
|
import { glob, readFile, readdir } from "node:fs/promises";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { d as fileDiff, i as changeLines, l as keepHandEdit, o as handEditedError, r as applyPlan, t as HAND_EDITED, u as planResult } from "./files-DQayErI8.js";
|
|
2
2
|
import { t as display } from "./io-CQzy8PEZ.js";
|
|
3
|
-
import { n as migrationsDir, o as sqlPlan } from "./sql-layout-
|
|
3
|
+
import { n as migrationsDir, o as sqlPlan } from "./sql-layout-3YU4941N.js";
|
|
4
4
|
import { n as CliError } from "./errors-DcJ_PayO.js";
|
|
5
5
|
import { t as loadTopics } from "./topics-Cdg0V7Tt.js";
|
|
6
|
-
import { c as sameModuleMigration, l as writeLatestMigration, r as latestMigration, s as renderModuleMigration, t as MODULES_SUFFIX, u as writesMigrations } from "./module-migration-
|
|
6
|
+
import { c as sameModuleMigration, l as writeLatestMigration, r as latestMigration, s as renderModuleMigration, t as MODULES_SUFFIX, u as writesMigrations } from "./module-migration-BJaOdOWy.js";
|
|
7
7
|
import { t as orphanedBlockFiles } from "./orphans-ByB0gKOp.js";
|
|
8
|
-
import { r as layoutFor } from "./providers-
|
|
8
|
+
import { r as layoutFor } from "./providers-M7s8btf1.js";
|
|
9
9
|
import { d as readSupabaseToml, f as schemaPaths, h as tomlGet, i as diffEngine, l as migrationCommand, o as findSupabaseRoot, p as sqlWorkflow, t as PGDELTA_TABLE } from "./supabase-toml-B6-eEV5p.js";
|
|
10
|
-
import { a as writeExtensionsMigration, t as DATA_NEXT } from "./migrations-
|
|
10
|
+
import { a as writeExtensionsMigration, t as DATA_NEXT } from "./migrations-Bhcf7MHM.js";
|
|
11
11
|
import { dirname, join, resolve } from "node:path";
|
|
12
12
|
import { readFile, readdir } from "node:fs/promises";
|
|
13
13
|
import { APP_TABLES_MARKER, APP_TABLES_MODULE, currentBlockName, moduleTopics, renderBlocks, resolveBlocks, sameBlockFile } from "better-supabase/sql";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { d as fileDiff, i as changeLines, r as applyPlan } from "./files-DQayErI8.js";
|
|
2
2
|
import { t as display } from "./io-CQzy8PEZ.js";
|
|
3
|
-
import { n as migrationsDir, o as sqlPlan } from "./sql-layout-
|
|
4
|
-
import { a as write, o as topicPolicyFile, r as nextStep } from "./sync-
|
|
3
|
+
import { n as migrationsDir, o as sqlPlan } from "./sql-layout-3YU4941N.js";
|
|
4
|
+
import { a as write, o as topicPolicyFile, r as nextStep } from "./sync-Bfwk4Ldc.js";
|
|
5
5
|
import { a as legacyPrefixSql, i as legacyPrefixNames, r as legacyBlocksTableSql } from "./legacy-prefix-D8Jfku6I.js";
|
|
6
|
-
import { r as migrationStamp } from "./migrations-
|
|
7
|
-
import { a as migrationInstances, c as sameModuleMigration, o as migrationModules, r as latestMigration, s as renderModuleMigration, t as MODULES_SUFFIX, u as writesMigrations } from "./module-migration-
|
|
8
|
-
import { r as layoutFor } from "./providers-
|
|
6
|
+
import { r as migrationStamp } from "./migrations-Bhcf7MHM.js";
|
|
7
|
+
import { a as migrationInstances, c as sameModuleMigration, o as migrationModules, r as latestMigration, s as renderModuleMigration, t as MODULES_SUFFIX, u as writesMigrations } from "./module-migration-BJaOdOWy.js";
|
|
8
|
+
import { r as layoutFor } from "./providers-M7s8btf1.js";
|
|
9
9
|
import { resolve } from "node:path";
|
|
10
10
|
import { readFile } from "node:fs/promises";
|
|
11
11
|
import { BLOCK_RENAMES, SQL_MODULES, currentBlockName, entityRenamePlan, formerBlockName, moduleFileVersion, moduleTopics, renderBlocks, sameBlockFile, upgradePlan } from "better-supabase/sql";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { m as commandMeta, r as defineCliCommand } from "./command-CLvgELKk.js";
|
|
2
2
|
import { t as SQL_ARGS } from "./args-_ZVgRBkx.js";
|
|
3
|
-
import { t as syncModules } from "./sync-
|
|
4
|
-
import { t as upgrade } from "./upgrade-
|
|
3
|
+
import { t as syncModules } from "./sync-Bfwk4Ldc.js";
|
|
4
|
+
import { t as upgrade } from "./upgrade-BMrkzAcD.js";
|
|
5
5
|
import { i as plain } from "./style-B5-nByxb.js";
|
|
6
6
|
// src/cli/commands/upgrade.ts
|
|
7
7
|
const UPGRADE_ARGS = {
|
package/dist/client/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { a as DataSync, c as LocalTablesOption, i as DataEntry, l as liveEngine, n as DataEngine, o as DataSyncState, r as DataEngineOptions, s as LiveEngineOptions, t as DataChanges, u as memoryEngine } from "../data-engine-
|
|
2
|
-
import { n as TopicPort, r as TopicWatch, t as TopicHandle } from "../watch-topic-
|
|
3
|
-
import { a as PickFilesOptions, c as Shortcut, d as UploadPort, f as memoryStorage, i as KeyboardPort, l as StoragePort, n as DeepLinkPort, o as PickedFile, p as storageUpload, r as FilePickerPort, s as PushTokenPort, t as ClientPorts, u as UploadDestination } from "../ports-
|
|
4
|
-
import { a as ClientAuth, i as BindClientOptions, n as AuthUser, o as bindClient, r as BetterClient, t as AuthSnapshot } from "../bind-
|
|
5
|
-
import { a as defineController, i as ControllerState, n as Controller, o as whileSignedIn, r as ControllerParts, t as AuthPort } from "../controller-
|
|
1
|
+
import { a as DataSync, c as LocalTablesOption, i as DataEntry, l as liveEngine, n as DataEngine, o as DataSyncState, r as DataEngineOptions, s as LiveEngineOptions, t as DataChanges, u as memoryEngine } from "../data-engine-0uVsKWaB.js";
|
|
2
|
+
import { n as TopicPort, r as TopicWatch, t as TopicHandle } from "../watch-topic-C_rGHxIA.js";
|
|
3
|
+
import { a as PickFilesOptions, c as Shortcut, d as UploadPort, f as memoryStorage, i as KeyboardPort, l as StoragePort, n as DeepLinkPort, o as PickedFile, p as storageUpload, r as FilePickerPort, s as PushTokenPort, t as ClientPorts, u as UploadDestination } from "../ports-DvaVv_3b.js";
|
|
4
|
+
import { a as ClientAuth, i as BindClientOptions, n as AuthUser, o as bindClient, r as BetterClient, t as AuthSnapshot } from "../bind-DiGmjHzz.js";
|
|
5
|
+
import { a as defineController, i as ControllerState, n as Controller, o as whileSignedIn, r as ControllerParts, t as AuthPort } from "../controller-BVee4yX8.js";
|
|
6
6
|
import { i as authzUserTopic, r as AuthzVersionSource, t as AUTHZ_EVENT } from "../authz-topic-C7n3kIm_.js";
|
|
7
7
|
import { n as FunctionContract } from "../function-contract-CMJR3nYl.js";
|
|
8
|
-
import { a as webDeepLinks, c as webPorts, d as FunctionContracts, f as FunctionsHost, h as functions, i as WebPushTokenOptions, l as webPushToken, m as TypedFunctions, n as createClient, o as webFilePicker, p as InvokeOptions, r as PushRegistrationLike, s as webKeyboard, t as ClientOptions, u as webStorage } from "../index-
|
|
8
|
+
import { a as webDeepLinks, c as webPorts, d as FunctionContracts, f as FunctionsHost, h as functions, i as WebPushTokenOptions, l as webPushToken, m as TypedFunctions, n as createClient, o as webFilePicker, p as InvokeOptions, r as PushRegistrationLike, s as webKeyboard, t as ClientOptions, u as webStorage } from "../index-ChaJiMkI.js";
|
|
9
9
|
export { AUTHZ_EVENT, type AuthPort, type AuthSnapshot, type AuthUser, type AuthzVersionSource, type BetterClient, type BindClientOptions, type ClientAuth, ClientOptions, type ClientPorts, type Controller, type ControllerParts, type ControllerState, type DataChanges, type DataEngine, type DataEngineOptions, type DataEntry, type DataSync, type DataSyncState, type DeepLinkPort, type FilePickerPort, type FunctionContract, type FunctionContracts, type FunctionsHost, type InvokeOptions, type KeyboardPort, type LiveEngineOptions, type LocalTablesOption, type PickFilesOptions, type PickedFile, type PushRegistrationLike, type PushTokenPort, type Shortcut, type StoragePort, type TopicHandle, type TopicPort, type TopicWatch, type TypedFunctions, type UploadDestination, type UploadPort, type WebPushTokenOptions, authzUserTopic, bindClient, createClient, defineController, functions, liveEngine, memoryEngine, memoryStorage, storageUpload, webDeepLinks, webFilePicker, webKeyboard, webPorts, webPushToken, webStorage, whileSignedIn };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { a as ClientAuth, i as BindClientOptions, n as AuthUser, o as bindClient, r as BetterClient, t as AuthSnapshot } from "../../bind-
|
|
1
|
+
import { a as ClientAuth, i as BindClientOptions, n as AuthUser, o as bindClient, r as BetterClient, t as AuthSnapshot } from "../../bind-DiGmjHzz.js";
|
|
2
2
|
import { a as OAuthSignInOptions, c as linkParams, i as OAuthClient, l as signInWithOAuthBrowser, n as AuthLinkClient, o as WebBrowserLike, r as AuthLinkResult, s as handleAuthDeepLink, t as AuthFailure } from "../../auth-link-DRjtI1Ky.js";
|
|
3
|
-
import { n as TopicPort, r as TopicWatch, t as TopicHandle } from "../../watch-topic-
|
|
3
|
+
import { n as TopicPort, r as TopicWatch, t as TopicHandle } from "../../watch-topic-C_rGHxIA.js";
|
|
4
4
|
import { i as authzUserTopic, r as AuthzVersionSource, t as AUTHZ_EVENT } from "../../authz-topic-C7n3kIm_.js";
|
|
5
5
|
import { a as AppStateLike, i as startNativeAuthzRefresh, n as NativeAuthzRefreshOptions, o as AutoRefreshClient, r as PowerSyncReconnect, s as autoRefreshOnForeground, t as NativeAuthzRefreshClient } from "../../authz-refresh-DIqPTJZe.js";
|
|
6
|
-
import { a as PickFilesOptions, c as Shortcut, d as UploadPort, f as memoryStorage, i as KeyboardPort, l as StoragePort, n as DeepLinkPort, o as PickedFile, p as storageUpload, r as FilePickerPort, s as PushTokenPort, t as ClientPorts, u as UploadDestination } from "../../ports-
|
|
7
|
-
import { n as ExpoPushTokenOptions, r as expoPushToken, t as ExpoNotificationsLike } from "../../push-token-
|
|
6
|
+
import { a as PickFilesOptions, c as Shortcut, d as UploadPort, f as memoryStorage, i as KeyboardPort, l as StoragePort, n as DeepLinkPort, o as PickedFile, p as storageUpload, r as FilePickerPort, s as PushTokenPort, t as ClientPorts, u as UploadDestination } from "../../ports-DvaVv_3b.js";
|
|
7
|
+
import { n as ExpoPushTokenOptions, r as expoPushToken, t as ExpoNotificationsLike } from "../../push-token-C6ZGE1g0.js";
|
|
8
8
|
import { T as UploadOptions, w as UploadBody } from "../../bucket-DJu58KBb.js";
|
|
9
9
|
import { t as AsyncResult } from "../../result-CMqlHv82.js";
|
|
10
10
|
import { SupabaseClient } from "@supabase/supabase-js";
|