better-supabase 0.58.3 → 0.59.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/{adapter-base-BbnpIsy4.js → adapter-base-BAjra5Eb.js} +1 -1
- package/dist/{ai-schedules-D47O_Vlo.d.ts → ai-schedules-BxBsTpji.d.ts} +1 -1
- package/dist/{api-DsFkhsYI.js → api-DAJJ7N_0.js} +1 -1
- package/dist/{app-tables-IXL0Hzut.d.ts → app-tables-DBmFqdFN.d.ts} +1 -1
- package/dist/astro/index.js +3 -3
- package/dist/{bind-BRkDWXXk.d.ts → bind-Bx0H1vAc.d.ts} +2 -2
- package/dist/{block-env-I8juWoVO.d.ts → block-env-DUn5reXc.d.ts} +2 -2
- package/dist/{block-tables-DmDyNlJf.d.ts → block-tables-BaLXCQha.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 +2 -2
- 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 +1 -1
- package/dist/blocks/assignment/index.d.ts +1 -1
- package/dist/blocks/attachments/index.d.ts +3 -3
- 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 +2 -2
- 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 +2 -2
- package/dist/blocks/cases/index.d.ts +2 -2
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/blocks/crm/index.d.ts +16 -16
- 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 +1 -1
- package/dist/blocks/document-templates/index.d.ts +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/blocks/inbox/index.d.ts +3 -3
- package/dist/blocks/incidents/index.d.ts +1 -1
- package/dist/blocks/index.d.ts +2 -2
- package/dist/blocks/inspections/index.d.ts +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/blocks/lims/index.d.ts +1 -1
- package/dist/blocks/mail-sync/index.d.ts +2 -2
- package/dist/blocks/maintenance/index.d.ts +2 -2
- package/dist/blocks/manufacturing/index.d.ts +1 -1
- package/dist/blocks/medications/index.d.ts +1 -1
- package/dist/blocks/meetings/index.d.ts +2 -2
- package/dist/blocks/memberships/index.d.ts +1 -1
- package/dist/blocks/memory/index.d.ts +1 -1
- package/dist/blocks/messaging/index.d.ts +2 -2
- 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 +1 -1
- package/dist/blocks/notifications/index.d.ts +3 -3
- 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 +1 -1
- package/dist/blocks/outbox/index.d.ts +1 -1
- package/dist/blocks/passes/index.d.ts +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +2 -2
- 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 +1 -1
- 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 +2 -2
- package/dist/blocks/scheduling/index.d.ts +4 -4
- package/dist/blocks/scores/index.d.ts +1 -1
- package/dist/blocks/search/index.d.ts +2 -2
- package/dist/blocks/security-events/index.d.ts +1 -1
- package/dist/blocks/segments/index.d.ts +1 -1
- package/dist/blocks/sequences/index.d.ts +2 -2
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/blocks/workflow-editor/index.d.ts +2 -2
- package/dist/blocks/workflows/index.d.ts +2 -2
- package/dist/{build-Cb9yLxtS.js → build-Rz89mkdS.js} +1 -1
- package/dist/claims/index.d.ts +4 -4
- package/dist/{claims-source-CXAtLZ9_.d.ts → claims-source-BEVTXHQx.d.ts} +1 -1
- package/dist/cli/{add-BQZyQh4f.js → add-BJNTq7Ti.js} +2 -2
- package/dist/cli/add-C04PIE9H.js +1 -0
- package/dist/cli/{add-dbBQf6Vy.js → add-CnCt2QoB.js} +11 -11
- package/dist/cli/{app-table-files-CITEmvRS.js → app-table-files-CfB0_NuX.js} +4 -4
- package/dist/cli/{app-tables-BBqu3dow.js → app-tables-oieRU_sP.js} +2 -2
- package/dist/cli/{backfill-bBk3QjfK.js → backfill-Cr5jgVi1.js} +3 -3
- package/dist/cli/bin.js +1 -1
- package/dist/cli/{blocks-D-DV2aCE.js → blocks-B-ANsRnH.js} +1 -1
- package/dist/cli/{blocks-CsQNweG8.js → blocks-DLMVaOFG.js} +1 -1
- package/dist/cli/{cache-sR8AQqSV.js → cache-Ba26VW2N.js} +1 -1
- package/dist/cli/{codemod-naming-BLoVSmVF.js → codemod-naming-CZhndoO7.js} +1 -1
- package/dist/cli/{codemod-BkPcyPnF.js → codemod-x1I7Mjr3.js} +6 -6
- package/dist/cli/{column-renames-brM-D_th.js → column-renames-BEEDF6P6.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-z7CrnE1s.js} +1 -1
- package/dist/cli/{db-od92zIrO.js → db-CEUnv3hK.js} +2 -2
- package/dist/cli/{dev-ClH-7fB0.js → dev-D9nn9Gzt.js} +5 -5
- package/dist/cli/{doctor-C_BEuEGg.js → doctor-DCorhlir.js} +584 -25
- package/dist/cli/{emit-CTzFdffA.js → emit-qQdWBc9e.js} +2 -2
- package/dist/cli/{gen-RKf7q3L5.js → gen-Bf1ujcTm.js} +5 -5
- package/dist/cli/{gen-tasks-DmDvgVBV.js → gen-tasks-q9JJSJ6r.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-DLLfL1uL.js} +9 -9
- package/dist/cli/{live-DjjMID3V.js → live-D4giSEyd.js} +2 -2
- package/dist/cli/{mcp-BYwrZHp1.js → mcp-DwjeMbmV.js} +2 -2
- package/dist/cli/{memo-backend-BIHqP1uE.js → memo-backend-DPGMyJvH.js} +1 -1
- package/dist/cli/{metadata-DCtLUYqR.js → metadata-Cft3CW1M.js} +4 -4
- package/dist/cli/{migrate-Bq6CUPbE.js → migrate-Ci_UUuPv.js} +1 -1
- package/dist/cli/{migration-safety-BvJ-JK5n.js → migration-safety-D3raBuJx.js} +2 -2
- package/dist/cli/{module-migration-Dv6VV1om.js → module-migration-DZtxNO8A.js} +1 -1
- package/dist/cli/{partition-C4g7WAwh.js → partition-DWJ6icQ5.js} +3 -3
- package/dist/cli/{powersync-1HMiZhFF.js → powersync-BAyDVR-N.js} +4 -4
- package/dist/cli/powersync-DnKUA1tu.js +1 -0
- package/dist/cli/{print-D9biMrfv.js → print-BSy5c62C.js} +2 -2
- package/dist/cli/{providers-C5fw9XC_.js → providers-BbFKOale.js} +1 -1
- package/dist/cli/{prune-workflows-DxpPCevB.js → prune-workflows-VY7C9vhb.js} +3 -3
- package/dist/cli/{remove-CyhSdPkK.js → remove-CcBoTjEO.js} +6 -6
- package/dist/cli/{render-DOz25g5T.js → render-CIrcdge6.js} +5 -5
- package/dist/cli/{render-cache-CInSNFhV.js → render-cache-bbL2UdJ6.js} +1 -1
- package/dist/cli/{round-trips-D2KD5Hpq.js → round-trips-n_Dk1iUI.js} +1 -3
- package/dist/cli/{run-0bMsZ1VV.js → run-D_p_WkPh.js} +7 -7
- package/dist/cli/{run-DVdkD1MI.js → run-qCtE--0z.js} +35 -35
- 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-CkqZm0Bz.js} +1 -1
- package/dist/cli/{source-args-B3Rowfv5.js → source-args-yU6N6JLm.js} +1 -1
- package/dist/cli/{source-BGVOuWXq.js → source-io7b1UpH.js} +1 -1
- package/dist/cli/{spec-C_JKo_dP.js → spec-QGOfTJvS.js} +1 -1
- package/dist/cli/{spec-COotILIk.js → spec-djAAvGKU.js} +2 -2
- package/dist/cli/{sql-layout-D8dIzdy9.js → sql-layout-1ASqdR4g.js} +3 -3
- package/dist/cli/{squash-xCseaSP1.js → squash-DEmB47YZ.js} +1 -1
- package/dist/cli/{sync-Ceqa-3R6.js → sync-CUcxtnwa.js} +4 -4
- package/dist/cli/{upgrade-CUNKALDw.js → upgrade-DV9mKpAp.js} +5 -5
- package/dist/cli/{upgrade-DiMHauEU.js → upgrade-FWW6hKCv.js} +5 -5
- package/dist/cli/{verify-BFLaU6w3.js → verify-CrFHs8Lr.js} +2 -2
- package/dist/cli/{version-C7imaHag.js → version-CSdXYnhG.js} +1 -1
- package/dist/client/index.d.ts +3 -3
- package/dist/client/native/index.d.ts +1 -1
- package/dist/client/native/index.js +1 -1
- package/dist/{composite-DYAp3Znr.js → composite-WUO6K2Hu.js} +1 -1
- package/dist/config/index.d.ts +2 -2
- package/dist/config/index.js +2 -2
- package/dist/{config-DzPViWQU.js → config-C3yry9U5.js} +2 -1
- package/dist/{context-DMBXEzQa.d.ts → context-DMTfze4z.d.ts} +2 -1
- package/dist/contract/index.d.ts +1 -1
- package/dist/{controller-CaZv50cD.d.ts → controller-l9h4TtKg.d.ts} +1 -1
- package/dist/{conversion-D2key0v9.d.ts → conversion-D70FELty.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 +2 -2
- package/dist/create/lite/index.js +3 -3
- package/dist/{define-block-kWv1wYf7.d.ts → define-block-D-Z8xB6y.d.ts} +5 -0
- package/dist/{define-runtime-full-Bh5c_01f.js → define-runtime-full-C4eTtJAx.js} +42 -35
- package/dist/{drive-Bm-up0KU.d.ts → drive-DrD94tWF.d.ts} +1 -1
- package/dist/edge/index.js +4 -4
- package/dist/{entitlements-UGUF2RJv.d.ts → entitlements-B6q7TIMP.d.ts} +2 -2
- package/dist/{executor-B0nTn-4Q.js → executor-BmcRcw83.js} +1 -1
- package/dist/expo/index.js +3 -3
- package/dist/{extract-Bs_b4ZIX.d.ts → extract-D4QPFB_M.d.ts} +1 -1
- package/dist/{extras-C258FsPj.d.ts → extras-C0cnpjDP.d.ts} +1 -1
- package/dist/{field-errors-BKCtkPxS.d.ts → field-errors-Br3wwgbu.d.ts} +2 -2
- package/dist/{former-permission-keys-hL23tm66.js → former-permission-keys-BwJW5uc6.js} +2 -1
- package/dist/{framework-C9UiMaOq.js → framework-CbjS8M33.js} +1 -1
- 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.js +3 -3
- package/dist/{index-BZdSOt51.d.ts → index-B4uPo3Sr.d.ts} +1 -1
- package/dist/{index-CIVA5x1i.d.ts → index-B6h9m3ml.d.ts} +2 -2
- package/dist/{index-DebFs8qq.d.ts → index-BFvj-fNS.d.ts} +1 -1
- package/dist/{index-icogJj2C.d.ts → index-BWxcC8ll.d.ts} +2 -2
- package/dist/{index-BG-WQ0JH.d.ts → index-BZHDwHGW.d.ts} +1 -1
- package/dist/{index-DWxio8F_.d.ts → index-BbpacfC0.d.ts} +7 -7
- package/dist/{index-DRKAMZV3.d.ts → index-BfoKErj3.d.ts} +1 -1
- package/dist/{index-BMh8ACKR.d.ts → index-BquYRGtV.d.ts} +1 -1
- package/dist/{index-48l12mNt.d.ts → index-C7Tcervm.d.ts} +2 -2
- package/dist/{index-DLVuARYk.d.ts → index-C9p3wiWn.d.ts} +6 -6
- package/dist/{index-R_k3Nh4y.d.ts → index-CHOeFZUB.d.ts} +3 -3
- package/dist/{index-CjeQqQzW.d.ts → index-Cg0lDbXs.d.ts} +2 -2
- package/dist/{index-B64DT6Io.d.ts → index-CnTxcNyl.d.ts} +1 -1
- package/dist/{index-DgiSwhKf.d.ts → index-D3d7m03L.d.ts} +1 -1
- package/dist/{index-CkCuMFVG.d.ts → index-DG187JM_.d.ts} +1 -1
- package/dist/{index-C_DCvnW0.d.ts → index-DGszLnec.d.ts} +1 -1
- package/dist/{index-D2aht6Cz.d.ts → index-DHjZvZWC.d.ts} +2 -2
- package/dist/{index-Mq2z-GgJ.d.ts → index-DK0Hj3pi.d.ts} +1 -1
- package/dist/{index-CDCyOPT7.d.ts → index-DKuOnwh6.d.ts} +2 -2
- package/dist/{index-CDrLyU72.d.ts → index-DLlAc0wg.d.ts} +1 -1
- package/dist/{index-GamVr8VZ.d.ts → index-DMyMrXPW.d.ts} +1 -1
- package/dist/{index-DskEpSgl.d.ts → index-DU_gZYuh.d.ts} +1 -1
- package/dist/{index-CDxfstYD.d.ts → index-DYX_uL5t.d.ts} +1 -1
- package/dist/{index-BJ1Mv0TK.d.ts → index-D_xJSanv.d.ts} +1 -1
- package/dist/{index-DOBq5QFe.d.ts → index-Dg4lbDzI.d.ts} +1 -1
- package/dist/{index-BYx-ObF-.d.ts → index-DkALeCTq.d.ts} +1 -1
- package/dist/{index-DIK12ZTb.d.ts → index-DtVZnjKf.d.ts} +2 -2
- package/dist/{index-BBf3nn7Y.d.ts → index-Dyns9a8l.d.ts} +1 -1
- package/dist/{index-B6i7w-iS.d.ts → index-NNox0BqF.d.ts} +1 -1
- package/dist/{index-CzNRwKGG.d.ts → index-WuUhLgMp.d.ts} +2 -2
- package/dist/{index-DcdC0Qll.d.ts → index-X-ihJBuJ.d.ts} +1 -1
- package/dist/{index-rFIDpwjh.d.ts → index-jCKNxp8C.d.ts} +1 -1
- package/dist/{index-BtuseUSW.d.ts → index-o2y0w9lX.d.ts} +1 -1
- package/dist/{index-nsEUHz98.d.ts → index-ouiV6zqH.d.ts} +2 -2
- package/dist/{index-B67YUNow.d.ts → index-qzFFTwel.d.ts} +1 -1
- package/dist/{json-schema-CgwH39-G.js → json-schema-B8f7HdoX.js} +1 -1
- package/dist/{manifest-DcnVXlH7.d.ts → manifest--_00y416.d.ts} +1 -1
- package/dist/{manifest-CxUI9ZXn.d.ts → manifest-B7lSTuVC.d.ts} +1 -1
- package/dist/{manifest-Cz8poTZ2.d.ts → manifest-BA-urVob.d.ts} +1 -1
- package/dist/{manifest-ChKRtAF6.d.ts → manifest-BAn3lTr4.d.ts} +1 -1
- package/dist/{manifest-tjlvcP1t.d.ts → manifest-BESrR9Xp.d.ts} +1 -1
- package/dist/{manifest-BkJdR1D-.d.ts → manifest-BEw6nEKW.d.ts} +1 -1
- package/dist/{manifest-C7bh84U0.d.ts → manifest-BGmmK9bZ.d.ts} +1 -1
- package/dist/{manifest-B7IYj4OA.d.ts → manifest-BMcuCUre.d.ts} +1 -1
- package/dist/{manifest-BG2_hkzB.d.ts → manifest-BS8p47JO.d.ts} +1 -1
- package/dist/{manifest-C7CtYgWC.d.ts → manifest-BYv5BqtY.d.ts} +1 -1
- package/dist/{manifest-9TRpR9P-.d.ts → manifest-B_2lEGUS.d.ts} +1 -1
- package/dist/{manifest-BSSoVDlI.d.ts → manifest-BgmY9fuz.d.ts} +1 -1
- package/dist/{manifest-C1TwYhyr.d.ts → manifest-BoUGzBpS.d.ts} +1 -1
- package/dist/{manifest-D02pP9Nl.d.ts → manifest-BvzmDxod.d.ts} +1 -1
- package/dist/{manifest-Ce_JDK4r.d.ts → manifest-ByNpLQWh.d.ts} +1 -1
- package/dist/{manifest-CpMVJWDU.d.ts → manifest-ByV81mLa.d.ts} +1 -1
- package/dist/{manifest-DBptC4dz.d.ts → manifest-C-pVDUC6.d.ts} +1 -1
- package/dist/{manifest-Cx_UVMlT.d.ts → manifest-C0v6IEWk.d.ts} +1 -1
- package/dist/{manifest-DAv6iO-q.d.ts → manifest-C5LxShda.d.ts} +1 -1
- package/dist/{manifest-DZc_37YJ.d.ts → manifest-C8PUzse6.d.ts} +1 -1
- package/dist/{manifest-BdV9GNAF.d.ts → manifest-CCKfdYiH.d.ts} +1 -1
- package/dist/{manifest-BNCX3M2Y.d.ts → manifest-CIVhJzKF.d.ts} +1 -1
- package/dist/{manifest-BmGsyaxx.d.ts → manifest-CKCaFg8y.d.ts} +1 -1
- package/dist/{manifest-BXatXuLx.d.ts → manifest-CKDaQT_5.d.ts} +1 -1
- package/dist/{manifest-blSYzmEZ.d.ts → manifest-CLukD6aB.d.ts} +1 -1
- package/dist/{manifest-BSrdiUHP.d.ts → manifest-CNLJLsHB.d.ts} +1 -1
- package/dist/{manifest-t9v09kRa.d.ts → manifest-CWwdLMT0.d.ts} +1 -1
- package/dist/{manifest-Dc_FWIrg.d.ts → manifest-CXYg8gzt.d.ts} +1 -1
- package/dist/{manifest-BOxu_JMd.d.ts → manifest-CZoRtSvn.d.ts} +1 -1
- package/dist/{manifest-Cle7S3sn.d.ts → manifest-Ch08RUKa.d.ts} +1 -1
- package/dist/{manifest-BWE_47qq.d.ts → manifest-CjzlsilW.d.ts} +1 -1
- package/dist/{manifest-CD_ZA69x.d.ts → manifest-Clzy2rSU.d.ts} +1 -1
- package/dist/{manifest-B91B3Yvk.d.ts → manifest-Co41j70r.d.ts} +1 -1
- package/dist/{manifest-Cn85_kP6.d.ts → manifest-CvncELVO.d.ts} +1 -1
- package/dist/{manifest-BKY6WHm6.d.ts → manifest-CxgOFWlh.d.ts} +1 -1
- package/dist/{manifest-BizfO8zf.d.ts → manifest-CyaHDD_i.d.ts} +1 -1
- package/dist/{manifest-DGrcTY4n.d.ts → manifest-D0eItVsP.d.ts} +1 -1
- package/dist/{manifest-BdBaGzfE.d.ts → manifest-D80LSWzZ.d.ts} +1 -1
- package/dist/{manifest-LAVlQXiw.d.ts → manifest-DBfQe19Z.d.ts} +1 -1
- package/dist/{manifest-C3FjJnQT.d.ts → manifest-DCkeNzPW.d.ts} +1 -1
- package/dist/{manifest-Bsrn5gfq.d.ts → manifest-DHTVfgX9.d.ts} +1 -1
- package/dist/{manifest-gS-wx2yB.d.ts → manifest-DHulRwzL.d.ts} +1 -1
- package/dist/{manifest-CIa0-uCj.d.ts → manifest-DKnWcgse.d.ts} +1 -1
- package/dist/{manifest-CTEURHfF.d.ts → manifest-DLSzZMXM.d.ts} +1 -1
- package/dist/{manifest-dSiPcx5l.d.ts → manifest-DVZmJvrE.d.ts} +1 -1
- package/dist/{manifest-BWFemJ6Q.d.ts → manifest-D_wBteR5.d.ts} +1 -1
- package/dist/{manifest-Cfrflbtt.d.ts → manifest-DlLxdk7P.d.ts} +1 -1
- package/dist/{manifest-zEA2Tw_l.d.ts → manifest-DofXV9lE.d.ts} +1 -1
- package/dist/{manifest-BVwoT7GU.d.ts → manifest-Dp92U_iP.d.ts} +1 -1
- package/dist/{manifest-DF6GzdBC.d.ts → manifest-Dpad_5Lw.d.ts} +1 -1
- package/dist/{manifest-D4iEPtlb.d.ts → manifest-Dvm2mwFy.d.ts} +1 -1
- package/dist/{manifest-1P6OEAwH.d.ts → manifest-Fapf4NdA.d.ts} +1 -1
- package/dist/{manifest-CPlmHPRY.d.ts → manifest-QmYmc98q.d.ts} +1 -1
- package/dist/{manifest-VjVVI7bV.d.ts → manifest-RitquXSE.d.ts} +1 -1
- package/dist/{manifest-BN2J8Zo7.d.ts → manifest-TvLJWs_L.d.ts} +1 -1
- package/dist/{manifest-D32p1K-g.d.ts → manifest-V0QSCEfx.d.ts} +1 -1
- package/dist/{manifest-BNIvrs6_.d.ts → manifest-VCJSqffq.d.ts} +2 -2
- package/dist/{manifest-B-wg2F2L.d.ts → manifest-eUUJnoB5.d.ts} +1 -1
- package/dist/{manifest-mCn7RdZs.d.ts → manifest-qvMWfrZ-.d.ts} +1 -1
- package/dist/{manifest-khfEDzX4.d.ts → manifest-r6DHrB4Q.d.ts} +1 -1
- package/dist/{manifest-BcqqAgm9.d.ts → manifest-ra7MSo-3.d.ts} +1 -1
- package/dist/{manifest-SoNChfLL.d.ts → manifest-wbs2VkcB.d.ts} +1 -1
- package/dist/mapper/bin.js +6 -6
- package/dist/mcp/index.js +1 -1
- package/dist/mcp/sdk/index.js +1 -1
- package/dist/{mcp-CoJbu0Hk.js → mcp-aMq1fkoe.js} +3 -3
- package/dist/next/index.d.ts +4 -4
- package/dist/next/index.js +2 -2
- package/dist/next/proxy/index.d.ts +2 -2
- package/dist/orpc/index.js +2 -2
- package/dist/otel/index.js +5 -5
- package/dist/{permissions-Ccvec0MR.d.ts → permissions-ZLtxCurD.d.ts} +1 -1
- package/dist/powersync/index.d.ts +1 -1
- package/dist/powersync/index.js +1 -1
- package/dist/preset/index.d.ts +4 -4
- package/dist/{preview-CR1nZ6-E.d.ts → preview-BoJkQw2E.d.ts} +2 -2
- package/dist/{project-CxoixIpG.js → project-DI09JnXz.js} +2 -2
- package/dist/query/index.d.ts +1 -1
- package/dist/react/index.d.ts +4 -4
- package/dist/react/native/index.d.ts +1 -1
- package/dist/react/server.d.ts +4 -4
- package/dist/react-router/index.js +3 -3
- package/dist/{record-form-mpamIVq3.d.ts → record-form-BHUYs5ju.d.ts} +1 -1
- package/dist/records/index.d.ts +5 -5
- package/dist/server/index.d.ts +3 -3
- package/dist/server/index.js +4 -4
- package/dist/{server-CqRpnOo0.js → server-Bgugpk3A.js} +1 -1
- package/dist/{sign-in-CMEBFv36.d.ts → sign-in-Dp-X2YXo.d.ts} +3 -3
- package/dist/solid/index.d.ts +4 -4
- package/dist/solid-start/index.js +3 -3
- package/dist/spec/index.js +2 -2
- package/dist/sql/index.d.ts +4 -4
- package/dist/sql/index.js +1 -1
- package/dist/{sql-ZLYXNvXw.js → sql-BqOBYRvI.js} +2 -2
- package/dist/sqlite/index.js +1 -1
- package/dist/ssr/index.d.ts +1 -1
- package/dist/svelte/index.d.ts +4 -4
- package/dist/sveltekit/index.js +3 -3
- package/dist/tanstack-start/index.js +3 -3
- package/dist/{tenant-DpJTJr1c.d.ts → tenant-BQaG8Hma.d.ts} +1 -1
- package/dist/testing/index.d.ts +5 -5
- package/dist/testing/index.js +3 -3
- package/dist/{timeline-CGjiciIY.d.ts → timeline-D7T-qrKN.d.ts} +2 -2
- package/dist/{types-BidEA6pZ.d.ts → types-BE6BvLv2.d.ts} +2 -2
- package/dist/{version-DRVVrk-u.js → version-CkYT3KbT.js} +1 -1
- package/dist/vue/index.d.ts +4 -4
- package/dist/webmcp/index.js +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/seed-Dlm5jjPn.js +0 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { d as fileDiff, i as changeLines, r as applyPlan } from "./files-NnXnawki.js";
|
|
2
2
|
import { t as display } from "./io-CngfGyMA.js";
|
|
3
|
-
import { i as migrationsDir, l as sqlPlan } from "./sql-layout-
|
|
3
|
+
import { i as migrationsDir, l as sqlPlan } from "./sql-layout-1ASqdR4g.js";
|
|
4
4
|
import { d as readSupabaseToml, p as sqlWorkflow } from "./supabase-toml-B6-eEV5p.js";
|
|
5
|
-
import { a as write, r as nextStep, s as topicPolicyFile } from "./sync-
|
|
5
|
+
import { a as write, r as nextStep, s as topicPolicyFile } from "./sync-CUcxtnwa.js";
|
|
6
6
|
import { n as migrationFile } from "./migration-names-7zAdXfcd.js";
|
|
7
|
-
import { a as migrationInstances, c as sameModuleMigration, o as migrationModules, r as latestMigration, s as renderModuleMigration, t as MODULES_SUFFIX, u as writesMigrations } from "./module-migration-
|
|
8
|
-
import { r as layoutFor } from "./providers-
|
|
9
|
-
import { n as renderBlocksCached, t as cacheOf } from "./render-cache-
|
|
7
|
+
import { a as migrationInstances, c as sameModuleMigration, o as migrationModules, r as latestMigration, s as renderModuleMigration, t as MODULES_SUFFIX, u as writesMigrations } from "./module-migration-DZtxNO8A.js";
|
|
8
|
+
import { r as layoutFor } from "./providers-BbFKOale.js";
|
|
9
|
+
import { n as renderBlocksCached, t as cacheOf } from "./render-cache-bbL2UdJ6.js";
|
|
10
10
|
import { resolve } from "node:path";
|
|
11
11
|
import { readFile, readdir } from "node:fs/promises";
|
|
12
12
|
import { PRELUDE_FUNCTIONS, PRELUDE_MODULE, SQL_MODULES, buildModel, conflicts, duplicatePolicies, entityRenamePlan, moduleFileVersion, moduleTopics, sameBlockFile, upgradePlan } from "better-supabase/sql";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { m as commandMeta, r as defineCliCommand } from "./command-fqvJ0TdG.js";
|
|
2
|
-
import { t as shadowedBlockColumns } from "./column-renames-
|
|
3
|
-
import { n as appSchemaTexts } from "./sql-layout-
|
|
2
|
+
import { t as shadowedBlockColumns } from "./column-renames-BEEDF6P6.js";
|
|
3
|
+
import { n as appSchemaTexts } from "./sql-layout-1ASqdR4g.js";
|
|
4
4
|
import { t as SQL_ARGS } from "./args-CS_64_tg.js";
|
|
5
|
-
import { o as dataMigration, t as syncModules } from "./sync-
|
|
6
|
-
import { r as renderStats } from "./render-cache-
|
|
7
|
-
import { t as upgrade } from "./upgrade-
|
|
5
|
+
import { o as dataMigration, t as syncModules } from "./sync-CUcxtnwa.js";
|
|
6
|
+
import { r as renderStats } from "./render-cache-bbL2UdJ6.js";
|
|
7
|
+
import { t as upgrade } from "./upgrade-DV9mKpAp.js";
|
|
8
8
|
import { i as plain } from "./style-B5-nByxb.js";
|
|
9
9
|
// src/cli/commands/upgrade.ts
|
|
10
10
|
const UPGRADE_ARGS = {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { l as stdinDatabaseUrl, n as databaseUrl } from "./config-
|
|
1
|
+
import { l as stdinDatabaseUrl, n as databaseUrl } from "./config-DD_MnPRL.js";
|
|
2
2
|
import { m as commandMeta, r as defineCliCommand } from "./command-fqvJ0TdG.js";
|
|
3
3
|
import { n as CliError, r as errorText } from "./errors-B7i-VGxk.js";
|
|
4
4
|
import { t as connect } from "./db-B_xr3ZvK.js";
|
|
5
|
-
import { r as STACK_ARG, t as DB_URL_STDIN_ARG } from "./source-args-
|
|
5
|
+
import { r as STACK_ARG, t as DB_URL_STDIN_ARG } from "./source-args-yU6N6JLm.js";
|
|
6
6
|
import { dirname, join } from "node:path";
|
|
7
7
|
import { mkdir, writeFile } from "node:fs/promises";
|
|
8
8
|
import { accessMatrix, accessMatrixTests, readSecurityCatalog, verifyCatalog, verifyQuery } from "better-supabase/create/lite";
|
package/dist/client/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { a as DataSync, c as LocalTablesOption, i as DataEntry, l as liveEngine, n as DataEngine, o as DataSyncState, r as DataEngineOptions, s as LiveEngineOptions, t as DataChanges, u as memoryEngine } from "../data-engine-CQiEEoNx.js";
|
|
2
2
|
import { n as TopicPort, r as TopicWatch, t as TopicHandle } from "../watch-topic-D18gT7-K.js";
|
|
3
3
|
import { a as PickFilesOptions, c as Shortcut, d as UploadPort, f as memoryStorage, i as KeyboardPort, l as StoragePort, n as DeepLinkPort, o as PickedFile, p as storageUpload, r as FilePickerPort, s as PushTokenPort, t as ClientPorts, u as UploadDestination } from "../ports-CfVACwW_.js";
|
|
4
|
-
import { a as ClientAuth, i as BindClientOptions, n as AuthUser, o as bindClient, r as BetterClient, t as AuthSnapshot } from "../bind-
|
|
5
|
-
import { a as defineController, i as ControllerState, n as Controller, o as whileSignedIn, r as ControllerParts, t as AuthPort } from "../controller-
|
|
4
|
+
import { a as ClientAuth, i as BindClientOptions, n as AuthUser, o as bindClient, r as BetterClient, t as AuthSnapshot } from "../bind-Bx0H1vAc.js";
|
|
5
|
+
import { a as defineController, i as ControllerState, n as Controller, o as whileSignedIn, r as ControllerParts, t as AuthPort } from "../controller-l9h4TtKg.js";
|
|
6
6
|
import { i as authzUserTopic, r as AuthzVersionSource, t as AUTHZ_EVENT } from "../authz-topic-C7n3kIm_.js";
|
|
7
7
|
import { n as FunctionContract } from "../function-contract-DEVGJGzd.js";
|
|
8
|
-
import { a as webDeepLinks, c as webPorts, d as FunctionContracts, f as FunctionsHost, h as functions, i as WebPushTokenOptions, l as webPushToken, m as TypedFunctions, n as createClient, o as webFilePicker, p as InvokeOptions, r as PushRegistrationLike, s as webKeyboard, t as ClientOptions, u as webStorage } from "../index-
|
|
8
|
+
import { a as webDeepLinks, c as webPorts, d as FunctionContracts, f as FunctionsHost, h as functions, i as WebPushTokenOptions, l as webPushToken, m as TypedFunctions, n as createClient, o as webFilePicker, p as InvokeOptions, r as PushRegistrationLike, s as webKeyboard, t as ClientOptions, u as webStorage } from "../index-qzFFTwel.js";
|
|
9
9
|
export { AUTHZ_EVENT, type AuthPort, type AuthSnapshot, type AuthUser, type AuthzVersionSource, type BetterClient, type BindClientOptions, type ClientAuth, ClientOptions, type ClientPorts, type Controller, type ControllerParts, type ControllerState, type DataChanges, type DataEngine, type DataEngineOptions, type DataEntry, type DataSync, type DataSyncState, type DeepLinkPort, type FilePickerPort, type FunctionContract, type FunctionContracts, type FunctionsHost, type InvokeOptions, type KeyboardPort, type LiveEngineOptions, type LocalTablesOption, type PickFilesOptions, type PickedFile, type PushRegistrationLike, type PushTokenPort, type Shortcut, type StoragePort, type TopicHandle, type TopicPort, type TopicWatch, type TypedFunctions, type UploadDestination, type UploadPort, type WebPushTokenOptions, authzUserTopic, bindClient, createClient, defineController, functions, liveEngine, memoryEngine, memoryStorage, storageUpload, webDeepLinks, webFilePicker, webKeyboard, webPorts, webPushToken, webStorage, whileSignedIn };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { m as DbExtraHelpers, s as BetterSupabase } from "../../db-blocks-Db3LVXco.js";
|
|
2
2
|
import { O as AnyFunctions, k as AnyModels } from "../../types-BJ4cg51a.js";
|
|
3
|
-
import { a as ClientAuth, i as BindClientOptions, n as AuthUser, r as BetterClient, t as AuthSnapshot } from "../../bind-
|
|
3
|
+
import { a as ClientAuth, i as BindClientOptions, n as AuthUser, r as BetterClient, t as AuthSnapshot } from "../../bind-Bx0H1vAc.js";
|
|
4
4
|
import { a as OAuthSignInOptions, c as linkParams, i as OAuthClient, l as signInWithOAuthBrowser, n as AuthLinkError, o as WebBrowserLike, r as AuthLinkResult, s as handleAuthDeepLink, t as AuthLinkClient } from "../../auth-link-C6n-ophf.js";
|
|
5
5
|
import { n as TopicPort, r as TopicWatch, t as TopicHandle } from "../../watch-topic-D18gT7-K.js";
|
|
6
6
|
import { i as authzUserTopic, r as AuthzVersionSource, t as AUTHZ_EVENT } from "../../authz-topic-C7n3kIm_.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as provideConnectionRuntime } from "../../define-runtime-full-
|
|
1
|
+
import { t as provideConnectionRuntime } from "../../define-runtime-full-C4eTtJAx.js";
|
|
2
2
|
import { n as storageUpload, r as bindClient, t as memoryStorage } from "../../ports-DfDzwMCR.js";
|
|
3
3
|
import { i as signInWithOAuthBrowser, n as handleAuthDeepLink, r as linkParams, t as startNativeAuthzRefresh } from "../../authz-refresh-CNV_LFEh.js";
|
|
4
4
|
import { r as authzUserTopic, t as AUTHZ_EVENT } from "../../authz-topic-D7fPUY4P.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as withAuthMode, i as withAuth, o as withJwtClaims, s as withUserClaims } from "./claims-DouHL7ZL.js";
|
|
2
|
-
import { a as withSupport, i as withTenant, o as withServerContext, t as createServer } from "./server-
|
|
2
|
+
import { a as withSupport, i as withTenant, o as withServerContext, t as createServer } from "./server-Bgugpk3A.js";
|
|
3
3
|
import { c as serverCore, i as withSession } from "./sessions-Dedk1ubX.js";
|
|
4
4
|
import { o as problemResponse } from "./problem-BwplIuhI.js";
|
|
5
5
|
import { i as guard, n as defaultExpose } from "./respond-DLvLJwwN.js";
|
package/dist/config/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { N as Casing } from "../types-BJ4cg51a.js";
|
|
2
2
|
import { Ft as SubjectTeam, It as SubjectsConfig, Mt as SubjectConfig, Nt as SubjectPermission, Pt as SubjectSearch, _ as OwnTablePolicies, c as BlockScope, d as DisabledRow, f as EntitiesConfig, i as BlockConfig, l as BlocksConfig, n as ActiveTenantSource, o as BlockMode, p as EntityConfig, r as AnyBlocksConfig, t as AccessBlockConfig, u as DEFAULT_ACTIVE_TENANT, x as tenantNameOf } from "../blocks-RVd7m590.js";
|
|
3
|
-
import { $r as SkillsAgent, Gr as DoctorConfig, Jr as GenTask, Kr as EnvFileConfig, Qr as PowerSyncGenConfig, Xr as KeysConfig, Yr as IntegrationName, Zr as MigrationSafetyConfig, ai as INTEGRATION_NAMES, cn as FIELD_FORMATS, dn as FieldFormatInput, ei as SkillsConfig, ii as INTEGRATION_INFO, oi as IntegrationInfo, qr as GenConfig, ri as GEN_TASKS, si as SKILLS_AGENTS, un as FieldFormat } from "../define-block-
|
|
4
|
-
import { $ as flattenConfig, $n as SeedSampleConfig, $r as AppLookupConfig, Ai as ExtrasTable, Ar as GeneratorModule, At as BlockInput, B as claimPaths, Bi as RpcFunctionArg, Bt as ColumnPrivilege, Ci as CatalogTable, Cr as GeneratorFunction, Ct as ResolvedConfig, Di as ExtrasFunction, Dr as GeneratorInputSchema, Dt as AppTablesInput, Ei as ExtrasDomain, Er as GeneratorInput, Et as AppTableInput, Fi as GeneratorMetadata, Fr as RelationsConfig, Ft as SqlInput, G as blockEventRenames, Gr as APP_COLUMN_TYPES, Gt as ResolvedExpose, H as BlockEntity, Hi as RpcFunctionReturns, Ht as ExposePrivilege, Ii as PostgresColumn, Ir as SourceConfig, It as TenantConfig, J as FormerPermissionKeyError, Jn as RealtimeConfig, Jr as APP_TABLE_EVENT_KINDS, K as blockFormerFunctions, Kr as APP_ON_DELETE_ACTIONS, Li as PostgresFunction, Lr as TableConfig, Lt as ToolingConfig, Mi as Snapshot, Mr as GeneratorTable, Mt as DatabaseConfig, Ni as SnapshotBucket, Nr as JsonSchemaSource, Nt as EnvironmentConfig, Oi as ExtrasHook, Or as GeneratorJsonSchema, Ot as AuthConfig, Pi as SnapshotExtras, Pr as JsonTypeConfig, Pt as GenGroupConfig, Q as blockEntrySource, Qn as SeedDefaultsConfig, Qr as AppColumnType, R as ClaimPaths, Ri as PostgresFunctionArg, Rr as CONFIG_DEFAULTS, Rt as EntitlementPlansSource, Si as CatalogPolicy, Sr as GeneratorField, St as HooksFramework, Ti as CatalogUnique, Tr as GeneratorImports, Tt as ApiConfig, U as blockEntities, Ui as RpcReturnColumn, Ur as APP_COLUMN_ACCESS, Ut as ExposeRole, V as tenantClaimPaths, Vi as RpcFunctionOverload, Vt as ExposeConfig, W as blockEntityRenames, Wi as RpcTypeReference, Wr as APP_COLUMN_FORMATS, Wt as Privilege, X as RENAMED_BLOCK_KEYS, Xn as ResolvedSqlConfig, Xr as AppColumnConfig, Y as CONFIG_GROUPS, Yn as ResolvedSeedConfig, Yr as AppColumnAccess, Z as RENAMED_CONFIG_KEYS, Zn as SeedConfig, Zr as AppColumnFormat, _i as CatalogForeignKey, _r as GeneratorBlockEntity, ai as AppTableConfig, ar as TopicTriggerLookupConfig, at as generatorProblem, bi as CatalogGrant, br as GeneratorConfigView, bt as DataHooksSelect, ci as AppTableEvents, cr as TopicTriggerValueConfig, ct as BucketName, di as AppTablesConfig, dr as resolveJsonSchema, ei as AppOnDeleteAction, er as SeedSampleSize, et as groupConfig, fi as Catalog, fr as ClaimsConfig, ft as ExpandedConfig, gi as CatalogEnum, gr as GeneratorBlock, hi as CatalogColumnGrant, hr as Generator, ii as AppRollupConfig, ir as TopicTriggerConfig, it as defineConfig, ji as ForeignKeyAction, jr as GeneratorNoun, jt as BlocksInput, ki as ExtrasHookFunction, kr as GeneratorModel, kt as BetterSupabaseConfig, li as AppTableSubject, lr as VectorDistance, lt as ConfigReferences, mi as CatalogColumn, mr as GeneratedFile, ni as AppReferenceTarget, nr as SqlConfig, nt as CONFIG_SCHEMA_URL, oi as AppTableEmbedding, or as TopicTriggerPayloadValueConfig, ot as resolveConfig, pi as CatalogCheck, pr as CodecsConfig, q as blockSubjectTypes, qn as BucketConfig, qr as APP_ROLLUP_AGGREGATES, ri as AppRollupAggregate, rr as SqlWorkflow, rt as ResolveInput, si as AppTableEventKind, sr as TopicTriggerTopicConfig, st as BlockTableReference, ti as AppReference, tr as SqlBlockDefaults, tt as groupEntries, ui as AppTableVersions, ur as VectorSearchConfig, ut as RoleNames, vi as CatalogFunction, vr as GeneratorCapability, vt as DataHooksConfig, wi as CatalogTrigger, wr as GeneratorFunctionArg, wt as ResolvedExtensions, xi as CatalogIndex, xr as GeneratorEntitySchemas, xt as FlatConfig, yi as CatalogFunctionArg, yr as GeneratorColumn, yt as DataHooksFramework, z as DEFAULT_CLAIMS, zi as RpcFunction, zt as EntitlementsConfig } from "../context-
|
|
3
|
+
import { $r as SkillsAgent, Gr as DoctorConfig, Jr as GenTask, Kr as EnvFileConfig, Qr as PowerSyncGenConfig, Xr as KeysConfig, Yr as IntegrationName, Zr as MigrationSafetyConfig, ai as INTEGRATION_NAMES, cn as FIELD_FORMATS, dn as FieldFormatInput, ei as SkillsConfig, ii as INTEGRATION_INFO, oi as IntegrationInfo, qr as GenConfig, ri as GEN_TASKS, si as SKILLS_AGENTS, un as FieldFormat } from "../define-block-D-Z8xB6y.js";
|
|
4
|
+
import { $ as flattenConfig, $n as SeedSampleConfig, $r as AppLookupConfig, Ai as ExtrasTable, Ar as GeneratorModule, At as BlockInput, B as claimPaths, Bi as RpcFunctionArg, Bt as ColumnPrivilege, Ci as CatalogTable, Cr as GeneratorFunction, Ct as ResolvedConfig, Di as ExtrasFunction, Dr as GeneratorInputSchema, Dt as AppTablesInput, Ei as ExtrasDomain, Er as GeneratorInput, Et as AppTableInput, Fi as GeneratorMetadata, Fr as RelationsConfig, Ft as SqlInput, G as blockEventRenames, Gr as APP_COLUMN_TYPES, Gt as ResolvedExpose, H as BlockEntity, Hi as RpcFunctionReturns, Ht as ExposePrivilege, Ii as PostgresColumn, Ir as SourceConfig, It as TenantConfig, J as FormerPermissionKeyError, Jn as RealtimeConfig, Jr as APP_TABLE_EVENT_KINDS, K as blockFormerFunctions, Kr as APP_ON_DELETE_ACTIONS, Li as PostgresFunction, Lr as TableConfig, Lt as ToolingConfig, Mi as Snapshot, Mr as GeneratorTable, Mt as DatabaseConfig, Ni as SnapshotBucket, Nr as JsonSchemaSource, Nt as EnvironmentConfig, Oi as ExtrasHook, Or as GeneratorJsonSchema, Ot as AuthConfig, Pi as SnapshotExtras, Pr as JsonTypeConfig, Pt as GenGroupConfig, Q as blockEntrySource, Qn as SeedDefaultsConfig, Qr as AppColumnType, R as ClaimPaths, Ri as PostgresFunctionArg, Rr as CONFIG_DEFAULTS, Rt as EntitlementPlansSource, Si as CatalogPolicy, Sr as GeneratorField, St as HooksFramework, Ti as CatalogUnique, Tr as GeneratorImports, Tt as ApiConfig, U as blockEntities, Ui as RpcReturnColumn, Ur as APP_COLUMN_ACCESS, Ut as ExposeRole, V as tenantClaimPaths, Vi as RpcFunctionOverload, Vt as ExposeConfig, W as blockEntityRenames, Wi as RpcTypeReference, Wr as APP_COLUMN_FORMATS, Wt as Privilege, X as RENAMED_BLOCK_KEYS, Xn as ResolvedSqlConfig, Xr as AppColumnConfig, Y as CONFIG_GROUPS, Yn as ResolvedSeedConfig, Yr as AppColumnAccess, Z as RENAMED_CONFIG_KEYS, Zn as SeedConfig, Zr as AppColumnFormat, _i as CatalogForeignKey, _r as GeneratorBlockEntity, ai as AppTableConfig, ar as TopicTriggerLookupConfig, at as generatorProblem, bi as CatalogGrant, br as GeneratorConfigView, bt as DataHooksSelect, ci as AppTableEvents, cr as TopicTriggerValueConfig, ct as BucketName, di as AppTablesConfig, dr as resolveJsonSchema, ei as AppOnDeleteAction, er as SeedSampleSize, et as groupConfig, fi as Catalog, fr as ClaimsConfig, ft as ExpandedConfig, gi as CatalogEnum, gr as GeneratorBlock, hi as CatalogColumnGrant, hr as Generator, ii as AppRollupConfig, ir as TopicTriggerConfig, it as defineConfig, ji as ForeignKeyAction, jr as GeneratorNoun, jt as BlocksInput, ki as ExtrasHookFunction, kr as GeneratorModel, kt as BetterSupabaseConfig, li as AppTableSubject, lr as VectorDistance, lt as ConfigReferences, mi as CatalogColumn, mr as GeneratedFile, ni as AppReferenceTarget, nr as SqlConfig, nt as CONFIG_SCHEMA_URL, oi as AppTableEmbedding, or as TopicTriggerPayloadValueConfig, ot as resolveConfig, pi as CatalogCheck, pr as CodecsConfig, q as blockSubjectTypes, qn as BucketConfig, qr as APP_ROLLUP_AGGREGATES, ri as AppRollupAggregate, rr as SqlWorkflow, rt as ResolveInput, si as AppTableEventKind, sr as TopicTriggerTopicConfig, st as BlockTableReference, ti as AppReference, tr as SqlBlockDefaults, tt as groupEntries, ui as AppTableVersions, ur as VectorSearchConfig, ut as RoleNames, vi as CatalogFunction, vr as GeneratorCapability, vt as DataHooksConfig, wi as CatalogTrigger, wr as GeneratorFunctionArg, wt as ResolvedExtensions, xi as CatalogIndex, xr as GeneratorEntitySchemas, xt as FlatConfig, yi as CatalogFunctionArg, yr as GeneratorColumn, yt as DataHooksFramework, z as DEFAULT_CLAIMS, zi as RpcFunction, zt as EntitlementsConfig } from "../context-DMTfze4z.js";
|
|
5
5
|
import { _ as resolvePersonas, a as AuthorizationPermission, c as AuthorizationProvider, d as AuthorizationScope, f as AuthorizationTokenHook, g as providerApiProblem, h as permissionLevelKey, i as AuthorizationOperation, l as AuthorizationRequirement, m as PERMISSION_LEVEL_SEPARATOR, n as AuthorizationFunctions, o as AuthorizationPersona, p as AuthorizationVersions, r as AuthorizationMembership, s as AuthorizationPlatformRoles, t as AuthorizationFixtureRole, u as AuthorizationRoleSource, v as splitPermissionLevel } from "../authorization-Dq47C4vf.js";
|
|
6
6
|
export { APP_COLUMN_ACCESS, APP_COLUMN_FORMATS, APP_COLUMN_TYPES, APP_ON_DELETE_ACTIONS, APP_ROLLUP_AGGREGATES, APP_TABLE_EVENT_KINDS, type AccessBlockConfig, type ActiveTenantSource, type AnyBlocksConfig, type ApiConfig, type AppColumnAccess, type AppColumnConfig, type AppColumnFormat, type AppColumnType, type AppLookupConfig, type AppOnDeleteAction, type AppReference, type AppReferenceTarget, type AppRollupAggregate, type AppRollupConfig, type AppTableConfig, type AppTableEmbedding, type AppTableEventKind, type AppTableEvents, type AppTableInput, type AppTableSubject, type AppTableVersions, type AppTablesConfig, type AppTablesInput, type AuthConfig, type AuthorizationFixtureRole, type AuthorizationFunctions, type AuthorizationMembership, type AuthorizationOperation, type AuthorizationPermission, type AuthorizationPersona, type AuthorizationPlatformRoles, type AuthorizationProvider, type AuthorizationRequirement, type AuthorizationRoleSource, type AuthorizationScope, type AuthorizationTokenHook, type AuthorizationVersions, type BetterSupabaseConfig, type BlockConfig, type BlockEntity, type BlockInput, type BlockMode, type BlockScope, type BlockTableReference, type BlocksConfig, type BlocksInput, type BucketConfig, type BucketName, CONFIG_DEFAULTS, CONFIG_GROUPS, CONFIG_SCHEMA_URL, type Casing, type Catalog, type CatalogCheck, type CatalogColumn, type CatalogColumnGrant, type CatalogEnum, type CatalogForeignKey, type CatalogFunction, type CatalogFunctionArg, type CatalogGrant, type CatalogIndex, type CatalogPolicy, type CatalogTable, type CatalogTrigger, type CatalogUnique, type ClaimPaths, type ClaimsConfig, type CodecsConfig, type ColumnPrivilege, type ConfigReferences, DEFAULT_ACTIVE_TENANT, DEFAULT_CLAIMS, type DataHooksConfig, type DataHooksFramework, type DataHooksSelect, type DatabaseConfig, type DisabledRow, type DoctorConfig, type EntitiesConfig, type EntitlementPlansSource, type EntitlementsConfig, type EntityConfig, type EnvFileConfig, type EnvironmentConfig, type ExpandedConfig, type ExposeConfig, type ExposePrivilege, type ExposeRole, type ExtrasDomain, type ExtrasFunction, type ExtrasHook, type ExtrasHookFunction, type ExtrasTable, FIELD_FORMATS, type FieldFormat, type FieldFormatInput, type FlatConfig, type ForeignKeyAction, FormerPermissionKeyError, GEN_TASKS, type GenConfig, type GenGroupConfig, type GenTask, type GeneratedFile, type Generator, type GeneratorBlock, type GeneratorBlockEntity, type GeneratorCapability, type GeneratorColumn, type GeneratorConfigView, type GeneratorEntitySchemas, type GeneratorField, type GeneratorFunction, type GeneratorFunctionArg, type GeneratorImports, type GeneratorInput, type GeneratorInputSchema, type GeneratorJsonSchema, type GeneratorMetadata, type GeneratorModel, type GeneratorModule, type GeneratorNoun, type GeneratorTable, type HooksFramework, INTEGRATION_INFO, INTEGRATION_NAMES, type IntegrationInfo, type IntegrationName, type JsonSchemaSource, type JsonTypeConfig, type KeysConfig, type MigrationSafetyConfig, type OwnTablePolicies, PERMISSION_LEVEL_SEPARATOR, type PostgresColumn, type PostgresFunction, type PostgresFunctionArg, type PowerSyncGenConfig, type Privilege, RENAMED_BLOCK_KEYS, RENAMED_CONFIG_KEYS, type RealtimeConfig, type RelationsConfig, type ResolveInput, type ResolvedConfig, type ResolvedExpose, type ResolvedExtensions, type ResolvedSeedConfig, type ResolvedSqlConfig, type RoleNames, type RpcFunction, type RpcFunctionArg, type RpcFunctionOverload, type RpcFunctionReturns, type RpcReturnColumn, type RpcTypeReference, SKILLS_AGENTS, type SeedConfig, type SeedDefaultsConfig, type SeedSampleConfig, type SeedSampleSize, type SkillsAgent, type SkillsConfig, type Snapshot, type SnapshotBucket, type SnapshotExtras, type SourceConfig, type SqlBlockDefaults, type SqlConfig, type SqlInput, type SqlWorkflow, type SubjectConfig, type SubjectPermission, type SubjectSearch, type SubjectTeam, type SubjectsConfig, type TableConfig, type TenantConfig, type ToolingConfig, type TopicTriggerConfig, type TopicTriggerLookupConfig, type TopicTriggerPayloadValueConfig, type TopicTriggerTopicConfig, type TopicTriggerValueConfig, type VectorDistance, type VectorSearchConfig, blockEntities, blockEntityRenames, blockEntrySource, blockEventRenames, blockFormerFunctions, blockSubjectTypes, claimPaths, defineConfig, flattenConfig, generatorProblem, groupConfig, groupEntries, permissionLevelKey, providerApiProblem, resolveConfig, resolveJsonSchema, resolvePersonas, splitPermissionLevel, tenantClaimPaths, tenantNameOf };
|
package/dist/config/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { _ as CONFIG_DEFAULTS, a as blockEntityRenames, c as blockSubjectTypes, g as resolveJsonSchema, i as blockEntities, o as blockEventRenames, s as blockFormerFunctions, t as FormerPermissionKeyError } from "../former-permission-keys-
|
|
1
|
+
import { _ as CONFIG_DEFAULTS, a as blockEntityRenames, c as blockSubjectTypes, g as resolveJsonSchema, i as blockEntities, o as blockEventRenames, s as blockFormerFunctions, t as FormerPermissionKeyError } from "../former-permission-keys-BwJW5uc6.js";
|
|
2
2
|
import { A as blockEntrySource, D as CONFIG_GROUPS, F as INTEGRATION_INFO, I as INTEGRATION_NAMES, L as SKILLS_AGENTS, M as groupConfig, N as groupEntries, O as RENAMED_BLOCK_KEYS, P as GEN_TASKS, j as flattenConfig, k as RENAMED_CONFIG_KEYS } from "../config-a_CzEbpi.js";
|
|
3
3
|
import { a as tenantClaimPaths, r as claimPaths, t as DEFAULT_CLAIMS } from "../claims-CX-ar1vt.js";
|
|
4
4
|
import { A as APP_ON_DELETE_ACTIONS, D as APP_COLUMN_ACCESS, M as APP_TABLE_EVENT_KINDS, O as APP_COLUMN_FORMATS, R as DEFAULT_ACTIVE_TENANT, V as tenantNameOf, j as APP_ROLLUP_AGGREGATES, k as APP_COLUMN_TYPES } from "../instances-07Lopbd1.js";
|
|
5
5
|
import { i as FIELD_FORMATS } from "../field-formats-sLYMh1ZK.js";
|
|
6
|
-
import { a as PERMISSION_LEVEL_SEPARATOR, c as resolvePersonas, i as resolveConfig, l as splitPermissionLevel, n as defineConfig, o as permissionLevelKey, r as generatorProblem, s as providerApiProblem, t as CONFIG_SCHEMA_URL } from "../config-
|
|
6
|
+
import { a as PERMISSION_LEVEL_SEPARATOR, c as resolvePersonas, i as resolveConfig, l as splitPermissionLevel, n as defineConfig, o as permissionLevelKey, r as generatorProblem, s as providerApiProblem, t as CONFIG_SCHEMA_URL } from "../config-C3yry9U5.js";
|
|
7
7
|
export { APP_COLUMN_ACCESS, APP_COLUMN_FORMATS, APP_COLUMN_TYPES, APP_ON_DELETE_ACTIONS, APP_ROLLUP_AGGREGATES, APP_TABLE_EVENT_KINDS, CONFIG_DEFAULTS, CONFIG_GROUPS, CONFIG_SCHEMA_URL, DEFAULT_ACTIVE_TENANT, DEFAULT_CLAIMS, FIELD_FORMATS, FormerPermissionKeyError, GEN_TASKS, INTEGRATION_INFO, INTEGRATION_NAMES, PERMISSION_LEVEL_SEPARATOR, RENAMED_BLOCK_KEYS, RENAMED_CONFIG_KEYS, SKILLS_AGENTS, blockEntities, blockEntityRenames, blockEntrySource, blockEventRenames, blockFormerFunctions, blockSubjectTypes, claimPaths, defineConfig, flattenConfig, generatorProblem, groupConfig, groupEntries, permissionLevelKey, providerApiProblem, resolveConfig, resolveJsonSchema, resolvePersonas, splitPermissionLevel, tenantClaimPaths, tenantNameOf };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as CONFIG_DEFAULTS, u as withBlockSubjects } from "./former-permission-keys-
|
|
1
|
+
import { _ as CONFIG_DEFAULTS, u as withBlockSubjects } from "./former-permission-keys-BwJW5uc6.js";
|
|
2
2
|
import { j as flattenConfig, n as expandFlatPreset, r as expandPreset } from "./config-a_CzEbpi.js";
|
|
3
3
|
import { t as DEFAULT_CLAIMS } from "./claims-CX-ar1vt.js";
|
|
4
4
|
import { o as tenantNames } from "./entity-naming-CUsC8bC1.js";
|
|
@@ -363,6 +363,7 @@ function resolveConfig(input, root) {
|
|
|
363
363
|
format: config.doctor?.format ?? CONFIG_DEFAULTS.doctor.format,
|
|
364
364
|
sources: config.doctor?.sources ?? CONFIG_DEFAULTS.doctor.sources,
|
|
365
365
|
policyHelperLimit: config.doctor?.policyHelperLimit ?? CONFIG_DEFAULTS.doctor.policyHelperLimit,
|
|
366
|
+
parallelReads: config.doctor?.parallelReads ?? CONFIG_DEFAULTS.doctor.parallelReads,
|
|
366
367
|
sealTriggers: config.doctor?.sealTriggers ?? [],
|
|
367
368
|
...config.doctor?.file === void 0 ? {} : { file: config.doctor.file },
|
|
368
369
|
...config.doctor?.claimsLimit === void 0 ? {} : { claimsLimit: config.doctor.claimsLimit },
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
2
|
import { F as ClaimsMeta, M as BucketPolicyName, N as Casing, T as AccessBucketPolicy, st as SchemaMeta, vt as BucketLifecycle } from "./types-BJ4cg51a.js";
|
|
3
3
|
import { It as SubjectsConfig, Xt as TablesOf, Zt as BlockNameRegistry, _ as OwnTablePolicies, a as BlockConfigOf, c as BlockScope, d as DisabledRow, g as NamedInstance, h as InstanceOn, i as BlockConfig, jt as RelationKindOptions, l as BlocksConfig, o as BlockMode, p as EntityConfig, r as AnyBlocksConfig, s as BlockName, t as AccessBlockConfig, v as ResolvedBlock, y as TenantScopeConfig } from "./blocks-RVd7m590.js";
|
|
4
|
-
import { Ar as PresetAccess, Br as PresetTenantName, C as BlockWorker, Cr as EntityRename, Gr as DoctorConfig, Ir as PresetInstance, Kr as EnvFileConfig, Nr as PresetFieldKey, Rr as PresetScope, Sr as EntityNoun, Xr as KeysConfig, Yr as IntegrationName, b as BlockEnvKey, bi as DefaultAutomation, di as ActionDescriptor, ei as SkillsConfig, fn as FieldFormatName, g as PartDefaults, i as BlockCategory, jr as PresetConventions, kr as Preset, ln as FIELD_FORMAT_NAMES, mt as PortName, ni as SpecsConfig, qr as GenConfig, ti as SpecOutputConfig, x as BlockProvider, xr as EntityNames, yi as BlockSchedule } from "./define-block-
|
|
4
|
+
import { Ar as PresetAccess, Br as PresetTenantName, C as BlockWorker, Cr as EntityRename, Gr as DoctorConfig, Ir as PresetInstance, Kr as EnvFileConfig, Nr as PresetFieldKey, Rr as PresetScope, Sr as EntityNoun, Xr as KeysConfig, Yr as IntegrationName, b as BlockEnvKey, bi as DefaultAutomation, di as ActionDescriptor, ei as SkillsConfig, fn as FieldFormatName, g as PartDefaults, i as BlockCategory, jr as PresetConventions, kr as Preset, ln as FIELD_FORMAT_NAMES, mt as PortName, ni as SpecsConfig, qr as GenConfig, ti as SpecOutputConfig, x as BlockProvider, xr as EntityNames, yi as BlockSchedule } from "./define-block-D-Z8xB6y.js";
|
|
5
5
|
import { i as FieldSpec } from "./table-schema-CwXg7oBz.js";
|
|
6
6
|
import { n as ReadType } from "./read-type-BmF8GOkz.js";
|
|
7
7
|
import { a as BlockSqlEmit, r as BlockSqlAction } from "./audit-actions-DC-AtyWB.js";
|
|
@@ -1612,6 +1612,7 @@ declare const CONFIG_DEFAULTS: {
|
|
|
1612
1612
|
readonly format: "text";
|
|
1613
1613
|
readonly sources: readonly string[];
|
|
1614
1614
|
readonly policyHelperLimit: number;
|
|
1615
|
+
readonly parallelReads: number;
|
|
1615
1616
|
};
|
|
1616
1617
|
readonly gen: {
|
|
1617
1618
|
readonly watchInterval: number;
|
package/dist/contract/index.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ import { r as CredentialProvider } from "../provider-r2RjlARm.js";
|
|
|
7
7
|
import { a as ToolDecision, n as McpOptions, s as ToolRef } from "../index-bkm44ycq.js";
|
|
8
8
|
import { g as SessionSnapshot } from "../resolve-Chhtdk4M.js";
|
|
9
9
|
import { n as ApprovalOptions } from "../server-types-C8zErBy9.js";
|
|
10
|
-
import { n as BlockTables, t as BlockTable } from "../block-tables-
|
|
10
|
+
import { n as BlockTables, t as BlockTable } from "../block-tables-BaLXCQha.js";
|
|
11
11
|
import { a as BootstrapPermissionsWire, i as BootstrapPermissionsFull, n as BootstrapPermissions, r as BootstrapPermissionsCompact } from "../bootstrap-permissions-hiWjQ2N7.js";
|
|
12
12
|
/**
|
|
13
13
|
* The types an authorization library implements or reads, in one entry with no
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as ClientAuth } from "./bind-
|
|
1
|
+
import { a as ClientAuth } from "./bind-Bx0H1vAc.js";
|
|
2
2
|
/**
|
|
3
3
|
* A block's client state, framework-agnostic. `subscribe` and `getSnapshot`
|
|
4
4
|
* follow the external-store contract, so React's `useSyncExternalStore`, a Vue
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ci as Action, li as ActionCall, ui as ActionContext } from "./define-block-
|
|
1
|
+
import { ci as Action, li as ActionCall, ui as ActionContext } from "./define-block-D-Z8xB6y.js";
|
|
2
2
|
import { f as Result } from "./result-aun_QZHn.js";
|
|
3
3
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
4
4
|
/** A record a conversion reads from or creates: its subject type and id. */
|
package/dist/create/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
|
-
import { Kr as APP_ON_DELETE_ACTIONS, Nn as PresetSpec, Qr as AppColumnType, Qt as PresetName, Yr as AppColumnAccess, ei as AppOnDeleteAction, m as BlockSqlAccessProvider, pt as PresetInput, rn as CreateDesign } from "../context-
|
|
3
|
-
import { $ as keyColumnsOf, A as renameTable, B as eventsColumnsEdited, C as freeTableName, Ct as Issue, D as moveTables, E as isEmptyDesign, Et as IssueSource, F as updateTable, G as SchemaComputed, H as subjectColumnsEdited, I as userConnection, J as SchemaOptions, K as SchemaData, L as withDesign, M as setTableId, N as singular, O as referenceFrom, P as tidy, Q as SchemaTarget, R as AppEvents, S as editTable, St as tableWithoutComputed, T as isAppTable, Tt as IssueSeverity, U as subjectTypeError, V as subjectColumns, W as SchemaColumn, X as SchemaSource, Y as SchemaSoftRef, Z as SchemaTable, _ as connect, _t as prunedComputed, a as AppScope, at as AppRollup, b as deleteTable, bt as rollupSources, c as ConnectResult, ct as ROLLUP_AGGREGATES, d as EMPTY_DESIGN, dt as computedRows, et as parseSchema, f as NamedDesign, ft as computedTableRenamed, g as columnError, gt as lookupSources, h as appTableId, ht as isRollupAggregate, i as AppReference, it as AppLookup, j as setColumn, k as renameColumn, l as Connection, lt as RollupAggregate, m as addTable, mt as fittedRollup, n as APP_MODULE, nt as tableStatements, o as AppTable, ot as ComputedRow, p as TablePatch, pt as filterColumns, q as SchemaForeignKey, r as AppColumn, rt as tenantColumnOf, s as AppTableId, st as DraftRollup, t as PresetMigrationFile, tt as schemaRelations, u as Design, ut as computedColumnRenamed, v as defaultError, vt as readableColumns, w as identifierError, wt as IssueCode, x as duplicateTable, xt as tableWithComputed, y as deleteColumn, yt as rollupColumns, z as AppSubject } from "../types-
|
|
4
|
-
import { kr as Preset } from "../define-block-
|
|
2
|
+
import { Kr as APP_ON_DELETE_ACTIONS, Nn as PresetSpec, Qr as AppColumnType, Qt as PresetName, Yr as AppColumnAccess, ei as AppOnDeleteAction, m as BlockSqlAccessProvider, pt as PresetInput, rn as CreateDesign } from "../context-DMTfze4z.js";
|
|
3
|
+
import { $ as keyColumnsOf, A as renameTable, B as eventsColumnsEdited, C as freeTableName, Ct as Issue, D as moveTables, E as isEmptyDesign, Et as IssueSource, F as updateTable, G as SchemaComputed, H as subjectColumnsEdited, I as userConnection, J as SchemaOptions, K as SchemaData, L as withDesign, M as setTableId, N as singular, O as referenceFrom, P as tidy, Q as SchemaTarget, R as AppEvents, S as editTable, St as tableWithoutComputed, T as isAppTable, Tt as IssueSeverity, U as subjectTypeError, V as subjectColumns, W as SchemaColumn, X as SchemaSource, Y as SchemaSoftRef, Z as SchemaTable, _ as connect, _t as prunedComputed, a as AppScope, at as AppRollup, b as deleteTable, bt as rollupSources, c as ConnectResult, ct as ROLLUP_AGGREGATES, d as EMPTY_DESIGN, dt as computedRows, et as parseSchema, f as NamedDesign, ft as computedTableRenamed, g as columnError, gt as lookupSources, h as appTableId, ht as isRollupAggregate, i as AppReference, it as AppLookup, j as setColumn, k as renameColumn, l as Connection, lt as RollupAggregate, m as addTable, mt as fittedRollup, n as APP_MODULE, nt as tableStatements, o as AppTable, ot as ComputedRow, p as TablePatch, pt as filterColumns, q as SchemaForeignKey, r as AppColumn, rt as tenantColumnOf, s as AppTableId, st as DraftRollup, t as PresetMigrationFile, tt as schemaRelations, u as Design, ut as computedColumnRenamed, v as defaultError, vt as readableColumns, w as identifierError, wt as IssueCode, x as duplicateTable, xt as tableWithComputed, y as deleteColumn, yt as rollupColumns, z as AppSubject } from "../types-BE6BvLv2.js";
|
|
4
|
+
import { kr as Preset } from "../define-block-D-Z8xB6y.js";
|
|
5
5
|
import { a as SupabaseLint, o as SupabaseOrganization, s as SupabaseProject } from "../management-DtX4ic1F.js";
|
|
6
|
-
import { b as DesignChange } from "../index-
|
|
6
|
+
import { b as DesignChange } from "../index-B6h9m3ml.js";
|
|
7
7
|
/** What `checkDesign` returns. */
|
|
8
8
|
export type DesignCheck = {
|
|
9
9
|
readonly ok: true;
|
package/dist/create/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { A as APP_ON_DELETE_ACTIONS } from "../instances-07Lopbd1.js";
|
|
2
|
-
import { $ as eventsColumnsEdited, A as renameColumn, B as computedColumnRenamed, C as editTable, D as isEmptyDesign, E as isAppTable, F as tidy, G as isRollupAggregate, H as computedTableRenamed, I as updateTable, J as readableColumns, K as lookupSources, L as userConnection, M as setColumn, N as setTableId, O as moveTables, P as singular, Q as tableWithoutComputed, R as withDesign, S as duplicateTable, T as identifierError, U as filterColumns, V as computedRows, W as fittedRollup, X as rollupSources, Y as rollupColumns, Z as tableWithComputed, _ as columnError, a as parseSchema, at as encryptable, b as deleteColumn, c as tenantColumnOf, ct as optionError, d as previewFiles, et as subjectColumns, f as designIssues, g as appTableId, h as addTable, i as keyColumnsOf, it as columnLabel, j as renameTable, k as referenceFrom, l as schemaData, lt as takesBounds, m as EMPTY_DESIGN, n as loadProject, nt as subjectTypeError, o as schemaRelations, ot as fitted, p as APP_MODULE, q as prunedComputed, r as checkDesign, rt as boundError, s as tableStatements, st as lockedWithoutDefault, t as checkProject, tt as subjectColumnsEdited, u as previewAccessProvider, ut as withBounds, v as connect, w as freeTableName, x as deleteTable, y as defaultError, z as ROLLUP_AGGREGATES } from "../project-
|
|
2
|
+
import { $ as eventsColumnsEdited, A as renameColumn, B as computedColumnRenamed, C as editTable, D as isEmptyDesign, E as isAppTable, F as tidy, G as isRollupAggregate, H as computedTableRenamed, I as updateTable, J as readableColumns, K as lookupSources, L as userConnection, M as setColumn, N as setTableId, O as moveTables, P as singular, Q as tableWithoutComputed, R as withDesign, S as duplicateTable, T as identifierError, U as filterColumns, V as computedRows, W as fittedRollup, X as rollupSources, Y as rollupColumns, Z as tableWithComputed, _ as columnError, a as parseSchema, at as encryptable, b as deleteColumn, c as tenantColumnOf, ct as optionError, d as previewFiles, et as subjectColumns, f as designIssues, g as appTableId, h as addTable, i as keyColumnsOf, it as columnLabel, j as renameTable, k as referenceFrom, l as schemaData, lt as takesBounds, m as EMPTY_DESIGN, n as loadProject, nt as subjectTypeError, o as schemaRelations, ot as fitted, p as APP_MODULE, q as prunedComputed, r as checkDesign, rt as boundError, s as tableStatements, st as lockedWithoutDefault, t as checkProject, tt as subjectColumnsEdited, u as previewAccessProvider, ut as withBounds, v as connect, w as freeTableName, x as deleteTable, y as defaultError, z as ROLLUP_AGGREGATES } from "../project-DI09JnXz.js";
|
|
3
3
|
import { m as diffDesigns } from "../preset-HzYIrxUS.js";
|
|
4
4
|
// src/create/column-kinds.ts
|
|
5
5
|
/** The groups of the column type picker, in the order it shows them. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Ct as Issue, t as PresetMigrationFile, u as Design } from "../../types-
|
|
2
|
-
import { pt as PresetInput, rn as CreateDesign } from "../../context-
|
|
1
|
+
import { Ct as Issue, t as PresetMigrationFile, u as Design } from "../../types-BE6BvLv2.js";
|
|
2
|
+
import { pt as PresetInput, rn as CreateDesign } from "../../context-DMTfze4z.js";
|
|
3
3
|
import { st as SchemaMeta } from "../../types-BJ4cg51a.js";
|
|
4
4
|
import { c as SpecDiagnostic } from "../../format-BT0Z3V54.js";
|
|
5
5
|
import { c as AuthorizationProvider } from "../../authorization-Dq47C4vf.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as loadLite, t as LITE_INSTALL } from "../../runtime-sBnEajcK.js";
|
|
2
2
|
import { b as appDefaultError } from "../../instances-07Lopbd1.js";
|
|
3
|
-
import { t as defineApi } from "../../api-
|
|
4
|
-
import { n as loadProject } from "../../project-
|
|
5
|
-
import { c as resolvePersonas } from "../../config-
|
|
3
|
+
import { t as defineApi } from "../../api-DAJJ7N_0.js";
|
|
4
|
+
import { n as loadProject } from "../../project-DI09JnXz.js";
|
|
5
|
+
import { c as resolvePersonas } from "../../config-C3yry9U5.js";
|
|
6
6
|
import { i as fillTemplate } from "../../access-sql-Dvl7BRy0.js";
|
|
7
7
|
// src/create/lite/apply.ts
|
|
8
8
|
const MISSING_EXTENSION = /extension "([^"]+)" is not available/u;
|
|
@@ -447,6 +447,11 @@ interface DoctorConfig {
|
|
|
447
447
|
* for an inlinable `language sql stable` function. Defaults to 5.
|
|
448
448
|
*/
|
|
449
449
|
readonly policyHelperLimit?: number;
|
|
450
|
+
/**
|
|
451
|
+
* How many database reads one `Promise.all` may await before BS609 suggests a
|
|
452
|
+
* read set. Defaults to 3.
|
|
453
|
+
*/
|
|
454
|
+
readonly parallelReads?: number;
|
|
450
455
|
/**
|
|
451
456
|
* The app's own seal functions, as `schema.name`, such as
|
|
452
457
|
* `['public.seal_secret_fields']`. BS352 skips a secret column that a
|
|
@@ -277,41 +277,42 @@ async function openGates(rpc, specs, signal) {
|
|
|
277
277
|
schema: "better_supabase",
|
|
278
278
|
...signal ? { signal } : {}
|
|
279
279
|
};
|
|
280
|
-
const
|
|
281
|
-
const
|
|
280
|
+
const entries = Object.entries(specs);
|
|
281
|
+
const needsTenant = entries.some(([, spec]) => spec.gate !== void 0 && spec.gate.id === void 0);
|
|
282
282
|
let tenant;
|
|
283
|
-
|
|
283
|
+
if (needsTenant) {
|
|
284
|
+
const current = await rpc("current_tenant_id", {}, options);
|
|
285
|
+
if (!current.ok) return current;
|
|
286
|
+
tenant = current.data;
|
|
287
|
+
}
|
|
288
|
+
const pending = /* @__PURE__ */ new Map();
|
|
289
|
+
const cacheKeys = /* @__PURE__ */ new Map();
|
|
290
|
+
for (const [key, spec] of entries) {
|
|
284
291
|
const gate = spec.gate;
|
|
285
|
-
if (gate === void 0)
|
|
286
|
-
|
|
287
|
-
continue;
|
|
288
|
-
}
|
|
289
|
-
let id = gate.id;
|
|
290
|
-
if (id === void 0) {
|
|
291
|
-
if (tenant === void 0) {
|
|
292
|
-
const current = await rpc("current_tenant_id", {}, options);
|
|
293
|
-
if (!current.ok) return current;
|
|
294
|
-
tenant = current.data;
|
|
295
|
-
}
|
|
296
|
-
id = tenant;
|
|
297
|
-
}
|
|
292
|
+
if (gate === void 0) continue;
|
|
293
|
+
const id = gate.id ?? tenant;
|
|
298
294
|
const cacheKey = JSON.stringify([
|
|
299
295
|
gate.scope,
|
|
300
296
|
id,
|
|
301
297
|
gate.permission
|
|
302
298
|
]);
|
|
303
|
-
|
|
304
|
-
if (
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
299
|
+
cacheKeys.set(key, cacheKey);
|
|
300
|
+
if (!pending.has(cacheKey)) pending.set(cacheKey, rpc("can", {
|
|
301
|
+
scope: gate.scope,
|
|
302
|
+
scope_id: id,
|
|
303
|
+
permission: gate.permission
|
|
304
|
+
}, options));
|
|
305
|
+
}
|
|
306
|
+
const answers = /* @__PURE__ */ new Map();
|
|
307
|
+
for (const [cacheKey, call] of pending) {
|
|
308
|
+
const called = await call;
|
|
309
|
+
if (!called.ok) return called;
|
|
310
|
+
answers.set(cacheKey, called.data === true);
|
|
311
|
+
}
|
|
312
|
+
const open = /* @__PURE__ */ new Set();
|
|
313
|
+
for (const [key, spec] of entries) {
|
|
314
|
+
const cacheKey = cacheKeys.get(key);
|
|
315
|
+
if (spec.gate === void 0 || answers.get(cacheKey ?? "") === true) open.add(key);
|
|
315
316
|
}
|
|
316
317
|
return ok(open);
|
|
317
318
|
}
|
|
@@ -412,20 +413,26 @@ function attach(scope, decodeEvents) {
|
|
|
412
413
|
const open = await openGates(rpc, bound, signal);
|
|
413
414
|
if (!open.ok) return open;
|
|
414
415
|
const tableKeys = keys.filter((key) => !isFunctionSpec(bound[key]) && open.data.has(key));
|
|
416
|
+
const calls = /* @__PURE__ */ new Map();
|
|
417
|
+
for (const key of keys) {
|
|
418
|
+
const entry = bound[key];
|
|
419
|
+
if (entry !== void 0 && isFunctionSpec(entry) && open.data.has(key)) calls.set(key, rpc(entry.name, entry.args, {
|
|
420
|
+
...signal ? { signal } : {},
|
|
421
|
+
...entry.schema === void 0 ? {} : { schema: entry.schema }
|
|
422
|
+
}));
|
|
423
|
+
}
|
|
415
424
|
const result = await many(tableKeys.map((key) => bound[key]), signal, false);
|
|
416
425
|
if (!result.ok) return result;
|
|
417
426
|
const out = {};
|
|
418
427
|
for (const key of keys) {
|
|
419
|
-
const
|
|
428
|
+
const call = calls.get(key);
|
|
420
429
|
if (!open.data.has(key)) out[key] = null;
|
|
421
|
-
else if (
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
...entry.schema === void 0 ? {} : { schema: entry.schema }
|
|
425
|
-
});
|
|
430
|
+
else if (call === void 0) out[key] = result.data[tableKeys.indexOf(key)];
|
|
431
|
+
else {
|
|
432
|
+
const called = await call;
|
|
426
433
|
if (!called.ok) return called;
|
|
427
434
|
out[key] = called.data;
|
|
428
|
-
}
|
|
435
|
+
}
|
|
429
436
|
}
|
|
430
437
|
return ok(out);
|
|
431
438
|
}
|
|
@@ -5,7 +5,7 @@ import { t as BlockTransport } from "./block-transport-BNMvuuyC.js";
|
|
|
5
5
|
import { T as ErrorMapper, t as AsyncResult } from "./result-aun_QZHn.js";
|
|
6
6
|
import { n as Logger } from "./logger-0LfhvwE4.js";
|
|
7
7
|
import { t as StandardSchemaV1 } from "./standard-Vmy7ALDX.js";
|
|
8
|
-
import { An as Attachment, Ln as AttachmentStorage, Mn as AttachmentDownload, Vn as Attachments, cr as RecordRequestListOptions, er as AccessRequests, sr as RecordAccessRequest } from "./define-block-
|
|
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-D-Z8xB6y.js";
|
|
9
9
|
import { p as ApprovalStatus } from "./approvals-Bbxeiywy.js";
|
|
10
10
|
import { r as BlockTemporalOptions } from "./block-helpers-D0QSs8ss.js";
|
|
11
11
|
/**
|
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-BAjra5Eb.js";
|
|
5
5
|
import { _ as withFlush, g as unexpectedResponse } from "../sessions-Dedk1ubX.js";
|
|
6
|
-
import { t as withBetterSupabase } from "../composite-
|
|
6
|
+
import { t as withBetterSupabase } from "../composite-WUO6K2Hu.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-CbjS8M33.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-Bgugpk3A.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-Bx0H1vAc.js";
|
|
2
|
+
import { n as ClaimsSource } from "./claims-source-BEVTXHQx.js";
|
|
3
3
|
import { n as AuthSession } from "./view-DKo-Koiu.js";
|
|
4
4
|
/**
|
|
5
5
|
* One entry of the `memberships` claim when a hook writes it as a list. Hooks
|
|
@@ -6,7 +6,7 @@ import { p as isQuerySpec } from "./read-set-BptYceHc.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-C4eTtJAx.js";
|
|
10
10
|
// src/compile/sqlite.ts
|
|
11
11
|
/**
|
|
12
12
|
* The operation needs something the SQLite dialect can't express: full-text
|
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-BAjra5Eb.js";
|
|
10
10
|
import { g as unexpectedResponse } from "../sessions-Dedk1ubX.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-Bgugpk3A.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-WUO6K2Hu.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-BNMvuuyC.js";
|
|
2
2
|
import { i as EventSink } from "./cloud-event-BtWOKfsx.js";
|
|
3
|
-
import { jn as AttachmentBucket } from "./define-block-
|
|
3
|
+
import { jn as AttachmentBucket } from "./define-block-D-Z8xB6y.js";
|
|
4
4
|
import { o as Knowledge } from "./knowledge-pN-5j-oj.js";
|
|
5
5
|
import { _ as JobHandler } from "./types-BME_OjVm.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-BJ4cg51a.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-DMTfze4z.js";
|
|
4
4
|
/** What field planning reads: the metadata and the typed-jsonb config. */
|
|
5
5
|
interface SchemaSource {
|
|
6
6
|
readonly meta: SchemaMeta;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { b as DbError, f as Result } from "./result-aun_QZHn.js";
|
|
2
2
|
import { l as BlockTenant } from "./block-helpers-D0QSs8ss.js";
|
|
3
|
-
import { fr as GeneratedBlocks } from "./define-block-
|
|
3
|
+
import { fr as GeneratedBlocks } from "./define-block-D-Z8xB6y.js";
|
|
4
4
|
import { tt as TemplateValues } from "./bucket-CbRyXRp3.js";
|
|
5
5
|
import { lt as QuerySpec } from "./db-blocks-Db3LVXco.js";
|
|
6
6
|
import { n as DataEngine } from "./data-engine-CQiEEoNx.js";
|
|
7
7
|
import { c as RealtimeClient, d as SubscribeOptions, i as PresenceOptions, s as PresenceSubscription, v as TopicMessage } from "./topic-R7kIJ_xI.js";
|
|
8
8
|
import { t as ClientPorts } from "./ports-CfVACwW_.js";
|
|
9
|
-
import { a as ClientAuth } from "./bind-
|
|
9
|
+
import { a as ClientAuth } from "./bind-Bx0H1vAc.js";
|
|
10
10
|
import { a as LiveSource, r as LiveCountSeed } from "./index-ClysJ8O-.js";
|
|
11
11
|
import { SupabaseClient } from "@supabase/supabase-js";
|
|
12
12
|
import { QueryClient } from "@tanstack/query-core";
|
|
@@ -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-WUO6K2Hu.js";
|
|
4
4
|
// src/server/framework.ts
|
|
5
5
|
/**
|
|
6
6
|
* Every caller: the framework factories guard per loader, action or route
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as VERSION } from "../../version-
|
|
1
|
+
import { t as VERSION } from "../../version-CkYT3KbT.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-DMTfze4z.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-C0cnpjDP.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-DMTfze4z.js";
|
|
2
|
+
import { f as DocsSource, n as ExtraSchemas } from "../../extras-C0cnpjDP.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-B8f7HdoX.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as VERSION } from "../../version-
|
|
1
|
+
import { t as VERSION } from "../../version-CkYT3KbT.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";
|