better-supabase 0.55.0 → 0.56.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-CBXJce8J.d.ts → agents-DJChYmXn.d.ts} +2 -2
- package/dist/{ai-schedules-CtwkMJDZ.d.ts → ai-schedules-5fxfEOWM.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-BsDmauWB.d.ts → app-tables-CWnf7wpo.d.ts} +1 -1
- package/dist/{authorization-DK7YSiFV.d.ts → authorization-Hh9xUm0r.d.ts} +1 -1
- package/dist/{bind-DiGmjHzz.d.ts → bind-CC5-eBT-.d.ts} +3 -3
- package/dist/{block-env-BTKZBCL4.d.ts → block-env-CzT1OAiI.d.ts} +4 -4
- package/dist/{block-subjects-BoJrJAgR.js → block-subjects-B9hb1LLk.js} +2 -2
- package/dist/{block-tables-B6Jt0mWg.d.ts → block-tables-DOGtmm0m.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/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/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 +249 -43
- package/dist/blocks/deadlines/index.js +862 -20
- package/dist/blocks/deals/index.d.ts +1 -1
- package/dist/blocks/dispatch/index.d.ts +2 -2
- package/dist/blocks/document-templates/index.d.ts +2 -2
- package/dist/blocks/documents/index.d.ts +1 -1
- package/dist/blocks/domains/index.d.ts +1 -1
- package/dist/blocks/donations/index.d.ts +1 -1
- package/dist/blocks/drive/index.d.ts +5 -5
- package/dist/blocks/e-prescribing/index.d.ts +1 -1
- package/dist/blocks/employees/index.d.ts +1 -1
- package/dist/blocks/enrichment/index.d.ts +1 -1
- package/dist/blocks/enrollments/index.d.ts +2 -2
- package/dist/blocks/entitlements/index.d.ts +3 -3
- package/dist/blocks/events/index.d.ts +3 -3
- package/dist/blocks/expenses/index.d.ts +1 -1
- package/dist/blocks/field-history/index.d.ts +1 -1
- package/dist/blocks/filespace/index.d.ts +8 -8
- package/dist/blocks/finance/index.d.ts +5 -5
- package/dist/blocks/flags/index.d.ts +1 -1
- package/dist/blocks/forecasts/index.d.ts +1 -1
- package/dist/blocks/forms/index.d.ts +3 -3
- package/dist/blocks/funding/index.d.ts +2 -2
- package/dist/blocks/goals/index.d.ts +1 -1
- package/dist/blocks/governance/index.d.ts +4 -4
- package/dist/blocks/guests/index.d.ts +1 -1
- package/dist/blocks/hiring/index.d.ts +1 -1
- package/dist/blocks/identities/index.d.ts +1 -1
- package/dist/blocks/imports/index.d.ts +2 -2
- package/dist/blocks/inbox/index.d.ts +6 -6
- package/dist/blocks/incidents/index.d.ts +1 -1
- package/dist/blocks/index.d.ts +3 -3
- package/dist/blocks/inspections/index.d.ts +2 -2
- package/dist/blocks/inventory/index.d.ts +1 -1
- package/dist/blocks/invoices/index.d.ts +1 -1
- package/dist/blocks/knowledge/index.d.ts +1 -1
- package/dist/blocks/lead-scoring/index.d.ts +2 -2
- package/dist/blocks/learning/index.d.ts +3 -3
- package/dist/blocks/leases/index.d.ts +1 -1
- package/dist/blocks/leave/index.d.ts +1 -1
- package/dist/blocks/ledger/index.d.ts +1 -1
- package/dist/blocks/legal-entities/index.d.ts +2 -2
- package/dist/blocks/lims/index.d.ts +2 -2
- package/dist/blocks/mail-sync/index.d.ts +3 -3
- package/dist/blocks/maintenance/index.d.ts +2 -2
- package/dist/blocks/manufacturing/index.d.ts +2 -2
- package/dist/blocks/medications/index.d.ts +1 -1
- package/dist/blocks/meetings/index.d.ts +3 -3
- package/dist/blocks/memberships/index.d.ts +2 -2
- package/dist/blocks/memory/index.d.ts +1 -1
- package/dist/blocks/messaging/index.d.ts +5 -5
- package/dist/blocks/metrics/index.d.ts +1 -1
- package/dist/blocks/mfa/index.d.ts +2 -2
- package/dist/blocks/moderation/index.d.ts +2 -2
- package/dist/blocks/notifications/index.d.ts +5 -5
- package/dist/blocks/numbering/index.d.ts +1 -1
- package/dist/blocks/oauth-server/index.d.ts +1 -1
- package/dist/blocks/observations/index.d.ts +2 -2
- package/dist/blocks/onboarding/index.d.ts +2 -2
- package/dist/blocks/option-sets/index.d.ts +2 -2
- package/dist/blocks/orders/index.d.ts +1 -1
- package/dist/blocks/organizations/index.d.ts +2 -2
- package/dist/blocks/outbox/index.d.ts +1 -1
- package/dist/blocks/passes/index.d.ts +2 -2
- package/dist/blocks/payroll-export/index.d.ts +2 -2
- package/dist/blocks/people/index.d.ts +7 -7
- package/dist/blocks/periods/index.d.ts +1 -1
- package/dist/blocks/permissions/index.d.ts +3 -3
- package/dist/blocks/pipelines/index.d.ts +1 -1
- package/dist/blocks/posts/index.d.ts +2 -2
- package/dist/blocks/procurement/index.d.ts +5 -5
- package/dist/blocks/profiles/index.d.ts +1 -1
- package/dist/blocks/projects/index.d.ts +7 -7
- package/dist/blocks/promotions/index.d.ts +1 -1
- package/dist/blocks/prompts/index.d.ts +1 -1
- package/dist/blocks/push/index.d.ts +2 -2
- package/dist/blocks/qualifications/index.d.ts +2 -2
- package/dist/blocks/queue/index.d.ts +2 -2
- package/dist/blocks/quotes/index.d.ts +1 -1
- package/dist/blocks/rank/index.d.ts +1 -1
- package/dist/blocks/reactions/index.d.ts +4 -4
- package/dist/blocks/recruiting/index.d.ts +4 -4
- package/dist/blocks/referrals/index.d.ts +1 -1
- package/dist/blocks/relations/index.d.ts +1 -1
- package/dist/blocks/reminders/index.d.ts +1 -1
- package/dist/blocks/reviews/index.d.ts +1 -1
- package/dist/blocks/rfqs/index.d.ts +2 -2
- package/dist/blocks/risks/index.d.ts +2 -2
- package/dist/blocks/saas/index.d.ts +12 -12
- package/dist/blocks/sales/index.d.ts +1 -1
- package/dist/blocks/saved-views/index.d.ts +2 -2
- package/dist/blocks/scheduling/index.d.ts +4 -4
- package/dist/blocks/scores/index.d.ts +2 -2
- package/dist/blocks/search/index.d.ts +3 -3
- package/dist/blocks/security-events/index.d.ts +1 -1
- package/dist/blocks/segments/index.d.ts +2 -2
- package/dist/blocks/sequences/index.d.ts +3 -3
- package/dist/blocks/service/index.d.ts +7 -7
- package/dist/blocks/service-accounts/index.d.ts +1 -1
- package/dist/blocks/sessions/index.d.ts +2 -2
- package/dist/blocks/settings/index.d.ts +2 -2
- package/dist/blocks/share-links/index.d.ts +1 -1
- package/dist/blocks/shifts/index.d.ts +2 -2
- package/dist/blocks/shipments/index.d.ts +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/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-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-2HFgUcqG.d.ts → blocks-DvWEz8mQ.d.ts} +4 -4
- package/dist/claims/index.d.ts +3 -3
- package/dist/cli/{add-LvxZ-JNB.js → add--O_HFhs0.js} +2 -2
- package/dist/cli/add-CUAchifS.js +1 -0
- package/dist/cli/{add-BnYh-Kpy.js → add-DT2QsJB0.js} +10 -10
- package/dist/cli/{app-table-files-7M0I9LaE.js → app-table-files-BjMDa_7_.js} +2 -2
- package/dist/cli/{app-tables-BfWPWiOJ.js → app-tables-D34g1ASz.js} +2 -2
- package/dist/cli/{backfill-i0Tx24Sa.js → backfill-DWD5chCd.js} +1 -1
- package/dist/cli/bin.js +1 -1
- package/dist/cli/{blocks-C_7ioBdJ.js → blocks-BduQcXFb.js} +1 -1
- package/dist/cli/{blocks-X_eD_t_f.js → blocks-DKs7Qj8R.js} +1 -1
- package/dist/cli/{cache-D98rjB1C.js → cache-EFwNdKib.js} +1 -1
- package/dist/cli/{codemod-j1nCkgA5.js → codemod-CuaWRwst.js} +1 -1
- package/dist/cli/{content-mapper-UsLt4y0J.js → content-mapper-BlOMmIM2.js} +2 -2
- package/dist/cli/{doctor-BYJM72wi.js → doctor-JdxWuscJ.js} +15 -15
- package/dist/cli/{gen-D47t5jj3.js → gen-n6l6AMLo.js} +11 -11
- package/dist/cli/index.d.ts +1 -1
- package/dist/cli/index.js +6 -6
- package/dist/cli/{init-CAWeLXCs.js → init-BLMHN_2A.js} +9 -9
- package/dist/cli/{live-DNd8MMNk.js → live-C4uCg3ME.js} +2 -2
- package/dist/cli/{mcp-BUs7M6fq.js → mcp-CFLvzFKH.js} +2 -2
- package/dist/cli/{metadata-UwEYCntC.js → metadata-CRp8JQTE.js} +3 -3
- package/dist/cli/{migrate-D-GzXR4D.js → migrate-BjDf0moD.js} +1 -1
- package/dist/cli/{migration-safety-Cg9jf2s-.js → migration-safety-D-QnV2BW.js} +1 -1
- package/dist/cli/{migrations-Bhcf7MHM.js → migrations-8dDFF8SW.js} +2 -2
- package/dist/cli/{module-migration-BJaOdOWy.js → module-migration-DuwIX8MO.js} +2 -2
- package/dist/cli/powersync-ByqoHJwp.js +1 -0
- package/dist/cli/{powersync-DQKdjG_K.js → powersync-CHVlZIqs.js} +3 -3
- package/dist/cli/{print-B1onZWRG.js → print-orgMiDzp.js} +2 -2
- package/dist/cli/{providers-M7s8btf1.js → providers-DWZVnoDw.js} +1 -1
- package/dist/cli/{prune-workflows-BiRF1YBZ.js → prune-workflows-DelKs-zD.js} +1 -1
- package/dist/cli/{remove-BHyzqWNm.js → remove-BH6Zwjhs.js} +6 -6
- package/dist/cli/{render-DDCy_0V_.js → render-DyWVslCM.js} +3 -3
- package/dist/cli/{run-DDUBMkbN.js → run-BYX5n5rt.js} +9 -9
- package/dist/cli/{run-Csm1-Uto.js → run-GcSBgXCH.js} +31 -31
- package/dist/cli/{shared-Cv22MEAO.js → shared-BoVOOrpJ.js} +1 -1
- package/dist/cli/{snapshot-9xnSt525.js → snapshot-BZGZ9pB-.js} +2 -2
- package/dist/cli/{source-B_miugrh.js → source-Buw7eODS.js} +1 -1
- package/dist/cli/{spec-dYLJbr9J.js → spec-CUWMpL3f.js} +2 -2
- package/dist/cli/{spec-BeAgQ-of.js → spec-CnRC9FcX.js} +1 -1
- package/dist/cli/{sql-layout-3YU4941N.js → sql-layout-BZ-NhhTI.js} +2 -2
- package/dist/cli/{sync-Bfwk4Ldc.js → sync-CFzA4xdr.js} +4 -4
- package/dist/cli/{upgrade-BMrkzAcD.js → upgrade-D1szGysi.js} +5 -5
- package/dist/cli/{upgrade-DRvMFW2T.js → upgrade-ukOP0GXf.js} +2 -2
- package/dist/cli/{version-BXjNETWS.js → version-D1sJX6_6.js} +1 -1
- package/dist/client/index.d.ts +5 -5
- 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-CsX2THwJ.js → config-Bx3UYp8b.js} +3 -3
- package/dist/{config-Dgl6AxKE.js → config-CAjlOSQY.js} +1 -1
- package/dist/{context-DSJpfeVv.d.ts → context-BIBqUjVz.d.ts} +3 -3
- package/dist/contract/index.d.ts +3 -3
- package/dist/{controller-BVee4yX8.d.ts → controller-DBD6WWDa.d.ts} +1 -1
- package/dist/{conversion-BPkWkVoa.d.ts → conversion-DLkof9_y.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/deadlines-values-vmaCCdGl.js +92 -0
- package/dist/{define-block-Cu67KCN1.d.ts → define-block-zK3QnPyG.d.ts} +1 -1
- package/dist/{drive-D008IDpI.d.ts → drive-Keqe8dIg.d.ts} +1 -1
- package/dist/{entitlements-CRBZg5y2.d.ts → entitlements-QwMag409.d.ts} +1 -1
- package/dist/{extract-BU5w3k5s.d.ts → extract-CJWS6MMG.d.ts} +1 -1
- package/dist/{field-errors-CjEgbjO9.d.ts → field-errors-BlyD3if3.d.ts} +5 -5
- package/dist/{index-ilxdL8pz.d.ts → index-0AVn1Dcr.d.ts} +1 -1
- package/dist/{index-dMGEJLxl.d.ts → index-9rajR8Ti.d.ts} +1 -1
- package/dist/{index-r3QZBY7z.d.ts → index-B5rQ9MEl.d.ts} +1 -1
- package/dist/{index-BleHtlJ6.d.ts → index-B7_Mq8Qm.d.ts} +1 -1
- package/dist/{index-DDDHYXtr.d.ts → index-BGqvP9dE.d.ts} +8 -8
- package/dist/{index-D5nY5k-2.d.ts → index-BIClMq6S.d.ts} +7 -7
- package/dist/{index-DsA7MQwZ.d.ts → index-BOI3eLz0.d.ts} +1 -1
- package/dist/{index-CaW37FHZ.d.ts → index-BSdDLEA-.d.ts} +1 -1
- package/dist/{index-BoCyVsCr.d.ts → index-BTC40rxx.d.ts} +1 -1
- package/dist/{index-u8EXkOzJ.d.ts → index-BxdldeGx.d.ts} +1 -1
- package/dist/{index-JzAR_Y7n.d.ts → index-C7tmYYB5.d.ts} +3 -3
- package/dist/{index-DYzQ_PPW.d.ts → index-CJB2uCFk.d.ts} +1 -1
- package/dist/{index-_wr8wCe9.d.ts → index-COLMIEk0.d.ts} +1 -1
- package/dist/{index-BVJsz3pS.d.ts → index-CPRQdNHc.d.ts} +2 -2
- package/dist/{index--7HXH_H_.d.ts → index-CSdjm0Kn.d.ts} +2 -2
- package/dist/{index-_RnZChF8.d.ts → index-CT0OjCk1.d.ts} +1 -1
- package/dist/{index-D7zwaGAP.d.ts → index-CocISf2h.d.ts} +1 -1
- package/dist/{index-D-3fZP5z.d.ts → index-Cvd24Ybb.d.ts} +1 -1
- package/dist/{index-BeU2DRAI.d.ts → index-DASeimpy.d.ts} +1 -1
- package/dist/{index-voglIa16.d.ts → index-DBqRH5cj.d.ts} +3 -3
- package/dist/{index-DZRsTCds.d.ts → index-DCeA3cFQ.d.ts} +1 -1
- package/dist/{index-DtMdKIJU.d.ts → index-DD3Ldome.d.ts} +2 -2
- package/dist/{index-ChaJiMkI.d.ts → index-DEDIPDaW.d.ts} +2 -2
- package/dist/{index-DhS8Qkgj.d.ts → index-DNitLhgU.d.ts} +2 -2
- package/dist/{index-DR4P3Lf9.d.ts → index-D_OEwOaE.d.ts} +2 -2
- package/dist/{index-BTl5A8Aj.d.ts → index-D_g2loq-.d.ts} +1 -1
- package/dist/{index-BDn4Mqq0.d.ts → index-DaTxv1aA.d.ts} +1 -1
- package/dist/{index-E_Q5L9PV.d.ts → index-DcihkEQo.d.ts} +1 -1
- package/dist/{index-BOZ6AsMs.d.ts → index-Do6ZAvXT.d.ts} +1 -1
- package/dist/{index-BvPirjfD.d.ts → index-DpwRuDBy.d.ts} +4 -4
- package/dist/{index-CDEzb5bl.d.ts → index-HANt6RDT.d.ts} +1 -1
- package/dist/{index-slG4UpF_.d.ts → index-QpKsKUbn.d.ts} +2 -2
- package/dist/{index-DJ1Uk4ff.d.ts → index-WXVYfOHr.d.ts} +4 -4
- package/dist/{index-BR8ZkijS.d.ts → index-XjhYgGhk.d.ts} +2 -2
- package/dist/{index-AmPcMT_X.d.ts → index-_rOaXPbx.d.ts} +1 -1
- package/dist/{index-Dyq6B4gZ.d.ts → index-n-7IwvYP.d.ts} +2 -2
- package/dist/{index-CKdNndE3.d.ts → index-urOSlPMc.d.ts} +2 -2
- package/dist/{instances-BMjIO6Xu.js → instances-z6DJn2Gr.js} +20 -1
- package/dist/{manifest-DYPVnKW_.d.ts → manifest-B4SF4ieN.d.ts} +1 -1
- package/dist/{manifest-DsuoLp-Y.d.ts → manifest-B9D-PHpo.d.ts} +1 -1
- package/dist/{manifest-BE7UwezO.d.ts → manifest-BBIs-5xy.d.ts} +1 -1
- package/dist/{manifest-CdD44xlg.d.ts → manifest-BE6JGlFP.d.ts} +1 -1
- package/dist/{manifest-lzwWCAYV.d.ts → manifest-BExilPWu.d.ts} +1 -1
- package/dist/{manifest-CaA-2HPK.d.ts → manifest-BNhdYakH.d.ts} +1 -1
- package/dist/{manifest-DhpmWh55.d.ts → manifest-BVkjX2t-.d.ts} +1 -1
- package/dist/{manifest-CMNPpmWS.d.ts → manifest-BVnfLMPU.d.ts} +2 -2
- package/dist/{manifest-Dk_7prKx.d.ts → manifest-BX7vyeYr.d.ts} +1 -1
- package/dist/{manifest-D9P9Yhe3.d.ts → manifest-BYxKYFcH.d.ts} +1 -1
- package/dist/{manifest-DxPLHyKY.d.ts → manifest-Bcx4GSo0.d.ts} +1 -1
- package/dist/{manifest-BknZ4yQ-.d.ts → manifest-BeupHUUC.d.ts} +1 -1
- package/dist/{manifest-DhXoSaUC.d.ts → manifest-BmI85ooO.d.ts} +1 -1
- package/dist/{manifest-BXxSqnLS.d.ts → manifest-BoKnFQJK.d.ts} +1 -1
- package/dist/{manifest-Bz0EjE76.d.ts → manifest-BwwWlxof.d.ts} +1 -1
- package/dist/{manifest-CoFpa0dN.d.ts → manifest-Bx62hgMv.d.ts} +1 -1
- package/dist/{manifest-D2d1wS7g.d.ts → manifest-C1plIFth.d.ts} +1 -1
- package/dist/{manifest-X4analSK.d.ts → manifest-C8-zVlM4.d.ts} +1 -1
- package/dist/{manifest-BB3GjGa3.d.ts → manifest-CANbbLyM.d.ts} +1 -1
- package/dist/{manifest-DwCorUVJ.d.ts → manifest-CCQYjt7L.d.ts} +1 -1
- package/dist/{manifest-Dc8pNExY.d.ts → manifest-CDIvE9Po.d.ts} +1 -1
- package/dist/{manifest-xikzppm9.d.ts → manifest-CJEzfFKP.d.ts} +1 -1
- package/dist/{manifest-DG0oDOmq.d.ts → manifest-CLSlmLnn.d.ts} +1 -1
- package/dist/{manifest-BZL2TAB1.d.ts → manifest-CV-9uzTU.d.ts} +1 -1
- package/dist/{manifest-CBwrN4Nf.d.ts → manifest-CYDtm5Yz.d.ts} +1 -1
- package/dist/{manifest-BYbt4y_O.d.ts → manifest-Cb0BCYmS.d.ts} +1 -1
- package/dist/{manifest-BVjhJ3Mj.d.ts → manifest-Cc1r_IME.d.ts} +1 -1
- package/dist/{manifest-BMNwdO5D.d.ts → manifest-CeFiTTOx.d.ts} +1 -1
- package/dist/{manifest-CSHNTEJZ.d.ts → manifest-Ch8G8wad.d.ts} +1 -1
- package/dist/{manifest-CWj5SFuw.d.ts → manifest-Ciu7htmT.d.ts} +1 -1
- package/dist/{manifest-DMvx2rWH.d.ts → manifest-CtvRTQoq.d.ts} +1 -1
- package/dist/{manifest-Bp0oZ3-W.d.ts → manifest-CxJtO760.d.ts} +1 -1
- package/dist/{manifest-Eazz96as.d.ts → manifest-D2mvuqCe.d.ts} +1 -1
- package/dist/{manifest-B17Sra5h.d.ts → manifest-D8o7ivPa.d.ts} +1 -1
- package/dist/{manifest-C_dVunWg.d.ts → manifest-DAQAHnHf.d.ts} +1 -1
- package/dist/{manifest-auanzyjB.d.ts → manifest-DBUE3KbP.d.ts} +1 -1
- package/dist/{manifest-B4CEdcH_.d.ts → manifest-DElW3hfs.d.ts} +1 -1
- package/dist/{manifest-BSvxbZH5.d.ts → manifest-DFGW17h3.d.ts} +1 -1
- package/dist/{manifest-D7mliM-d.d.ts → manifest-DGXOQgh3.d.ts} +1 -1
- package/dist/{manifest-CELTce26.d.ts → manifest-DHV0zxVj.d.ts} +1 -1
- package/dist/{manifest-yKx0faak.d.ts → manifest-DKCc24tm.d.ts} +1 -1
- package/dist/{manifest-DGiswyG5.d.ts → manifest-DKk12W7u.d.ts} +1 -1
- package/dist/{manifest-BzsuqiQx.d.ts → manifest-DOUGC7xP.d.ts} +1 -1
- package/dist/{manifest-DUlZ8qck.d.ts → manifest-DPQpIRCO.d.ts} +1 -1
- package/dist/{manifest-DGLrMEdB.d.ts → manifest-DPXd-wZG.d.ts} +1 -1
- package/dist/{manifest-uIIb_YLI.d.ts → manifest-D_tuEFvt.d.ts} +1 -1
- package/dist/{manifest-DPqKZgWn.d.ts → manifest-DbzB7NQP.d.ts} +1 -1
- package/dist/{manifest-DAXz8rxB.d.ts → manifest-Dd0bmqd-.d.ts} +1 -1
- package/dist/{manifest-CGZQ9lU3.d.ts → manifest-DebHyEiN.d.ts} +1 -1
- package/dist/{manifest-CMnLDDS3.d.ts → manifest-Doxj-elq.d.ts} +1 -1
- package/dist/{manifest-D_VmA0aC.d.ts → manifest-DujUV7Cu.d.ts} +1 -1
- package/dist/{manifest-Dl_bw4IU.d.ts → manifest-Duj_AN2H.d.ts} +1 -1
- package/dist/{manifest-gGFtQDJz.d.ts → manifest-DzN5YdbZ.d.ts} +1 -1
- package/dist/{manifest-DIZ6chpf.d.ts → manifest-P2Pzb1Jo.d.ts} +1 -1
- package/dist/{manifest-CbKgs5qA.d.ts → manifest-SEhx1LFs.d.ts} +1 -1
- package/dist/{manifest-CGcGylmw.d.ts → manifest-Se6qEw03.d.ts} +1 -1
- package/dist/{manifest-6PhMgCFi.d.ts → manifest-UHESrKBI.d.ts} +1 -1
- package/dist/{manifest-Df1QDhiQ.d.ts → manifest-Ul7Uq35H.d.ts} +1 -1
- package/dist/{manifest-Pl5us_yz.d.ts → manifest-XpSrCsAV.d.ts} +1 -1
- package/dist/{manifest-DtEcJBdE.d.ts → manifest-iRX3gQ3g.d.ts} +1 -1
- package/dist/{manifest-D0FjVeay.d.ts → manifest-uRsVzPOJ.d.ts} +1 -1
- package/dist/{manifest-D2Z_2z9-.d.ts → manifest-x50nYF_4.d.ts} +1 -1
- package/dist/mapper/bin.js +5 -5
- package/dist/mcp/index.d.ts +1 -1
- package/dist/next/index.d.ts +7 -7
- package/dist/{operations-DKfYeS5z.d.ts → operations-Ce53BGJ0.d.ts} +1 -1
- package/dist/otel/index.js +4 -4
- package/dist/{permissions-C5h1cU25.d.ts → permissions-Bi4WvjnM.d.ts} +1 -1
- package/dist/{ports-DvaVv_3b.d.ts → ports-TvLRuWgJ.d.ts} +1 -1
- package/dist/powersync/index.d.ts +2 -2
- package/dist/preset/index.d.ts +4 -4
- package/dist/preset/index.js +3 -3
- package/dist/{preset-Cl3Q5ASC.js → preset-CPUA9haY.js} +3 -3
- package/dist/{preview-Bwg7r1Lf.d.ts → preview-DvpfbcDY.d.ts} +2 -2
- package/dist/{project-At5wBJSS.js → project-CkGGYXKd.js} +5 -5
- package/dist/{push-token-C6ZGE1g0.d.ts → push-token-GJUUE_6j.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 +5 -5
- package/dist/realtime/index.d.ts +3 -3
- package/dist/{record-form-DTncyqVH.d.ts → record-form-DhpdYw5e.d.ts} +1 -1
- package/dist/records/index.d.ts +7 -7
- package/dist/server/index.d.ts +3 -3
- package/dist/solid/index.d.ts +5 -5
- package/dist/sql/index.d.ts +5 -5
- package/dist/sql/index.js +2 -2
- package/dist/{sql-CdZdPqjA.js → sql-CFsIpR4t.js} +1508 -258
- package/dist/ssr/index.d.ts +1 -1
- package/dist/svelte/index.d.ts +5 -5
- package/dist/{tenant-BTnwa5oZ.d.ts → tenant-BTxVWIN6.d.ts} +1 -1
- package/dist/testing/index.d.ts +6 -6
- package/dist/testing/index.js +1 -1
- package/dist/{timeline-B7kBQ1gh.d.ts → timeline-9r4mx0A2.d.ts} +2 -2
- package/dist/{topic-hu0RP7CG.d.ts → topic-_7QKu4b5.d.ts} +1 -1
- package/dist/{types-DvglaQ_D.d.ts → types-C2qXUXjK.d.ts} +2 -2
- package/dist/vue/index.d.ts +5 -5
- package/dist/{watch-topic-C_rGHxIA.d.ts → watch-topic-Do0x41n3.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/dist/cli/add-D0TUMxXn.js +0 -1
- package/dist/cli/powersync-Bn-u0TGP.js +0 -1
- package/dist/deadlines-values-B7ArpVJU.js +0 -127
|
@@ -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-D1sJX6_6.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-BLMHN_2A.js").then((m) => m.initCommand)],
|
|
23
|
+
["add", () => import("./add-CUAchifS.js").then((m) => m.addCommand)],
|
|
24
|
+
["remove", () => import("./remove-BH6Zwjhs.js").then((m) => m.removeCommand)],
|
|
25
|
+
["upgrade", () => import("./upgrade-ukOP0GXf.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-
|
|
27
|
+
["migrate schema-first", () => import("./migrate-BjDf0moD.js").then((m) => m.migrateSchemaFirstCommand)],
|
|
28
|
+
["gen", () => import("./gen-n6l6AMLo.js").then((m) => m.genCommand)],
|
|
29
|
+
["doctor", () => import("./doctor-JdxWuscJ.js").then((m) => m.doctorCommand)],
|
|
30
30
|
["db query", () => import("./db-B54TQ_iX.js").then((m) => m.dbQueryCommand)],
|
|
31
31
|
["db diff", () => import("./db-B54TQ_iX.js").then((m) => m.dbDiffCommand)],
|
|
32
32
|
["db seed", () => import("./seed-BxjjQ3OO.js").then((m) => m.seedCommand)],
|
|
33
|
-
["db backfill", () => import("./backfill-
|
|
34
|
-
["db prune-workflows", () => import("./prune-workflows-
|
|
33
|
+
["db backfill", () => import("./backfill-DWD5chCd.js").then((m) => m.dbBackfillCommand)],
|
|
34
|
+
["db prune-workflows", () => import("./prune-workflows-DelKs-zD.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-BduQcXFb.js").then((m) => m.blocksListCommand)],
|
|
42
|
+
["blocks view", () => import("./blocks-BduQcXFb.js").then((m) => m.blocksViewCommand)],
|
|
43
|
+
["blocks search", () => import("./blocks-BduQcXFb.js").then((m) => m.blocksSearchCommand)],
|
|
44
|
+
["powersync streams", () => import("./powersync-ByqoHJwp.js").then((m) => m.powersyncStreamsCommand)],
|
|
45
|
+
["spec emit", () => import("./spec-CnRC9FcX.js").then((m) => m.specEmitCommand)],
|
|
46
|
+
["spec validate", () => import("./spec-CnRC9FcX.js").then((m) => m.specValidateCommand)],
|
|
47
|
+
["mcp", () => import("./mcp-CFLvzFKH.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-CuaWRwst.js").then((m) => m.codemodCommand("0.4"))],
|
|
51
|
+
["codemod 0.5", () => import("./codemod-CuaWRwst.js").then((m) => m.codemodCommand("0.5"))],
|
|
52
|
+
["codemod 0.6", () => import("./codemod-CuaWRwst.js").then((m) => m.codemodCommand("0.6"))],
|
|
53
|
+
["codemod 0.9", () => import("./codemod-CuaWRwst.js").then((m) => m.codemodCommand("0.9"))],
|
|
54
|
+
["codemod 0.11", () => import("./codemod-CuaWRwst.js").then((m) => m.codemodCommand("0.11"))],
|
|
55
|
+
["codemod 0.15", () => import("./codemod-CuaWRwst.js").then((m) => m.codemodCommand("0.15"))],
|
|
56
|
+
["codemod 0.29", () => import("./codemod-CuaWRwst.js").then((m) => m.codemodCommand("0.29"))],
|
|
57
|
+
["codemod 0.32", () => import("./codemod-CuaWRwst.js").then((m) => m.codemodCommand("0.32"))],
|
|
58
|
+
["codemod 0.35", () => import("./codemod-CuaWRwst.js").then((m) => m.codemodCommand("0.35"))],
|
|
59
|
+
["codemod 0.37", () => import("./codemod-CuaWRwst.js").then((m) => m.codemodCommand("0.37"))],
|
|
60
|
+
["codemod 0.46", () => import("./codemod-CuaWRwst.js").then((m) => m.codemodCommand("0.46"))],
|
|
61
|
+
["codemod 0.47", () => import("./codemod-CuaWRwst.js").then((m) => m.codemodCommand("0.47"))],
|
|
62
|
+
["codemod 0.53", () => import("./codemod-CuaWRwst.js").then((m) => m.codemodCommand("0.53"))],
|
|
63
|
+
["codemod read-many", () => import("./codemod-CuaWRwst.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
|
];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as toCatalog } from "./source-
|
|
1
|
+
import { a as toCatalog } from "./source-Buw7eODS.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
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-EFwNdKib.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-Buw7eODS.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-D1sJX6_6.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";
|
|
@@ -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-EFwNdKib.js";
|
|
7
|
+
import { t as VERSION } from "./version-D1sJX6_6.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 +1 @@
|
|
|
1
|
-
export { n as specEmitCommand, i as specValidateCommand } from "./spec-
|
|
1
|
+
export { n as specEmitCommand, i as specValidateCommand } from "./spec-CUWMpL3f.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-BZGZ9pB-.js";
|
|
5
|
+
import { a as toCatalog } from "./source-Buw7eODS.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-BZ-NhhTI.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-DuwIX8MO.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-DWZVnoDw.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-8dDFF8SW.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-BZ-NhhTI.js";
|
|
4
|
+
import { a as write, o as topicPolicyFile, r as nextStep } from "./sync-CFzA4xdr.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-8dDFF8SW.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-DuwIX8MO.js";
|
|
8
|
+
import { r as layoutFor } from "./providers-DWZVnoDw.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-CFzA4xdr.js";
|
|
4
|
+
import { t as upgrade } from "./upgrade-D1szGysi.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
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-
|
|
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-
|
|
2
|
+
import { n as TopicPort, r as TopicWatch, t as TopicHandle } from "../watch-topic-Do0x41n3.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-TvLRuWgJ.js";
|
|
4
|
+
import { a as ClientAuth, i as BindClientOptions, n as AuthUser, o as bindClient, r as BetterClient, t as AuthSnapshot } from "../bind-CC5-eBT-.js";
|
|
5
|
+
import { a as defineController, i as ControllerState, n as Controller, o as whileSignedIn, r as ControllerParts, t as AuthPort } from "../controller-DBD6WWDa.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-DEDIPDaW.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-CC5-eBT-.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-Do0x41n3.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-TvLRuWgJ.js";
|
|
7
|
+
import { n as ExpoPushTokenOptions, r as expoPushToken, t as ExpoNotificationsLike } from "../../push-token-GJUUE_6j.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";
|
package/dist/config/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { N as Casing } from "../types-BlBju7Wa.js";
|
|
2
|
-
import { Bt as SubjectsConfig, It as SubjectConfig, Lt as SubjectPermission, Rt as SubjectSearch, _ as OwnTablePolicies, c as BlockScope, d as DisabledRow, f as EntitiesConfig, i as BlockConfig, l as BlocksConfig, n as ActiveTenantSource, o as BlockMode, p as EntityConfig, r as AnyBlocksConfig, t as AccessBlockConfig, u as DEFAULT_ACTIVE_TENANT, x as tenantNameOf, zt as SubjectTeam } from "../blocks-
|
|
3
|
-
import { $r as PowerSyncGenConfig, Gr as DoctorConfig, Jr as GenTask, Kr as EnvFileConfig, Qr as OpenApiConfig, Xr as KeysConfig, Yr as IntegrationName, Zr as MigrationSafetyConfig, ai as INTEGRATION_INFO, ci as SKILLS_AGENTS, cn as FIELD_FORMATS, dn as FieldFormatInput, ei as SkillsAgent, ii as GEN_TASKS, oi as INTEGRATION_NAMES, qr as GenConfig, si as IntegrationInfo, ti as SkillsConfig, un as FieldFormat } from "../define-block-
|
|
4
|
-
import { $ as ClaimPaths, $r as APP_COLUMN_TYPES, $t as ApiConfig, Ai as CatalogPolicy, Ar as ResolvedSeedConfig, At as GeneratorBlockEntity, B as zod, Bi as Snapshot, Br as TopicTriggerLookupConfig, Bt as GeneratorNoun, Ci as CatalogColumnGrant, Ct as RoleNames, Di as CatalogFunctionArg, Dt as GeneratedFile, Ei as CatalogFunction, Et as CodecsConfig, Fi as ExtrasFunction, Fr as SeedSampleSize, Ft as GeneratorFunctionArg, G as NuqsGeneratorOptions, Gi as PostgresFunction, Gr as VectorSearchConfig, Gt as SourceConfig, H as valibot, Hi as SnapshotExtras, Hr as TopicTriggerTopicConfig, Ht as JsonSchemaSource, Ii as ExtrasHook, Ir as SqlBlockDefaults, It as GeneratorInput, J as factories, Ji as RpcFunctionArg, Jt as DataHooksFramework, K as nuqs, Ki as PostgresFunctionArg, Kr as CONFIG_DEFAULTS, Kt as TableConfig, Li as ExtrasHookFunction, Lr as SqlConfig, Lt as GeneratorInputSchema, Mi as CatalogTrigger, Mr as SeedConfig, Mt as GeneratorEntitySchemas, Ni as CatalogUnique, Nr as SeedDefaultsConfig, Nt as GeneratorField, Oi as CatalogGrant, Or as BucketConfig, Ot as Generator, Pi as ExtrasDomain, Pr as SeedSampleConfig, Pt as GeneratorFunction, Q as JsonSchemaTarget, Qi as RpcTypeReference, Qr as APP_COLUMN_FORMATS, Qt as ResolvedExtensions, R as ZodFlavor, Ri as ExtrasTable, Rr as SqlWorkflow, Rt as GeneratorJsonSchema, Si as CatalogColumn, St as ConfigReferences, Ti as CatalogForeignKey, Tt as ClaimsConfig, U as StandardSchemaGeneratorOptions, Ui as GeneratorMetadata, Ur as TopicTriggerValueConfig, Ut as JsonTypeConfig, V as ValibotGeneratorOptions, Vi as SnapshotBucket, Vr as TopicTriggerPayloadValueConfig, Vt as GeneratorTable, W as standardSchema, Wi as PostgresColumn, Wr as VectorDistance, Wt as RelationsConfig, X as buildJsonSchema, Xi as RpcFunctionReturns, Xt as FlatConfig, Y as JsonSchemaGeneratorOptions, Yi as RpcFunctionOverload, Yt as DataHooksSelect, Z as jsonSchema, Zi as RpcReturnColumn, Zr as APP_COLUMN_ACCESS, Zt as ResolvedConfig, _i as AppTableSubject, _n as ExposeRole, _t as ResolveInput, ai as AppColumnFormat, an as BlocksInput, at as blockEntityRenames, bi as Catalog, bt as BlockTableReference, ci as AppOnDeleteAction, cn as GenGroupConfig, cr as ExpandedConfig, ct as blockSubjectTypes, di as AppRollupAggregate, dn as ToolingConfig, dt as RENAMED_CONFIG_KEYS, ei as APP_ON_DELETE_ACTIONS, en as AppTableInput, et as DEFAULT_CLAIMS, fi as AppRollupConfig, fn as EntitlementPlansSource, ft as blockEntrySource, gi as AppTableEvents, gn as ExposePrivilege, gt as CONFIG_SCHEMA_URL, hi as AppTableEventKind, hn as ExposeConfig, ht as groupEntries, ii as AppColumnConfig, in as BlockInput, it as blockEntities, ji as CatalogTable, jr as ResolvedSqlConfig, jt as GeneratorColumn, ki as CatalogIndex, kr as RealtimeConfig, kt as GeneratorBlock, li as AppReference, ln as SqlInput, lt as CONFIG_GROUPS, mi as AppTableEmbedding, mn as ColumnPrivilege, mt as groupConfig, ni as APP_TABLE_EVENT_KINDS, nn as AuthConfig, nt as tenantClaimPaths, oi as AppColumnType, on as DatabaseConfig, ot as blockEventRenames, pi as AppTableConfig, pn as EntitlementsConfig, pt as flattenConfig, q as FactoriesGeneratorOptions, qi as RpcFunction, qt as DataHooksConfig, ri as AppColumnAccess, rn as BetterSupabaseConfig, rt as BlockEntity, si as AppLookupConfig, sn as EnvironmentConfig, st as blockFormerFunctions, ti as APP_ROLLUP_AGGREGATES, tn as AppTablesInput, tt as claimPaths, ui as AppReferenceTarget, un as TenantConfig, ut as RENAMED_BLOCK_KEYS, vi as AppTableVersions, vn as Privilege, vt as defineConfig, wi as CatalogEnum, wt as resolveJsonSchema, xi as CatalogCheck, xt as BucketName, yi as AppTablesConfig, yn as ResolvedExpose, yt as resolveConfig, z as ZodGeneratorOptions, zi as ForeignKeyAction, zr as TopicTriggerConfig, zt as GeneratorModel } from "../context-
|
|
5
|
-
import { a as AuthorizationPersona, c as AuthorizationRequirement, d as AuthorizationTokenHook, f as AuthorizationVersions, i as AuthorizationPermission, l as AuthorizationRoleSource, n as AuthorizationMembership, o as AuthorizationPlatformRoles, p as providerApiProblem, r as AuthorizationOperation, s as AuthorizationProvider, t as AuthorizationFunctions, u as AuthorizationScope } from "../authorization-
|
|
2
|
+
import { Bt as SubjectsConfig, It as SubjectConfig, Lt as SubjectPermission, Rt as SubjectSearch, _ as OwnTablePolicies, c as BlockScope, d as DisabledRow, f as EntitiesConfig, i as BlockConfig, l as BlocksConfig, n as ActiveTenantSource, o as BlockMode, p as EntityConfig, r as AnyBlocksConfig, t as AccessBlockConfig, u as DEFAULT_ACTIVE_TENANT, x as tenantNameOf, zt as SubjectTeam } from "../blocks-DvWEz8mQ.js";
|
|
3
|
+
import { $r as PowerSyncGenConfig, Gr as DoctorConfig, Jr as GenTask, Kr as EnvFileConfig, Qr as OpenApiConfig, Xr as KeysConfig, Yr as IntegrationName, Zr as MigrationSafetyConfig, ai as INTEGRATION_INFO, ci as SKILLS_AGENTS, cn as FIELD_FORMATS, dn as FieldFormatInput, ei as SkillsAgent, ii as GEN_TASKS, oi as INTEGRATION_NAMES, qr as GenConfig, si as IntegrationInfo, ti as SkillsConfig, un as FieldFormat } from "../define-block-zK3QnPyG.js";
|
|
4
|
+
import { $ as ClaimPaths, $r as APP_COLUMN_TYPES, $t as ApiConfig, Ai as CatalogPolicy, Ar as ResolvedSeedConfig, At as GeneratorBlockEntity, B as zod, Bi as Snapshot, Br as TopicTriggerLookupConfig, Bt as GeneratorNoun, Ci as CatalogColumnGrant, Ct as RoleNames, Di as CatalogFunctionArg, Dt as GeneratedFile, Ei as CatalogFunction, Et as CodecsConfig, Fi as ExtrasFunction, Fr as SeedSampleSize, Ft as GeneratorFunctionArg, G as NuqsGeneratorOptions, Gi as PostgresFunction, Gr as VectorSearchConfig, Gt as SourceConfig, H as valibot, Hi as SnapshotExtras, Hr as TopicTriggerTopicConfig, Ht as JsonSchemaSource, Ii as ExtrasHook, Ir as SqlBlockDefaults, It as GeneratorInput, J as factories, Ji as RpcFunctionArg, Jt as DataHooksFramework, K as nuqs, Ki as PostgresFunctionArg, Kr as CONFIG_DEFAULTS, Kt as TableConfig, Li as ExtrasHookFunction, Lr as SqlConfig, Lt as GeneratorInputSchema, Mi as CatalogTrigger, Mr as SeedConfig, Mt as GeneratorEntitySchemas, Ni as CatalogUnique, Nr as SeedDefaultsConfig, Nt as GeneratorField, Oi as CatalogGrant, Or as BucketConfig, Ot as Generator, Pi as ExtrasDomain, Pr as SeedSampleConfig, Pt as GeneratorFunction, Q as JsonSchemaTarget, Qi as RpcTypeReference, Qr as APP_COLUMN_FORMATS, Qt as ResolvedExtensions, R as ZodFlavor, Ri as ExtrasTable, Rr as SqlWorkflow, Rt as GeneratorJsonSchema, Si as CatalogColumn, St as ConfigReferences, Ti as CatalogForeignKey, Tt as ClaimsConfig, U as StandardSchemaGeneratorOptions, Ui as GeneratorMetadata, Ur as TopicTriggerValueConfig, Ut as JsonTypeConfig, V as ValibotGeneratorOptions, Vi as SnapshotBucket, Vr as TopicTriggerPayloadValueConfig, Vt as GeneratorTable, W as standardSchema, Wi as PostgresColumn, Wr as VectorDistance, Wt as RelationsConfig, X as buildJsonSchema, Xi as RpcFunctionReturns, Xt as FlatConfig, Y as JsonSchemaGeneratorOptions, Yi as RpcFunctionOverload, Yt as DataHooksSelect, Z as jsonSchema, Zi as RpcReturnColumn, Zr as APP_COLUMN_ACCESS, Zt as ResolvedConfig, _i as AppTableSubject, _n as ExposeRole, _t as ResolveInput, ai as AppColumnFormat, an as BlocksInput, at as blockEntityRenames, bi as Catalog, bt as BlockTableReference, ci as AppOnDeleteAction, cn as GenGroupConfig, cr as ExpandedConfig, ct as blockSubjectTypes, di as AppRollupAggregate, dn as ToolingConfig, dt as RENAMED_CONFIG_KEYS, ei as APP_ON_DELETE_ACTIONS, en as AppTableInput, et as DEFAULT_CLAIMS, fi as AppRollupConfig, fn as EntitlementPlansSource, ft as blockEntrySource, gi as AppTableEvents, gn as ExposePrivilege, gt as CONFIG_SCHEMA_URL, hi as AppTableEventKind, hn as ExposeConfig, ht as groupEntries, ii as AppColumnConfig, in as BlockInput, it as blockEntities, ji as CatalogTable, jr as ResolvedSqlConfig, jt as GeneratorColumn, ki as CatalogIndex, kr as RealtimeConfig, kt as GeneratorBlock, li as AppReference, ln as SqlInput, lt as CONFIG_GROUPS, mi as AppTableEmbedding, mn as ColumnPrivilege, mt as groupConfig, ni as APP_TABLE_EVENT_KINDS, nn as AuthConfig, nt as tenantClaimPaths, oi as AppColumnType, on as DatabaseConfig, ot as blockEventRenames, pi as AppTableConfig, pn as EntitlementsConfig, pt as flattenConfig, q as FactoriesGeneratorOptions, qi as RpcFunction, qt as DataHooksConfig, ri as AppColumnAccess, rn as BetterSupabaseConfig, rt as BlockEntity, si as AppLookupConfig, sn as EnvironmentConfig, st as blockFormerFunctions, ti as APP_ROLLUP_AGGREGATES, tn as AppTablesInput, tt as claimPaths, ui as AppReferenceTarget, un as TenantConfig, ut as RENAMED_BLOCK_KEYS, vi as AppTableVersions, vn as Privilege, vt as defineConfig, wi as CatalogEnum, wt as resolveJsonSchema, xi as CatalogCheck, xt as BucketName, yi as AppTablesConfig, yn as ResolvedExpose, yt as resolveConfig, z as ZodGeneratorOptions, zi as ForeignKeyAction, zr as TopicTriggerConfig, zt as GeneratorModel } from "../context-BIBqUjVz.js";
|
|
5
|
+
import { a as AuthorizationPersona, c as AuthorizationRequirement, d as AuthorizationTokenHook, f as AuthorizationVersions, i as AuthorizationPermission, l as AuthorizationRoleSource, n as AuthorizationMembership, o as AuthorizationPlatformRoles, p as providerApiProblem, r as AuthorizationOperation, s as AuthorizationProvider, t as AuthorizationFunctions, u as AuthorizationScope } from "../authorization-Hh9xUm0r.js";
|
|
6
6
|
export { APP_COLUMN_ACCESS, APP_COLUMN_FORMATS, APP_COLUMN_TYPES, APP_ON_DELETE_ACTIONS, APP_ROLLUP_AGGREGATES, APP_TABLE_EVENT_KINDS, type AccessBlockConfig, type ActiveTenantSource, type AnyBlocksConfig, type ApiConfig, type AppColumnAccess, type AppColumnConfig, type AppColumnFormat, type AppColumnType, type AppLookupConfig, type AppOnDeleteAction, type AppReference, type AppReferenceTarget, type AppRollupAggregate, type AppRollupConfig, type AppTableConfig, type AppTableEmbedding, type AppTableEventKind, type AppTableEvents, type AppTableInput, type AppTableSubject, type AppTableVersions, type AppTablesConfig, type AppTablesInput, type AuthConfig, type AuthorizationFunctions, type AuthorizationMembership, type AuthorizationOperation, type AuthorizationPermission, type AuthorizationPersona, type AuthorizationPlatformRoles, type AuthorizationProvider, type AuthorizationRequirement, type AuthorizationRoleSource, type AuthorizationScope, type AuthorizationTokenHook, type AuthorizationVersions, type BetterSupabaseConfig, type BlockConfig, type BlockEntity, type BlockInput, type BlockMode, type BlockScope, type BlockTableReference, type BlocksConfig, type BlocksInput, type BucketConfig, type BucketName, CONFIG_DEFAULTS, CONFIG_GROUPS, CONFIG_SCHEMA_URL, type Casing, type Catalog, type CatalogCheck, type CatalogColumn, type CatalogColumnGrant, type CatalogEnum, type CatalogForeignKey, type CatalogFunction, type CatalogFunctionArg, type CatalogGrant, type CatalogIndex, type CatalogPolicy, type CatalogTable, type CatalogTrigger, type CatalogUnique, type ClaimPaths, type ClaimsConfig, type CodecsConfig, type ColumnPrivilege, type ConfigReferences, DEFAULT_ACTIVE_TENANT, DEFAULT_CLAIMS, type DataHooksConfig, type DataHooksFramework, type DataHooksSelect, type DatabaseConfig, type DisabledRow, type DoctorConfig, type EntitiesConfig, type EntitlementPlansSource, type EntitlementsConfig, type EntityConfig, type EnvFileConfig, type EnvironmentConfig, type ExpandedConfig, type ExposeConfig, type ExposePrivilege, type ExposeRole, type ExtrasDomain, type ExtrasFunction, type ExtrasHook, type ExtrasHookFunction, type ExtrasTable, FIELD_FORMATS, type FactoriesGeneratorOptions, type FieldFormat, type FieldFormatInput, type FlatConfig, type ForeignKeyAction, GEN_TASKS, type GenConfig, type GenGroupConfig, type GenTask, type GeneratedFile, type Generator, type GeneratorBlock, type GeneratorBlockEntity, type GeneratorColumn, type GeneratorEntitySchemas, type GeneratorField, type GeneratorFunction, type GeneratorFunctionArg, type GeneratorInput, type GeneratorInputSchema, type GeneratorJsonSchema, type GeneratorMetadata, type GeneratorModel, type GeneratorNoun, type GeneratorTable, INTEGRATION_INFO, INTEGRATION_NAMES, type IntegrationInfo, type IntegrationName, type JsonSchemaGeneratorOptions, type JsonSchemaSource, type JsonSchemaTarget, type JsonTypeConfig, type KeysConfig, type MigrationSafetyConfig, type NuqsGeneratorOptions, type OpenApiConfig, type OwnTablePolicies, type PostgresColumn, type PostgresFunction, type PostgresFunctionArg, type PowerSyncGenConfig, type Privilege, RENAMED_BLOCK_KEYS, RENAMED_CONFIG_KEYS, type RealtimeConfig, type RelationsConfig, type ResolveInput, type ResolvedConfig, type ResolvedExpose, type ResolvedExtensions, type ResolvedSeedConfig, type ResolvedSqlConfig, type RoleNames, type RpcFunction, type RpcFunctionArg, type RpcFunctionOverload, type RpcFunctionReturns, type RpcReturnColumn, type RpcTypeReference, SKILLS_AGENTS, type SeedConfig, type SeedDefaultsConfig, type SeedSampleConfig, type SeedSampleSize, type SkillsAgent, type SkillsConfig, type Snapshot, type SnapshotBucket, type SnapshotExtras, type SourceConfig, type SqlBlockDefaults, type SqlConfig, type SqlInput, type SqlWorkflow, type StandardSchemaGeneratorOptions, type SubjectConfig, type SubjectPermission, type SubjectSearch, type SubjectTeam, type SubjectsConfig, type TableConfig, type TenantConfig, type ToolingConfig, type TopicTriggerConfig, type TopicTriggerLookupConfig, type TopicTriggerPayloadValueConfig, type TopicTriggerTopicConfig, type TopicTriggerValueConfig, type ValibotGeneratorOptions, type VectorDistance, type VectorSearchConfig, type ZodFlavor, type ZodGeneratorOptions, blockEntities, blockEntityRenames, blockEntrySource, blockEventRenames, blockFormerFunctions, blockSubjectTypes, buildJsonSchema, claimPaths, defineConfig, factories, flattenConfig, groupConfig, groupEntries, jsonSchema, nuqs, providerApiProblem, resolveConfig, resolveJsonSchema, standardSchema, tenantClaimPaths, tenantNameOf, valibot, zod };
|
package/dist/config/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { _ as resolveJsonSchema, i as blockFormerFunctions, n as blockEntityRenames, o as blockSubjectTypes, r as blockEventRenames, t as blockEntities, v as CONFIG_DEFAULTS } from "../block-subjects-
|
|
2
|
-
import { A as blockEntrySource, D as CONFIG_GROUPS, F as INTEGRATION_INFO, I as INTEGRATION_NAMES, L as SKILLS_AGENTS, M as groupConfig, N as groupEntries, O as RENAMED_BLOCK_KEYS, P as GEN_TASKS, j as flattenConfig, k as RENAMED_CONFIG_KEYS } from "../config-
|
|
1
|
+
import { _ as resolveJsonSchema, i as blockFormerFunctions, n as blockEntityRenames, o as blockSubjectTypes, r as blockEventRenames, t as blockEntities, v as CONFIG_DEFAULTS } from "../block-subjects-B9hb1LLk.js";
|
|
2
|
+
import { A as blockEntrySource, D as CONFIG_GROUPS, F as INTEGRATION_INFO, I as INTEGRATION_NAMES, L as SKILLS_AGENTS, M as groupConfig, N as groupEntries, O as RENAMED_BLOCK_KEYS, P as GEN_TASKS, j as flattenConfig, k as RENAMED_CONFIG_KEYS } from "../config-CAjlOSQY.js";
|
|
3
3
|
import { a as tenantClaimPaths, r as claimPaths, t as DEFAULT_CLAIMS } from "../claims-CqTr_N1n.js";
|
|
4
|
-
import { A as APP_ON_DELETE_ACTIONS, D as APP_COLUMN_ACCESS, M as APP_TABLE_EVENT_KINDS, O as APP_COLUMN_FORMATS, R as DEFAULT_ACTIVE_TENANT, V as tenantNameOf, j as APP_ROLLUP_AGGREGATES, k as APP_COLUMN_TYPES } from "../instances-
|
|
4
|
+
import { A as APP_ON_DELETE_ACTIONS, D as APP_COLUMN_ACCESS, M as APP_TABLE_EVENT_KINDS, O as APP_COLUMN_FORMATS, R as DEFAULT_ACTIVE_TENANT, V as tenantNameOf, j as APP_ROLLUP_AGGREGATES, k as APP_COLUMN_TYPES } from "../instances-z6DJn2Gr.js";
|
|
5
5
|
import { i as FIELD_FORMATS } from "../field-formats-sLYMh1ZK.js";
|
|
6
|
-
import { a as factories, c as resolveConfig, i as nuqs, l as providerApiProblem, n as valibot, o as CONFIG_SCHEMA_URL, r as standardSchema, s as defineConfig, t as zod } from "../config-
|
|
6
|
+
import { a as factories, c as resolveConfig, i as nuqs, l as providerApiProblem, n as valibot, o as CONFIG_SCHEMA_URL, r as standardSchema, s as defineConfig, t as zod } from "../config-Bx3UYp8b.js";
|
|
7
7
|
import { n as jsonSchema, t as buildJsonSchema } from "../json-schema-COU-5CpW.js";
|
|
8
8
|
export { APP_COLUMN_ACCESS, APP_COLUMN_FORMATS, APP_COLUMN_TYPES, APP_ON_DELETE_ACTIONS, APP_ROLLUP_AGGREGATES, APP_TABLE_EVENT_KINDS, CONFIG_DEFAULTS, CONFIG_GROUPS, CONFIG_SCHEMA_URL, DEFAULT_ACTIVE_TENANT, DEFAULT_CLAIMS, FIELD_FORMATS, GEN_TASKS, INTEGRATION_INFO, INTEGRATION_NAMES, RENAMED_BLOCK_KEYS, RENAMED_CONFIG_KEYS, SKILLS_AGENTS, blockEntities, blockEntityRenames, blockEntrySource, blockEventRenames, blockFormerFunctions, blockSubjectTypes, buildJsonSchema, claimPaths, defineConfig, factories, flattenConfig, groupConfig, groupEntries, jsonSchema, nuqs, providerApiProblem, resolveConfig, resolveJsonSchema, standardSchema, tenantClaimPaths, tenantNameOf, valibot, zod };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { c as withBlockSubjects, v as CONFIG_DEFAULTS } from "./block-subjects-
|
|
2
|
-
import { j as flattenConfig, n as expandFlatPreset, r as expandPreset } from "./config-
|
|
1
|
+
import { c as withBlockSubjects, v as CONFIG_DEFAULTS } from "./block-subjects-B9hb1LLk.js";
|
|
2
|
+
import { j as flattenConfig, n as expandFlatPreset, r as expandPreset } from "./config-CAjlOSQY.js";
|
|
3
3
|
import { t as DEFAULT_CLAIMS } from "./claims-CqTr_N1n.js";
|
|
4
4
|
import { o as tenantNames } from "./entity-naming-BES3pkQI.js";
|
|
5
|
-
import { V as tenantNameOf, _ as appTablesOf, o as resolveInstances, r as blocksByName, v as withAppTableSubjects } from "./instances-
|
|
5
|
+
import { V as tenantNameOf, _ as appTablesOf, o as resolveInstances, r as blocksByName, v as withAppTableSubjects } from "./instances-z6DJn2Gr.js";
|
|
6
6
|
import { C as variantsFor, S as variantTitle, _ as schemaName, a as extraSchemas, b as tableEntries, c as resultType, d as fieldSpec, f as fieldsFor, g as rowType, h as propertyKey, i as extraKinds, l as HEADER, m as parseImport, o as fieldMetaLines, p as optionalLine, s as objectType, u as fieldDocs, v as siblingPath, x as temporalGuardImport, y as tableDocs } from "./json-schema-COU-5CpW.js";
|
|
7
7
|
// src/config/authorization.ts
|
|
8
8
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { F as linkNeedsRelations, I as PRESET_CATALOG, z as asBlocksConfig } from "./instances-
|
|
1
|
+
import { F as linkNeedsRelations, I as PRESET_CATALOG, z as asBlocksConfig } from "./instances-z6DJn2Gr.js";
|
|
2
2
|
import { t as DEFAULT_TENANT } from "./entity-naming-BES3pkQI.js";
|
|
3
3
|
import { a as QUALITY, c as SAAS_LINKED, i as PUBLIC_MEDIA, l as TICKETS, n as CONTROLLED_DOCUMENTS, o as QUOTE_TO_ORDER, r as ERP, s as SAAS } from "./preset-blocks-C0y2C2k5.js";
|
|
4
4
|
import { t as canonicalJson } from "./canonical-json-CTT9fC4F.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
2
|
import { F as ClaimsMeta, M as BucketPolicyName, N as Casing, T as AccessBucketPolicy, st as SchemaMeta, vt as BucketLifecycle } from "./types-BlBju7Wa.js";
|
|
3
|
-
import { Bt as SubjectsConfig, Ft as RelationKindOptions, _ as OwnTablePolicies, a as BlockConfigOf, c as BlockScope, d as DisabledRow, g as NamedInstance, h as InstanceOn, i as BlockConfig, l as BlocksConfig, nn as BlockNameRegistry, o as BlockMode, p as EntityConfig, r as AnyBlocksConfig, s as BlockName, t as AccessBlockConfig, tn as TablesOf, v as ResolvedBlock, y as TenantScopeConfig } from "./blocks-
|
|
4
|
-
import { Ar as PresetAccess, Br as PresetTenantName, C as BlockWorker, Cr as EntityRename, Gr as DoctorConfig, Ir as PresetInstance, Kr as EnvFileConfig, Nr as PresetFieldKey, Qr as OpenApiConfig, Rr as PresetScope, Sr as EntityNoun, Xr as KeysConfig, Yr as IntegrationName, b as BlockEnvKey, bi as BlockSchedule, fi as ActionDescriptor, fn as FieldFormatName, g as PartDefaults, i as BlockCategory, jr as PresetConventions, kr as Preset, ln as FIELD_FORMAT_NAMES, mt as PortName, ni as SpecOutputConfig, qr as GenConfig, ri as SpecsConfig, ti as SkillsConfig, x as BlockProvider, xi as DefaultAutomation, xr as EntityNames } from "./define-block-
|
|
3
|
+
import { Bt as SubjectsConfig, Ft as RelationKindOptions, _ as OwnTablePolicies, a as BlockConfigOf, c as BlockScope, d as DisabledRow, g as NamedInstance, h as InstanceOn, i as BlockConfig, l as BlocksConfig, nn as BlockNameRegistry, o as BlockMode, p as EntityConfig, r as AnyBlocksConfig, s as BlockName, t as AccessBlockConfig, tn as TablesOf, v as ResolvedBlock, y as TenantScopeConfig } from "./blocks-DvWEz8mQ.js";
|
|
4
|
+
import { Ar as PresetAccess, Br as PresetTenantName, C as BlockWorker, Cr as EntityRename, Gr as DoctorConfig, Ir as PresetInstance, Kr as EnvFileConfig, Nr as PresetFieldKey, Qr as OpenApiConfig, Rr as PresetScope, Sr as EntityNoun, Xr as KeysConfig, Yr as IntegrationName, b as BlockEnvKey, bi as BlockSchedule, fi as ActionDescriptor, fn as FieldFormatName, g as PartDefaults, i as BlockCategory, jr as PresetConventions, kr as Preset, ln as FIELD_FORMAT_NAMES, mt as PortName, ni as SpecOutputConfig, qr as GenConfig, ri as SpecsConfig, ti as SkillsConfig, x as BlockProvider, xi as DefaultAutomation, xr as EntityNames } from "./define-block-zK3QnPyG.js";
|
|
5
5
|
import { a as ScalarKind, i as FieldSpec } from "./table-schema-CwXg7oBz.js";
|
|
6
6
|
import { n as ReadType } from "./read-type-BmF8GOkz.js";
|
|
7
7
|
import { a as BlockSqlEmit, r as BlockSqlAction } from "./audit-actions-DC-AtyWB.js";
|
|
8
8
|
import { t as GuestAction } from "./guest-actions-DfHHp98H.js";
|
|
9
|
-
import { l as AuthorizationRoleSource, n as AuthorizationMembership, o as AuthorizationPlatformRoles, r as AuthorizationOperation, s as AuthorizationProvider, t as AuthorizationFunctions } from "./authorization-
|
|
9
|
+
import { l as AuthorizationRoleSource, n as AuthorizationMembership, o as AuthorizationPlatformRoles, r as AuthorizationOperation, s as AuthorizationProvider, t as AuthorizationFunctions } from "./authorization-Hh9xUm0r.js";
|
|
10
10
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
11
11
|
/**
|
|
12
12
|
* One declared link from an entity of this module to an entity of another
|
package/dist/contract/index.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { a as AuthorizationPersona, c as AuthorizationRequirement, d as AuthorizationTokenHook, f as AuthorizationVersions, i as AuthorizationPermission, l as AuthorizationRoleSource, n as AuthorizationMembership, o as AuthorizationPlatformRoles, r as AuthorizationOperation, s as AuthorizationProvider, t as AuthorizationFunctions, u as AuthorizationScope } from "../authorization-
|
|
1
|
+
import { a as AuthorizationPersona, c as AuthorizationRequirement, d as AuthorizationTokenHook, f as AuthorizationVersions, i as AuthorizationPermission, l as AuthorizationRoleSource, n as AuthorizationMembership, o as AuthorizationPlatformRoles, r as AuthorizationOperation, s as AuthorizationProvider, t as AuthorizationFunctions, u as AuthorizationScope } from "../authorization-Hh9xUm0r.js";
|
|
2
2
|
import { r as AuthzVersionSource } from "../authz-topic-C7n3kIm_.js";
|
|
3
3
|
import { $t as AuthorizationSubject, D as AccessTopicPolicy, E as AccessPolicySql, Gt as AuthorizationChange, Jt as AuthorizationOutcome, Kt as AuthorizationContext, Qt as AuthorizationResourceSource, T as AccessBucketPolicy, Ut as AnyAuthorizer, Wt as AuthorizationCallKind, Xt as AuthorizationRequest, Yt as AuthorizationPurpose, Zt as AuthorizationResource, an as RequestMemo, en as Authorizer, in as PermissionRef, qt as AuthorizationIntent, rn as AuthzVersionCache, tn as AuthorizerRuntime } from "../types-BlBju7Wa.js";
|
|
4
4
|
import { _ as SupportAuthorize, g as SubscriberPolicy, i as AuthorizationHooks, v as SupportAuthorizeInput } from "../authorization-hooks-DM_ijJsD.js";
|
|
5
5
|
import { s as ApiKeyResolverOptions } from "../api-keys-Dqif78kM.js";
|
|
6
6
|
import { r as CredentialProvider } from "../provider-ChtwfkqL.js";
|
|
7
|
-
import { a as ToolDecision, n as McpOptions, s as ToolRef } from "../index-
|
|
7
|
+
import { a as ToolDecision, n as McpOptions, s as ToolRef } from "../index-CocISf2h.js";
|
|
8
8
|
import { m as SessionSnapshot } from "../resolve-B9Rn2M5c.js";
|
|
9
9
|
import { n as ApprovalOptions } from "../server-types-Cf4eX4kr.js";
|
|
10
|
-
import { n as BlockTables, t as BlockTable } from "../block-tables-
|
|
10
|
+
import { n as BlockTables, t as BlockTable } from "../block-tables-DOGtmm0m.js";
|
|
11
11
|
/**
|
|
12
12
|
* The types an authorization library implements or reads, in one entry with no
|
|
13
13
|
* runtime code. Every slot is versioned `apiVersion: 1`; a breaking change to
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as ClientAuth } from "./bind-
|
|
1
|
+
import { a as ClientAuth } from "./bind-CC5-eBT-.js";
|
|
2
2
|
/**
|
|
3
3
|
* A block's client state, framework-agnostic. `subscribe` and `getSnapshot`
|
|
4
4
|
* follow the external-store contract, so React's `useSyncExternalStore`, a Vue
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { di as ActionContext, li as Action, ui as ActionCall } from "./define-block-
|
|
1
|
+
import { di as ActionContext, li as Action, ui as ActionCall } from "./define-block-zK3QnPyG.js";
|
|
2
2
|
import { f as Result } from "./result-CMqlHv82.js";
|
|
3
3
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
4
4
|
/** A record a conversion reads from or creates: its subject type and id. */
|
package/dist/create/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
|
-
import { En as PresetName, ci as AppOnDeleteAction, ei as APP_ON_DELETE_ACTIONS, jn as CreateDesign, lr as PresetInput, m as BlockSqlAccessProvider, mr as PresetSpec, oi as AppColumnType, ri as AppColumnAccess } from "../context-
|
|
3
|
-
import { $ as SchemaTable, A as renameColumn, B as AppEvents, C as editTable, Ct as tableWithComputed, D as isEmptyDesign, Dt as IssueSeverity, E as isAppTable, Et as IssueCode, F as singular, G as subjectTypeError, H as eventsColumnsEdited, I as tidy, J as SchemaData, K as SchemaColumn, L as updateTable, M as setColumn, N as setExtraColumn, O as moveTables, Ot as IssueSource, P as setTableId, Q as SchemaSource, R as userConnection, S as duplicateTable, St as rollupSources, T as identifierError, Tt as Issue, U as subjectColumns, V as AppSubject, W as subjectColumnsEdited, X as SchemaOptions, Y as SchemaForeignKey, Z as SchemaSoftRef, _ as connect, _t as isRollupAggregate, a as AppScope, at as tenantColumnOf, b as deleteExtraColumn, bt as readableColumns, c as ConnectResult, ct as ComputedRow, d as EMPTY_DESIGN, dt as RollupAggregate, et as SchemaTarget, f as NamedDesign, ft as computedColumnRenamed, g as columnError, gt as fittedRollup, h as appTableId, ht as filterColumns, i as AppReference, it as tableStatements, j as renameTable, k as referenceFrom, l as Connection, lt as DraftRollup, m as addTable, mt as computedTableRenamed, n as APP_MODULE, nt as parseSchema, o as AppTable, ot as AppLookup, p as TablePatch, pt as computedRows, q as SchemaComputed, r as AppColumn, rt as schemaRelations, s as AppTableId, st as AppRollup, t as PresetMigrationFile, tt as keyColumnsOf, u as Design, ut as ROLLUP_AGGREGATES, v as defaultError, vt as lookupSources, w as freeTableName, wt as tableWithoutComputed, x as deleteTable, xt as rollupColumns, y as deleteColumn, yt as prunedComputed, z as withDesign } from "../types-
|
|
4
|
-
import { kr as Preset } from "../define-block-
|
|
2
|
+
import { En as PresetName, ci as AppOnDeleteAction, ei as APP_ON_DELETE_ACTIONS, jn as CreateDesign, lr as PresetInput, m as BlockSqlAccessProvider, mr as PresetSpec, oi as AppColumnType, ri as AppColumnAccess } from "../context-BIBqUjVz.js";
|
|
3
|
+
import { $ as SchemaTable, A as renameColumn, B as AppEvents, C as editTable, Ct as tableWithComputed, D as isEmptyDesign, Dt as IssueSeverity, E as isAppTable, Et as IssueCode, F as singular, G as subjectTypeError, H as eventsColumnsEdited, I as tidy, J as SchemaData, K as SchemaColumn, L as updateTable, M as setColumn, N as setExtraColumn, O as moveTables, Ot as IssueSource, P as setTableId, Q as SchemaSource, R as userConnection, S as duplicateTable, St as rollupSources, T as identifierError, Tt as Issue, U as subjectColumns, V as AppSubject, W as subjectColumnsEdited, X as SchemaOptions, Y as SchemaForeignKey, Z as SchemaSoftRef, _ as connect, _t as isRollupAggregate, a as AppScope, at as tenantColumnOf, b as deleteExtraColumn, bt as readableColumns, c as ConnectResult, ct as ComputedRow, d as EMPTY_DESIGN, dt as RollupAggregate, et as SchemaTarget, f as NamedDesign, ft as computedColumnRenamed, g as columnError, gt as fittedRollup, h as appTableId, ht as filterColumns, i as AppReference, it as tableStatements, j as renameTable, k as referenceFrom, l as Connection, lt as DraftRollup, m as addTable, mt as computedTableRenamed, n as APP_MODULE, nt as parseSchema, o as AppTable, ot as AppLookup, p as TablePatch, pt as computedRows, q as SchemaComputed, r as AppColumn, rt as schemaRelations, s as AppTableId, st as AppRollup, t as PresetMigrationFile, tt as keyColumnsOf, u as Design, ut as ROLLUP_AGGREGATES, v as defaultError, vt as lookupSources, w as freeTableName, wt as tableWithoutComputed, x as deleteTable, xt as rollupColumns, y as deleteColumn, yt as prunedComputed, z as withDesign } from "../types-C2qXUXjK.js";
|
|
4
|
+
import { kr as Preset } from "../define-block-zK3QnPyG.js";
|
|
5
5
|
import { a as SupabaseLint, o as SupabaseOrganization, s as SupabaseProject } from "../management-DtX4ic1F.js";
|
|
6
|
-
import { b as DesignChange } from "../index-
|
|
6
|
+
import { b as DesignChange } from "../index-QpKsKUbn.js";
|
|
7
7
|
/** What `checkDesign` returns. */
|
|
8
8
|
export type DesignCheck = {
|
|
9
9
|
readonly ok: true;
|
package/dist/create/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { A as APP_ON_DELETE_ACTIONS } from "../instances-
|
|
2
|
-
import { $ as tableWithComputed, A as referenceFrom, B as withDesign, C as duplicateTable, D as isAppTable, E as identifierError, F as setTableId, G as filterColumns, H as computedColumnRenamed, I as singular, J as lookupSources, K as fittedRollup, L as tidy, M as renameTable, N as setColumn, O as isEmptyDesign, P as setExtraColumn, Q as rollupSources, R as updateTable, S as deleteTable, T as freeTableName, U as computedRows, V as ROLLUP_AGGREGATES, W as computedTableRenamed, X as readableColumns, Y as prunedComputed, Z as rollupColumns, _ as columnError, a as parseSchema, at as boundError, b as deleteColumn, c as tenantColumnOf, ct as fitted, d as previewFiles, dt as takesBounds, et as tableWithoutComputed, f as designIssues, ft as withBounds, g as appTableId, h as addTable, i as keyColumnsOf, it as subjectTypeError, j as renameColumn, k as moveTables, l as schemaData, lt as lockedWithoutDefault, m as EMPTY_DESIGN, n as loadProject, nt as subjectColumns, o as schemaRelations, ot as columnLabel, p as APP_MODULE, q as isRollupAggregate, r as checkDesign, rt as subjectColumnsEdited, s as tableStatements, st as encryptable, t as checkProject, tt as eventsColumnsEdited, u as previewAccessProvider, ut as optionError, v as connect, w as editTable, x as deleteExtraColumn, y as defaultError, z as userConnection } from "../project-
|
|
3
|
-
import { m as diffDesigns } from "../preset-
|
|
1
|
+
import { A as APP_ON_DELETE_ACTIONS } from "../instances-z6DJn2Gr.js";
|
|
2
|
+
import { $ as tableWithComputed, A as referenceFrom, B as withDesign, C as duplicateTable, D as isAppTable, E as identifierError, F as setTableId, G as filterColumns, H as computedColumnRenamed, I as singular, J as lookupSources, K as fittedRollup, L as tidy, M as renameTable, N as setColumn, O as isEmptyDesign, P as setExtraColumn, Q as rollupSources, R as updateTable, S as deleteTable, T as freeTableName, U as computedRows, V as ROLLUP_AGGREGATES, W as computedTableRenamed, X as readableColumns, Y as prunedComputed, Z as rollupColumns, _ as columnError, a as parseSchema, at as boundError, b as deleteColumn, c as tenantColumnOf, ct as fitted, d as previewFiles, dt as takesBounds, et as tableWithoutComputed, f as designIssues, ft as withBounds, g as appTableId, h as addTable, i as keyColumnsOf, it as subjectTypeError, j as renameColumn, k as moveTables, l as schemaData, lt as lockedWithoutDefault, m as EMPTY_DESIGN, n as loadProject, nt as subjectColumns, o as schemaRelations, ot as columnLabel, p as APP_MODULE, q as isRollupAggregate, r as checkDesign, rt as subjectColumnsEdited, s as tableStatements, st as encryptable, t as checkProject, tt as eventsColumnsEdited, u as previewAccessProvider, ut as optionError, v as connect, w as editTable, x as deleteExtraColumn, y as defaultError, z as userConnection } from "../project-CkGGYXKd.js";
|
|
3
|
+
import { m as diffDesigns } from "../preset-CPUA9haY.js";
|
|
4
4
|
// src/create/column-kinds.ts
|
|
5
5
|
/** The groups of the column type picker, in the order it shows them. */
|
|
6
6
|
const KIND_GROUPS = [
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Tt as Issue, t as PresetMigrationFile, u as Design } from "../../types-
|
|
2
|
-
import { jn as CreateDesign, lr as PresetInput } from "../../context-
|
|
1
|
+
import { Tt as Issue, t as PresetMigrationFile, u as Design } from "../../types-C2qXUXjK.js";
|
|
2
|
+
import { jn as CreateDesign, lr as PresetInput } from "../../context-BIBqUjVz.js";
|
|
3
3
|
import { st as SchemaMeta } from "../../types-BlBju7Wa.js";
|
|
4
4
|
import { c as SpecDiagnostic } from "../../format-BT0Z3V54.js";
|
|
5
|
-
import { s as AuthorizationProvider } from "../../authorization-
|
|
5
|
+
import { s as AuthorizationProvider } from "../../authorization-Hh9xUm0r.js";
|
|
6
6
|
/**
|
|
7
7
|
* The parts of `@supabase/lite` that `liteStack()` uses, typed structurally so
|
|
8
8
|
* the optional peer stays out of the published types.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as loadLite, t as LITE_INSTALL } from "../../runtime-qslVrC9l.js";
|
|
2
|
-
import { b as appDefaultError } from "../../instances-
|
|
2
|
+
import { b as appDefaultError } from "../../instances-z6DJn2Gr.js";
|
|
3
3
|
import { t as defineApi } from "../../api-CSUt1Mfm.js";
|
|
4
|
-
import { n as loadProject } from "../../project-
|
|
4
|
+
import { n as loadProject } from "../../project-CkGGYXKd.js";
|
|
5
5
|
import { i as fillTemplate } from "../../access-sql-DH2LbcQe.js";
|
|
6
6
|
// src/create/lite/apply.ts
|
|
7
7
|
const MISSING_EXTENSION = /extension "([^"]+)" is not available/u;
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
// src/sql/modules/deadlines-values.ts
|
|
2
|
+
/** The states of a version of a rule set. */
|
|
3
|
+
const RULE_VERSION_STATUSES = ["draft", "approved"];
|
|
4
|
+
/** What one group of a rule set version yields for a subject. */
|
|
5
|
+
const DEADLINE_RESULTS = [
|
|
6
|
+
"due",
|
|
7
|
+
"unknown",
|
|
8
|
+
"pending",
|
|
9
|
+
"undated",
|
|
10
|
+
"not_covered",
|
|
11
|
+
"not_applicable",
|
|
12
|
+
"not_required",
|
|
13
|
+
"barred"
|
|
14
|
+
];
|
|
15
|
+
/** Where a deadline stands: pending until an action satisfies it. */
|
|
16
|
+
const DEADLINE_STATES = ["pending", "satisfied"];
|
|
17
|
+
const OFFSET_UNITS = [
|
|
18
|
+
"days",
|
|
19
|
+
"business_days",
|
|
20
|
+
"months"
|
|
21
|
+
];
|
|
22
|
+
/** How a date that lands on a non-business day moves after the roll. */
|
|
23
|
+
const DEADLINE_ADJUSTMENTS = [
|
|
24
|
+
"none",
|
|
25
|
+
"next_business_day",
|
|
26
|
+
"previous_business_day"
|
|
27
|
+
];
|
|
28
|
+
/** The largest count a rule may carry, in its unit. */
|
|
29
|
+
const OFFSET_LIMIT = 3650;
|
|
30
|
+
/** The approval state of a rule, an exception or a counting block. */
|
|
31
|
+
const PART_STATUSES = [
|
|
32
|
+
"approved",
|
|
33
|
+
"draft",
|
|
34
|
+
"review_required"
|
|
35
|
+
];
|
|
36
|
+
/** What a settled exception decides; `review_required` never decides. */
|
|
37
|
+
const EXCEPTION_RESULTS = [
|
|
38
|
+
"barred",
|
|
39
|
+
"not_applicable",
|
|
40
|
+
"not_required",
|
|
41
|
+
"review_required"
|
|
42
|
+
];
|
|
43
|
+
/** The days a counting block can roll a last day past. */
|
|
44
|
+
const ROLL_DAYS = [
|
|
45
|
+
"saturday",
|
|
46
|
+
"sunday",
|
|
47
|
+
"holiday"
|
|
48
|
+
];
|
|
49
|
+
const WEEKDAYS = [
|
|
50
|
+
"monday",
|
|
51
|
+
"tuesday",
|
|
52
|
+
"wednesday",
|
|
53
|
+
"thursday",
|
|
54
|
+
"friday",
|
|
55
|
+
"saturday",
|
|
56
|
+
"sunday"
|
|
57
|
+
];
|
|
58
|
+
/** The listed day an observed shift reads. */
|
|
59
|
+
const OBSERVED_FALLS_ON = [
|
|
60
|
+
"saturday",
|
|
61
|
+
"sunday",
|
|
62
|
+
"other_than_sunday"
|
|
63
|
+
];
|
|
64
|
+
/** Where an observed shift moves a holiday, strictly before or after it. */
|
|
65
|
+
const OBSERVED_MOVES = [
|
|
66
|
+
"preceding_friday",
|
|
67
|
+
"following_monday",
|
|
68
|
+
"preceding_sunday",
|
|
69
|
+
"following_sunday"
|
|
70
|
+
];
|
|
71
|
+
/** The largest `meta` object, in bytes of its jsonb text. */
|
|
72
|
+
const META_LIMIT = 32768;
|
|
73
|
+
/** The fact a monthly count reads its first furnishing month from. */
|
|
74
|
+
const FIRST_FURNISHING_FACT = "first_furnishing_date";
|
|
75
|
+
/** The fact that ends a monthly count's months. */
|
|
76
|
+
const LAST_FURNISHING_FACT = "last_furnishing_date";
|
|
77
|
+
/** A name of a fact, a group or an exception. */
|
|
78
|
+
const DEADLINE_NAME = /^[a-z][a-z0-9_]{0,62}$/u;
|
|
79
|
+
/** A rule key, long enough for `<group>__<cell>`. */
|
|
80
|
+
const RULE_KEY = /^[a-z][a-z0-9_]{0,127}$/u;
|
|
81
|
+
/** The longest exception note. */
|
|
82
|
+
const NOTE_LIMIT = 2e3;
|
|
83
|
+
const ISO_DATE = /^(\d{4})-(\d{2})-(\d{2})$/u;
|
|
84
|
+
/** A plain object, not an array or null. */
|
|
85
|
+
function isRecord(value) {
|
|
86
|
+
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
87
|
+
}
|
|
88
|
+
/** Whether an object has its own key. */
|
|
89
|
+
function has(value, key) {
|
|
90
|
+
return Object.hasOwn(value, key);
|
|
91
|
+
}
|
|
92
|
+
export { RULE_KEY as _, EXCEPTION_RESULTS as a, has as b, LAST_FURNISHING_FACT as c, OBSERVED_FALLS_ON as d, OBSERVED_MOVES as f, ROLL_DAYS as g, PART_STATUSES as h, DEADLINE_STATES as i, META_LIMIT as l, OFFSET_UNITS as m, DEADLINE_NAME as n, FIRST_FURNISHING_FACT as o, OFFSET_LIMIT as p, DEADLINE_RESULTS as r, ISO_DATE as s, DEADLINE_ADJUSTMENTS as t, NOTE_LIMIT as u, RULE_VERSION_STATUSES as v, isRecord as x, WEEKDAYS as y };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
2
|
import { T as ErrorMapper, b as DbError, f as Result, t as AsyncResult } from "./result-CMqlHv82.js";
|
|
3
3
|
import { D as BlockEventPattern, Dt as Events, Ot as MergedEventMap, T as BlockEvent, Tt as EventMapOf, k as BlockEventsMatching, o as EventHub, wt as EventMap } from "./events-DN9PAcjq.js";
|
|
4
|
-
import { Wt as BlockOptionsSchema, m as InstanceKeys, p as EntityConfig } from "./blocks-
|
|
4
|
+
import { Wt as BlockOptionsSchema, m as InstanceKeys, p as EntityConfig } from "./blocks-DvWEz8mQ.js";
|
|
5
5
|
import { n as BlockOptions, r as BlockTemporalOptions, s as BlockTenantOptions } from "./block-helpers-rTsuHt6v.js";
|
|
6
6
|
import { a as BlockTransportMiddleware, n as BlockHooks } from "./block-hooks-FM9t7ol_.js";
|
|
7
7
|
import { i as RpcClient, r as DbTransportSource, t as BlockTransport } from "./block-transport-CP4wAHU-.js";
|
|
@@ -5,7 +5,7 @@ import { t as BlockTransport } from "./block-transport-CP4wAHU-.js";
|
|
|
5
5
|
import { T as ErrorMapper, t as AsyncResult } from "./result-CMqlHv82.js";
|
|
6
6
|
import { n as Logger } from "./logger-0LfhvwE4.js";
|
|
7
7
|
import { t as StandardSchemaV1 } from "./standard-CiOWpeZL.js";
|
|
8
|
-
import { An as Attachment, Ln as AttachmentStorage, Mn as AttachmentDownload, Vn as Attachments, cr as RecordRequestListOptions, er as AccessRequests, sr as RecordAccessRequest } from "./define-block-
|
|
8
|
+
import { An as Attachment, Ln as AttachmentStorage, Mn as AttachmentDownload, Vn as Attachments, cr as RecordRequestListOptions, er as AccessRequests, sr as RecordAccessRequest } from "./define-block-zK3QnPyG.js";
|
|
9
9
|
import { p as ApprovalStatus } from "./approvals-DnabEGo2.js";
|
|
10
10
|
import { r as BlockTemporalOptions } from "./block-helpers-rTsuHt6v.js";
|
|
11
11
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as BlockTransport } from "./block-transport-CP4wAHU-.js";
|
|
2
2
|
import { i as EventSink } from "./cloud-event-Dj2V1lQw.js";
|
|
3
|
-
import { jn as AttachmentBucket } from "./define-block-
|
|
3
|
+
import { jn as AttachmentBucket } from "./define-block-zK3QnPyG.js";
|
|
4
4
|
import { o as Knowledge } from "./knowledge-vrO4Poa5.js";
|
|
5
5
|
import { _ as JobHandler } from "./types-CTb0Uroz.js";
|
|
6
6
|
import { t as AsyncResult } from "./result-CMqlHv82.js";
|