better-supabase 0.59.0 → 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-BAjra5Eb.js → adapter-base-BHtxRoRg.js} +1 -1
- package/dist/{agents-CbsEgoLN.d.ts → agents-FJk0CNex.d.ts} +2 -2
- package/dist/{ai-schedules-BxBsTpji.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-DAJJ7N_0.js → api-Clu-XitC.js} +1 -1
- package/dist/{app-tables-DBmFqdFN.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-Bx0H1vAc.d.ts → bind-Dopmkg_T.d.ts} +4 -4
- package/dist/{block-env-DUn5reXc.d.ts → block-env-4tgXDIAX.d.ts} +4 -4
- package/dist/{block-tables-BaLXCQha.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-Rz89mkdS.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-BEVTXHQx.d.ts → claims-source-CeefCyGV.d.ts} +1 -1
- package/dist/cli/add-BBZULhs3.js +1 -0
- package/dist/cli/{add-CnCt2QoB.js → add-OllEkXon.js} +9 -9
- package/dist/cli/{add-BJNTq7Ti.js → add-djLR310z.js} +2 -2
- package/dist/cli/{app-table-files-CfB0_NuX.js → app-table-files-DnoDAkVJ.js} +3 -3
- package/dist/cli/{app-tables-oieRU_sP.js → app-tables-C4shCkBv.js} +2 -2
- package/dist/cli/{backfill-Cr5jgVi1.js → backfill-_spwSvnn.js} +1 -1
- package/dist/cli/bin.js +1 -1
- package/dist/cli/{blocks-B-ANsRnH.js → blocks-Cvs0nhC2.js} +1 -1
- package/dist/cli/{blocks-DLMVaOFG.js → blocks-DFkzCFQi.js} +1 -1
- package/dist/cli/{cache-Ba26VW2N.js → cache-B0JnXfiY.js} +1 -1
- package/dist/cli/{codemod-x1I7Mjr3.js → codemod-D2Lnca97.js} +5 -5
- package/dist/cli/{codemod-naming-CZhndoO7.js → codemod-naming-CHIeOTt5.js} +1 -1
- package/dist/cli/{column-renames-BEEDF6P6.js → column-renames-4OHEvCAj.js} +2 -2
- package/dist/cli/{content-mapper-z7CrnE1s.js → content-mapper-DAYxPQ18.js} +1 -1
- package/dist/cli/{dev-D9nn9Gzt.js → dev-Xw7pt3KG.js} +3 -3
- package/dist/cli/{doctor-DCorhlir.js → doctor-diSKQp-6.js} +238 -105
- package/dist/cli/{emit-qQdWBc9e.js → emit-CICey-Za.js} +2 -2
- package/dist/cli/{gen-Bf1ujcTm.js → gen-BVuNFeLB.js} +3 -3
- package/dist/cli/{gen-tasks-q9JJSJ6r.js → gen-tasks-C2vwKKTc.js} +9 -9
- package/dist/cli/index.d.ts +1 -1
- package/dist/cli/index.js +7 -7
- package/dist/cli/{init-DLLfL1uL.js → init-9BSoBkny.js} +8 -8
- package/dist/cli/{live-D4giSEyd.js → live-Ce8vdcCn.js} +2 -2
- package/dist/cli/{mcp-DwjeMbmV.js → mcp-UW-gEnP_.js} +2 -2
- package/dist/cli/{memo-backend-DPGMyJvH.js → memo-backend-BMdfsihK.js} +1 -1
- package/dist/cli/{metadata-Cft3CW1M.js → metadata-DqrbS0sS.js} +4 -4
- package/dist/cli/{migrate-Ci_UUuPv.js → migrate-Cn8L_0co.js} +1 -1
- package/dist/cli/{migration-safety-D3raBuJx.js → migration-safety-C1Ysrthi.js} +1 -1
- package/dist/cli/{module-migration-DZtxNO8A.js → module-migration-DXI95fqs.js} +1 -1
- package/dist/cli/{partition-DWJ6icQ5.js → partition-CJCrIueu.js} +1 -1
- package/dist/cli/{powersync-BAyDVR-N.js → powersync-CB-7AksZ.js} +3 -3
- package/dist/cli/powersync-JTdU1Xpy.js +1 -0
- package/dist/cli/{print-BSy5c62C.js → print-AVVgXsLG.js} +2 -2
- package/dist/cli/{providers-BbFKOale.js → providers-B3FLmlud.js} +1 -1
- package/dist/cli/{prune-workflows-VY7C9vhb.js → prune-workflows-CrLDmFf1.js} +1 -1
- package/dist/cli/{remove-CcBoTjEO.js → remove-00SZWfyi.js} +6 -6
- package/dist/cli/{render-CIrcdge6.js → render-3J7sk_CL.js} +4 -4
- package/dist/cli/{render-cache-bbL2UdJ6.js → render-cache-P4gQeivH.js} +1 -1
- package/dist/cli/round-trips-BHfeIu6I.js +238 -0
- package/dist/cli/{run-qCtE--0z.js → run-CByEIEng.js} +30 -30
- package/dist/cli/{run-D_p_WkPh.js → run-D_z9ULO7.js} +7 -7
- package/dist/cli/{shared-CkqZm0Bz.js → shared-d021xfdn.js} +1 -1
- package/dist/cli/{source-io7b1UpH.js → source-DdqeWoO4.js} +1 -1
- package/dist/cli/{spec-djAAvGKU.js → spec-ClfqDbVv.js} +2 -2
- package/dist/cli/{spec-QGOfTJvS.js → spec-Diudl7hC.js} +1 -1
- package/dist/cli/{sql-layout-1ASqdR4g.js → sql-layout-Bl3iOXMS.js} +3 -3
- package/dist/cli/{squash-DEmB47YZ.js → squash-C07y7CsQ.js} +1 -1
- package/dist/cli/{sync-CUcxtnwa.js → sync-Cw0ke-3h.js} +4 -4
- package/dist/cli/{upgrade-DV9mKpAp.js → upgrade-niwEovfl.js} +5 -5
- package/dist/cli/{upgrade-FWW6hKCv.js → upgrade-oc6s5Xoe.js} +5 -5
- package/dist/cli/{version-CSdXYnhG.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-WUO6K2Hu.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-C3yry9U5.js → config-cisS43w5.js} +1 -1
- package/dist/{context-DMTfze4z.d.ts → context-C_Rx1QaW.d.ts} +3 -3
- package/dist/contract/index.d.ts +4 -4
- package/dist/{controller-l9h4TtKg.d.ts → controller-D9N4NKbM.d.ts} +1 -1
- package/dist/{conversion-D70FELty.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-D-Z8xB6y.d.ts → define-block-Cd7dm2o6.d.ts} +2 -2
- package/dist/{define-runtime-Dv8OYnKW.js → define-runtime-Ca5NN0gu.js} +2 -2
- package/dist/{define-runtime-full-C4eTtJAx.js → define-runtime-full-DeuaXsV7.js} +3 -3
- package/dist/{delete-account-BHXzIUIq.d.ts → delete-account-DwGFiIYv.d.ts} +1 -1
- package/dist/{drive-DrD94tWF.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-B6q7TIMP.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-BmcRcw83.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-D4QPFB_M.d.ts → extract-B2My7IhT.d.ts} +1 -1
- package/dist/{extras-C0cnpjDP.d.ts → extras-CKwPSpGL.d.ts} +1 -1
- package/dist/{field-errors-Br3wwgbu.d.ts → field-errors-CihTLojJ.d.ts} +6 -6
- package/dist/{former-permission-keys-BwJW5uc6.js → former-permission-keys-D8FbWktT.js} +2 -2
- package/dist/{framework-CbjS8M33.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-DKuOnwh6.d.ts → index-28PPT5w7.d.ts} +2 -2
- package/dist/{index-ouiV6zqH.d.ts → index-69aFw9Id.d.ts} +2 -2
- package/dist/{index-o2y0w9lX.d.ts → index-74TASXlD.d.ts} +1 -1
- package/dist/{index-Dg4lbDzI.d.ts → index-B0dSXth6.d.ts} +1 -1
- package/dist/{index-DK0Hj3pi.d.ts → index-BOuJSOaf.d.ts} +1 -1
- package/dist/{index-C9p3wiWn.d.ts → index-BnY5lZtT.d.ts} +9 -9
- package/dist/{index-jCKNxp8C.d.ts → index-BqUY2MB-.d.ts} +1 -1
- package/dist/{index-BZHDwHGW.d.ts → index-BrnGYShi.d.ts} +2 -2
- package/dist/{index-BquYRGtV.d.ts → index-Bs6OCtxW.d.ts} +1 -1
- package/dist/{index-B6h9m3ml.d.ts → index-BszN5nLs.d.ts} +2 -2
- package/dist/{index-Cg0lDbXs.d.ts → index-Bv2kSYet.d.ts} +4 -4
- package/dist/{index-CHOeFZUB.d.ts → index-BvRseRob.d.ts} +3 -3
- package/dist/{index-DtVZnjKf.d.ts → index-BvZ3uvj9.d.ts} +2 -2
- package/dist/{index-ClysJ8O-.d.ts → index-C1na2fiY.d.ts} +3 -3
- package/dist/{index-D3d7m03L.d.ts → index-C59gKJBx.d.ts} +1 -1
- package/dist/{index-X-ihJBuJ.d.ts → index-CGAcXNod.d.ts} +1 -1
- package/dist/{index-BbpacfC0.d.ts → index-CMyUugyW.d.ts} +8 -8
- package/dist/{index-DkALeCTq.d.ts → index-CdoTvK2W.d.ts} +1 -1
- package/dist/{index-DG187JM_.d.ts → index-CiCmlbtu.d.ts} +1 -1
- package/dist/{index-qzFFTwel.d.ts → index-CiLb3DTI.d.ts} +3 -3
- package/dist/{index-WuUhLgMp.d.ts → index-Cnc4wyTo.d.ts} +2 -2
- package/dist/{index-DLlAc0wg.d.ts → index-Cpj79WyM.d.ts} +1 -1
- package/dist/{index-NNox0BqF.d.ts → index-D50ulqMJ.d.ts} +1 -1
- package/dist/{index-C7Tcervm.d.ts → index-D6px-XTD.d.ts} +2 -2
- package/dist/{index-BfoKErj3.d.ts → index-DMHxmit5.d.ts} +4 -4
- package/dist/{index-Dyns9a8l.d.ts → index-DflyfGR8.d.ts} +2 -2
- package/dist/{index-BFvj-fNS.d.ts → index-DibtbiIW.d.ts} +1 -1
- package/dist/{index-CnTxcNyl.d.ts → index-DpXMVE12.d.ts} +1 -1
- package/dist/{index-DMyMrXPW.d.ts → index-DsLMqyB5.d.ts} +1 -1
- package/dist/{index-DGszLnec.d.ts → index-DzUnwtxa.d.ts} +1 -1
- package/dist/{index-B4uPo3Sr.d.ts → index-Hzbfht3Z.d.ts} +1 -1
- package/dist/{index-bkm44ycq.d.ts → index-Sl13L6VB.d.ts} +4 -4
- package/dist/{index-DU_gZYuh.d.ts → index-UQOB8v1I.d.ts} +1 -1
- package/dist/{index-DYX_uL5t.d.ts → index-_No9Jb9O.d.ts} +1 -1
- package/dist/{index-BWxcC8ll.d.ts → index-cgHbN_EA.d.ts} +4 -4
- package/dist/{index-DHjZvZWC.d.ts → index-pry9PXpK.d.ts} +2 -2
- package/dist/{index-D_xJSanv.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-B8f7HdoX.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-Clzy2rSU.d.ts → manifest-2JeNUq8t.d.ts} +1 -1
- package/dist/{manifest-B_2lEGUS.d.ts → manifest-3e0zfaQt.d.ts} +1 -1
- package/dist/{manifest-CKDaQT_5.d.ts → manifest-3or1oZTo.d.ts} +1 -1
- package/dist/{manifest-qvMWfrZ-.d.ts → manifest-AS4QwWdu.d.ts} +1 -1
- package/dist/{manifest-BvzmDxod.d.ts → manifest-B1lYVfIp.d.ts} +1 -1
- package/dist/{manifest-DVZmJvrE.d.ts → manifest-B7xyFqWo.d.ts} +1 -1
- package/dist/{manifest-Dpad_5Lw.d.ts → manifest-B9m_UaiY.d.ts} +1 -1
- package/dist/{manifest-CKCaFg8y.d.ts → manifest-B9qFGJ_A.d.ts} +1 -1
- package/dist/{manifest-DLSzZMXM.d.ts → manifest-BSjzLeb-.d.ts} +1 -1
- package/dist/{manifest-BS8p47JO.d.ts → manifest-BVn2Xglt.d.ts} +1 -1
- package/dist/{manifest-BoUGzBpS.d.ts → manifest-BWKFNoxP.d.ts} +1 -1
- package/dist/{manifest-D0eItVsP.d.ts → manifest-BXWhDMFt.d.ts} +1 -1
- package/dist/{manifest-DlLxdk7P.d.ts → manifest-Bi44m1V3.d.ts} +1 -1
- package/dist/{manifest-DHTVfgX9.d.ts → manifest-Bluupj7R.d.ts} +1 -1
- package/dist/{manifest-V0QSCEfx.d.ts → manifest-Bo0SCigB.d.ts} +1 -1
- package/dist/{manifest-DCkeNzPW.d.ts → manifest-ByRLUGaJ.d.ts} +3 -3
- package/dist/{manifest-C0v6IEWk.d.ts → manifest-C1--UMCz.d.ts} +1 -1
- package/dist/{manifest-CyaHDD_i.d.ts → manifest-C20SXAzp.d.ts} +1 -1
- package/dist/{manifest-CxgOFWlh.d.ts → manifest-C40ISJVj.d.ts} +1 -1
- package/dist/{manifest-C-pVDUC6.d.ts → manifest-C7KPtGTu.d.ts} +2 -2
- package/dist/{manifest-BAn3lTr4.d.ts → manifest-C82tY_RD.d.ts} +1 -1
- package/dist/{manifest-DBfQe19Z.d.ts → manifest-C94eugvl.d.ts} +1 -1
- package/dist/{manifest-BESrR9Xp.d.ts → manifest-CBdMkxZD.d.ts} +1 -1
- package/dist/{manifest-B7lSTuVC.d.ts → manifest-CCPioFQl.d.ts} +1 -1
- package/dist/{manifest-CCKfdYiH.d.ts → manifest-CD5D0OWo.d.ts} +1 -1
- package/dist/{manifest-Co41j70r.d.ts → manifest-CGnN_2Yx.d.ts} +1 -1
- package/dist/{manifest-ByV81mLa.d.ts → manifest-CH1MFzXN.d.ts} +1 -1
- package/dist/{manifest-BEw6nEKW.d.ts → manifest-CJRob2Ms.d.ts} +1 -1
- package/dist/{manifest-D80LSWzZ.d.ts → manifest-CgljOcHt.d.ts} +1 -1
- package/dist/{manifest-CNLJLsHB.d.ts → manifest-Ci7NEusH.d.ts} +1 -1
- package/dist/{manifest-DHulRwzL.d.ts → manifest-CiXl1kUg.d.ts} +1 -1
- package/dist/{manifest-VCJSqffq.d.ts → manifest-CjzIpyBP.d.ts} +2 -2
- package/dist/{manifest-eUUJnoB5.d.ts → manifest-ClDcyCPP.d.ts} +3 -3
- package/dist/{manifest-DKnWcgse.d.ts → manifest-Co0CBReD.d.ts} +1 -1
- package/dist/{manifest-QmYmc98q.d.ts → manifest-CpmJIEt7.d.ts} +1 -1
- package/dist/{manifest-C5LxShda.d.ts → manifest-Cqv6c1KN.d.ts} +1 -1
- package/dist/{manifest-CZoRtSvn.d.ts → manifest-CtUKrkx1.d.ts} +1 -1
- package/dist/{manifest-BGmmK9bZ.d.ts → manifest-D1FPczc-.d.ts} +1 -1
- package/dist/{manifest-RitquXSE.d.ts → manifest-D43yma-v.d.ts} +1 -1
- package/dist/{manifest-BMcuCUre.d.ts → manifest-DAF4J0gk.d.ts} +1 -1
- package/dist/{manifest-BgmY9fuz.d.ts → manifest-DGoI006V.d.ts} +1 -1
- package/dist/{manifest-ByNpLQWh.d.ts → manifest-DHN6WiIJ.d.ts} +1 -1
- package/dist/{manifest-BYv5BqtY.d.ts → manifest-DIl_cNua.d.ts} +1 -1
- package/dist/{manifest-CjzlsilW.d.ts → manifest-DJhjOnvk.d.ts} +1 -1
- package/dist/{manifest-CvncELVO.d.ts → manifest-DMhuQgOx.d.ts} +1 -1
- package/dist/{manifest-Fapf4NdA.d.ts → manifest-DQkz9UVy.d.ts} +1 -1
- package/dist/{manifest-BA-urVob.d.ts → manifest-DUZUtWBi.d.ts} +1 -1
- package/dist/{manifest-Dp92U_iP.d.ts → manifest-DY2KtVcD.d.ts} +1 -1
- package/dist/{manifest-CXYg8gzt.d.ts → manifest-DaB1w2xo.d.ts} +1 -1
- package/dist/{manifest-C8PUzse6.d.ts → manifest-DpXgCZEd.d.ts} +1 -1
- package/dist/{manifest-ra7MSo-3.d.ts → manifest-Dqf2Uw17.d.ts} +1 -1
- package/dist/{manifest-D5aZyD1b.js → manifest-OxHBbWrs.js} +1 -1
- package/dist/{manifest-r6DHrB4Q.d.ts → manifest-Utivc7Qa.d.ts} +1 -1
- package/dist/{manifest-CWwdLMT0.d.ts → manifest-WJ-UHuEx.d.ts} +1 -1
- package/dist/{manifest-CIVhJzKF.d.ts → manifest-WpIMAJCT.d.ts} +1 -1
- package/dist/{manifest-Ch08RUKa.d.ts → manifest-at0NS8cT.d.ts} +1 -1
- package/dist/{manifest-Dvm2mwFy.d.ts → manifest-d7vR6coE.d.ts} +2 -2
- package/dist/{manifest-TvLJWs_L.d.ts → manifest-gl856Z9G.d.ts} +1 -1
- package/dist/{manifest--_00y416.d.ts → manifest-iGmnzfGD.d.ts} +1 -1
- package/dist/{manifest-D_wBteR5.d.ts → manifest-j4_V-qhA.d.ts} +1 -1
- package/dist/{manifest-CLukD6aB.d.ts → manifest-mAxLRfeu.d.ts} +1 -1
- package/dist/{manifest-DofXV9lE.d.ts → manifest-mBKFNynL.d.ts} +1 -1
- package/dist/{manifest-wbs2VkcB.d.ts → manifest-wPIH-Oo7.d.ts} +1 -1
- package/dist/{manifest-Djy3wcSo.js → manifest-waO9DHVc.js} +1 -0
- package/dist/mapper/bin.js +5 -5
- 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-aMq1fkoe.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-ZLtxCurD.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-BoJkQw2E.d.ts → preview-3nes4WG4.d.ts} +2 -2
- package/dist/{project-DI09JnXz.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-BHUYs5ju.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-Bgugpk3A.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-Dp-X2YXo.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-BqOBYRvI.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-BQaG8Hma.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-D7T-qrKN.d.ts → timeline-0a7kclhg.d.ts} +3 -3
- package/dist/{topic-R7kIJ_xI.d.ts → topic-BH4L7H8n.d.ts} +2 -2
- package/dist/{types-BE6BvLv2.d.ts → types-BMLgTFzf.d.ts} +2 -2
- package/dist/{verify-BfcOHiUP.d.ts → verify-tK2F49Gn.d.ts} +1 -1
- package/dist/{version-CkYT3KbT.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/dist/cli/add-C04PIE9H.js +0 -1
- package/dist/cli/powersync-DnKUA1tu.js +0 -1
- package/dist/cli/round-trips-n_Dk1iUI.js +0 -54
|
@@ -4,8 +4,8 @@ import { d as readSupabaseToml, f as schemaPaths, h as tomlGet, n as declarative
|
|
|
4
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 = {
|
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";
|
|
@@ -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
|
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;
|
package/dist/create/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { A as APP_ON_DELETE_ACTIONS } from "../instances-07Lopbd1.js";
|
|
2
|
-
import { $ as eventsColumnsEdited, A as renameColumn, B as computedColumnRenamed, C as editTable, D as isEmptyDesign, E as isAppTable, F as tidy, G as isRollupAggregate, H as computedTableRenamed, I as updateTable, J as readableColumns, K as lookupSources, L as userConnection, M as setColumn, N as setTableId, O as moveTables, P as singular, Q as tableWithoutComputed, R as withDesign, S as duplicateTable, T as identifierError, U as filterColumns, V as computedRows, W as fittedRollup, X as rollupSources, Y as rollupColumns, Z as tableWithComputed, _ as columnError, a as parseSchema, at as encryptable, b as deleteColumn, c as tenantColumnOf, ct as optionError, d as previewFiles, et as subjectColumns, f as designIssues, g as appTableId, h as addTable, i as keyColumnsOf, it as columnLabel, j as renameTable, k as referenceFrom, l as schemaData, lt as takesBounds, m as EMPTY_DESIGN, n as loadProject, nt as subjectTypeError, o as schemaRelations, ot as fitted, p as APP_MODULE, q as prunedComputed, r as checkDesign, rt as boundError, s as tableStatements, st as lockedWithoutDefault, t as checkProject, tt as subjectColumnsEdited, u as previewAccessProvider, ut as withBounds, v as connect, w as freeTableName, x as deleteTable, y as defaultError, z as ROLLUP_AGGREGATES } from "../project-
|
|
2
|
+
import { $ as eventsColumnsEdited, A as renameColumn, B as computedColumnRenamed, C as editTable, D as isEmptyDesign, E as isAppTable, F as tidy, G as isRollupAggregate, H as computedTableRenamed, I as updateTable, J as readableColumns, K as lookupSources, L as userConnection, M as setColumn, N as setTableId, O as moveTables, P as singular, Q as tableWithoutComputed, R as withDesign, S as duplicateTable, T as identifierError, U as filterColumns, V as computedRows, W as fittedRollup, X as rollupSources, Y as rollupColumns, Z as tableWithComputed, _ as columnError, a as parseSchema, at as encryptable, b as deleteColumn, c as tenantColumnOf, ct as optionError, d as previewFiles, et as subjectColumns, f as designIssues, g as appTableId, h as addTable, i as keyColumnsOf, it as columnLabel, j as renameTable, k as referenceFrom, l as schemaData, lt as takesBounds, m as EMPTY_DESIGN, n as loadProject, nt as subjectTypeError, o as schemaRelations, ot as fitted, p as APP_MODULE, q as prunedComputed, r as checkDesign, rt as boundError, s as tableStatements, st as lockedWithoutDefault, t as checkProject, tt as subjectColumnsEdited, u as previewAccessProvider, ut as withBounds, v as connect, w as freeTableName, x as deleteTable, y as defaultError, z as ROLLUP_AGGREGATES } from "../project-CXcoauzs.js";
|
|
3
3
|
import { m as diffDesigns } from "../preset-HzYIrxUS.js";
|
|
4
4
|
// src/create/column-kinds.ts
|
|
5
5
|
/** The groups of the column type picker, in the order it shows them. */
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Ct as Issue, t as PresetMigrationFile, u as Design } from "../../types-
|
|
2
|
-
import { pt as PresetInput, rn as CreateDesign } from "../../context-
|
|
1
|
+
import { Ct as Issue, t as PresetMigrationFile, u as Design } from "../../types-BMLgTFzf.js";
|
|
2
|
+
import { pt as PresetInput, rn as CreateDesign } from "../../context-C_Rx1QaW.js";
|
|
3
3
|
import { st as SchemaMeta } from "../../types-BJ4cg51a.js";
|
|
4
4
|
import { c as SpecDiagnostic } from "../../format-BT0Z3V54.js";
|
|
5
|
-
import { c as AuthorizationProvider } from "../../authorization-
|
|
5
|
+
import { c as AuthorizationProvider } from "../../authorization-Cn_oEGoA.js";
|
|
6
6
|
/**
|
|
7
7
|
* The parts of `@supabase/lite` that `liteStack()` uses, typed structurally so
|
|
8
8
|
* the optional peer stays out of the published types.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as loadLite, t as LITE_INSTALL } from "../../runtime-sBnEajcK.js";
|
|
2
2
|
import { b as appDefaultError } from "../../instances-07Lopbd1.js";
|
|
3
|
-
import { t as defineApi } from "../../api-
|
|
4
|
-
import { n as loadProject } from "../../project-
|
|
5
|
-
import { c as resolvePersonas } from "../../config-
|
|
3
|
+
import { t as defineApi } from "../../api-Clu-XitC.js";
|
|
4
|
+
import { n as loadProject } from "../../project-CXcoauzs.js";
|
|
5
|
+
import { c as resolvePersonas } from "../../config-cisS43w5.js";
|
|
6
6
|
import { i as fillTemplate } from "../../access-sql-Dvl7BRy0.js";
|
|
7
7
|
// src/create/lite/apply.ts
|
|
8
8
|
const MISSING_EXTENSION = /extension "([^"]+)" is not available/u;
|
|
@@ -614,8 +614,17 @@ interface FunctionSpec<N extends string = string, R = unknown> {
|
|
|
614
614
|
/** Type-only: the result of the call. */
|
|
615
615
|
readonly [functionResultType]?: R;
|
|
616
616
|
}
|
|
617
|
+
/** The second argument of an `s.$fn` call. */
|
|
618
|
+
interface FunctionSpecOptions {
|
|
619
|
+
/**
|
|
620
|
+
* The tables the function reads. `bsb.tags` and `bsb.cached({ readSet })` tag
|
|
621
|
+
* the cache entry with them, so a mutation of one revalidates the payload.
|
|
622
|
+
* The database cannot tell which tables a function reads.
|
|
623
|
+
*/
|
|
624
|
+
readonly tables?: readonly string[];
|
|
625
|
+
}
|
|
617
626
|
/** The function calls `s.$fn` offers: one per function in the schema. */
|
|
618
|
-
type FunctionSpecs<F extends AnyFunctions> = { readonly [N in keyof F & string]: [F[N]["Args"]] extends [never] ? () => FunctionSpec<N, F[N]["Returns"]> : (args: F[N]["Args"]) => FunctionSpec<N, F[N]["Returns"]>; };
|
|
627
|
+
type FunctionSpecs<F extends AnyFunctions> = { readonly [N in keyof F & string]: [F[N]["Args"]] extends [never] ? (args?: undefined, options?: FunctionSpecOptions) => FunctionSpec<N, F[N]["Returns"]> : (args: F[N]["Args"], options?: FunctionSpecOptions) => FunctionSpec<N, F[N]["Returns"]>; };
|
|
619
628
|
/** What a read set entry holds: a table read or a function call. */
|
|
620
629
|
type ReadSetEntry = QuerySpec | FunctionSpec;
|
|
621
630
|
/** The result of a read set entry. */
|
|
@@ -1458,4 +1467,4 @@ type ApiOptions = Omit<RpcOptions<unknown>, "schema" | "returns"> | Omit<RawRpcO
|
|
|
1458
1467
|
* the generated data hooks read (`DbOf<typeof betterSupabase>`).
|
|
1459
1468
|
*/
|
|
1460
1469
|
type DbOf<T> = T extends BetterSupabase<infer M, infer _D, infer F, infer E, infer _C, infer _P, infer B> ? Db<M, F, E, SupabaseClient, B> : never;
|
|
1461
|
-
export { ReadSetParams as $,
|
|
1470
|
+
export { ReadSetParams as $, postgrestExecutor as $t, PageOf as A, FieldFilter as At, UpsertManyOptions as B, OrderByArg as Bt, NoArgName as C, AggregateResult as Ct, OverloadOptions as D, ColumnOrderByArg as Dt, OffsetRangeOptions as E, ColumnOrderBy as Et, Returned as F, ListParams as Ft, TextSearchParams as G, SelectArg as Gt, WriteManyOptions as H, Payload as Ht, RowFilter as I, MeasureArg as It, ReadSetAuth as J, WhereArg as Jt, InferReadSetParams as K, SortDirection as Kt, RpcOptions as L, MeasureKey as Lt, RawRpcOptions as M, IncludeArg as Mt, Repository as N, IncludeOptions as Nt, OverloadReturns as O, CountArg as Ot, RepositoryOf as P, JsonPathOps as Pt, ReadSetParamValue as Q, explainPostgrest as Qt, RpcParams as R, MutableWhere as Rt, ManyWriteOptions as S, AggregateOrderByArg as St, OffsetPageOptions as T, ApiRequestParams as Tt, WriteOptions as U, ReadOptions as Ut, UpsertOptions as V, OrderByInput as Vt, SearchScore as W, RelationMeasureArg as Wt, ReadSetParamType as X, PostgrestClientLike as Xt, ReadSetOptions as Y, WhereInput as Yt, ReadSetParamTypes as Z, PostgrestExecutorOptions as Zt, DeleteOptions as _, TableSpecs as _t, DbExtras as a, StatsRecorder as an, BlockReadMap as at, ManyOutcome as b, AggregateOptions as bt, createSupabase as c, CacheTarget as cn, FunctionSpec as ct, CursorPage as d, memoryCache as dn, QuerySpec as dt, ConnectOptions as en, ReadSetResult as et, CursorPageParams as f, rowKey as fn, ReadMethod as ft, DeleteExt as g, Specs as gt, DbHelpers as h, BucketsHelper as hn, RecordSummaryRead as ht, DbBlockSource as i, EMPTY_STATS as in, BlockRead as it, PlainName as j, GetOptions as jt, OverloadedName as k, CountOptions as kt, ConflictTarget as l, MemoryCache as ln, FunctionSpecOptions as lt, DbExtraHelpers as m, BucketRegistry as mn, RecordReadOptions as mt, BlockInstanceSurface as n, SupabaseOptions as nn, isReadSet as nt, DbOf as o, recordStats as on, BlockReadSpecs as ot, Db as p, rpcCacheTargets as pn, ReadSetGate as pt, ReadSet as q, SortSpec as qt, BlocksHelper as r, DbStats as rn, readSetTables as rt, BetterSupabase as s, CacheAdapter as sn, blockRead as st, ApiOptions as t, RpcDefinition as tn, defineReadSet as tt, CoreDb as u, cacheTargetOf as un, InferResult as ut, FindExt as v, isQuerySpec as vt, OffsetPage as w, AggregateRow as wt, ManyResult as x, AggregateOrderBy as xt, GetKey as y, specTables as yt, UpdateOptions as z, NumericMeasureArg as zt };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
2
|
import { T as ErrorMapper, b as DbError, f as Result, t as AsyncResult } from "./result-aun_QZHn.js";
|
|
3
3
|
import { Ct as EventMap, Dt as MergedEventMap, E as BlockEventPattern, Et as Events, O as BlockEventsMatching, o as EventHub, w as BlockEvent, wt as EventMapOf } from "./events-Bk63_mjA.js";
|
|
4
|
-
import { Bt as BlockOptionsSchema, m as InstanceKeys, p as EntityConfig } from "./blocks-
|
|
4
|
+
import { Bt as BlockOptionsSchema, m as InstanceKeys, p as EntityConfig } from "./blocks-sDhFO8-h.js";
|
|
5
5
|
import { c as BlockTenantOptions, n as BlockOptions, r as BlockTemporalOptions } from "./block-helpers-D0QSs8ss.js";
|
|
6
6
|
import { a as BlockTransportMiddleware, n as BlockHooks } from "./block-hooks-StmUvtuT.js";
|
|
7
7
|
import { i as RpcClient, r as DbTransportSource, t as BlockTransport } from "./block-transport-BNMvuuyC.js";
|
|
8
|
-
import { n as BlockInstanceSurface } from "./db-blocks-
|
|
8
|
+
import { n as BlockInstanceSurface } from "./db-blocks-DB8Ct8Eu.js";
|
|
9
9
|
import { i as CredentialRef, o as CredentialToken, r as CredentialProvider } from "./provider-r2RjlARm.js";
|
|
10
10
|
import { i as EventSink } from "./cloud-event-BtWOKfsx.js";
|
|
11
11
|
import { A as TtlPreset, j as StorageApi, u as ImageTransform, w as TransformOptions } from "./bucket-CbRyXRp3.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as invalidRequest, o as installFunctions, r as addLazyTable, t as builderFor } from "./build-ByfDs2ru.js";
|
|
2
2
|
import { a as encodeArguments, o as encodeValue, r as decodeValue } from "./wire-DDdE6nKn.js";
|
|
3
|
-
import { a as encodeBoundCursor, d as deadline, f as invalidTuning, h as decodeRpcReturn, l as postgrestExecutor, n as needsDecoding, p as tuningOf, r as decodeBoundCursor, s as sortKey, t as decodeRows, u as NO_TUNING, y as installConnectionRuntime } from "./codec-
|
|
3
|
+
import { a as encodeBoundCursor, d as deadline, f as invalidTuning, h as decodeRpcReturn, l as postgrestExecutor, n as needsDecoding, p as tuningOf, r as decodeBoundCursor, s as sortKey, t as decodeRows, u as NO_TUNING, y as installConnectionRuntime } from "./codec-BI1mq95W.js";
|
|
4
4
|
import { n as dbError } from "./errors-DK1wGb9z.js";
|
|
5
5
|
import { t as DbException } from "./db-exception-Dv18UZ-I.js";
|
|
6
6
|
import { t as instanceProperty } from "./instance-property-BlH7QSDl.js";
|
|
@@ -8,7 +8,7 @@ import { a as ok, c as withErrorMapper, r as err, s as toDbError, t as AsyncResu
|
|
|
8
8
|
import { t as isStorageApi } from "./storage-api-COQr77e8.js";
|
|
9
9
|
import { n as isRecord } from "./guards-CsRa6v57.js";
|
|
10
10
|
import { r as isPlainObject, t as cloneValue } from "./clone-H_gCsL29.js";
|
|
11
|
-
import { p as isQuerySpec, r as containsPlaceholder } from "./read-set-
|
|
11
|
+
import { p as isQuerySpec, r as containsPlaceholder } from "./read-set-DfScfSsf.js";
|
|
12
12
|
import { n as errorEvent } from "./events-Da482tiF.js";
|
|
13
13
|
import { t as simplify } from "./simplify-BzThKn5b.js";
|
|
14
14
|
import { i as or, n as column, r as not, t as and } from "./types-DnrJ_crV.js";
|
|
@@ -3,12 +3,12 @@ import { n as dbError } from "./errors-DK1wGb9z.js";
|
|
|
3
3
|
import { a as ok, r as err, s as toDbError, t as AsyncResult } from "./result-DijoXEFG.js";
|
|
4
4
|
import { t as DbException } from "./db-exception-Dv18UZ-I.js";
|
|
5
5
|
import { t as builderFor } from "./build-ByfDs2ru.js";
|
|
6
|
-
import { t as decodeRows } from "./codec-
|
|
6
|
+
import { t as decodeRows } from "./codec-BI1mq95W.js";
|
|
7
7
|
import { n as isRecord } from "./guards-CsRa6v57.js";
|
|
8
8
|
import { t as vectorLiteral } from "./search-DtbkD0h0.js";
|
|
9
|
-
import { a as runSpec, i as NO_PLUGINS, n as decodeRpcResult, r as rpcFunction, t as provideLeanConnectionRuntime } from "./define-runtime-
|
|
9
|
+
import { a as runSpec, i as NO_PLUGINS, n as decodeRpcResult, r as rpcFunction, t as provideLeanConnectionRuntime } from "./define-runtime-Ca5NN0gu.js";
|
|
10
10
|
import { t as EventHub } from "./events-Da482tiF.js";
|
|
11
|
-
import { f as isFunctionSpec, n as checkParams, o as isReadSet, p as isQuerySpec, t as bindParams } from "./read-set-
|
|
11
|
+
import { f as isFunctionSpec, n as checkParams, o as isReadSet, p as isQuerySpec, t as bindParams } from "./read-set-DfScfSsf.js";
|
|
12
12
|
import { n as StatsRecorder, r as recordStats } from "./stats-D2TN2c3B.js";
|
|
13
13
|
// src/core/batch.ts
|
|
14
14
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as BetterSupabase } from "./db-blocks-
|
|
1
|
+
import { s as BetterSupabase } from "./db-blocks-DB8Ct8Eu.js";
|
|
2
2
|
import { It as RequestContext, O as AnyFunctions, k as AnyModels } from "./types-BJ4cg51a.js";
|
|
3
3
|
import { n as SqlClient } from "./executor-BypvvW56.js";
|
|
4
4
|
import { T as AnyBucket } from "./index-BAku12tP.js";
|
|
@@ -5,8 +5,8 @@ import { t as BlockTransport } from "./block-transport-BNMvuuyC.js";
|
|
|
5
5
|
import { T as ErrorMapper, t as AsyncResult } from "./result-aun_QZHn.js";
|
|
6
6
|
import { n as Logger } from "./logger-0LfhvwE4.js";
|
|
7
7
|
import { t as StandardSchemaV1 } from "./standard-Vmy7ALDX.js";
|
|
8
|
-
import { An as Attachment, Ln as AttachmentStorage, Mn as AttachmentDownload, Vn as Attachments, cr as RecordRequestListOptions, er as AccessRequests, sr as RecordAccessRequest } from "./define-block-
|
|
9
|
-
import { p as ApprovalStatus } from "./approvals-
|
|
8
|
+
import { An as Attachment, Ln as AttachmentStorage, Mn as AttachmentDownload, Vn as Attachments, cr as RecordRequestListOptions, er as AccessRequests, sr as RecordAccessRequest } from "./define-block-Cd7dm2o6.js";
|
|
9
|
+
import { p as ApprovalStatus } from "./approvals-Dn_DM4Oi.js";
|
|
10
10
|
import { r as BlockTemporalOptions } from "./block-helpers-D0QSs8ss.js";
|
|
11
11
|
/**
|
|
12
12
|
* One entry of the changes feed: a node as it is now, or one that left the
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as Line } from "../sales-lines-CX-xpQQW.js";
|
|
2
|
-
import { $ as EInvoiceContext, J as FromUblOptions, Q as EInvoiceChannel, X as fromUbl, Y as UblBill, Z as XmlParserModule, at as EInvoiceStatus, ct as EInvoiceAddress, et as EInvoiceDocument, it as EInvoiceSent, lt as EInvoiceEndpoint, nt as EInvoiceReceived, ot as eInvoiceChannelOf, rt as EInvoiceSendContext, st as eInvoiceFormatOf, t as Invoice, tt as EInvoiceFormat, ut as EInvoiceParty } from "../invoices-
|
|
2
|
+
import { $ as EInvoiceContext, J as FromUblOptions, Q as EInvoiceChannel, X as fromUbl, Y as UblBill, Z as XmlParserModule, at as EInvoiceStatus, ct as EInvoiceAddress, et as EInvoiceDocument, it as EInvoiceSent, lt as EInvoiceEndpoint, nt as EInvoiceReceived, ot as eInvoiceChannelOf, rt as EInvoiceSendContext, st as eInvoiceFormatOf, t as Invoice, tt as EInvoiceFormat, ut as EInvoiceParty } from "../invoices-BXwG7Jwp.js";
|
|
3
3
|
/** The EN 16931 specification identifier of Peppol BIS Billing 3.0 (BT-24). */
|
|
4
4
|
export declare const PEPPOL_BIS_CUSTOMIZATION = "urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0";
|
|
5
5
|
/** The Peppol business process of a billing document (BT-23). */
|
package/dist/edge/index.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { n as AuthSession } from "../view-DKo-Koiu.js";
|
|
2
2
|
import { t as Validated } from "../shared-DsBcvj6q.js";
|
|
3
3
|
import { O as AnyFunctions, Ut as AnyAuthorizer, in as PermissionRef, k as AnyModels, rn as AuthzVersionCache } from "../types-BJ4cg51a.js";
|
|
4
|
-
import { s as BetterSupabase } from "../db-blocks-
|
|
4
|
+
import { s as BetterSupabase } from "../db-blocks-DB8Ct8Eu.js";
|
|
5
5
|
import { n as SUPABASE_CORS_HEADERS, r as corsConfig, t as CorsOptions } from "../cors-9SDsndtb.js";
|
|
6
6
|
import { c as ResourceLoaderContext, s as BlockRequireOptions } from "../kit-DN6lGKB6.js";
|
|
7
|
-
import { t as ResourceMap } from "../resources-
|
|
7
|
+
import { t as ResourceMap } from "../resources-Bb_JRadM.js";
|
|
8
8
|
import { i as MiddlewareOptions, r as GuardOptions } from "../respond-DNcBzi_Y.js";
|
|
9
|
-
import { r as BetterServer, s as ServerContext, u as ServerOptions } from "../server-types-
|
|
10
|
-
import { i as ResourceContext, l as ResourceRouteOptions, o as ResourceHooks, r as ResourceAction, t as ActionParams } from "../resource-types-
|
|
11
|
-
import { t as defineAction } from "../resource-execute-
|
|
9
|
+
import { r as BetterServer, s as ServerContext, u as ServerOptions } from "../server-types-Cp2en4rP.js";
|
|
10
|
+
import { i as ResourceContext, l as ResourceRouteOptions, o as ResourceHooks, r as ResourceAction, t as ActionParams } from "../resource-types-DcEe07vC.js";
|
|
11
|
+
import { t as defineAction } from "../resource-execute-BIqAzA57.js";
|
|
12
12
|
import { n as FunctionContract, t as DescribedFunction } from "../function-contract-DEVGJGzd.js";
|
|
13
13
|
import { f as Result } from "../result-aun_QZHn.js";
|
|
14
14
|
import { t as StandardSchemaV1 } from "../standard-Vmy7ALDX.js";
|
package/dist/edge/index.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { n as dbError } from "../errors-DK1wGb9z.js";
|
|
2
2
|
import { o as problemResponse } from "../problem-BwplIuhI.js";
|
|
3
3
|
import { a as ok, r as err } from "../result-DijoXEFG.js";
|
|
4
|
-
import { t as adapterBase } from "../adapter-base-
|
|
4
|
+
import { t as adapterBase } from "../adapter-base-BHtxRoRg.js";
|
|
5
5
|
import { _ as withFlush, g as unexpectedResponse } from "../sessions-Dedk1ubX.js";
|
|
6
|
-
import { t as withBetterSupabase } from "../composite-
|
|
6
|
+
import { t as withBetterSupabase } from "../composite-Tsm5QFS2.js";
|
|
7
7
|
import { n as corsConfig, t as SUPABASE_CORS_HEADERS } from "../cors-DrDFLMNn.js";
|
|
8
8
|
import { t as withExtra } from "../extra-Dz9n5y1s.js";
|
|
9
|
-
import { t as EVERY_CALLER } from "../framework-
|
|
9
|
+
import { t as EVERY_CALLER } from "../framework-BYZ8c9_g.js";
|
|
10
10
|
import { i as requireCaller } from "../kit-BgRTtW9w.js";
|
|
11
11
|
import { n as resourceRouter } from "../resources-CM9wwyfa.js";
|
|
12
12
|
import { o as respond, s as settle } from "../respond-DLvLJwwN.js";
|
|
13
|
-
import { n as extendServer, t as createServer } from "../server-
|
|
13
|
+
import { n as extendServer, t as createServer } from "../server-DA5SRGHQ.js";
|
|
14
14
|
import { i as defineAction } from "../resource-BxSmk1R1.js";
|
|
15
15
|
import { t as FUNCTION_DESCRIPTOR } from "../function-contract-Bf6llTkE.js";
|
|
16
16
|
import { n as validate } from "../standard-DM4THQrL.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as AuthSnapshot } from "./bind-
|
|
2
|
-
import { n as ClaimsSource } from "./claims-source-
|
|
1
|
+
import { t as AuthSnapshot } from "./bind-Dopmkg_T.js";
|
|
2
|
+
import { n as ClaimsSource } from "./claims-source-CeefCyGV.js";
|
|
3
3
|
import { n as AuthSession } from "./view-DKo-Koiu.js";
|
|
4
4
|
/**
|
|
5
5
|
* One entry of the `memberships` claim when a hook writes it as a list. Hooks
|
package/dist/eve/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { S as EveToolContext, _ as EveApprovalResponseDecision, a as EveMemoryTo
|
|
|
2
2
|
import { W as AiToolPolicy, t as AiChat } from "../ai-chat-DyffOt16.js";
|
|
3
3
|
import { It as RequestContext } from "../types-BJ4cg51a.js";
|
|
4
4
|
import { t as AsyncResult } from "../result-aun_QZHn.js";
|
|
5
|
-
import { _ as Approvals } from "../approvals-
|
|
5
|
+
import { _ as Approvals } from "../approvals-Dn_DM4Oi.js";
|
|
6
6
|
import { r as DbTransportSource, t as BlockTransport } from "../block-transport-BNMvuuyC.js";
|
|
7
7
|
import { a as ResolveAuthOptions, r as AuthState } from "../resolve-Chhtdk4M.js";
|
|
8
8
|
import { i as CredentialRef, r as CredentialProvider } from "../provider-r2RjlARm.js";
|
package/dist/eve/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import { t as DbException } from "../db-exception-Dv18UZ-I.js";
|
|
|
3
3
|
import { t as importOptionalPeer } from "../optional-peer-5SOYr3lL.js";
|
|
4
4
|
import { r as agentClaims } from "../actor-DraVJ7tB.js";
|
|
5
5
|
import { n as dbError } from "../errors-DK1wGb9z.js";
|
|
6
|
-
import { n as createApprovals } from "../approvals-
|
|
6
|
+
import { n as createApprovals } from "../approvals-D7Xhpd52.js";
|
|
7
7
|
import { t as dbTransport } from "../block-transport-BZOHz3nW.js";
|
|
8
8
|
import { i as resolveAuth } from "../resolve-oJsHQ9Ib.js";
|
|
9
9
|
import { t as isAnonymousUser } from "../view-DpKWWhP2.js";
|