better-supabase 0.58.3 → 0.60.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{account-parts-DxSyD4yi.d.ts → account-parts-D-cLYi0Y.d.ts} +1 -1
- package/dist/{adapter-base-BbnpIsy4.js → adapter-base-BHtxRoRg.js} +1 -1
- package/dist/{agents-CbsEgoLN.d.ts → agents-FJk0CNex.d.ts} +2 -2
- package/dist/{ai-schedules-D47O_Vlo.d.ts → ai-schedules-wlL3DKqu.d.ts} +1 -1
- package/dist/ai-sdk/agents/index.d.ts +1 -1
- package/dist/ai-sdk/workflow/index.d.ts +1 -1
- package/dist/{api-wRlj_7so.d.ts → api-CSx2F4zg.d.ts} +1 -1
- package/dist/{api-DsFkhsYI.js → api-Clu-XitC.js} +1 -1
- package/dist/{app-tables-IXL0Hzut.d.ts → app-tables-C_bRG0ek.d.ts} +1 -1
- package/dist/{approvals-Clg-7ghA.js → approvals-D7Xhpd52.js} +8 -6
- package/dist/{approvals-Bbxeiywy.d.ts → approvals-Dn_DM4Oi.d.ts} +6 -0
- package/dist/astro/index.d.ts +3 -3
- package/dist/astro/index.js +3 -3
- package/dist/{authorization-Dq47C4vf.d.ts → authorization-Cn_oEGoA.d.ts} +1 -1
- package/dist/better-result/index.d.ts +2 -2
- package/dist/{bind-BRkDWXXk.d.ts → bind-Dopmkg_T.d.ts} +4 -4
- package/dist/{block-env-I8juWoVO.d.ts → block-env-4tgXDIAX.d.ts} +4 -4
- package/dist/{block-tables-DmDyNlJf.d.ts → block-tables-KnVB7FH0.d.ts} +1 -1
- package/dist/blocks/access-requests/index.d.ts +1 -1
- package/dist/blocks/accounting/index.d.ts +1 -1
- package/dist/blocks/acknowledgements/index.d.ts +1 -1
- package/dist/blocks/activities/index.d.ts +2 -2
- package/dist/blocks/advisories/index.d.ts +1 -1
- package/dist/blocks/agent-checkout/index.d.ts +1 -1
- package/dist/blocks/agents/index.d.ts +1 -1
- package/dist/blocks/ai-cache/index.d.ts +1 -1
- package/dist/blocks/ai-chat/index.d.ts +1 -1
- package/dist/blocks/ai-evals/index.d.ts +1 -1
- package/dist/blocks/ai-files/index.d.ts +1 -1
- package/dist/blocks/ai-guardrails/index.d.ts +1 -1
- package/dist/blocks/ai-keys/index.d.ts +1 -1
- package/dist/blocks/ai-schedules/index.d.ts +2 -2
- package/dist/blocks/announcements/index.d.ts +4 -4
- package/dist/blocks/api-keys/index.d.ts +1 -1
- package/dist/blocks/appraisals/index.d.ts +1 -1
- package/dist/blocks/approvals/index.d.ts +2 -2
- package/dist/blocks/approvals/index.js +2 -2
- package/dist/blocks/assets/index.d.ts +2 -2
- package/dist/blocks/assignment/index.d.ts +1 -1
- package/dist/blocks/attachments/index.d.ts +5 -5
- package/dist/blocks/audit/index.d.ts +2 -2
- package/dist/blocks/automations/index.d.ts +4 -4
- package/dist/blocks/banking/index.d.ts +1 -1
- package/dist/blocks/billable-time/index.d.ts +1 -1
- package/dist/blocks/billing/index.d.ts +3 -3
- package/dist/blocks/bookings/index.d.ts +2 -2
- package/dist/blocks/bulk-actions/index.d.ts +2 -2
- package/dist/blocks/calendar/index.d.ts +3 -3
- package/dist/blocks/care/index.d.ts +27 -27
- package/dist/blocks/care/index.js +1 -1
- package/dist/blocks/care-plans/index.d.ts +3 -3
- package/dist/blocks/cases/index.d.ts +3 -3
- package/dist/blocks/catalog/index.d.ts +2 -2
- package/dist/blocks/channels/index.d.ts +1 -1
- package/dist/blocks/clinical-decision-support/index.d.ts +1 -1
- package/dist/blocks/cms/index.d.ts +5 -5
- package/dist/blocks/cms/index.js +1 -1
- package/dist/blocks/collaboration/index.d.ts +6 -6
- package/dist/blocks/collections/index.d.ts +1 -1
- package/dist/blocks/comments/index.d.ts +2 -2
- package/dist/blocks/commerce/index.d.ts +5 -5
- package/dist/blocks/commissions/index.d.ts +1 -1
- package/dist/blocks/compliance/index.d.ts +1 -1
- package/dist/blocks/connectors/index.d.ts +1 -1
- package/dist/blocks/consents/index.d.ts +2 -2
- package/dist/blocks/contacts/index.d.ts +2 -2
- package/dist/blocks/content/index.d.ts +2 -2
- package/dist/blocks/contracts/index.d.ts +1 -1
- package/dist/blocks/courses/index.d.ts +2 -2
- package/dist/blocks/created-by/index.d.ts +2 -2
- package/dist/blocks/crm/index.d.ts +17 -17
- package/dist/blocks/crm/index.js +2 -2
- package/dist/blocks/custom-fields/index.d.ts +1 -1
- package/dist/blocks/dam/index.d.ts +2 -2
- package/dist/blocks/data-lifecycle/index.d.ts +2 -2
- package/dist/blocks/deadlines/index.d.ts +1 -1
- package/dist/blocks/deals/index.d.ts +1 -1
- package/dist/blocks/dispatch/index.d.ts +2 -2
- package/dist/blocks/document-templates/index.d.ts +2 -2
- package/dist/blocks/documents/index.d.ts +1 -1
- package/dist/blocks/domains/index.d.ts +1 -1
- package/dist/blocks/donations/index.d.ts +1 -1
- package/dist/blocks/drive/index.d.ts +5 -5
- package/dist/blocks/e-prescribing/index.d.ts +1 -1
- package/dist/blocks/employees/index.d.ts +1 -1
- package/dist/blocks/enrichment/index.d.ts +1 -1
- package/dist/blocks/enrollments/index.d.ts +2 -2
- package/dist/blocks/entitlements/index.d.ts +3 -3
- package/dist/blocks/events/index.d.ts +3 -3
- package/dist/blocks/expenses/index.d.ts +1 -1
- package/dist/blocks/field-history/index.d.ts +1 -1
- package/dist/blocks/filespace/index.d.ts +8 -8
- package/dist/blocks/finance/index.d.ts +5 -5
- package/dist/blocks/finance/index.js +1 -1
- package/dist/blocks/flags/index.d.ts +1 -1
- package/dist/blocks/forecasts/index.d.ts +1 -1
- package/dist/blocks/forms/index.d.ts +3 -3
- package/dist/blocks/funding/index.d.ts +2 -2
- package/dist/blocks/goals/index.d.ts +1 -1
- package/dist/blocks/governance/index.d.ts +4 -4
- package/dist/blocks/guests/index.d.ts +1 -1
- package/dist/blocks/hiring/index.d.ts +1 -1
- package/dist/blocks/identities/index.d.ts +1 -1
- package/dist/blocks/imports/index.d.ts +2 -2
- package/dist/blocks/inbox/index.d.ts +6 -6
- package/dist/blocks/incidents/index.d.ts +1 -1
- package/dist/blocks/index.d.ts +5 -5
- package/dist/blocks/index.js +2 -2
- package/dist/blocks/inspections/index.d.ts +2 -2
- package/dist/blocks/inventory/index.d.ts +1 -1
- package/dist/blocks/invoices/index.d.ts +2 -2
- package/dist/blocks/invoices/index.js +1 -1
- package/dist/blocks/knowledge/index.d.ts +1 -1
- package/dist/blocks/lead-scoring/index.d.ts +2 -2
- package/dist/blocks/learning/index.d.ts +3 -3
- package/dist/blocks/leases/index.d.ts +1 -1
- package/dist/blocks/leave/index.d.ts +1 -1
- package/dist/blocks/ledger/index.d.ts +1 -1
- package/dist/blocks/legal-entities/index.d.ts +2 -2
- package/dist/blocks/lims/index.d.ts +2 -2
- package/dist/blocks/mail-sync/index.d.ts +3 -3
- package/dist/blocks/maintenance/index.d.ts +2 -2
- package/dist/blocks/manufacturing/index.d.ts +2 -2
- package/dist/blocks/medications/index.d.ts +1 -1
- package/dist/blocks/meetings/index.d.ts +3 -3
- package/dist/blocks/memberships/index.d.ts +2 -2
- package/dist/blocks/memory/index.d.ts +1 -1
- package/dist/blocks/messaging/index.d.ts +5 -5
- package/dist/blocks/metrics/index.d.ts +1 -1
- package/dist/blocks/mfa/index.d.ts +2 -2
- package/dist/blocks/moderation/index.d.ts +2 -2
- package/dist/blocks/notifications/index.d.ts +5 -5
- package/dist/blocks/numbering/index.d.ts +1 -1
- package/dist/blocks/oauth-server/index.d.ts +1 -1
- package/dist/blocks/observations/index.d.ts +2 -2
- package/dist/blocks/onboarding/index.d.ts +2 -2
- package/dist/blocks/option-sets/index.d.ts +2 -2
- package/dist/blocks/orders/index.d.ts +1 -1
- package/dist/blocks/organizations/index.d.ts +2 -2
- package/dist/blocks/outbox/index.d.ts +1 -1
- package/dist/blocks/passes/index.d.ts +2 -2
- package/dist/blocks/payroll-export/index.d.ts +2 -2
- package/dist/blocks/people/index.d.ts +7 -7
- package/dist/blocks/periods/index.d.ts +1 -1
- package/dist/blocks/permissions/index.d.ts +3 -3
- package/dist/blocks/pipelines/index.d.ts +2 -2
- package/dist/blocks/posts/index.d.ts +2 -2
- package/dist/blocks/procurement/index.d.ts +5 -5
- package/dist/blocks/procurement/index.js +1 -1
- package/dist/blocks/profiles/index.d.ts +1 -1
- package/dist/blocks/projects/index.d.ts +7 -7
- package/dist/blocks/projects/index.js +2 -2
- package/dist/blocks/promotions/index.d.ts +1 -1
- package/dist/blocks/prompts/index.d.ts +1 -1
- package/dist/blocks/push/index.d.ts +2 -2
- package/dist/blocks/qualifications/index.d.ts +2 -2
- package/dist/blocks/queue/index.d.ts +2 -2
- package/dist/blocks/quotes/index.d.ts +1 -1
- package/dist/blocks/rank/index.d.ts +1 -1
- package/dist/blocks/reactions/index.d.ts +4 -4
- package/dist/blocks/recruiting/index.d.ts +4 -4
- package/dist/blocks/referrals/index.d.ts +1 -1
- package/dist/blocks/relations/index.d.ts +1 -1
- package/dist/blocks/reminders/index.d.ts +1 -1
- package/dist/blocks/reviews/index.d.ts +1 -1
- package/dist/blocks/rfqs/index.d.ts +2 -2
- package/dist/blocks/risks/index.d.ts +2 -2
- package/dist/blocks/saas/index.d.ts +12 -12
- package/dist/blocks/sales/index.d.ts +1 -1
- package/dist/blocks/sales/index.js +1 -1
- package/dist/blocks/saved-views/index.d.ts +3 -3
- package/dist/blocks/scheduling/index.d.ts +4 -4
- package/dist/blocks/scores/index.d.ts +2 -2
- package/dist/blocks/search/index.d.ts +3 -3
- package/dist/blocks/security-events/index.d.ts +1 -1
- package/dist/blocks/segments/index.d.ts +2 -2
- package/dist/blocks/sequences/index.d.ts +3 -3
- package/dist/blocks/service/index.d.ts +7 -7
- package/dist/blocks/service-accounts/index.d.ts +1 -1
- package/dist/blocks/sessions/index.d.ts +2 -2
- package/dist/blocks/settings/index.d.ts +2 -2
- package/dist/blocks/share-links/index.d.ts +1 -1
- package/dist/blocks/shifts/index.d.ts +2 -2
- package/dist/blocks/shipments/index.d.ts +1 -1
- package/dist/blocks/signatures/index.d.ts +2 -2
- package/dist/blocks/signing-keys/index.d.ts +1 -1
- package/dist/blocks/sla/index.d.ts +1 -1
- package/dist/blocks/sso/index.d.ts +1 -1
- package/dist/blocks/state-machine/index.d.ts +1 -1
- package/dist/blocks/subjects/index.d.ts +2 -2
- package/dist/blocks/support/index.d.ts +5 -5
- package/dist/blocks/tags/index.d.ts +2 -2
- package/dist/blocks/tasks/index.d.ts +2 -2
- package/dist/blocks/tax/index.d.ts +2 -2
- package/dist/blocks/teams/index.d.ts +1 -1
- package/dist/blocks/templates/index.d.ts +1 -1
- package/dist/blocks/tills/index.d.ts +1 -1
- package/dist/blocks/time-entries/index.d.ts +2 -2
- package/dist/blocks/timeline/index.d.ts +1 -1
- package/dist/blocks/trash/index.d.ts +1 -1
- package/dist/blocks/undo/index.d.ts +2 -2
- package/dist/blocks/updated-at/index.d.ts +2 -2
- package/dist/blocks/usage/index.d.ts +2 -2
- package/dist/blocks/vercel-marketplace/index.d.ts +1 -1
- package/dist/blocks/versions/index.d.ts +1 -1
- package/dist/blocks/waitlist/index.d.ts +1 -1
- package/dist/blocks/warehouse/index.d.ts +1 -1
- package/dist/blocks/warranty/index.d.ts +1 -1
- package/dist/blocks/webhooks/index.d.ts +2 -2
- package/dist/blocks/workflow-editor/index.d.ts +4 -4
- package/dist/blocks/workflows/index.d.ts +4 -4
- package/dist/{blocks-RVd7m590.d.ts → blocks-sDhFO8-h.d.ts} +4 -4
- package/dist/{build-Cb9yLxtS.js → build-QM0GdQ2B.js} +1 -1
- package/dist/{cache-tags-BxpxsCtq.d.ts → cache-tags-FrJaMalu.d.ts} +1 -1
- package/dist/claims/index.d.ts +4 -4
- package/dist/{claims-source-CXAtLZ9_.d.ts → claims-source-CeefCyGV.d.ts} +1 -1
- package/dist/cli/add-BBZULhs3.js +1 -0
- package/dist/cli/{add-dbBQf6Vy.js → add-OllEkXon.js} +11 -11
- package/dist/cli/{add-BQZyQh4f.js → add-djLR310z.js} +2 -2
- package/dist/cli/{app-table-files-CITEmvRS.js → app-table-files-DnoDAkVJ.js} +4 -4
- package/dist/cli/{app-tables-BBqu3dow.js → app-tables-C4shCkBv.js} +2 -2
- package/dist/cli/{backfill-bBk3QjfK.js → backfill-_spwSvnn.js} +3 -3
- package/dist/cli/bin.js +1 -1
- package/dist/cli/{blocks-D-DV2aCE.js → blocks-Cvs0nhC2.js} +1 -1
- package/dist/cli/{blocks-CsQNweG8.js → blocks-DFkzCFQi.js} +1 -1
- package/dist/cli/{cache-sR8AQqSV.js → cache-B0JnXfiY.js} +1 -1
- package/dist/cli/{codemod-BkPcyPnF.js → codemod-D2Lnca97.js} +6 -6
- package/dist/cli/{codemod-naming-BLoVSmVF.js → codemod-naming-CHIeOTt5.js} +1 -1
- package/dist/cli/{column-renames-brM-D_th.js → column-renames-4OHEvCAj.js} +2 -2
- package/dist/cli/{config-NxPVkM-K.js → config-DD_MnPRL.js} +1 -0
- package/dist/cli/{config-BGh7rJwA.js → config-DkjilxeE.js} +1 -1
- package/dist/cli/{content-mapper-DMi2HOKi.js → content-mapper-DAYxPQ18.js} +1 -1
- package/dist/cli/{db-od92zIrO.js → db-CEUnv3hK.js} +2 -2
- package/dist/cli/{dev-ClH-7fB0.js → dev-Xw7pt3KG.js} +5 -5
- package/dist/cli/{doctor-C_BEuEGg.js → doctor-diSKQp-6.js} +724 -32
- package/dist/cli/{emit-CTzFdffA.js → emit-CICey-Za.js} +2 -2
- package/dist/cli/{gen-RKf7q3L5.js → gen-BVuNFeLB.js} +5 -5
- package/dist/cli/{gen-tasks-DmDvgVBV.js → gen-tasks-C2vwKKTc.js} +11 -11
- package/dist/cli/index.d.ts +1 -1
- package/dist/cli/index.js +8 -8
- package/dist/cli/{init-B_CCByIh.js → init-9BSoBkny.js} +9 -9
- package/dist/cli/{live-DjjMID3V.js → live-Ce8vdcCn.js} +2 -2
- package/dist/cli/{mcp-BYwrZHp1.js → mcp-UW-gEnP_.js} +2 -2
- package/dist/cli/{memo-backend-BIHqP1uE.js → memo-backend-BMdfsihK.js} +1 -1
- package/dist/cli/{metadata-DCtLUYqR.js → metadata-DqrbS0sS.js} +4 -4
- package/dist/cli/{migrate-Bq6CUPbE.js → migrate-Cn8L_0co.js} +1 -1
- package/dist/cli/{migration-safety-BvJ-JK5n.js → migration-safety-C1Ysrthi.js} +2 -2
- package/dist/cli/{module-migration-Dv6VV1om.js → module-migration-DXI95fqs.js} +1 -1
- package/dist/cli/{partition-C4g7WAwh.js → partition-CJCrIueu.js} +3 -3
- package/dist/cli/{powersync-1HMiZhFF.js → powersync-CB-7AksZ.js} +4 -4
- package/dist/cli/powersync-JTdU1Xpy.js +1 -0
- package/dist/cli/{print-D9biMrfv.js → print-AVVgXsLG.js} +2 -2
- package/dist/cli/{providers-C5fw9XC_.js → providers-B3FLmlud.js} +1 -1
- package/dist/cli/{prune-workflows-DxpPCevB.js → prune-workflows-CrLDmFf1.js} +3 -3
- package/dist/cli/{remove-CyhSdPkK.js → remove-00SZWfyi.js} +6 -6
- package/dist/cli/{render-DOz25g5T.js → render-3J7sk_CL.js} +5 -5
- package/dist/cli/{render-cache-CInSNFhV.js → render-cache-P4gQeivH.js} +1 -1
- package/dist/cli/round-trips-BHfeIu6I.js +238 -0
- package/dist/cli/{run-DVdkD1MI.js → run-CByEIEng.js} +35 -35
- package/dist/cli/{run-0bMsZ1VV.js → run-D_z9ULO7.js} +7 -7
- package/dist/cli/seed-CucH5loT.js +1 -0
- package/dist/cli/{seed-DVKgi-7l.js → seed-CvDA1ItH.js} +2 -2
- package/dist/cli/{shared-D2i8_u-U.js → shared-d021xfdn.js} +1 -1
- package/dist/cli/{source-BGVOuWXq.js → source-DdqeWoO4.js} +1 -1
- package/dist/cli/{source-args-B3Rowfv5.js → source-args-yU6N6JLm.js} +1 -1
- package/dist/cli/{spec-COotILIk.js → spec-ClfqDbVv.js} +2 -2
- package/dist/cli/{spec-C_JKo_dP.js → spec-Diudl7hC.js} +1 -1
- package/dist/cli/{sql-layout-D8dIzdy9.js → sql-layout-Bl3iOXMS.js} +4 -4
- package/dist/cli/{squash-xCseaSP1.js → squash-C07y7CsQ.js} +1 -1
- package/dist/cli/{sync-Ceqa-3R6.js → sync-Cw0ke-3h.js} +4 -4
- package/dist/cli/{upgrade-CUNKALDw.js → upgrade-niwEovfl.js} +5 -5
- package/dist/cli/{upgrade-DiMHauEU.js → upgrade-oc6s5Xoe.js} +5 -5
- package/dist/cli/{verify-BFLaU6w3.js → verify-CrFHs8Lr.js} +2 -2
- package/dist/cli/{version-C7imaHag.js → version-Bd3kCDzL.js} +1 -1
- package/dist/client/index.d.ts +5 -5
- package/dist/client/index.js +1 -1
- package/dist/client/native/index.d.ts +5 -5
- package/dist/client/native/index.js +2 -2
- package/dist/{codec-Cjquuv8M.js → codec-BI1mq95W.js} +1 -1
- package/dist/{composite-CL4zDLjs.d.ts → composite-BVEOyec_.d.ts} +3 -3
- package/dist/{composite-DYAp3Znr.js → composite-Tsm5QFS2.js} +1 -1
- package/dist/{composite-reads-BJeDe1yV.js → composite-reads-BJJBI4tL.js} +1 -1
- package/dist/{composite-reads-B9psRGqQ.d.ts → composite-reads-DvN7EgDO.d.ts} +1 -1
- package/dist/config/index.d.ts +4 -4
- package/dist/config/index.js +2 -2
- package/dist/{config-DzPViWQU.js → config-cisS43w5.js} +2 -1
- package/dist/{context-DMBXEzQa.d.ts → context-C_Rx1QaW.d.ts} +4 -3
- package/dist/contract/index.d.ts +4 -4
- package/dist/{controller-CaZv50cD.d.ts → controller-D9N4NKbM.d.ts} +1 -1
- package/dist/{conversion-D2key0v9.d.ts → conversion-CruLbcu8.d.ts} +1 -1
- package/dist/create/index.d.ts +4 -4
- package/dist/create/index.js +1 -1
- package/dist/create/lite/index.d.ts +3 -3
- package/dist/create/lite/index.js +3 -3
- package/dist/{db-blocks-Db3LVXco.d.ts → db-blocks-DB8Ct8Eu.d.ts} +11 -2
- package/dist/{define-block-kWv1wYf7.d.ts → define-block-Cd7dm2o6.d.ts} +7 -2
- package/dist/{define-runtime-Dv8OYnKW.js → define-runtime-Ca5NN0gu.js} +2 -2
- package/dist/{define-runtime-full-Bh5c_01f.js → define-runtime-full-DeuaXsV7.js} +45 -38
- package/dist/{delete-account-BHXzIUIq.d.ts → delete-account-DwGFiIYv.d.ts} +1 -1
- package/dist/{drive-Bm-up0KU.d.ts → drive-C6thwExa.d.ts} +2 -2
- package/dist/e-invoicing/index.d.ts +1 -1
- package/dist/edge/index.d.ts +5 -5
- package/dist/edge/index.js +4 -4
- package/dist/{entitlements-UGUF2RJv.d.ts → entitlements-CR5HRd3S.d.ts} +2 -2
- package/dist/eve/index.d.ts +1 -1
- package/dist/eve/index.js +1 -1
- package/dist/{executor-B0nTn-4Q.js → executor-Bot0tkvU.js} +2 -2
- package/dist/{executor-Dp4A_McY.d.ts → executor-CTuilcgE.d.ts} +2 -2
- package/dist/expo/index.d.ts +2 -2
- package/dist/expo/index.js +3 -3
- package/dist/{extract-Bs_b4ZIX.d.ts → extract-B2My7IhT.d.ts} +1 -1
- package/dist/{extras-C258FsPj.d.ts → extras-CKwPSpGL.d.ts} +1 -1
- package/dist/{field-errors-BKCtkPxS.d.ts → field-errors-CihTLojJ.d.ts} +6 -6
- package/dist/{former-permission-keys-hL23tm66.js → former-permission-keys-D8FbWktT.js} +4 -3
- package/dist/{framework-C9UiMaOq.js → framework-BYZ8c9_g.js} +1 -1
- package/dist/{framework-BUzOnlJN.d.ts → framework-giXStk8k.d.ts} +3 -3
- package/dist/generators/factories/index.d.ts +1 -1
- package/dist/generators/factories/index.js +1 -1
- package/dist/generators/index.d.ts +2 -2
- package/dist/generators/json-schema/index.d.ts +2 -2
- package/dist/generators/json-schema/index.js +1 -1
- package/dist/generators/nuqs/index.d.ts +1 -1
- package/dist/generators/nuqs/index.js +1 -1
- package/dist/generators/standard-schema/index.d.ts +1 -1
- package/dist/generators/standard-schema/index.js +1 -1
- package/dist/generators/valibot/index.d.ts +1 -1
- package/dist/generators/valibot/index.js +1 -1
- package/dist/generators/zod/index.d.ts +1 -1
- package/dist/generators/zod/index.js +1 -1
- package/dist/hono/index.d.ts +4 -4
- package/dist/hono/index.js +3 -3
- package/dist/{index-CDCyOPT7.d.ts → index-28PPT5w7.d.ts} +2 -2
- package/dist/{index-nsEUHz98.d.ts → index-69aFw9Id.d.ts} +2 -2
- package/dist/{index-BtuseUSW.d.ts → index-74TASXlD.d.ts} +1 -1
- package/dist/{index-DOBq5QFe.d.ts → index-B0dSXth6.d.ts} +1 -1
- package/dist/{index-Mq2z-GgJ.d.ts → index-BOuJSOaf.d.ts} +1 -1
- package/dist/{index-DLVuARYk.d.ts → index-BnY5lZtT.d.ts} +9 -9
- package/dist/{index-rFIDpwjh.d.ts → index-BqUY2MB-.d.ts} +1 -1
- package/dist/{index-BG-WQ0JH.d.ts → index-BrnGYShi.d.ts} +2 -2
- package/dist/{index-BMh8ACKR.d.ts → index-Bs6OCtxW.d.ts} +1 -1
- package/dist/{index-CIVA5x1i.d.ts → index-BszN5nLs.d.ts} +2 -2
- package/dist/{index-CjeQqQzW.d.ts → index-Bv2kSYet.d.ts} +4 -4
- package/dist/{index-R_k3Nh4y.d.ts → index-BvRseRob.d.ts} +3 -3
- package/dist/{index-DIK12ZTb.d.ts → index-BvZ3uvj9.d.ts} +2 -2
- package/dist/{index-ClysJ8O-.d.ts → index-C1na2fiY.d.ts} +3 -3
- package/dist/{index-DgiSwhKf.d.ts → index-C59gKJBx.d.ts} +1 -1
- package/dist/{index-DcdC0Qll.d.ts → index-CGAcXNod.d.ts} +1 -1
- package/dist/{index-DWxio8F_.d.ts → index-CMyUugyW.d.ts} +8 -8
- package/dist/{index-BYx-ObF-.d.ts → index-CdoTvK2W.d.ts} +1 -1
- package/dist/{index-CkCuMFVG.d.ts → index-CiCmlbtu.d.ts} +1 -1
- package/dist/{index-B67YUNow.d.ts → index-CiLb3DTI.d.ts} +3 -3
- package/dist/{index-CzNRwKGG.d.ts → index-Cnc4wyTo.d.ts} +2 -2
- package/dist/{index-CDrLyU72.d.ts → index-Cpj79WyM.d.ts} +1 -1
- package/dist/{index-B6i7w-iS.d.ts → index-D50ulqMJ.d.ts} +1 -1
- package/dist/{index-48l12mNt.d.ts → index-D6px-XTD.d.ts} +2 -2
- package/dist/{index-DRKAMZV3.d.ts → index-DMHxmit5.d.ts} +4 -4
- package/dist/{index-BBf3nn7Y.d.ts → index-DflyfGR8.d.ts} +2 -2
- package/dist/{index-DebFs8qq.d.ts → index-DibtbiIW.d.ts} +1 -1
- package/dist/{index-B64DT6Io.d.ts → index-DpXMVE12.d.ts} +1 -1
- package/dist/{index-GamVr8VZ.d.ts → index-DsLMqyB5.d.ts} +1 -1
- package/dist/{index-C_DCvnW0.d.ts → index-DzUnwtxa.d.ts} +1 -1
- package/dist/{index-BZdSOt51.d.ts → index-Hzbfht3Z.d.ts} +1 -1
- package/dist/{index-bkm44ycq.d.ts → index-Sl13L6VB.d.ts} +4 -4
- package/dist/{index-DskEpSgl.d.ts → index-UQOB8v1I.d.ts} +1 -1
- package/dist/{index-CDxfstYD.d.ts → index-_No9Jb9O.d.ts} +1 -1
- package/dist/{index-icogJj2C.d.ts → index-cgHbN_EA.d.ts} +4 -4
- package/dist/{index-D2aht6Cz.d.ts → index-pry9PXpK.d.ts} +2 -2
- package/dist/{index-BJ1Mv0TK.d.ts → index-wc3-R_cK.d.ts} +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/{invoices-CWp9jcI2.d.ts → invoices-BXwG7Jwp.d.ts} +5 -0
- package/dist/{json-schema-CgwH39-G.js → json-schema-BveJfXoz.js} +1 -1
- package/dist/list/export/index.d.ts +1 -1
- package/dist/list/index.d.ts +1 -1
- package/dist/list/order/index.d.ts +2 -2
- package/dist/{list-query-qCpvTDGH.d.ts → list-query-CBjzZmjx.d.ts} +1 -1
- package/dist/{manifest-CD_ZA69x.d.ts → manifest-2JeNUq8t.d.ts} +1 -1
- package/dist/{manifest-9TRpR9P-.d.ts → manifest-3e0zfaQt.d.ts} +1 -1
- package/dist/{manifest-BXatXuLx.d.ts → manifest-3or1oZTo.d.ts} +1 -1
- package/dist/{manifest-mCn7RdZs.d.ts → manifest-AS4QwWdu.d.ts} +1 -1
- package/dist/{manifest-D02pP9Nl.d.ts → manifest-B1lYVfIp.d.ts} +1 -1
- package/dist/{manifest-dSiPcx5l.d.ts → manifest-B7xyFqWo.d.ts} +1 -1
- package/dist/{manifest-DF6GzdBC.d.ts → manifest-B9m_UaiY.d.ts} +1 -1
- package/dist/{manifest-BmGsyaxx.d.ts → manifest-B9qFGJ_A.d.ts} +1 -1
- package/dist/{manifest-CTEURHfF.d.ts → manifest-BSjzLeb-.d.ts} +1 -1
- package/dist/{manifest-BG2_hkzB.d.ts → manifest-BVn2Xglt.d.ts} +1 -1
- package/dist/{manifest-C1TwYhyr.d.ts → manifest-BWKFNoxP.d.ts} +1 -1
- package/dist/{manifest-DGrcTY4n.d.ts → manifest-BXWhDMFt.d.ts} +1 -1
- package/dist/{manifest-Cfrflbtt.d.ts → manifest-Bi44m1V3.d.ts} +1 -1
- package/dist/{manifest-Bsrn5gfq.d.ts → manifest-Bluupj7R.d.ts} +1 -1
- package/dist/{manifest-D32p1K-g.d.ts → manifest-Bo0SCigB.d.ts} +1 -1
- package/dist/{manifest-C3FjJnQT.d.ts → manifest-ByRLUGaJ.d.ts} +3 -3
- package/dist/{manifest-Cx_UVMlT.d.ts → manifest-C1--UMCz.d.ts} +1 -1
- package/dist/{manifest-BizfO8zf.d.ts → manifest-C20SXAzp.d.ts} +1 -1
- package/dist/{manifest-BKY6WHm6.d.ts → manifest-C40ISJVj.d.ts} +1 -1
- package/dist/{manifest-DBptC4dz.d.ts → manifest-C7KPtGTu.d.ts} +2 -2
- package/dist/{manifest-ChKRtAF6.d.ts → manifest-C82tY_RD.d.ts} +1 -1
- package/dist/{manifest-LAVlQXiw.d.ts → manifest-C94eugvl.d.ts} +1 -1
- package/dist/{manifest-tjlvcP1t.d.ts → manifest-CBdMkxZD.d.ts} +1 -1
- package/dist/{manifest-CxUI9ZXn.d.ts → manifest-CCPioFQl.d.ts} +1 -1
- package/dist/{manifest-BdV9GNAF.d.ts → manifest-CD5D0OWo.d.ts} +1 -1
- package/dist/{manifest-B91B3Yvk.d.ts → manifest-CGnN_2Yx.d.ts} +1 -1
- package/dist/{manifest-CpMVJWDU.d.ts → manifest-CH1MFzXN.d.ts} +1 -1
- package/dist/{manifest-BkJdR1D-.d.ts → manifest-CJRob2Ms.d.ts} +1 -1
- package/dist/{manifest-BdBaGzfE.d.ts → manifest-CgljOcHt.d.ts} +1 -1
- package/dist/{manifest-BSrdiUHP.d.ts → manifest-Ci7NEusH.d.ts} +1 -1
- package/dist/{manifest-gS-wx2yB.d.ts → manifest-CiXl1kUg.d.ts} +1 -1
- package/dist/{manifest-BNIvrs6_.d.ts → manifest-CjzIpyBP.d.ts} +2 -2
- package/dist/{manifest-B-wg2F2L.d.ts → manifest-ClDcyCPP.d.ts} +3 -3
- package/dist/{manifest-CIa0-uCj.d.ts → manifest-Co0CBReD.d.ts} +1 -1
- package/dist/{manifest-CPlmHPRY.d.ts → manifest-CpmJIEt7.d.ts} +1 -1
- package/dist/{manifest-DAv6iO-q.d.ts → manifest-Cqv6c1KN.d.ts} +1 -1
- package/dist/{manifest-BOxu_JMd.d.ts → manifest-CtUKrkx1.d.ts} +1 -1
- package/dist/{manifest-C7bh84U0.d.ts → manifest-D1FPczc-.d.ts} +1 -1
- package/dist/{manifest-VjVVI7bV.d.ts → manifest-D43yma-v.d.ts} +1 -1
- package/dist/{manifest-B7IYj4OA.d.ts → manifest-DAF4J0gk.d.ts} +1 -1
- package/dist/{manifest-BSSoVDlI.d.ts → manifest-DGoI006V.d.ts} +1 -1
- package/dist/{manifest-Ce_JDK4r.d.ts → manifest-DHN6WiIJ.d.ts} +1 -1
- package/dist/{manifest-C7CtYgWC.d.ts → manifest-DIl_cNua.d.ts} +1 -1
- package/dist/{manifest-BWE_47qq.d.ts → manifest-DJhjOnvk.d.ts} +1 -1
- package/dist/{manifest-Cn85_kP6.d.ts → manifest-DMhuQgOx.d.ts} +1 -1
- package/dist/{manifest-1P6OEAwH.d.ts → manifest-DQkz9UVy.d.ts} +1 -1
- package/dist/{manifest-Cz8poTZ2.d.ts → manifest-DUZUtWBi.d.ts} +1 -1
- package/dist/{manifest-BVwoT7GU.d.ts → manifest-DY2KtVcD.d.ts} +1 -1
- package/dist/{manifest-Dc_FWIrg.d.ts → manifest-DaB1w2xo.d.ts} +1 -1
- package/dist/{manifest-DZc_37YJ.d.ts → manifest-DpXgCZEd.d.ts} +1 -1
- package/dist/{manifest-BcqqAgm9.d.ts → manifest-Dqf2Uw17.d.ts} +1 -1
- package/dist/{manifest-D5aZyD1b.js → manifest-OxHBbWrs.js} +1 -1
- package/dist/{manifest-khfEDzX4.d.ts → manifest-Utivc7Qa.d.ts} +1 -1
- package/dist/{manifest-t9v09kRa.d.ts → manifest-WJ-UHuEx.d.ts} +1 -1
- package/dist/{manifest-BNCX3M2Y.d.ts → manifest-WpIMAJCT.d.ts} +1 -1
- package/dist/{manifest-Cle7S3sn.d.ts → manifest-at0NS8cT.d.ts} +1 -1
- package/dist/{manifest-D4iEPtlb.d.ts → manifest-d7vR6coE.d.ts} +2 -2
- package/dist/{manifest-BN2J8Zo7.d.ts → manifest-gl856Z9G.d.ts} +1 -1
- package/dist/{manifest-DcnVXlH7.d.ts → manifest-iGmnzfGD.d.ts} +1 -1
- package/dist/{manifest-BWFemJ6Q.d.ts → manifest-j4_V-qhA.d.ts} +1 -1
- package/dist/{manifest-blSYzmEZ.d.ts → manifest-mAxLRfeu.d.ts} +1 -1
- package/dist/{manifest-zEA2Tw_l.d.ts → manifest-mBKFNynL.d.ts} +1 -1
- package/dist/{manifest-SoNChfLL.d.ts → manifest-wPIH-Oo7.d.ts} +1 -1
- package/dist/{manifest-Djy3wcSo.js → manifest-waO9DHVc.js} +1 -0
- package/dist/mapper/bin.js +6 -6
- package/dist/mcp/index.d.ts +2 -2
- package/dist/mcp/index.js +1 -1
- package/dist/mcp/sdk/index.d.ts +2 -2
- package/dist/mcp/sdk/index.js +1 -1
- package/dist/{mcp-CoJbu0Hk.js → mcp-mSD-ic9W.js} +3 -3
- package/dist/next/index.d.ts +12 -12
- package/dist/next/index.js +10 -5
- package/dist/next/proxy/index.d.ts +3 -3
- package/dist/{operations-nnC3pvwn.d.ts → operations-dIOdHqYz.d.ts} +1 -1
- package/dist/orpc/index.d.ts +4 -4
- package/dist/orpc/index.js +2 -2
- package/dist/otel/index.js +5 -5
- package/dist/{permissions-Ccvec0MR.d.ts → permissions-DG0t2lrA.d.ts} +1 -1
- package/dist/{ports-CfVACwW_.d.ts → ports-CfiOCL2r.d.ts} +1 -1
- package/dist/{ports-DfDzwMCR.js → ports-DR88RF0N.js} +2 -2
- package/dist/powersync/index.d.ts +3 -3
- package/dist/powersync/index.js +1 -1
- package/dist/preset/index.d.ts +4 -4
- package/dist/{preview-CR1nZ6-E.d.ts → preview-3nes4WG4.d.ts} +2 -2
- package/dist/{project-CxoixIpG.js → project-CXcoauzs.js} +2 -2
- package/dist/{push-token-Rv1CxW_N.d.ts → push-token-CRBieazN.d.ts} +1 -1
- package/dist/query/index.d.ts +1 -1
- package/dist/react/index.d.ts +5 -5
- package/dist/react/native/index.d.ts +1 -1
- package/dist/react/server.d.ts +6 -6
- package/dist/react-router/index.d.ts +3 -3
- package/dist/react-router/index.js +3 -3
- package/dist/{read-set-BptYceHc.js → read-set-DfScfSsf.js} +3 -2
- package/dist/realtime/index.d.ts +3 -3
- package/dist/{record-form-mpamIVq3.d.ts → record-form-BggNAKZA.d.ts} +1 -1
- package/dist/records/index.d.ts +7 -7
- package/dist/{resource-execute-Bb-zKYUc.d.ts → resource-execute-BIqAzA57.d.ts} +1 -1
- package/dist/{resource-types-C8kdoZ-J.d.ts → resource-types-DcEe07vC.d.ts} +1 -1
- package/dist/{resources-B9dfA1jH.d.ts → resources-Bb_JRadM.d.ts} +1 -1
- package/dist/{sales-D_yZoFUU.js → sales-CIe7dE4J.js} +1 -1
- package/dist/server/account/index.d.ts +2 -2
- package/dist/server/accounts/index.d.ts +1 -1
- package/dist/server/index.d.ts +12 -12
- package/dist/server/index.js +4 -4
- package/dist/{server-CqRpnOo0.js → server-DA5SRGHQ.js} +2 -2
- package/dist/{server-types-C8zErBy9.d.ts → server-types-Cp2en4rP.d.ts} +2 -2
- package/dist/{session-DRn_URq0.d.ts → session-Bro3jmnu.d.ts} +1 -1
- package/dist/{sign-in-CMEBFv36.d.ts → sign-in-Cj7Y0mSU.d.ts} +11 -11
- package/dist/solid/index.d.ts +6 -6
- package/dist/solid-start/index.d.ts +3 -3
- package/dist/solid-start/index.js +3 -3
- package/dist/spec/index.d.ts +1 -1
- package/dist/spec/index.js +2 -2
- package/dist/sql/index.d.ts +5 -5
- package/dist/sql/index.js +1 -1
- package/dist/{sql-ZLYXNvXw.js → sql-BwfPwN8v.js} +304 -95
- package/dist/sqlite/index.d.ts +1 -1
- package/dist/sqlite/index.js +1 -1
- package/dist/ssr/index.d.ts +1 -1
- package/dist/svelte/index.d.ts +6 -6
- package/dist/sveltekit/index.d.ts +4 -4
- package/dist/sveltekit/index.js +3 -3
- package/dist/{tags-Bh4zXrnl.d.ts → tags-C7NyJTdU.d.ts} +1 -1
- package/dist/tanstack-db/index.d.ts +1 -1
- package/dist/tanstack-start/index.d.ts +3 -3
- package/dist/tanstack-start/index.js +3 -3
- package/dist/{tenant-DpJTJr1c.d.ts → tenant-BFABaxQ5.d.ts} +1 -1
- package/dist/testing/index.d.ts +9 -9
- package/dist/testing/index.js +4 -4
- package/dist/{timeline-CGjiciIY.d.ts → timeline-0a7kclhg.d.ts} +3 -3
- package/dist/{topic-R7kIJ_xI.d.ts → topic-BH4L7H8n.d.ts} +2 -2
- package/dist/{types-BidEA6pZ.d.ts → types-BMLgTFzf.d.ts} +2 -2
- package/dist/{verify-BfcOHiUP.d.ts → verify-tK2F49Gn.d.ts} +1 -1
- package/dist/{version-DRVVrk-u.js → version-BHgdHcZN.js} +1 -1
- package/dist/vue/index.d.ts +6 -6
- package/dist/{watch-topic-D18gT7-K.d.ts → watch-topic-BYfSlldk.d.ts} +1 -1
- package/dist/webmcp/index.d.ts +1 -1
- package/dist/webmcp/index.js +1 -1
- package/dist/yjs/index.d.ts +1 -1
- package/package.json +1 -1
- package/schemas/config-v1.json +3 -0
- package/schemas/doctor-report-v1.json +2 -0
- package/dist/cli/add-DHvo6zQZ.js +0 -1
- package/dist/cli/powersync-DLUNuNl4.js +0 -1
- package/dist/cli/round-trips-D2KD5Hpq.js +0 -56
- package/dist/cli/seed-Dlm5jjPn.js +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
|
-
import { c as BlockOf } from "./define-block-
|
|
2
|
+
import { c as BlockOf } from "./define-block-Cd7dm2o6.js";
|
|
3
3
|
import { Et as Events } from "./events-Bk63_mjA.js";
|
|
4
4
|
import { n as Money } from "./money-BgpAd7d3.js";
|
|
5
5
|
import { a as ListPage, n as BlockOptions } from "./block-helpers-D0QSs8ss.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
|
-
import { c as BlockOf } from "./define-block-
|
|
2
|
+
import { c as BlockOf } from "./define-block-Cd7dm2o6.js";
|
|
3
3
|
import { A as CommerceEventData, Et as Events, j as CommerceSubjectEventData } from "./events-Bk63_mjA.js";
|
|
4
4
|
import { n as Money } from "./money-BgpAd7d3.js";
|
|
5
5
|
import { t as StockDetail } from "./stock-detail-BRIt7CjU.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
|
-
import { c as BlockOf } from "./define-block-
|
|
2
|
+
import { c as BlockOf } from "./define-block-Cd7dm2o6.js";
|
|
3
3
|
import { Et as Events, gt as TimesheetEventData, ht as TimeEntryEventData } from "./events-Bk63_mjA.js";
|
|
4
4
|
import { n as Money } from "./money-BgpAd7d3.js";
|
|
5
5
|
import { n as ExtraFields, r as FieldsOf } from "./block-fields-go27qquz.js";
|
|
@@ -679,6 +679,7 @@ function invoiceOpenItems(call, invoice) {
|
|
|
679
679
|
legal_entity_id: options.legalEntityId ?? null
|
|
680
680
|
}, levelsOf),
|
|
681
681
|
approvalStatus: (invoiceId) => call("purchase_invoice_approval_status", { invoice: invoiceId }, approvalOf),
|
|
682
|
+
approvalStatuses: (invoiceIds) => call("purchase_invoice_approval_statuses", { invoice_ids: invoiceIds }, (value) => new Map(Object.entries(recordOf(value, "purchase_invoice_approval_statuses")).map(([id, approval]) => [id, approvalOf(approval)]))),
|
|
682
683
|
approvePurchaseInvoice: ({ invoiceId, ...options }) => invoice("approve_purchase_invoice", {
|
|
683
684
|
invoice: invoiceId,
|
|
684
685
|
comment: options.comment ?? null
|
package/dist/mapper/bin.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { d as loadSnapshot } from "../cli/sql-layout-
|
|
2
|
-
import { i as discoverConfig, s as loadConfig } from "../cli/config-
|
|
3
|
-
import { s as schemaStampPath } from "../cli/content-mapper-
|
|
1
|
+
import { d as loadSnapshot } from "../cli/sql-layout-Bl3iOXMS.js";
|
|
2
|
+
import { i as discoverConfig, s as loadConfig } from "../cli/config-DD_MnPRL.js";
|
|
3
|
+
import { s as schemaStampPath } from "../cli/content-mapper-DAYxPQ18.js";
|
|
4
4
|
import { i as parseEnv, n as configEnvironment } from "../cli/env-CQ831uY0.js";
|
|
5
|
-
import { i as renderTypesModule, t as mapperFilePath } from "../cli/render-
|
|
6
|
-
import { i as lastTypesModule, o as typesModuleKey, s as writeAtomic } from "../cli/cache-
|
|
7
|
-
import { t as VERSION } from "../cli/version-
|
|
5
|
+
import { i as renderTypesModule, t as mapperFilePath } from "../cli/render-3J7sk_CL.js";
|
|
6
|
+
import { i as lastTypesModule, o as typesModuleKey, s as writeAtomic } from "../cli/cache-B0JnXfiY.js";
|
|
7
|
+
import { t as VERSION } from "../cli/version-Bd3kCDzL.js";
|
|
8
8
|
import { existsSync, realpathSync } from "node:fs";
|
|
9
9
|
import { basename, dirname, join, resolve } from "node:path";
|
|
10
10
|
import { readFile } from "node:fs/promises";
|
package/dist/mcp/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { r as GuardOptions } from "../respond-DNcBzi_Y.js";
|
|
2
|
-
import { l as ResourceRouteOptions } from "../resource-types-
|
|
3
|
-
import { _ as ToolResult, a as ToolDecision, c as ToolResourceOptions, d as defineTool, f as MCP_PROTOCOL_VERSION, g as ToolInfo, h as ToolAnnotations, i as ToolContext, l as ToolResources, m as ServerDescription, n as McpOptions, o as ToolDefinition, p as ProtocolServer, r as McpTool, s as ToolRef, t as BetterMcp, u as createMcp, v as answerLine, y as answerMessage } from "../index-
|
|
2
|
+
import { l as ResourceRouteOptions } from "../resource-types-DcEe07vC.js";
|
|
3
|
+
import { _ as ToolResult, a as ToolDecision, c as ToolResourceOptions, d as defineTool, f as MCP_PROTOCOL_VERSION, g as ToolInfo, h as ToolAnnotations, i as ToolContext, l as ToolResources, m as ServerDescription, n as McpOptions, o as ToolDefinition, p as ProtocolServer, r as McpTool, s as ToolRef, t as BetterMcp, u as createMcp, v as answerLine, y as answerMessage } from "../index-Sl13L6VB.js";
|
|
4
4
|
export { type BetterMcp, type GuardOptions, MCP_PROTOCOL_VERSION, type McpOptions, type McpTool, type ProtocolServer, type ResourceRouteOptions, type ServerDescription, type ToolAnnotations, type ToolContext, type ToolDecision, type ToolDefinition, type ToolInfo, type ToolRef, type ToolResourceOptions, type ToolResources, type ToolResult, answerLine, answerMessage, createMcp, defineTool };
|
package/dist/mcp/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { r as MCP_PROTOCOL_VERSION, i as answerLine, a as answerMessage, t as createMcp, n as defineTool } from "../mcp-
|
|
1
|
+
export { r as MCP_PROTOCOL_VERSION, i as answerLine, a as answerMessage, t as createMcp, n as defineTool } from "../mcp-mSD-ic9W.js";
|
package/dist/mcp/sdk/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as AuthState } from "../../resolve-Chhtdk4M.js";
|
|
2
|
-
import { s as BetterSupabase } from "../../db-blocks-
|
|
2
|
+
import { s as BetterSupabase } from "../../db-blocks-DB8Ct8Eu.js";
|
|
3
3
|
import { O as AnyFunctions, k as AnyModels } from "../../types-BJ4cg51a.js";
|
|
4
4
|
import { r as GuardOptions, t as AllowedCaller } from "../../respond-DNcBzi_Y.js";
|
|
5
|
-
import { r as BetterServer, s as ServerContext$1, u as ServerOptions } from "../../server-types-
|
|
5
|
+
import { r as BetterServer, s as ServerContext$1, u as ServerOptions } from "../../server-types-Cp2en4rP.js";
|
|
6
6
|
import { i as SupabaseMcpScope, n as SupabaseMcpModule, r as SupabaseMcpPlatformModule, t as SupabaseMcpFeature } from "../../supabase-mcp-DY32eoax.js";
|
|
7
7
|
import { i as CredentialRef, r as CredentialProvider } from "../../provider-r2RjlARm.js";
|
|
8
8
|
import { AuthInfo, CallToolResult, Icon, InputRequiredResult, OAuthTokenVerifier, RegisteredTool, ScopeChallengeHandler, ServerContext, StandardSchemaWithJSON, ToolAnnotations } from "@modelcontextprotocol/server";
|
package/dist/mcp/sdk/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import { i as delegationOf } from "../../actor-DraVJ7tB.js";
|
|
|
2
2
|
import { h as resolveToken, p as flushEvents } from "../../sessions-Dedk1ubX.js";
|
|
3
3
|
import { t as withExtra } from "../../extra-Dz9n5y1s.js";
|
|
4
4
|
import { i as guard } from "../../respond-DLvLJwwN.js";
|
|
5
|
-
import { n as extendServer, t as createServer } from "../../server-
|
|
5
|
+
import { n as extendServer, t as createServer } from "../../server-DA5SRGHQ.js";
|
|
6
6
|
import { a as withCors, i as metadataPreflight, n as endpointPreflight, r as isMetadataRequest, t as discovery } from "../../http-BRUI3qim.js";
|
|
7
7
|
import { n as dbError } from "../../errors-DK1wGb9z.js";
|
|
8
8
|
import { o as problemResponse } from "../../problem-BwplIuhI.js";
|
|
@@ -3,13 +3,13 @@ import { n as jsonResponse, t as jsonReplacer } from "./json-O5vFw243.js";
|
|
|
3
3
|
import { a as methodNotAllowed, c as toProblem, o as problemResponse } from "./problem-BwplIuhI.js";
|
|
4
4
|
import { n as validate } from "./standard-DM4THQrL.js";
|
|
5
5
|
import { t as boundedTtlCache } from "./ttl-cache-C5S0L2wx.js";
|
|
6
|
-
import { n as toJsonSchema, r as toDraft07 } from "./json-schema-
|
|
7
|
-
import { t as adapterBase } from "./adapter-base-
|
|
6
|
+
import { n as toJsonSchema, r as toDraft07 } from "./json-schema-BveJfXoz.js";
|
|
7
|
+
import { t as adapterBase } from "./adapter-base-BHtxRoRg.js";
|
|
8
8
|
import { p as flushEvents } from "./sessions-Dedk1ubX.js";
|
|
9
9
|
import { t as withExtra } from "./extra-Dz9n5y1s.js";
|
|
10
10
|
import { t as defineResource } from "./resource-BxSmk1R1.js";
|
|
11
11
|
import { i as guard, s as settle } from "./respond-DLvLJwwN.js";
|
|
12
|
-
import { n as extendServer, t as createServer } from "./server-
|
|
12
|
+
import { n as extendServer, t as createServer } from "./server-DA5SRGHQ.js";
|
|
13
13
|
import { r as pageSchema, t as pageInputSchema } from "./resource-schemas-Bq0g2RCQ.js";
|
|
14
14
|
import { a as withCors, i as metadataPreflight, n as endpointPreflight, r as isMetadataRequest, t as discovery } from "./http-BRUI3qim.js";
|
|
15
15
|
import { t as base64ToText } from "./base64-CEBz6-Jj.js";
|
package/dist/next/index.d.ts
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { O as AnyFunctions, Ut as AnyAuthorizer, et as RecordRef, in as PermissionRef, k as AnyModels, rn as AuthzVersionCache } from "../types-BJ4cg51a.js";
|
|
2
|
-
import {
|
|
3
|
-
import { $ as RecordView, A as RouteOptions, B as SupportStarted, C as RemoteCachedOptions, D as ResendParams, E as RequireOptions, F as SignInWithOAuthParams, G as NextResourcesOptions, H as VerifySessionOptions, I as SignInWithOtpParams, J as RecordLoadOptions, K as RecordListServer, L as SignOutParams, M as SessionHandle, N as SignInCredentials, O as ResetPasswordParams, P as SignInOptions, Q as RecordTimelineOptions, R as SignUpParams, S as RemoteCacheKey, T as RequireAalOptions, U as NextResourceHandler, V as VerifyOtpParams, W as NextResourceRoutes, X as RecordServerActions, Y as RecordServer, Z as RecordServerContext, _ as NextDebugOptions, a as BlockActionParams, b as PrivateCachedOptions, c as CacheShare, d as CachedOptions, et as recordListServer, f as CachedStage, g as NextCacheOptions, h as MfaVerification, i as BetterNext, j as ScopeOptions, k as RevalidateProfile, l as CachedContext, m as ExchangeCodeParams, n as ActionMapper, nt as REQUEST_ID_HEADER, o as BootstrapOptions, p as EmailRedirect, q as RecordListView, r as ActionOptions, s as CacheScope, t as postAuthPath, tt as DbBudget, u as CachedLife, v as NextOptions, w as RemoteOptions, x as ProxyOptions, y as NextRootParams, z as SignedIn } from "../sign-in-
|
|
2
|
+
import { rn as DbStats, s as BetterSupabase, sn as CacheAdapter } from "../db-blocks-DB8Ct8Eu.js";
|
|
3
|
+
import { $ as RecordView, A as RouteOptions, B as SupportStarted, C as RemoteCachedOptions, D as ResendParams, E as RequireOptions, F as SignInWithOAuthParams, G as NextResourcesOptions, H as VerifySessionOptions, I as SignInWithOtpParams, J as RecordLoadOptions, K as RecordListServer, L as SignOutParams, M as SessionHandle, N as SignInCredentials, O as ResetPasswordParams, P as SignInOptions, Q as RecordTimelineOptions, R as SignUpParams, S as RemoteCacheKey, T as RequireAalOptions, U as NextResourceHandler, V as VerifyOtpParams, W as NextResourceRoutes, X as RecordServerActions, Y as RecordServer, Z as RecordServerContext, _ as NextDebugOptions, a as BlockActionParams, b as PrivateCachedOptions, c as CacheShare, d as CachedOptions, et as recordListServer, f as CachedStage, g as NextCacheOptions, h as MfaVerification, i as BetterNext, j as ScopeOptions, k as RevalidateProfile, l as CachedContext, m as ExchangeCodeParams, n as ActionMapper, nt as REQUEST_ID_HEADER, o as BootstrapOptions, p as EmailRedirect, q as RecordListView, r as ActionOptions, s as CacheScope, t as postAuthPath, tt as DbBudget, u as CachedLife, v as NextOptions, w as RemoteOptions, x as ProxyOptions, y as NextRootParams, z as SignedIn } from "../sign-in-Cj7Y0mSU.js";
|
|
4
4
|
import { t as GateUser } from "../user-qcaSmToA.js";
|
|
5
5
|
import { _ as authzVersionOf, b as sessionCacheKey, g as SessionSnapshot, r as AuthState, v as isSessionSnapshot, y as issuedAtOf } from "../resolve-Chhtdk4M.js";
|
|
6
|
-
import { t as tenantOf } from "../tenant-
|
|
7
|
-
import { r as permissionsOf, t as PermissionsOfOptions } from "../permissions-
|
|
8
|
-
import { b as Bootstrap, v as Access } from "../server-types-
|
|
6
|
+
import { t as tenantOf } from "../tenant-BFABaxQ5.js";
|
|
7
|
+
import { r as permissionsOf, t as PermissionsOfOptions } from "../permissions-DG0t2lrA.js";
|
|
8
|
+
import { b as Bootstrap, v as Access } from "../server-types-Cp2en4rP.js";
|
|
9
9
|
import { c as safeRedirectPath, n as EmailOtpType, o as SignOutScope, r as ExistingAccount, t as AuthorizeUrlParams } from "../sign-in-R_Ou2FMR.js";
|
|
10
10
|
import { n as AmrEntry, t as Aal } from "../mfa-DzVJV8QL.js";
|
|
11
|
-
import { i as tagFor, t as TagOptions } from "../tags-
|
|
12
|
-
import { i as ResourceContext, l as ResourceRouteOptions, o as ResourceHooks, r as ResourceAction, t as ActionParams } from "../resource-types-
|
|
13
|
-
import { t as defineAction } from "../resource-execute-
|
|
14
|
-
import { t as ResourceMap } from "../resources-
|
|
11
|
+
import { i as tagFor, t as TagOptions } from "../tags-C7NyJTdU.js";
|
|
12
|
+
import { i as ResourceContext, l as ResourceRouteOptions, o as ResourceHooks, r as ResourceAction, t as ActionParams } from "../resource-types-DcEe07vC.js";
|
|
13
|
+
import { t as defineAction } from "../resource-execute-BIqAzA57.js";
|
|
14
|
+
import { t as ResourceMap } from "../resources-Bb_JRadM.js";
|
|
15
15
|
import { a as AuthorizedContext, c as ResourceLoaderContext, i as AuthorizeOptions, r as ActionResult } from "../kit-DN6lGKB6.js";
|
|
16
|
-
import { r as LiveCountSeed } from "../index-
|
|
16
|
+
import { r as LiveCountSeed } from "../index-C1na2fiY.js";
|
|
17
17
|
import { n as AuthKind, r as GuardOptions } from "../respond-DNcBzi_Y.js";
|
|
18
18
|
import { c as Impersonator, n as AuthSession, o as toSession } from "../view-DKo-Koiu.js";
|
|
19
19
|
import { n as supportOf, t as SupportView } from "../support-view-D0VmaQVg.js";
|
|
20
20
|
import { a as SupportOptions, c as SupportStartRequest, l as supportSessions, o as SupportPolicy, s as SupportSessions, t as ActiveSupport } from "../support-N97YzVgD.js";
|
|
21
|
-
import { r as MembershipClaim } from "../entitlements-
|
|
22
|
-
import { n as sessionTag, t as sessionIdTag } from "../cache-tags-
|
|
21
|
+
import { r as MembershipClaim } from "../entitlements-CR5HRd3S.js";
|
|
22
|
+
import { n as sessionTag, t as sessionIdTag } from "../cache-tags-FrJaMalu.js";
|
|
23
23
|
import { t as Validated } from "../shared-DsBcvj6q.js";
|
|
24
24
|
import { AnyEntry, Contributions } from "@supabase/middleware";
|
|
25
25
|
import { NextRequest } from "next/server.js";
|
package/dist/next/index.js
CHANGED
|
@@ -5,17 +5,17 @@ import { i as toSession } from "../view-DpKWWhP2.js";
|
|
|
5
5
|
import { i as claimsOf } from "../claims-CX-ar1vt.js";
|
|
6
6
|
import { n as dbError } from "../errors-DK1wGb9z.js";
|
|
7
7
|
import { t as isList } from "../guards-CsRa6v57.js";
|
|
8
|
-
import { c as readSetTables, o as isReadSet, p as isQuerySpec } from "../read-set-
|
|
8
|
+
import { c as readSetTables, f as isFunctionSpec, o as isReadSet, p as isQuerySpec } from "../read-set-DfScfSsf.js";
|
|
9
9
|
import { r as err } from "../result-DijoXEFG.js";
|
|
10
10
|
import { n as validate } from "../standard-DM4THQrL.js";
|
|
11
11
|
import { t as EMPTY_STATS } from "../stats-D2TN2c3B.js";
|
|
12
12
|
import { r as tagFor, t as cacheTagsOf } from "../tags-CW-KvjdL.js";
|
|
13
13
|
import { t as ACCOUNT_PARTS } from "../account-parts-CsuHH0Zs.js";
|
|
14
|
-
import { t as adapterBase } from "../adapter-base-
|
|
14
|
+
import { t as adapterBase } from "../adapter-base-BHtxRoRg.js";
|
|
15
15
|
import { t as tenantOf } from "../tenant-Duq0dWqX.js";
|
|
16
16
|
import { c as serverCore, f as bearerRequest, m as handle } from "../sessions-Dedk1ubX.js";
|
|
17
17
|
import { r as permissionsOf } from "../permissions-Dk3BH3dS.js";
|
|
18
|
-
import { c as bootstrapSchema, l as bootstrapWith, n as extendServer, s as accessOf, t as createServer, u as mapBootstrapMemo } from "../server-
|
|
18
|
+
import { c as bootstrapSchema, l as bootstrapWith, n as extendServer, s as accessOf, t as createServer, u as mapBootstrapMemo } from "../server-DA5SRGHQ.js";
|
|
19
19
|
import { t as withExtra } from "../extra-Dz9n5y1s.js";
|
|
20
20
|
import { i as requireCaller, n as formDataObject, t as authorizeCaller } from "../kit-BgRTtW9w.js";
|
|
21
21
|
import { n as resourceRouter } from "../resources-CM9wwyfa.js";
|
|
@@ -1256,10 +1256,15 @@ function createNext(betterSupabase, options = {}) {
|
|
|
1256
1256
|
cacheTag(...tableTags(table, tagOptions), ...id === void 0 ? [] : [tagFor(table, id)]);
|
|
1257
1257
|
},
|
|
1258
1258
|
tags(target, tagOptions = {}) {
|
|
1259
|
-
const
|
|
1259
|
+
const entries = isReadSet(target) ? Object.values(target.specs) : isList(target) ? target : [target];
|
|
1260
1260
|
const tags = /* @__PURE__ */ new Set();
|
|
1261
1261
|
for (const table of isReadSet(target) ? readSetTables(target) : []) for (const tag of tableTags(table, tagOptions)) tags.add(tag);
|
|
1262
|
-
for (const spec of
|
|
1262
|
+
for (const spec of entries) {
|
|
1263
|
+
if (isFunctionSpec(spec)) {
|
|
1264
|
+
for (const table of spec.tables ?? []) for (const tag of tableTags(table, tagOptions)) tags.add(tag);
|
|
1265
|
+
continue;
|
|
1266
|
+
}
|
|
1267
|
+
if (!isQuerySpec(spec)) continue;
|
|
1263
1268
|
for (const table of betterSupabase.tablesOf(spec)) for (const tag of tableTags(table, tagOptions)) tags.add(tag);
|
|
1264
1269
|
const [id] = spec.args;
|
|
1265
1270
|
if (spec.method === "get" && (typeof id === "string" || typeof id === "number")) tags.add(tagFor(spec.table, id));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { s as BetterSupabase } from "../../db-blocks-
|
|
1
|
+
import { s as BetterSupabase } from "../../db-blocks-DB8Ct8Eu.js";
|
|
2
2
|
import { O as AnyFunctions, k as AnyModels } from "../../types-BJ4cg51a.js";
|
|
3
|
-
import { t as postAuthPath, v as NextOptions, x as ProxyOptions } from "../../sign-in-
|
|
4
|
-
import { r as permissionsOf } from "../../permissions-
|
|
3
|
+
import { t as postAuthPath, v as NextOptions, x as ProxyOptions } from "../../sign-in-Cj7Y0mSU.js";
|
|
4
|
+
import { r as permissionsOf } from "../../permissions-DG0t2lrA.js";
|
|
5
5
|
import { o as toSession } from "../../view-DKo-Koiu.js";
|
|
6
6
|
import { NextRequest } from "next/server.js";
|
|
7
7
|
/** A response whose headers can be changed (`Response.redirect()`'s cannot). */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as AuthorizationOperation } from "./authorization-
|
|
1
|
+
import { i as AuthorizationOperation } from "./authorization-Cn_oEGoA.js";
|
|
2
2
|
/** Operations by name, as `authorization.operations` or a module's own defaults. */
|
|
3
3
|
type OperationTable = Readonly<Record<string, AuthorizationOperation>>;
|
|
4
4
|
export { OperationTable as t };
|
package/dist/orpc/index.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { r as AuthState } from "../resolve-Chhtdk4M.js";
|
|
2
|
-
import { s as BetterSupabase } from "../db-blocks-
|
|
2
|
+
import { s as BetterSupabase } from "../db-blocks-DB8Ct8Eu.js";
|
|
3
3
|
import { b as DbError, f as Result } from "../result-aun_QZHn.js";
|
|
4
4
|
import { i as ProblemDetails } from "../problem-DfABfWnk.js";
|
|
5
5
|
import { O as AnyFunctions, k as AnyModels } from "../types-BJ4cg51a.js";
|
|
6
6
|
import { c as ResourceLoaderContext, i as AuthorizeOptions } from "../kit-DN6lGKB6.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
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 { t as Api } from "../api-
|
|
11
|
-
import { a as ResourceHandler } from "../resource-types-
|
|
9
|
+
import { r as BetterServer, s as ServerContext, u as ServerOptions } from "../server-types-Cp2en4rP.js";
|
|
10
|
+
import { t as Api } from "../api-CSx2F4zg.js";
|
|
11
|
+
import { a as ResourceHandler } from "../resource-types-DcEe07vC.js";
|
|
12
12
|
import { t as Validated } from "../shared-DsBcvj6q.js";
|
|
13
13
|
import { AnyEntry, Contributions } from "@supabase/middleware";
|
|
14
14
|
import { AnySchema, BuilderWithMiddlewares, DecoratedMiddleware, DecoratedProcedure, MetaPlugin, ORPCError, Schema } from "@orpc/server";
|
package/dist/orpc/index.js
CHANGED
|
@@ -2,14 +2,14 @@ import { i as toSession } from "../view-DpKWWhP2.js";
|
|
|
2
2
|
import { i as claimsOf } from "../claims-CX-ar1vt.js";
|
|
3
3
|
import { n as dbError, r as dbErrorOf } from "../errors-DK1wGb9z.js";
|
|
4
4
|
import { c as toProblem } from "../problem-BwplIuhI.js";
|
|
5
|
-
import { t as adapterBase } from "../adapter-base-
|
|
5
|
+
import { t as adapterBase } from "../adapter-base-BHtxRoRg.js";
|
|
6
6
|
import { p as flushEvents } from "../sessions-Dedk1ubX.js";
|
|
7
7
|
import { t as authorizeCaller } from "../kit-BgRTtW9w.js";
|
|
8
8
|
import { t as rateLimitGate } from "../rate-limit-Wolzge1m.js";
|
|
9
9
|
import { t as tenantOf } from "../tenant-Duq0dWqX.js";
|
|
10
10
|
import { r as refreshFor } from "../request-kind-BMNdlQpz.js";
|
|
11
11
|
import { i as guard, s as settle, t as assertCookieRefresh } from "../respond-DLvLJwwN.js";
|
|
12
|
-
import { n as extendServer, t as createServer } from "../server-
|
|
12
|
+
import { n as extendServer, t as createServer } from "../server-DA5SRGHQ.js";
|
|
13
13
|
import { t as callWithInput } from "../block-method-DIbWG4Mj.js";
|
|
14
14
|
import { r as checkPermission } from "../authorizer-DtUCjKBn.js";
|
|
15
15
|
import { n as isRecord } from "../guards-CsRa6v57.js";
|
package/dist/otel/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as blockEventAttributes } from "../block-events-uKWyOpAy.js";
|
|
2
2
|
import { r as definePlugin } from "../plugin-Ca2qBiFZ.js";
|
|
3
3
|
import { t as SPEC_PINS } from "../spec-pins-Dlz8OVqi.js";
|
|
4
|
-
import "../version-
|
|
4
|
+
import "../version-BHgdHcZN.js";
|
|
5
5
|
import { SpanKind, SpanStatusCode, context, metrics, propagation, trace } from "@opentelemetry/api";
|
|
6
6
|
// src/otel/index.ts
|
|
7
7
|
const INSTRUMENTATION_NAME = "better-supabase";
|
|
@@ -40,9 +40,9 @@ function systemOf(executor) {
|
|
|
40
40
|
* ```
|
|
41
41
|
*/
|
|
42
42
|
function otel(options = {}) {
|
|
43
|
-
const tracer = options.tracer ?? trace.getTracer("better-supabase", "0.
|
|
43
|
+
const tracer = options.tracer ?? trace.getTracer("better-supabase", "0.60.0");
|
|
44
44
|
let histogram;
|
|
45
|
-
if (options.metrics !== false) histogram = (options.meter ?? metrics.getMeter("better-supabase", "0.
|
|
45
|
+
if (options.metrics !== false) histogram = (options.meter ?? metrics.getMeter("better-supabase", "0.60.0")).createHistogram("db.client.operation.duration", {
|
|
46
46
|
unit: "s",
|
|
47
47
|
description: "Duration of database client operations.",
|
|
48
48
|
advice: { explicitBucketBoundaries: [
|
|
@@ -231,7 +231,7 @@ function otel(options = {}) {
|
|
|
231
231
|
* `betterSupabase.events`. Returns a function that stops listening.
|
|
232
232
|
*/
|
|
233
233
|
function traceAuth(betterSupabase, options = {}) {
|
|
234
|
-
const tracer = options.tracer ?? trace.getTracer("better-supabase", "0.
|
|
234
|
+
const tracer = options.tracer ?? trace.getTracer("better-supabase", "0.60.0");
|
|
235
235
|
const offAuth = betterSupabase.events.on("auth", (event) => {
|
|
236
236
|
const span = tracer.startSpan("auth.resolve", {
|
|
237
237
|
kind: SpanKind.INTERNAL,
|
|
@@ -270,7 +270,7 @@ function traceAuth(betterSupabase, options = {}) {
|
|
|
270
270
|
* `*.denied`) set an error status. Returns a function that stops listening.
|
|
271
271
|
*/
|
|
272
272
|
function traceBlockEvents(betterSupabase, options = {}) {
|
|
273
|
-
const tracer = options.tracer ?? trace.getTracer("better-supabase", "0.
|
|
273
|
+
const tracer = options.tracer ?? trace.getTracer("better-supabase", "0.60.0");
|
|
274
274
|
return betterSupabase.events.on("block", (event) => {
|
|
275
275
|
const attributes = {
|
|
276
276
|
...options.attributes,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { l as postgrestExecutor } from "./codec-
|
|
1
|
+
import { l as postgrestExecutor } from "./codec-BI1mq95W.js";
|
|
2
2
|
import { a as ok, r as err, t as AsyncResult } from "./result-DijoXEFG.js";
|
|
3
3
|
import { r as decodeJwtPayload } from "./base64-CEBz6-Jj.js";
|
|
4
4
|
import { i as userContext } from "./impersonation-BlU6M8zN.js";
|
|
5
|
-
import { t as provideLeanConnectionRuntime } from "./define-runtime-
|
|
5
|
+
import { t as provideLeanConnectionRuntime } from "./define-runtime-Ca5NN0gu.js";
|
|
6
6
|
import { n as hasAuthModule, r as claimedTenant } from "./auth-module-D_RA-X_y.js";
|
|
7
7
|
import { t as currentTenant } from "./tenant-source-46lMuMEn.js";
|
|
8
8
|
import { n as identityKey } from "./user-change-Ngy8z1fZ.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { C as quoteSqliteIdent, S as likeToGlob, _ as SqliteQuery, a as postgrestTimestamp, b as SqliteValue, c as sqliteCompiler, d as SqliteDecode, f as SqliteInsertPlan, g as SqlitePlan, h as SqliteNested, i as fromSqliteError, l as SqliteColumn, m as SqliteKeys, n as SqliteDatabaseLike, o as CheckSqliteOptions, p as SqliteKeyedPlan, r as SqliteExecutorOptions, s as checkSqlite, t as SqliteContextLike, u as SqliteCompilerOptions, v as SqliteReturning, w as sqliteValue, x as compileSqlite, y as SqliteSelectPlan } from "../executor-
|
|
1
|
+
import { C as quoteSqliteIdent, S as likeToGlob, _ as SqliteQuery, a as postgrestTimestamp, b as SqliteValue, c as sqliteCompiler, d as SqliteDecode, f as SqliteInsertPlan, g as SqlitePlan, h as SqliteNested, i as fromSqliteError, l as SqliteColumn, m as SqliteKeys, n as SqliteDatabaseLike, o as CheckSqliteOptions, p as SqliteKeyedPlan, r as SqliteExecutorOptions, s as checkSqlite, t as SqliteContextLike, u as SqliteCompilerOptions, v as SqliteReturning, w as sqliteValue, x as compileSqlite, y as SqliteSelectPlan } from "../executor-CTuilcgE.js";
|
|
2
2
|
import { Vt as Executor } from "../types-BJ4cg51a.js";
|
|
3
3
|
import { C as UploadRouteOptions, E as uploadRoute, S as UploadRoute, T as uploadOutcome, _ as UploadConnectorOptions, b as UploadOutcome, c as LocalTablesOption, d as CreateUploadRepository, f as CrudEntryLike, g as UploadConnector, h as RejectedStore, m as RejectedChange, n as DataEngine, p as CrudQueueLike, s as LiveEngineOptions, v as UploadErrorContext, w as createUploadConnector, x as UploadRepository, y as UploadFunction } from "../data-engine-CQiEEoNx.js";
|
|
4
|
-
import { t as AuthSnapshot } from "../bind-
|
|
4
|
+
import { t as AuthSnapshot } from "../bind-Dopmkg_T.js";
|
|
5
5
|
import { t as BlockTransport } from "../block-transport-BNMvuuyC.js";
|
|
6
6
|
import { b as DbError, f as Result } from "../result-aun_QZHn.js";
|
|
7
|
-
import { n as TopicPort } from "../watch-topic-
|
|
7
|
+
import { n as TopicPort } from "../watch-topic-BYfSlldk.js";
|
|
8
8
|
import { o as ActivitySubject } from "../activities-BkfN6cef.js";
|
|
9
9
|
import { a as MedicationAsNeededInput, r as MedicationAdministrationInput } from "../medications-Cxvrfid3.js";
|
|
10
10
|
import { d as ObservationInput, t as Observation } from "../observations-BBQZWl54.js";
|
package/dist/powersync/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as sqliteCompiler, c as quoteSqliteIdent, i as checkSqlite, l as sqliteValue, n as postgrestTimestamp, o as compileSqlite, r as sqliteExecutor, s as likeToGlob, t as fromSqliteError } from "../executor-
|
|
1
|
+
import { a as sqliteCompiler, c as quoteSqliteIdent, i as checkSqlite, l as sqliteValue, n as postgrestTimestamp, o as compileSqlite, r as sqliteExecutor, s as likeToGlob, t as fromSqliteError } from "../executor-Bot0tkvU.js";
|
|
2
2
|
import { i as localEngine } from "../data-engine-MRAlinsa.js";
|
|
3
3
|
import { n as authzVersionOf } from "../snapshot-C1KUHKTc.js";
|
|
4
4
|
import { n as claimAt, s as tenantPathsFor } from "../claims-CX-ar1vt.js";
|
package/dist/preset/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Ar as PresetAccess, Dr as PRESET_FRAMEWORKS, Er as DEFAULT_CONVENTIONS, Fr as PresetFramework, Hr as integrationsForFramework, Lr as PresetPlatforms, Mr as PresetField, Nr as PresetFieldKey, Or as PRESET_TENANT_NAMES, Pr as PresetFieldValue, Rr as PresetScope, Tr as CONVENTION_FIELDS, Ur as presetField, Vr as PresetValueInfo, Wr as presetValueLabel, jr as PresetConventions, kr as Preset, zr as PresetSubjectOptions } from "../define-block-
|
|
2
|
-
import { $i as PresetGlueItem, $t as defaultPreset, An as readDesignFile, Bn as ResolvedComposite, Cn as parseDesign, Dn as presetConfigSource, En as presetArgumentOf, Fn as presetOfSpec, Gi as CORE_BLOCKS, Gn as removeComposite, Hn as ResolvedPresetBlock, In as presetSpec, Ji as BlockCatalog, Jt as PRESETS, Ki as INSTANCE_NAME, Kn as resolvePreset, Kt as DEFAULT_PRESET_NAME, Ln as CompositeRemoval, Mn as safeParseDesign, Nn as PresetSpec, On as presetInstallCommand, Pn as presetFromSpec, Qi as PresetCatalogManifest, Qt as PresetName, Rn as PresetConflict, Sn as isDesignCode, Tn as presetApplyCommand, Un as listNames, Vn as ResolvedPreset, Wn as presetBlockConflict, Wr as APP_COLUMN_FORMATS, Xi as PresetCatalog, Xt as PRESET_NAMES, Yi as BlockCatalogEntry, Yt as PRESET_GROUPS, Zi as PresetCatalogBlock, Zr as AppColumnFormat, Zt as PresetGroup, _n as designFileSource, _t as presetOf, an as DESIGN_FORMAT, bn as designSchema, cn as DesignParseError, dn as DesignTooLongError, dt as ConfigConventions, en as isPresetName, fn as MAX_DESIGN_CODE_LENGTH, ft as ExpandedConfig, gn as designConfig, gt as presetConfig, hn as decodeDesign, ht as expandPreset, in as DESIGN_FILE, jn as safeDesignFileSource, kn as presetKey, ln as DesignParseIssue, mn as createUrl, mt as conventionConfig, nn as CREATE_URL, on as DesignErrorCode, pn as createQuery, pt as PresetInput, qi as instancePrefix, qt as NamedPreset, rn as CreateDesign, sn as DesignFile, tn as namedPreset, un as DesignParseResult, vn as designFormat, wn as presetAndDesignOf, xn as encodeDesign, yn as designOf, zn as PresetIntegration } from "../context-
|
|
3
|
-
import { C as diffAppTables, D as PRESET_CATALOG, E as isAppDefault, O as BLOCK_CATALOG, S as DiffOptions, T as appDefaultError, _ as glueCommand, a as blockRequires, b as DesignChange, c as installedBlocks, d as instancesOf, f as presetInstances, g as PROVIDER_COMMENT, h as withoutInstance, i as blockEntities, l as instanceBlock, m as withInstance, n as BlockInstance, o as canAddInstance, p as withEntityName, r as PresetInstance, s as entityName, t as BlockEntity, u as instanceNameProblem, v as presetBlocksSource, w as diffDesigns, x as DesignChangeKind, y as presetGlue } from "../index-
|
|
4
|
-
import { i as appReservedColumns, n as appIdentifierError, r as appNameLengthError, t as APP_NAME_MAX } from "../app-tables-
|
|
1
|
+
import { Ar as PresetAccess, Dr as PRESET_FRAMEWORKS, Er as DEFAULT_CONVENTIONS, Fr as PresetFramework, Hr as integrationsForFramework, Lr as PresetPlatforms, Mr as PresetField, Nr as PresetFieldKey, Or as PRESET_TENANT_NAMES, Pr as PresetFieldValue, Rr as PresetScope, Tr as CONVENTION_FIELDS, Ur as presetField, Vr as PresetValueInfo, Wr as presetValueLabel, jr as PresetConventions, kr as Preset, zr as PresetSubjectOptions } from "../define-block-Cd7dm2o6.js";
|
|
2
|
+
import { $i as PresetGlueItem, $t as defaultPreset, An as readDesignFile, Bn as ResolvedComposite, Cn as parseDesign, Dn as presetConfigSource, En as presetArgumentOf, Fn as presetOfSpec, Gi as CORE_BLOCKS, Gn as removeComposite, Hn as ResolvedPresetBlock, In as presetSpec, Ji as BlockCatalog, Jt as PRESETS, Ki as INSTANCE_NAME, Kn as resolvePreset, Kt as DEFAULT_PRESET_NAME, Ln as CompositeRemoval, Mn as safeParseDesign, Nn as PresetSpec, On as presetInstallCommand, Pn as presetFromSpec, Qi as PresetCatalogManifest, Qt as PresetName, Rn as PresetConflict, Sn as isDesignCode, Tn as presetApplyCommand, Un as listNames, Vn as ResolvedPreset, Wn as presetBlockConflict, Wr as APP_COLUMN_FORMATS, Xi as PresetCatalog, Xt as PRESET_NAMES, Yi as BlockCatalogEntry, Yt as PRESET_GROUPS, Zi as PresetCatalogBlock, Zr as AppColumnFormat, Zt as PresetGroup, _n as designFileSource, _t as presetOf, an as DESIGN_FORMAT, bn as designSchema, cn as DesignParseError, dn as DesignTooLongError, dt as ConfigConventions, en as isPresetName, fn as MAX_DESIGN_CODE_LENGTH, ft as ExpandedConfig, gn as designConfig, gt as presetConfig, hn as decodeDesign, ht as expandPreset, in as DESIGN_FILE, jn as safeDesignFileSource, kn as presetKey, ln as DesignParseIssue, mn as createUrl, mt as conventionConfig, nn as CREATE_URL, on as DesignErrorCode, pn as createQuery, pt as PresetInput, qi as instancePrefix, qt as NamedPreset, rn as CreateDesign, sn as DesignFile, tn as namedPreset, un as DesignParseResult, vn as designFormat, wn as presetAndDesignOf, xn as encodeDesign, yn as designOf, zn as PresetIntegration } from "../context-C_Rx1QaW.js";
|
|
3
|
+
import { C as diffAppTables, D as PRESET_CATALOG, E as isAppDefault, O as BLOCK_CATALOG, S as DiffOptions, T as appDefaultError, _ as glueCommand, a as blockRequires, b as DesignChange, c as installedBlocks, d as instancesOf, f as presetInstances, g as PROVIDER_COMMENT, h as withoutInstance, i as blockEntities, l as instanceBlock, m as withInstance, n as BlockInstance, o as canAddInstance, p as withEntityName, r as PresetInstance, s as entityName, t as BlockEntity, u as instanceNameProblem, v as presetBlocksSource, w as diffDesigns, x as DesignChangeKind, y as presetGlue } from "../index-BszN5nLs.js";
|
|
4
|
+
import { i as appReservedColumns, n as appIdentifierError, r as appNameLengthError, t as APP_NAME_MAX } from "../app-tables-C_bRG0ek.js";
|
|
5
5
|
export { APP_COLUMN_FORMATS, APP_NAME_MAX, type AppColumnFormat, BLOCK_CATALOG, type BlockCatalog, type BlockCatalogEntry, type BlockEntity, type BlockInstance, CONVENTION_FIELDS, CREATE_URL, type CompositeRemoval, type ConfigConventions, type CreateDesign, DEFAULT_CONVENTIONS, DEFAULT_PRESET_NAME, DESIGN_FILE, DESIGN_FORMAT, type DesignChange, type DesignChangeKind, type DesignErrorCode, type DesignFile, DesignParseError, type DesignParseIssue, type DesignParseResult, DesignTooLongError, type DiffOptions, type ExpandedConfig, INSTANCE_NAME, MAX_DESIGN_CODE_LENGTH, type NamedPreset, PRESETS, PRESET_CATALOG, PRESET_FRAMEWORKS, PRESET_GROUPS, PRESET_NAMES, PRESET_TENANT_NAMES, PROVIDER_COMMENT, type Preset, type PresetAccess, type PresetCatalog, type PresetCatalogBlock, type PresetCatalogManifest, type PresetConflict, type PresetConventions, type PresetField, type PresetFieldKey, type PresetFieldValue, type PresetFramework, type PresetGlueItem, type PresetGroup, type PresetInput, type PresetInstance, type PresetIntegration, type PresetName, type PresetPlatforms, type PresetScope, type PresetSpec, type PresetSubjectOptions, type PresetValueInfo, type ResolvedComposite, type ResolvedPreset, type ResolvedPresetBlock, CORE_BLOCKS as SINGLE_INSTANCE_BLOCKS, appDefaultError, appIdentifierError, appNameLengthError, appReservedColumns, blockEntities, blockRequires, canAddInstance, conventionConfig, createQuery, createUrl, decodeDesign, defaultPreset, designConfig, designFileSource, designFormat, designOf, designSchema, diffAppTables, diffDesigns, encodeDesign, entityName, expandPreset, glueCommand, installedBlocks, instanceBlock, instanceNameProblem, instancePrefix, instancesOf, integrationsForFramework, isAppDefault, isDesignCode, isPresetName, listNames, namedPreset, parseDesign, presetAndDesignOf, presetApplyCommand, presetArgumentOf, presetBlockConflict, presetBlocksSource, presetConfig, presetConfigSource, presetField, presetFromSpec, presetGlue, presetInstallCommand, presetInstances, presetKey, presetOf, presetOfSpec, presetSpec, presetValueLabel, readDesignFile, removeComposite, resolvePreset, safeDesignFileSource, safeParseDesign, withEntityName, withInstance, withoutInstance };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as BlockTransport } from "./block-transport-BNMvuuyC.js";
|
|
2
2
|
import { i as EventSink } from "./cloud-event-BtWOKfsx.js";
|
|
3
|
-
import { Ln as AttachmentStorage } from "./define-block-
|
|
3
|
+
import { Ln as AttachmentStorage } from "./define-block-Cd7dm2o6.js";
|
|
4
4
|
import { _ as JobHandler } from "./types-BME_OjVm.js";
|
|
5
5
|
import { r as BlockTemporalOptions } from "./block-helpers-D0QSs8ss.js";
|
|
6
|
-
import { y as DrivePreviews } from "./drive-
|
|
6
|
+
import { y as DrivePreviews } from "./drive-C6thwExa.js";
|
|
7
7
|
import { t as AsyncResult } from "./result-aun_QZHn.js";
|
|
8
8
|
/** One rendered page: an image the drive stores under the file's previews. */
|
|
9
9
|
interface PreviewPage {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { a as presetOf, f as resolvePreset } from "./config-a_CzEbpi.js";
|
|
2
2
|
import { D as designOf, M as parseDesign, j as jsonPointer, k as encodeDesign, v as DesignParseError, w as designConfig, y as DesignTooLongError } from "./preset-HzYIrxUS.js";
|
|
3
3
|
import { I as PRESET_CATALOG, b as appDefaultError, d as appIdentifierError, f as appNameLengthError, p as appReservedColumns, x as isAppDefault } from "./instances-07Lopbd1.js";
|
|
4
|
-
import { i as resolveConfig } from "./config-
|
|
5
|
-
import { Ft as SQL_MODULES, ot as renderBlocks, q as moduleLayout } from "./sql-
|
|
4
|
+
import { i as resolveConfig } from "./config-cisS43w5.js";
|
|
5
|
+
import { Ft as SQL_MODULES, ot as renderBlocks, q as moduleLayout } from "./sql-BwfPwN8v.js";
|
|
6
6
|
// src/create/column-keys.ts
|
|
7
7
|
/** The most options a select takes, and the longest option. */
|
|
8
8
|
const MAX_OPTIONS = 100;
|
package/dist/query/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { t as escapeLike } from "../escape-like-BvolEoGc.js";
|
|
2
2
|
import { n as invalidateTables, t as BetterQueryMeta } from "../invalidate-DAB9CaPm.js";
|
|
3
|
-
import { $ as blockQueries, G as BLOCK_READ_PREFIXES, J as BlockInvalidation, K as BlockClientQueries, Q as blockControllerEngine, X as BlockQueries, Y as BlockMethodQuery, Z as BlockVariablesOf, a as RecordBindingQueries, at as InfiniteExtras, c as RecordWriteMutations, ct as QueriesOptions, dt as QueryOptionsOf, et as invalidateOnBlockEvents, ft as TableQueries, ht as queryCache, i as optimistic, it as BetterQueries, l as invalidateOnRecordEvents, lt as QueryHelpers, mt as invalidateOnMutation, n as OptimisticSnapshot, nt as UserChangeSource, o as RecordQueries, ot as InfiniteOptionsOf, pt as createQueries, q as BlockClients, r as OptimisticTarget, rt as clearOnUserChange, s as RecordQueriesOptions, st as MutationOptionsOf, t as OptimisticHandlers, tt as queryEngine, u as recordQueries, ut as QueryKeyOf } from "../index-
|
|
3
|
+
import { $ as blockQueries, G as BLOCK_READ_PREFIXES, J as BlockInvalidation, K as BlockClientQueries, Q as blockControllerEngine, X as BlockQueries, Y as BlockMethodQuery, Z as BlockVariablesOf, a as RecordBindingQueries, at as InfiniteExtras, c as RecordWriteMutations, ct as QueriesOptions, dt as QueryOptionsOf, et as invalidateOnBlockEvents, ft as TableQueries, ht as queryCache, i as optimistic, it as BetterQueries, l as invalidateOnRecordEvents, lt as QueryHelpers, mt as invalidateOnMutation, n as OptimisticSnapshot, nt as UserChangeSource, o as RecordQueries, ot as InfiniteOptionsOf, pt as createQueries, q as BlockClients, r as OptimisticTarget, rt as clearOnUserChange, s as RecordQueriesOptions, st as MutationOptionsOf, t as OptimisticHandlers, tt as queryEngine, u as recordQueries, ut as QueryKeyOf } from "../index-DflyfGR8.js";
|
|
4
4
|
export { BLOCK_READ_PREFIXES, type BetterQueries, type BetterQueryMeta, type BlockClientQueries, type BlockClients, type BlockInvalidation, type BlockMethodQuery, type BlockQueries, type BlockVariablesOf, type InfiniteExtras, type InfiniteOptionsOf, type MutationOptionsOf, type OptimisticHandlers, type OptimisticSnapshot, type OptimisticTarget, type QueriesOptions, type QueryHelpers, type QueryKeyOf, type QueryOptionsOf, type RecordBindingQueries, type RecordQueries, type RecordQueriesOptions, type RecordWriteMutations, type TableQueries, type UserChangeSource, blockControllerEngine, blockQueries, clearOnUserChange, createQueries, escapeLike, invalidateOnBlockEvents, invalidateOnMutation, invalidateOnRecordEvents, invalidateTables, optimistic, queryCache, queryEngine, recordQueries };
|
package/dist/react/index.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as escapeLike } from "../escape-like-BvolEoGc.js";
|
|
2
2
|
import { c as Impersonator, n as AuthSession } from "../view-DKo-Koiu.js";
|
|
3
3
|
import { i as DataEntry, m as RejectedChange, n as DataEngine, o as DataSyncState } from "../data-engine-CQiEEoNx.js";
|
|
4
|
-
import { t as tenantOf } from "../tenant-
|
|
5
|
-
import { r as LiveCountSeed } from "../index-
|
|
6
|
-
import { r as MembershipClaim } from "../entitlements-
|
|
7
|
-
import { _ as LiveQueryHookOptions, b as ProfileOf, c as DataWrites, f as BroadcastOptions, h as LiveCountHookOptions, l as ActionInputOf, m as ClientLike, o as DataSource, p as ClaimsOf, s as DataState, t as fieldErrorsOf, u as ActionResultOf, x as UseActionOptions } from "../field-errors-
|
|
4
|
+
import { t as tenantOf } from "../tenant-BFABaxQ5.js";
|
|
5
|
+
import { r as LiveCountSeed } from "../index-C1na2fiY.js";
|
|
6
|
+
import { r as MembershipClaim } from "../entitlements-CR5HRd3S.js";
|
|
7
|
+
import { _ as LiveQueryHookOptions, b as ProfileOf, c as DataWrites, f as BroadcastOptions, h as LiveCountHookOptions, l as ActionInputOf, m as ClientLike, o as DataSource, p as ClaimsOf, s as DataState, t as fieldErrorsOf, u as ActionResultOf, x as UseActionOptions } from "../field-errors-CihTLojJ.js";
|
|
8
8
|
import { n as supportOf, t as SupportView } from "../support-view-D0VmaQVg.js";
|
|
9
9
|
import { a as BlockQueryActions, c as BlockRefetchOn, i as BlockMutationState, n as BlockEventSource, o as BlockQueryOptions, r as BlockMutationActions, s as BlockQueryState, t as BlockEngineOptions } from "../block-controller-CHtFwmpj.js";
|
|
10
|
-
import { $ as RecordInitial, A as DataView, B as useBlockEvent, C as useConflicts, D as can, E as PermissionsProvider, F as defineOneHook, G as useRecordForm, H as useBlockQuery, I as useBlockEnv, J as RecordListUrl, K as RecordListQueryStates, L as useBlockTenant, M as defineDataHooks, N as defineInfiniteListHook, O as useCan, P as defineListHook, Q as RecordContextValue, R as useController, S as Conflicts, St as useSupabase, T as OfflineContext, U as RecordFormState, V as useBlockMutation, W as UseRecordFormOptions, X as useRecordListState, Y as RecordListUrlState, Z as RecordActionsOf, _ as useRealtimeRelay, _t as createHooks, a as Upload, at as ActionForm, b as PresenceTopic, bt as useLiveCount, c as UseImageOptions, ct as UseActionFormOptions, d as useSignedUrl, dt as useActionForm, et as RecordProviderKit, f as useUpload, ft as useOptimisticAction, g as UseRealtimeRelayOptions, gt as LiveCount, h as useDebouncedSearch, ht as BetterSupabaseProviderProps, i as StorageImage, it as createRecordProvider, j as InfiniteList, k as DataHooks, l as UseUploadOptions, lt as UseOptimisticActionOptions, m as DebouncedSearchOptions, mt as BetterSupabaseProvider, n as SignedUrl, nt as RecordState, o as UploadStatus, ot as ActionHandle, p as DebouncedSearch, pt as BetterHooks, q as RecordListState, r as SignedUrlSource, rt as RecordWriteHandlers, s as UploadTarget, st as OptimisticActionHandle, t as ImageSource, tt as RecordProviderProps, u as useImage, ut as useAction, v as Presence, vt as useAuth, w as useSyncStatus, x as usePresence, xt as useLiveQuery, y as PresenceHookOptions, yt as useBroadcast, z as useLatest } from "../index-
|
|
10
|
+
import { $ as RecordInitial, A as DataView, B as useBlockEvent, C as useConflicts, D as can, E as PermissionsProvider, F as defineOneHook, G as useRecordForm, H as useBlockQuery, I as useBlockEnv, J as RecordListUrl, K as RecordListQueryStates, L as useBlockTenant, M as defineDataHooks, N as defineInfiniteListHook, O as useCan, P as defineListHook, Q as RecordContextValue, R as useController, S as Conflicts, St as useSupabase, T as OfflineContext, U as RecordFormState, V as useBlockMutation, W as UseRecordFormOptions, X as useRecordListState, Y as RecordListUrlState, Z as RecordActionsOf, _ as useRealtimeRelay, _t as createHooks, a as Upload, at as ActionForm, b as PresenceTopic, bt as useLiveCount, c as UseImageOptions, ct as UseActionFormOptions, d as useSignedUrl, dt as useActionForm, et as RecordProviderKit, f as useUpload, ft as useOptimisticAction, g as UseRealtimeRelayOptions, gt as LiveCount, h as useDebouncedSearch, ht as BetterSupabaseProviderProps, i as StorageImage, it as createRecordProvider, j as InfiniteList, k as DataHooks, l as UseUploadOptions, lt as UseOptimisticActionOptions, m as DebouncedSearchOptions, mt as BetterSupabaseProvider, n as SignedUrl, nt as RecordState, o as UploadStatus, ot as ActionHandle, p as DebouncedSearch, pt as BetterHooks, q as RecordListState, r as SignedUrlSource, rt as RecordWriteHandlers, s as UploadTarget, st as OptimisticActionHandle, t as ImageSource, tt as RecordProviderProps, u as useImage, ut as useAction, v as Presence, vt as useAuth, w as useSyncStatus, x as usePresence, xt as useLiveQuery, y as PresenceHookOptions, yt as useBroadcast, z as useLatest } from "../index-BnY5lZtT.js";
|
|
11
11
|
import { SessionProvider, SessionProviderProps, useSession, useSupportSession } from "./session.js";
|
|
12
12
|
import { a as useSignIn, i as SignOut, n as PendingState, o as useSignOut, r as SignIn, t as AuthHookOptions } from "../sign-in-DkRvzECa.js";
|
|
13
13
|
export { type ActionForm, type ActionHandle, type ActionInputOf, type ActionResultOf, type AuthHookOptions, type AuthSession, type BetterHooks, BetterSupabaseProvider, type BetterSupabaseProviderProps, type BlockEngineOptions, type BlockEventSource, type BlockMutationActions, type BlockMutationState, type BlockQueryActions, type BlockQueryOptions, type BlockQueryState, type BlockRefetchOn, type BroadcastOptions, type ClaimsOf, type ClientLike, type Conflicts, type DataEngine, type DataEntry, type DataHooks, type DataSource, type DataState, type DataSyncState, type DataView, type DataWrites, type DebouncedSearch, type DebouncedSearchOptions, type ImageSource, type Impersonator, type InfiniteList, type LiveCount, type LiveCountHookOptions, type LiveCountSeed, type LiveQueryHookOptions, type MembershipClaim, OfflineContext, type OptimisticActionHandle, type PendingState, PermissionsProvider, type Presence, type PresenceHookOptions, type PresenceTopic, type ProfileOf, type RecordActionsOf, type RecordContextValue, type RecordFormState, type RecordInitial, type RecordListQueryStates, type RecordListState, type RecordListUrl, type RecordListUrlState, type RecordProviderKit, type RecordProviderProps, type RecordState, type RecordWriteHandlers, type RejectedChange, SessionProvider, type SessionProviderProps, type SignIn, type SignOut, type SignedUrl, type SignedUrlSource, type StorageImage, type SupportView, type Upload, type UploadStatus, type UploadTarget, type UseActionFormOptions, type UseActionOptions, type UseImageOptions, type UseOptimisticActionOptions, type UseRealtimeRelayOptions, type UseRecordFormOptions, type UseUploadOptions, can, createHooks, createRecordProvider, defineDataHooks, defineInfiniteListHook, defineListHook, defineOneHook, escapeLike, fieldErrorsOf, supportOf, tenantOf, useAction, useActionForm, useAuth, useBlockEnv, useBlockEvent, useBlockMutation, useBlockQuery, useBlockTenant, useBroadcast, useCan, useConflicts, useController, useDebouncedSearch, useImage, useLatest, useLiveCount, useLiveQuery, useOptimisticAction, usePresence, useRealtimeRelay, useRecordForm, useRecordListState, useSession, useSignIn, useSignOut, useSignedUrl, useSupabase, useSupportSession, useSyncStatus, useUpload };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as AuthSnapshot } from "../../bind-
|
|
1
|
+
import { t as AuthSnapshot } from "../../bind-Dopmkg_T.js";
|
|
2
2
|
import { a as OAuthSignInOptions, i as OAuthClient, n as AuthLinkError, o as WebBrowserLike, r as AuthLinkResult, t as AuthLinkClient } from "../../auth-link-C6n-ophf.js";
|
|
3
3
|
import { a as AppStateLike, r as PowerSyncReconnect, t as NativeAuthzRefreshClient } from "../../authz-refresh-Bg0T1i86.js";
|
|
4
4
|
import { i as authzUserTopic, r as AuthzVersionSource, t as AUTHZ_EVENT } from "../../authz-topic-C7n3kIm_.js";
|
package/dist/react/server.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { n as supportOf, t as SupportView } from "../support-view-D0VmaQVg.js";
|
|
2
2
|
import { c as Impersonator, n as AuthSession } from "../view-DKo-Koiu.js";
|
|
3
|
-
import { $ as RecordInitial, B as useBlockEvent$1, C as useConflicts$1, D as can, E as PermissionsProvider, F as defineOneHook$1, G as useRecordForm$1, H as useBlockQuery$1, I as useBlockEnv$1, J as RecordListUrl, K as RecordListQueryStates, L as useBlockTenant$1, M as defineDataHooks$1, N as defineInfiniteListHook$1, O as useCan$1, P as defineListHook$1, Q as RecordContextValue, R as useController$1, St as useSupabase, T as OfflineContext, U as RecordFormState, V as useBlockMutation$1, W as UseRecordFormOptions, X as useRecordListState$1, Y as RecordListUrlState, Z as RecordActionsOf, _ as useRealtimeRelay$1, a as Upload, at as ActionForm, b as PresenceTopic, c as UseImageOptions, ct as UseActionFormOptions, d as useSignedUrl$1, et as RecordProviderKit, f as useUpload$1, g as UseRealtimeRelayOptions, gt as LiveCount, h as useDebouncedSearch$1, ht as BetterSupabaseProviderProps, i as StorageImage, it as createRecordProvider$1, l as UseUploadOptions, lt as UseOptimisticActionOptions, m as DebouncedSearchOptions, mt as BetterSupabaseProvider, n as SignedUrl, nt as RecordState, o as UploadStatus, ot as ActionHandle, p as DebouncedSearch, pt as BetterHooks, q as RecordListState, r as SignedUrlSource, rt as RecordWriteHandlers, s as UploadTarget, st as OptimisticActionHandle, t as ImageSource, tt as RecordProviderProps, u as useImage$1, v as Presence, vt as useAuth, w as useSyncStatus$1, x as usePresence$1, xt as useLiveQuery, y as PresenceHookOptions, yt as useBroadcast, z as useLatest$1 } from "../index-
|
|
4
|
-
import {
|
|
5
|
-
import { r as LiveCountSeed } from "../index-
|
|
6
|
-
import { _ as LiveQueryHookOptions, b as ProfileOf, f as BroadcastOptions, h as LiveCountHookOptions, l as ActionInputOf, m as ClientLike, p as ClaimsOf, t as fieldErrorsOf, u as ActionResultOf, x as UseActionOptions } from "../field-errors-
|
|
3
|
+
import { $ as RecordInitial, B as useBlockEvent$1, C as useConflicts$1, D as can, E as PermissionsProvider, F as defineOneHook$1, G as useRecordForm$1, H as useBlockQuery$1, I as useBlockEnv$1, J as RecordListUrl, K as RecordListQueryStates, L as useBlockTenant$1, M as defineDataHooks$1, N as defineInfiniteListHook$1, O as useCan$1, P as defineListHook$1, Q as RecordContextValue, R as useController$1, St as useSupabase, T as OfflineContext, U as RecordFormState, V as useBlockMutation$1, W as UseRecordFormOptions, X as useRecordListState$1, Y as RecordListUrlState, Z as RecordActionsOf, _ as useRealtimeRelay$1, a as Upload, at as ActionForm, b as PresenceTopic, c as UseImageOptions, ct as UseActionFormOptions, d as useSignedUrl$1, et as RecordProviderKit, f as useUpload$1, g as UseRealtimeRelayOptions, gt as LiveCount, h as useDebouncedSearch$1, ht as BetterSupabaseProviderProps, i as StorageImage, it as createRecordProvider$1, l as UseUploadOptions, lt as UseOptimisticActionOptions, m as DebouncedSearchOptions, mt as BetterSupabaseProvider, n as SignedUrl, nt as RecordState, o as UploadStatus, ot as ActionHandle, p as DebouncedSearch, pt as BetterHooks, q as RecordListState, r as SignedUrlSource, rt as RecordWriteHandlers, s as UploadTarget, st as OptimisticActionHandle, t as ImageSource, tt as RecordProviderProps, u as useImage$1, v as Presence, vt as useAuth, w as useSyncStatus$1, x as usePresence$1, xt as useLiveQuery, y as PresenceHookOptions, yt as useBroadcast, z as useLatest$1 } from "../index-BnY5lZtT.js";
|
|
4
|
+
import { dt as QuerySpec } from "../db-blocks-DB8Ct8Eu.js";
|
|
5
|
+
import { r as LiveCountSeed } from "../index-C1na2fiY.js";
|
|
6
|
+
import { _ as LiveQueryHookOptions, b as ProfileOf, f as BroadcastOptions, h as LiveCountHookOptions, l as ActionInputOf, m as ClientLike, p as ClaimsOf, t as fieldErrorsOf, u as ActionResultOf, x as UseActionOptions } from "../field-errors-CihTLojJ.js";
|
|
7
7
|
import { a as useSignIn$1, i as SignOut, n as PendingState, o as useSignOut$1, r as SignIn, t as AuthHookOptions } from "../sign-in-DkRvzECa.js";
|
|
8
8
|
import { SessionProvider, SessionProviderProps } from "./session.js";
|
|
9
9
|
import { t as escapeLike } from "../escape-like-BvolEoGc.js";
|
|
10
|
-
import { t as tenantOf } from "../tenant-
|
|
11
|
-
import { r as MembershipClaim } from "../entitlements-
|
|
10
|
+
import { t as tenantOf } from "../tenant-BFABaxQ5.js";
|
|
11
|
+
import { r as MembershipClaim } from "../entitlements-CR5HRd3S.js";
|
|
12
12
|
/** The `react-server` build of `useSession`: await `bsb.claims()` instead. */
|
|
13
13
|
export declare const useSession: <C = unknown, P = unknown>() => AuthSession<C, P>;
|
|
14
14
|
/**
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as Validated } from "../shared-DsBcvj6q.js";
|
|
2
2
|
import { O as AnyFunctions, Ut as AnyAuthorizer, in as PermissionRef, k as AnyModels } from "../types-BJ4cg51a.js";
|
|
3
|
-
import { s as BetterSupabase } from "../db-blocks-
|
|
4
|
-
import { n as FrameworkOptions, r as LocalsResource, t as FrameworkLocals } from "../framework-
|
|
3
|
+
import { s as BetterSupabase } from "../db-blocks-DB8Ct8Eu.js";
|
|
4
|
+
import { n as FrameworkOptions, r as LocalsResource, t as FrameworkLocals } from "../framework-giXStk8k.js";
|
|
5
5
|
import { a as AuthorizedContext, c as ResourceLoaderContext, i as AuthorizeOptions, l as Unwrapped, n as ActionParsed, o as BlockActionOptions, r as ActionResult, s as BlockRequireOptions } from "../kit-DN6lGKB6.js";
|
|
6
|
-
import { r as BetterServer } from "../server-types-
|
|
6
|
+
import { r as BetterServer } from "../server-types-Cp2en4rP.js";
|
|
7
7
|
import { t as RefusalRedirects } from "../refusal-DHSRBaS6.js";
|
|
8
8
|
import { AnyEntry, Contributions } from "@supabase/middleware";
|
|
9
9
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { n as bufferInPlace, t as around } from "../shared-Ci1g9nl4.js";
|
|
2
2
|
import { o as problemResponse } from "../problem-BwplIuhI.js";
|
|
3
|
-
import { t as adapterBase } from "../adapter-base-
|
|
3
|
+
import { t as adapterBase } from "../adapter-base-BHtxRoRg.js";
|
|
4
4
|
import { _ as withFlush } from "../sessions-Dedk1ubX.js";
|
|
5
|
-
import { i as localsOf, n as actionInput, r as frameworkEntry } from "../framework-
|
|
5
|
+
import { i as localsOf, n as actionInput, r as frameworkEntry } from "../framework-BYZ8c9_g.js";
|
|
6
6
|
import { i as requireCaller, o as runAction } from "../kit-BgRTtW9w.js";
|
|
7
7
|
import { r as refusalResponse } from "../refusal-CgSrkirX.js";
|
|
8
8
|
import { s as settle } from "../respond-DLvLJwwN.js";
|
|
9
|
-
import { n as extendServer, t as createServer } from "../server-
|
|
9
|
+
import { n as extendServer, t as createServer } from "../server-DA5SRGHQ.js";
|
|
10
10
|
// src/bridges/react-router.ts
|
|
11
11
|
/**
|
|
12
12
|
* Runs an entry array as React Router server middleware. The contributions are
|
|
@@ -40,11 +40,12 @@ function recordSpec(type, id, options = {}) {
|
|
|
40
40
|
}
|
|
41
41
|
/** `s.$fn`: any property is a builder; the read set checks the name. */
|
|
42
42
|
function createFunctionSpecs() {
|
|
43
|
-
return new Proxy({}, { get: (_target, name) => typeof name === "string" ? (args) => ({
|
|
43
|
+
return new Proxy({}, { get: (_target, name) => typeof name === "string" ? (args, options) => ({
|
|
44
44
|
v: 1,
|
|
45
45
|
kind: "function",
|
|
46
46
|
name,
|
|
47
|
-
args: args ?? {}
|
|
47
|
+
args: args ?? {},
|
|
48
|
+
...options?.tables === void 0 ? {} : { tables: [...options.tables] }
|
|
48
49
|
}) : void 0 });
|
|
49
50
|
}
|
|
50
51
|
function isFunctionSpec(value) {
|
package/dist/realtime/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { D as AccessTopicPolicy, E as AccessPolicySql } from "../types-BJ4cg51a.js";
|
|
2
2
|
import { et as TemplateParams, tt as TemplateValues } from "../bucket-CbRyXRp3.js";
|
|
3
3
|
import { t as RealtimeStatus } from "../realtime-status-D3oUx3o4.js";
|
|
4
|
-
import { A as TriggerPayloadMode, C as TopicSubscribeOptions, D as TopicTriggerValue, E as TopicTriggerOptions, F as rowKeys, I as FanOutResult, L as TopicFanOutOptions, M as TriggerValue, N as defineTopic, O as TriggerLookup, P as rowChange, S as TopicSqlOptions, T as TopicTriggerLookup, _ as TopicHandlers, a as PresenceOutput, b as TopicPayload, c as RealtimeClient, d as SubscribeOptions, f as Subscription, g as TopicEvent, h as TopicBroadcast, i as PresenceOptions, j as TriggerTopic, k as TriggerOptions, l as RowChange, m as Topic, n as PresenceInput, o as PresenceSchema, p as SubscriptionStatus, r as PresenceMember, s as PresenceSubscription, t as EventSchemas, u as RowKeys, v as TopicMessage, w as TopicSubscription, x as TopicPermission, y as TopicOptions } from "../topic-
|
|
5
|
-
import { a as watchTopic, i as topicPort, n as TopicPort, r as TopicWatch, t as TopicHandle } from "../watch-topic-
|
|
6
|
-
import { S as relayTopicPort, _ as subjectPresenceValues, a as LiveSource, b as RelayEventSourceConstructor, c as liveCount, d as realtimeChanges, f as SUBJECT_PRESENCE_TEMPLATE, g as subjectPresenceTopic, h as subjectPresence, i as LiveQueryOptions, l as liveQuery, m as SubjectPresenceValues, n as LiveCountOptions, o as LiveSubscription, p as SubjectPresenceTopic, r as LiveCountSeed, s as RealtimeChangesOptions, t as CountRunner, u as liveTopic, v as RelayClientOptions, x as relayRealtimeClient, y as RelayEventSource } from "../index-
|
|
4
|
+
import { A as TriggerPayloadMode, C as TopicSubscribeOptions, D as TopicTriggerValue, E as TopicTriggerOptions, F as rowKeys, I as FanOutResult, L as TopicFanOutOptions, M as TriggerValue, N as defineTopic, O as TriggerLookup, P as rowChange, S as TopicSqlOptions, T as TopicTriggerLookup, _ as TopicHandlers, a as PresenceOutput, b as TopicPayload, c as RealtimeClient, d as SubscribeOptions, f as Subscription, g as TopicEvent, h as TopicBroadcast, i as PresenceOptions, j as TriggerTopic, k as TriggerOptions, l as RowChange, m as Topic, n as PresenceInput, o as PresenceSchema, p as SubscriptionStatus, r as PresenceMember, s as PresenceSubscription, t as EventSchemas, u as RowKeys, v as TopicMessage, w as TopicSubscription, x as TopicPermission, y as TopicOptions } from "../topic-BH4L7H8n.js";
|
|
5
|
+
import { a as watchTopic, i as topicPort, n as TopicPort, r as TopicWatch, t as TopicHandle } from "../watch-topic-BYfSlldk.js";
|
|
6
|
+
import { S as relayTopicPort, _ as subjectPresenceValues, a as LiveSource, b as RelayEventSourceConstructor, c as liveCount, d as realtimeChanges, f as SUBJECT_PRESENCE_TEMPLATE, g as subjectPresenceTopic, h as subjectPresence, i as LiveQueryOptions, l as liveQuery, m as SubjectPresenceValues, n as LiveCountOptions, o as LiveSubscription, p as SubjectPresenceTopic, r as LiveCountSeed, s as RealtimeChangesOptions, t as CountRunner, u as liveTopic, v as RelayClientOptions, x as relayRealtimeClient, y as RelayEventSource } from "../index-C1na2fiY.js";
|
|
7
7
|
import { n as subjectReaders, t as SubjectReadersOptions } from "../subject-readers-DNPGHMEg.js";
|
|
8
8
|
export { type AccessPolicySql, type AccessTopicPolicy, type CountRunner, type EventSchemas, type FanOutResult, type LiveCountOptions, type LiveCountSeed, type LiveQueryOptions, type LiveSource, type LiveSubscription, type PresenceInput, type PresenceMember, type PresenceOptions, type PresenceOutput, type PresenceSchema, type PresenceSubscription, type RealtimeChangesOptions, type RealtimeClient, type RealtimeStatus, type RelayClientOptions, type RelayEventSource, type RelayEventSourceConstructor, type RowChange, type RowKeys, SUBJECT_PRESENCE_TEMPLATE, type SubjectPresenceTopic, type SubjectPresenceValues, type SubjectReadersOptions, type SubscribeOptions, type Subscription, type SubscriptionStatus, type TemplateParams, type TemplateValues, type Topic, type TopicBroadcast, type TopicEvent, type TopicFanOutOptions, type TopicHandle, type TopicHandlers, type TopicMessage, type TopicOptions, type TopicPayload, type TopicPermission, type TopicPort, type TopicSqlOptions, type TopicSubscribeOptions, type TopicSubscription, type TopicTriggerLookup, type TopicTriggerOptions, type TopicTriggerValue, type TopicWatch, type TriggerLookup, type TriggerOptions, type TriggerPayloadMode, type TriggerTopic, type TriggerValue, defineTopic, liveCount, liveQuery, liveTopic, realtimeChanges, relayRealtimeClient, relayTopicPort, rowChange, rowKeys, subjectPresence, subjectPresenceTopic, subjectPresenceValues, subjectReaders, topicPort, watchTopic };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { G as EntitySchema, yn as FormFieldType } from "./define-block-
|
|
1
|
+
import { G as EntitySchema, yn as FormFieldType } from "./define-block-Cd7dm2o6.js";
|
|
2
2
|
/** The input a field renders: a forms block field type, or a date and time. */
|
|
3
3
|
type RecordFormInput = FormFieldType | "datetime";
|
|
4
4
|
/** One field of an entity form, in render order. */
|