better-supabase 0.61.1 → 0.62.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{account-parts-DtC5voD1.d.ts → account-parts-C3mte2Y7.d.ts} +1 -1
- package/dist/{adapter-base-DGiRWzEo.js → adapter-base-DXF0tNJJ.js} +1 -1
- package/dist/{agents-3wTmHYZr.d.ts → agents-CRTcqx6K.d.ts} +2 -2
- package/dist/{ai-schedules-CtxaSWA1.d.ts → ai-schedules-DdoefSrp.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-Dq7hOzxh.js → api-C5GmF1ZU.js} +1 -1
- package/dist/{api-pGkHTqH6.d.ts → api-D4gZPhMd.d.ts} +1 -1
- package/dist/{app-tables-BHoeMC9w.d.ts → app-tables-C0w_j1sJ.d.ts} +1 -1
- package/dist/astro/index.d.ts +3 -3
- package/dist/astro/index.js +3 -3
- package/dist/{audit-actions-DC-AtyWB.d.ts → audit-actions-be1sy-Vh.d.ts} +1 -0
- package/dist/{authorization-glyinWcf.d.ts → authorization-DKxttkik.d.ts} +1 -1
- package/dist/better-result/index.d.ts +2 -2
- package/dist/{bind-B-NW7-Fd.d.ts → bind-DiQyvXnj.d.ts} +4 -4
- package/dist/{block-env-BN4cyqTj.d.ts → block-env-aG5V88tR.d.ts} +4 -4
- package/dist/{block-tables-CkbJsNys.d.ts → block-tables-lpnW9xMs.d.ts} +1 -1
- package/dist/blocks/access-requests/index.d.ts +1 -1
- package/dist/blocks/accounting/index.d.ts +1 -1
- package/dist/blocks/acknowledgements/index.d.ts +1 -1
- package/dist/blocks/activities/index.d.ts +2 -2
- package/dist/blocks/advisories/index.d.ts +1 -1
- package/dist/blocks/agent-checkout/index.d.ts +1 -1
- package/dist/blocks/agents/index.d.ts +1 -1
- package/dist/blocks/ai-cache/index.d.ts +1 -1
- package/dist/blocks/ai-chat/index.d.ts +1 -1
- package/dist/blocks/ai-evals/index.d.ts +1 -1
- package/dist/blocks/ai-files/index.d.ts +1 -1
- package/dist/blocks/ai-guardrails/index.d.ts +1 -1
- package/dist/blocks/ai-keys/index.d.ts +1 -1
- package/dist/blocks/ai-schedules/index.d.ts +2 -2
- package/dist/blocks/announcements/index.d.ts +4 -4
- package/dist/blocks/api-keys/index.d.ts +1 -1
- package/dist/blocks/appraisals/index.d.ts +1 -1
- package/dist/blocks/approvals/index.d.ts +1 -1
- package/dist/blocks/assets/index.d.ts +2 -2
- package/dist/blocks/assignment/index.d.ts +1 -1
- package/dist/blocks/attachments/index.d.ts +5 -5
- package/dist/blocks/audit/index.d.ts +2 -2
- package/dist/blocks/automations/index.d.ts +3 -3
- package/dist/blocks/banking/index.d.ts +1 -1
- package/dist/blocks/billable-time/index.d.ts +1 -1
- package/dist/blocks/billing/index.d.ts +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-plans/index.d.ts +3 -3
- package/dist/blocks/cases/index.d.ts +3 -3
- package/dist/blocks/catalog/index.d.ts +2 -2
- package/dist/blocks/channels/index.d.ts +1 -1
- package/dist/blocks/clinical-decision-support/index.d.ts +1 -1
- package/dist/blocks/cms/index.d.ts +5 -5
- package/dist/blocks/collaboration/index.d.ts +6 -6
- package/dist/blocks/collections/index.d.ts +1 -1
- package/dist/blocks/comments/index.d.ts +2 -2
- package/dist/blocks/commerce/index.d.ts +5 -5
- package/dist/blocks/commissions/index.d.ts +1 -1
- package/dist/blocks/compliance/index.d.ts +1 -1
- package/dist/blocks/connectors/index.d.ts +1 -1
- package/dist/blocks/consents/index.d.ts +2 -2
- package/dist/blocks/contacts/index.d.ts +2 -2
- package/dist/blocks/content/index.d.ts +2 -2
- package/dist/blocks/contracts/index.d.ts +1 -1
- package/dist/blocks/courses/index.d.ts +2 -2
- package/dist/blocks/created-by/index.d.ts +2 -2
- package/dist/blocks/crm/index.d.ts +17 -17
- 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/flags/index.d.ts +1 -1
- package/dist/blocks/forecasts/index.d.ts +1 -1
- package/dist/blocks/forms/index.d.ts +3 -3
- package/dist/blocks/funding/index.d.ts +2 -2
- package/dist/blocks/goals/index.d.ts +1 -1
- package/dist/blocks/governance/index.d.ts +4 -4
- package/dist/blocks/guests/index.d.ts +1 -1
- package/dist/blocks/hiring/index.d.ts +1 -1
- package/dist/blocks/identities/index.d.ts +1 -1
- package/dist/blocks/imports/index.d.ts +2 -2
- package/dist/blocks/inbox/index.d.ts +6 -6
- package/dist/blocks/incidents/index.d.ts +1 -1
- package/dist/blocks/index.d.ts +5 -5
- package/dist/blocks/inspections/index.d.ts +2 -2
- package/dist/blocks/inventory/index.d.ts +1 -1
- package/dist/blocks/invoices/index.d.ts +1 -1
- package/dist/blocks/knowledge/index.d.ts +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/profiles/index.d.ts +1 -1
- package/dist/blocks/projects/index.d.ts +7 -7
- package/dist/blocks/promotions/index.d.ts +1 -1
- package/dist/blocks/prompts/index.d.ts +1 -1
- package/dist/blocks/push/index.d.ts +2 -2
- package/dist/blocks/qualifications/index.d.ts +2 -2
- package/dist/blocks/queue/index.d.ts +2 -2
- package/dist/blocks/quotes/index.d.ts +1 -1
- package/dist/blocks/rank/index.d.ts +1 -1
- package/dist/blocks/reactions/index.d.ts +4 -4
- package/dist/blocks/recruiting/index.d.ts +4 -4
- package/dist/blocks/referrals/index.d.ts +1 -1
- package/dist/blocks/relations/index.d.ts +1 -1
- package/dist/blocks/reminders/index.d.ts +1 -1
- package/dist/blocks/reviews/index.d.ts +1 -1
- package/dist/blocks/rfqs/index.d.ts +2 -2
- package/dist/blocks/risks/index.d.ts +2 -2
- package/dist/blocks/saas/index.d.ts +12 -12
- package/dist/blocks/sales/index.d.ts +1 -1
- package/dist/blocks/saved-views/index.d.ts +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 +3 -3
- package/dist/blocks/webhooks/index.js +5 -2
- package/dist/blocks/workflow-editor/index.d.ts +4 -4
- package/dist/blocks/workflows/index.d.ts +4 -4
- package/dist/{blocks-D4ngpPJ_.d.ts → blocks-BaVwMDrs.d.ts} +8 -2
- package/dist/{build-Ds53XOWu.js → build-C0BLapAI.js} +1 -1
- package/dist/{cache-tags-UWvxDMDO.d.ts → cache-tags-THgO4say.d.ts} +1 -1
- package/dist/claims/index.d.ts +4 -4
- package/dist/{claims-source-D-4CztOl.d.ts → claims-source-yTqGqUDc.d.ts} +1 -1
- package/dist/cli/add-8PulB0kB.js +1 -0
- package/dist/cli/{add-BufF64Hx.js → add-DH4qqKNb.js} +11 -11
- package/dist/cli/{add-BegIE-Rb.js → add-DLYO-lcP.js} +2 -2
- package/dist/cli/{app-table-files-RdOXXDCt.js → app-table-files--ulI7C3Z.js} +4 -4
- package/dist/cli/{app-tables-CK-U5_ZN.js → app-tables-CQVNZglP.js} +2 -2
- package/dist/cli/{backfill-CT6yncRM.js → backfill-Byn-Pe2a.js} +3 -3
- package/dist/cli/bin.js +1 -1
- package/dist/cli/{blocks-CVadF4-D.js → blocks-BATYI3l9.js} +1 -1
- package/dist/cli/{blocks-Q7wC6dj7.js → blocks-D7DYKEOZ.js} +1 -1
- package/dist/cli/{cache-BKwYvrrJ.js → cache-D6iHVy6b.js} +1 -1
- package/dist/cli/{codemod-BzEKQMSK.js → codemod-PLqZ1YGz.js} +5 -5
- package/dist/cli/{codemod-naming-BpWNTsvf.js → codemod-naming-BgEIRJLM.js} +1 -1
- package/dist/cli/{column-renames-7IG0Gcf3.js → column-renames-B1bMtdIF.js} +2 -2
- package/dist/cli/{config-DX58lDf7.js → config-By5EbpdJ.js} +1 -1
- package/dist/cli/{config-CoW6aoul.js → config-D4AVoIh5.js} +1 -1
- package/dist/cli/{content-mapper-BUWZw8Yr.js → content-mapper-BGus1ryq.js} +1 -1
- package/dist/cli/{db-CZ9qHsDs.js → db-C4up7wFU.js} +2 -2
- package/dist/cli/{dev-BRQUcr0M.js → dev-Bd6RJwLg.js} +5 -5
- package/dist/cli/{doctor-auNf55mF.js → doctor-DW_QzhsK.js} +18 -18
- package/dist/cli/{emit-CxD5qNz7.js → emit-DGhalWTA.js} +2 -2
- package/dist/cli/{gen-B8K-GHgH.js → gen-BjMSXpcG.js} +5 -5
- package/dist/cli/{gen-tasks-oTH8W-xH.js → gen-tasks-D3kLr5we.js} +11 -11
- package/dist/cli/index.d.ts +1 -1
- package/dist/cli/index.js +8 -8
- package/dist/cli/{init-lNqq_JHu.js → init-DeGm-42D.js} +9 -9
- package/dist/cli/{live-Dbt0gFSL.js → live-CJ3gBXTW.js} +2 -2
- package/dist/cli/{mcp-Bs3746MS.js → mcp-C7bG8fs9.js} +2 -2
- package/dist/cli/{memo-backend-BAduTvxg.js → memo-backend-BbAaoaCp.js} +1 -1
- package/dist/cli/{metadata-IpEhOh60.js → metadata-Da7lPV1G.js} +4 -4
- package/dist/cli/{migrate-CaEzxtNU.js → migrate-adO6TGQx.js} +1 -1
- package/dist/cli/{migration-safety-B473uP9G.js → migration-safety-TjFxbPdK.js} +2 -2
- package/dist/cli/{module-migration-BMmyFP2c.js → module-migration-BOwCFfuw.js} +1 -1
- package/dist/cli/{partition-C9ta6Kld.js → partition-Bi76oVvt.js} +3 -3
- package/dist/cli/{powersync-DNUSeMtj.js → powersync-01LIe9WO.js} +4 -4
- package/dist/cli/powersync-BIncCNre.js +1 -0
- package/dist/cli/{print-84kAnn1u.js → print-CoDV1AZr.js} +2 -2
- package/dist/cli/{providers-BgyVs06M.js → providers-B3VKJOGS.js} +1 -1
- package/dist/cli/{prune-workflows-D96eYjdj.js → prune-workflows-Ck7bPjbs.js} +3 -3
- package/dist/cli/{remove-Y62Mu1VK.js → remove-B0mcKNLX.js} +6 -6
- package/dist/cli/{render-cache-CHTWh5Rl.js → render-cache-Dkkervpu.js} +1 -1
- package/dist/cli/{render-Div4K_TT.js → render-g0u-8VRx.js} +5 -5
- package/dist/cli/{run-BkbVZBeG.js → run-DKHipy0c.js} +7 -7
- package/dist/cli/{run-Dx-CrkU_.js → run-DcjkMeLQ.js} +35 -35
- package/dist/cli/seed-B3MrC1Qe.js +1 -0
- package/dist/cli/{seed-pDWlnzyK.js → seed-BufZFJ_Q.js} +2 -2
- package/dist/cli/{shared-B0zV1qW9.js → shared-BL_SZdUw.js} +1 -1
- package/dist/cli/{source-So9SSLFc.js → source-BBn7ypvg.js} +1 -1
- package/dist/cli/{source-args-D5BSEgUG.js → source-args-CvgOHwlj.js} +1 -1
- package/dist/cli/{spec-BA3jaJaL.js → spec-COv0ojkG.js} +2 -2
- package/dist/cli/{spec-BiLpXtjI.js → spec-DH55djVx.js} +1 -1
- package/dist/cli/{sql-layout-BH9MeAY3.js → sql-layout-ClqJfxAp.js} +3 -3
- package/dist/cli/{squash-CZJcKsks.js → squash-Cit4Liiw.js} +1 -1
- package/dist/cli/{sync-Csq5olpt.js → sync-Ba5EvTIT.js} +4 -4
- package/dist/cli/{upgrade-MfDU8Z5K.js → upgrade-BIuxR2Z-.js} +5 -5
- package/dist/cli/{upgrade-DBE7LYrq.js → upgrade-DI4ZTrXV.js} +5 -5
- package/dist/cli/{verify-O5zxWWuE.js → verify-CR7f21Ri.js} +2 -2
- package/dist/cli/{version-ljacjTnk.js → version-D_miCSxz.js} +1 -1
- package/dist/client/index.d.ts +5 -5
- package/dist/client/index.js +1 -1
- package/dist/client/native/index.d.ts +5 -5
- package/dist/client/native/index.js +2 -2
- package/dist/{composite-CxojRRUF.d.ts → composite-BInEW9vs.d.ts} +3 -3
- package/dist/{composite-Bxpd7oru.js → composite-C13UCNgm.js} +1 -1
- package/dist/{composite-reads-CK-Y5b6M.d.ts → composite-reads-C942bzhw.d.ts} +1 -1
- package/dist/config/index.d.ts +4 -4
- package/dist/config/index.js +4 -4
- package/dist/{config-cisS43w5.js → config-1kAVpZc_.js} +3 -3
- package/dist/{config-a_CzEbpi.js → config-L5_4kg24.js} +1 -1
- package/dist/{context-m-t6Kr9_.d.ts → context-C-msUG_m.d.ts} +4 -4
- package/dist/contract/index.d.ts +4 -4
- package/dist/{controller-zwQFyrOG.d.ts → controller-DMoPjq2t.d.ts} +1 -1
- package/dist/{conversion-b6htac73.d.ts → conversion-Cckh_HHY.d.ts} +1 -1
- package/dist/create/index.d.ts +4 -4
- package/dist/create/index.js +3 -3
- package/dist/create/lite/index.d.ts +3 -3
- package/dist/create/lite/index.js +4 -4
- package/dist/{db-blocks-_jJICfjp.d.ts → db-blocks-BQkHb77X.d.ts} +3 -3
- package/dist/{define-block-DQvTGOGv.d.ts → define-block-ClbL68WH.d.ts} +2 -2
- package/dist/{define-runtime-DsFTahQB.js → define-runtime-BbNPkt-5.js} +17 -1
- package/dist/{define-runtime-full-B_cMkyCk.js → define-runtime-full-gpz09qAj.js} +16 -3
- package/dist/{delete-account-BQDeafVT.d.ts → delete-account-DKGAVT94.d.ts} +1 -1
- package/dist/{drive-DaEK5ZxU.d.ts → drive-DXU2QoV_.d.ts} +1 -1
- package/dist/edge/index.d.ts +5 -5
- package/dist/edge/index.js +4 -4
- package/dist/{entitlements-D4ob6MfK.d.ts → entitlements-DKNLoLw3.d.ts} +2 -2
- package/dist/{executor-D24_D6dr.js → executor-DABWqMfV.js} +1 -1
- package/dist/{executor-nx2Q8Xdy.d.ts → executor-h098g0vY.d.ts} +2 -2
- package/dist/expo/index.d.ts +2 -2
- package/dist/expo/index.js +3 -3
- package/dist/{extract-W4zb3wIh.d.ts → extract-CzjhSs6g.d.ts} +1 -1
- package/dist/{extras-ByEPERCR.d.ts → extras-Ctnag4x3.d.ts} +1 -1
- package/dist/{field-errors-pj0uOXSg.d.ts → field-errors-D0vkq05i.d.ts} +6 -6
- package/dist/{former-permission-keys-D8FbWktT.js → former-permission-keys-FPrqQHXf.js} +1 -1
- package/dist/{framework-pfJvMQy3.js → framework-BQgHM3zD.js} +1 -1
- package/dist/{framework-BYx1ke3r.d.ts → framework-CEMVz7JS.d.ts} +3 -3
- package/dist/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-ByCXNZ2j.d.ts → index-6L3fO1VW.d.ts} +2 -2
- package/dist/{index-IrsC8TLH.d.ts → index-B9kqCDKK.d.ts} +2 -2
- package/dist/{index-DYh76mE_.d.ts → index-BG1eY1KO.d.ts} +1 -1
- package/dist/{index-ClqA-t45.d.ts → index-BIk7uOsB.d.ts} +1 -1
- package/dist/{index-SWDnWdWw.d.ts → index-BNbcydCQ.d.ts} +1 -1
- package/dist/{index-DsNwQRWG.d.ts → index-BO4gZI8-.d.ts} +1 -1
- package/dist/{index-CQGi7Jnn.d.ts → index-BTgHDNoK.d.ts} +2 -2
- package/dist/{index-CxZV8RJE.d.ts → index-BoidURQg.d.ts} +1 -1
- package/dist/{index-BYDpdZxq.d.ts → index-BwbFX9kz.d.ts} +1 -1
- package/dist/{index-SZ8qGIVO.d.ts → index-Bz-T_58c.d.ts} +9 -9
- package/dist/{index-DpoUltRu.d.ts → index-C-vdLX8y.d.ts} +1 -1
- package/dist/{index-BpQxfGSO.d.ts → index-C0rHOTr-.d.ts} +1 -1
- package/dist/{index-BVuN7_fC.d.ts → index-C1rKo4z7.d.ts} +1 -1
- package/dist/{index-DyV6z0Q_.d.ts → index-C7AEdCOx.d.ts} +1 -1
- package/dist/{index-BfnBjZpy.d.ts → index-CN9tlkaZ.d.ts} +3 -3
- package/dist/{index-WoE9Z_V-.d.ts → index-CO_JEQpa.d.ts} +1 -1
- package/dist/{index-CjoB5SrD.d.ts → index-CaBdEfvB.d.ts} +3 -3
- package/dist/{index-C37Wq488.d.ts → index-CfYIKxmO.d.ts} +1 -1
- package/dist/{index-CxX_Bgfa.d.ts → index-Cy-294dJ.d.ts} +1 -1
- package/dist/{index-46tesKqa.d.ts → index-DHwwaa5c.d.ts} +1 -1
- package/dist/{index-BomyYKtC.d.ts → index-DLPEBVA3.d.ts} +4 -4
- package/dist/{index-D_0l5hHh.d.ts → index-DMaROBj_.d.ts} +2 -2
- package/dist/{index-Dea13gIz.d.ts → index-DPHg8c59.d.ts} +4 -4
- package/dist/{index-Dyhkn8FU.d.ts → index-DTBxclC4.d.ts} +2 -2
- package/dist/{index-DCqy0ESb.d.ts → index-DeJHUkru.d.ts} +2 -2
- package/dist/{index-CDX9U_CH.d.ts → index-DewyE3_q.d.ts} +1 -1
- package/dist/{index-DlUd0CTA.d.ts → index-DwC5RgXo.d.ts} +7 -7
- package/dist/{index-DeI4h1N1.d.ts → index-FfVEwPC7.d.ts} +1 -1
- package/dist/{index-DW_S9n3h.d.ts → index-JCe4Kgvs.d.ts} +2 -2
- package/dist/{index-r_SO6mVm.d.ts → index-L9nFXemf.d.ts} +3 -3
- package/dist/{index-CWTWbIz_.d.ts → index-M6PP_nv1.d.ts} +1 -1
- package/dist/{index-CriIH7di.d.ts → index-OPLT30am.d.ts} +4 -4
- package/dist/{index-Bu4YwWl0.d.ts → index-bDmQ69hy.d.ts} +1 -1
- package/dist/{index-Crm9IjfQ.d.ts → index-b_QoL2Xl.d.ts} +1 -1
- package/dist/{index-BZCCv04g.d.ts → index-k-3GAYGO.d.ts} +2 -2
- package/dist/{index-BLPzvJ5v.d.ts → index-tHzSmAVM.d.ts} +4 -4
- package/dist/{index-Bb_il0ub.d.ts → index-xNtO4Cbv.d.ts} +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/{instances-07Lopbd1.js → instances-PZAWgQEX.js} +2 -1
- package/dist/{json-schema-CChz-Csz.js → json-schema-C8deWP59.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-B6lXbY0T.d.ts → list-query-0IoIyFnQ.d.ts} +1 -1
- package/dist/{manifest-NkuGL5p2.d.ts → manifest-8h7Bi6Pu.d.ts} +1 -1
- package/dist/{manifest-CS8I2fku.d.ts → manifest-B5Tf88Uq.d.ts} +1 -1
- package/dist/{manifest-Cv7Mji7w.d.ts → manifest-BAoLDoxK.d.ts} +1 -1
- package/dist/{manifest-Bf6Rzatq.d.ts → manifest-BF-mU2bV.d.ts} +1 -1
- package/dist/{manifest-DucB6ix_.d.ts → manifest-BG1VIYZT.d.ts} +1 -1
- package/dist/{manifest-Dg2BCyzg.d.ts → manifest-BHMX17A8.d.ts} +1 -1
- package/dist/{manifest-x_fSttX7.d.ts → manifest-BLOaDsUW.d.ts} +1 -1
- package/dist/{manifest-D48Fi0bR.d.ts → manifest-BO1W_e-B.d.ts} +1 -1
- package/dist/{manifest-tP62uJrR.d.ts → manifest-BPriFiTU.d.ts} +1 -1
- package/dist/{manifest-CtL5JmoY.d.ts → manifest-BTdv7qf4.d.ts} +1 -1
- package/dist/{manifest-DwBFwxFo.d.ts → manifest-BTw7TOwu.d.ts} +1 -1
- package/dist/{manifest-NuYSYeQT.d.ts → manifest-BZNn8jSV.d.ts} +1 -1
- package/dist/{manifest-CYO44YUb.d.ts → manifest-Bk8cjM0l.d.ts} +1 -1
- package/dist/{manifest-ubm80xCr.d.ts → manifest-BrGySkFX.d.ts} +1 -1
- package/dist/{manifest-4S1YGIS3.d.ts → manifest-BzO-6IJr.d.ts} +1 -1
- package/dist/{manifest-BKiaRgiZ.d.ts → manifest-C0Wdg3J2.d.ts} +1 -1
- package/dist/{manifest-DftU8SXo.d.ts → manifest-C2PHEJ5z.d.ts} +1 -1
- package/dist/{manifest-Ccc0ZZup.d.ts → manifest-C2rmE8qa.d.ts} +1 -1
- package/dist/{manifest-CMn61uKN.d.ts → manifest-C5l5bb08.d.ts} +1 -1
- package/dist/{manifest-DOtSiMt5.d.ts → manifest-C6ITivwS.d.ts} +1 -1
- package/dist/{manifest-DsINyvTh.d.ts → manifest-C71ANbeV.d.ts} +1 -1
- package/dist/{manifest-BxvFH1G_.d.ts → manifest-CAnCtcFS.d.ts} +2 -2
- package/dist/{manifest-_zu02ImE.d.ts → manifest-CBlNPtFA.d.ts} +1 -1
- package/dist/{manifest-2sJavyD8.d.ts → manifest-CEXnXtGH.d.ts} +1 -1
- package/dist/{manifest-FVkgBS-K.d.ts → manifest-CFH-eOXg.d.ts} +1 -1
- package/dist/{manifest-BRvnB8C0.d.ts → manifest-CFsi-Ht5.d.ts} +1 -1
- package/dist/{manifest-BaIG9QRj.d.ts → manifest-CJvaMP9x.d.ts} +1 -1
- package/dist/{manifest-C95ET4CL.d.ts → manifest-CK3rwqU_.d.ts} +1 -1
- package/dist/{manifest-Dim5U8TQ.d.ts → manifest-CLdp5_oL.d.ts} +1 -1
- package/dist/{manifest-N5wuAzq4.d.ts → manifest-CY_k3qjM.d.ts} +3 -3
- package/dist/{manifest-eaGk_4rq.d.ts → manifest-Cg8WeAdC.d.ts} +1 -1
- package/dist/{manifest-BzXqieUD.d.ts → manifest-ChaCvq6y.d.ts} +1 -1
- package/dist/{manifest-BpgNJhYN.d.ts → manifest-CiMGJyOC.d.ts} +1 -1
- package/dist/{manifest-cJ3rQXtl.d.ts → manifest-CpqWpt8p.d.ts} +4 -4
- package/dist/{manifest-Dp9ZtoFo.d.ts → manifest-Cqt64tuH.d.ts} +1 -1
- package/dist/{manifest-C2hpeEBF.d.ts → manifest-CrVJZ86G.d.ts} +1 -1
- package/dist/{manifest-xlpYSpLJ.d.ts → manifest-CsJCoSyK.d.ts} +1 -1
- package/dist/{manifest-CXdJUJjX.d.ts → manifest-D-kHfhG5.d.ts} +1 -1
- package/dist/{manifest-5i2UwyQr.d.ts → manifest-D17W6_c7.d.ts} +1 -1
- package/dist/{manifest-DZyxhWcb.d.ts → manifest-D1w2lSll.d.ts} +1 -1
- package/dist/{manifest-wXk0ZLhO.d.ts → manifest-D5TAMdzY.d.ts} +1 -1
- package/dist/{manifest-BEQWkGmf.d.ts → manifest-DJIIa2Em.d.ts} +1 -1
- package/dist/{manifest-Bj8bumDU.d.ts → manifest-DJuZGlHR.d.ts} +1 -1
- package/dist/{manifest-YtnGn7F9.d.ts → manifest-DLHnAPNS.d.ts} +1 -1
- package/dist/{manifest-BZPruG-S.d.ts → manifest-DNx5sz8h.d.ts} +1 -1
- package/dist/{manifest-TG95ksdH.d.ts → manifest-DSA0yeuM.d.ts} +1 -1
- package/dist/{manifest-dOFbx7Iv.d.ts → manifest-DSvRcUhd.d.ts} +1 -1
- package/dist/{manifest-Cl2U3bic.d.ts → manifest-DZwGgT_z.d.ts} +1 -1
- package/dist/{manifest-CA5EhKZ9.d.ts → manifest-D_wapvtH.d.ts} +1 -1
- package/dist/{manifest-DUPKC2rO.d.ts → manifest-DbZYZpku.d.ts} +1 -1
- package/dist/{manifest-DoZXpoG_.d.ts → manifest-DdE8MnRN.d.ts} +1 -1
- package/dist/{manifest-BMilYLsh.d.ts → manifest-Doi_y4XH.d.ts} +1 -1
- package/dist/{manifest-B0pan6cS.d.ts → manifest-DplQt5I6.d.ts} +1 -1
- package/dist/{manifest-CWFhOuFW.d.ts → manifest-Dqths6WM.d.ts} +1 -1
- package/dist/{manifest-CF3BUmbe.d.ts → manifest-DsxLVrmD.d.ts} +1 -1
- package/dist/{manifest-Bfu-Cu0f.d.ts → manifest-DuBsaflS.d.ts} +1 -1
- package/dist/{manifest-DpFy7git.d.ts → manifest-Pny9-_9a.d.ts} +1 -1
- package/dist/{manifest-DfC1XBrV.d.ts → manifest-YGFH2TL_.d.ts} +1 -1
- package/dist/{manifest-CnVa_nHw.d.ts → manifest-b3PqBQa0.d.ts} +1 -1
- package/dist/{manifest-CiF1Sb29.d.ts → manifest-cYotBkfZ.d.ts} +1 -1
- package/dist/{manifest-DiXINLQQ.d.ts → manifest-myniqe46.d.ts} +1 -1
- package/dist/{manifest-CumC7hH5.d.ts → manifest-sOy_ZKWF.d.ts} +1 -1
- package/dist/mapper/bin.js +6 -6
- package/dist/mcp/index.d.ts +2 -2
- package/dist/mcp/index.js +1 -1
- package/dist/mcp/sdk/index.d.ts +2 -2
- package/dist/mcp/sdk/index.js +1 -1
- package/dist/{mcp-B4bvacl4.js → mcp-CZgh_ubo.js} +3 -3
- package/dist/next/index.d.ts +12 -12
- package/dist/next/index.js +2 -2
- package/dist/next/proxy/index.d.ts +3 -3
- package/dist/{operations-D4zxY2TL.d.ts → operations-DAHER9Co.d.ts} +1 -1
- package/dist/orpc/index.d.ts +4 -4
- package/dist/orpc/index.js +2 -2
- package/dist/otel/index.js +5 -5
- package/dist/{permissions-BkUcXwtV.d.ts → permissions-Ddma4Div.d.ts} +1 -1
- package/dist/{ports-BBowiGiD.js → ports-ClJbgoyt.js} +1 -1
- package/dist/{ports-DD-pDkHu.d.ts → ports-DPp4Fq_P.d.ts} +1 -1
- 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/preset/index.js +3 -3
- package/dist/{preset-ZZ4H2s92.js → preset-BcwGsW_B.js} +2 -2
- package/dist/{preview-GUvVjUxf.d.ts → preview-nlRIsJni.d.ts} +2 -2
- package/dist/{project-wJ3jYipI.js → project-Bw5sWuoO.js} +5 -5
- package/dist/{push-token-C8MoiM7E.d.ts → push-token-Dwlj0LIL.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/realtime/index.d.ts +3 -3
- package/dist/{record-form-CbFN-AdD.d.ts → record-form-3eD-nwYk.d.ts} +1 -1
- package/dist/records/index.d.ts +7 -7
- package/dist/{resource-execute-BQx_Pmeu.d.ts → resource-execute-H-XO83hu.d.ts} +1 -1
- package/dist/{resource-types-lBguZ_8J.d.ts → resource-types-D4IZrOCo.d.ts} +1 -1
- package/dist/{resources-CWfoS1er.d.ts → resources-B5k-hJW_.d.ts} +1 -1
- package/dist/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-af58-Q51.js → server-B0T944J9.js} +1 -1
- package/dist/{server-types-By5oBsDZ.d.ts → server-types-Bax89ShV.d.ts} +2 -2
- package/dist/{session-D5IrTUwv.d.ts → session-DitGLCxF.d.ts} +1 -1
- package/dist/{sign-in-TNX4Pj9E.d.ts → sign-in-Dtd2Bqgm.d.ts} +10 -10
- package/dist/{signers-DB0S8YhO.d.ts → signers-FVeDbZxq.d.ts} +5 -1
- package/dist/solid/index.d.ts +6 -6
- package/dist/solid-start/index.d.ts +3 -3
- package/dist/solid-start/index.js +3 -3
- package/dist/spec/index.d.ts +1 -1
- package/dist/spec/index.js +2 -2
- package/dist/sql/index.d.ts +6 -6
- package/dist/sql/index.js +2 -2
- package/dist/{sql-CP1j2jfo.js → sql-DLuqUuGO.js} +42 -14
- package/dist/sqlite/index.d.ts +1 -1
- package/dist/sqlite/index.js +1 -1
- package/dist/ssr/index.d.ts +1 -1
- package/dist/svelte/index.d.ts +6 -6
- package/dist/sveltekit/index.d.ts +4 -4
- package/dist/sveltekit/index.js +3 -3
- package/dist/{tags-Csj8VfA7.d.ts → tags-C3z-ntLF.d.ts} +1 -1
- package/dist/tanstack-db/index.d.ts +1 -1
- package/dist/tanstack-start/index.d.ts +3 -3
- package/dist/tanstack-start/index.js +3 -3
- package/dist/{tenant-CVRFoaDM.d.ts → tenant-DLvOWwEG.d.ts} +1 -1
- package/dist/testing/index.d.ts +9 -9
- package/dist/testing/index.js +3 -3
- package/dist/{timeline-T1qkzVdR.d.ts → timeline-ChkpN8Bw.d.ts} +3 -3
- package/dist/{topic-DytYYyP3.d.ts → topic-Dw4CI2so.d.ts} +2 -2
- package/dist/{types-Cge5o3f5.d.ts → types-_hw_fdQp.d.ts} +2 -2
- package/dist/{verify-dg8Q3iRY.d.ts → verify-B4daVDDR.d.ts} +1 -1
- package/dist/{version-BFYCXhul.js → version-CrTSdSoJ.js} +1 -1
- package/dist/vue/index.d.ts +6 -6
- package/dist/{watch-topic-DT31uYqF.d.ts → watch-topic-CPyTKYDb.d.ts} +1 -1
- package/dist/webmcp/index.d.ts +1 -1
- package/dist/webmcp/index.js +1 -1
- package/dist/yjs/index.d.ts +1 -1
- package/package.json +1 -1
- package/schemas/config-v1.json +40 -2
- package/dist/cli/add-BXNrz9sN.js +0 -1
- package/dist/cli/powersync-BLXxgdbk.js +0 -1
- package/dist/cli/seed-B6_MBFd2.js +0 -1
|
@@ -545,13 +545,13 @@ type Payload<M extends AnyModels, T extends keyof M, A> = A extends {
|
|
|
545
545
|
/**
|
|
546
546
|
* `db.$decode(table)`: reads rows that did not come from the repository, such
|
|
547
547
|
* as `$client` or `queryRaw` results with database names, into the table's
|
|
548
|
-
* shape.
|
|
548
|
+
* shape. With lazy tables it loads the table and the embedded relations first.
|
|
549
549
|
*/
|
|
550
550
|
interface DbDecoder<T> {
|
|
551
551
|
/** One row, or a `validation` error when `value` is not an object. */
|
|
552
|
-
row(value: unknown):
|
|
552
|
+
row(value: unknown): AsyncResult<T>;
|
|
553
553
|
/** Every row, or the first error. */
|
|
554
|
-
rows(value: unknown):
|
|
554
|
+
rows(value: unknown): AsyncResult<T[]>;
|
|
555
555
|
}
|
|
556
556
|
type ReadMethod = "list" | "page" | "get" | "count" | "aggregate";
|
|
557
557
|
declare const resultType: unique symbol;
|
|
@@ -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-zz8DwtZi.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-BaVwMDrs.js";
|
|
5
5
|
import { c as BlockTenantOptions, n as BlockOptions, r as BlockTemporalOptions } from "./block-helpers-DDotKGAf.js";
|
|
6
6
|
import { a as BlockTransportMiddleware, n as BlockHooks } from "./block-hooks-b7-RUIxS.js";
|
|
7
7
|
import { i as RpcClient, r as DbTransportSource, t as BlockTransport } from "./block-transport-Bqne7_GN.js";
|
|
8
|
-
import { n as BlockInstanceSurface } from "./db-blocks-
|
|
8
|
+
import { n as BlockInstanceSurface } from "./db-blocks-BQkHb77X.js";
|
|
9
9
|
import { i as CredentialRef, o as CredentialToken, r as CredentialProvider } from "./provider-DSokOaUo.js";
|
|
10
10
|
import { i as EventSink } from "./cloud-event-B0AsPtwP.js";
|
|
11
11
|
import { A as TtlPreset, j as StorageApi, u as ImageTransform, w as TransformOptions } from "./bucket-BJ03ZblY.js";
|
|
@@ -102,6 +102,22 @@ function withRelatedTables(meta, table, method, register) {
|
|
|
102
102
|
});
|
|
103
103
|
};
|
|
104
104
|
}
|
|
105
|
+
/**
|
|
106
|
+
* Loads `key` and the unloaded tables that the relations named in `value` reach
|
|
107
|
+
* from it.
|
|
108
|
+
*/
|
|
109
|
+
async function loadReachedTables(meta, key, value, register) {
|
|
110
|
+
const load = meta.tableLoaders?.[key];
|
|
111
|
+
if (meta.tables[key] === void 0 && load !== void 0) await loadTable(meta, key, load, register);
|
|
112
|
+
const table = meta.tables[key];
|
|
113
|
+
if (table === void 0) return;
|
|
114
|
+
const names = argumentNames(value, /* @__PURE__ */ new Set());
|
|
115
|
+
let missing = missingTargets(meta, table, names);
|
|
116
|
+
while (missing.length > 0) {
|
|
117
|
+
await Promise.all(missing.map(([target, loader]) => loadTable(meta, target, loader, register)));
|
|
118
|
+
missing = missingTargets(meta, table, names);
|
|
119
|
+
}
|
|
120
|
+
}
|
|
105
121
|
/** Loads function metadata once, on the first `rpc` call. */
|
|
106
122
|
async function ensureFunctions(meta) {
|
|
107
123
|
if (meta.loadFunctions === void 0 || Object.keys(meta.functions).length > 0) return;
|
|
@@ -1549,4 +1565,4 @@ function provideLeanConnectionRuntime(withExtras) {
|
|
|
1549
1565
|
}
|
|
1550
1566
|
});
|
|
1551
1567
|
}
|
|
1552
|
-
export {
|
|
1568
|
+
export { loadReachedTables as a, NO_PLUGINS as i, decodeRpcResult as n, runSpec as o, rpcFunction as r, provideLeanConnectionRuntime as t };
|
|
@@ -2,11 +2,11 @@ import { t as enableFilterTrees } from "./filter-tree-DrG_kQ7o.js";
|
|
|
2
2
|
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
|
-
import { t as builderFor } from "./build-ByfDs2ru.js";
|
|
5
|
+
import { r as addLazyTable, t as builderFor } from "./build-ByfDs2ru.js";
|
|
6
6
|
import { t as decodeRows } from "./codec-CJaAdLjG.js";
|
|
7
|
+
import { a as loadReachedTables, i as NO_PLUGINS, n as decodeRpcResult, o as runSpec, r as rpcFunction, t as provideLeanConnectionRuntime } from "./define-runtime-BbNPkt-5.js";
|
|
7
8
|
import { n as isRecord } from "./guards-CsRa6v57.js";
|
|
8
9
|
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-DsFTahQB.js";
|
|
10
10
|
import { t as EventHub } from "./events-Da482tiF.js";
|
|
11
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";
|
|
@@ -89,11 +89,24 @@ function aliased(selection, row) {
|
|
|
89
89
|
* timestamps to `Temporal`).
|
|
90
90
|
*/
|
|
91
91
|
function dbDecoder(meta, table) {
|
|
92
|
+
if (!meta.tables[table] && !meta.tableLoaders?.[table]) throw new TypeError(`better-supabase: $decode: unknown table "${table}"`);
|
|
93
|
+
const decode = (value, read) => AsyncResult.from(async () => {
|
|
94
|
+
await loadReachedTables(meta, table, value, (loaded) => {
|
|
95
|
+
addLazyTable(meta, loaded);
|
|
96
|
+
});
|
|
97
|
+
return read(loadedDecoder(meta, table));
|
|
98
|
+
});
|
|
99
|
+
return {
|
|
100
|
+
row: (value) => decode(value, (decoder) => decoder.row(value)),
|
|
101
|
+
rows: (value) => decode(value, (decoder) => decoder.rows(value))
|
|
102
|
+
};
|
|
103
|
+
}
|
|
104
|
+
function loadedDecoder(meta, table) {
|
|
92
105
|
const nested = /* @__PURE__ */ new Map();
|
|
93
106
|
const decoderOf = (key) => {
|
|
94
107
|
let found = nested.get(key);
|
|
95
108
|
if (!found) {
|
|
96
|
-
found =
|
|
109
|
+
found = loadedDecoder(meta, key);
|
|
97
110
|
nested.set(key, found);
|
|
98
111
|
}
|
|
99
112
|
return found;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as BetterSupabase } from "./db-blocks-
|
|
1
|
+
import { s as BetterSupabase } from "./db-blocks-BQkHb77X.js";
|
|
2
2
|
import { It as RequestContext, O as AnyFunctions, k as AnyModels } from "./types-Dizn1liT.js";
|
|
3
3
|
import { n as SqlClient } from "./executor-7zo2arIZ.js";
|
|
4
4
|
import { T as AnyBucket } from "./index-BHkxtS6f.js";
|
|
@@ -5,7 +5,7 @@ import { t as BlockTransport } from "./block-transport-Bqne7_GN.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-
|
|
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-ClbL68WH.js";
|
|
9
9
|
import { p as ApprovalStatus } from "./approvals-B1mzlyzk.js";
|
|
10
10
|
import { r as BlockTemporalOptions } from "./block-helpers-DDotKGAf.js";
|
|
11
11
|
/**
|
package/dist/edge/index.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { n as AuthSession } from "../view-DwTCw_jZ.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-Dizn1liT.js";
|
|
4
|
-
import { s as BetterSupabase } from "../db-blocks-
|
|
4
|
+
import { s as BetterSupabase } from "../db-blocks-BQkHb77X.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-BwlTgitb.js";
|
|
7
|
-
import { t as ResourceMap } from "../resources-
|
|
7
|
+
import { t as ResourceMap } from "../resources-B5k-hJW_.js";
|
|
8
8
|
import { i as MiddlewareOptions, r as GuardOptions } from "../respond-vxhdVf23.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-Bax89ShV.js";
|
|
10
|
+
import { i as ResourceContext, l as ResourceRouteOptions, o as ResourceHooks, r as ResourceAction, t as ActionParams } from "../resource-types-D4IZrOCo.js";
|
|
11
|
+
import { t as defineAction } from "../resource-execute-H-XO83hu.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-DXF0tNJJ.js";
|
|
5
5
|
import { _ as withFlush, g as unexpectedResponse } from "../sessions-w6xril_l.js";
|
|
6
|
-
import { t as withBetterSupabase } from "../composite-
|
|
6
|
+
import { t as withBetterSupabase } from "../composite-C13UCNgm.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-BQgHM3zD.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-B0T944J9.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-DiQyvXnj.js";
|
|
2
|
+
import { n as ClaimsSource } from "./claims-source-yTqGqUDc.js";
|
|
3
3
|
import { n as AuthSession } from "./view-DwTCw_jZ.js";
|
|
4
4
|
/**
|
|
5
5
|
* One entry of the `memberships` claim when a hook writes it as a list. Hooks
|
|
@@ -6,7 +6,7 @@ import { p as isQuerySpec } from "./read-set-DfScfSsf.js";
|
|
|
6
6
|
import { a as ok, r as err, s as toDbError } from "./result-DijoXEFG.js";
|
|
7
7
|
import { n as simplifyOrFalse } from "./simplify-BzThKn5b.js";
|
|
8
8
|
import { n as whereClause, t as integer } from "./shared-BRFaCh8n.js";
|
|
9
|
-
import { t as provideConnectionRuntime } from "./define-runtime-full-
|
|
9
|
+
import { t as provideConnectionRuntime } from "./define-runtime-full-gpz09qAj.js";
|
|
10
10
|
// src/compile/sqlite.ts
|
|
11
11
|
/**
|
|
12
12
|
* The operation needs something the SQLite dialect can't express: full-text
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { E as RawDbError, b as DbError, f as Result } from "./result-aun_QZHn.js";
|
|
2
2
|
import { O as AnyFunctions, Vt as Executor, dt as TableKey, ft as TableMeta, k as AnyModels, m as Operation } from "./types-Dizn1liT.js";
|
|
3
|
-
import { dt as QuerySpec, s as BetterSupabase } from "./db-blocks-
|
|
4
|
-
import { i as ListDefinition } from "./list-query-
|
|
3
|
+
import { dt as QuerySpec, s as BetterSupabase } from "./db-blocks-BQkHb77X.js";
|
|
4
|
+
import { i as ListDefinition } from "./list-query-0IoIyFnQ.js";
|
|
5
5
|
import { t as Compiler } from "./compiler-u6lO9V7r.js";
|
|
6
6
|
/** A value SQLite binds: booleans become `0`/`1`, objects JSON text. */
|
|
7
7
|
type SqliteValue = string | number | bigint | null;
|
package/dist/expo/index.d.ts
CHANGED
|
@@ -2,8 +2,8 @@ import { g as SessionSnapshot } from "../resolve-Pn7KvQ23.js";
|
|
|
2
2
|
import { n as AuthSession } from "../view-DwTCw_jZ.js";
|
|
3
3
|
import { t as Validated } from "../shared-DsBcvj6q.js";
|
|
4
4
|
import { O as AnyFunctions, k as AnyModels, rn as AuthzVersionCache } from "../types-Dizn1liT.js";
|
|
5
|
-
import { et as ReadSetResult, q as ReadSet, s as BetterSupabase } from "../db-blocks-
|
|
6
|
-
import { b as Bootstrap, i as ContextOptions, r as BetterServer, s as ServerContext, u as ServerOptions, v as Access, x as BootstrapCallOptions, y as AccessForOptions } from "../server-types-
|
|
5
|
+
import { et as ReadSetResult, q as ReadSet, s as BetterSupabase } from "../db-blocks-BQkHb77X.js";
|
|
6
|
+
import { b as Bootstrap, i as ContextOptions, r as BetterServer, s as ServerContext, u as ServerOptions, v as Access, x as BootstrapCallOptions, y as AccessForOptions } from "../server-types-Bax89ShV.js";
|
|
7
7
|
import { i as MiddlewareOptions, r as GuardOptions } from "../respond-vxhdVf23.js";
|
|
8
8
|
import { AnyEntry, Contributions } from "@supabase/middleware";
|
|
9
9
|
import { ImmutableRequest, MiddlewareFunction } from "expo-server";
|
package/dist/expo/index.js
CHANGED
|
@@ -6,11 +6,11 @@ import { t as tenantOf } from "../tenant-Duq0dWqX.js";
|
|
|
6
6
|
import { i as claimsOf } from "../claims-CX-ar1vt.js";
|
|
7
7
|
import { t as DbException } from "../db-exception-Dv18UZ-I.js";
|
|
8
8
|
import { c as toProblem } from "../problem-BwplIuhI.js";
|
|
9
|
-
import { t as adapterBase } from "../adapter-base-
|
|
9
|
+
import { t as adapterBase } from "../adapter-base-DXF0tNJJ.js";
|
|
10
10
|
import { g as unexpectedResponse } from "../sessions-w6xril_l.js";
|
|
11
|
-
import { c as bootstrapSchema, l as bootstrapWith, n as extendServer, s as accessOf, t as createServer } from "../server-
|
|
11
|
+
import { c as bootstrapSchema, l as bootstrapWith, n as extendServer, s as accessOf, t as createServer } from "../server-B0T944J9.js";
|
|
12
12
|
import { i as userSessionTags, r as tableTags, t as sessionIdTag } from "../cache-tags-C5Oivuxo.js";
|
|
13
|
-
import { t as withBetterSupabase } from "../composite-
|
|
13
|
+
import { t as withBetterSupabase } from "../composite-C13UCNgm.js";
|
|
14
14
|
import { r as refreshFor } from "../request-kind-BMNdlQpz.js";
|
|
15
15
|
import { i as guard, o as respond } from "../respond-DLvLJwwN.js";
|
|
16
16
|
import { bufferRequest, pipeline, seedContext } from "@supabase/middleware";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as BlockTransport } from "./block-transport-Bqne7_GN.js";
|
|
2
2
|
import { i as EventSink } from "./cloud-event-B0AsPtwP.js";
|
|
3
|
-
import { jn as AttachmentBucket } from "./define-block-
|
|
3
|
+
import { jn as AttachmentBucket } from "./define-block-ClbL68WH.js";
|
|
4
4
|
import { o as Knowledge } from "./knowledge-C7RZqwQu.js";
|
|
5
5
|
import { _ as JobHandler } from "./types-CID74uQG.js";
|
|
6
6
|
import { t as AsyncResult } from "./result-aun_QZHn.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { L as ColumnMeta, ft as TableMeta, st as SchemaMeta } from "./types-Dizn1liT.js";
|
|
2
2
|
import { a as ScalarKind, i as FieldSpec } from "./table-schema-CwXg7oBz.js";
|
|
3
|
-
import { Er as GeneratorInput } from "./context-
|
|
3
|
+
import { Er as GeneratorInput } from "./context-C-msUG_m.js";
|
|
4
4
|
/** What field planning reads: the metadata and the typed-jsonb config. */
|
|
5
5
|
interface SchemaSource {
|
|
6
6
|
readonly meta: SchemaMeta;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { b as DbError, f as Result } from "./result-aun_QZHn.js";
|
|
2
2
|
import { l as BlockTenant } from "./block-helpers-DDotKGAf.js";
|
|
3
|
-
import { fr as GeneratedBlocks } from "./define-block-
|
|
3
|
+
import { fr as GeneratedBlocks } from "./define-block-ClbL68WH.js";
|
|
4
4
|
import { tt as TemplateValues } from "./bucket-BJ03ZblY.js";
|
|
5
|
-
import { dt as QuerySpec } from "./db-blocks-
|
|
5
|
+
import { dt as QuerySpec } from "./db-blocks-BQkHb77X.js";
|
|
6
6
|
import { n as DataEngine } from "./data-engine-nmeUijzR.js";
|
|
7
|
-
import { c as RealtimeClient, d as SubscribeOptions, i as PresenceOptions, s as PresenceSubscription, v as TopicMessage } from "./topic-
|
|
8
|
-
import { t as ClientPorts } from "./ports-
|
|
9
|
-
import { a as ClientAuth } from "./bind-
|
|
10
|
-
import { a as LiveSource, r as LiveCountSeed } from "./index-
|
|
7
|
+
import { c as RealtimeClient, d as SubscribeOptions, i as PresenceOptions, s as PresenceSubscription, v as TopicMessage } from "./topic-Dw4CI2so.js";
|
|
8
|
+
import { t as ClientPorts } from "./ports-DPp4Fq_P.js";
|
|
9
|
+
import { a as ClientAuth } from "./bind-DiQyvXnj.js";
|
|
10
|
+
import { a as LiveSource, r as LiveCountSeed } from "./index-CaBdEfvB.js";
|
|
11
11
|
import { SupabaseClient } from "@supabase/supabase-js";
|
|
12
12
|
import { QueryClient } from "@tanstack/query-core";
|
|
13
13
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as entityNoun, i as entityNames, n as checkEntityName, s as tenantRename, t as DEFAULT_TENANT } from "./entity-naming-CUsC8bC1.js";
|
|
2
|
-
import { B as resolveBlock, I as PRESET_CATALOG, V as tenantNameOf } from "./instances-
|
|
2
|
+
import { B as resolveBlock, I as PRESET_CATALOG, V as tenantNameOf } from "./instances-PZAWgQEX.js";
|
|
3
3
|
// src/config/defaults.ts
|
|
4
4
|
/**
|
|
5
5
|
* Every default `resolveConfig` fills in. Other modules (the SQL module
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { c as snapshotOf } from "./snapshot-C1KUHKTc.js";
|
|
2
2
|
import { i as toSession } from "./view-DpKWWhP2.js";
|
|
3
|
-
import { t as withBetterSupabase } from "./composite-
|
|
3
|
+
import { t as withBetterSupabase } from "./composite-C13UCNgm.js";
|
|
4
4
|
// src/server/framework.ts
|
|
5
5
|
/**
|
|
6
6
|
* Every caller: the framework factories guard per loader, action or route
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { g as SessionSnapshot } from "./resolve-Pn7KvQ23.js";
|
|
2
2
|
import { n as AuthSession } from "./view-DwTCw_jZ.js";
|
|
3
3
|
import { O as AnyFunctions, k as AnyModels } from "./types-Dizn1liT.js";
|
|
4
|
-
import { n as BetterSupabaseContributions } from "./composite-
|
|
5
|
-
import { n as SessionEntryOptions } from "./session-
|
|
4
|
+
import { n as BetterSupabaseContributions } from "./composite-BInEW9vs.js";
|
|
5
|
+
import { n as SessionEntryOptions } from "./session-DitGLCxF.js";
|
|
6
6
|
import { c as ResourceLoaderContext } from "./kit-BwlTgitb.js";
|
|
7
7
|
import { t as RefusalRedirects } from "./refusal-6HGi0oY9.js";
|
|
8
|
-
import { u as ServerOptions } from "./server-types-
|
|
8
|
+
import { u as ServerOptions } from "./server-types-Bax89ShV.js";
|
|
9
9
|
/**
|
|
10
10
|
* What the framework factories (`createSvelteKit`, `createReactRouter`,
|
|
11
11
|
* `createTanStackStart`) take.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as VERSION } from "../../version-
|
|
1
|
+
import { t as VERSION } from "../../version-CrTSdSoJ.js";
|
|
2
2
|
import { f as siblingPath, t as HEADER } from "../../shared-BXRDj6UR.js";
|
|
3
3
|
import { r as relativeImport } from "../../kit-D6kdfQFj.js";
|
|
4
4
|
// src/generators/factories.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as ScalarKind } from "../table-schema-CwXg7oBz.js";
|
|
2
|
-
import { Ar as GeneratorModule, Cr as GeneratorFunction, Er as GeneratorInput, Mr as GeneratorTable, Sr as GeneratorField, Tr as GeneratorImports, _r as GeneratorBlockEntity, br as GeneratorConfigView, gr as GeneratorBlock, hr as Generator, kr as GeneratorModel, mr as GeneratedFile, vr as GeneratorCapability, xr as GeneratorEntitySchemas, yr as GeneratorColumn } from "../context-
|
|
3
|
-
import { A as tableDocs, C as parseCheckBounds, D as rowType, E as propertyKey, F as variantsFor, M as temporalGuardImport, N as titleOf, O as schemaName, P as variantTitle, S as optionalLine, T as parseImport, _ as TableDocs, a as extraKinds, b as fieldSpec, c as fieldMetaLines, d as Bounds, f as DocsSource, g as SchemaSource, h as HEADER, i as ResultSchema, j as tableEntries, k as siblingPath, l as objectType, m as FieldPlan, n as ExtraSchemas, o as extraSchemas, p as FieldDocs, r as FieldMeta, s as fieldMeta, t as ExtraSchema, u as resultType, v as Variant, w as parseComment, x as fieldsFor, y as fieldDocs } from "../extras-
|
|
2
|
+
import { Ar as GeneratorModule, Cr as GeneratorFunction, Er as GeneratorInput, Mr as GeneratorTable, Sr as GeneratorField, Tr as GeneratorImports, _r as GeneratorBlockEntity, br as GeneratorConfigView, gr as GeneratorBlock, hr as Generator, kr as GeneratorModel, mr as GeneratedFile, vr as GeneratorCapability, xr as GeneratorEntitySchemas, yr as GeneratorColumn } from "../context-C-msUG_m.js";
|
|
3
|
+
import { A as tableDocs, C as parseCheckBounds, D as rowType, E as propertyKey, F as variantsFor, M as temporalGuardImport, N as titleOf, O as schemaName, P as variantTitle, S as optionalLine, T as parseImport, _ as TableDocs, a as extraKinds, b as fieldSpec, c as fieldMetaLines, d as Bounds, f as DocsSource, g as SchemaSource, h as HEADER, i as ResultSchema, j as tableEntries, k as siblingPath, l as objectType, m as FieldPlan, n as ExtraSchemas, o as extraSchemas, p as FieldDocs, r as FieldMeta, s as fieldMeta, t as ExtraSchema, u as resultType, v as Variant, w as parseComment, x as fieldsFor, y as fieldDocs } from "../extras-Ctnag4x3.js";
|
|
4
4
|
/** The generator contract this release of `gen` runs. */
|
|
5
5
|
export declare const GENERATOR_API_VERSION = 2;
|
|
6
6
|
/** What `defineGenerator` takes: a `Generator` without its `apiVersion`. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { hr as Generator } from "../../context-
|
|
2
|
-
import { f as DocsSource, n as ExtraSchemas } from "../../extras-
|
|
1
|
+
import { hr as Generator } from "../../context-C-msUG_m.js";
|
|
2
|
+
import { f as DocsSource, n as ExtraSchemas } from "../../extras-Ctnag4x3.js";
|
|
3
3
|
/** The JSON Schema dialects the generators and MCP emit. */
|
|
4
4
|
type JsonSchemaTarget = "draft-2020-12" | "draft-07" | "openapi-3.0";
|
|
5
5
|
interface JsonSchemaGeneratorOptions {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as jsonSchema, n as toJsonSchema } from "../../json-schema-
|
|
1
|
+
export { t as jsonSchema, n as toJsonSchema } from "../../json-schema-C8deWP59.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as VERSION } from "../../version-
|
|
1
|
+
import { t as VERSION } from "../../version-CrTSdSoJ.js";
|
|
2
2
|
import { _ as variantTitle, c as parseImport, d as schemaName, f as siblingPath, i as fieldsFor, l as propertyKey, m as tableEntries, n as fieldDocs, p as tableDocs, r as fieldSpec, t as HEADER, v as variantsFor } from "../../shared-BXRDj6UR.js";
|
|
3
3
|
import { a as objectType, i as fieldMetaLines, n as extraSchemas } from "../../extras-CW8CKLeE.js";
|
|
4
4
|
import { r as relativeImport } from "../../kit-D6kdfQFj.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as VERSION } from "../../version-
|
|
1
|
+
import { t as VERSION } from "../../version-CrTSdSoJ.js";
|
|
2
2
|
import { _ as variantTitle, a as optionalLine, c as parseImport, d as schemaName, f as siblingPath, h as temporalGuardImport, i as fieldsFor, l as propertyKey, m as tableEntries, n as fieldDocs, p as tableDocs, t as HEADER, u as rowType, v as variantsFor } from "../../shared-BXRDj6UR.js";
|
|
3
3
|
import { a as objectType, i as fieldMetaLines, n as extraSchemas, o as resultType, t as extraKinds } from "../../extras-CW8CKLeE.js";
|
|
4
4
|
import { r as relativeImport } from "../../kit-D6kdfQFj.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as VERSION } from "../../version-
|
|
1
|
+
import { t as VERSION } from "../../version-CrTSdSoJ.js";
|
|
2
2
|
import { _ as variantTitle, a as optionalLine, c as parseImport, d as schemaName, f as siblingPath, h as temporalGuardImport, i as fieldsFor, l as propertyKey, m as tableEntries, n as fieldDocs, p as tableDocs, t as HEADER, u as rowType, v as variantsFor } from "../../shared-BXRDj6UR.js";
|
|
3
3
|
import { a as objectType, i as fieldMetaLines, n as extraSchemas, o as resultType, t as extraKinds } from "../../extras-CW8CKLeE.js";
|
|
4
4
|
import { r as relativeImport } from "../../kit-D6kdfQFj.js";
|
package/dist/hono/index.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { g as SessionSnapshot, r as AuthState } from "../resolve-Pn7KvQ23.js";
|
|
2
2
|
import { n as AuthSession } from "../view-DwTCw_jZ.js";
|
|
3
3
|
import { O as AnyFunctions, Ut as AnyAuthorizer, dt as TableKey, in as PermissionRef, k as AnyModels, rn as AuthzVersionCache } from "../types-Dizn1liT.js";
|
|
4
|
-
import { s as BetterSupabase } from "../db-blocks-
|
|
4
|
+
import { s as BetterSupabase } from "../db-blocks-BQkHb77X.js";
|
|
5
5
|
import { t as CorsOptions } from "../cors-9SDsndtb.js";
|
|
6
6
|
import { c as ResourceLoaderContext, s as BlockRequireOptions } from "../kit-BwlTgitb.js";
|
|
7
7
|
import { a as RateLimitVerdict, c as RouteRateLimitRule, i as RateLimitRouteOptions, l as SingleRateLimitOptions, n as MultiRateLimiter, o as RateLimiter, r as RateLimitAllVerdict, s as RouteRateLimitHit, t as MultiRateLimitOptions } from "../rate-limit-DoUeCpsi.js";
|
|
8
|
-
import { i as ResourceContext, l as ResourceRouteOptions, o as ResourceHooks, r as ResourceAction, t as ActionParams } from "../resource-types-
|
|
8
|
+
import { i as ResourceContext, l as ResourceRouteOptions, o as ResourceHooks, r as ResourceAction, t as ActionParams } from "../resource-types-D4IZrOCo.js";
|
|
9
9
|
import { i as MiddlewareOptions, r as GuardOptions } from "../respond-vxhdVf23.js";
|
|
10
|
-
import { d as SharedServer, r as BetterServer, s as ServerContext, u as ServerOptions } from "../server-types-
|
|
11
|
-
import { t as defineAction } from "../resource-execute-
|
|
10
|
+
import { d as SharedServer, r as BetterServer, s as ServerContext, u as ServerOptions } from "../server-types-Bax89ShV.js";
|
|
11
|
+
import { t as defineAction } from "../resource-execute-H-XO83hu.js";
|
|
12
12
|
import { AnyEntry, Contributions, ValidateEntries } from "@supabase/middleware";
|
|
13
13
|
import { Context, ErrorHandler, Hono, MiddlewareHandler } from "hono";
|
|
14
14
|
/**
|
package/dist/hono/index.js
CHANGED
|
@@ -3,16 +3,16 @@ import { i as toSession } from "../view-DpKWWhP2.js";
|
|
|
3
3
|
import { r as handoffOf } from "../shared-Ci1g9nl4.js";
|
|
4
4
|
import { r as dbErrorOf } from "../errors-DK1wGb9z.js";
|
|
5
5
|
import { o as problemResponse } from "../problem-BwplIuhI.js";
|
|
6
|
-
import { t as adapterBase } from "../adapter-base-
|
|
6
|
+
import { t as adapterBase } from "../adapter-base-DXF0tNJJ.js";
|
|
7
7
|
import { g as unexpectedResponse, p as flushEvents } from "../sessions-w6xril_l.js";
|
|
8
|
-
import { t as withBetterSupabase } from "../composite-
|
|
8
|
+
import { t as withBetterSupabase } from "../composite-C13UCNgm.js";
|
|
9
9
|
import { n as corsConfig } from "../cors-DrDFLMNn.js";
|
|
10
10
|
import { i as requireCaller } from "../kit-BgRTtW9w.js";
|
|
11
11
|
import { t as rateLimitGate } from "../rate-limit-Wolzge1m.js";
|
|
12
12
|
import { i as defineAction, t as defineResource } from "../resource-BxSmk1R1.js";
|
|
13
13
|
import { t as matchResource } from "../resources-CM9wwyfa.js";
|
|
14
14
|
import { o as respond, t as assertCookieRefresh } from "../respond-DLvLJwwN.js";
|
|
15
|
-
import { n as extendServer, t as createServer } from "../server-
|
|
15
|
+
import { n as extendServer, t as createServer } from "../server-B0T944J9.js";
|
|
16
16
|
import { bufferRequest, pipeline, seedContext } from "@supabase/middleware";
|
|
17
17
|
import { withCors } from "@supabase/middleware/cors";
|
|
18
18
|
import { Hono } from "hono";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as CourseInput, o as CourseLearner, r as CourseCertificate, u as CourseLessonInput, x as Courses } from "./manifest-
|
|
2
|
-
import { E as RecordBinding, G as EntitySchema, M as RecordBindingWrite } from "./define-block-
|
|
1
|
+
import { a as CourseInput, o as CourseLearner, r as CourseCertificate, u as CourseLessonInput, x as Courses } from "./manifest-BPriFiTU.js";
|
|
2
|
+
import { E as RecordBinding, G as EntitySchema, M as RecordBindingWrite } from "./define-block-ClbL68WH.js";
|
|
3
3
|
import { i as JwsAlgorithm, n as Jwks } from "./jws-CxgTsbgG.js";
|
|
4
4
|
import { f as Result } from "./result-aun_QZHn.js";
|
|
5
5
|
/** What `upsert` takes, with the bounds the SQL checks. */
|
|
@@ -8,10 +8,10 @@ import { n as Logger } from "./logger-0LfhvwE4.js";
|
|
|
8
8
|
import { t as StandardSchemaV1 } from "./standard-Vmy7ALDX.js";
|
|
9
9
|
import { et as RecordRef } from "./types-Dizn1liT.js";
|
|
10
10
|
import { r as BlockTemporalOptions } from "./block-helpers-DDotKGAf.js";
|
|
11
|
-
import { G as EntitySchema, c as BlockOf, ci as Action } from "./define-block-
|
|
11
|
+
import { G as EntitySchema, c as BlockOf, ci as Action } from "./define-block-ClbL68WH.js";
|
|
12
12
|
import { f as EmployeeEventData } from "./block-events-records-CUCsDp0S.js";
|
|
13
13
|
import { Et as Events } from "./events-zz8DwtZi.js";
|
|
14
|
-
import { n as ConversionContext, t as ConversionClients } from "./conversion-
|
|
14
|
+
import { n as ConversionContext, t as ConversionClients } from "./conversion-Cckh_HHY.js";
|
|
15
15
|
type EmployeeStatus = "preboarding" | "active" | "on_leave" | "offboarded";
|
|
16
16
|
type SalaryPeriod = "hour" | "week" | "month" | "year";
|
|
17
17
|
/** An employee. `F` types the extra columns the `fields` schema describes. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as ActivityInput } from "./activities-BMQuBkrQ.js";
|
|
2
|
-
import { G as EntitySchema } from "./define-block-
|
|
2
|
+
import { G as EntitySchema } from "./define-block-ClbL68WH.js";
|
|
3
3
|
type ActivityLog = ActivityInput & {
|
|
4
4
|
readonly type: string;
|
|
5
5
|
readonly title: string;
|
|
@@ -7,7 +7,7 @@ import { T as ErrorMapper, t as AsyncResult } from "./result-aun_QZHn.js";
|
|
|
7
7
|
import { n as Logger } from "./logger-0LfhvwE4.js";
|
|
8
8
|
import { t as StandardSchemaV1 } from "./standard-Vmy7ALDX.js";
|
|
9
9
|
import { r as BlockTemporalOptions } from "./block-helpers-DDotKGAf.js";
|
|
10
|
-
import { G as EntitySchema, c as BlockOf } from "./define-block-
|
|
10
|
+
import { G as EntitySchema, c as BlockOf } from "./define-block-ClbL68WH.js";
|
|
11
11
|
import { Et as Events } from "./events-zz8DwtZi.js";
|
|
12
12
|
/** One opening balance: a signed amount, a debit balance positive. */
|
|
13
13
|
interface OpeningBalance {
|
|
@@ -5,7 +5,7 @@ import { n as Logger } from "./logger-0LfhvwE4.js";
|
|
|
5
5
|
import { t as AsyncResult } from "./result-aun_QZHn.js";
|
|
6
6
|
import { t as StandardSchemaV1 } from "./standard-Vmy7ALDX.js";
|
|
7
7
|
import { n as BlockOptions } from "./block-helpers-DDotKGAf.js";
|
|
8
|
-
import { c as BlockOf } from "./define-block-
|
|
8
|
+
import { c as BlockOf } from "./define-block-ClbL68WH.js";
|
|
9
9
|
/**
|
|
10
10
|
* A metric the database computes, or any other name the app keeps the actual
|
|
11
11
|
* value of itself.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { p as MedicationOrderInput, u as MedicationInput, x as createMedications } from "./medications-3mcGOelG.js";
|
|
2
|
-
import { G as EntitySchema, c as BlockOf } from "./define-block-
|
|
2
|
+
import { G as EntitySchema, c as BlockOf } from "./define-block-ClbL68WH.js";
|
|
3
3
|
import { Et as Events } from "./events-zz8DwtZi.js";
|
|
4
4
|
/** The record an order is for and the order's state. */
|
|
5
5
|
interface MedicationOrderEventBase {
|
|
@@ -10,10 +10,10 @@ import { i as Totals, n as Line, r as LineInput, t as CatalogLineInput } from ".
|
|
|
10
10
|
import { et as RecordRef } from "./types-Dizn1liT.js";
|
|
11
11
|
import { i as QuoteVariants } from "./sales-variants-BoAmPvOd.js";
|
|
12
12
|
import { o as TransitionActor, r as BlockTemporalOptions } from "./block-helpers-DDotKGAf.js";
|
|
13
|
-
import { bi as DefaultAutomation, c as BlockOf, ci as Action, fi as ActionFactory } from "./define-block-
|
|
13
|
+
import { bi as DefaultAutomation, c as BlockOf, ci as Action, fi as ActionFactory } from "./define-block-ClbL68WH.js";
|
|
14
14
|
import { w as QuoteEventData } from "./block-events-records-CUCsDp0S.js";
|
|
15
15
|
import { Et as Events } from "./events-zz8DwtZi.js";
|
|
16
|
-
import { t as ConversionClients } from "./conversion-
|
|
16
|
+
import { t as ConversionClients } from "./conversion-Cckh_HHY.js";
|
|
17
17
|
/** The events of the `quotes` block: type to data. */
|
|
18
18
|
type QuotesEvents = {
|
|
19
19
|
readonly "quote.created": QuoteEventData;
|
|
@@ -5,7 +5,7 @@ import { t as BlockTransport } from "./block-transport-Bqne7_GN.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 { et as RecordRef } from "./types-Dizn1liT.js";
|
|
8
|
-
import { E as RecordBinding, c as BlockOf } from "./define-block-
|
|
8
|
+
import { E as RecordBinding, c as BlockOf } from "./define-block-ClbL68WH.js";
|
|
9
9
|
import { Et as Events } from "./events-zz8DwtZi.js";
|
|
10
10
|
interface EnrollmentsOptions extends BlockTemporalOptions, BlockTenantOptions {
|
|
11
11
|
readonly transport: BlockTransport;
|
|
@@ -6,7 +6,7 @@ import { t as StandardSchemaV1 } from "./standard-Vmy7ALDX.js";
|
|
|
6
6
|
import { et as RecordRef } from "./types-Dizn1liT.js";
|
|
7
7
|
import { n as BlockOptions } from "./block-helpers-DDotKGAf.js";
|
|
8
8
|
import { t as AsyncResult } from "./result-aun_QZHn.js";
|
|
9
|
-
import { E as RecordBinding, G as EntitySchema, L as RecordRowInput, M as RecordBindingWrite, c as BlockOf } from "./define-block-
|
|
9
|
+
import { E as RecordBinding, G as EntitySchema, L as RecordRowInput, M as RecordBindingWrite, c as BlockOf } from "./define-block-ClbL68WH.js";
|
|
10
10
|
import { Et as Events, et as SaasEventData, tt as SaasSubjectEventData } from "./events-zz8DwtZi.js";
|
|
11
11
|
/** The events of the `share-links` block: type to data. */
|
|
12
12
|
type ShareLinksEvents = {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { n as AuthSession } from "./view-DwTCw_jZ.js";
|
|
2
|
-
import { _ as LiveQueryHookOptions, a as DataRows, b as ProfileOf, c as DataWrites, f as BroadcastOptions, h as LiveCountHookOptions, i as DataRow, l as ActionInputOf, m as ClientLike, n as DataId, o as DataSource, p as ClaimsOf, r as DataListOptions, s as DataState, u as ActionResultOf, x as UseActionOptions } from "./field-errors-
|
|
3
|
-
import { t as AuthSnapshot } from "./bind-
|
|
2
|
+
import { _ as LiveQueryHookOptions, a as DataRows, b as ProfileOf, c as DataWrites, f as BroadcastOptions, h as LiveCountHookOptions, i as DataRow, l as ActionInputOf, m as ClientLike, n as DataId, o as DataSource, p as ClaimsOf, r as DataListOptions, s as DataState, u as ActionResultOf, x as UseActionOptions } from "./field-errors-D0vkq05i.js";
|
|
3
|
+
import { t as AuthSnapshot } from "./bind-DiQyvXnj.js";
|
|
4
4
|
import { b as DbError, f as Result, t as AsyncResult } from "./result-aun_QZHn.js";
|
|
5
|
-
import { dt as QuerySpec } from "./db-blocks-
|
|
6
|
-
import { _ as TopicHandlers, c as RealtimeClient, d as SubscribeOptions, i as PresenceOptions, m as Topic, p as SubscriptionStatus, r as PresenceMember, s as PresenceSubscription, t as EventSchemas } from "./topic-
|
|
5
|
+
import { dt as QuerySpec } from "./db-blocks-BQkHb77X.js";
|
|
6
|
+
import { _ as TopicHandlers, c as RealtimeClient, d as SubscribeOptions, i as PresenceOptions, m as Topic, p as SubscriptionStatus, r as PresenceMember, s as PresenceSubscription, t as EventSchemas } from "./topic-Dw4CI2so.js";
|
|
7
7
|
import { A as TtlPreset, D as UrlOptions, E as UploadOptions, T as UploadBody, tt as TemplateValues, u as ImageTransform, w as TransformOptions } from "./bucket-BJ03ZblY.js";
|
|
8
|
-
import { r as LiveCountSeed, v as RelayClientOptions } from "./index-
|
|
9
|
-
import { M as BindingName, S as RecordWriteInput, _ as RecordTypeBlocks, b as RecordTypeWriteInput, d as BindingWritesOf, f as Plain, g as RecordType, h as RecordCan, m as PlainBindings, x as RecordTypeWriteOutput } from "./index-
|
|
8
|
+
import { r as LiveCountSeed, v as RelayClientOptions } from "./index-CaBdEfvB.js";
|
|
9
|
+
import { M as BindingName, S as RecordWriteInput, _ as RecordTypeBlocks, b as RecordTypeWriteInput, d as BindingWritesOf, f as Plain, g as RecordType, h as RecordCan, m as PlainBindings, x as RecordTypeWriteOutput } from "./index-xNtO4Cbv.js";
|
|
10
10
|
import { et as RecordRef } from "./types-Dizn1liT.js";
|
|
11
|
-
import { s as RecordFormValues, t as RecordForm } from "./record-form-
|
|
11
|
+
import { s as RecordFormValues, t as RecordForm } from "./record-form-3eD-nwYk.js";
|
|
12
12
|
import { a as BlockQueryActions, i as BlockMutationState, n as BlockEventSource, o as BlockQueryOptions, r as BlockMutationActions, s as BlockQueryState, t as BlockEngineOptions } from "./block-controller-Dy-Jyy8A.js";
|
|
13
13
|
import { Ct as EventMap, E as BlockEventPattern, Et as Events, O as BlockEventsMatching, w as BlockEvent } from "./events-zz8DwtZi.js";
|
|
14
|
-
import { n as Controller } from "./controller-
|
|
15
|
-
import { t as BlockEnv } from "./block-env-
|
|
14
|
+
import { n as Controller } from "./controller-DMoPjq2t.js";
|
|
15
|
+
import { t as BlockEnv } from "./block-env-aG5V88tR.js";
|
|
16
16
|
import { n as BlockDataOf, r as BlockMethodName, t as BlockArgsOf } from "./block-method-OJA4a62H.js";
|
|
17
17
|
import { n as BootstrapPermissions } from "./bootstrap-permissions-hiWjQ2N7.js";
|
|
18
18
|
import { m as RejectedChange, o as DataSyncState } from "./data-engine-nmeUijzR.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { f as Bookings, m as PlacedBooking, n as Booking, r as BookingCustomer, u as BookingSlot } from "./bookings-6dC83XE6.js";
|
|
2
2
|
import { t as EventCalendarEvent } from "./event-calendar-aJSOUoNM.js";
|
|
3
3
|
import { b as DbError } from "./result-aun_QZHn.js";
|
|
4
|
-
import { n as Controller } from "./controller-
|
|
4
|
+
import { n as Controller } from "./controller-DMoPjq2t.js";
|
|
5
5
|
import { t as VisibleRange } from "./range-BN3kpJAE.js";
|
|
6
6
|
/** A booking row as `hold_booking`, `list_bookings` and the others return it. */
|
|
7
7
|
declare function bookingOf(value: unknown): Booking;
|
|
@@ -4,7 +4,7 @@ import { T as ErrorMapper, t as AsyncResult } from "./result-aun_QZHn.js";
|
|
|
4
4
|
import { i as EventSink } from "./cloud-event-B0AsPtwP.js";
|
|
5
5
|
import { _ as JobHandler } from "./types-CID74uQG.js";
|
|
6
6
|
import { r as BlockTemporalOptions } from "./block-helpers-DDotKGAf.js";
|
|
7
|
-
import { f as LifecycleStorage, n as DataExport } from "./manifest-
|
|
7
|
+
import { f as LifecycleStorage, n as DataExport } from "./manifest-D-kHfhG5.js";
|
|
8
8
|
import { a as CredentialSubject, i as CredentialRef, r as CredentialProvider } from "./provider-DSokOaUo.js";
|
|
9
9
|
interface DataExporterOptions extends BlockTemporalOptions {
|
|
10
10
|
/**
|