better-supabase 0.61.1 → 0.63.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{account-parts-DtC5voD1.d.ts → account-parts-C3mte2Y7.d.ts} +1 -1
- package/dist/{activities-BMQuBkrQ.d.ts → activities-DFL2uhTK.d.ts} +1 -1
- package/dist/{adapter-base-DGiRWzEo.js → adapter-base-DXF0tNJJ.js} +1 -1
- package/dist/{agents-NaSREeo_.d.ts → agents-Bceu5a4z.d.ts} +1 -1
- package/dist/{agents-3wTmHYZr.d.ts → agents-C8BwEXD0.d.ts} +6 -6
- package/dist/{ai-cache-CKOJ9cLZ.d.ts → ai-cache-Dnj5iteF.d.ts} +1 -1
- package/dist/{ai-chat-C8FEgeTd.d.ts → ai-chat-CVmnJZcP.d.ts} +1 -1
- package/dist/{ai-schedules-CtxaSWA1.d.ts → ai-schedules-j51dDzm3.d.ts} +2 -2
- package/dist/ai-sdk/agents/index.d.ts +2 -2
- package/dist/ai-sdk/batches/index.d.ts +1 -1
- package/dist/ai-sdk/cache/index.d.ts +1 -1
- package/dist/ai-sdk/chat/index.d.ts +2 -2
- package/dist/ai-sdk/embeddings/index.d.ts +2 -2
- package/dist/ai-sdk/index.d.ts +5 -5
- package/dist/ai-sdk/memory/index.d.ts +3 -3
- package/dist/ai-sdk/workflow/index.d.ts +4 -4
- package/dist/{api-Dq7hOzxh.js → api-CKdssE3U.js} +1 -1
- package/dist/{api-pGkHTqH6.d.ts → api-D4gZPhMd.d.ts} +1 -1
- package/dist/{app-tables-BHoeMC9w.d.ts → app-tables-Br5Khxij.d.ts} +1 -1
- package/dist/{assistant-BQAjAXDe.d.ts → assistant-JXmSCGyW.d.ts} +2 -2
- package/dist/astro/index.d.ts +3 -3
- package/dist/astro/index.js +3 -3
- package/dist/{audit-actions-DC-AtyWB.d.ts → audit-actions-be1sy-Vh.d.ts} +1 -0
- package/dist/{authorization-glyinWcf.d.ts → authorization-k0Y3L701.d.ts} +1 -1
- package/dist/better-result/index.d.ts +2 -2
- package/dist/{bind-B-NW7-Fd.d.ts → bind-CuRPlZYY.d.ts} +4 -4
- package/dist/{block-env-BN4cyqTj.d.ts → block-env-hdFBj6FQ.d.ts} +4 -4
- package/dist/{block-tables-CkbJsNys.d.ts → block-tables-1XNfpOPP.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 +3 -3
- package/dist/blocks/advisories/index.d.ts +1 -1
- package/dist/blocks/agent-checkout/index.d.ts +2 -2
- package/dist/blocks/agents/index.d.ts +3 -3
- package/dist/blocks/ai-cache/index.d.ts +2 -2
- package/dist/blocks/ai-chat/index.d.ts +3 -3
- 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 +6 -6
- package/dist/blocks/audit/index.d.ts +2 -2
- package/dist/blocks/automations/index.d.ts +3 -3
- package/dist/blocks/banking/index.d.ts +1 -1
- package/dist/blocks/billable-time/index.d.ts +1 -1
- package/dist/blocks/billing/index.d.ts +3 -3
- package/dist/blocks/bookings/index.d.ts +3 -3
- package/dist/blocks/bulk-actions/index.d.ts +2 -2
- package/dist/blocks/calendar/index.d.ts +3 -3
- package/dist/blocks/care/index.d.ts +27 -27
- package/dist/blocks/care-plans/index.d.ts +3 -3
- package/dist/blocks/cases/index.d.ts +3 -3
- package/dist/blocks/catalog/index.d.ts +2 -2
- package/dist/blocks/channels/index.d.ts +1 -1
- package/dist/blocks/clinical-decision-support/index.d.ts +1 -1
- package/dist/blocks/cms/index.d.ts +5 -5
- package/dist/blocks/collaboration/index.d.ts +6 -6
- package/dist/blocks/collections/index.d.ts +1 -1
- package/dist/blocks/comments/index.d.ts +2 -2
- package/dist/blocks/commerce/index.d.ts +6 -6
- package/dist/blocks/commissions/index.d.ts +1 -1
- package/dist/blocks/compliance/index.d.ts +1 -1
- package/dist/blocks/connectors/index.d.ts +1 -1
- package/dist/blocks/consents/index.d.ts +2 -2
- package/dist/blocks/contacts/index.d.ts +2 -2
- package/dist/blocks/content/index.d.ts +2 -2
- package/dist/blocks/contracts/index.d.ts +1 -1
- package/dist/blocks/courses/index.d.ts +2 -2
- package/dist/blocks/created-by/index.d.ts +2 -2
- package/dist/blocks/crm/index.d.ts +17 -17
- package/dist/blocks/crm/index.js +1 -1
- 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 +4 -4
- package/dist/blocks/expenses/index.d.ts +1 -1
- package/dist/blocks/field-history/index.d.ts +1 -1
- package/dist/blocks/filespace/index.d.ts +8 -8
- package/dist/blocks/finance/index.d.ts +5 -5
- package/dist/blocks/flags/index.d.ts +1 -1
- package/dist/blocks/forecasts/index.d.ts +1 -1
- package/dist/blocks/forms/index.d.ts +3 -3
- package/dist/blocks/funding/index.d.ts +2 -2
- package/dist/blocks/goals/index.d.ts +1 -1
- package/dist/blocks/governance/index.d.ts +4 -4
- package/dist/blocks/guests/index.d.ts +1 -1
- package/dist/blocks/hiring/index.d.ts +1 -1
- package/dist/blocks/identities/index.d.ts +1 -1
- package/dist/blocks/imports/index.d.ts +2 -2
- package/dist/blocks/inbox/index.d.ts +6 -6
- package/dist/blocks/incidents/index.d.ts +1 -1
- package/dist/blocks/index.d.ts +5 -5
- package/dist/blocks/inspections/index.d.ts +2 -2
- package/dist/blocks/inventory/index.d.ts +1 -1
- package/dist/blocks/invoices/index.d.ts +1 -1
- package/dist/blocks/knowledge/index.d.ts +2 -2
- 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 +3 -3
- package/dist/blocks/messaging/index.d.ts +5 -5
- package/dist/blocks/metrics/index.d.ts +2 -2
- 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 +6 -6
- package/dist/blocks/notifications/index.js +1 -1
- 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 +2 -2
- package/dist/blocks/organizations/index.d.ts +2 -2
- package/dist/blocks/outbox/index.d.ts +1 -1
- package/dist/blocks/passes/index.d.ts +2 -2
- package/dist/blocks/payroll-export/index.d.ts +2 -2
- package/dist/blocks/people/index.d.ts +7 -7
- package/dist/blocks/periods/index.d.ts +1 -1
- package/dist/blocks/permissions/index.d.ts +3 -3
- package/dist/blocks/pipelines/index.d.ts +2 -2
- package/dist/blocks/posts/index.d.ts +2 -2
- package/dist/blocks/procurement/index.d.ts +5 -5
- package/dist/blocks/profiles/index.d.ts +1 -1
- package/dist/blocks/projects/index.d.ts +7 -7
- package/dist/blocks/promotions/index.d.ts +1 -1
- package/dist/blocks/prompts/index.d.ts +1 -1
- package/dist/blocks/push/index.d.ts +2 -2
- package/dist/blocks/qualifications/index.d.ts +2 -2
- package/dist/blocks/queue/index.d.ts +3 -3
- package/dist/blocks/queue/index.js +1 -1
- package/dist/blocks/quotes/index.d.ts +1 -1
- package/dist/blocks/rank/index.d.ts +2 -2
- 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/saas/index.js +1 -1
- package/dist/blocks/sales/index.d.ts +1 -1
- package/dist/blocks/saved-views/index.d.ts +3 -3
- package/dist/blocks/scheduling/index.d.ts +5 -5
- package/dist/blocks/scores/index.d.ts +2 -2
- package/dist/blocks/search/index.d.ts +3 -3
- package/dist/blocks/security-events/index.d.ts +1 -1
- package/dist/blocks/segments/index.d.ts +2 -2
- package/dist/blocks/sequences/index.d.ts +3 -3
- package/dist/blocks/service/index.d.ts +7 -7
- package/dist/blocks/service-accounts/index.d.ts +1 -1
- package/dist/blocks/sessions/index.d.ts +2 -2
- package/dist/blocks/settings/index.d.ts +2 -2
- package/dist/blocks/share-links/index.d.ts +1 -1
- package/dist/blocks/shifts/index.d.ts +2 -2
- package/dist/blocks/shipments/index.d.ts +1 -1
- package/dist/blocks/signatures/index.d.ts +2 -2
- package/dist/blocks/signing-keys/index.d.ts +1 -1
- package/dist/blocks/sla/index.d.ts +1 -1
- package/dist/blocks/sso/index.d.ts +1 -1
- package/dist/blocks/state-machine/index.d.ts +1 -1
- package/dist/blocks/subjects/index.d.ts +2 -2
- package/dist/blocks/support/index.d.ts +5 -5
- package/dist/blocks/tags/index.d.ts +2 -2
- package/dist/blocks/tasks/index.d.ts +2 -2
- package/dist/blocks/tax/index.d.ts +2 -2
- package/dist/blocks/teams/index.d.ts +1 -1
- package/dist/blocks/templates/index.d.ts +2 -2
- package/dist/blocks/tills/index.d.ts +1 -1
- package/dist/blocks/time-entries/index.d.ts +2 -2
- package/dist/blocks/timeline/index.d.ts +1 -1
- package/dist/blocks/trash/index.d.ts +1 -1
- package/dist/blocks/undo/index.d.ts +2 -2
- package/dist/blocks/updated-at/index.d.ts +2 -2
- package/dist/blocks/usage/index.d.ts +3 -3
- package/dist/blocks/vercel-marketplace/index.d.ts +1 -1
- package/dist/blocks/versions/index.d.ts +1 -1
- package/dist/blocks/waitlist/index.d.ts +1 -1
- package/dist/blocks/warehouse/index.d.ts +1 -1
- package/dist/blocks/warranty/index.d.ts +1 -1
- package/dist/blocks/webhooks/index.d.ts +4 -4
- package/dist/blocks/webhooks/index.js +5 -2
- package/dist/blocks/workflow-editor/index.d.ts +4 -4
- package/dist/blocks/workflows/index.d.ts +4 -4
- package/dist/{blocks-D4ngpPJ_.d.ts → blocks-C2F_SycJ.d.ts} +12 -6
- package/dist/{bookings-6dC83XE6.d.ts → bookings-DIQGDex_.d.ts} +1 -1
- package/dist/{build-Ds53XOWu.js → build-Rr77NMoY.js} +1 -1
- package/dist/{cache-tags-UWvxDMDO.d.ts → cache-tags-THgO4say.d.ts} +1 -1
- package/dist/claims/index.d.ts +5 -5
- package/dist/{claims-source-D-4CztOl.d.ts → claims-source-fUk4pR24.d.ts} +1 -1
- package/dist/cli/add-BF3e5Ll7.js +1 -0
- package/dist/cli/{add-BegIE-Rb.js → add-BZwvXVWj.js} +2 -2
- package/dist/cli/{add-BufF64Hx.js → add-C0CrFxHw.js} +11 -11
- package/dist/cli/{app-table-files-RdOXXDCt.js → app-table-files-C5DZPmHI.js} +4 -4
- package/dist/cli/{app-tables-CK-U5_ZN.js → app-tables-BzBFYoMr.js} +2 -2
- package/dist/cli/{backfill-CT6yncRM.js → backfill-BEp8YZZN.js} +3 -3
- package/dist/cli/bin.js +1 -1
- package/dist/cli/{blocks-Q7wC6dj7.js → blocks-GHzRHitY.js} +1 -1
- package/dist/cli/{blocks-CVadF4-D.js → blocks-OMAjC_Wi.js} +1 -1
- package/dist/cli/{cache-BKwYvrrJ.js → cache-CcAahoyu.js} +1 -1
- package/dist/cli/{codemod-BzEKQMSK.js → codemod-Cf0oYaKz.js} +5 -5
- package/dist/cli/{codemod-naming-BpWNTsvf.js → codemod-naming-B776pVSk.js} +1 -1
- package/dist/cli/{column-renames-7IG0Gcf3.js → column-renames-CeK8sWiT.js} +2 -2
- package/dist/cli/{config-DX58lDf7.js → config-By5EbpdJ.js} +1 -1
- package/dist/cli/{config-CoW6aoul.js → config-D4AVoIh5.js} +1 -1
- package/dist/cli/{content-mapper-BUWZw8Yr.js → content-mapper-Do10cbVT.js} +1 -1
- package/dist/cli/{db-CZ9qHsDs.js → db-C4up7wFU.js} +2 -2
- package/dist/cli/{dev-BRQUcr0M.js → dev-CJPEc2gr.js} +5 -5
- package/dist/cli/{doctor-auNf55mF.js → doctor-BEUg9HWw.js} +20 -20
- package/dist/cli/{emit-CxD5qNz7.js → emit-T1WamIdk.js} +2 -2
- package/dist/cli/{gen-B8K-GHgH.js → gen-DJ2_PQ72.js} +5 -5
- package/dist/cli/{gen-tasks-oTH8W-xH.js → gen-tasks-Yrk8s8md.js} +11 -11
- package/dist/cli/index.d.ts +1 -1
- package/dist/cli/index.js +8 -8
- package/dist/cli/{init-lNqq_JHu.js → init-BvbU-jDh.js} +9 -9
- package/dist/cli/{live-Dbt0gFSL.js → live-DIsnNTKQ.js} +2 -2
- package/dist/cli/{mcp-Bs3746MS.js → mcp-C_wxYL1p.js} +2 -2
- package/dist/cli/{memo-backend-BAduTvxg.js → memo-backend-vEs4WDSK.js} +1 -1
- package/dist/cli/{metadata-IpEhOh60.js → metadata-BAYbcHhK.js} +4 -4
- package/dist/cli/{migrate-CaEzxtNU.js → migrate-B5MSSoqe.js} +1 -1
- package/dist/cli/{migration-safety-B473uP9G.js → migration-safety-Dnt9Czmf.js} +2 -2
- package/dist/cli/{module-migration-BMmyFP2c.js → module-migration-CEQY0Jql.js} +1 -1
- package/dist/cli/{partition-C9ta6Kld.js → partition-DT-YczYz.js} +3 -3
- package/dist/cli/powersync-BT_Dwh2S.js +1 -0
- package/dist/cli/{powersync-DNUSeMtj.js → powersync-_8c5mLfZ.js} +4 -4
- package/dist/cli/{print-84kAnn1u.js → print-DEwSsdxn.js} +2 -2
- package/dist/cli/{providers-BgyVs06M.js → providers-QkAQXJCS.js} +1 -1
- package/dist/cli/{prune-workflows-D96eYjdj.js → prune-workflows-WfJvfrQe.js} +3 -3
- package/dist/cli/{remove-Y62Mu1VK.js → remove-BP7juqYl.js} +6 -6
- package/dist/cli/{render-cache-CHTWh5Rl.js → render-cache-BiTkqTAJ.js} +1 -1
- package/dist/cli/{render-Div4K_TT.js → render-dx7vrczW.js} +5 -5
- package/dist/cli/{run-Dx-CrkU_.js → run-CPdlEmjh.js} +35 -35
- package/dist/cli/{run-BkbVZBeG.js → run-s73OXa6p.js} +7 -7
- package/dist/cli/seed-B3MrC1Qe.js +1 -0
- package/dist/cli/{seed-pDWlnzyK.js → seed-BufZFJ_Q.js} +2 -2
- package/dist/cli/{shared-B0zV1qW9.js → shared-CAw3LIDZ.js} +1 -1
- package/dist/cli/{source-So9SSLFc.js → source-BFIiz5Gd.js} +1 -1
- package/dist/cli/{source-args-D5BSEgUG.js → source-args-CvgOHwlj.js} +1 -1
- package/dist/cli/{spec-BiLpXtjI.js → spec-3PdgIg4q.js} +1 -1
- package/dist/cli/{spec-BA3jaJaL.js → spec-wHDGnKHu.js} +2 -2
- package/dist/cli/{sql-layout-BH9MeAY3.js → sql-layout-DTEum7p9.js} +3 -3
- package/dist/cli/{squash-CZJcKsks.js → squash-BApxsAu3.js} +1 -1
- package/dist/cli/{sync-Csq5olpt.js → sync--2h-BD99.js} +4 -4
- package/dist/cli/{upgrade-MfDU8Z5K.js → upgrade-DuqWpRkE.js} +5 -5
- package/dist/cli/{upgrade-DBE7LYrq.js → upgrade-QCfkwN9R.js} +5 -5
- package/dist/cli/{verify-O5zxWWuE.js → verify-CR7f21Ri.js} +2 -2
- package/dist/cli/{version-ljacjTnk.js → version-B_O3ame2.js} +1 -1
- package/dist/client/index.d.ts +5 -5
- package/dist/client/index.js +1 -1
- package/dist/client/native/index.d.ts +5 -5
- package/dist/client/native/index.js +2 -2
- package/dist/{composite-CxojRRUF.d.ts → composite-BInEW9vs.d.ts} +3 -3
- package/dist/{composite-Bxpd7oru.js → composite-C13UCNgm.js} +1 -1
- package/dist/{composite-reads-CK-Y5b6M.d.ts → composite-reads-C942bzhw.d.ts} +1 -1
- package/dist/config/index.d.ts +4 -4
- package/dist/config/index.js +4 -4
- package/dist/{config-cisS43w5.js → config-1kAVpZc_.js} +3 -3
- package/dist/{config-a_CzEbpi.js → config-L5_4kg24.js} +1 -1
- package/dist/{context-m-t6Kr9_.d.ts → context-DtyeoCvj.d.ts} +4 -4
- package/dist/contract/index.d.ts +4 -4
- package/dist/{controller-zwQFyrOG.d.ts → controller-D6ZUjfhv.d.ts} +1 -1
- package/dist/{conversion-b6htac73.d.ts → conversion-BiAEs9ja.d.ts} +1 -1
- package/dist/create/index.d.ts +4 -4
- package/dist/create/index.js +3 -3
- package/dist/create/lite/index.d.ts +3 -3
- package/dist/create/lite/index.js +4 -4
- package/dist/{db-blocks-_jJICfjp.d.ts → db-blocks-BQkHb77X.d.ts} +3 -3
- package/dist/{define-block-DQvTGOGv.d.ts → define-block-DpnCxELV.d.ts} +2 -2
- package/dist/{define-runtime-DsFTahQB.js → define-runtime-BbNPkt-5.js} +17 -1
- package/dist/{define-runtime-full-B_cMkyCk.js → define-runtime-full-gpz09qAj.js} +16 -3
- package/dist/{delete-account-BQDeafVT.d.ts → delete-account-DKGAVT94.d.ts} +1 -1
- package/dist/{drive-DaEK5ZxU.d.ts → drive-_xuMA2xw.d.ts} +1 -1
- package/dist/edge/index.d.ts +5 -5
- package/dist/edge/index.js +4 -4
- package/dist/{embeddings-BriQ4hQ1.d.ts → embeddings-BhTNerJ8.d.ts} +2 -2
- package/dist/{entitlements-D4ob6MfK.d.ts → entitlements-Djh4bBdj.d.ts} +2 -2
- package/dist/eve/index.d.ts +3 -3
- package/dist/{eve-D-hvUFYE.d.ts → eve-DCA-YKQZ.d.ts} +2 -2
- package/dist/{executor-D24_D6dr.js → executor-DABWqMfV.js} +1 -1
- package/dist/{executor-nx2Q8Xdy.d.ts → executor-h098g0vY.d.ts} +2 -2
- package/dist/expo/index.d.ts +2 -2
- package/dist/expo/index.js +3 -3
- package/dist/{extract-W4zb3wIh.d.ts → extract-DZznUgzb.d.ts} +3 -3
- package/dist/{extras-ByEPERCR.d.ts → extras-Cb1ZUvNK.d.ts} +1 -1
- package/dist/{field-errors-pj0uOXSg.d.ts → field-errors-DSEpFDCa.d.ts} +6 -6
- package/dist/{former-permission-keys-D8FbWktT.js → former-permission-keys-FPrqQHXf.js} +1 -1
- package/dist/{framework-pfJvMQy3.js → framework-BQgHM3zD.js} +1 -1
- package/dist/{framework-BYx1ke3r.d.ts → framework-CEMVz7JS.d.ts} +3 -3
- package/dist/{gateway-eFh5pEIu.d.ts → gateway-oivw0R3W.d.ts} +3 -3
- package/dist/generators/factories/index.d.ts +1 -1
- package/dist/generators/factories/index.js +1 -1
- package/dist/generators/index.d.ts +2 -2
- package/dist/generators/json-schema/index.d.ts +2 -2
- package/dist/generators/json-schema/index.js +1 -1
- package/dist/generators/nuqs/index.d.ts +1 -1
- package/dist/generators/nuqs/index.js +1 -1
- package/dist/generators/standard-schema/index.d.ts +1 -1
- package/dist/generators/standard-schema/index.js +1 -1
- package/dist/generators/valibot/index.d.ts +1 -1
- package/dist/generators/valibot/index.js +1 -1
- package/dist/generators/zod/index.d.ts +1 -1
- package/dist/generators/zod/index.js +1 -1
- package/dist/hono/index.d.ts +4 -4
- package/dist/hono/index.js +3 -3
- package/dist/{index-Bu4YwWl0.d.ts → index-1aGCqU0F.d.ts} +1 -1
- package/dist/{index-SZ8qGIVO.d.ts → index-B2NJNoRd.d.ts} +9 -9
- package/dist/{index-IrsC8TLH.d.ts → index-BAccIXQt.d.ts} +2 -2
- package/dist/{index-BpQxfGSO.d.ts → index-BDq77p1R.d.ts} +2 -2
- package/dist/{index-DYh76mE_.d.ts → index-BEVvxkvW.d.ts} +2 -2
- package/dist/{index-C37Wq488.d.ts → index-BIOLHETk.d.ts} +1 -1
- package/dist/{index-DlUd0CTA.d.ts → index-BKD8Lkn9.d.ts} +7 -7
- package/dist/{index-CDX9U_CH.d.ts → index-BREewNqU.d.ts} +1 -1
- package/dist/{index-BZCCv04g.d.ts → index-BeJMACah.d.ts} +2 -2
- package/dist/{index-DW_S9n3h.d.ts → index-BiX0gNGQ.d.ts} +2 -2
- package/dist/{index-Crm9IjfQ.d.ts → index-Bt5jJrzR.d.ts} +1 -1
- package/dist/{index-BVuN7_fC.d.ts → index-Bx9qRuof.d.ts} +1 -1
- package/dist/{index-DsNwQRWG.d.ts → index-C-h2MrvD.d.ts} +1 -1
- package/dist/{index-DCqy0ESb.d.ts → index-C8H6hpAP.d.ts} +2 -2
- package/dist/{index-BfnBjZpy.d.ts → index-CaE6XZnq.d.ts} +3 -3
- package/dist/{index-CQGi7Jnn.d.ts → index-CbKxPo6t.d.ts} +2 -2
- package/dist/{index-CxX_Bgfa.d.ts → index-CjmtqiRE.d.ts} +1 -1
- package/dist/{index-CWTWbIz_.d.ts → index-CmHvVWGd.d.ts} +1 -1
- package/dist/{index-SWDnWdWw.d.ts → index-CygaT0GH.d.ts} +1 -1
- package/dist/{index-D_0l5hHh.d.ts → index-D-LxyjmH.d.ts} +3 -3
- package/dist/{index-DpoUltRu.d.ts → index-D9fhYtnp.d.ts} +2 -2
- package/dist/{index-WoE9Z_V-.d.ts → index-DAYCCmVC.d.ts} +1 -1
- package/dist/{index-DyV6z0Q_.d.ts → index-DEHVn5Ma.d.ts} +2 -2
- package/dist/{index-ByCXNZ2j.d.ts → index-DIwhnfIi.d.ts} +2 -2
- package/dist/{index-Bb_il0ub.d.ts → index-DUDYFfnG.d.ts} +2 -2
- package/dist/{index-CriIH7di.d.ts → index-DVmqH-jI.d.ts} +4 -4
- package/dist/{index-BomyYKtC.d.ts → index-Dga-eftL.d.ts} +5 -5
- package/dist/{index-CjoB5SrD.d.ts → index-DitpSLYH.d.ts} +3 -3
- package/dist/{index-BYDpdZxq.d.ts → index-Dsb6-otF.d.ts} +1 -1
- package/dist/{index-BLPzvJ5v.d.ts → index-DtGyj0RU.d.ts} +4 -4
- package/dist/{index-r_SO6mVm.d.ts → index-RGXgZmyg.d.ts} +3 -3
- package/dist/{index-46tesKqa.d.ts → index-S6WKucTU.d.ts} +1 -1
- package/dist/{index-ClqA-t45.d.ts → index-TkkZfmGg.d.ts} +1 -1
- package/dist/{index-CxZV8RJE.d.ts → index-_IFPpPG9.d.ts} +1 -1
- package/dist/{index-Dea13gIz.d.ts → index-bFOgwrCN.d.ts} +4 -4
- package/dist/{index-Dyhkn8FU.d.ts → index-jJ7Q-AYO.d.ts} +2 -2
- package/dist/{index-DeI4h1N1.d.ts → index-vOUlkC2o.d.ts} +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/{instances-07Lopbd1.js → instances-PZAWgQEX.js} +2 -1
- package/dist/{json-schema-CChz-Csz.js → json-schema-CNrq6b9q.js} +1 -1
- package/dist/{knowledge-C7RZqwQu.d.ts → knowledge-CSWQouuC.d.ts} +1 -1
- package/dist/list/export/index.d.ts +1 -1
- package/dist/list/index.d.ts +1 -1
- package/dist/list/order/index.d.ts +2 -2
- package/dist/{list-query-B6lXbY0T.d.ts → list-query-0IoIyFnQ.d.ts} +1 -1
- package/dist/{manifest-NuYSYeQT.d.ts → manifest-4K_pRDrE.d.ts} +1 -1
- package/dist/{manifest-CWFhOuFW.d.ts → manifest-4ZM88myP.d.ts} +1 -1
- package/dist/{manifest-CtL5JmoY.d.ts → manifest-4zuq-I0U.d.ts} +1 -1
- package/dist/{manifest-wXk0ZLhO.d.ts → manifest-B-5cqXlx.d.ts} +1 -1
- package/dist/{manifest-cJ3rQXtl.d.ts → manifest-B11QNHpO.d.ts} +4 -4
- package/dist/{manifest-Cl2U3bic.d.ts → manifest-B1R3o592.d.ts} +1 -1
- package/dist/{manifest-DsINyvTh.d.ts → manifest-B1bfLbzz.d.ts} +1 -1
- package/dist/{manifest-xlpYSpLJ.d.ts → manifest-B5y82qsH.d.ts} +2 -2
- package/dist/{manifest-DoZXpoG_.d.ts → manifest-B9FkI5Za.d.ts} +1 -1
- package/dist/{manifest-Bj8bumDU.d.ts → manifest-BBQmMfq7.d.ts} +1 -1
- package/dist/{manifest-CYO44YUb.d.ts → manifest-BFc_Zpzf.d.ts} +1 -1
- package/dist/{manifest-DftU8SXo.d.ts → manifest-BGBYLCP-.d.ts} +1 -1
- package/dist/{manifest-BEQWkGmf.d.ts → manifest-BLVRM4WX.d.ts} +1 -1
- package/dist/{manifest-eaGk_4rq.d.ts → manifest-BLkOEccx.d.ts} +1 -1
- package/dist/{manifest-_zu02ImE.d.ts → manifest-BND77-ps.d.ts} +2 -2
- package/dist/{manifest-FVkgBS-K.d.ts → manifest-BQYkGxek.d.ts} +1 -1
- package/dist/{manifest-Dp9ZtoFo.d.ts → manifest-BTZI-Jq1.d.ts} +2 -2
- package/dist/{manifest-NkuGL5p2.d.ts → manifest-BYHJvkqX.d.ts} +1 -1
- package/dist/{manifest-B0pan6cS.d.ts → manifest-B__S-85Q.d.ts} +1 -1
- package/dist/{manifest-YtnGn7F9.d.ts → manifest-Bgc-jWOV.d.ts} +1 -1
- package/dist/{manifest-DUPKC2rO.d.ts → manifest-BsuYq-pZ.d.ts} +1 -1
- package/dist/{manifest-BRvnB8C0.d.ts → manifest-ByfZrxkk.d.ts} +1 -1
- package/dist/{manifest-DfC1XBrV.d.ts → manifest-C0-rnYge.d.ts} +1 -1
- package/dist/{manifest-tP62uJrR.d.ts → manifest-C02JeWGr.d.ts} +1 -1
- package/dist/{manifest-Cv7Mji7w.d.ts → manifest-C3-OpYr0.d.ts} +1 -1
- package/dist/{manifest-BZPruG-S.d.ts → manifest-C3qUn0ka.d.ts} +1 -1
- package/dist/{manifest-Dim5U8TQ.d.ts → manifest-C46GM61W.d.ts} +1 -1
- package/dist/{manifest-DOtSiMt5.d.ts → manifest-C9Cs9rtL.d.ts} +1 -1
- package/dist/{manifest-CS8I2fku.d.ts → manifest-CE4rGv9r.d.ts} +1 -1
- package/dist/{manifest-BaIG9QRj.d.ts → manifest-CGnYiIs8.d.ts} +1 -1
- package/dist/{manifest-N5wuAzq4.d.ts → manifest-CKbJBLaW.d.ts} +3 -3
- package/dist/{manifest-x_fSttX7.d.ts → manifest-CQ1Xpja6.d.ts} +1 -1
- package/dist/{manifest-BKiaRgiZ.d.ts → manifest-CRe-o25G.d.ts} +2 -2
- package/dist/{manifest-ubm80xCr.d.ts → manifest-Ca6Rm4u6.d.ts} +1 -1
- package/dist/{manifest-TG95ksdH.d.ts → manifest-Cf8__tMA.d.ts} +17 -4
- package/dist/{manifest-Dg2BCyzg.d.ts → manifest-CrO5Gwed.d.ts} +1 -1
- package/dist/{manifest-CumC7hH5.d.ts → manifest-CzErrA0R.d.ts} +1 -1
- package/dist/{manifest-CiF1Sb29.d.ts → manifest-D-IfkyQg.d.ts} +1 -1
- package/dist/{manifest-D48Fi0bR.d.ts → manifest-DCIvxvg9.d.ts} +1 -1
- package/dist/{manifest-CnVa_nHw.d.ts → manifest-DEf81vUp.d.ts} +1 -1
- package/dist/{manifest-CMn61uKN.d.ts → manifest-DF6MWZld.d.ts} +1 -1
- package/dist/{manifest-Ccc0ZZup.d.ts → manifest-DFRP7LFo.d.ts} +1 -1
- package/dist/{manifest-BpgNJhYN.d.ts → manifest-DH1wX47F.d.ts} +1 -1
- package/dist/{manifest-2sJavyD8.d.ts → manifest-DIsc4u7U.d.ts} +1 -1
- package/dist/{manifest-BBcaI1P8.js → manifest-DVuGZaJS.js} +20 -6
- package/dist/{manifest-4S1YGIS3.d.ts → manifest-DWS1Hszm.d.ts} +1 -1
- package/dist/{manifest-BzXqieUD.d.ts → manifest-DYMvHTJ4.d.ts} +1 -1
- package/dist/{manifest-dOFbx7Iv.d.ts → manifest-D_RJDjHz.d.ts} +2 -2
- package/dist/{manifest-CF3BUmbe.d.ts → manifest-D_u0Uhd9.d.ts} +1 -1
- package/dist/{manifest-Bf6Rzatq.d.ts → manifest-DgVrJNgv.d.ts} +1 -1
- package/dist/{manifest-C95ET4CL.d.ts → manifest-DiJKbgrM.d.ts} +1 -1
- package/dist/{manifest-5i2UwyQr.d.ts → manifest-DpW-TJwu.d.ts} +1 -1
- package/dist/{manifest-BxvFH1G_.d.ts → manifest-DySuHx51.d.ts} +2 -2
- package/dist/{manifest-C2hpeEBF.d.ts → manifest-IWiafJCj.d.ts} +1 -1
- package/dist/{manifest-DwBFwxFo.d.ts → manifest-MIOw1h6u.d.ts} +1 -1
- package/dist/{manifest-Bfu-Cu0f.d.ts → manifest-Qa7Oz8op.d.ts} +3 -3
- package/dist/{manifest-DiXINLQQ.d.ts → manifest-YV2wB81I.d.ts} +1 -1
- package/dist/{manifest-CzDKrwRf.js → manifest-_xHwNjlQ.js} +13 -9
- package/dist/{manifest-DucB6ix_.d.ts → manifest-iwcDpOkG.d.ts} +1 -1
- package/dist/{manifest-CA5EhKZ9.d.ts → manifest-nsV6ZrZ7.d.ts} +1 -1
- package/dist/{manifest-DZyxhWcb.d.ts → manifest-rB3i09ej.d.ts} +1 -1
- package/dist/{manifest-BMilYLsh.d.ts → manifest-rk3V9E0p.d.ts} +1 -1
- package/dist/{manifest-CXdJUJjX.d.ts → manifest-uAf9hw_t.d.ts} +1 -1
- package/dist/{manifest-DpFy7git.d.ts → manifest-z_JoPdSA.d.ts} +2 -2
- package/dist/mapper/bin.js +6 -6
- package/dist/mcp/index.d.ts +2 -2
- package/dist/mcp/index.js +1 -1
- package/dist/mcp/sdk/index.d.ts +2 -2
- package/dist/mcp/sdk/index.js +1 -1
- package/dist/{mcp-B4bvacl4.js → mcp-CQi0RwZj.js} +3 -3
- package/dist/next/index.d.ts +12 -12
- package/dist/next/index.js +2 -2
- package/dist/next/proxy/index.d.ts +3 -3
- package/dist/{operations-D4zxY2TL.d.ts → operations-C4vxakMi.d.ts} +1 -1
- package/dist/{orders-BCR5H9Tz.d.ts → orders-DtiIfGI_.d.ts} +1 -1
- package/dist/orpc/index.d.ts +4 -4
- package/dist/orpc/index.js +2 -2
- package/dist/otel/index.js +5 -5
- package/dist/{permissions-BkUcXwtV.d.ts → permissions-CP5Cwz8h.d.ts} +1 -1
- package/dist/{ports-DD-pDkHu.d.ts → ports-B1QMhbn5.d.ts} +1 -1
- package/dist/{ports-BBowiGiD.js → ports-ClJbgoyt.js} +1 -1
- package/dist/powersync/index.d.ts +4 -4
- package/dist/powersync/index.js +1 -1
- package/dist/preset/index.d.ts +4 -4
- package/dist/preset/index.js +3 -3
- package/dist/{preset-ZZ4H2s92.js → preset-BcwGsW_B.js} +2 -2
- package/dist/{preview-GUvVjUxf.d.ts → preview-ByZwgNq9.d.ts} +3 -3
- package/dist/{project-wJ3jYipI.js → project-DYyr_iyu.js} +5 -5
- package/dist/{push-token-C8MoiM7E.d.ts → push-token-BAcQAeb8.d.ts} +1 -1
- package/dist/query/index.d.ts +1 -1
- package/dist/rate-limit/index.d.ts +1 -1
- package/dist/{rate-limit-Ddv4xmsH.d.ts → rate-limit-TxSt-_59.d.ts} +1 -1
- package/dist/react/index.d.ts +5 -5
- package/dist/react/native/index.d.ts +1 -1
- package/dist/react/server.d.ts +6 -6
- package/dist/react-router/index.d.ts +3 -3
- package/dist/react-router/index.js +3 -3
- package/dist/realtime/index.d.ts +3 -3
- package/dist/{record-form-CbFN-AdD.d.ts → record-form-53Hzv9d9.d.ts} +1 -1
- package/dist/records/index.d.ts +7 -7
- package/dist/{resource-execute-BQx_Pmeu.d.ts → resource-execute-H-XO83hu.d.ts} +1 -1
- package/dist/{resource-types-lBguZ_8J.d.ts → resource-types-D4IZrOCo.d.ts} +1 -1
- package/dist/{resources-CWfoS1er.d.ts → resources-B5k-hJW_.d.ts} +1 -1
- package/dist/{sandboxes-BjvFi1Wh.d.ts → sandboxes-BJy3k0km.d.ts} +1 -1
- package/dist/server/account/index.d.ts +2 -2
- package/dist/server/accounts/index.d.ts +1 -1
- package/dist/server/index.d.ts +13 -13
- package/dist/server/index.js +4 -4
- package/dist/{server-af58-Q51.js → server-B0T944J9.js} +1 -1
- package/dist/{server-types-By5oBsDZ.d.ts → server-types-Bax89ShV.d.ts} +2 -2
- package/dist/{session-D5IrTUwv.d.ts → session-DitGLCxF.d.ts} +1 -1
- package/dist/{sign-in-TNX4Pj9E.d.ts → sign-in-DbXRH5zh.d.ts} +10 -10
- package/dist/{signers-DB0S8YhO.d.ts → signers-FVeDbZxq.d.ts} +5 -1
- package/dist/solid/index.d.ts +6 -6
- package/dist/solid-start/index.d.ts +3 -3
- package/dist/solid-start/index.js +3 -3
- package/dist/spec/index.d.ts +1 -1
- package/dist/spec/index.js +2 -2
- package/dist/sql/index.d.ts +6 -6
- package/dist/sql/index.js +2 -2
- package/dist/{sql-CP1j2jfo.js → sql-DPpcMNUF.js} +387 -136
- package/dist/sqlite/index.d.ts +1 -1
- package/dist/sqlite/index.js +1 -1
- package/dist/ssr/index.d.ts +1 -1
- package/dist/svelte/index.d.ts +6 -6
- package/dist/sveltekit/index.d.ts +4 -4
- package/dist/sveltekit/index.js +3 -3
- package/dist/{tags-Csj8VfA7.d.ts → tags-C3z-ntLF.d.ts} +1 -1
- package/dist/tanstack-db/index.d.ts +1 -1
- package/dist/tanstack-start/index.d.ts +3 -3
- package/dist/tanstack-start/index.js +3 -3
- package/dist/{tenant-CVRFoaDM.d.ts → tenant-tAtS31r8.d.ts} +1 -1
- package/dist/testing/index.d.ts +12 -12
- package/dist/testing/index.js +3 -3
- package/dist/{timeline-T1qkzVdR.d.ts → timeline-BoKhn-Ei.d.ts} +3 -3
- package/dist/{topic-DytYYyP3.d.ts → topic-BdTuoZRL.d.ts} +2 -2
- package/dist/{types-Cikitezb.d.ts → types-BderwMCG.d.ts} +1 -1
- package/dist/{types-Cge5o3f5.d.ts → types-D4wgpab9.d.ts} +2 -2
- package/dist/{types-CID74uQG.d.ts → types-DerSPnBG.d.ts} +3 -1
- package/dist/{usage-CrTrlxoi.d.ts → usage-BMaJFesv.d.ts} +1 -1
- package/dist/vercel-sandbox/index.d.ts +1 -1
- package/dist/{verify-dg8Q3iRY.d.ts → verify-B4daVDDR.d.ts} +1 -1
- package/dist/{version-BFYCXhul.js → version-CTxJCxwz.js} +1 -1
- package/dist/vue/index.d.ts +6 -6
- package/dist/{watch-topic-DT31uYqF.d.ts → watch-topic-BjkFSiGe.d.ts} +1 -1
- package/dist/webmcp/index.d.ts +1 -1
- package/dist/webmcp/index.js +1 -1
- package/dist/yjs/index.d.ts +1 -1
- package/package.json +1 -1
- package/schemas/config-v1.json +40 -2
- package/dist/cli/add-BXNrz9sN.js +0 -1
- package/dist/cli/powersync-BLXxgdbk.js +0 -1
- package/dist/cli/seed-B6_MBFd2.js +0 -1
|
@@ -6,7 +6,7 @@ import { n as Jwks } from "../../jws-CxgTsbgG.js";
|
|
|
6
6
|
import { n as Logger } from "../../logger-0LfhvwE4.js";
|
|
7
7
|
import { a as ProblemFormat, t as BlockProblemOptions } from "../../problem-DfABfWnk.js";
|
|
8
8
|
import { r as BlockTemporalOptions } from "../../block-helpers-DDotKGAf.js";
|
|
9
|
-
import { c as BlockOf } from "../../define-block-
|
|
9
|
+
import { c as BlockOf } from "../../define-block-DpnCxELV.js";
|
|
10
10
|
import { Et as Events } from "../../events-zz8DwtZi.js";
|
|
11
11
|
/** The Vercel environments a resource's secrets reach. */
|
|
12
12
|
type VercelEnvironment = "production" | "preview" | "development";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-Bqne7_GN.js";
|
|
2
|
-
import { S as versionsEvents, _ as JsonValue, a as versionsBinding, b as jsonEqual, c as SnapshotResult, d as VersionSource, f as Versions, g as JsonPatchOperation, h as JsonPatchError, i as versionInput, l as Version, m as createVersions, n as VersionInput, o as RestoreResult, p as VersionsOptions, r as VersionsWrites, s as SnapshotInput, t as versionsBlock, u as VersionListOptions, v as applyPatch, x as VersionsEvents, y as createPatch } from "../../manifest-
|
|
2
|
+
import { S as versionsEvents, _ as JsonValue, a as versionsBinding, b as jsonEqual, c as SnapshotResult, d as VersionSource, f as Versions, g as JsonPatchOperation, h as JsonPatchError, i as versionInput, l as Version, m as createVersions, n as VersionInput, o as RestoreResult, p as VersionsOptions, r as VersionsWrites, s as SnapshotInput, t as versionsBlock, u as VersionListOptions, v as applyPatch, x as VersionsEvents, y as createPatch } from "../../manifest-4K_pRDrE.js";
|
|
3
3
|
import "../../index-CaxrMD1A.js";
|
|
4
4
|
export { type BlockTransport, JsonPatchError, type JsonPatchOperation, type JsonValue, type RestoreResult, type SnapshotInput, type SnapshotResult, type Version, type VersionInput, type VersionListOptions, type VersionSource, type Versions, type VersionsEvents, type VersionsOptions, type VersionsWrites, applyPatch, createPatch, createVersions, dbTransport, jsonEqual, rpcTransport, sqlTransport, versionInput, versionsBinding, versionsBlock, versionsEvents };
|
|
@@ -7,7 +7,7 @@ import { t as AsyncResult } from "../../result-aun_QZHn.js";
|
|
|
7
7
|
import { t as StandardSchemaV1 } from "../../standard-Vmy7ALDX.js";
|
|
8
8
|
import { n as BlockOptions } from "../../block-helpers-DDotKGAf.js";
|
|
9
9
|
import { n as VerifyOptions } from "../../signatures-Db_koMbq.js";
|
|
10
|
-
import { c as BlockOf } from "../../define-block-
|
|
10
|
+
import { c as BlockOf } from "../../define-block-DpnCxELV.js";
|
|
11
11
|
import { Et as Events, K as InviteCodeEventData, Q as OrganizationEventData, _t as WaitlistEventData } from "../../events-zz8DwtZi.js";
|
|
12
12
|
type WaitlistStatus = "waiting" | "approved" | "rejected" | "joined";
|
|
13
13
|
/** An entry. `F` types the extra columns the `fields` schema describes. */
|
|
@@ -5,7 +5,7 @@ import { n as Logger } from "../../logger-0LfhvwE4.js";
|
|
|
5
5
|
import { c as RoutePoint, n as OptimizedStops, s as RouteOptimizer } from "../../route-optimizer-DQSfFWqd.js";
|
|
6
6
|
import { t as AsyncResult } from "../../result-aun_QZHn.js";
|
|
7
7
|
import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-Bqne7_GN.js";
|
|
8
|
-
import { G as EntitySchema, c as BlockOf } from "../../define-block-
|
|
8
|
+
import { G as EntitySchema, c as BlockOf } from "../../define-block-DpnCxELV.js";
|
|
9
9
|
import { Et as Events } from "../../events-zz8DwtZi.js";
|
|
10
10
|
/** Where a pick wave stands. */
|
|
11
11
|
declare const PICK_WAVE_STATUSES: readonly ["draft", "released", "completed", "cancelled"];
|
|
@@ -3,7 +3,7 @@ import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n
|
|
|
3
3
|
import { t as AsyncResult } from "../../result-aun_QZHn.js";
|
|
4
4
|
import { n as BlockOptions } from "../../block-helpers-DDotKGAf.js";
|
|
5
5
|
import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-Bqne7_GN.js";
|
|
6
|
-
import { c as BlockOf } from "../../define-block-
|
|
6
|
+
import { c as BlockOf } from "../../define-block-DpnCxELV.js";
|
|
7
7
|
import { Et as Events } from "../../events-zz8DwtZi.js";
|
|
8
8
|
/** The statuses a warranty claim can hold, in lifecycle order. */
|
|
9
9
|
declare const WARRANTY_STATUSES: readonly ["draft", "submitted", "approved", "denied", "closed"];
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
|
-
import { a as DatabaseWebhookPayload, c as hookError, d as stripeInboxVerify, f as verifyStripeWebhook, i as DatabaseChange, l as isDatabaseWebhook, n as AuthHookKind, o as authHook, r as AuthHooks, s as databaseChange, t as AuthHookError, u as signStripeWebhook } from "../../verify-
|
|
3
|
-
import { A as IncomingVerify, C as isPublicAddress, D as IncomingDelivery, E as CreatedIncomingWebhook, F as UpdateIncomingWebhookInput, I as UpdatedIncomingWebhook, M as IncomingWebhooks, N as IncomingWebhooksOptions, O as IncomingDestination, P as RotatedIncomingSecret, S as ResolveHost, T as CreateIncomingWebhookInput, _ as WebhookResponse, a as WebhookSignInput, b as AllowUrl, c as standardWebhooks, d as RotateSecretOptions, f as WebhookSecretStore, g as WebhookRequest, h as WebhookPolicyError, i as StandardWebhooksOptions, j as IncomingWebhook, k as IncomingDestinationResult, l as standardWebhooksAsymmetric, m as FetchTransportOptions, n as HmacSignerOptions, o as WebhookSigner, p as sqlSecretStore, r as RawSigner, s as hmacSigner, t as AsymmetricWebhooksOptions, u as webhookPublicKey, v as WebhookTransport, w as publicUrl, x as PublicUrlOptions, y as fetchTransport } from "../../signers-
|
|
2
|
+
import { a as DatabaseWebhookPayload, c as hookError, d as stripeInboxVerify, f as verifyStripeWebhook, i as DatabaseChange, l as isDatabaseWebhook, n as AuthHookKind, o as authHook, r as AuthHooks, s as databaseChange, t as AuthHookError, u as signStripeWebhook } from "../../verify-B4daVDDR.js";
|
|
3
|
+
import { A as IncomingVerify, C as isPublicAddress, D as IncomingDelivery, E as CreatedIncomingWebhook, F as UpdateIncomingWebhookInput, I as UpdatedIncomingWebhook, M as IncomingWebhooks, N as IncomingWebhooksOptions, O as IncomingDestination, P as RotatedIncomingSecret, S as ResolveHost, T as CreateIncomingWebhookInput, _ as WebhookResponse, a as WebhookSignInput, b as AllowUrl, c as standardWebhooks, d as RotateSecretOptions, f as WebhookSecretStore, g as WebhookRequest, h as WebhookPolicyError, i as StandardWebhooksOptions, j as IncomingWebhook, k as IncomingDestinationResult, l as standardWebhooksAsymmetric, m as FetchTransportOptions, n as HmacSignerOptions, o as WebhookSigner, p as sqlSecretStore, r as RawSigner, s as hmacSigner, t as AsymmetricWebhooksOptions, u as webhookPublicKey, v as WebhookTransport, w as publicUrl, x as PublicUrlOptions, y as fetchTransport } from "../../signers-FVeDbZxq.js";
|
|
4
4
|
import { n as SqlClient } from "../../executor-7zo2arIZ.js";
|
|
5
|
-
import { C as QueueSchemas, _ as JobHandler, x as Queue } from "../../types-
|
|
5
|
+
import { C as QueueSchemas, _ as JobHandler, x as Queue } from "../../types-DerSPnBG.js";
|
|
6
6
|
import { n as BlockHooks } from "../../block-hooks-b7-RUIxS.js";
|
|
7
7
|
import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-Bqne7_GN.js";
|
|
8
8
|
import { g as SubscriberPolicy, i as AuthorizationHooks } from "../../authorization-hooks-Oe0WJTn2.js";
|
|
@@ -14,7 +14,7 @@ import { i as CredentialRef, o as CredentialToken, r as CredentialProvider } fro
|
|
|
14
14
|
import { i as EventSink, t as CloudEvent } from "../../cloud-event-B0AsPtwP.js";
|
|
15
15
|
import { a as verifySharedSecret, i as signWebhook, n as VerifyOptions, o as verifyWebhook, r as WebhookInput, t as VerifiedWebhook } from "../../signatures-Db_koMbq.js";
|
|
16
16
|
import { r as BlockTemporalOptions } from "../../block-helpers-DDotKGAf.js";
|
|
17
|
-
import { c as BlockOf } from "../../define-block-
|
|
17
|
+
import { c as BlockOf } from "../../define-block-DpnCxELV.js";
|
|
18
18
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
19
19
|
/** Constant-time string comparison. */
|
|
20
20
|
export declare function timingSafeEqual(a: string, b: string): boolean;
|
|
@@ -207,10 +207,13 @@ function createIncomingWebhooks(options) {
|
|
|
207
207
|
} : null
|
|
208
208
|
};
|
|
209
209
|
}),
|
|
210
|
-
list: ({ tenant, subject }) => call("list_incoming_webhooks", {
|
|
210
|
+
list: ({ tenant, subject, pageSize, skip, newestFirst }) => call("list_incoming_webhooks", {
|
|
211
211
|
tenant,
|
|
212
212
|
subject_type: subject?.type ?? null,
|
|
213
|
-
subject_id: subject?.id ?? null
|
|
213
|
+
subject_id: subject?.id ?? null,
|
|
214
|
+
page_size: pageSize ?? null,
|
|
215
|
+
skip: skip ?? 0,
|
|
216
|
+
newest_first: newestFirst ?? false
|
|
214
217
|
}, (value) => recordsOf(value, "list_incoming_webhooks").map((row) => ({
|
|
215
218
|
id: String(row["id"]),
|
|
216
219
|
tenant: String(row["tenant"]),
|
|
@@ -4,11 +4,11 @@ import { $ as diffGraphs, A as WorkflowTriggerKind, B as WorkflowBuiltinNodeKind
|
|
|
4
4
|
import { a as GraphStepCall, c as graphRunFields, i as GraphRuntime, l as startNodeOf, n as GraphNodeCall, o as GraphSubject, r as GraphRunFields, s as executeGraph, t as GraphApprovalCall } from "../../executor-BLv4T8kT.js";
|
|
5
5
|
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-Bqne7_GN.js";
|
|
6
6
|
import { b as DbError } from "../../result-aun_QZHn.js";
|
|
7
|
-
import { p as SubscriptionStatus } from "../../topic-
|
|
8
|
-
import { n as TopicPort } from "../../watch-topic-
|
|
9
|
-
import { n as Controller, t as AuthPort } from "../../controller-
|
|
7
|
+
import { p as SubscriptionStatus } from "../../topic-BdTuoZRL.js";
|
|
8
|
+
import { n as TopicPort } from "../../watch-topic-BjkFSiGe.js";
|
|
9
|
+
import { n as Controller, t as AuthPort } from "../../controller-D6ZUjfhv.js";
|
|
10
10
|
import { g as Workflows, n as WorkflowRun } from "../../workflows-CUcK8Axx.js";
|
|
11
|
-
import { c as BlockOf } from "../../define-block-
|
|
11
|
+
import { c as BlockOf } from "../../define-block-DpnCxELV.js";
|
|
12
12
|
import { Et as Events, yt as WorkflowEventData } from "../../events-zz8DwtZi.js";
|
|
13
13
|
/**
|
|
14
14
|
* The `workflow-editor` module's definitions, versions, triggers, credentials,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { _ as WorkflowsHooks, a as WorkflowRunStatus, c as WorkflowScheduleInput, d as WorkflowStartTicket, f as WorkflowStarter, g as Workflows, h as WorkflowTickResult, i as WorkflowRunRecord, l as WorkflowStartCall, m as WorkflowTickOptions, n as WorkflowRun, o as WorkflowRunsQuery, s as WorkflowSchedule, u as WorkflowStartRequest, v as WorkflowsOptions, y as createWorkflows } from "../../workflows-CUcK8Axx.js";
|
|
2
2
|
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-Bqne7_GN.js";
|
|
3
3
|
import { b as DbError } from "../../result-aun_QZHn.js";
|
|
4
|
-
import { p as SubscriptionStatus } from "../../topic-
|
|
5
|
-
import { n as TopicPort } from "../../watch-topic-
|
|
6
|
-
import { n as Controller, t as AuthPort } from "../../controller-
|
|
7
|
-
import { c as BlockOf } from "../../define-block-
|
|
4
|
+
import { p as SubscriptionStatus } from "../../topic-BdTuoZRL.js";
|
|
5
|
+
import { n as TopicPort } from "../../watch-topic-BjkFSiGe.js";
|
|
6
|
+
import { n as Controller, t as AuthPort } from "../../controller-D6ZUjfhv.js";
|
|
7
|
+
import { c as BlockOf } from "../../define-block-DpnCxELV.js";
|
|
8
8
|
import { Et as Events, bt as WorkflowRunEventData } from "../../events-zz8DwtZi.js";
|
|
9
9
|
interface WorkflowRunsControllerOptions {
|
|
10
10
|
readonly client: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as AiChatMessageStorage } from "./ai-chat-
|
|
1
|
+
import { d as AiChatMessageStorage } from "./ai-chat-CVmnJZcP.js";
|
|
2
2
|
import { t as StandardSchemaV1 } from "./standard-Vmy7ALDX.js";
|
|
3
3
|
/** The names each module's `blocks.<name>` config keys accept. */
|
|
4
4
|
interface BlockNameRegistry {
|
|
@@ -1750,7 +1750,7 @@ interface BlockNameRegistry {
|
|
|
1750
1750
|
readonly "consumers": "name" | "cursorXid" | "cursor" | "types" | "leaseOwner" | "leaseUntil" | "attempts" | "lastError" | "retryAt" | "updatedAt";
|
|
1751
1751
|
readonly "deadLetters": "consumer" | "position" | "eventId" | "type" | "event" | "attempts" | "error" | "deadAt";
|
|
1752
1752
|
};
|
|
1753
|
-
readonly functions: "emit_event" | "outbox_ack" | "outbox_claim" | "outbox_dead_letters" | "outbox_fail" | "outbox_history" | "outbox_register" | "outbox_row_event" | "outbox_unregister" | "purge_outbox" | "track_events";
|
|
1753
|
+
readonly functions: "emit_event" | "outbox_ack" | "outbox_claim" | "outbox_dead_letters" | "outbox_fail" | "outbox_has_work" | "outbox_history" | "outbox_register" | "outbox_row_event" | "outbox_unregister" | "purge_outbox" | "track_events";
|
|
1754
1754
|
readonly actions: never;
|
|
1755
1755
|
readonly hooks: never;
|
|
1756
1756
|
readonly entities: {};
|
|
@@ -1914,7 +1914,7 @@ interface BlockNameRegistry {
|
|
|
1914
1914
|
readonly tables: {
|
|
1915
1915
|
readonly "messages": "id" | "queue" | "message" | "attempts" | "enqueuedAt" | "visibleAt" | "archivedAt" | "dead" | "dedupeKey" | "maxAttempts";
|
|
1916
1916
|
readonly "leases": "scope" | "key" | "holder" | "state" | "expiresAt";
|
|
1917
|
-
readonly "schedules": "jobName" | "schedule" | "timezone" | "queue" | "payload" | "nextRun" | "lastRun" | "lockedUntil" | "createdAt" | "tenant" | "firstAfter";
|
|
1917
|
+
readonly "schedules": "jobName" | "schedule" | "timezone" | "queue" | "payload" | "nextRun" | "lastRun" | "lockedUntil" | "createdAt" | "tenant" | "firstAfter" | "probe";
|
|
1918
1918
|
};
|
|
1919
1919
|
readonly functions: never;
|
|
1920
1920
|
readonly actions: never;
|
|
@@ -2625,7 +2625,7 @@ interface BlockNameRegistry {
|
|
|
2625
2625
|
readonly "secrets": "id" | "endpoint" | "tenant" | "secret" | "vaultId" | "expiresAt" | "createdAt";
|
|
2626
2626
|
readonly "deliveries": "id" | "tenant" | "endpoint" | "event" | "run" | "type" | "subject" | "payload" | "status" | "attempt" | "availableAt" | "leasedUntil" | "responseStatus" | "responseBody" | "durationMs" | "lastError" | "processedAt" | "createdAt" | "updatedAt";
|
|
2627
2627
|
};
|
|
2628
|
-
readonly functions: "claim_webhook_deliveries" | "complete_webhook_delivery" | "create_webhook_endpoint" | "delete_webhook_endpoint" | "dispatch_webhook" | "drop_webhook_vault_secret" | "list_webhook_endpoints" | "publish_webhook_event" | "publish_webhook_events" | "purge_webhook_deliveries" | "redeliver_webhook" | "reset_webhook_endpoint" | "rotate_webhook_secret" | "update_webhook_endpoint" | "webhook_secrets";
|
|
2628
|
+
readonly functions: "claim_webhook_deliveries" | "complete_webhook_delivery" | "create_webhook_endpoint" | "delete_webhook_endpoint" | "dispatch_webhook" | "drop_webhook_vault_secret" | "list_webhook_endpoints" | "publish_webhook_event" | "publish_webhook_events" | "purge_webhook_deliveries" | "redeliver_webhook" | "reset_webhook_endpoint" | "rotate_webhook_secret" | "update_webhook_endpoint" | "webhook_deliveries_has_work" | "webhook_secrets";
|
|
2629
2629
|
readonly actions: "manage" | "read";
|
|
2630
2630
|
readonly hooks: "after_webhook_delivery";
|
|
2631
2631
|
readonly entities: {
|
|
@@ -5533,9 +5533,14 @@ interface BlockConfig<Options extends object = Readonly<Record<string, unknown>>
|
|
|
5533
5533
|
};
|
|
5534
5534
|
/**
|
|
5535
5535
|
* Whether the module writes its events to the outbox (`emit_event`) when the
|
|
5536
|
-
* `outbox` module is installed. Defaults to true.
|
|
5536
|
+
* `outbox` module is installed. Defaults to true. `payload` adds columns of
|
|
5537
|
+
* the event's row to an event's payload, keyed by event type and then by
|
|
5538
|
+
* payload key, e.g. `{ payload: { "task.created": { customerId: "customer_id"
|
|
5539
|
+
* } } }`.
|
|
5537
5540
|
*/
|
|
5538
|
-
readonly events?: boolean
|
|
5541
|
+
readonly events?: boolean | {
|
|
5542
|
+
readonly payload?: Readonly<Record<string, Readonly<Record<string, string>>>>;
|
|
5543
|
+
};
|
|
5539
5544
|
/**
|
|
5540
5545
|
* Whether the module writes its actions to the audit log (`audit_event`) when
|
|
5541
5546
|
* the `audit` module is installed. Defaults to true.
|
|
@@ -5744,6 +5749,7 @@ interface ResolvedBlock {
|
|
|
5744
5749
|
readonly functions: Readonly<Record<string, string>>;
|
|
5745
5750
|
};
|
|
5746
5751
|
readonly events: boolean;
|
|
5752
|
+
readonly eventPayload: Readonly<Record<string, Readonly<Record<string, string>>>>;
|
|
5747
5753
|
readonly audit: boolean;
|
|
5748
5754
|
readonly api?: {
|
|
5749
5755
|
readonly schema: string;
|
|
@@ -5,7 +5,7 @@ import { n as BlockHooks } from "./block-hooks-b7-RUIxS.js";
|
|
|
5
5
|
import { n as Logger } from "./logger-0LfhvwE4.js";
|
|
6
6
|
import { t as StandardSchemaV1 } from "./standard-Vmy7ALDX.js";
|
|
7
7
|
import { o as WeeklyHours } from "./availability-ezSvbaRp.js";
|
|
8
|
-
import { _ as JobHandler } from "./types-
|
|
8
|
+
import { _ as JobHandler } from "./types-DerSPnBG.js";
|
|
9
9
|
import { t as AsyncResult } from "./result-aun_QZHn.js";
|
|
10
10
|
/** An ISO weekday: 1 is Monday, 7 is Sunday. */
|
|
11
11
|
type BookingWeekday = 1 | 2 | 3 | 4 | 5 | 6 | 7;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as isPlainObject } from "./clone-H_gCsL29.js";
|
|
2
2
|
import { t as instanceProperty } from "./instance-property-BlH7QSDl.js";
|
|
3
3
|
import { s as problemType, t as PROBLEM_CONTENT_TYPE } from "./problem-BwplIuhI.js";
|
|
4
|
-
import { n as toJsonSchema } from "./json-schema-
|
|
4
|
+
import { n as toJsonSchema } from "./json-schema-CNrq6b9q.js";
|
|
5
5
|
import { n as pageQuery, r as pageSchema } from "./resource-schemas-Bq0g2RCQ.js";
|
|
6
6
|
import { r as planResource } from "./resource-DQ4kIBpa.js";
|
|
7
7
|
import { n as isRecord } from "./guards-CsRa6v57.js";
|
package/dist/claims/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { g as SessionSnapshot, v as isSessionSnapshot } from "../resolve-Pn7KvQ23.js";
|
|
2
2
|
import { a as PERMISSIONS_TRUNCATED_CLAIM, i as PERMISSIONS_CLAIM, n as FEATURES_CLAIM, o as PERMISSION_CAP_CLAIM, r as MEMBERSHIPS_CLAIM, t as AUTHZ_VERSION_CLAIM } from "../index-IKfbX_39.js";
|
|
3
|
-
import { K as permissionCapOf } from "../types-
|
|
3
|
+
import { K as permissionCapOf } from "../types-DerSPnBG.js";
|
|
4
4
|
import { a as isUserSession, i as isApiKeySession, n as AuthSession, r as UserSession, t as ApiKeySession } from "../view-DwTCw_jZ.js";
|
|
5
|
-
import { n as ClaimsSource, t as ClaimsRecord } from "../claims-source-
|
|
6
|
-
import { t as tenantOf } from "../tenant-
|
|
7
|
-
import { n as isTruncated, r as permissionsOf, t as PermissionsOfOptions } from "../permissions-
|
|
8
|
-
import { i as decodeEntitlementClaim, r as MembershipClaim, t as EntitlementClaimOptions } from "../entitlements-
|
|
5
|
+
import { n as ClaimsSource, t as ClaimsRecord } from "../claims-source-fUk4pR24.js";
|
|
6
|
+
import { t as tenantOf } from "../tenant-tAtS31r8.js";
|
|
7
|
+
import { n as isTruncated, r as permissionsOf, t as PermissionsOfOptions } from "../permissions-CP5Cwz8h.js";
|
|
8
|
+
import { i as decodeEntitlementClaim, r as MembershipClaim, t as EntitlementClaimOptions } from "../entitlements-Djh4bBdj.js";
|
|
9
9
|
export { AUTHZ_VERSION_CLAIM, type ApiKeySession, type AuthSession, type ClaimsRecord, type ClaimsSource, type EntitlementClaimOptions, FEATURES_CLAIM, MEMBERSHIPS_CLAIM, type MembershipClaim, PERMISSIONS_CLAIM, PERMISSIONS_TRUNCATED_CLAIM, PERMISSION_CAP_CLAIM, type PermissionsOfOptions, type SessionSnapshot, type UserSession, decodeEntitlementClaim, isApiKeySession, isSessionSnapshot, isTruncated, isUserSession, permissionCapOf, permissionsOf, tenantOf };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as addCommand } from "./add-C0CrFxHw.js";
|
|
@@ -3,8 +3,8 @@ import { n as CliError } from "./errors-B7i-VGxk.js";
|
|
|
3
3
|
import { r as applyPlan } from "./files-NnXnawki.js";
|
|
4
4
|
import { t as codeRanges } from "./code-ranges-uTOKmIXC.js";
|
|
5
5
|
import { t as isRecord } from "./guards-DxwRG0Uv.js";
|
|
6
|
-
import { i as providerOwnsMemberships, r as layoutFor, t as MEMBERSHIP_CLAIM_MODULES } from "./providers-
|
|
7
|
-
import { a as write, i as unlistedModuleFiles, r as nextStep } from "./sync-
|
|
6
|
+
import { i as providerOwnsMemberships, r as layoutFor, t as MEMBERSHIP_CLAIM_MODULES } from "./providers-QkAQXJCS.js";
|
|
7
|
+
import { a as write, i as unlistedModuleFiles, r as nextStep } from "./sync--2h-BD99.js";
|
|
8
8
|
import { basename, dirname } from "node:path";
|
|
9
9
|
import { readFile } from "node:fs/promises";
|
|
10
10
|
import { SQL_MODULES, resolveBlocks } from "better-supabase/sql";
|
|
@@ -2,19 +2,19 @@ import { c as parseNames, n as CliError } from "./errors-B7i-VGxk.js";
|
|
|
2
2
|
import { a as list, m as commandMeta, r as defineCliCommand } from "./command-fqvJ0TdG.js";
|
|
3
3
|
import { i as changeLines, n as PLAN_ARGS, r as applyPlan, u as planResult } from "./files-NnXnawki.js";
|
|
4
4
|
import { r as readIfExists, t as display } from "./io-CngfGyMA.js";
|
|
5
|
-
import { a as wiringFiles, d as libEntry, f as needsLib, i as wiringChecklist, l as importFrom, n as latestMigrationVersion, o as wiringFor, p as resolveIntegrations, s as TEMPLATES, u as isIntegration } from "./migration-safety-
|
|
6
|
-
import { t as VERSION } from "./version-
|
|
5
|
+
import { a as wiringFiles, d as libEntry, f as needsLib, i as wiringChecklist, l as importFrom, n as latestMigrationVersion, o as wiringFor, p as resolveIntegrations, s as TEMPLATES, u as isIntegration } from "./migration-safety-Dnt9Czmf.js";
|
|
6
|
+
import { t as VERSION } from "./version-B_O3ame2.js";
|
|
7
7
|
import { n as installCommand, t as detectProject } from "./detect-CHR-SAmE.js";
|
|
8
|
-
import { a as addBlocksToWiring, d as setBlockInConfig, f as setBlockInJson, g as setPresetInJson, h as setPresetInConfig, i as addBlocksToJson, m as setPathInJson, p as setPathInConfig, r as addBlocksToConfig, t as addModules } from "./add-
|
|
9
|
-
import { o as dataMigration, t as syncModules } from "./sync-
|
|
10
|
-
import { n as adoptionContext } from "./app-tables-
|
|
11
|
-
import { a as toCatalog } from "./source-
|
|
8
|
+
import { a as addBlocksToWiring, d as setBlockInConfig, f as setBlockInJson, g as setPresetInJson, h as setPresetInConfig, i as addBlocksToJson, m as setPathInJson, p as setPathInConfig, r as addBlocksToConfig, t as addModules } from "./add-BZwvXVWj.js";
|
|
9
|
+
import { o as dataMigration, t as syncModules } from "./sync--2h-BD99.js";
|
|
10
|
+
import { n as adoptionContext } from "./app-tables-BzBFYoMr.js";
|
|
11
|
+
import { a as toCatalog } from "./source-BFIiz5Gd.js";
|
|
12
12
|
import { i as plain } from "./style-B5-nByxb.js";
|
|
13
|
-
import { d as loadSnapshot } from "./sql-layout-
|
|
14
|
-
import { a as findConfig, h as INTEGRATIONS, s as loadConfig } from "./config-
|
|
15
|
-
import { t as appTablePlan } from "./app-table-files-
|
|
16
|
-
import { t as blockNames } from "./blocks-
|
|
17
|
-
import { i as sourceArgs, n as SOURCE_ARGS } from "./source-args-
|
|
13
|
+
import { d as loadSnapshot } from "./sql-layout-DTEum7p9.js";
|
|
14
|
+
import { a as findConfig, h as INTEGRATIONS, s as loadConfig } from "./config-By5EbpdJ.js";
|
|
15
|
+
import { t as appTablePlan } from "./app-table-files-C5DZPmHI.js";
|
|
16
|
+
import { t as blockNames } from "./blocks-GHzRHitY.js";
|
|
17
|
+
import { i as sourceArgs, n as SOURCE_ARGS } from "./source-args-CvgOHwlj.js";
|
|
18
18
|
import { existsSync } from "node:fs";
|
|
19
19
|
import { dirname, join, posix, resolve } from "node:path";
|
|
20
20
|
import { readFile } from "node:fs/promises";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { n as CliError } from "./errors-B7i-VGxk.js";
|
|
2
2
|
import { d as readSupabaseToml, n as declarativeSchemasDir } from "./supabase-toml-B6-eEV5p.js";
|
|
3
|
-
import { r as literal } from "./live-
|
|
4
|
-
import { r as layoutFor } from "./providers-
|
|
5
|
-
import { n as renderBlocksCached } from "./render-cache-
|
|
6
|
-
import { f as subjectTagArgs } from "./config-
|
|
3
|
+
import { r as literal } from "./live-DIsnNTKQ.js";
|
|
4
|
+
import { r as layoutFor } from "./providers-QkAQXJCS.js";
|
|
5
|
+
import { n as renderBlocksCached } from "./render-cache-BiTkqTAJ.js";
|
|
6
|
+
import { f as subjectTagArgs } from "./config-By5EbpdJ.js";
|
|
7
7
|
import { join, resolve, sep } from "node:path";
|
|
8
8
|
import { APP_TABLES_MODULE, setTableFeature } from "better-supabase/sql";
|
|
9
9
|
import { FIELD_FORMATS } from "better-supabase/config";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as accessProviderMode } from "./authorization-CNWhpdKb.js";
|
|
2
|
-
import { u as writtenByBlocks } from "./sql-layout-
|
|
3
|
-
import { c as qualified, t as catalogOf } from "./shared-
|
|
2
|
+
import { u as writtenByBlocks } from "./sql-layout-DTEum7p9.js";
|
|
3
|
+
import { c as qualified, t as catalogOf } from "./shared-CAw3LIDZ.js";
|
|
4
4
|
import { declaredTables, resolveBlocks } from "better-supabase/sql";
|
|
5
5
|
// src/cli/doctor/app-tables.ts
|
|
6
6
|
/**
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { l as stdinDatabaseUrl, n as databaseUrl } from "./config-
|
|
1
|
+
import { l as stdinDatabaseUrl, n as databaseUrl } from "./config-By5EbpdJ.js";
|
|
2
2
|
import { i as isLocalDatabaseUrl, r as databaseHost } from "./agent-BlYLJPzM.js";
|
|
3
3
|
import { m as commandMeta, r as defineCliCommand } from "./command-fqvJ0TdG.js";
|
|
4
4
|
import { n as CliError, r as errorText } from "./errors-B7i-VGxk.js";
|
|
5
5
|
import { t as connect } from "./db-B_xr3ZvK.js";
|
|
6
|
-
import { n as ident } from "./live-
|
|
7
|
-
import { r as STACK_ARG, t as DB_URL_STDIN_ARG } from "./source-args-
|
|
6
|
+
import { n as ident } from "./live-DIsnNTKQ.js";
|
|
7
|
+
import { r as STACK_ARG, t as DB_URL_STDIN_ARG } from "./source-args-CvgOHwlj.js";
|
|
8
8
|
// src/cli/commands/backfill.ts
|
|
9
9
|
const DEFAULT_BATCH = 1e3;
|
|
10
10
|
const ARGS = {
|
package/dist/cli/bin.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { m as commandMeta, r as defineCliCommand } from "./command-fqvJ0TdG.js";
|
|
2
2
|
import { n as CliError } from "./errors-B7i-VGxk.js";
|
|
3
3
|
import { t as SQL_ARGS } from "./args-CS_64_tg.js";
|
|
4
|
-
import { n as listModules, t as printModule } from "./print-
|
|
4
|
+
import { n as listModules, t as printModule } from "./print-DEwSsdxn.js";
|
|
5
5
|
import { t as decodePresetInput } from "./preset-CWfLlmTO.js";
|
|
6
6
|
import { SQL_MODULES } from "better-supabase/sql";
|
|
7
7
|
import { PRESET_CATALOG, PRESET_NAMES, glueCommand } from "better-supabase/preset";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { n as blocksListCommand, r as blocksSearchCommand, i as blocksViewCommand } from "./blocks-
|
|
1
|
+
export { n as blocksListCommand, r as blocksSearchCommand, i as blocksViewCommand } from "./blocks-GHzRHitY.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as CACHE_DIR } from "./store-DP-nmqBt.js";
|
|
2
|
-
import { t as VERSION } from "./version-
|
|
2
|
+
import { t as VERSION } from "./version-B_O3ame2.js";
|
|
3
3
|
import { dirname, resolve } from "node:path";
|
|
4
4
|
import { mkdir, readFile, rename, rm, writeFile } from "node:fs/promises";
|
|
5
5
|
import { createHash } from "node:crypto";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as codeRanges } from "./code-ranges-uTOKmIXC.js";
|
|
2
|
-
import { i as pinReview, n as namingCodemod, o as configCodemod, r as columnPins, t as NAMING_RENAMES } from "./codemod-naming-
|
|
2
|
+
import { i as pinReview, n as namingCodemod, o as configCodemod, r as columnPins, t as NAMING_RENAMES } from "./codemod-naming-B776pVSk.js";
|
|
3
3
|
import { n as CliError } from "./errors-B7i-VGxk.js";
|
|
4
|
-
import { r as layoutFor } from "./providers-
|
|
5
|
-
import { c as snapshotColumnTypes, i as migrationsDir, o as ownLayout, u as writtenByBlocks } from "./sql-layout-
|
|
4
|
+
import { r as layoutFor } from "./providers-QkAQXJCS.js";
|
|
5
|
+
import { c as snapshotColumnTypes, i as migrationsDir, o as ownLayout, u as writtenByBlocks } from "./sql-layout-DTEum7p9.js";
|
|
6
6
|
import { r as arrayEntries, t as PROMISE_ALL } from "./round-trips-BHfeIu6I.js";
|
|
7
|
-
import { l as schemaModulePath } from "./emit-
|
|
8
|
-
import { n as databaseUrl, s as loadConfig } from "./config-
|
|
7
|
+
import { l as schemaModulePath } from "./emit-T1WamIdk.js";
|
|
8
|
+
import { n as databaseUrl, s as loadConfig } from "./config-By5EbpdJ.js";
|
|
9
9
|
import { m as commandMeta, r as defineCliCommand } from "./command-fqvJ0TdG.js";
|
|
10
10
|
import { a as changedFiles, i as changeLines, r as applyPlan, u as planResult } from "./files-NnXnawki.js";
|
|
11
11
|
import { t as connect } from "./db-B_xr3ZvK.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as codeRanges } from "./code-ranges-uTOKmIXC.js";
|
|
2
|
-
import { o as ownLayout } from "./sql-layout-
|
|
2
|
+
import { o as ownLayout } from "./sql-layout-DTEum7p9.js";
|
|
3
3
|
import { t as isRecord } from "./guards-DxwRG0Uv.js";
|
|
4
4
|
import { LEGACY_OPTION, SQL_MODULES, bsbPolicyName, moduleContext, readPolicies, redundantNulls } from "better-supabase/sql";
|
|
5
5
|
// src/cli/codemod-config.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as NAMING_RENAMES } from "./codemod-naming-
|
|
2
|
-
import { u as writtenByBlocks } from "./sql-layout-
|
|
1
|
+
import { t as NAMING_RENAMES } from "./codemod-naming-B776pVSk.js";
|
|
2
|
+
import { u as writtenByBlocks } from "./sql-layout-DTEum7p9.js";
|
|
3
3
|
import { SQL_MODULES } from "better-supabase/sql";
|
|
4
4
|
// src/cli/doctor/column-renames.ts
|
|
5
5
|
const ADD_COLUMN = /\balter\s+table\s+(?:if\s+exists\s+)?(?:only\s+)?((?:"?[\w$]+"?\s*\.\s*)?"?[\w$]+"?)\s+add\s+column\s+if\s+not\s+exists\s+("?[\w$]+"?)/gi;
|
|
@@ -1003,7 +1003,7 @@ const blockEntries = {
|
|
|
1003
1003
|
schema: optional(string()),
|
|
1004
1004
|
functions: optional(stringRecord)
|
|
1005
1005
|
})),
|
|
1006
|
-
events: optional(boolean()),
|
|
1006
|
+
events: optional(union([boolean(), strictObject({ payload: optional(record(string(), stringRecord)) })])),
|
|
1007
1007
|
audit: optional(boolean()),
|
|
1008
1008
|
api: optional(union([
|
|
1009
1009
|
string(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as applyEnvironment, n as databaseUrl, r as defaultConfig, i as discoverConfig, a as findConfig, o as importExport, s as loadConfig, c as readSupabasePort, l as stdinDatabaseUrl } from "./config-
|
|
1
|
+
export { t as applyEnvironment, n as databaseUrl, r as defaultConfig, i as discoverConfig, a as findConfig, o as importExport, s as loadConfig, c as readSupabasePort, l as stdinDatabaseUrl } from "./config-By5EbpdJ.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as i } from "./jsonc-Dyww6wHM.js";
|
|
2
2
|
import { r as readIfExists } from "./io-CngfGyMA.js";
|
|
3
3
|
import { t as CACHE_DIR } from "./store-DP-nmqBt.js";
|
|
4
|
-
import { H as installedVersion } from "./sql-layout-
|
|
4
|
+
import { H as installedVersion } from "./sql-layout-DTEum7p9.js";
|
|
5
5
|
import { resolve } from "node:path";
|
|
6
6
|
import { createHash } from "node:crypto";
|
|
7
7
|
// src/cli/content-mapper.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { l as stdinDatabaseUrl, n as databaseUrl } from "./config-
|
|
1
|
+
import { l as stdinDatabaseUrl, n as databaseUrl } from "./config-By5EbpdJ.js";
|
|
2
2
|
import { i as isLocalDatabaseUrl, r as databaseHost } from "./agent-BlYLJPzM.js";
|
|
3
3
|
import { m as commandMeta, r as defineCliCommand } from "./command-fqvJ0TdG.js";
|
|
4
4
|
import { n as CliError, r as errorText } from "./errors-B7i-VGxk.js";
|
|
@@ -7,7 +7,7 @@ import { t as connect } from "./db-B_xr3ZvK.js";
|
|
|
7
7
|
import { r as supabaseCli } from "./exec-DBgtTCHK.js";
|
|
8
8
|
import { a as migrationFiles, i as isShadowFailure, o as migrationVersion, r as inStackDiff, t as MIGRATION_HEADER } from "./in-stack-diff-3e1LT1bn.js";
|
|
9
9
|
import { d as readSupabaseToml, f as schemaPaths, n as declarativeSchemasDir, p as sqlWorkflow } from "./supabase-toml-B6-eEV5p.js";
|
|
10
|
-
import { r as STACK_ARG, t as DB_URL_STDIN_ARG } from "./source-args-
|
|
10
|
+
import { r as STACK_ARG, t as DB_URL_STDIN_ARG } from "./source-args-CvgOHwlj.js";
|
|
11
11
|
import { dirname, join, resolve } from "node:path";
|
|
12
12
|
import { mkdir, readFile, writeFile } from "node:fs/promises";
|
|
13
13
|
import { parseRenameHints } from "better-supabase/create";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { a as list, m as commandMeta, r as defineCliCommand } from "./command-fqvJ0TdG.js";
|
|
2
2
|
import { n as CliError } from "./errors-B7i-VGxk.js";
|
|
3
|
-
import { m as GEN_TASKS } from "./config-
|
|
4
|
-
import { c as stampFiles, l as watchLoop, o as fileWaker, s as parseInterval } from "./spec-
|
|
5
|
-
import { a as stepInputs, i as selectTasks, n as runTasks, r as parseTasks, t as poll } from "./gen-tasks-
|
|
6
|
-
import { g as snapshotFile, p as openSource } from "./sql-layout-
|
|
7
|
-
import { i as sourceArgs, n as SOURCE_ARGS } from "./source-args-
|
|
3
|
+
import { m as GEN_TASKS } from "./config-By5EbpdJ.js";
|
|
4
|
+
import { c as stampFiles, l as watchLoop, o as fileWaker, s as parseInterval } from "./spec-wHDGnKHu.js";
|
|
5
|
+
import { a as stepInputs, i as selectTasks, n as runTasks, r as parseTasks, t as poll } from "./gen-tasks-Yrk8s8md.js";
|
|
6
|
+
import { g as snapshotFile, p as openSource } from "./sql-layout-DTEum7p9.js";
|
|
7
|
+
import { i as sourceArgs, n as SOURCE_ARGS } from "./source-args-CvgOHwlj.js";
|
|
8
8
|
import { dirname, resolve } from "node:path";
|
|
9
9
|
import { readdir } from "node:fs/promises";
|
|
10
10
|
// src/cli/commands/dev.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as subjectFromTag, l as stdinDatabaseUrl, n as databaseUrl, u as withTableTags } from "./config-
|
|
2
|
-
import { a as hasContentMapper, c as supportsContentMappers, i as contentMapperSetup$1, n as TSCONFIG_SNIPPET, o as needsRunExternalCode, t as RUN_EXTERNAL_CODE } from "./content-mapper-
|
|
1
|
+
import { d as subjectFromTag, l as stdinDatabaseUrl, n as databaseUrl, u as withTableTags } from "./config-By5EbpdJ.js";
|
|
2
|
+
import { a as hasContentMapper, c as supportsContentMappers, i as contentMapperSetup$1, n as TSCONFIG_SNIPPET, o as needsRunExternalCode, t as RUN_EXTERNAL_CODE } from "./content-mapper-Do10cbVT.js";
|
|
3
3
|
import { i as isLocalDatabaseUrl, r as databaseHost } from "./agent-BlYLJPzM.js";
|
|
4
4
|
import { a as list, m as commandMeta, r as defineCliCommand } from "./command-fqvJ0TdG.js";
|
|
5
5
|
import { n as CliError, r as errorText } from "./errors-B7i-VGxk.js";
|
|
@@ -7,37 +7,37 @@ import { c as insideRoot, i as changeLines, r as applyPlan } from "./files-NnXna
|
|
|
7
7
|
import { a as sameText, t as display } from "./io-CngfGyMA.js";
|
|
8
8
|
import { t as connect } from "./db-B_xr3ZvK.js";
|
|
9
9
|
import { t as byCodePoint } from "./compare-yl4sSwVn.js";
|
|
10
|
-
import { C as dataFiles, D as sourceFiles, E as seedFiles, H as installedVersion, O as sqlFiles, S as ENV_FILES, T as readText, U as peerVersions, W as satisfies, _ as liteDriverOf, a as moduleLayoutFor, d as loadSnapshot, f as managementTarget, g as snapshotFile, i as migrationsDir, j as MetadataRejectedError, p as openSource, r as blockDeclaredTables, u as writtenByBlocks, v as isSqliteLiteDriver, w as functionFiles } from "./sql-layout-
|
|
11
|
-
import { i as request } from "./source-
|
|
10
|
+
import { C as dataFiles, D as sourceFiles, E as seedFiles, H as installedVersion, O as sqlFiles, S as ENV_FILES, T as readText, U as peerVersions, W as satisfies, _ as liteDriverOf, a as moduleLayoutFor, d as loadSnapshot, f as managementTarget, g as snapshotFile, i as migrationsDir, j as MetadataRejectedError, p as openSource, r as blockDeclaredTables, u as writtenByBlocks, v as isSqliteLiteDriver, w as functionFiles } from "./sql-layout-DTEum7p9.js";
|
|
11
|
+
import { i as request } from "./source-BFIiz5Gd.js";
|
|
12
12
|
import { a as findRepoRoot, c as httpHooks, d as readSupabaseToml, h as tomlGet, i as diffEngine, l as migrationCommand, n as declarativeSchemasDir, p as sqlWorkflow, u as pgFunctionHooks } from "./supabase-toml-B6-eEV5p.js";
|
|
13
13
|
import { r as supabaseCli } from "./exec-DBgtTCHK.js";
|
|
14
14
|
import { t as CACHE_DIR } from "./store-DP-nmqBt.js";
|
|
15
|
-
import { _ as BLOCK_PREFIX, a as METADATA_GAPS_TEXT, b as splinterTables, c as entitlementsModule, d as appliesTo, f as escape$7, g as withoutStrings, h as policyHelpers, l as COMMANDS$2, m as functionObject, p as functionBody, s as AUTHORIZATION_RULES, u as RLS_RULES, v as blockTargets, y as advisorRule } from "./run-
|
|
16
|
-
import { r as renderFiles } from "./render-
|
|
17
|
-
import { l as schemaModulePath, m as configFor, p as notNullTag } from "./emit-
|
|
15
|
+
import { _ as BLOCK_PREFIX, a as METADATA_GAPS_TEXT, b as splinterTables, c as entitlementsModule, d as appliesTo, f as escape$7, g as withoutStrings, h as policyHelpers, l as COMMANDS$2, m as functionObject, p as functionBody, s as AUTHORIZATION_RULES, u as RLS_RULES, v as blockTargets, y as advisorRule } from "./run-s73OXa6p.js";
|
|
16
|
+
import { r as renderFiles } from "./render-dx7vrczW.js";
|
|
17
|
+
import { l as schemaModulePath, m as configFor, p as notNullTag } from "./emit-T1WamIdk.js";
|
|
18
18
|
import { t as orphanedBlockFiles } from "./orphans-ByB0gKOp.js";
|
|
19
|
-
import { a as renameArguments, s as tenantEntries, t as NAMING_RENAMES } from "./codemod-naming-
|
|
19
|
+
import { a as renameArguments, s as tenantEntries, t as NAMING_RENAMES } from "./codemod-naming-B776pVSk.js";
|
|
20
20
|
import { t as isRecord$1 } from "./guards-DxwRG0Uv.js";
|
|
21
|
-
import { i as appViewsOf, n as adoptionContext, r as appTablesOf, t as accessModule } from "./app-tables-
|
|
22
|
-
import { i as migrationHolds, o as migrationModules, r as latestMigration, t as MODULES_SUFFIX } from "./module-migration-
|
|
23
|
-
import { n as renderBlocksCached } from "./render-cache-
|
|
24
|
-
import { a as lineOf, c as qualified, i as exposedSchemas, l as tableObject, n as deniesAll, o as permissionCatalogKeys, r as exposed, s as policyObject, t as catalogOf, u as workflowOf } from "./shared-
|
|
25
|
-
import { n as staleRenameKeys, t as shadowedBlockColumns } from "./column-renames-
|
|
26
|
-
import { a as reservedRoles, i as statementsView, n as ident$1, r as literal$1, t as LIVE_RULES } from "./live-
|
|
21
|
+
import { i as appViewsOf, n as adoptionContext, r as appTablesOf, t as accessModule } from "./app-tables-BzBFYoMr.js";
|
|
22
|
+
import { i as migrationHolds, o as migrationModules, r as latestMigration, t as MODULES_SUFFIX } from "./module-migration-CEQY0Jql.js";
|
|
23
|
+
import { n as renderBlocksCached } from "./render-cache-BiTkqTAJ.js";
|
|
24
|
+
import { a as lineOf, c as qualified, i as exposedSchemas, l as tableObject, n as deniesAll, o as permissionCatalogKeys, r as exposed, s as policyObject, t as catalogOf, u as workflowOf } from "./shared-CAw3LIDZ.js";
|
|
25
|
+
import { n as staleRenameKeys, t as shadowedBlockColumns } from "./column-renames-CeK8sWiT.js";
|
|
26
|
+
import { a as reservedRoles, i as statementsView, n as ident$1, r as literal$1, t as LIVE_RULES } from "./live-DIsnNTKQ.js";
|
|
27
27
|
import { t as projectionsOf } from "./projection-DlVB5YL-.js";
|
|
28
28
|
import { s as providerLabel } from "./authorization-CNWhpdKb.js";
|
|
29
|
-
import { t as VERSION$1 } from "./version-
|
|
29
|
+
import { t as VERSION$1 } from "./version-B_O3ame2.js";
|
|
30
30
|
import { t as PROCESS_ENV } from "./env-CQ831uY0.js";
|
|
31
31
|
import { a as stackEnvValues, i as redactValue, o as staleVariables, t as PREFIX_NAMES } from "./stack-env-CtkfVXsR.js";
|
|
32
32
|
import { n as readStackStatus } from "./stack-status-rNPCacin.js";
|
|
33
|
-
import { o as wiringFor, r as configInstances, t as MIGRATION_SAFETY_RULES } from "./migration-safety-
|
|
33
|
+
import { o as wiringFor, r as configInstances, t as MIGRATION_SAFETY_RULES } from "./migration-safety-Dnt9Czmf.js";
|
|
34
34
|
import { a as OPEN, c as functionsIn, i as CLOSE, l as statementEnd, n as ROUND_TRIP_RULES, o as closeOf, s as codeOnly, u as targetKeys } from "./round-trips-BHfeIu6I.js";
|
|
35
35
|
import { n as PLATFORM_SCHEMAS } from "./in-stack-diff-3e1LT1bn.js";
|
|
36
36
|
import { a as readSharedMemory, n as listStacks, t as branchName } from "./stacks-Eu6d45F8.js";
|
|
37
37
|
import { i as plain$2 } from "./style-B5-nByxb.js";
|
|
38
|
-
import { i as refuseWithMetadata, r as readMetadataSnapshot } from "./metadata-
|
|
38
|
+
import { i as refuseWithMetadata, r as readMetadataSnapshot } from "./metadata-BAYbcHhK.js";
|
|
39
39
|
import { t as compiledReadSets } from "./read-sets-77o7SxpK.js";
|
|
40
|
-
import { a as sourceFlags, n as SOURCE_ARGS } from "./source-args-
|
|
40
|
+
import { a as sourceFlags, n as SOURCE_ARGS } from "./source-args-CvgOHwlj.js";
|
|
41
41
|
import { existsSync } from "node:fs";
|
|
42
42
|
import { dirname, join, posix, relative, resolve } from "node:path";
|
|
43
43
|
import { mkdir, readFile, writeFile } from "node:fs/promises";
|
|
@@ -6393,7 +6393,7 @@ const SCHEMA_DESIGN_RULES = [
|
|
|
6393
6393
|
check: (context) => {
|
|
6394
6394
|
const tables = exposed(context).filter((table) => table.kind === "table");
|
|
6395
6395
|
const policyText = (table) => withoutStrings(table.policies.map((policy) => `${policy.using ?? ""} ${policy.check ?? ""}`).join(" "));
|
|
6396
|
-
const functions = context.snapshot.generator.functions.filter((fn) => context.config.schemas.includes(fn.schema) && fn.definition).map((fn) => withoutStrings(fn.definition))
|
|
6396
|
+
const functions = context.snapshot.generator.functions.filter((fn) => context.config.schemas.includes(fn.schema) && fn.definition).map((fn) => withoutStrings(fn.definition));
|
|
6397
6397
|
const filtered = /* @__PURE__ */ new Set();
|
|
6398
6398
|
for (const file of context.sources) for (const match of file.text.matchAll(CLIENT_CONTAINS)) filtered.add(match[1]);
|
|
6399
6399
|
return tables.flatMap((table) => {
|
|
@@ -6402,7 +6402,7 @@ const SCHEMA_DESIGN_RULES = [
|
|
|
6402
6402
|
if (!column.isArray && column.udt !== "jsonb") return false;
|
|
6403
6403
|
if (table.indexes.some((index) => index.columns[0] === column.name && (index.method === void 0 || index.method === "gin"))) return false;
|
|
6404
6404
|
const used = new RegExp(`"?${escape$7(column.name)}"?\\s*${CONTAINS}|${CONTAINS}\\s*[\\w."]*\\b${escape$7(column.name)}\\b`);
|
|
6405
|
-
return filtered.has(column.name) || used.test(own) || functions.includes(table.name) && used.test(
|
|
6405
|
+
return filtered.has(column.name) || used.test(own) || functions.some((text) => text.includes(table.name) && used.test(text));
|
|
6406
6406
|
}).map((column) => ({
|
|
6407
6407
|
message: `${qualified(table)}.${column.name} is filtered by containment but has no GIN index, so each query scans the table. Run \`create index on ${qualified(table)} using gin (${column.name}${column.udt === "jsonb" ? " jsonb_path_ops" : ""});\`${column.udt === "jsonb" ? " (`jsonb_path_ops` supports `@>` only; drop it for `?`)" : ""}.`,
|
|
6408
6408
|
target: `${qualified(table)}.${column.name}`,
|
|
@@ -2,8 +2,8 @@ import { t as byCodePoint } from "./compare-yl4sSwVn.js";
|
|
|
2
2
|
import { r as claimMarkerOverrides } from "./authorization-CNWhpdKb.js";
|
|
3
3
|
import { n as CliError } from "./errors-B7i-VGxk.js";
|
|
4
4
|
import { t as isRecord } from "./guards-DxwRG0Uv.js";
|
|
5
|
-
import { a as toCatalog } from "./source-
|
|
6
|
-
import { F as restrictSchemas, R as tsTypeOf, b as bootstrapTables } from "./sql-layout-
|
|
5
|
+
import { a as toCatalog } from "./source-BFIiz5Gd.js";
|
|
6
|
+
import { F as restrictSchemas, R as tsTypeOf, b as bootstrapTables } from "./sql-layout-DTEum7p9.js";
|
|
7
7
|
import { resolveBlock, resolveProviderSql } from "better-supabase/sql";
|
|
8
8
|
import { DEFAULT_CLAIMS, tenantClaimPaths } from "better-supabase/config";
|
|
9
9
|
import { toCamel } from "better-supabase";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { a as list, m as commandMeta, r as defineCliCommand } from "./command-fqvJ0TdG.js";
|
|
2
2
|
import { n as CliError } from "./errors-B7i-VGxk.js";
|
|
3
|
-
import { a as runMetadataGen, n as checkMetadataFlags, t as EMITS } from "./metadata-
|
|
4
|
-
import { m as GEN_TASKS } from "./config-
|
|
5
|
-
import { i as selectTasks, n as runTasks, r as parseTasks } from "./gen-tasks-
|
|
3
|
+
import { a as runMetadataGen, n as checkMetadataFlags, t as EMITS } from "./metadata-BAYbcHhK.js";
|
|
4
|
+
import { m as GEN_TASKS } from "./config-By5EbpdJ.js";
|
|
5
|
+
import { i as selectTasks, n as runTasks, r as parseTasks } from "./gen-tasks-Yrk8s8md.js";
|
|
6
6
|
import { c as insideRoot, r as applyPlan, u as planResult } from "./files-NnXnawki.js";
|
|
7
|
-
import { F as restrictSchemas, I as serializeGenerator, d as loadSnapshot, h as serializeSnapshot } from "./sql-layout-
|
|
8
|
-
import { a as sourceFlags, i as sourceArgs, n as SOURCE_ARGS } from "./source-args-
|
|
7
|
+
import { F as restrictSchemas, I as serializeGenerator, d as loadSnapshot, h as serializeSnapshot } from "./sql-layout-DTEum7p9.js";
|
|
8
|
+
import { a as sourceFlags, i as sourceArgs, n as SOURCE_ARGS } from "./source-args-CvgOHwlj.js";
|
|
9
9
|
// src/cli/commands/save-snapshot.ts
|
|
10
10
|
/** The flags `gen --save-snapshot` reads. */
|
|
11
11
|
const SAVE_SNAPSHOT_ARGS = {
|