better-supabase 0.58.3 → 0.60.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-DxSyD4yi.d.ts → account-parts-D-cLYi0Y.d.ts} +1 -1
- package/dist/{adapter-base-BbnpIsy4.js → adapter-base-BHtxRoRg.js} +1 -1
- package/dist/{agents-CbsEgoLN.d.ts → agents-FJk0CNex.d.ts} +2 -2
- package/dist/{ai-schedules-D47O_Vlo.d.ts → ai-schedules-wlL3DKqu.d.ts} +1 -1
- package/dist/ai-sdk/agents/index.d.ts +1 -1
- package/dist/ai-sdk/workflow/index.d.ts +1 -1
- package/dist/{api-wRlj_7so.d.ts → api-CSx2F4zg.d.ts} +1 -1
- package/dist/{api-DsFkhsYI.js → api-Clu-XitC.js} +1 -1
- package/dist/{app-tables-IXL0Hzut.d.ts → app-tables-C_bRG0ek.d.ts} +1 -1
- package/dist/{approvals-Clg-7ghA.js → approvals-D7Xhpd52.js} +8 -6
- package/dist/{approvals-Bbxeiywy.d.ts → approvals-Dn_DM4Oi.d.ts} +6 -0
- package/dist/astro/index.d.ts +3 -3
- package/dist/astro/index.js +3 -3
- package/dist/{authorization-Dq47C4vf.d.ts → authorization-Cn_oEGoA.d.ts} +1 -1
- package/dist/better-result/index.d.ts +2 -2
- package/dist/{bind-BRkDWXXk.d.ts → bind-Dopmkg_T.d.ts} +4 -4
- package/dist/{block-env-I8juWoVO.d.ts → block-env-4tgXDIAX.d.ts} +4 -4
- package/dist/{block-tables-DmDyNlJf.d.ts → block-tables-KnVB7FH0.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 +2 -2
- package/dist/blocks/approvals/index.js +2 -2
- 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 +4 -4
- package/dist/blocks/banking/index.d.ts +1 -1
- package/dist/blocks/billable-time/index.d.ts +1 -1
- package/dist/blocks/billing/index.d.ts +3 -3
- package/dist/blocks/bookings/index.d.ts +2 -2
- package/dist/blocks/bulk-actions/index.d.ts +2 -2
- package/dist/blocks/calendar/index.d.ts +3 -3
- package/dist/blocks/care/index.d.ts +27 -27
- package/dist/blocks/care/index.js +1 -1
- 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/cms/index.js +1 -1
- package/dist/blocks/collaboration/index.d.ts +6 -6
- package/dist/blocks/collections/index.d.ts +1 -1
- package/dist/blocks/comments/index.d.ts +2 -2
- package/dist/blocks/commerce/index.d.ts +5 -5
- package/dist/blocks/commissions/index.d.ts +1 -1
- package/dist/blocks/compliance/index.d.ts +1 -1
- package/dist/blocks/connectors/index.d.ts +1 -1
- package/dist/blocks/consents/index.d.ts +2 -2
- package/dist/blocks/contacts/index.d.ts +2 -2
- package/dist/blocks/content/index.d.ts +2 -2
- package/dist/blocks/contracts/index.d.ts +1 -1
- package/dist/blocks/courses/index.d.ts +2 -2
- package/dist/blocks/created-by/index.d.ts +2 -2
- package/dist/blocks/crm/index.d.ts +17 -17
- package/dist/blocks/crm/index.js +2 -2
- package/dist/blocks/custom-fields/index.d.ts +1 -1
- package/dist/blocks/dam/index.d.ts +2 -2
- package/dist/blocks/data-lifecycle/index.d.ts +2 -2
- package/dist/blocks/deadlines/index.d.ts +1 -1
- package/dist/blocks/deals/index.d.ts +1 -1
- package/dist/blocks/dispatch/index.d.ts +2 -2
- package/dist/blocks/document-templates/index.d.ts +2 -2
- package/dist/blocks/documents/index.d.ts +1 -1
- package/dist/blocks/domains/index.d.ts +1 -1
- package/dist/blocks/donations/index.d.ts +1 -1
- package/dist/blocks/drive/index.d.ts +5 -5
- package/dist/blocks/e-prescribing/index.d.ts +1 -1
- package/dist/blocks/employees/index.d.ts +1 -1
- package/dist/blocks/enrichment/index.d.ts +1 -1
- package/dist/blocks/enrollments/index.d.ts +2 -2
- package/dist/blocks/entitlements/index.d.ts +3 -3
- package/dist/blocks/events/index.d.ts +3 -3
- package/dist/blocks/expenses/index.d.ts +1 -1
- package/dist/blocks/field-history/index.d.ts +1 -1
- package/dist/blocks/filespace/index.d.ts +8 -8
- package/dist/blocks/finance/index.d.ts +5 -5
- package/dist/blocks/finance/index.js +1 -1
- package/dist/blocks/flags/index.d.ts +1 -1
- package/dist/blocks/forecasts/index.d.ts +1 -1
- package/dist/blocks/forms/index.d.ts +3 -3
- package/dist/blocks/funding/index.d.ts +2 -2
- package/dist/blocks/goals/index.d.ts +1 -1
- package/dist/blocks/governance/index.d.ts +4 -4
- package/dist/blocks/guests/index.d.ts +1 -1
- package/dist/blocks/hiring/index.d.ts +1 -1
- package/dist/blocks/identities/index.d.ts +1 -1
- package/dist/blocks/imports/index.d.ts +2 -2
- package/dist/blocks/inbox/index.d.ts +6 -6
- package/dist/blocks/incidents/index.d.ts +1 -1
- package/dist/blocks/index.d.ts +5 -5
- package/dist/blocks/index.js +2 -2
- 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 +2 -2
- package/dist/blocks/invoices/index.js +1 -1
- package/dist/blocks/knowledge/index.d.ts +1 -1
- package/dist/blocks/lead-scoring/index.d.ts +2 -2
- package/dist/blocks/learning/index.d.ts +3 -3
- package/dist/blocks/leases/index.d.ts +1 -1
- package/dist/blocks/leave/index.d.ts +1 -1
- package/dist/blocks/ledger/index.d.ts +1 -1
- package/dist/blocks/legal-entities/index.d.ts +2 -2
- package/dist/blocks/lims/index.d.ts +2 -2
- package/dist/blocks/mail-sync/index.d.ts +3 -3
- package/dist/blocks/maintenance/index.d.ts +2 -2
- package/dist/blocks/manufacturing/index.d.ts +2 -2
- package/dist/blocks/medications/index.d.ts +1 -1
- package/dist/blocks/meetings/index.d.ts +3 -3
- package/dist/blocks/memberships/index.d.ts +2 -2
- package/dist/blocks/memory/index.d.ts +1 -1
- package/dist/blocks/messaging/index.d.ts +5 -5
- package/dist/blocks/metrics/index.d.ts +1 -1
- package/dist/blocks/mfa/index.d.ts +2 -2
- package/dist/blocks/moderation/index.d.ts +2 -2
- package/dist/blocks/notifications/index.d.ts +5 -5
- package/dist/blocks/numbering/index.d.ts +1 -1
- package/dist/blocks/oauth-server/index.d.ts +1 -1
- package/dist/blocks/observations/index.d.ts +2 -2
- package/dist/blocks/onboarding/index.d.ts +2 -2
- package/dist/blocks/option-sets/index.d.ts +2 -2
- package/dist/blocks/orders/index.d.ts +1 -1
- package/dist/blocks/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/procurement/index.js +1 -1
- package/dist/blocks/profiles/index.d.ts +1 -1
- package/dist/blocks/projects/index.d.ts +7 -7
- package/dist/blocks/projects/index.js +2 -2
- package/dist/blocks/promotions/index.d.ts +1 -1
- package/dist/blocks/prompts/index.d.ts +1 -1
- package/dist/blocks/push/index.d.ts +2 -2
- package/dist/blocks/qualifications/index.d.ts +2 -2
- package/dist/blocks/queue/index.d.ts +2 -2
- package/dist/blocks/quotes/index.d.ts +1 -1
- package/dist/blocks/rank/index.d.ts +1 -1
- package/dist/blocks/reactions/index.d.ts +4 -4
- package/dist/blocks/recruiting/index.d.ts +4 -4
- package/dist/blocks/referrals/index.d.ts +1 -1
- package/dist/blocks/relations/index.d.ts +1 -1
- package/dist/blocks/reminders/index.d.ts +1 -1
- package/dist/blocks/reviews/index.d.ts +1 -1
- package/dist/blocks/rfqs/index.d.ts +2 -2
- package/dist/blocks/risks/index.d.ts +2 -2
- package/dist/blocks/saas/index.d.ts +12 -12
- package/dist/blocks/sales/index.d.ts +1 -1
- package/dist/blocks/sales/index.js +1 -1
- package/dist/blocks/saved-views/index.d.ts +3 -3
- package/dist/blocks/scheduling/index.d.ts +4 -4
- package/dist/blocks/scores/index.d.ts +2 -2
- package/dist/blocks/search/index.d.ts +3 -3
- package/dist/blocks/security-events/index.d.ts +1 -1
- package/dist/blocks/segments/index.d.ts +2 -2
- package/dist/blocks/sequences/index.d.ts +3 -3
- package/dist/blocks/service/index.d.ts +7 -7
- package/dist/blocks/service-accounts/index.d.ts +1 -1
- package/dist/blocks/sessions/index.d.ts +2 -2
- package/dist/blocks/settings/index.d.ts +2 -2
- package/dist/blocks/share-links/index.d.ts +1 -1
- package/dist/blocks/shifts/index.d.ts +2 -2
- package/dist/blocks/shipments/index.d.ts +1 -1
- package/dist/blocks/signatures/index.d.ts +2 -2
- package/dist/blocks/signing-keys/index.d.ts +1 -1
- package/dist/blocks/sla/index.d.ts +1 -1
- package/dist/blocks/sso/index.d.ts +1 -1
- package/dist/blocks/state-machine/index.d.ts +1 -1
- package/dist/blocks/subjects/index.d.ts +2 -2
- package/dist/blocks/support/index.d.ts +5 -5
- package/dist/blocks/tags/index.d.ts +2 -2
- package/dist/blocks/tasks/index.d.ts +2 -2
- package/dist/blocks/tax/index.d.ts +2 -2
- package/dist/blocks/teams/index.d.ts +1 -1
- package/dist/blocks/templates/index.d.ts +1 -1
- package/dist/blocks/tills/index.d.ts +1 -1
- package/dist/blocks/time-entries/index.d.ts +2 -2
- package/dist/blocks/timeline/index.d.ts +1 -1
- package/dist/blocks/trash/index.d.ts +1 -1
- package/dist/blocks/undo/index.d.ts +2 -2
- package/dist/blocks/updated-at/index.d.ts +2 -2
- package/dist/blocks/usage/index.d.ts +2 -2
- package/dist/blocks/vercel-marketplace/index.d.ts +1 -1
- package/dist/blocks/versions/index.d.ts +1 -1
- package/dist/blocks/waitlist/index.d.ts +1 -1
- package/dist/blocks/warehouse/index.d.ts +1 -1
- package/dist/blocks/warranty/index.d.ts +1 -1
- package/dist/blocks/webhooks/index.d.ts +2 -2
- package/dist/blocks/workflow-editor/index.d.ts +4 -4
- package/dist/blocks/workflows/index.d.ts +4 -4
- package/dist/{blocks-RVd7m590.d.ts → blocks-sDhFO8-h.d.ts} +4 -4
- package/dist/{build-Cb9yLxtS.js → build-QM0GdQ2B.js} +1 -1
- package/dist/{cache-tags-BxpxsCtq.d.ts → cache-tags-FrJaMalu.d.ts} +1 -1
- package/dist/claims/index.d.ts +4 -4
- package/dist/{claims-source-CXAtLZ9_.d.ts → claims-source-CeefCyGV.d.ts} +1 -1
- package/dist/cli/add-BBZULhs3.js +1 -0
- package/dist/cli/{add-dbBQf6Vy.js → add-OllEkXon.js} +11 -11
- package/dist/cli/{add-BQZyQh4f.js → add-djLR310z.js} +2 -2
- package/dist/cli/{app-table-files-CITEmvRS.js → app-table-files-DnoDAkVJ.js} +4 -4
- package/dist/cli/{app-tables-BBqu3dow.js → app-tables-C4shCkBv.js} +2 -2
- package/dist/cli/{backfill-bBk3QjfK.js → backfill-_spwSvnn.js} +3 -3
- package/dist/cli/bin.js +1 -1
- package/dist/cli/{blocks-D-DV2aCE.js → blocks-Cvs0nhC2.js} +1 -1
- package/dist/cli/{blocks-CsQNweG8.js → blocks-DFkzCFQi.js} +1 -1
- package/dist/cli/{cache-sR8AQqSV.js → cache-B0JnXfiY.js} +1 -1
- package/dist/cli/{codemod-BkPcyPnF.js → codemod-D2Lnca97.js} +6 -6
- package/dist/cli/{codemod-naming-BLoVSmVF.js → codemod-naming-CHIeOTt5.js} +1 -1
- package/dist/cli/{column-renames-brM-D_th.js → column-renames-4OHEvCAj.js} +2 -2
- package/dist/cli/{config-NxPVkM-K.js → config-DD_MnPRL.js} +1 -0
- package/dist/cli/{config-BGh7rJwA.js → config-DkjilxeE.js} +1 -1
- package/dist/cli/{content-mapper-DMi2HOKi.js → content-mapper-DAYxPQ18.js} +1 -1
- package/dist/cli/{db-od92zIrO.js → db-CEUnv3hK.js} +2 -2
- package/dist/cli/{dev-ClH-7fB0.js → dev-Xw7pt3KG.js} +5 -5
- package/dist/cli/{doctor-C_BEuEGg.js → doctor-diSKQp-6.js} +724 -32
- package/dist/cli/{emit-CTzFdffA.js → emit-CICey-Za.js} +2 -2
- package/dist/cli/{gen-RKf7q3L5.js → gen-BVuNFeLB.js} +5 -5
- package/dist/cli/{gen-tasks-DmDvgVBV.js → gen-tasks-C2vwKKTc.js} +11 -11
- package/dist/cli/index.d.ts +1 -1
- package/dist/cli/index.js +8 -8
- package/dist/cli/{init-B_CCByIh.js → init-9BSoBkny.js} +9 -9
- package/dist/cli/{live-DjjMID3V.js → live-Ce8vdcCn.js} +2 -2
- package/dist/cli/{mcp-BYwrZHp1.js → mcp-UW-gEnP_.js} +2 -2
- package/dist/cli/{memo-backend-BIHqP1uE.js → memo-backend-BMdfsihK.js} +1 -1
- package/dist/cli/{metadata-DCtLUYqR.js → metadata-DqrbS0sS.js} +4 -4
- package/dist/cli/{migrate-Bq6CUPbE.js → migrate-Cn8L_0co.js} +1 -1
- package/dist/cli/{migration-safety-BvJ-JK5n.js → migration-safety-C1Ysrthi.js} +2 -2
- package/dist/cli/{module-migration-Dv6VV1om.js → module-migration-DXI95fqs.js} +1 -1
- package/dist/cli/{partition-C4g7WAwh.js → partition-CJCrIueu.js} +3 -3
- package/dist/cli/{powersync-1HMiZhFF.js → powersync-CB-7AksZ.js} +4 -4
- package/dist/cli/powersync-JTdU1Xpy.js +1 -0
- package/dist/cli/{print-D9biMrfv.js → print-AVVgXsLG.js} +2 -2
- package/dist/cli/{providers-C5fw9XC_.js → providers-B3FLmlud.js} +1 -1
- package/dist/cli/{prune-workflows-DxpPCevB.js → prune-workflows-CrLDmFf1.js} +3 -3
- package/dist/cli/{remove-CyhSdPkK.js → remove-00SZWfyi.js} +6 -6
- package/dist/cli/{render-DOz25g5T.js → render-3J7sk_CL.js} +5 -5
- package/dist/cli/{render-cache-CInSNFhV.js → render-cache-P4gQeivH.js} +1 -1
- package/dist/cli/round-trips-BHfeIu6I.js +238 -0
- package/dist/cli/{run-DVdkD1MI.js → run-CByEIEng.js} +35 -35
- package/dist/cli/{run-0bMsZ1VV.js → run-D_z9ULO7.js} +7 -7
- package/dist/cli/seed-CucH5loT.js +1 -0
- package/dist/cli/{seed-DVKgi-7l.js → seed-CvDA1ItH.js} +2 -2
- package/dist/cli/{shared-D2i8_u-U.js → shared-d021xfdn.js} +1 -1
- package/dist/cli/{source-BGVOuWXq.js → source-DdqeWoO4.js} +1 -1
- package/dist/cli/{source-args-B3Rowfv5.js → source-args-yU6N6JLm.js} +1 -1
- package/dist/cli/{spec-COotILIk.js → spec-ClfqDbVv.js} +2 -2
- package/dist/cli/{spec-C_JKo_dP.js → spec-Diudl7hC.js} +1 -1
- package/dist/cli/{sql-layout-D8dIzdy9.js → sql-layout-Bl3iOXMS.js} +4 -4
- package/dist/cli/{squash-xCseaSP1.js → squash-C07y7CsQ.js} +1 -1
- package/dist/cli/{sync-Ceqa-3R6.js → sync-Cw0ke-3h.js} +4 -4
- package/dist/cli/{upgrade-CUNKALDw.js → upgrade-niwEovfl.js} +5 -5
- package/dist/cli/{upgrade-DiMHauEU.js → upgrade-oc6s5Xoe.js} +5 -5
- package/dist/cli/{verify-BFLaU6w3.js → verify-CrFHs8Lr.js} +2 -2
- package/dist/cli/{version-C7imaHag.js → version-Bd3kCDzL.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/{codec-Cjquuv8M.js → codec-BI1mq95W.js} +1 -1
- package/dist/{composite-CL4zDLjs.d.ts → composite-BVEOyec_.d.ts} +3 -3
- package/dist/{composite-DYAp3Znr.js → composite-Tsm5QFS2.js} +1 -1
- package/dist/{composite-reads-BJeDe1yV.js → composite-reads-BJJBI4tL.js} +1 -1
- package/dist/{composite-reads-B9psRGqQ.d.ts → composite-reads-DvN7EgDO.d.ts} +1 -1
- package/dist/config/index.d.ts +4 -4
- package/dist/config/index.js +2 -2
- package/dist/{config-DzPViWQU.js → config-cisS43w5.js} +2 -1
- package/dist/{context-DMBXEzQa.d.ts → context-C_Rx1QaW.d.ts} +4 -3
- package/dist/contract/index.d.ts +4 -4
- package/dist/{controller-CaZv50cD.d.ts → controller-D9N4NKbM.d.ts} +1 -1
- package/dist/{conversion-D2key0v9.d.ts → conversion-CruLbcu8.d.ts} +1 -1
- package/dist/create/index.d.ts +4 -4
- package/dist/create/index.js +1 -1
- package/dist/create/lite/index.d.ts +3 -3
- package/dist/create/lite/index.js +3 -3
- package/dist/{db-blocks-Db3LVXco.d.ts → db-blocks-DB8Ct8Eu.d.ts} +11 -2
- package/dist/{define-block-kWv1wYf7.d.ts → define-block-Cd7dm2o6.d.ts} +7 -2
- package/dist/{define-runtime-Dv8OYnKW.js → define-runtime-Ca5NN0gu.js} +2 -2
- package/dist/{define-runtime-full-Bh5c_01f.js → define-runtime-full-DeuaXsV7.js} +45 -38
- package/dist/{delete-account-BHXzIUIq.d.ts → delete-account-DwGFiIYv.d.ts} +1 -1
- package/dist/{drive-Bm-up0KU.d.ts → drive-C6thwExa.d.ts} +2 -2
- package/dist/e-invoicing/index.d.ts +1 -1
- package/dist/edge/index.d.ts +5 -5
- package/dist/edge/index.js +4 -4
- package/dist/{entitlements-UGUF2RJv.d.ts → entitlements-CR5HRd3S.d.ts} +2 -2
- package/dist/eve/index.d.ts +1 -1
- package/dist/eve/index.js +1 -1
- package/dist/{executor-B0nTn-4Q.js → executor-Bot0tkvU.js} +2 -2
- package/dist/{executor-Dp4A_McY.d.ts → executor-CTuilcgE.d.ts} +2 -2
- package/dist/expo/index.d.ts +2 -2
- package/dist/expo/index.js +3 -3
- package/dist/{extract-Bs_b4ZIX.d.ts → extract-B2My7IhT.d.ts} +1 -1
- package/dist/{extras-C258FsPj.d.ts → extras-CKwPSpGL.d.ts} +1 -1
- package/dist/{field-errors-BKCtkPxS.d.ts → field-errors-CihTLojJ.d.ts} +6 -6
- package/dist/{former-permission-keys-hL23tm66.js → former-permission-keys-D8FbWktT.js} +4 -3
- package/dist/{framework-C9UiMaOq.js → framework-BYZ8c9_g.js} +1 -1
- package/dist/{framework-BUzOnlJN.d.ts → framework-giXStk8k.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-CDCyOPT7.d.ts → index-28PPT5w7.d.ts} +2 -2
- package/dist/{index-nsEUHz98.d.ts → index-69aFw9Id.d.ts} +2 -2
- package/dist/{index-BtuseUSW.d.ts → index-74TASXlD.d.ts} +1 -1
- package/dist/{index-DOBq5QFe.d.ts → index-B0dSXth6.d.ts} +1 -1
- package/dist/{index-Mq2z-GgJ.d.ts → index-BOuJSOaf.d.ts} +1 -1
- package/dist/{index-DLVuARYk.d.ts → index-BnY5lZtT.d.ts} +9 -9
- package/dist/{index-rFIDpwjh.d.ts → index-BqUY2MB-.d.ts} +1 -1
- package/dist/{index-BG-WQ0JH.d.ts → index-BrnGYShi.d.ts} +2 -2
- package/dist/{index-BMh8ACKR.d.ts → index-Bs6OCtxW.d.ts} +1 -1
- package/dist/{index-CIVA5x1i.d.ts → index-BszN5nLs.d.ts} +2 -2
- package/dist/{index-CjeQqQzW.d.ts → index-Bv2kSYet.d.ts} +4 -4
- package/dist/{index-R_k3Nh4y.d.ts → index-BvRseRob.d.ts} +3 -3
- package/dist/{index-DIK12ZTb.d.ts → index-BvZ3uvj9.d.ts} +2 -2
- package/dist/{index-ClysJ8O-.d.ts → index-C1na2fiY.d.ts} +3 -3
- package/dist/{index-DgiSwhKf.d.ts → index-C59gKJBx.d.ts} +1 -1
- package/dist/{index-DcdC0Qll.d.ts → index-CGAcXNod.d.ts} +1 -1
- package/dist/{index-DWxio8F_.d.ts → index-CMyUugyW.d.ts} +8 -8
- package/dist/{index-BYx-ObF-.d.ts → index-CdoTvK2W.d.ts} +1 -1
- package/dist/{index-CkCuMFVG.d.ts → index-CiCmlbtu.d.ts} +1 -1
- package/dist/{index-B67YUNow.d.ts → index-CiLb3DTI.d.ts} +3 -3
- package/dist/{index-CzNRwKGG.d.ts → index-Cnc4wyTo.d.ts} +2 -2
- package/dist/{index-CDrLyU72.d.ts → index-Cpj79WyM.d.ts} +1 -1
- package/dist/{index-B6i7w-iS.d.ts → index-D50ulqMJ.d.ts} +1 -1
- package/dist/{index-48l12mNt.d.ts → index-D6px-XTD.d.ts} +2 -2
- package/dist/{index-DRKAMZV3.d.ts → index-DMHxmit5.d.ts} +4 -4
- package/dist/{index-BBf3nn7Y.d.ts → index-DflyfGR8.d.ts} +2 -2
- package/dist/{index-DebFs8qq.d.ts → index-DibtbiIW.d.ts} +1 -1
- package/dist/{index-B64DT6Io.d.ts → index-DpXMVE12.d.ts} +1 -1
- package/dist/{index-GamVr8VZ.d.ts → index-DsLMqyB5.d.ts} +1 -1
- package/dist/{index-C_DCvnW0.d.ts → index-DzUnwtxa.d.ts} +1 -1
- package/dist/{index-BZdSOt51.d.ts → index-Hzbfht3Z.d.ts} +1 -1
- package/dist/{index-bkm44ycq.d.ts → index-Sl13L6VB.d.ts} +4 -4
- package/dist/{index-DskEpSgl.d.ts → index-UQOB8v1I.d.ts} +1 -1
- package/dist/{index-CDxfstYD.d.ts → index-_No9Jb9O.d.ts} +1 -1
- package/dist/{index-icogJj2C.d.ts → index-cgHbN_EA.d.ts} +4 -4
- package/dist/{index-D2aht6Cz.d.ts → index-pry9PXpK.d.ts} +2 -2
- package/dist/{index-BJ1Mv0TK.d.ts → index-wc3-R_cK.d.ts} +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/{invoices-CWp9jcI2.d.ts → invoices-BXwG7Jwp.d.ts} +5 -0
- package/dist/{json-schema-CgwH39-G.js → json-schema-BveJfXoz.js} +1 -1
- package/dist/list/export/index.d.ts +1 -1
- package/dist/list/index.d.ts +1 -1
- package/dist/list/order/index.d.ts +2 -2
- package/dist/{list-query-qCpvTDGH.d.ts → list-query-CBjzZmjx.d.ts} +1 -1
- package/dist/{manifest-CD_ZA69x.d.ts → manifest-2JeNUq8t.d.ts} +1 -1
- package/dist/{manifest-9TRpR9P-.d.ts → manifest-3e0zfaQt.d.ts} +1 -1
- package/dist/{manifest-BXatXuLx.d.ts → manifest-3or1oZTo.d.ts} +1 -1
- package/dist/{manifest-mCn7RdZs.d.ts → manifest-AS4QwWdu.d.ts} +1 -1
- package/dist/{manifest-D02pP9Nl.d.ts → manifest-B1lYVfIp.d.ts} +1 -1
- package/dist/{manifest-dSiPcx5l.d.ts → manifest-B7xyFqWo.d.ts} +1 -1
- package/dist/{manifest-DF6GzdBC.d.ts → manifest-B9m_UaiY.d.ts} +1 -1
- package/dist/{manifest-BmGsyaxx.d.ts → manifest-B9qFGJ_A.d.ts} +1 -1
- package/dist/{manifest-CTEURHfF.d.ts → manifest-BSjzLeb-.d.ts} +1 -1
- package/dist/{manifest-BG2_hkzB.d.ts → manifest-BVn2Xglt.d.ts} +1 -1
- package/dist/{manifest-C1TwYhyr.d.ts → manifest-BWKFNoxP.d.ts} +1 -1
- package/dist/{manifest-DGrcTY4n.d.ts → manifest-BXWhDMFt.d.ts} +1 -1
- package/dist/{manifest-Cfrflbtt.d.ts → manifest-Bi44m1V3.d.ts} +1 -1
- package/dist/{manifest-Bsrn5gfq.d.ts → manifest-Bluupj7R.d.ts} +1 -1
- package/dist/{manifest-D32p1K-g.d.ts → manifest-Bo0SCigB.d.ts} +1 -1
- package/dist/{manifest-C3FjJnQT.d.ts → manifest-ByRLUGaJ.d.ts} +3 -3
- package/dist/{manifest-Cx_UVMlT.d.ts → manifest-C1--UMCz.d.ts} +1 -1
- package/dist/{manifest-BizfO8zf.d.ts → manifest-C20SXAzp.d.ts} +1 -1
- package/dist/{manifest-BKY6WHm6.d.ts → manifest-C40ISJVj.d.ts} +1 -1
- package/dist/{manifest-DBptC4dz.d.ts → manifest-C7KPtGTu.d.ts} +2 -2
- package/dist/{manifest-ChKRtAF6.d.ts → manifest-C82tY_RD.d.ts} +1 -1
- package/dist/{manifest-LAVlQXiw.d.ts → manifest-C94eugvl.d.ts} +1 -1
- package/dist/{manifest-tjlvcP1t.d.ts → manifest-CBdMkxZD.d.ts} +1 -1
- package/dist/{manifest-CxUI9ZXn.d.ts → manifest-CCPioFQl.d.ts} +1 -1
- package/dist/{manifest-BdV9GNAF.d.ts → manifest-CD5D0OWo.d.ts} +1 -1
- package/dist/{manifest-B91B3Yvk.d.ts → manifest-CGnN_2Yx.d.ts} +1 -1
- package/dist/{manifest-CpMVJWDU.d.ts → manifest-CH1MFzXN.d.ts} +1 -1
- package/dist/{manifest-BkJdR1D-.d.ts → manifest-CJRob2Ms.d.ts} +1 -1
- package/dist/{manifest-BdBaGzfE.d.ts → manifest-CgljOcHt.d.ts} +1 -1
- package/dist/{manifest-BSrdiUHP.d.ts → manifest-Ci7NEusH.d.ts} +1 -1
- package/dist/{manifest-gS-wx2yB.d.ts → manifest-CiXl1kUg.d.ts} +1 -1
- package/dist/{manifest-BNIvrs6_.d.ts → manifest-CjzIpyBP.d.ts} +2 -2
- package/dist/{manifest-B-wg2F2L.d.ts → manifest-ClDcyCPP.d.ts} +3 -3
- package/dist/{manifest-CIa0-uCj.d.ts → manifest-Co0CBReD.d.ts} +1 -1
- package/dist/{manifest-CPlmHPRY.d.ts → manifest-CpmJIEt7.d.ts} +1 -1
- package/dist/{manifest-DAv6iO-q.d.ts → manifest-Cqv6c1KN.d.ts} +1 -1
- package/dist/{manifest-BOxu_JMd.d.ts → manifest-CtUKrkx1.d.ts} +1 -1
- package/dist/{manifest-C7bh84U0.d.ts → manifest-D1FPczc-.d.ts} +1 -1
- package/dist/{manifest-VjVVI7bV.d.ts → manifest-D43yma-v.d.ts} +1 -1
- package/dist/{manifest-B7IYj4OA.d.ts → manifest-DAF4J0gk.d.ts} +1 -1
- package/dist/{manifest-BSSoVDlI.d.ts → manifest-DGoI006V.d.ts} +1 -1
- package/dist/{manifest-Ce_JDK4r.d.ts → manifest-DHN6WiIJ.d.ts} +1 -1
- package/dist/{manifest-C7CtYgWC.d.ts → manifest-DIl_cNua.d.ts} +1 -1
- package/dist/{manifest-BWE_47qq.d.ts → manifest-DJhjOnvk.d.ts} +1 -1
- package/dist/{manifest-Cn85_kP6.d.ts → manifest-DMhuQgOx.d.ts} +1 -1
- package/dist/{manifest-1P6OEAwH.d.ts → manifest-DQkz9UVy.d.ts} +1 -1
- package/dist/{manifest-Cz8poTZ2.d.ts → manifest-DUZUtWBi.d.ts} +1 -1
- package/dist/{manifest-BVwoT7GU.d.ts → manifest-DY2KtVcD.d.ts} +1 -1
- package/dist/{manifest-Dc_FWIrg.d.ts → manifest-DaB1w2xo.d.ts} +1 -1
- package/dist/{manifest-DZc_37YJ.d.ts → manifest-DpXgCZEd.d.ts} +1 -1
- package/dist/{manifest-BcqqAgm9.d.ts → manifest-Dqf2Uw17.d.ts} +1 -1
- package/dist/{manifest-D5aZyD1b.js → manifest-OxHBbWrs.js} +1 -1
- package/dist/{manifest-khfEDzX4.d.ts → manifest-Utivc7Qa.d.ts} +1 -1
- package/dist/{manifest-t9v09kRa.d.ts → manifest-WJ-UHuEx.d.ts} +1 -1
- package/dist/{manifest-BNCX3M2Y.d.ts → manifest-WpIMAJCT.d.ts} +1 -1
- package/dist/{manifest-Cle7S3sn.d.ts → manifest-at0NS8cT.d.ts} +1 -1
- package/dist/{manifest-D4iEPtlb.d.ts → manifest-d7vR6coE.d.ts} +2 -2
- package/dist/{manifest-BN2J8Zo7.d.ts → manifest-gl856Z9G.d.ts} +1 -1
- package/dist/{manifest-DcnVXlH7.d.ts → manifest-iGmnzfGD.d.ts} +1 -1
- package/dist/{manifest-BWFemJ6Q.d.ts → manifest-j4_V-qhA.d.ts} +1 -1
- package/dist/{manifest-blSYzmEZ.d.ts → manifest-mAxLRfeu.d.ts} +1 -1
- package/dist/{manifest-zEA2Tw_l.d.ts → manifest-mBKFNynL.d.ts} +1 -1
- package/dist/{manifest-SoNChfLL.d.ts → manifest-wPIH-Oo7.d.ts} +1 -1
- package/dist/{manifest-Djy3wcSo.js → manifest-waO9DHVc.js} +1 -0
- 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-CoJbu0Hk.js → mcp-mSD-ic9W.js} +3 -3
- package/dist/next/index.d.ts +12 -12
- package/dist/next/index.js +10 -5
- package/dist/next/proxy/index.d.ts +3 -3
- package/dist/{operations-nnC3pvwn.d.ts → operations-dIOdHqYz.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-Ccvec0MR.d.ts → permissions-DG0t2lrA.d.ts} +1 -1
- package/dist/{ports-CfVACwW_.d.ts → ports-CfiOCL2r.d.ts} +1 -1
- package/dist/{ports-DfDzwMCR.js → ports-DR88RF0N.js} +2 -2
- package/dist/powersync/index.d.ts +3 -3
- package/dist/powersync/index.js +1 -1
- package/dist/preset/index.d.ts +4 -4
- package/dist/{preview-CR1nZ6-E.d.ts → preview-3nes4WG4.d.ts} +2 -2
- package/dist/{project-CxoixIpG.js → project-CXcoauzs.js} +2 -2
- package/dist/{push-token-Rv1CxW_N.d.ts → push-token-CRBieazN.d.ts} +1 -1
- package/dist/query/index.d.ts +1 -1
- package/dist/react/index.d.ts +5 -5
- package/dist/react/native/index.d.ts +1 -1
- package/dist/react/server.d.ts +6 -6
- package/dist/react-router/index.d.ts +3 -3
- package/dist/react-router/index.js +3 -3
- package/dist/{read-set-BptYceHc.js → read-set-DfScfSsf.js} +3 -2
- package/dist/realtime/index.d.ts +3 -3
- package/dist/{record-form-mpamIVq3.d.ts → record-form-BggNAKZA.d.ts} +1 -1
- package/dist/records/index.d.ts +7 -7
- package/dist/{resource-execute-Bb-zKYUc.d.ts → resource-execute-BIqAzA57.d.ts} +1 -1
- package/dist/{resource-types-C8kdoZ-J.d.ts → resource-types-DcEe07vC.d.ts} +1 -1
- package/dist/{resources-B9dfA1jH.d.ts → resources-Bb_JRadM.d.ts} +1 -1
- package/dist/{sales-D_yZoFUU.js → sales-CIe7dE4J.js} +1 -1
- package/dist/server/account/index.d.ts +2 -2
- package/dist/server/accounts/index.d.ts +1 -1
- package/dist/server/index.d.ts +12 -12
- package/dist/server/index.js +4 -4
- package/dist/{server-CqRpnOo0.js → server-DA5SRGHQ.js} +2 -2
- package/dist/{server-types-C8zErBy9.d.ts → server-types-Cp2en4rP.d.ts} +2 -2
- package/dist/{session-DRn_URq0.d.ts → session-Bro3jmnu.d.ts} +1 -1
- package/dist/{sign-in-CMEBFv36.d.ts → sign-in-Cj7Y0mSU.d.ts} +11 -11
- 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 +5 -5
- package/dist/sql/index.js +1 -1
- package/dist/{sql-ZLYXNvXw.js → sql-BwfPwN8v.js} +304 -95
- 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-Bh4zXrnl.d.ts → tags-C7NyJTdU.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-DpJTJr1c.d.ts → tenant-BFABaxQ5.d.ts} +1 -1
- package/dist/testing/index.d.ts +9 -9
- package/dist/testing/index.js +4 -4
- package/dist/{timeline-CGjiciIY.d.ts → timeline-0a7kclhg.d.ts} +3 -3
- package/dist/{topic-R7kIJ_xI.d.ts → topic-BH4L7H8n.d.ts} +2 -2
- package/dist/{types-BidEA6pZ.d.ts → types-BMLgTFzf.d.ts} +2 -2
- package/dist/{verify-BfcOHiUP.d.ts → verify-tK2F49Gn.d.ts} +1 -1
- package/dist/{version-DRVVrk-u.js → version-BHgdHcZN.js} +1 -1
- package/dist/vue/index.d.ts +6 -6
- package/dist/{watch-topic-D18gT7-K.d.ts → watch-topic-BYfSlldk.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 +3 -0
- package/schemas/doctor-report-v1.json +2 -0
- package/dist/cli/add-DHvo6zQZ.js +0 -1
- package/dist/cli/powersync-DLUNuNl4.js +0 -1
- package/dist/cli/round-trips-D2KD5Hpq.js +0 -56
- package/dist/cli/seed-Dlm5jjPn.js +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
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-fqvJ0TdG.js";
|
|
2
2
|
import { s as setCacheEnabled } from "./store-DP-nmqBt.js";
|
|
3
3
|
import { n as highlight, r as painter } from "./style-B5-nByxb.js";
|
|
4
|
-
import { t as VERSION } from "./version-
|
|
4
|
+
import { t as VERSION } from "./version-Bd3kCDzL.js";
|
|
5
5
|
import { a as missingInputNext, o as resolveAgent, t as checkConsent } from "./agent-BlYLJPzM.js";
|
|
6
6
|
import { a as isActionRequired, l as toCliError, n as CliError, o as isReport, s as isRetryable } from "./errors-B7i-VGxk.js";
|
|
7
7
|
import { r as splitCommandLine } from "./shell-omi9-T2X.js";
|
|
@@ -21,48 +21,48 @@ const LOADERS = [
|
|
|
21
21
|
["login", () => import("./account-BzhVD6jJ.js").then((m) => m.loginCommand)],
|
|
22
22
|
["logout", () => import("./account-BzhVD6jJ.js").then((m) => m.logoutCommand)],
|
|
23
23
|
["whoami", () => import("./account-BzhVD6jJ.js").then((m) => m.whoamiCommand)],
|
|
24
|
-
["init", () => import("./init-
|
|
25
|
-
["add", () => import("./add-
|
|
26
|
-
["remove", () => import("./remove-
|
|
27
|
-
["upgrade", () => import("./upgrade-
|
|
24
|
+
["init", () => import("./init-9BSoBkny.js").then((m) => m.initCommand)],
|
|
25
|
+
["add", () => import("./add-BBZULhs3.js").then((m) => m.addCommand)],
|
|
26
|
+
["remove", () => import("./remove-00SZWfyi.js").then((m) => m.removeCommand)],
|
|
27
|
+
["upgrade", () => import("./upgrade-oc6s5Xoe.js").then((m) => m.upgradeCommand)],
|
|
28
28
|
["table", () => import("./table-CcO-m_7t.js").then((m) => m.tableCommand)],
|
|
29
|
-
["migrate schema-first", () => import("./migrate-
|
|
30
|
-
["gen", () => import("./gen-
|
|
31
|
-
["doctor", () => import("./doctor-
|
|
29
|
+
["migrate schema-first", () => import("./migrate-Cn8L_0co.js").then((m) => m.migrateSchemaFirstCommand)],
|
|
30
|
+
["gen", () => import("./gen-BVuNFeLB.js").then((m) => m.genCommand)],
|
|
31
|
+
["doctor", () => import("./doctor-diSKQp-6.js").then((m) => m.doctorCommand)],
|
|
32
32
|
["codes", () => import("./codes-DNq30BZg.js").then((m) => m.codesCommand)],
|
|
33
|
-
["db query", () => import("./db-
|
|
34
|
-
["db diff", () => import("./db-
|
|
35
|
-
["db seed", () => import("./seed-
|
|
36
|
-
["db backfill", () => import("./backfill-
|
|
37
|
-
["db verify", () => import("./verify-
|
|
38
|
-
["db partition", () => import("./partition-
|
|
39
|
-
["db squash", () => import("./squash-
|
|
40
|
-
["workflows prune", () => import("./prune-workflows-
|
|
41
|
-
["dev", () => import("./dev-
|
|
33
|
+
["db query", () => import("./db-CEUnv3hK.js").then((m) => m.dbQueryCommand)],
|
|
34
|
+
["db diff", () => import("./db-CEUnv3hK.js").then((m) => m.dbDiffCommand)],
|
|
35
|
+
["db seed", () => import("./seed-CucH5loT.js").then((m) => m.seedCommand)],
|
|
36
|
+
["db backfill", () => import("./backfill-_spwSvnn.js").then((m) => m.dbBackfillCommand)],
|
|
37
|
+
["db verify", () => import("./verify-CrFHs8Lr.js").then((m) => m.dbVerifyCommand)],
|
|
38
|
+
["db partition", () => import("./partition-CJCrIueu.js").then((m) => m.dbPartitionCommand)],
|
|
39
|
+
["db squash", () => import("./squash-C07y7CsQ.js").then((m) => m.dbSquashCommand)],
|
|
40
|
+
["workflows prune", () => import("./prune-workflows-CrLDmFf1.js").then((m) => m.workflowsPruneCommand)],
|
|
41
|
+
["dev", () => import("./dev-Xw7pt3KG.js").then((m) => m.devCommand)],
|
|
42
42
|
["dev env", () => import("./env-bItpF97w.js").then((m) => m.envCommand)],
|
|
43
43
|
["dev run", () => import("./run-DbR0NaN_.js").then((m) => m.runCommand)],
|
|
44
44
|
["dev keys", () => import("./keys-f9iMQepr.js").then((m) => m.keysCommand)],
|
|
45
45
|
["dev stack ls", () => import("./stack-BUrc8jsg.js").then((m) => m.stackLsCommand)],
|
|
46
46
|
["dev stack prune", () => import("./stack-BUrc8jsg.js").then((m) => m.stackPruneCommand)],
|
|
47
47
|
["automations list", () => import("./automations-C1yZj3mn.js").then((m) => m.automationsListCommand)],
|
|
48
|
-
["blocks list", () => import("./blocks-
|
|
49
|
-
["blocks view", () => import("./blocks-
|
|
50
|
-
["blocks search", () => import("./blocks-
|
|
51
|
-
["powersync streams", () => import("./powersync-
|
|
52
|
-
["spec emit", () => import("./spec-
|
|
53
|
-
["spec validate", () => import("./spec-
|
|
54
|
-
["mcp", () => import("./mcp-
|
|
48
|
+
["blocks list", () => import("./blocks-DFkzCFQi.js").then((m) => m.blocksListCommand)],
|
|
49
|
+
["blocks view", () => import("./blocks-DFkzCFQi.js").then((m) => m.blocksViewCommand)],
|
|
50
|
+
["blocks search", () => import("./blocks-DFkzCFQi.js").then((m) => m.blocksSearchCommand)],
|
|
51
|
+
["powersync streams", () => import("./powersync-JTdU1Xpy.js").then((m) => m.powersyncStreamsCommand)],
|
|
52
|
+
["spec emit", () => import("./spec-Diudl7hC.js").then((m) => m.specEmitCommand)],
|
|
53
|
+
["spec validate", () => import("./spec-Diudl7hC.js").then((m) => m.specValidateCommand)],
|
|
54
|
+
["mcp", () => import("./mcp-UW-gEnP_.js").then((m) => m.mcpCommand)],
|
|
55
55
|
["skills list", () => import("./skills-C4vNmuxw.js").then((m) => m.skillsListCommand)],
|
|
56
56
|
["skills install", () => import("./skills-C4vNmuxw.js").then((m) => m.skillsInstallCommand)],
|
|
57
|
-
["codemod naming", () => import("./codemod-
|
|
58
|
-
["codemod extra-columns", () => import("./codemod-
|
|
59
|
-
["codemod owned-columns", () => import("./codemod-
|
|
60
|
-
["codemod config", () => import("./codemod-
|
|
61
|
-
["codemod table-modules", () => import("./codemod-
|
|
62
|
-
["codemod account-calls", () => import("./codemod-
|
|
63
|
-
["codemod server-imports", () => import("./codemod-
|
|
64
|
-
["codemod generators", () => import("./codemod-
|
|
65
|
-
["codemod read-many", () => import("./codemod-
|
|
57
|
+
["codemod naming", () => import("./codemod-D2Lnca97.js").then((m) => m.codemodCommand("naming"))],
|
|
58
|
+
["codemod extra-columns", () => import("./codemod-D2Lnca97.js").then((m) => m.codemodCommand("extra-columns"))],
|
|
59
|
+
["codemod owned-columns", () => import("./codemod-D2Lnca97.js").then((m) => m.codemodCommand("owned-columns"))],
|
|
60
|
+
["codemod config", () => import("./codemod-D2Lnca97.js").then((m) => m.codemodCommand("config"))],
|
|
61
|
+
["codemod table-modules", () => import("./codemod-D2Lnca97.js").then((m) => m.codemodCommand("table-modules"))],
|
|
62
|
+
["codemod account-calls", () => import("./codemod-D2Lnca97.js").then((m) => m.codemodCommand("account-calls"))],
|
|
63
|
+
["codemod server-imports", () => import("./codemod-D2Lnca97.js").then((m) => m.codemodCommand("server-imports"))],
|
|
64
|
+
["codemod generators", () => import("./codemod-D2Lnca97.js").then((m) => m.codemodCommand("generators"))],
|
|
65
|
+
["codemod read-many", () => import("./codemod-D2Lnca97.js").then((m) => m.codemodCommand("read-many"))],
|
|
66
66
|
["completion", () => import("./completion-Ct0kXYpV.js").then((m) => m.completionCommand)],
|
|
67
67
|
["cache purge", () => import("./cache-DwdJCb29.js").then((m) => m.cachePurgeCommand)],
|
|
68
68
|
["config", () => import("./config-J8LaJ0Nl.js").then((m) => m.configCommand)]
|
|
@@ -714,7 +714,7 @@ function cliFromTree(init, extra = {}) {
|
|
|
714
714
|
try {
|
|
715
715
|
const [loaded, { defaultConfig, discoverConfig, loadConfig }, { configEnvironment, isCi, parseEnv }] = await Promise.all([
|
|
716
716
|
node.load(),
|
|
717
|
-
import("./config-
|
|
717
|
+
import("./config-DkjilxeE.js"),
|
|
718
718
|
import("./env-CBFi4MKR.js")
|
|
719
719
|
]);
|
|
720
720
|
command = loaded;
|
|
@@ -746,7 +746,7 @@ function cliFromTree(init, extra = {}) {
|
|
|
746
746
|
digest: globals["effects-digest"]
|
|
747
747
|
});
|
|
748
748
|
};
|
|
749
|
-
await import("./memo-backend-
|
|
749
|
+
await import("./memo-backend-BMdfsihK.js").then(({ installMemo }) => installMemo(config.root));
|
|
750
750
|
context = {
|
|
751
751
|
cwd,
|
|
752
752
|
config,
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { t as CACHE_DIR } from "./store-DP-nmqBt.js";
|
|
2
2
|
import { a as entitlementsMode, c as unsafeKey, i as entitlementRequirements, n as accessRequirements, o as moduleKeyProblems, s as providerLabel } from "./authorization-CNWhpdKb.js";
|
|
3
|
-
import { B as typegenVersionNotice, H as installedVersion, L as stabilizeMetadata, N as oxfmtInstalled, V as declaredPeers, W as satisfies, d as loadSnapshot, i as migrationsDir, z as typegenVersion } from "./sql-layout-
|
|
4
|
-
import { s as schemaStampPath } from "./content-mapper-
|
|
3
|
+
import { B as typegenVersionNotice, H as installedVersion, L as stabilizeMetadata, N as oxfmtInstalled, V as declaredPeers, W as satisfies, d as loadSnapshot, i as migrationsDir, z as typegenVersion } from "./sql-layout-Bl3iOXMS.js";
|
|
4
|
+
import { s as schemaStampPath } from "./content-mapper-DAYxPQ18.js";
|
|
5
5
|
import { a as changedFiles, d as fileDiff, i as changeLines, r as applyPlan, s as hasConflicts } from "./files-NnXnawki.js";
|
|
6
6
|
import { a as sameText, t as display } from "./io-CngfGyMA.js";
|
|
7
|
-
import { n as adoptionContext, r as appTablesOf, t as accessModule } from "./app-tables-
|
|
7
|
+
import { n as adoptionContext, r as appTablesOf, t as accessModule } from "./app-tables-C4shCkBv.js";
|
|
8
8
|
import { r as errorText } from "./errors-B7i-VGxk.js";
|
|
9
|
-
import { c as qualified, l as tableObject, r as exposed, s as policyObject, t as catalogOf } from "./shared-
|
|
10
|
-
import { a as storeTypesModule, o as typesModuleKey, s as writeAtomic } from "./cache-
|
|
9
|
+
import { c as qualified, l as tableObject, r as exposed, s as policyObject, t as catalogOf } from "./shared-d021xfdn.js";
|
|
10
|
+
import { a as storeTypesModule, o as typesModuleKey, s as writeAtomic } from "./cache-B0JnXfiY.js";
|
|
11
11
|
import { t as compiledReadSets } from "./read-sets-77o7SxpK.js";
|
|
12
|
-
import { c as sameModuleMigration, l as writeLatestMigration, n as READ_SETS_SUFFIX, r as latestMigration, u as writesMigrations } from "./module-migration-
|
|
12
|
+
import { c as sameModuleMigration, l as writeLatestMigration, n as READ_SETS_SUFFIX, r as latestMigration, u as writesMigrations } from "./module-migration-DXI95fqs.js";
|
|
13
13
|
import { t as byCodePoint } from "./compare-yl4sSwVn.js";
|
|
14
|
-
import { n as render } from "./render-
|
|
14
|
+
import { n as render } from "./render-3J7sk_CL.js";
|
|
15
15
|
import { existsSync } from "node:fs";
|
|
16
16
|
import { dirname, isAbsolute, relative, resolve, sep } from "node:path";
|
|
17
17
|
import { readFile } from "node:fs/promises";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { n as seedCommand } from "./seed-CvDA1ItH.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { l as stdinDatabaseUrl, n as databaseUrl, o as importExport } from "./config-
|
|
1
|
+
import { l as stdinDatabaseUrl, n as databaseUrl, o as importExport } from "./config-DD_MnPRL.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 { c as insideRoot, i as changeLines, n as PLAN_ARGS, r as applyPlan, s as hasConflicts, u as planResult } from "./files-NnXnawki.js";
|
|
@@ -6,7 +6,7 @@ import { t as display } from "./io-CngfGyMA.js";
|
|
|
6
6
|
import { t as connect } from "./db-B_xr3ZvK.js";
|
|
7
7
|
import { m as supabaseDir } from "./supabase-toml-B6-eEV5p.js";
|
|
8
8
|
import { d as requestSample, f as tokenPath, l as CloudError, n as cloudUrl, t as cloudFailure, u as activeLogin } from "./account-BhLbon5M.js";
|
|
9
|
-
import { r as STACK_ARG, t as DB_URL_STDIN_ARG } from "./source-args-
|
|
9
|
+
import { r as STACK_ARG, t as DB_URL_STDIN_ARG } from "./source-args-yU6N6JLm.js";
|
|
10
10
|
import { existsSync } from "node:fs";
|
|
11
11
|
import { dirname, resolve } from "node:path";
|
|
12
12
|
import { mkdir, readFile, writeFile } from "node:fs/promises";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as VERSION } from "./version-
|
|
1
|
+
import { t as VERSION } from "./version-Bd3kCDzL.js";
|
|
2
2
|
import { n as CliError } from "./errors-B7i-VGxk.js";
|
|
3
3
|
import { r as redactUrl } from "./redact--zOGdWzo.js";
|
|
4
4
|
import { n as HTTP_CHANNEL } from "./trace-D3TNqWBg.js";
|
|
@@ -4,8 +4,8 @@ import { t as CACHE_DIR } from "./store-DP-nmqBt.js";
|
|
|
4
4
|
import { i as failedResult, n as CliError, r as errorText } from "./errors-B7i-VGxk.js";
|
|
5
5
|
import { a as changedFiles, i as changeLines, r as applyPlan } from "./files-NnXnawki.js";
|
|
6
6
|
import { t as display } from "./io-CngfGyMA.js";
|
|
7
|
-
import { s as writeAtomic } from "./cache-
|
|
8
|
-
import { t as VERSION } from "./version-
|
|
7
|
+
import { s as writeAtomic } from "./cache-B0JnXfiY.js";
|
|
8
|
+
import { t as VERSION } from "./version-Bd3kCDzL.js";
|
|
9
9
|
import { t as importFresh } from "./fresh-import-CdO2oQaQ.js";
|
|
10
10
|
import { t as isRecord } from "./guards-DxwRG0Uv.js";
|
|
11
11
|
import { t as loadTopics } from "./topics-CqhOV1S0.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { n as specEmitCommand, i as specValidateCommand } from "./spec-
|
|
1
|
+
export { n as specEmitCommand, i as specValidateCommand } from "./spec-ClfqDbVv.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as byCodePoint } from "./compare-yl4sSwVn.js";
|
|
2
2
|
import { t as detectProject } from "./detect-CHR-SAmE.js";
|
|
3
3
|
import { d as readSupabaseToml, f as schemaPaths, h as tomlGet, n as declarativeSchemasDir, p as sqlWorkflow, u as pgFunctionHooks } from "./supabase-toml-B6-eEV5p.js";
|
|
4
|
-
import { n as databaseUrl, p as accessToken } from "./config-
|
|
4
|
+
import { n as databaseUrl, p as accessToken } from "./config-DD_MnPRL.js";
|
|
5
5
|
import { n as CliError, r as errorText } from "./errors-B7i-VGxk.js";
|
|
6
6
|
import { t as connect } from "./db-B_xr3ZvK.js";
|
|
7
|
-
import { c as TYPEGEN_VERSION, n as cachedIntrospect, u as readExtras } from "./cache-
|
|
8
|
-
import { a as toCatalog, n as managementSource, r as pgSource } from "./source-
|
|
7
|
+
import { c as TYPEGEN_VERSION, n as cachedIntrospect, u as readExtras } from "./cache-B0JnXfiY.js";
|
|
8
|
+
import { a as toCatalog, n as managementSource, r as pgSource } from "./source-DdqeWoO4.js";
|
|
9
9
|
import { existsSync } from "node:fs";
|
|
10
10
|
import { dirname, join, posix, relative, resolve, sep } from "node:path";
|
|
11
11
|
import { glob, readFile, readdir } from "node:fs/promises";
|
|
@@ -990,7 +990,7 @@ async function readSnapshotFile(absolute, label = absolute) {
|
|
|
990
990
|
}
|
|
991
991
|
/** Validates a parsed snapshot document. */
|
|
992
992
|
async function parseSnapshot(data, label = "snapshot") {
|
|
993
|
-
const doc = data;
|
|
993
|
+
const doc = typeof data === "object" && data !== null && !("version" in data) && "key" in data && "snapshot" in data ? data.snapshot : data;
|
|
994
994
|
if (!doc || typeof doc !== "object" || doc.version !== 2) throw new CliError("invalid_input", `${label} is not a version 2 snapshot. Run \`better-supabase gen --save-snapshot\` to refresh it.`);
|
|
995
995
|
if (!Array.isArray(doc.schemas) || !doc.extras || !Array.isArray(doc.extras.tables)) throw new CliError("invalid_input", `${label} is missing "schemas" or "extras".`);
|
|
996
996
|
let generator;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { m as commandMeta, r as defineCliCommand } from "./command-fqvJ0TdG.js";
|
|
2
2
|
import { n as CliError, r as errorText } from "./errors-B7i-VGxk.js";
|
|
3
3
|
import { r as supabaseCli } from "./exec-DBgtTCHK.js";
|
|
4
|
-
import { i as migrationsDir } from "./sql-layout-
|
|
4
|
+
import { i as migrationsDir } from "./sql-layout-Bl3iOXMS.js";
|
|
5
5
|
import { r as migrationStamp } from "./migration-names-7zAdXfcd.js";
|
|
6
6
|
import { resolve } from "node:path";
|
|
7
7
|
import { readFile, readdir, rm, writeFile } from "node:fs/promises";
|
|
@@ -1,12 +1,12 @@
|
|
|
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-NnXnawki.js";
|
|
2
2
|
import { t as display } from "./io-CngfGyMA.js";
|
|
3
|
-
import { i as migrationsDir, l as sqlPlan } from "./sql-layout-
|
|
3
|
+
import { i as migrationsDir, l as sqlPlan } from "./sql-layout-Bl3iOXMS.js";
|
|
4
4
|
import { n as CliError } from "./errors-B7i-VGxk.js";
|
|
5
5
|
import { t as loadTopics } from "./topics-CqhOV1S0.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-DXI95fqs.js";
|
|
7
7
|
import { t as orphanedBlockFiles } from "./orphans-ByB0gKOp.js";
|
|
8
|
-
import { r as layoutFor } from "./providers-
|
|
9
|
-
import { n as renderBlocksCached, t as cacheOf } from "./render-cache-
|
|
8
|
+
import { r as layoutFor } from "./providers-B3FLmlud.js";
|
|
9
|
+
import { n as renderBlocksCached, t as cacheOf } from "./render-cache-P4gQeivH.js";
|
|
10
10
|
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";
|
|
11
11
|
import { n as migrationFile, t as hasMigrationSuffix } from "./migration-names-7zAdXfcd.js";
|
|
12
12
|
import { dirname, join, resolve } from "node:path";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { d as fileDiff, i as changeLines, r as applyPlan } from "./files-NnXnawki.js";
|
|
2
2
|
import { t as display } from "./io-CngfGyMA.js";
|
|
3
|
-
import { i as migrationsDir, l as sqlPlan } from "./sql-layout-
|
|
3
|
+
import { i as migrationsDir, l as sqlPlan } from "./sql-layout-Bl3iOXMS.js";
|
|
4
4
|
import { d as readSupabaseToml, p as sqlWorkflow } from "./supabase-toml-B6-eEV5p.js";
|
|
5
|
-
import { a as write, r as nextStep, s as topicPolicyFile } from "./sync-
|
|
5
|
+
import { a as write, r as nextStep, s as topicPolicyFile } from "./sync-Cw0ke-3h.js";
|
|
6
6
|
import { n as migrationFile } from "./migration-names-7zAdXfcd.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-
|
|
8
|
-
import { r as layoutFor } from "./providers-
|
|
9
|
-
import { n as renderBlocksCached, t as cacheOf } from "./render-cache-
|
|
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-DXI95fqs.js";
|
|
8
|
+
import { r as layoutFor } from "./providers-B3FLmlud.js";
|
|
9
|
+
import { n as renderBlocksCached, t as cacheOf } from "./render-cache-P4gQeivH.js";
|
|
10
10
|
import { resolve } from "node:path";
|
|
11
11
|
import { readFile, readdir } from "node:fs/promises";
|
|
12
12
|
import { PRELUDE_FUNCTIONS, PRELUDE_MODULE, SQL_MODULES, buildModel, conflicts, duplicatePolicies, entityRenamePlan, moduleFileVersion, moduleTopics, sameBlockFile, upgradePlan } from "better-supabase/sql";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { m as commandMeta, r as defineCliCommand } from "./command-fqvJ0TdG.js";
|
|
2
|
-
import { t as shadowedBlockColumns } from "./column-renames-
|
|
3
|
-
import { n as appSchemaTexts } from "./sql-layout-
|
|
2
|
+
import { t as shadowedBlockColumns } from "./column-renames-4OHEvCAj.js";
|
|
3
|
+
import { n as appSchemaTexts } from "./sql-layout-Bl3iOXMS.js";
|
|
4
4
|
import { t as SQL_ARGS } from "./args-CS_64_tg.js";
|
|
5
|
-
import { o as dataMigration, t as syncModules } from "./sync-
|
|
6
|
-
import { r as renderStats } from "./render-cache-
|
|
7
|
-
import { t as upgrade } from "./upgrade-
|
|
5
|
+
import { o as dataMigration, t as syncModules } from "./sync-Cw0ke-3h.js";
|
|
6
|
+
import { r as renderStats } from "./render-cache-P4gQeivH.js";
|
|
7
|
+
import { t as upgrade } from "./upgrade-niwEovfl.js";
|
|
8
8
|
import { i as plain } from "./style-B5-nByxb.js";
|
|
9
9
|
// src/cli/commands/upgrade.ts
|
|
10
10
|
const UPGRADE_ARGS = {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { l as stdinDatabaseUrl, n as databaseUrl } from "./config-
|
|
1
|
+
import { l as stdinDatabaseUrl, n as databaseUrl } from "./config-DD_MnPRL.js";
|
|
2
2
|
import { m as commandMeta, r as defineCliCommand } from "./command-fqvJ0TdG.js";
|
|
3
3
|
import { n as CliError, r as errorText } from "./errors-B7i-VGxk.js";
|
|
4
4
|
import { t as connect } from "./db-B_xr3ZvK.js";
|
|
5
|
-
import { r as STACK_ARG, t as DB_URL_STDIN_ARG } from "./source-args-
|
|
5
|
+
import { r as STACK_ARG, t as DB_URL_STDIN_ARG } from "./source-args-yU6N6JLm.js";
|
|
6
6
|
import { dirname, join } from "node:path";
|
|
7
7
|
import { mkdir, writeFile } from "node:fs/promises";
|
|
8
8
|
import { accessMatrix, accessMatrixTests, readSecurityCatalog, verifyCatalog, verifyQuery } from "better-supabase/create/lite";
|
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-CQiEEoNx.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-BYfSlldk.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-CfiOCL2r.js";
|
|
4
|
+
import { a as ClientAuth, i as BindClientOptions, n as AuthUser, o as bindClient, r as BetterClient, t as AuthSnapshot } from "../bind-Dopmkg_T.js";
|
|
5
|
+
import { a as defineController, i as ControllerState, n as Controller, o as whileSignedIn, r as ControllerParts, t as AuthPort } from "../controller-D9N4NKbM.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-DEVGJGzd.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-CiLb3DTI.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 };
|
package/dist/client/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as parsePublicEnv } from "../public-CCEJuurM.js";
|
|
2
|
-
import { n as storageUpload, r as bindClient, t as memoryStorage } from "../ports-
|
|
2
|
+
import { n as storageUpload, r as bindClient, t as memoryStorage } from "../ports-DR88RF0N.js";
|
|
3
3
|
import { r as authzUserTopic, t as AUTHZ_EVENT } from "../authz-topic-D7fPUY4P.js";
|
|
4
4
|
import { n as dbError } from "../errors-DK1wGb9z.js";
|
|
5
5
|
import { i as isProblem, r as fromProblem } from "../problem-BwplIuhI.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { m as DbExtraHelpers, s as BetterSupabase } from "../../db-blocks-
|
|
1
|
+
import { m as DbExtraHelpers, s as BetterSupabase } from "../../db-blocks-DB8Ct8Eu.js";
|
|
2
2
|
import { O as AnyFunctions, k as AnyModels } from "../../types-BJ4cg51a.js";
|
|
3
|
-
import { a as ClientAuth, i as BindClientOptions, n as AuthUser, r as BetterClient, t as AuthSnapshot } from "../../bind-
|
|
3
|
+
import { a as ClientAuth, i as BindClientOptions, n as AuthUser, r as BetterClient, t as AuthSnapshot } from "../../bind-Dopmkg_T.js";
|
|
4
4
|
import { a as OAuthSignInOptions, c as linkParams, i as OAuthClient, l as signInWithOAuthBrowser, n as AuthLinkError, o as WebBrowserLike, r as AuthLinkResult, s as handleAuthDeepLink, t as AuthLinkClient } from "../../auth-link-C6n-ophf.js";
|
|
5
|
-
import { n as TopicPort, r as TopicWatch, t as TopicHandle } from "../../watch-topic-
|
|
5
|
+
import { n as TopicPort, r as TopicWatch, t as TopicHandle } from "../../watch-topic-BYfSlldk.js";
|
|
6
6
|
import { i as authzUserTopic, r as AuthzVersionSource, t as AUTHZ_EVENT } from "../../authz-topic-C7n3kIm_.js";
|
|
7
7
|
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-Bg0T1i86.js";
|
|
8
|
-
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-
|
|
9
|
-
import { n as ExpoPushTokenOptions, r as expoPushToken, t as ExpoNotificationsLike } from "../../push-token-
|
|
8
|
+
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-CfiOCL2r.js";
|
|
9
|
+
import { n as ExpoPushTokenOptions, r as expoPushToken, t as ExpoNotificationsLike } from "../../push-token-CRBieazN.js";
|
|
10
10
|
import { E as UploadOptions, T as UploadBody } from "../../bucket-CbRyXRp3.js";
|
|
11
11
|
import { t as AsyncResult } from "../../result-aun_QZHn.js";
|
|
12
12
|
import { SupabaseClient } from "@supabase/supabase-js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as provideConnectionRuntime } from "../../define-runtime-full-
|
|
2
|
-
import { n as storageUpload, r as bindClient, t as memoryStorage } from "../../ports-
|
|
1
|
+
import { t as provideConnectionRuntime } from "../../define-runtime-full-DeuaXsV7.js";
|
|
2
|
+
import { n as storageUpload, r as bindClient, t as memoryStorage } from "../../ports-DR88RF0N.js";
|
|
3
3
|
import { i as signInWithOAuthBrowser, n as handleAuthDeepLink, r as linkParams, t as startNativeAuthzRefresh } from "../../authz-refresh-CNV_LFEh.js";
|
|
4
4
|
import { r as authzUserTopic, t as AUTHZ_EVENT } from "../../authz-topic-D7fPUY4P.js";
|
|
5
5
|
import { t as expoPushToken } from "../../push-token-CO28k46S.js";
|
|
@@ -8,7 +8,7 @@ import { f as withMaxAffected, l as mapDbError, n as dbError } from "./errors-DK
|
|
|
8
8
|
import { t as lookupOf } from "./lookup-upE-e1zw.js";
|
|
9
9
|
import { c as optionalTemporal, d as temporalText, l as provideTemporal, u as providedTemporal } from "./temporal-VgABWvpY.js";
|
|
10
10
|
import { a as encodeArguments, n as decodeScalar, r as decodeValue, t as dateText } from "./wire-DDdE6nKn.js";
|
|
11
|
-
import { d as createSpecs, m as specTables } from "./read-set-
|
|
11
|
+
import { d as createSpecs, m as specTables } from "./read-set-DfScfSsf.js";
|
|
12
12
|
import { a as ok, r as err, s as toDbError } from "./result-DijoXEFG.js";
|
|
13
13
|
import { n as simplifyOrFalse } from "./simplify-BzThKn5b.js";
|
|
14
14
|
import { o as toBase64Url, t as base64ToText } from "./base64-CEBz6-Jj.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { p as Db, s as BetterSupabase } from "./db-blocks-
|
|
1
|
+
import { p as Db, s as BetterSupabase } from "./db-blocks-DB8Ct8Eu.js";
|
|
2
2
|
import { O as AnyFunctions, k as AnyModels } from "./types-BJ4cg51a.js";
|
|
3
3
|
import { r as AuthState } from "./resolve-Chhtdk4M.js";
|
|
4
4
|
import { r as GuardOptions } from "./respond-DNcBzi_Y.js";
|
|
5
|
-
import { n as SessionEntryOptions } from "./session-
|
|
6
|
-
import { g as ReplicaState, r as BetterServer, s as ServerContext, u as ServerOptions } from "./server-types-
|
|
5
|
+
import { n as SessionEntryOptions } from "./session-Bro3jmnu.js";
|
|
6
|
+
import { g as ReplicaState, r as BetterServer, s as ServerContext, u as ServerOptions } from "./server-types-Cp2en4rP.js";
|
|
7
7
|
import { t as ActiveSupport } from "./support-N97YzVgD.js";
|
|
8
8
|
import { SupabaseClient } from "@supabase/supabase-js";
|
|
9
9
|
import { Entry, SingleKeyEntry } from "@supabase/middleware";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as withAuthMode, i as withAuth, o as withJwtClaims, s as withUserClaims } from "./claims-DouHL7ZL.js";
|
|
2
|
-
import { a as withSupport, i as withTenant, o as withServerContext, t as createServer } from "./server-
|
|
2
|
+
import { a as withSupport, i as withTenant, o as withServerContext, t as createServer } from "./server-DA5SRGHQ.js";
|
|
3
3
|
import { c as serverCore, i as withSession } from "./sessions-Dedk1ubX.js";
|
|
4
4
|
import { o as problemResponse } from "./problem-BwplIuhI.js";
|
|
5
5
|
import { i as guard, n as defaultExpose } from "./respond-DLvLJwwN.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Z as ReadSetParamTypes, at as BlockReadMap, q as ReadSet, s as BetterSupabase } from "./db-blocks-
|
|
1
|
+
import { Z as ReadSetParamTypes, at as BlockReadMap, q as ReadSet, s as BetterSupabase } from "./db-blocks-DB8Ct8Eu.js";
|
|
2
2
|
import { O as AnyFunctions, k as AnyModels } from "./types-BJ4cg51a.js";
|
|
3
3
|
/** One block read a composite's read set calls. */
|
|
4
4
|
interface CompositeReadEntry {
|
package/dist/config/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { N as Casing } from "../types-BJ4cg51a.js";
|
|
2
|
-
import { Ft as SubjectTeam, It as SubjectsConfig, Mt as SubjectConfig, Nt as SubjectPermission, Pt 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 } from "../blocks-
|
|
3
|
-
import { $r as SkillsAgent, Gr as DoctorConfig, Jr as GenTask, Kr as EnvFileConfig, Qr as PowerSyncGenConfig, Xr as KeysConfig, Yr as IntegrationName, Zr as MigrationSafetyConfig, ai as INTEGRATION_NAMES, cn as FIELD_FORMATS, dn as FieldFormatInput, ei as SkillsConfig, ii as INTEGRATION_INFO, oi as IntegrationInfo, qr as GenConfig, ri as GEN_TASKS, si as SKILLS_AGENTS, un as FieldFormat } from "../define-block-
|
|
4
|
-
import { $ as flattenConfig, $n as SeedSampleConfig, $r as AppLookupConfig, Ai as ExtrasTable, Ar as GeneratorModule, At as BlockInput, B as claimPaths, Bi as RpcFunctionArg, Bt as ColumnPrivilege, Ci as CatalogTable, Cr as GeneratorFunction, Ct as ResolvedConfig, Di as ExtrasFunction, Dr as GeneratorInputSchema, Dt as AppTablesInput, Ei as ExtrasDomain, Er as GeneratorInput, Et as AppTableInput, Fi as GeneratorMetadata, Fr as RelationsConfig, Ft as SqlInput, G as blockEventRenames, Gr as APP_COLUMN_TYPES, Gt as ResolvedExpose, H as BlockEntity, Hi as RpcFunctionReturns, Ht as ExposePrivilege, Ii as PostgresColumn, Ir as SourceConfig, It as TenantConfig, J as FormerPermissionKeyError, Jn as RealtimeConfig, Jr as APP_TABLE_EVENT_KINDS, K as blockFormerFunctions, Kr as APP_ON_DELETE_ACTIONS, Li as PostgresFunction, Lr as TableConfig, Lt as ToolingConfig, Mi as Snapshot, Mr as GeneratorTable, Mt as DatabaseConfig, Ni as SnapshotBucket, Nr as JsonSchemaSource, Nt as EnvironmentConfig, Oi as ExtrasHook, Or as GeneratorJsonSchema, Ot as AuthConfig, Pi as SnapshotExtras, Pr as JsonTypeConfig, Pt as GenGroupConfig, Q as blockEntrySource, Qn as SeedDefaultsConfig, Qr as AppColumnType, R as ClaimPaths, Ri as PostgresFunctionArg, Rr as CONFIG_DEFAULTS, Rt as EntitlementPlansSource, Si as CatalogPolicy, Sr as GeneratorField, St as HooksFramework, Ti as CatalogUnique, Tr as GeneratorImports, Tt as ApiConfig, U as blockEntities, Ui as RpcReturnColumn, Ur as APP_COLUMN_ACCESS, Ut as ExposeRole, V as tenantClaimPaths, Vi as RpcFunctionOverload, Vt as ExposeConfig, W as blockEntityRenames, Wi as RpcTypeReference, Wr as APP_COLUMN_FORMATS, Wt as Privilege, X as RENAMED_BLOCK_KEYS, Xn as ResolvedSqlConfig, Xr as AppColumnConfig, Y as CONFIG_GROUPS, Yn as ResolvedSeedConfig, Yr as AppColumnAccess, Z as RENAMED_CONFIG_KEYS, Zn as SeedConfig, Zr as AppColumnFormat, _i as CatalogForeignKey, _r as GeneratorBlockEntity, ai as AppTableConfig, ar as TopicTriggerLookupConfig, at as generatorProblem, bi as CatalogGrant, br as GeneratorConfigView, bt as DataHooksSelect, ci as AppTableEvents, cr as TopicTriggerValueConfig, ct as BucketName, di as AppTablesConfig, dr as resolveJsonSchema, ei as AppOnDeleteAction, er as SeedSampleSize, et as groupConfig, fi as Catalog, fr as ClaimsConfig, ft as ExpandedConfig, gi as CatalogEnum, gr as GeneratorBlock, hi as CatalogColumnGrant, hr as Generator, ii as AppRollupConfig, ir as TopicTriggerConfig, it as defineConfig, ji as ForeignKeyAction, jr as GeneratorNoun, jt as BlocksInput, ki as ExtrasHookFunction, kr as GeneratorModel, kt as BetterSupabaseConfig, li as AppTableSubject, lr as VectorDistance, lt as ConfigReferences, mi as CatalogColumn, mr as GeneratedFile, ni as AppReferenceTarget, nr as SqlConfig, nt as CONFIG_SCHEMA_URL, oi as AppTableEmbedding, or as TopicTriggerPayloadValueConfig, ot as resolveConfig, pi as CatalogCheck, pr as CodecsConfig, q as blockSubjectTypes, qn as BucketConfig, qr as APP_ROLLUP_AGGREGATES, ri as AppRollupAggregate, rr as SqlWorkflow, rt as ResolveInput, si as AppTableEventKind, sr as TopicTriggerTopicConfig, st as BlockTableReference, ti as AppReference, tr as SqlBlockDefaults, tt as groupEntries, ui as AppTableVersions, ur as VectorSearchConfig, ut as RoleNames, vi as CatalogFunction, vr as GeneratorCapability, vt as DataHooksConfig, wi as CatalogTrigger, wr as GeneratorFunctionArg, wt as ResolvedExtensions, xi as CatalogIndex, xr as GeneratorEntitySchemas, xt as FlatConfig, yi as CatalogFunctionArg, yr as GeneratorColumn, yt as DataHooksFramework, z as DEFAULT_CLAIMS, zi as RpcFunction, zt as EntitlementsConfig } from "../context-
|
|
5
|
-
import { _ as resolvePersonas, a as AuthorizationPermission, c as AuthorizationProvider, d as AuthorizationScope, f as AuthorizationTokenHook, g as providerApiProblem, h as permissionLevelKey, i as AuthorizationOperation, l as AuthorizationRequirement, m as PERMISSION_LEVEL_SEPARATOR, n as AuthorizationFunctions, o as AuthorizationPersona, p as AuthorizationVersions, r as AuthorizationMembership, s as AuthorizationPlatformRoles, t as AuthorizationFixtureRole, u as AuthorizationRoleSource, v as splitPermissionLevel } from "../authorization-
|
|
2
|
+
import { Ft as SubjectTeam, It as SubjectsConfig, Mt as SubjectConfig, Nt as SubjectPermission, Pt 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 } from "../blocks-sDhFO8-h.js";
|
|
3
|
+
import { $r as SkillsAgent, Gr as DoctorConfig, Jr as GenTask, Kr as EnvFileConfig, Qr as PowerSyncGenConfig, Xr as KeysConfig, Yr as IntegrationName, Zr as MigrationSafetyConfig, ai as INTEGRATION_NAMES, cn as FIELD_FORMATS, dn as FieldFormatInput, ei as SkillsConfig, ii as INTEGRATION_INFO, oi as IntegrationInfo, qr as GenConfig, ri as GEN_TASKS, si as SKILLS_AGENTS, un as FieldFormat } from "../define-block-Cd7dm2o6.js";
|
|
4
|
+
import { $ as flattenConfig, $n as SeedSampleConfig, $r as AppLookupConfig, Ai as ExtrasTable, Ar as GeneratorModule, At as BlockInput, B as claimPaths, Bi as RpcFunctionArg, Bt as ColumnPrivilege, Ci as CatalogTable, Cr as GeneratorFunction, Ct as ResolvedConfig, Di as ExtrasFunction, Dr as GeneratorInputSchema, Dt as AppTablesInput, Ei as ExtrasDomain, Er as GeneratorInput, Et as AppTableInput, Fi as GeneratorMetadata, Fr as RelationsConfig, Ft as SqlInput, G as blockEventRenames, Gr as APP_COLUMN_TYPES, Gt as ResolvedExpose, H as BlockEntity, Hi as RpcFunctionReturns, Ht as ExposePrivilege, Ii as PostgresColumn, Ir as SourceConfig, It as TenantConfig, J as FormerPermissionKeyError, Jn as RealtimeConfig, Jr as APP_TABLE_EVENT_KINDS, K as blockFormerFunctions, Kr as APP_ON_DELETE_ACTIONS, Li as PostgresFunction, Lr as TableConfig, Lt as ToolingConfig, Mi as Snapshot, Mr as GeneratorTable, Mt as DatabaseConfig, Ni as SnapshotBucket, Nr as JsonSchemaSource, Nt as EnvironmentConfig, Oi as ExtrasHook, Or as GeneratorJsonSchema, Ot as AuthConfig, Pi as SnapshotExtras, Pr as JsonTypeConfig, Pt as GenGroupConfig, Q as blockEntrySource, Qn as SeedDefaultsConfig, Qr as AppColumnType, R as ClaimPaths, Ri as PostgresFunctionArg, Rr as CONFIG_DEFAULTS, Rt as EntitlementPlansSource, Si as CatalogPolicy, Sr as GeneratorField, St as HooksFramework, Ti as CatalogUnique, Tr as GeneratorImports, Tt as ApiConfig, U as blockEntities, Ui as RpcReturnColumn, Ur as APP_COLUMN_ACCESS, Ut as ExposeRole, V as tenantClaimPaths, Vi as RpcFunctionOverload, Vt as ExposeConfig, W as blockEntityRenames, Wi as RpcTypeReference, Wr as APP_COLUMN_FORMATS, Wt as Privilege, X as RENAMED_BLOCK_KEYS, Xn as ResolvedSqlConfig, Xr as AppColumnConfig, Y as CONFIG_GROUPS, Yn as ResolvedSeedConfig, Yr as AppColumnAccess, Z as RENAMED_CONFIG_KEYS, Zn as SeedConfig, Zr as AppColumnFormat, _i as CatalogForeignKey, _r as GeneratorBlockEntity, ai as AppTableConfig, ar as TopicTriggerLookupConfig, at as generatorProblem, bi as CatalogGrant, br as GeneratorConfigView, bt as DataHooksSelect, ci as AppTableEvents, cr as TopicTriggerValueConfig, ct as BucketName, di as AppTablesConfig, dr as resolveJsonSchema, ei as AppOnDeleteAction, er as SeedSampleSize, et as groupConfig, fi as Catalog, fr as ClaimsConfig, ft as ExpandedConfig, gi as CatalogEnum, gr as GeneratorBlock, hi as CatalogColumnGrant, hr as Generator, ii as AppRollupConfig, ir as TopicTriggerConfig, it as defineConfig, ji as ForeignKeyAction, jr as GeneratorNoun, jt as BlocksInput, ki as ExtrasHookFunction, kr as GeneratorModel, kt as BetterSupabaseConfig, li as AppTableSubject, lr as VectorDistance, lt as ConfigReferences, mi as CatalogColumn, mr as GeneratedFile, ni as AppReferenceTarget, nr as SqlConfig, nt as CONFIG_SCHEMA_URL, oi as AppTableEmbedding, or as TopicTriggerPayloadValueConfig, ot as resolveConfig, pi as CatalogCheck, pr as CodecsConfig, q as blockSubjectTypes, qn as BucketConfig, qr as APP_ROLLUP_AGGREGATES, ri as AppRollupAggregate, rr as SqlWorkflow, rt as ResolveInput, si as AppTableEventKind, sr as TopicTriggerTopicConfig, st as BlockTableReference, ti as AppReference, tr as SqlBlockDefaults, tt as groupEntries, ui as AppTableVersions, ur as VectorSearchConfig, ut as RoleNames, vi as CatalogFunction, vr as GeneratorCapability, vt as DataHooksConfig, wi as CatalogTrigger, wr as GeneratorFunctionArg, wt as ResolvedExtensions, xi as CatalogIndex, xr as GeneratorEntitySchemas, xt as FlatConfig, yi as CatalogFunctionArg, yr as GeneratorColumn, yt as DataHooksFramework, z as DEFAULT_CLAIMS, zi as RpcFunction, zt as EntitlementsConfig } from "../context-C_Rx1QaW.js";
|
|
5
|
+
import { _ as resolvePersonas, a as AuthorizationPermission, c as AuthorizationProvider, d as AuthorizationScope, f as AuthorizationTokenHook, g as providerApiProblem, h as permissionLevelKey, i as AuthorizationOperation, l as AuthorizationRequirement, m as PERMISSION_LEVEL_SEPARATOR, n as AuthorizationFunctions, o as AuthorizationPersona, p as AuthorizationVersions, r as AuthorizationMembership, s as AuthorizationPlatformRoles, t as AuthorizationFixtureRole, u as AuthorizationRoleSource, v as splitPermissionLevel } from "../authorization-Cn_oEGoA.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 AuthorizationFixtureRole, 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 FieldFormat, type FieldFormatInput, type FlatConfig, type ForeignKeyAction, FormerPermissionKeyError, GEN_TASKS, type GenConfig, type GenGroupConfig, type GenTask, type GeneratedFile, type Generator, type GeneratorBlock, type GeneratorBlockEntity, type GeneratorCapability, type GeneratorColumn, type GeneratorConfigView, type GeneratorEntitySchemas, type GeneratorField, type GeneratorFunction, type GeneratorFunctionArg, type GeneratorImports, type GeneratorInput, type GeneratorInputSchema, type GeneratorJsonSchema, type GeneratorMetadata, type GeneratorModel, type GeneratorModule, type GeneratorNoun, type GeneratorTable, type HooksFramework, INTEGRATION_INFO, INTEGRATION_NAMES, type IntegrationInfo, type IntegrationName, type JsonSchemaSource, type JsonTypeConfig, type KeysConfig, type MigrationSafetyConfig, type OwnTablePolicies, PERMISSION_LEVEL_SEPARATOR, 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 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 VectorDistance, type VectorSearchConfig, blockEntities, blockEntityRenames, blockEntrySource, blockEventRenames, blockFormerFunctions, blockSubjectTypes, claimPaths, defineConfig, flattenConfig, generatorProblem, groupConfig, groupEntries, permissionLevelKey, providerApiProblem, resolveConfig, resolveJsonSchema, resolvePersonas, splitPermissionLevel, tenantClaimPaths, tenantNameOf };
|
package/dist/config/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { _ as CONFIG_DEFAULTS, a as blockEntityRenames, c as blockSubjectTypes, g as resolveJsonSchema, i as blockEntities, o as blockEventRenames, s as blockFormerFunctions, t as FormerPermissionKeyError } from "../former-permission-keys-
|
|
1
|
+
import { _ as CONFIG_DEFAULTS, a as blockEntityRenames, c as blockSubjectTypes, g as resolveJsonSchema, i as blockEntities, o as blockEventRenames, s as blockFormerFunctions, t as FormerPermissionKeyError } from "../former-permission-keys-D8FbWktT.js";
|
|
2
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-a_CzEbpi.js";
|
|
3
3
|
import { a as tenantClaimPaths, r as claimPaths, t as DEFAULT_CLAIMS } from "../claims-CX-ar1vt.js";
|
|
4
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-07Lopbd1.js";
|
|
5
5
|
import { i as FIELD_FORMATS } from "../field-formats-sLYMh1ZK.js";
|
|
6
|
-
import { a as PERMISSION_LEVEL_SEPARATOR, c as resolvePersonas, i as resolveConfig, l as splitPermissionLevel, n as defineConfig, o as permissionLevelKey, r as generatorProblem, s as providerApiProblem, t as CONFIG_SCHEMA_URL } from "../config-
|
|
6
|
+
import { a as PERMISSION_LEVEL_SEPARATOR, c as resolvePersonas, i as resolveConfig, l as splitPermissionLevel, n as defineConfig, o as permissionLevelKey, r as generatorProblem, s as providerApiProblem, t as CONFIG_SCHEMA_URL } from "../config-cisS43w5.js";
|
|
7
7
|
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, FormerPermissionKeyError, GEN_TASKS, INTEGRATION_INFO, INTEGRATION_NAMES, PERMISSION_LEVEL_SEPARATOR, RENAMED_BLOCK_KEYS, RENAMED_CONFIG_KEYS, SKILLS_AGENTS, blockEntities, blockEntityRenames, blockEntrySource, blockEventRenames, blockFormerFunctions, blockSubjectTypes, claimPaths, defineConfig, flattenConfig, generatorProblem, groupConfig, groupEntries, permissionLevelKey, providerApiProblem, resolveConfig, resolveJsonSchema, resolvePersonas, splitPermissionLevel, tenantClaimPaths, tenantNameOf };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as CONFIG_DEFAULTS, u as withBlockSubjects } from "./former-permission-keys-
|
|
1
|
+
import { _ as CONFIG_DEFAULTS, u as withBlockSubjects } from "./former-permission-keys-D8FbWktT.js";
|
|
2
2
|
import { j as flattenConfig, n as expandFlatPreset, r as expandPreset } from "./config-a_CzEbpi.js";
|
|
3
3
|
import { t as DEFAULT_CLAIMS } from "./claims-CX-ar1vt.js";
|
|
4
4
|
import { o as tenantNames } from "./entity-naming-CUsC8bC1.js";
|
|
@@ -363,6 +363,7 @@ function resolveConfig(input, root) {
|
|
|
363
363
|
format: config.doctor?.format ?? CONFIG_DEFAULTS.doctor.format,
|
|
364
364
|
sources: config.doctor?.sources ?? CONFIG_DEFAULTS.doctor.sources,
|
|
365
365
|
policyHelperLimit: config.doctor?.policyHelperLimit ?? CONFIG_DEFAULTS.doctor.policyHelperLimit,
|
|
366
|
+
parallelReads: config.doctor?.parallelReads ?? CONFIG_DEFAULTS.doctor.parallelReads,
|
|
366
367
|
sealTriggers: config.doctor?.sealTriggers ?? [],
|
|
367
368
|
...config.doctor?.file === void 0 ? {} : { file: config.doctor.file },
|
|
368
369
|
...config.doctor?.claimsLimit === void 0 ? {} : { claimsLimit: config.doctor.claimsLimit },
|
|
@@ -1,13 +1,13 @@
|
|
|
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-BJ4cg51a.js";
|
|
3
|
-
import { It as SubjectsConfig, Xt as TablesOf, Zt as BlockNameRegistry, _ as OwnTablePolicies, a as BlockConfigOf, c as BlockScope, d as DisabledRow, g as NamedInstance, h as InstanceOn, i as BlockConfig, jt as RelationKindOptions, l as BlocksConfig, o as BlockMode, p as EntityConfig, r as AnyBlocksConfig, s as BlockName, t as AccessBlockConfig, 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, Rr as PresetScope, Sr as EntityNoun, Xr as KeysConfig, Yr as IntegrationName, b as BlockEnvKey, bi as DefaultAutomation, di as ActionDescriptor, ei as SkillsConfig, 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 SpecsConfig, qr as GenConfig, ti as SpecOutputConfig, x as BlockProvider, xr as EntityNames, yi as BlockSchedule } from "./define-block-
|
|
3
|
+
import { It as SubjectsConfig, Xt as TablesOf, Zt as BlockNameRegistry, _ as OwnTablePolicies, a as BlockConfigOf, c as BlockScope, d as DisabledRow, g as NamedInstance, h as InstanceOn, i as BlockConfig, jt as RelationKindOptions, l as BlocksConfig, o as BlockMode, p as EntityConfig, r as AnyBlocksConfig, s as BlockName, t as AccessBlockConfig, v as ResolvedBlock, y as TenantScopeConfig } from "./blocks-sDhFO8-h.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, Rr as PresetScope, Sr as EntityNoun, Xr as KeysConfig, Yr as IntegrationName, b as BlockEnvKey, bi as DefaultAutomation, di as ActionDescriptor, ei as SkillsConfig, 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 SpecsConfig, qr as GenConfig, ti as SpecOutputConfig, x as BlockProvider, xr as EntityNames, yi as BlockSchedule } from "./define-block-Cd7dm2o6.js";
|
|
5
5
|
import { 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 { r as FrameworkBinding } from "./frameworks-BRExUk_W.js";
|
|
9
9
|
import { t as GuestAction } from "./guest-actions-DfHHp98H.js";
|
|
10
|
-
import { c as AuthorizationProvider, i as AuthorizationOperation, n as AuthorizationFunctions, r as AuthorizationMembership, s as AuthorizationPlatformRoles, u as AuthorizationRoleSource } from "./authorization-
|
|
10
|
+
import { c as AuthorizationProvider, i as AuthorizationOperation, n as AuthorizationFunctions, r as AuthorizationMembership, s as AuthorizationPlatformRoles, u as AuthorizationRoleSource } from "./authorization-Cn_oEGoA.js";
|
|
11
11
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
12
12
|
/**
|
|
13
13
|
* One declared link from an entity of this module to an entity of another
|
|
@@ -1612,6 +1612,7 @@ declare const CONFIG_DEFAULTS: {
|
|
|
1612
1612
|
readonly format: "text";
|
|
1613
1613
|
readonly sources: readonly string[];
|
|
1614
1614
|
readonly policyHelperLimit: number;
|
|
1615
|
+
readonly parallelReads: number;
|
|
1615
1616
|
};
|
|
1616
1617
|
readonly gen: {
|
|
1617
1618
|
readonly watchInterval: number;
|
package/dist/contract/index.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { a as AuthorizationPermission, c as AuthorizationProvider, d as AuthorizationScope, f as AuthorizationTokenHook, i as AuthorizationOperation, l as AuthorizationRequirement, n as AuthorizationFunctions, o as AuthorizationPersona, p as AuthorizationVersions, r as AuthorizationMembership, s as AuthorizationPlatformRoles, t as AuthorizationFixtureRole, u as AuthorizationRoleSource } from "../authorization-
|
|
1
|
+
import { a as AuthorizationPermission, c as AuthorizationProvider, d as AuthorizationScope, f as AuthorizationTokenHook, i as AuthorizationOperation, l as AuthorizationRequirement, n as AuthorizationFunctions, o as AuthorizationPersona, p as AuthorizationVersions, r as AuthorizationMembership, s as AuthorizationPlatformRoles, t as AuthorizationFixtureRole, u as AuthorizationRoleSource } from "../authorization-Cn_oEGoA.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-BJ4cg51a.js";
|
|
4
4
|
import { _ as SupportAuthorize, g as SubscriberPolicy, i as AuthorizationHooks, v as SupportAuthorizeInput } from "../authorization-hooks-DtuVzDBf.js";
|
|
5
5
|
import { s as ApiKeyResolverOptions } from "../api-keys-BlfwKpXq.js";
|
|
6
6
|
import { r as CredentialProvider } from "../provider-r2RjlARm.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-Sl13L6VB.js";
|
|
8
8
|
import { g as SessionSnapshot } from "../resolve-Chhtdk4M.js";
|
|
9
|
-
import { n as ApprovalOptions } from "../server-types-
|
|
10
|
-
import { n as BlockTables, t as BlockTable } from "../block-tables-
|
|
9
|
+
import { n as ApprovalOptions } from "../server-types-Cp2en4rP.js";
|
|
10
|
+
import { n as BlockTables, t as BlockTable } from "../block-tables-KnVB7FH0.js";
|
|
11
11
|
import { a as BootstrapPermissionsWire, i as BootstrapPermissionsFull, n as BootstrapPermissions, r as BootstrapPermissionsCompact } from "../bootstrap-permissions-hiWjQ2N7.js";
|
|
12
12
|
/**
|
|
13
13
|
* The types an authorization library implements or reads, in one entry with no
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as ClientAuth } from "./bind-
|
|
1
|
+
import { a as ClientAuth } from "./bind-Dopmkg_T.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 { ci as Action, li as ActionCall, ui as ActionContext } from "./define-block-
|
|
1
|
+
import { ci as Action, li as ActionCall, ui as ActionContext } from "./define-block-Cd7dm2o6.js";
|
|
2
2
|
import { f as Result } from "./result-aun_QZHn.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 { Kr as APP_ON_DELETE_ACTIONS, Nn as PresetSpec, Qr as AppColumnType, Qt as PresetName, Yr as AppColumnAccess, ei as AppOnDeleteAction, m as BlockSqlAccessProvider, pt as PresetInput, rn as CreateDesign } from "../context-
|
|
3
|
-
import { $ as keyColumnsOf, A as renameTable, B as eventsColumnsEdited, C as freeTableName, Ct as Issue, D as moveTables, E as isEmptyDesign, Et as IssueSource, F as updateTable, G as SchemaComputed, H as subjectColumnsEdited, I as userConnection, J as SchemaOptions, K as SchemaData, L as withDesign, M as setTableId, N as singular, O as referenceFrom, P as tidy, Q as SchemaTarget, R as AppEvents, S as editTable, St as tableWithoutComputed, T as isAppTable, Tt as IssueSeverity, U as subjectTypeError, V as subjectColumns, W as SchemaColumn, X as SchemaSource, Y as SchemaSoftRef, Z as SchemaTable, _ as connect, _t as prunedComputed, a as AppScope, at as AppRollup, b as deleteTable, bt as rollupSources, c as ConnectResult, ct as ROLLUP_AGGREGATES, d as EMPTY_DESIGN, dt as computedRows, et as parseSchema, f as NamedDesign, ft as computedTableRenamed, g as columnError, gt as lookupSources, h as appTableId, ht as isRollupAggregate, i as AppReference, it as AppLookup, j as setColumn, k as renameColumn, l as Connection, lt as RollupAggregate, m as addTable, mt as fittedRollup, n as APP_MODULE, nt as tableStatements, o as AppTable, ot as ComputedRow, p as TablePatch, pt as filterColumns, q as SchemaForeignKey, r as AppColumn, rt as tenantColumnOf, s as AppTableId, st as DraftRollup, t as PresetMigrationFile, tt as schemaRelations, u as Design, ut as computedColumnRenamed, v as defaultError, vt as readableColumns, w as identifierError, wt as IssueCode, x as duplicateTable, xt as tableWithComputed, y as deleteColumn, yt as rollupColumns, z as AppSubject } from "../types-
|
|
4
|
-
import { kr as Preset } from "../define-block-
|
|
2
|
+
import { Kr as APP_ON_DELETE_ACTIONS, Nn as PresetSpec, Qr as AppColumnType, Qt as PresetName, Yr as AppColumnAccess, ei as AppOnDeleteAction, m as BlockSqlAccessProvider, pt as PresetInput, rn as CreateDesign } from "../context-C_Rx1QaW.js";
|
|
3
|
+
import { $ as keyColumnsOf, A as renameTable, B as eventsColumnsEdited, C as freeTableName, Ct as Issue, D as moveTables, E as isEmptyDesign, Et as IssueSource, F as updateTable, G as SchemaComputed, H as subjectColumnsEdited, I as userConnection, J as SchemaOptions, K as SchemaData, L as withDesign, M as setTableId, N as singular, O as referenceFrom, P as tidy, Q as SchemaTarget, R as AppEvents, S as editTable, St as tableWithoutComputed, T as isAppTable, Tt as IssueSeverity, U as subjectTypeError, V as subjectColumns, W as SchemaColumn, X as SchemaSource, Y as SchemaSoftRef, Z as SchemaTable, _ as connect, _t as prunedComputed, a as AppScope, at as AppRollup, b as deleteTable, bt as rollupSources, c as ConnectResult, ct as ROLLUP_AGGREGATES, d as EMPTY_DESIGN, dt as computedRows, et as parseSchema, f as NamedDesign, ft as computedTableRenamed, g as columnError, gt as lookupSources, h as appTableId, ht as isRollupAggregate, i as AppReference, it as AppLookup, j as setColumn, k as renameColumn, l as Connection, lt as RollupAggregate, m as addTable, mt as fittedRollup, n as APP_MODULE, nt as tableStatements, o as AppTable, ot as ComputedRow, p as TablePatch, pt as filterColumns, q as SchemaForeignKey, r as AppColumn, rt as tenantColumnOf, s as AppTableId, st as DraftRollup, t as PresetMigrationFile, tt as schemaRelations, u as Design, ut as computedColumnRenamed, v as defaultError, vt as readableColumns, w as identifierError, wt as IssueCode, x as duplicateTable, xt as tableWithComputed, y as deleteColumn, yt as rollupColumns, z as AppSubject } from "../types-BMLgTFzf.js";
|
|
4
|
+
import { kr as Preset } from "../define-block-Cd7dm2o6.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-BszN5nLs.js";
|
|
7
7
|
/** What `checkDesign` returns. */
|
|
8
8
|
export type DesignCheck = {
|
|
9
9
|
readonly ok: true;
|