better-supabase 0.18.3 → 0.19.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/{ai-cache-Cu8j6aQQ.js → ai-cache-BuNbWEFI.js} +2 -2
- package/dist/{ai-files-CgFCRsnU.js → ai-files-DeMWQfzs.js} +2 -2
- package/dist/{ai-schedules-DzLh6BYI.d.ts → ai-schedules-B20M2SIi.d.ts} +1 -1
- package/dist/ai-sdk/agents/index.d.ts +2 -2
- package/dist/ai-sdk/batches/index.js +1 -1
- package/dist/ai-sdk/cache/index.js +1 -1
- package/dist/ai-sdk/files/index.js +2 -2
- package/dist/ai-sdk/mcp/index.js +1 -1
- package/dist/{api-B6zteBya.d.ts → api-BiOgjXn5.d.ts} +1 -1
- package/dist/{app-tables-atP-tZKZ.d.ts → app-tables-Q29TR4W9.d.ts} +1 -1
- package/dist/astro/index.d.ts +3 -3
- package/dist/{attachments-M-Dy79Ry.js → attachments-BTIwCuwm.js} +4 -4
- package/dist/{authorization-IiE__z2m.d.ts → authorization-08F77H2w.d.ts} +3 -0
- package/dist/{automations-B5P6vTvk.js → automations-EzXteupo.js} +2 -1
- package/dist/{automations-BYsz43AG.js → automations-jIIaT9EJ.js} +3 -3
- package/dist/better-result/index.d.ts +2 -2
- package/dist/{bind-pu5TLrla.d.ts → bind-wkfp7hgx.d.ts} +4 -4
- package/dist/{block-authors-BDV3y1SP.js → block-authors-D9hyCizs.js} +1 -1
- package/dist/{block-env-CA65ulTD.d.ts → block-env-D-zK3_Ta.d.ts} +4 -4
- package/dist/{block-helpers-CtBdjgO4.js → block-helpers-DnCtsKtv.js} +2 -83
- package/dist/{block-hooks-BfxX3682.js → block-hooks-DbIpkq7a.js} +1 -1
- package/dist/{block-subjects-BhDKK_j7.js → block-subjects-BRJO0IqO.js} +1 -1
- package/dist/block-transport-PNea4lfQ.js +84 -0
- package/dist/blocks/access-requests/index.d.ts +1 -1
- package/dist/blocks/access-requests/index.js +3 -2
- package/dist/blocks/activities/index.d.ts +1 -1
- package/dist/blocks/activities/index.js +3 -2
- package/dist/blocks/agents/index.d.ts +1 -1
- package/dist/blocks/agents/index.js +3 -2
- package/dist/blocks/ai-cache/index.d.ts +1 -1
- package/dist/blocks/ai-cache/index.js +2 -2
- package/dist/blocks/ai-chat/index.d.ts +4 -4
- package/dist/blocks/ai-chat/index.js +3 -2
- package/dist/blocks/ai-files/index.d.ts +1 -1
- package/dist/blocks/ai-files/index.js +2 -2
- package/dist/blocks/ai-keys/index.d.ts +1 -1
- package/dist/blocks/ai-keys/index.js +3 -2
- package/dist/blocks/ai-schedules/index.d.ts +2 -2
- package/dist/blocks/ai-schedules/index.js +3 -2
- package/dist/blocks/announcements/index.d.ts +4 -4
- package/dist/blocks/announcements/index.js +3 -2
- package/dist/blocks/api-keys/index.d.ts +2 -2
- package/dist/blocks/api-keys/index.js +3 -2
- package/dist/blocks/approvals/index.d.ts +1 -1
- package/dist/blocks/approvals/index.js +4 -3
- package/dist/blocks/assets/index.d.ts +1 -1
- package/dist/blocks/assets/index.js +3 -2
- package/dist/blocks/assignment/index.d.ts +1 -1
- package/dist/blocks/assignment/index.js +4 -3
- package/dist/blocks/attachments/index.d.ts +2 -2
- package/dist/blocks/attachments/index.js +3 -2
- package/dist/blocks/audit/index.d.ts +5 -5
- package/dist/blocks/audit/index.js +5 -4
- package/dist/blocks/automations/index.d.ts +3 -3
- package/dist/blocks/automations/index.js +4 -4
- package/dist/blocks/billable-time/index.d.ts +1 -1
- package/dist/blocks/billable-time/index.js +4 -3
- package/dist/blocks/billing/index.d.ts +3 -3
- package/dist/blocks/billing/index.js +4 -3
- package/dist/blocks/bookings/index.d.ts +2 -2
- package/dist/blocks/bookings/index.js +3 -3
- package/dist/blocks/bulk/index.d.ts +1 -1
- package/dist/blocks/bulk/index.js +2 -2
- package/dist/blocks/calendar/index.d.ts +2 -2
- package/dist/blocks/calendar/index.js +2 -2
- package/dist/blocks/catalog/index.d.ts +1 -1
- package/dist/blocks/catalog/index.js +4 -3
- package/dist/blocks/channels/index.d.ts +1 -1
- package/dist/blocks/channels/index.js +3 -2
- package/dist/blocks/collections/index.d.ts +1 -1
- package/dist/blocks/collections/index.js +3 -2
- package/dist/blocks/comments/index.d.ts +5 -5
- package/dist/blocks/comments/index.js +6 -5
- package/dist/blocks/compliance/index.d.ts +1 -1
- package/dist/blocks/compliance/index.js +3 -2
- package/dist/blocks/connectors/index.d.ts +1 -1
- package/dist/blocks/connectors/index.js +3 -2
- package/dist/blocks/contacts/index.d.ts +1 -1
- package/dist/blocks/contacts/index.js +3 -2
- package/dist/blocks/content/index.d.ts +1 -1
- package/dist/blocks/content/index.js +3 -2
- package/dist/blocks/contracts/index.d.ts +1 -1
- package/dist/blocks/contracts/index.js +5 -4
- package/dist/blocks/courses/index.d.ts +1 -1
- package/dist/blocks/courses/index.js +3 -2
- package/dist/blocks/created-by/index.d.ts +1 -1
- package/dist/blocks/custom-fields/index.d.ts +1 -1
- package/dist/blocks/custom-fields/index.js +2 -2
- package/dist/blocks/data-lifecycle/index.d.ts +1 -1
- package/dist/blocks/data-lifecycle/index.js +3 -2
- package/dist/blocks/deals/index.d.ts +1 -1
- package/dist/blocks/deals/index.js +8 -7
- package/dist/blocks/dispatch/index.d.ts +1 -1
- package/dist/blocks/dispatch/index.js +4 -3
- package/dist/blocks/documents/index.d.ts +1 -1
- package/dist/blocks/documents/index.js +3 -2
- package/dist/blocks/domains/index.d.ts +1 -1
- package/dist/blocks/domains/index.js +4 -3
- package/dist/blocks/donations/index.d.ts +1 -1
- package/dist/blocks/donations/index.js +4 -3
- package/dist/blocks/drive/index.d.ts +1 -1
- package/dist/blocks/drive/index.js +4 -3
- package/dist/blocks/employees/index.d.ts +2 -2
- package/dist/blocks/employees/index.js +5 -4
- package/dist/blocks/enrichment/index.d.ts +1 -1
- package/dist/blocks/enrichment/index.js +3 -2
- package/dist/blocks/enrollments/index.d.ts +1 -1
- package/dist/blocks/enrollments/index.js +3 -2
- package/dist/blocks/entitlements/index.d.ts +3 -3
- package/dist/blocks/entitlements/index.js +2 -2
- package/dist/blocks/expenses/index.d.ts +1 -1
- package/dist/blocks/expenses/index.js +4 -3
- package/dist/blocks/field-history/index.d.ts +1 -1
- package/dist/blocks/field-history/index.js +3 -2
- package/dist/blocks/flags/index.d.ts +1 -1
- package/dist/blocks/flags/index.js +4 -3
- package/dist/blocks/forecasts/index.d.ts +1 -1
- package/dist/blocks/forecasts/index.js +6 -5
- package/dist/blocks/forms/index.d.ts +2 -2
- package/dist/blocks/forms/index.js +3 -2
- package/dist/blocks/goals/index.d.ts +1 -1
- package/dist/blocks/goals/index.js +4 -3
- package/dist/blocks/guests/index.d.ts +1 -1
- package/dist/blocks/guests/index.js +3 -2
- package/dist/blocks/hiring/index.d.ts +1 -1
- package/dist/blocks/hiring/index.js +4 -3
- package/dist/blocks/identities/index.d.ts +1 -1
- package/dist/blocks/identities/index.js +3 -2
- package/dist/blocks/imports/index.d.ts +1 -1
- package/dist/blocks/imports/index.js +2 -2
- package/dist/blocks/inbox/index.d.ts +5 -5
- package/dist/blocks/inbox/index.js +4 -3
- package/dist/blocks/incidents/index.d.ts +1 -1
- package/dist/blocks/incidents/index.js +3 -2
- package/dist/blocks/index.d.ts +2 -2
- package/dist/blocks/index.js +4 -4
- package/dist/blocks/inventory/index.d.ts +1 -1
- package/dist/blocks/inventory/index.js +3 -2
- package/dist/blocks/invoices/index.d.ts +2 -2
- package/dist/blocks/invoices/index.js +7 -6
- package/dist/blocks/knowledge/index.d.ts +1 -1
- package/dist/blocks/knowledge/index.js +2 -2
- package/dist/blocks/lead-scoring/index.d.ts +1 -1
- package/dist/blocks/lead-scoring/index.js +5 -4
- package/dist/blocks/leases/index.d.ts +1 -1
- package/dist/blocks/leases/index.js +4 -3
- package/dist/blocks/leave/index.d.ts +1 -1
- package/dist/blocks/leave/index.js +3 -2
- package/dist/blocks/ledger/index.d.ts +1 -1
- package/dist/blocks/ledger/index.js +3 -2
- package/dist/blocks/mail-sync/index.d.ts +1 -1
- package/dist/blocks/mail-sync/index.js +3 -2
- package/dist/blocks/memberships/index.d.ts +1 -1
- package/dist/blocks/memory/index.d.ts +1 -1
- package/dist/blocks/memory/index.js +4 -3
- package/dist/blocks/messaging/index.d.ts +5 -5
- package/dist/blocks/messaging/index.js +5 -4
- package/dist/blocks/metrics/index.d.ts +1 -1
- package/dist/blocks/metrics/index.js +3 -2
- package/dist/blocks/mfa/index.d.ts +2 -2
- package/dist/blocks/moderation/index.d.ts +1 -1
- package/dist/blocks/moderation/index.js +3 -2
- package/dist/blocks/notifications/index.d.ts +4 -4
- package/dist/blocks/notifications/index.js +4 -3
- package/dist/blocks/numbering/index.d.ts +1 -1
- package/dist/blocks/numbering/index.js +2 -2
- package/dist/blocks/oauth-server/index.d.ts +1 -1
- package/dist/blocks/oauth-server/index.js +3 -2
- package/dist/blocks/onboarding/index.d.ts +2 -2
- package/dist/blocks/onboarding/index.js +3 -2
- package/dist/blocks/orders/index.d.ts +2 -2
- package/dist/blocks/orders/index.js +5 -4
- package/dist/blocks/organizations/index.d.ts +3 -3
- package/dist/blocks/organizations/index.js +3 -2
- package/dist/blocks/outbox/index.d.ts +1 -1
- package/dist/blocks/outbox/index.js +3 -2
- package/dist/blocks/passes/index.d.ts +1 -1
- package/dist/blocks/passes/index.js +5 -4
- package/dist/blocks/permissions/index.d.ts +3 -3
- package/dist/blocks/permissions/index.js +3 -2
- package/dist/blocks/pipelines/index.d.ts +1 -1
- package/dist/blocks/pipelines/index.js +4 -3
- package/dist/blocks/posts/index.d.ts +1 -1
- package/dist/blocks/posts/index.js +3 -2
- package/dist/blocks/profiles/index.d.ts +1 -1
- package/dist/blocks/profiles/index.js +3 -2
- package/dist/blocks/promotions/index.d.ts +1 -1
- package/dist/blocks/promotions/index.js +4 -3
- package/dist/blocks/push/index.d.ts +2 -2
- package/dist/blocks/push/index.js +3 -2
- package/dist/blocks/queue/index.d.ts +1 -1
- package/dist/blocks/queue/index.js +4 -3
- package/dist/blocks/quotes/index.d.ts +2 -2
- package/dist/blocks/quotes/index.js +7 -6
- package/dist/blocks/rank/index.d.ts +1 -1
- package/dist/blocks/rank/index.js +2 -2
- package/dist/blocks/reactions/index.d.ts +4 -4
- package/dist/blocks/reactions/index.js +4 -3
- package/dist/blocks/relations/index.d.ts +1 -1
- package/dist/blocks/relations/index.js +4 -4
- package/dist/blocks/reminders/index.d.ts +1 -1
- package/dist/blocks/reminders/index.js +4 -4
- package/dist/blocks/reviews/index.d.ts +1 -1
- package/dist/blocks/reviews/index.js +3 -2
- package/dist/blocks/saved-views/index.d.ts +3 -3
- package/dist/blocks/saved-views/index.js +2 -2
- package/dist/blocks/scores/index.d.ts +1 -1
- package/dist/blocks/scores/index.js +3 -3
- package/dist/blocks/search/index.d.ts +3 -3
- package/dist/blocks/search/index.js +3 -2
- package/dist/blocks/security-events/index.d.ts +1 -1
- package/dist/blocks/security-events/index.js +3 -2
- package/dist/blocks/segments/index.d.ts +1 -1
- package/dist/blocks/segments/index.js +4 -3
- package/dist/blocks/sequences/index.d.ts +1 -1
- package/dist/blocks/sequences/index.js +3 -2
- package/dist/blocks/service-accounts/index.d.ts +1 -1
- package/dist/blocks/service-accounts/index.js +3 -2
- package/dist/blocks/sessions/index.d.ts +2 -2
- package/dist/blocks/sessions/index.js +1 -1
- package/dist/blocks/settings/index.d.ts +2 -2
- package/dist/blocks/settings/index.js +3 -2
- package/dist/blocks/share-links/index.d.ts +1 -1
- package/dist/blocks/share-links/index.js +3 -3
- package/dist/blocks/shipments/index.d.ts +1 -1
- package/dist/blocks/shipments/index.js +5 -4
- package/dist/blocks/signatures/index.d.ts +1 -1
- package/dist/blocks/signatures/index.js +3 -2
- package/dist/blocks/signing-keys/index.d.ts +1 -1
- package/dist/blocks/signing-keys/index.js +2 -2
- package/dist/blocks/sla/index.d.ts +1 -1
- package/dist/blocks/sla/index.js +5 -4
- package/dist/blocks/sso/index.d.ts +1 -1
- package/dist/blocks/sso/index.js +3 -2
- package/dist/blocks/state-machine/index.d.ts +1 -1
- package/dist/blocks/state-machine/index.js +3 -3
- package/dist/blocks/subjects/index.d.ts +2 -2
- package/dist/blocks/subjects/index.js +4 -3
- package/dist/blocks/tags/index.d.ts +2 -2
- package/dist/blocks/tags/index.js +2 -2
- package/dist/blocks/tasks/index.d.ts +2 -2
- package/dist/blocks/tasks/index.js +3 -2
- package/dist/blocks/teams/index.d.ts +1 -1
- package/dist/blocks/teams/index.js +2 -2
- package/dist/blocks/templates/index.d.ts +1 -1
- package/dist/blocks/templates/index.js +3 -2
- package/dist/blocks/time-tracking/index.d.ts +1 -1
- package/dist/blocks/time-tracking/index.js +5 -4
- package/dist/blocks/timeline/index.d.ts +3 -3
- package/dist/blocks/timeline/index.js +4 -3
- package/dist/blocks/trash/index.d.ts +1 -1
- package/dist/blocks/trash/index.js +3 -2
- package/dist/blocks/undo/index.d.ts +2 -2
- package/dist/blocks/undo/index.js +2 -2
- package/dist/blocks/updated-at/index.d.ts +1 -1
- package/dist/blocks/usage/index.d.ts +2 -2
- package/dist/blocks/usage/index.js +3 -2
- package/dist/blocks/vercel-marketplace/index.d.ts +1 -1
- package/dist/blocks/vercel-marketplace/index.js +3 -2
- package/dist/blocks/versions/index.d.ts +1 -1
- package/dist/blocks/versions/index.js +4 -3
- package/dist/blocks/waitlist/index.d.ts +1 -1
- package/dist/blocks/waitlist/index.js +3 -2
- package/dist/blocks/webhooks/index.d.ts +2 -2
- package/dist/blocks/webhooks/index.js +5 -4
- package/dist/blocks/workflow-editor/index.d.ts +4 -4
- package/dist/blocks/workflow-editor/index.js +3 -2
- package/dist/blocks/workflows/index.d.ts +4 -4
- package/dist/blocks/workflows/index.js +3 -2
- package/dist/{build-QitPVzzO.js → build-D9lWi5bk.js} +1 -1
- package/dist/chat-sdk/index.js +2 -1
- package/dist/cli/add-Bcw12jts.js +1 -0
- package/dist/cli/{add-Ccca1h3C.js → add-D5HxanFm.js} +2 -2
- package/dist/cli/{add-Elh2S4Z8.js → add-Lr7uTZXQ.js} +11 -11
- package/dist/cli/{backfill-kq6M-ksU.js → backfill-Cl1zEel7.js} +3 -3
- package/dist/cli/bin.js +1 -1
- package/dist/cli/{blocks-CSOK4qqe.js → blocks-CsPua74J.js} +1 -1
- package/dist/cli/{blocks-vl6ydiEz.js → blocks-f0obMCxm.js} +1 -1
- package/dist/cli/{cache-DPRc-BzP.js → cache-tvTW5J9K.js} +1 -1
- package/dist/cli/{codemod-CoaS9hJu.js → codemod-CVzRWS3j.js} +1 -1
- package/dist/cli/{config-BJSqMi04.js → config-BH0goim0.js} +3 -2
- package/dist/cli/{config-BlfVh0IP.js → config-CTRzkX0H.js} +1 -1
- package/dist/cli/{content-mapper-DM2jgKpn.js → content-mapper-C0LJDmVL.js} +2 -2
- package/dist/cli/{db-DYU5hUcd.js → db-DCeyHS1y.js} +2 -2
- package/dist/cli/{doctor-CU08NDWh.js → doctor-q701Qif_.js} +16 -16
- package/dist/cli/{gen-DNwJl35g.js → gen--vu_c2RF.js} +14 -14
- package/dist/cli/index.d.ts +1 -1
- package/dist/cli/index.js +7 -7
- package/dist/cli/{init-B_CsBYPR.js → init-DGz5Hk9X.js} +6 -6
- package/dist/cli/{live-TQN9GSV4.js → live-sBPXy0VE.js} +2 -2
- package/dist/cli/{mcp-BfC4giv7.js → mcp-DY_YK_WV.js} +2 -2
- package/dist/cli/{metadata-DlISbZDp.js → metadata-CoPGFRMb.js} +3 -3
- package/dist/cli/{migration-safety-C8mh2xlK.js → migration-safety-Cn7OLHJm.js} +2 -2
- package/dist/cli/{migrations-D-0Sd9tO.js → migrations-CUIEmdnS.js} +1 -1
- package/dist/cli/{module-migration-Cl8hBBqw.js → module-migration-bWK0xO2_.js} +2 -2
- package/dist/cli/powersync-CG3Bp6FD.js +1 -0
- package/dist/cli/{powersync-CBCanSnb.js → powersync-DAM5JAmz.js} +2 -2
- package/dist/cli/{print-DImaK12W.js → print-Dnbk8J2y.js} +2 -2
- package/dist/cli/{remove-DeOze3-k.js → remove-DAVVPbWw.js} +5 -5
- package/dist/cli/{render-GFy-2cii.js → render-PJdiRcqF.js} +28 -5
- package/dist/cli/{run-D4XWCMl2.js → run-6F72J0AQ.js} +25 -25
- package/dist/cli/{run-DNpUCD8d.js → run-D7-FuY6e.js} +8 -8
- package/dist/cli/seed-CXJvTU5D.js +1 -0
- package/dist/cli/{seed-D9mt8bnW.js → seed-CdSxunFT.js} +2 -2
- package/dist/cli/{shared-DM_FKwqk.js → shared-9O58FYPm.js} +1 -1
- package/dist/cli/{snapshot-BnZCeU7E.js → snapshot-rTRe56PH.js} +3 -3
- package/dist/cli/{source-DZonA0x5.js → source-EHhEoKBD.js} +1 -1
- package/dist/cli/{source-args-DlckPVje.js → source-args-z-jkabmO.js} +1 -1
- package/dist/cli/{spec-DCO8EEnf.js → spec-CR4Y9kn8.js} +2 -2
- package/dist/cli/{spec-U6hCGGu_.js → spec-DqSbbTzD.js} +1 -1
- package/dist/cli/{sql-layout-VnkvENWw.js → sql-layout-BijeFLWv.js} +2 -2
- package/dist/cli/{sync-D-YWMzZI.js → sync-BAmWXRDR.js} +3 -3
- package/dist/cli/{upgrade-BGcDzVSu.js → upgrade-BKN6eSx-.js} +4 -4
- package/dist/cli/{upgrade-DKZ3QOEJ.js → upgrade-oaUd22Il.js} +2 -2
- package/dist/cli/{version-BatoE1Gj.js → version-BkEOr4WS.js} +1 -1
- package/dist/client/index.d.ts +5 -5
- package/dist/client/native/index.d.ts +4 -4
- package/dist/{codecs-TylXqU_I.js → codecs-BfmQSbM6.js} +2 -2
- package/dist/{composite-C-8A8qzi.d.ts → composite-COQJBDmG.d.ts} +3 -3
- package/dist/config/index.d.ts +2 -2
- package/dist/config/index.js +1 -1
- package/dist/{config-mbVyJwSc.js → config-D74JT0qL.js} +2 -1
- package/dist/{context-Cj-9gE6l.d.ts → context-BI1PPPkw.d.ts} +6 -3
- package/dist/{controller-BR7CZ1R9.d.ts → controller-DhT57SGq.d.ts} +1 -1
- package/dist/{conversion-BgtOfTaS.d.ts → conversion-DAV0hOJQ.d.ts} +1 -1
- package/dist/create/index.d.ts +2 -2
- package/dist/create/index.js +2 -2
- package/dist/{create-blocks-Bu4H5TXw.js → create-blocks-B-9HVf7m.js} +6 -4
- package/dist/credentials/index.js +2 -1
- package/dist/{deal-forecast-Bv52QMyX.js → deal-forecast-DikouYGj.js} +2 -2
- package/dist/{define-Cgru0_kF.d.ts → define-B_pxEy7d.d.ts} +2 -0
- package/dist/{define-DlUeKHce.js → define-Dt9DRqV_.js} +80 -4
- package/dist/{define-block-CJWiDWa5.d.ts → define-block-D4hZSb2G.d.ts} +2 -1
- package/dist/edge/index.d.ts +5 -5
- package/dist/{entitlements-DHcNt1aF.d.ts → entitlements-BhNzAcJR.d.ts} +1 -1
- package/dist/{entitlements-NZAE_vLj.js → entitlements-DBir2qwB.js} +2 -2
- package/dist/{executor-BWFfz0ik.d.ts → executor-D1UUQEGL.d.ts} +2 -2
- package/dist/expo/index.d.ts +2 -2
- package/dist/{field-errors-DkAemDoc.d.ts → field-errors-D7mzrKjR.d.ts} +6 -6
- package/dist/{fields-B0zaJAO3.js → fields--5a88KJe.js} +3 -2
- package/dist/{flags-BOdA_ETQ.js → flags-ClOQY-p5.js} +1 -1
- package/dist/flags-sdk/index.js +2 -2
- package/dist/{framework-x9Y4uB1q.d.ts → framework-BghlRbea.d.ts} +3 -3
- package/dist/hono/index.d.ts +4 -4
- package/dist/{index-DTbJAsrT.d.ts → index-B8iW3y2w.d.ts} +9 -9
- package/dist/{index-C6ruLtyx.d.ts → index-BJBwUM9l.d.ts} +3 -3
- package/dist/{index-C0t-vNIt.d.ts → index-BSXQlJt2.d.ts} +2 -2
- package/dist/{index-DZylLz7h.d.ts → index-Bc-EhTb-.d.ts} +3 -3
- package/dist/{index-DVYEoVMK.d.ts → index-DZ5VbYvy.d.ts} +1 -1
- package/dist/{index-DmbCyl6Z.d.ts → index-DsB7dy9R.d.ts} +3 -3
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/instance-property-hRh88y_s.js +7 -0
- package/dist/{knowledge-BGbtxMP9.js → knowledge-CV6OSirC.js} +2 -2
- package/dist/list/index.d.ts +1 -1
- package/dist/{list-query-DxjuIHEL.d.ts → list-query-BIZBVEoF.d.ts} +1 -1
- package/dist/mapper/bin.js +6 -6
- package/dist/mcp/index.d.ts +4 -4
- package/dist/mcp/sdk/index.d.ts +2 -2
- package/dist/{money-codec-BzddguAQ.js → money-codec-uV5WbT60.js} +1 -1
- package/dist/next/index.d.ts +14 -14
- package/dist/next/index.js +2 -2
- package/dist/{operations-CAjMgNr9.d.ts → operations-DbNAgo7E.d.ts} +1 -1
- package/dist/{options-lsxJYfYx.js → options-BOqfYsM1.js} +2 -1
- package/dist/{options-Bc4xz5jQ.js → options-DZen3UiC.js} +2 -1
- package/dist/orpc/index.d.ts +4 -4
- package/dist/orpc/index.js +1 -1
- package/dist/otel/index.js +4 -4
- package/dist/{ports-g0H1Kzwr.d.ts → ports-Dwe0JqBI.d.ts} +1 -1
- package/dist/powersync/index.d.ts +3 -3
- package/dist/preset/index.d.ts +3 -3
- package/dist/{push-token-Cl2EihRc.d.ts → push-token-C0dwbMZF.d.ts} +1 -1
- package/dist/query/index.d.ts +1 -1
- package/dist/{rate-limit-Dt9vAY4E.js → rate-limit-BPuUWz4U.js} +3 -2
- package/dist/react/index.d.ts +5 -5
- package/dist/react/index.js +1 -1
- package/dist/react/native/index.d.ts +1 -1
- package/dist/react/server.d.ts +6 -6
- package/dist/react/server.js +1 -1
- package/dist/{react-zBTxLsV6.js → react-GgLZ66FU.js} +2 -2
- package/dist/react-router/index.d.ts +3 -3
- package/dist/realtime/index.d.ts +3 -3
- package/dist/realtime/index.js +2 -2
- package/dist/{record-form-zMwz0Ayt.d.ts → record-form-eiqGbx9J.d.ts} +1 -1
- package/dist/records/index.d.ts +7 -7
- package/dist/{resource-execute-CKBtGL8-.d.ts → resource-execute-CWfzJmUd.d.ts} +1 -1
- package/dist/{resource-types-8Q5Klkpa.d.ts → resource-types-BdGAUbKw.d.ts} +1 -1
- package/dist/{resources-DxpqenZA.d.ts → resources-EeQWFMR8.d.ts} +1 -1
- package/dist/{rows-Bm6sskji.js → rows-Bh9QemqN.js} +1 -1
- package/dist/{rows-BDLZStp4.js → rows-EGAbu7MG.js} +2 -2
- package/dist/{sales-lines-D-sf9PIB.js → sales-lines-CP4Z_LyE.js} +6 -4
- package/dist/{sales-lines-Bk4mbLH1.d.ts → sales-lines-KxxStRzU.d.ts} +1 -0
- package/dist/{sales-shared-DXGFJP4g.js → sales-shared-BKXXA5qV.js} +1 -1
- package/dist/{schemas-l2aF78zQ.js → schemas-BSTNfGsQ.js} +1 -1
- package/dist/{scores-CRp3vvQU.js → scores-CsgM-dw7.js} +2 -2
- package/dist/server/index.d.ts +7 -7
- package/dist/server/index.js +2 -2
- package/dist/{server-types-gR4Q1aM0.d.ts → server-types-rmq2QzsD.d.ts} +1 -1
- package/dist/{session-Fcft5A39.d.ts → session-CpwxyojG.d.ts} +1 -1
- package/dist/{signing-keys-wGKh4vtt.js → signing-keys-DqI-gB_C.js} +2 -2
- package/dist/solid/index.d.ts +6 -6
- package/dist/solid-start/index.d.ts +3 -3
- package/dist/spec/index.d.ts +1 -1
- package/dist/spec/index.js +1 -1
- package/dist/sql/index.d.ts +4 -4
- package/dist/sql/index.js +1 -1
- package/dist/{sql-B8usqPPx.js → sql-B0wb7XA5.js} +107 -64
- package/dist/sqlite/index.d.ts +1 -1
- package/dist/{sso-d2S4x_f9.js → sso-Co2TbnEy.js} +2 -2
- package/dist/ssr/index.d.ts +1 -1
- package/dist/storage/index.js +1 -1
- package/dist/streams/index.js +2 -1
- package/dist/{subject-readers-B-pQ9Mmo.js → subject-readers-F1xvRY-d.js} +1 -1
- package/dist/subject-type-BRnK7Av3.js +8 -0
- package/dist/svelte/index.d.ts +6 -6
- package/dist/sveltekit/index.d.ts +4 -4
- package/dist/{tags-sM-CH9Mn.d.ts → tags-CkO2erRP.d.ts} +1 -1
- package/dist/tanstack-db/index.d.ts +1 -1
- package/dist/tanstack-start/index.d.ts +3 -3
- package/dist/{tenant-DyoVYFfC.d.ts → tenant-BXNF10H5.d.ts} +1 -1
- package/dist/testing/index.d.ts +7 -7
- package/dist/testing/index.js +5 -5
- package/dist/{timeline-CMmo0R7g.d.ts → timeline-CHtoY7NO.d.ts} +3 -3
- package/dist/{topic-nQYxoTaU.d.ts → topic-BNkdk7qe.d.ts} +2 -2
- package/dist/{undo-BjCChCmH.js → undo-B3FQvuAd.js} +2 -2
- package/dist/{verify-DEqY__0N.d.ts → verify-CJxqZQdd.d.ts} +1 -1
- package/dist/vue/index.d.ts +6 -6
- package/dist/{watch-topic-UGSEWAqR.d.ts → watch-topic-wl74gws-.d.ts} +1 -1
- package/dist/workflow-sdk/world/index.js +1 -1
- package/dist/yjs/index.d.ts +1 -1
- package/dist/yjs/index.js +1 -1
- package/package.json +1 -1
- package/schemas/config-v1.json +22 -1
- package/dist/cli/add-BKybJ2e1.js +0 -1
- package/dist/cli/powersync-BEWwRqNy.js +0 -1
- package/dist/cli/seed-EPO6AvLG.js +0 -1
- package/dist/db-blocks-DJGbjIPz.js +0 -62
- package/dist/{sign-in-BLkRU3lc.js → sign-in-BTaRWS-L.js} +1 -1
- package/dist/{topic-J9I3yu6f.js → topic-DXbA-jwr.js} +1 -1
package/dist/svelte/index.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { b as DbError } from "../result-DZeA5KS6.js";
|
|
2
2
|
import { Ct as Events, D as BlockEventPattern, T as BlockEvent, bt as EventMap, k as BlockEventsMatching } from "../events-vcqenSYU.js";
|
|
3
|
-
import { pt as QuerySpec } from "../define-
|
|
3
|
+
import { pt as QuerySpec } from "../define-B_pxEy7d.js";
|
|
4
4
|
import { tt as TemplateValues } from "../bucket-vc-QRrva.js";
|
|
5
|
-
import { g as TopicHandlers, m as Topic, p as SubscriptionStatus, r as PresenceMember, t as EventSchemas } from "../topic-
|
|
6
|
-
import { t as AuthSnapshot } from "../bind-
|
|
5
|
+
import { g as TopicHandlers, m as Topic, p as SubscriptionStatus, r as PresenceMember, t as EventSchemas } from "../topic-BNkdk7qe.js";
|
|
6
|
+
import { t as AuthSnapshot } from "../bind-wkfp7hgx.js";
|
|
7
7
|
import { t as AuthSession } from "../view-DyFdMCqg.js";
|
|
8
|
-
import { n as Controller } from "../controller-
|
|
9
|
-
import { C as LiveCountSource, D as ProfileOf, E as PresenceTopic, O as UseActionOptions, S as LiveCountHookOptions, T as PresenceHookOptions, _ as ActionResultOf, a as DataRows, b as ClaimsOf, c as DataWrites, d as BlockMutationState, f as BlockQueryActions, g as ActionInputOf, h as BlockRefetchOn, i as DataRow, l as BlockEventSource, m as BlockQueryState, n as DataId, o as DataSource, p as BlockQueryOptions, r as DataListArgs, s as DataState, t as fieldErrorsOf, u as BlockMutationActions, v as ActionState, w as LiveQueryHookOptions, x as ClientLike, y as BroadcastOptions } from "../field-errors-
|
|
10
|
-
import { n as BlockOptions } from "../block-env-
|
|
8
|
+
import { n as Controller } from "../controller-DhT57SGq.js";
|
|
9
|
+
import { C as LiveCountSource, D as ProfileOf, E as PresenceTopic, O as UseActionOptions, S as LiveCountHookOptions, T as PresenceHookOptions, _ as ActionResultOf, a as DataRows, b as ClaimsOf, c as DataWrites, d as BlockMutationState, f as BlockQueryActions, g as ActionInputOf, h as BlockRefetchOn, i as DataRow, l as BlockEventSource, m as BlockQueryState, n as DataId, o as DataSource, p as BlockQueryOptions, r as DataListArgs, s as DataState, t as fieldErrorsOf, u as BlockMutationActions, v as ActionState, w as LiveQueryHookOptions, x as ClientLike, y as BroadcastOptions } from "../field-errors-D7mzrKjR.js";
|
|
10
|
+
import { n as BlockOptions } from "../block-env-D-zK3_Ta.js";
|
|
11
11
|
import { n as BlockDataOf, r as BlockMethodName, t as BlockArgsOf } from "../block-method-CiVa2G-J.js";
|
|
12
12
|
import { SupabaseClient } from "@supabase/supabase-js";
|
|
13
13
|
import { QueryClient } from "@tanstack/query-core";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { O as AnyFunctions, k as AnyModels } from "../types-DFdg_4yN.js";
|
|
2
2
|
import { l as PermissionRef, t as AnyAuthorizer } from "../authorizer-B6X09otb.js";
|
|
3
|
-
import { t as BetterSupabase } from "../define-
|
|
4
|
-
import { n as BetterServer } from "../server-types-
|
|
3
|
+
import { t as BetterSupabase } from "../define-B_pxEy7d.js";
|
|
4
|
+
import { n as BetterServer } from "../server-types-rmq2QzsD.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-CVgQCIBO.js";
|
|
6
6
|
import { t as RefusalRedirects } from "../refusal-OrlI3g4H.js";
|
|
7
|
-
import { n as FrameworkOptions, r as LocalsResource, t as FrameworkLocals } from "../framework-
|
|
7
|
+
import { n as FrameworkOptions, r as LocalsResource, t as FrameworkLocals } from "../framework-BghlRbea.js";
|
|
8
8
|
import { t as Validated } from "../shared-CRRfQAKG.js";
|
|
9
|
-
import { i as tagFor } from "../tags-
|
|
9
|
+
import { i as tagFor } from "../tags-CkO2erRP.js";
|
|
10
10
|
import { AnyEntry, Contributions } from "@supabase/middleware";
|
|
11
11
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
12
12
|
//#region src/bridges/sveltekit.d.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Qt as CacheTarget, Zt as CacheAdapter } from "./define-
|
|
1
|
+
import { Qt as CacheTarget, Zt as CacheAdapter } from "./define-B_pxEy7d.js";
|
|
2
2
|
//#region src/core/tags.d.ts
|
|
3
3
|
interface TagOptions {
|
|
4
4
|
/** The tenant the read is scoped to; `"*"` is every tenant's reads. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { O as AnyFunctions, k as AnyModels, ut as TableKey } from "../types-DFdg_4yN.js";
|
|
2
|
-
import { t as BetterSupabase, v as Db } from "../define-
|
|
2
|
+
import { t as BetterSupabase, v as Db } from "../define-B_pxEy7d.js";
|
|
3
3
|
import { n as DataEngine } from "../data-engine-BWoz9lED.js";
|
|
4
4
|
import { t as BetterQueryMeta } from "../invalidate-DMp4eqfF.js";
|
|
5
5
|
import { QueryClient, SkipToken } from "@tanstack/query-core";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { O as AnyFunctions, k as AnyModels } from "../types-DFdg_4yN.js";
|
|
2
2
|
import { l as PermissionRef, t as AnyAuthorizer } from "../authorizer-B6X09otb.js";
|
|
3
|
-
import { t as BetterSupabase } from "../define-
|
|
4
|
-
import { n as BetterServer } from "../server-types-
|
|
3
|
+
import { t as BetterSupabase } from "../define-B_pxEy7d.js";
|
|
4
|
+
import { n as BetterServer } from "../server-types-rmq2QzsD.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-CVgQCIBO.js";
|
|
6
6
|
import { t as RefusalRedirects } from "../refusal-OrlI3g4H.js";
|
|
7
|
-
import { n as FrameworkOptions, r as LocalsResource, t as FrameworkLocals } from "../framework-
|
|
7
|
+
import { n as FrameworkOptions, r as LocalsResource, t as FrameworkLocals } from "../framework-BghlRbea.js";
|
|
8
8
|
import { t as Validated } from "../shared-CRRfQAKG.js";
|
|
9
9
|
import { AnyEntry, Contributions } from "@supabase/middleware";
|
|
10
10
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
package/dist/testing/index.d.ts
CHANGED
|
@@ -9,14 +9,14 @@ import { a as BlockTransportMiddleware } from "../block-hooks-DZN2w69m.js";
|
|
|
9
9
|
import { a as SessionActor, o as SessionDelegation } from "../actor-CoveJgya.js";
|
|
10
10
|
import { P as QueueProvider } from "../types-Czq9Xtpa.js";
|
|
11
11
|
import { n as Embedder } from "../knowledge-F1IhRI4Q.js";
|
|
12
|
-
import { a as AuthorizationProvider } from "../authorization-
|
|
12
|
+
import { a as AuthorizationProvider } from "../authorization-08F77H2w.js";
|
|
13
13
|
import { o as StreamStore } from "../store-CpheI-lN.js";
|
|
14
14
|
import { o as Authorizer } from "../authorizer-B6X09otb.js";
|
|
15
|
-
import { J as DbStats, Zt as CacheAdapter, t as BetterSupabase, v as Db } from "../define-
|
|
15
|
+
import { J as DbStats, Zt as CacheAdapter, t as BetterSupabase, v as Db } from "../define-B_pxEy7d.js";
|
|
16
16
|
import { Q as StoragePath } from "../bucket-vc-QRrva.js";
|
|
17
|
-
import { a as ServerContext, c as ServerOptions } from "../server-types-
|
|
17
|
+
import { a as ServerContext, c as ServerOptions } from "../server-types-rmq2QzsD.js";
|
|
18
18
|
import { n as Impersonator } from "../impersonation-YTa9dZUv.js";
|
|
19
|
-
import { tn as AnyRecordBinding } from "../define-block-
|
|
19
|
+
import { tn as AnyRecordBinding } from "../define-block-D4hZSb2G.js";
|
|
20
20
|
import { n as Money } from "../money-BNRdJQzA.js";
|
|
21
21
|
import { i as EventSink, t as CloudEvent } from "../cloud-event-CzZTJkXv.js";
|
|
22
22
|
import { i as AuthorizationHooks } from "../authorization-hooks-D_pwXlBs.js";
|
|
@@ -24,9 +24,9 @@ import { s as SqlClaims, t as BetterPostgres } from "../pool-CrtT4dg-.js";
|
|
|
24
24
|
import { C as SupportSessionStore } from "../support-B4ZBVxt3.js";
|
|
25
25
|
import { r as GuardOptions } from "../respond-oZeJ342J.js";
|
|
26
26
|
import { l as Transcriber, s as NoteTaker, u as TranscriberInput } from "../recordings-BBSJt_YV.js";
|
|
27
|
-
import { n as Controller } from "../controller-
|
|
28
|
-
import { c as AiTaskRunner, o as AiTaskRun, r as AiTask } from "../ai-schedules-
|
|
29
|
-
import { Ht as GeneratorModel, Qt as ResolvedConfig, jt as Generator, zt as GeneratorInput } from "../context-
|
|
27
|
+
import { n as Controller } from "../controller-DhT57SGq.js";
|
|
28
|
+
import { c as AiTaskRunner, o as AiTaskRun, r as AiTask } from "../ai-schedules-B20M2SIi.js";
|
|
29
|
+
import { Ht as GeneratorModel, Qt as ResolvedConfig, jt as Generator, zt as GeneratorInput } from "../context-BI1PPPkw.js";
|
|
30
30
|
import { r as WebhookInput } from "../signatures-Dkx9OE8j.js";
|
|
31
31
|
import { n as Payment, o as PaymentProvider } from "../payments-BYcN34Fp.js";
|
|
32
32
|
import { t as NotificationChannel } from "../channel-JcMd5lNP.js";
|
package/dist/testing/index.js
CHANGED
|
@@ -4,22 +4,22 @@ import { t as isList } from "../guards-6F2bCtQR.js";
|
|
|
4
4
|
import { d as temporalText } from "../temporal-DLZlWbOi.js";
|
|
5
5
|
import { t as temporal } from "../temporal-required-Dy0GGD8E.js";
|
|
6
6
|
import { a as ok } from "../result-ntFBW2p2.js";
|
|
7
|
-
import { t as BetterSupabase } from "../define-
|
|
7
|
+
import { t as BetterSupabase } from "../define-Dt9DRqV_.js";
|
|
8
|
+
import { n as rawError } from "../block-transport-PNea4lfQ.js";
|
|
8
9
|
import { a as toBase64Url, r as fromBase64, t as base64ToText } from "../base64-B9Wlsdj7.js";
|
|
9
|
-
import { c as resolveConfig } from "../config-
|
|
10
|
+
import { c as resolveConfig } from "../config-D74JT0qL.js";
|
|
10
11
|
import { a as isScopeName, c as templateFunctions, l as templatePlaceholders, n as TEMPLATE_PLACEHOLDERS, s as scopeProblems, u as templateProblems } from "../access-sql-CNIgUqWf.js";
|
|
11
12
|
import { r as TRACKING_STATUSES, t as LABEL_FORMATS } from "../statuses-zRcc2TeZ.js";
|
|
12
13
|
import { i as seedLite, n as loadLite, r as migrateLite, t as LITE_INSTALL } from "../runtime-CoKxZibd.js";
|
|
13
14
|
import { ENV_VARIABLES } from "../env/index.js";
|
|
14
15
|
import { t as defineController } from "../controller-BEliOBOv.js";
|
|
15
16
|
import { t as onBlockEvent } from "../block-event-listener-Bu6G0TFH.js";
|
|
16
|
-
import { V as rawError } from "../block-helpers-CtBdjgO4.js";
|
|
17
17
|
import "../replicas-Dyoh3CEg.js";
|
|
18
18
|
import { i as defineAuthorizer, r as checkPermission, s as requestOf } from "../authorizer-BGhXaDmo.js";
|
|
19
19
|
import { a as tenantCredentialRef } from "../provider-B6g7rBZX.js";
|
|
20
20
|
import { t as postgresExecutor } from "../executor-3qcMhg6R.js";
|
|
21
21
|
import { n as parseDbStats } from "../timing-dypS0nxW.js";
|
|
22
|
-
import { r as subjectKey } from "../block-subjects-
|
|
22
|
+
import { r as subjectKey } from "../block-subjects-BRJO0IqO.js";
|
|
23
23
|
import { t as organizationsEvents } from "../events-DuLhzjP6.js";
|
|
24
24
|
import { t as mailHeaders } from "../delivery-Bm0jxmzI.js";
|
|
25
25
|
import { toCloudEvents } from "../events/index.js";
|
|
@@ -29,7 +29,7 @@ import { t as trashExtension } from "../extension-DzCc0IOd.js";
|
|
|
29
29
|
import { t as membershipsExtension } from "../extension-DeAd_MqI.js";
|
|
30
30
|
import { t as createdByExtension } from "../extension-DTaHjwdc.js";
|
|
31
31
|
import { t as updatedAtExtension } from "../extension-mGylYROs.js";
|
|
32
|
-
import { t as buildApiModel } from "../build-
|
|
32
|
+
import { t as buildApiModel } from "../build-D9lWi5bk.js";
|
|
33
33
|
import { createClient } from "@supabase/supabase-js";
|
|
34
34
|
import { existsSync } from "node:fs";
|
|
35
35
|
import { readFile } from "node:fs/promises";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { D as ValidationIssue, t as AsyncResult } from "./result-DZeA5KS6.js";
|
|
2
2
|
import { $ as RecordRef } from "./types-DFdg_4yN.js";
|
|
3
3
|
import { o as FilterField } from "./filter-query-BXLs72G9.js";
|
|
4
|
-
import { cn as RecordBindingResult, hn as TimelineItem, in as RecordBindingData } from "./define-block-
|
|
5
|
-
import { A as BindingBlocks, F as LoadBindingsOptions, M as BindingName, N as BindingOf, P as BindingSource, V as PermissionSet, _ as RecordTypeBlocks, g as RecordType, h as RecordCan } from "./index-
|
|
6
|
-
import { c as ListParseOptions, m as ListSearchParams } from "./list-query-
|
|
4
|
+
import { cn as RecordBindingResult, hn as TimelineItem, in as RecordBindingData } from "./define-block-D4hZSb2G.js";
|
|
5
|
+
import { A as BindingBlocks, F as LoadBindingsOptions, M as BindingName, N as BindingOf, P as BindingSource, V as PermissionSet, _ as RecordTypeBlocks, g as RecordType, h as RecordCan } from "./index-BSXQlJt2.js";
|
|
6
|
+
import { c as ListParseOptions, m as ListSearchParams } from "./list-query-BIZBVEoF.js";
|
|
7
7
|
//#region src/records/list.d.ts
|
|
8
8
|
/**
|
|
9
9
|
* How a binding fills a list column: `count` is how many rows it has (the
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { D as ValidationIssue, b as DbError, t as AsyncResult } from "./result-DZeA5KS6.js";
|
|
2
2
|
import { D as AccessTopicPolicy, O as AnyFunctions, it as Row, k as AnyModels, ut as TableKey } from "./types-DFdg_4yN.js";
|
|
3
|
-
import { t as AuthorizationFunctions } from "./authorization-
|
|
4
|
-
import { t as BetterSupabase } from "./define-
|
|
3
|
+
import { t as AuthorizationFunctions } from "./authorization-08F77H2w.js";
|
|
4
|
+
import { t as BetterSupabase } from "./define-B_pxEy7d.js";
|
|
5
5
|
import { et as TemplateParams, tt as TemplateValues } from "./bucket-vc-QRrva.js";
|
|
6
6
|
import { g as SubscriberPolicy, h as SubscriberEvent, i as AuthorizationHooks, m as Subscriber } from "./authorization-hooks-D_pwXlBs.js";
|
|
7
7
|
import { t as RealtimeStatus } from "./realtime-status-BhNkb-Ow.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as dbError } from "./errors-BVFgt8BZ.js";
|
|
2
2
|
import { n as isRecord } from "./guards-6F2bCtQR.js";
|
|
3
3
|
import { a as ok, t as AsyncResult } from "./result-ntFBW2p2.js";
|
|
4
|
-
import { o as blockCall } from "./block-helpers-
|
|
5
|
-
import { r as withBlockHooks } from "./block-hooks-
|
|
4
|
+
import { o as blockCall } from "./block-helpers-DnCtsKtv.js";
|
|
5
|
+
import { r as withBlockHooks } from "./block-hooks-DbIpkq7a.js";
|
|
6
6
|
//#region src/blocks/undo/undo.ts
|
|
7
7
|
/** The functions an undo token may call: the inverses the blocks return. */
|
|
8
8
|
const UNDO_FUNCTIONS = [
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
2
|
import { f as Result } from "./result-DZeA5KS6.js";
|
|
3
3
|
import { O as AnyFunctions, it as Row, k as AnyModels, ut as TableKey } from "./types-DFdg_4yN.js";
|
|
4
|
-
import { t as BetterSupabase } from "./define-
|
|
4
|
+
import { t as BetterSupabase } from "./define-B_pxEy7d.js";
|
|
5
5
|
import { n as VerifyOptions, r as WebhookInput, t as VerifiedWebhook } from "./signatures-Dkx9OE8j.js";
|
|
6
6
|
//#region src/blocks/webhooks/verify.d.ts
|
|
7
7
|
/** The `Stripe-Signature` header for `body`, for tests and local replays. */
|
package/dist/vue/index.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { b as DbError } from "../result-DZeA5KS6.js";
|
|
2
2
|
import { Ct as Events, D as BlockEventPattern, T as BlockEvent, bt as EventMap, k as BlockEventsMatching } from "../events-vcqenSYU.js";
|
|
3
|
-
import { pt as QuerySpec } from "../define-
|
|
3
|
+
import { pt as QuerySpec } from "../define-B_pxEy7d.js";
|
|
4
4
|
import { tt as TemplateValues } from "../bucket-vc-QRrva.js";
|
|
5
|
-
import { g as TopicHandlers, m as Topic, p as SubscriptionStatus, r as PresenceMember, t as EventSchemas } from "../topic-
|
|
6
|
-
import { t as AuthSnapshot } from "../bind-
|
|
5
|
+
import { g as TopicHandlers, m as Topic, p as SubscriptionStatus, r as PresenceMember, t as EventSchemas } from "../topic-BNkdk7qe.js";
|
|
6
|
+
import { t as AuthSnapshot } from "../bind-wkfp7hgx.js";
|
|
7
7
|
import { t as AuthSession } from "../view-DyFdMCqg.js";
|
|
8
|
-
import { n as Controller } from "../controller-
|
|
9
|
-
import { C as LiveCountSource, D as ProfileOf, E as PresenceTopic, O as UseActionOptions, S as LiveCountHookOptions, T as PresenceHookOptions, _ as ActionResultOf, a as DataRows, b as ClaimsOf, c as DataWrites, d as BlockMutationState, f as BlockQueryActions, g as ActionInputOf, h as BlockRefetchOn, i as DataRow, l as BlockEventSource, m as BlockQueryState, n as DataId, o as DataSource, p as BlockQueryOptions, r as DataListArgs, s as DataState, t as fieldErrorsOf, u as BlockMutationActions, v as ActionState, w as LiveQueryHookOptions, x as ClientLike, y as BroadcastOptions } from "../field-errors-
|
|
10
|
-
import { n as BlockOptions } from "../block-env-
|
|
8
|
+
import { n as Controller } from "../controller-DhT57SGq.js";
|
|
9
|
+
import { C as LiveCountSource, D as ProfileOf, E as PresenceTopic, O as UseActionOptions, S as LiveCountHookOptions, T as PresenceHookOptions, _ as ActionResultOf, a as DataRows, b as ClaimsOf, c as DataWrites, d as BlockMutationState, f as BlockQueryActions, g as ActionInputOf, h as BlockRefetchOn, i as DataRow, l as BlockEventSource, m as BlockQueryState, n as DataId, o as DataSource, p as BlockQueryOptions, r as DataListArgs, s as DataState, t as fieldErrorsOf, u as BlockMutationActions, v as ActionState, w as LiveQueryHookOptions, x as ClientLike, y as BroadcastOptions } from "../field-errors-D7mzrKjR.js";
|
|
10
|
+
import { n as BlockOptions } from "../block-env-D-zK3_Ta.js";
|
|
11
11
|
import { n as BlockDataOf, r as BlockMethodName, t as BlockArgsOf } from "../block-method-CiVa2G-J.js";
|
|
12
12
|
import { t as SupportView } from "../support-view-BYOgwXsJ.js";
|
|
13
13
|
import { SupabaseClient } from "@supabase/supabase-js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as RealtimeClient, p as SubscriptionStatus } from "./topic-
|
|
1
|
+
import { c as RealtimeClient, p as SubscriptionStatus } from "./topic-BNkdk7qe.js";
|
|
2
2
|
//#region src/realtime/watch-topic.d.ts
|
|
3
3
|
interface TopicWatch {
|
|
4
4
|
readonly onMessage: (event: string, payload: unknown) => void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as dbError } from "../../errors-BVFgt8BZ.js";
|
|
2
|
-
import { o as problemResponse } from "../../problem-Bf0cJ7tk.js";
|
|
3
2
|
import { i as sqlIdent } from "../../template-Drgg3v2J.js";
|
|
3
|
+
import { o as problemResponse } from "../../problem-Bf0cJ7tk.js";
|
|
4
4
|
import { i as WORLD_POSTGRES_VERSION, r as WORKFLOW_VAULT_SECRETS } from "../../workflow-sdk-DELaQEp3.js";
|
|
5
5
|
import { n as hmacHex, r as timingSafeEqual } from "../../hmac-B3CTTlfv.js";
|
|
6
6
|
import { t as watchPoolErrors } from "../../pool-errors-JUBcGrre.js";
|
package/dist/yjs/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as AsyncResult } from "../result-DZeA5KS6.js";
|
|
2
|
-
import { c as RealtimeClient, r as PresenceMember } from "../topic-
|
|
2
|
+
import { c as RealtimeClient, r as PresenceMember } from "../topic-BNkdk7qe.js";
|
|
3
3
|
import { a as DocumentSuggestion, d as OpenedDocument, l as Documents, r as DocumentRef, t as DecidedSuggestion } from "../documents-Cup1rpjF.js";
|
|
4
4
|
//#region src/yjs/yjs.d.ts
|
|
5
5
|
type PresenceState = Readonly<Record<string, unknown>>;
|
package/dist/yjs/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import { n as isRecord } from "../guards-6F2bCtQR.js";
|
|
|
2
2
|
import { a as ok, r as err, t as AsyncResult } from "../result-ntFBW2p2.js";
|
|
3
3
|
import { i as toBase64, r as fromBase64 } from "../base64-B9Wlsdj7.js";
|
|
4
4
|
import { t as importOptionalPeer } from "../optional-peer-C1NbBRJm.js";
|
|
5
|
-
import { t as defineTopic } from "../topic-
|
|
5
|
+
import { t as defineTopic } from "../topic-DXbA-jwr.js";
|
|
6
6
|
//#region src/yjs/yjs.ts
|
|
7
7
|
function isYjs(value) {
|
|
8
8
|
return isRecord(value) && typeof value["applyUpdate"] === "function" && typeof value["mergeUpdates"] === "function";
|
package/package.json
CHANGED
package/schemas/config-v1.json
CHANGED
|
@@ -223,6 +223,9 @@
|
|
|
223
223
|
"type": "string",
|
|
224
224
|
"description": "Whose policies govern the app's tables a block runs over, unless the block sets its own ownTablePolicies: block (the default) lets a block add its bsb_ policies where none of the app's covers them, and app keeps every bsb_ policy, permissive or restrictive, off them.",
|
|
225
225
|
"default": "block"
|
|
226
|
+
},
|
|
227
|
+
"tenantColumn": {
|
|
228
|
+
"type": "string"
|
|
226
229
|
}
|
|
227
230
|
},
|
|
228
231
|
"additionalProperties": false
|
|
@@ -1335,7 +1338,7 @@
|
|
|
1335
1338
|
"type": "object",
|
|
1336
1339
|
"propertyNames": {
|
|
1337
1340
|
"type": "string",
|
|
1338
|
-
"pattern": "^[a-z][a-z0-9_]{0,62}$"
|
|
1341
|
+
"pattern": "^[a-z][a-z0-9_-]{0,62}$"
|
|
1339
1342
|
},
|
|
1340
1343
|
"additionalProperties": {
|
|
1341
1344
|
"type": "object",
|
|
@@ -4523,6 +4526,12 @@
|
|
|
4523
4526
|
"additionalProperties": {
|
|
4524
4527
|
"type": "string"
|
|
4525
4528
|
}
|
|
4529
|
+
},
|
|
4530
|
+
"lineExtraColumns": {
|
|
4531
|
+
"type": "object",
|
|
4532
|
+
"additionalProperties": {
|
|
4533
|
+
"type": "string"
|
|
4534
|
+
}
|
|
4526
4535
|
}
|
|
4527
4536
|
}
|
|
4528
4537
|
}
|
|
@@ -5095,6 +5104,12 @@
|
|
|
5095
5104
|
"additionalProperties": {
|
|
5096
5105
|
"type": "string"
|
|
5097
5106
|
}
|
|
5107
|
+
},
|
|
5108
|
+
"lineExtraColumns": {
|
|
5109
|
+
"type": "object",
|
|
5110
|
+
"additionalProperties": {
|
|
5111
|
+
"type": "string"
|
|
5112
|
+
}
|
|
5098
5113
|
}
|
|
5099
5114
|
}
|
|
5100
5115
|
}
|
|
@@ -5865,6 +5880,12 @@
|
|
|
5865
5880
|
"additionalProperties": {
|
|
5866
5881
|
"type": "string"
|
|
5867
5882
|
}
|
|
5883
|
+
},
|
|
5884
|
+
"lineExtraColumns": {
|
|
5885
|
+
"type": "object",
|
|
5886
|
+
"additionalProperties": {
|
|
5887
|
+
"type": "string"
|
|
5888
|
+
}
|
|
5868
5889
|
}
|
|
5869
5890
|
}
|
|
5870
5891
|
}
|
package/dist/cli/add-BKybJ2e1.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { t as addCommand } from "./add-Elh2S4Z8.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { t as powersyncStreamsCommand } from "./powersync-CBCanSnb.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { n as seedCommand } from "./seed-D9mt8bnW.js";
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
//#region src/core/db-blocks.ts
|
|
2
|
-
/** `lead-scoring` as `leadScoring`: the property an instance key gets. */
|
|
3
|
-
function instanceProperty(key) {
|
|
4
|
-
return key.replaceAll(/[-_]([a-z0-9])/g, (_, c) => c.toUpperCase());
|
|
5
|
-
}
|
|
6
|
-
/**
|
|
7
|
-
* A prototype for every `Db` of a definition, with one getter per block
|
|
8
|
-
* instance (skipping those whose property a table holds) and `$blocks` with all
|
|
9
|
-
* of them. Each getter builds the instance's client for the `Db` it is read on,
|
|
10
|
-
* once, so `$with` and every request get their own.
|
|
11
|
-
*/
|
|
12
|
-
function blocksPrototype(source, parent, tables, events) {
|
|
13
|
-
const prototype = Object.create(parent);
|
|
14
|
-
const built = /* @__PURE__ */ new WeakMap();
|
|
15
|
-
const clientOf = (db, key) => {
|
|
16
|
-
let clients = built.get(db);
|
|
17
|
-
if (clients === void 0) {
|
|
18
|
-
clients = /* @__PURE__ */ new Map();
|
|
19
|
-
built.set(db, clients);
|
|
20
|
-
}
|
|
21
|
-
if (!clients.has(key)) clients.set(key, source.client(db, key, { events }));
|
|
22
|
-
return clients.get(key);
|
|
23
|
-
};
|
|
24
|
-
const views = /* @__PURE__ */ new WeakMap();
|
|
25
|
-
for (const key of source.instances) {
|
|
26
|
-
const property = instanceProperty(key);
|
|
27
|
-
if (tables.includes(property)) continue;
|
|
28
|
-
Object.defineProperty(prototype, property, {
|
|
29
|
-
get() {
|
|
30
|
-
return clientOf(this, key);
|
|
31
|
-
},
|
|
32
|
-
configurable: true,
|
|
33
|
-
enumerable: false
|
|
34
|
-
});
|
|
35
|
-
}
|
|
36
|
-
Object.defineProperty(prototype, "$blocks", {
|
|
37
|
-
get() {
|
|
38
|
-
let view = views.get(this);
|
|
39
|
-
if (view === void 0) {
|
|
40
|
-
view = Object.defineProperties({}, Object.fromEntries(source.instances.map((key) => [instanceProperty(key), {
|
|
41
|
-
get: () => clientOf(this, key),
|
|
42
|
-
enumerable: true
|
|
43
|
-
}])));
|
|
44
|
-
views.set(this, view);
|
|
45
|
-
}
|
|
46
|
-
return view;
|
|
47
|
-
},
|
|
48
|
-
configurable: true,
|
|
49
|
-
enumerable: false
|
|
50
|
-
});
|
|
51
|
-
Object.defineProperty(prototype, "$api", {
|
|
52
|
-
value(fn, args) {
|
|
53
|
-
return source.call(this, fn, args);
|
|
54
|
-
},
|
|
55
|
-
configurable: true,
|
|
56
|
-
enumerable: false,
|
|
57
|
-
writable: false
|
|
58
|
-
});
|
|
59
|
-
return prototype;
|
|
60
|
-
}
|
|
61
|
-
//#endregion
|
|
62
|
-
export { instanceProperty as n, blocksPrototype as t };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { c as mapDbError, n as dbError } from "./errors-BVFgt8BZ.js";
|
|
2
2
|
import { t as temporal } from "./temporal-required-Dy0GGD8E.js";
|
|
3
3
|
import { a as ok, r as err, s as toDbError, t as AsyncResult } from "./result-ntFBW2p2.js";
|
|
4
|
+
import { i as sqlIdent } from "./template-Drgg3v2J.js";
|
|
4
5
|
import { n as validate } from "./standard-BA3mLh6w.js";
|
|
5
6
|
import { o as problemResponse } from "./problem-Bf0cJ7tk.js";
|
|
6
|
-
import { i as sqlIdent } from "./template-Drgg3v2J.js";
|
|
7
7
|
import { t as fromPgError } from "./pg-error-B5QLDcbG.js";
|
|
8
8
|
import { d as clearSupportCookie, f as supportCookie, m as supportCookieValue } from "./adapter-CfuBICuG.js";
|
|
9
9
|
import { a as emitBlockEvent } from "./block-events-pBXPzwnW.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as dbError } from "./errors-BVFgt8BZ.js";
|
|
2
2
|
import { a as ok, r as err, t as AsyncResult } from "./result-ntFBW2p2.js";
|
|
3
|
+
import { a as sqlString, i as sqlIdent, n as parseTemplate, r as slug, t as claimSql } from "./template-Drgg3v2J.js";
|
|
3
4
|
import { t as toApp } from "./casing-DdFWEtqr.js";
|
|
4
5
|
import { a as tenantClaimPaths } from "./claims-Bp9My7XP.js";
|
|
5
|
-
import { a as sqlString, i as sqlIdent, n as parseTemplate, r as slug, t as claimSql } from "./template-Drgg3v2J.js";
|
|
6
6
|
import { a as isScopeName, i as fillTemplate, o as resolveProviderSql, r as accessCheck } from "./access-sql-CNIgUqWf.js";
|
|
7
7
|
import { t as refreshRealtimeAuth } from "./auth-DyF_LRxd.js";
|
|
8
8
|
import { t as joinTopic } from "./channels-CfcFPuo_.js";
|