better-supabase 0.18.2 → 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-ee805E_R.js → add-D5HxanFm.js} +2 -2
- package/dist/cli/{add-CbUFLPVA.js → add-Lr7uTZXQ.js} +11 -11
- package/dist/cli/{backfill-CCNXzDjt.js → backfill-Cl1zEel7.js} +3 -3
- package/dist/cli/bin.js +1 -1
- package/dist/cli/{blocks-CKp4EfLe.js → blocks-CsPua74J.js} +1 -1
- package/dist/cli/{blocks-DNgcfS8X.js → blocks-f0obMCxm.js} +1 -1
- package/dist/cli/{cache-CDNVq1vO.js → cache-tvTW5J9K.js} +1 -1
- package/dist/cli/{codemod-B621vQYQ.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-Chm3txER.js → content-mapper-C0LJDmVL.js} +2 -2
- package/dist/cli/{db-DYU5hUcd.js → db-DCeyHS1y.js} +2 -2
- package/dist/cli/{doctor-EWtWH8I9.js → doctor-q701Qif_.js} +16 -16
- package/dist/cli/{gen-D-g9TAmr.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-D0SxtKH5.js → init-DGz5Hk9X.js} +6 -6
- package/dist/cli/{live-PaO1MC10.js → live-sBPXy0VE.js} +2 -2
- package/dist/cli/{mcp-CHpzdlOg.js → mcp-DY_YK_WV.js} +2 -2
- package/dist/cli/{metadata-KKCdxMLb.js → metadata-CoPGFRMb.js} +3 -3
- package/dist/cli/{migration-safety-Cgr44KLM.js → migration-safety-Cn7OLHJm.js} +2 -2
- package/dist/cli/{migrations-VmJloDtq.js → migrations-CUIEmdnS.js} +1 -1
- package/dist/cli/{module-migration-D4lirR47.js → module-migration-bWK0xO2_.js} +2 -2
- package/dist/cli/powersync-CG3Bp6FD.js +1 -0
- package/dist/cli/{powersync-Cc9Ad_Mn.js → powersync-DAM5JAmz.js} +2 -2
- package/dist/cli/{print-CXmXGe3Y.js → print-Dnbk8J2y.js} +2 -2
- package/dist/cli/{remove-CJi3fvpP.js → remove-DAVVPbWw.js} +5 -5
- package/dist/cli/{render-CVTKsacY.js → render-PJdiRcqF.js} +28 -5
- package/dist/cli/{run-DvK2vagi.js → run-6F72J0AQ.js} +25 -25
- package/dist/cli/{run-x9l841K2.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-FhGSrA9E.js → shared-9O58FYPm.js} +1 -1
- package/dist/cli/{snapshot-B12QpZNf.js → snapshot-rTRe56PH.js} +3 -3
- package/dist/cli/{source-DP8KOgax.js → source-EHhEoKBD.js} +1 -1
- package/dist/cli/{source-args-DlckPVje.js → source-args-z-jkabmO.js} +1 -1
- package/dist/cli/{spec-D-NPgLTj.js → spec-CR4Y9kn8.js} +2 -2
- package/dist/cli/{spec-CIQBAQgr.js → spec-DqSbbTzD.js} +1 -1
- package/dist/cli/{sql-layout-DTczUfCt.js → sql-layout-BijeFLWv.js} +2 -2
- package/dist/cli/{sync-DHJ6UBod.js → sync-BAmWXRDR.js} +3 -3
- package/dist/cli/{upgrade-B69K7-JE.js → upgrade-BKN6eSx-.js} +4 -4
- package/dist/cli/{upgrade-C7SEKT4b.js → upgrade-oaUd22Il.js} +2 -2
- package/dist/cli/{version-DmaGTP3L.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-D2Sc6BTr.js → sql-B0wb7XA5.js} +109 -65
- 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-k8gdux-e.js +0 -1
- package/dist/cli/powersync-Bo16K2S6.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
|
@@ -1,9 +1,10 @@
|
|
|
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, r as err, t as AsyncResult } from "../../result-ntFBW2p2.js";
|
|
4
|
+
import { i as sqlTransport, r as rpcTransport, t as dbTransport } from "../../block-transport-PNea4lfQ.js";
|
|
4
5
|
import { t as aiKeysSqlOptions } from "../../options-D0Y6ZMe8.js";
|
|
5
|
-
import {
|
|
6
|
-
import { r as withBlockHooks } from "../../block-hooks-
|
|
6
|
+
import { C as optionalText, D as recordOf, I as textOf, O as recordOrEmpty, S as optionalInstant, b as oneOf, h as instantOf, k as recordsOf, l as credentialRefOf, m as instantArg, n as applyTemporal, o as blockCall, w as pageOf } from "../../block-helpers-DnCtsKtv.js";
|
|
7
|
+
import { r as withBlockHooks } from "../../block-hooks-DbIpkq7a.js";
|
|
7
8
|
import { n as credentialRefInTenant, r as foreignCredentialRef } from "../../provider-B6g7rBZX.js";
|
|
8
9
|
import { n as event, t as defineEvents } from "../../event-map-CtPFhcOp.js";
|
|
9
10
|
import { n as defineBlock } from "../../define-block-BGqOO8B3.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
|
|
2
|
-
import { c as BlockOf } from "../../define-block-
|
|
3
|
-
import { a as AiTaskOutcome, c as AiTaskRunner, i as AiTaskFields, l as NewAiTask, n as AiSchedulesOptions, o as AiTaskRun, r as AiTask, s as AiTaskRunStatus, t as AiSchedules, u as createAiSchedules } from "../../ai-schedules-
|
|
2
|
+
import { c as BlockOf } from "../../define-block-D4hZSb2G.js";
|
|
3
|
+
import { a as AiTaskOutcome, c as AiTaskRunner, i as AiTaskFields, l as NewAiTask, n as AiSchedulesOptions, o as AiTaskRun, r as AiTask, s as AiTaskRunStatus, t as AiSchedules, u as createAiSchedules } from "../../ai-schedules-B20M2SIi.js";
|
|
4
4
|
//#region src/blocks/ai-schedules/manifest.d.ts
|
|
5
5
|
/** The `ai-schedules` block's manifest (ADR 0029). */
|
|
6
6
|
export declare const aiSchedulesBlock: BlockOf<"ai-schedules", typeof createAiSchedules, Record<never, never>, {
|
|
@@ -3,10 +3,11 @@ import { n as dbError } from "../../errors-BVFgt8BZ.js";
|
|
|
3
3
|
import { n as isRecord } from "../../guards-6F2bCtQR.js";
|
|
4
4
|
import { s as nowInstant } from "../../temporal-DLZlWbOi.js";
|
|
5
5
|
import { a as ok, r as err, t as AsyncResult } from "../../result-ntFBW2p2.js";
|
|
6
|
+
import { i as sqlTransport, r as rpcTransport, t as dbTransport } from "../../block-transport-PNea4lfQ.js";
|
|
6
7
|
import { t as aiSchedulesSqlOptions } from "../../options-qtETCHzW.js";
|
|
7
8
|
import { n as runStateOf } from "../../run-state-CgBKzYMW.js";
|
|
8
|
-
import {
|
|
9
|
-
import { r as withBlockHooks } from "../../block-hooks-
|
|
9
|
+
import { C as optionalText, D as recordOf, I as textOf, S as optionalInstant, f as errorText, h as instantOf, k as recordsOf, n as applyTemporal, o as blockCall, p as injectableOf } from "../../block-helpers-DnCtsKtv.js";
|
|
10
|
+
import { r as withBlockHooks } from "../../block-hooks-DbIpkq7a.js";
|
|
10
11
|
import { n as nextCronRun, t as assertCron } from "../../cron-CgHTKwYG.js";
|
|
11
12
|
import { c as withFields, i as extraOf, n as blockFields, t as allWithFields } from "../../block-fields-DE_FgpOU.js";
|
|
12
13
|
import { n as defineBlock } from "../../define-block-BGqOO8B3.js";
|
|
@@ -7,10 +7,10 @@ import { n as Logger } from "../../logger-DWVYUmwi.js";
|
|
|
7
7
|
import { r as BlockTemporalOptions } from "../../block-helpers-CRpAHrp_.js";
|
|
8
8
|
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
|
|
9
9
|
import { n as BlockHooks } from "../../block-hooks-DZN2w69m.js";
|
|
10
|
-
import { c as BlockOf } from "../../define-block-
|
|
11
|
-
import { p as SubscriptionStatus } from "../../topic-
|
|
12
|
-
import { n as TopicPort } from "../../watch-topic-
|
|
13
|
-
import { n as Controller, t as AuthPort } from "../../controller-
|
|
10
|
+
import { c as BlockOf } from "../../define-block-D4hZSb2G.js";
|
|
11
|
+
import { p as SubscriptionStatus } from "../../topic-BNkdk7qe.js";
|
|
12
|
+
import { n as TopicPort } from "../../watch-topic-wl74gws-.js";
|
|
13
|
+
import { n as Controller, t as AuthPort } from "../../controller-DhT57SGq.js";
|
|
14
14
|
//#region src/blocks/announcements/announcements.d.ts
|
|
15
15
|
type AnnouncementSeverity = "info" | "success" | "warning" | "critical";
|
|
16
16
|
/**
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { t as AsyncResult } from "../../result-ntFBW2p2.js";
|
|
2
|
+
import { i as sqlTransport, r as rpcTransport, t as dbTransport } from "../../block-transport-PNea4lfQ.js";
|
|
2
3
|
import { t as announcementsSqlOptions } from "../../options-Cucv6sWP.js";
|
|
3
4
|
import { n as whileSignedIn, t as defineController } from "../../controller-BEliOBOv.js";
|
|
4
|
-
import {
|
|
5
|
-
import { r as withBlockHooks } from "../../block-hooks-
|
|
5
|
+
import { C as optionalText, D as recordOf, F as stringsOf, I as textOf, R as toInstant, S as optionalInstant, k as recordsOf, m as instantArg, n as applyTemporal, o as blockCall } from "../../block-helpers-DnCtsKtv.js";
|
|
6
|
+
import { r as withBlockHooks } from "../../block-hooks-DbIpkq7a.js";
|
|
6
7
|
import { n as event, t as defineEvents } from "../../event-map-CtPFhcOp.js";
|
|
7
8
|
import { c as withFields, i as extraOf, n as blockFields, t as allWithFields } from "../../block-fields-DE_FgpOU.js";
|
|
8
9
|
import { n as defineBlock } from "../../define-block-BGqOO8B3.js";
|
|
@@ -3,8 +3,8 @@ import { Ct as Events, v as ApiKeyEventData } from "../../events-vcqenSYU.js";
|
|
|
3
3
|
import { r as AuthState } from "../../resolve-CXX6DHv3.js";
|
|
4
4
|
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
|
|
5
5
|
import { t as BlockProblemOptions } from "../../problem-DNwN8iGz.js";
|
|
6
|
-
import { c as BlockOf } from "../../define-block-
|
|
7
|
-
import { n as Controller, t as AuthPort } from "../../controller-
|
|
6
|
+
import { c as BlockOf } from "../../define-block-D4hZSb2G.js";
|
|
7
|
+
import { n as Controller, t as AuthPort } from "../../controller-DhT57SGq.js";
|
|
8
8
|
import { _ as createApiKeys, a as ApiKeyExtraClaims, c as ApiKeyState, d as CreateApiKeyInput, f as CreatedApiKey, g as apiKeyResolver, h as apiKeyClaims, i as ApiKeyExtraClaim, l as ApiKeys, m as apiKeyChecksum, n as ApiKeyCheck, o as ApiKeyReservedClaim, p as ParsedApiKey, r as ApiKeyClaimsOptions, s as ApiKeyResolverOptions, t as ApiKey, u as ApiKeysOptions, v as parseApiKey } from "../../api-keys-D5k63K6y.js";
|
|
9
9
|
import { Entry } from "@supabase/middleware";
|
|
10
10
|
import { AuthMode, JWTClaims, UserClaims } from "@supabase/server";
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { n as dbError } from "../../errors-BVFgt8BZ.js";
|
|
2
2
|
import { t as temporal } from "../../temporal-required-Dy0GGD8E.js";
|
|
3
3
|
import { a as ok, s as toDbError, t as AsyncResult } from "../../result-ntFBW2p2.js";
|
|
4
|
+
import { i as sqlTransport, r as rpcTransport, t as dbTransport } from "../../block-transport-PNea4lfQ.js";
|
|
4
5
|
import { o as problemResponse } from "../../problem-Bf0cJ7tk.js";
|
|
5
6
|
import { t as apiKeysSqlOptions } from "../../options-DNgSwhsm.js";
|
|
6
7
|
import { n as whileSignedIn, t as defineController } from "../../controller-BEliOBOv.js";
|
|
7
|
-
import {
|
|
8
|
-
import { r as withBlockHooks } from "../../block-hooks-
|
|
8
|
+
import { C as optionalText, D as recordOf, F as stringsOf, I as textOf, N as sha256Hex, S as optionalInstant, k as recordsOf, m as instantArg, n as applyTemporal, o as blockCall } from "../../block-helpers-DnCtsKtv.js";
|
|
9
|
+
import { r as withBlockHooks } from "../../block-hooks-DbIpkq7a.js";
|
|
9
10
|
import { n as event, t as defineEvents } from "../../event-map-CtPFhcOp.js";
|
|
10
11
|
import { a as withAuthMode, o as withJwtClaims, s as withUserClaims } from "../../claims-DTy6R6my.js";
|
|
11
12
|
import { c as withFields, n as blockFields, r as extraFieldsArg, t as allWithFields } from "../../block-fields-DE_FgpOU.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { A as CollaborationEventData, Ct as Events } from "../../events-vcqenSYU.js";
|
|
2
2
|
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
|
|
3
|
-
import { c as BlockOf } from "../../define-block-
|
|
3
|
+
import { c as BlockOf } from "../../define-block-D4hZSb2G.js";
|
|
4
4
|
import { a as ApprovalRequestDetail, c as ApprovalStep, d as createApprovals, i as ApprovalRequest, l as Approvals, n as ApprovalDecision, o as ApprovalRequestInput, r as ApprovalListOptions, s as ApprovalStatus, t as ApprovalApprovers, u as ApprovalsOptions } from "../../approvals-Dh9dUXrN.js";
|
|
5
5
|
//#region src/blocks/approvals/events.d.ts
|
|
6
6
|
/** The events of the `approvals` block: type to data. */
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { n as dbError } from "../../errors-BVFgt8BZ.js";
|
|
2
2
|
import { r as err, t as AsyncResult } from "../../result-ntFBW2p2.js";
|
|
3
|
+
import { i as sqlTransport, r as rpcTransport, t as dbTransport } from "../../block-transport-PNea4lfQ.js";
|
|
3
4
|
import { t as approvalsSqlOptions } from "../../options-D_9Vxx7f.js";
|
|
4
|
-
import { A as requiredInstant,
|
|
5
|
-
import { r as withBlockHooks } from "../../block-hooks-
|
|
5
|
+
import { A as requiredInstant, C as optionalText, D as recordOf, I as textOf, k as recordsOf, n as applyTemporal, o as blockCall } from "../../block-helpers-DnCtsKtv.js";
|
|
6
|
+
import { r as withBlockHooks } from "../../block-hooks-DbIpkq7a.js";
|
|
6
7
|
import { n as event, t as defineEvents } from "../../event-map-CtPFhcOp.js";
|
|
7
8
|
import { c as withFields, n as blockFields, r as extraFieldsArg, t as allWithFields } from "../../block-fields-DE_FgpOU.js";
|
|
8
9
|
import { n as defineBlock } from "../../define-block-BGqOO8B3.js";
|
|
9
|
-
import { i as subjectRefOf } from "../../block-subjects-
|
|
10
|
+
import { i as subjectRefOf } from "../../block-subjects-BRJO0IqO.js";
|
|
10
11
|
import { t as requireOrganization } from "../../block-tenant-DHp7subc.js";
|
|
11
12
|
//#region src/blocks/approvals/approvals.ts
|
|
12
13
|
const STATUSES = [
|
|
@@ -7,7 +7,7 @@ import { a as BlockTenantOptions, r as BlockTemporalOptions } from "../../block-
|
|
|
7
7
|
import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
|
|
8
8
|
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-DZN2w69m.js";
|
|
9
9
|
import { t as AssetsSqlOptions } from "../../options-D1hSuf50.js";
|
|
10
|
-
import { c as BlockOf, rn as RecordBinding } from "../../define-block-
|
|
10
|
+
import { c as BlockOf, rn as RecordBinding } from "../../define-block-D4hZSb2G.js";
|
|
11
11
|
//#region src/blocks/assets/assets.d.ts
|
|
12
12
|
interface AssetsOptions extends BlockTemporalOptions, BlockTenantOptions {
|
|
13
13
|
readonly transport: BlockTransport;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { n as isRecord } from "../../guards-6F2bCtQR.js";
|
|
2
|
+
import { i as sqlTransport, r as rpcTransport, t as dbTransport } from "../../block-transport-PNea4lfQ.js";
|
|
2
3
|
import { t as assetsSqlOptions } from "../../options-BOCRbzh3.js";
|
|
3
|
-
import { A as requiredInstant,
|
|
4
|
-
import { i as wrapTransport, n as extendBlock, r as withBlockHooks } from "../../block-hooks-
|
|
4
|
+
import { A as requiredInstant, C as optionalText, D as recordOf, I as textOf, S as optionalInstant, d as enumOrThrow, k as recordsOf, m as instantArg, n as applyTemporal, o as blockCall } from "../../block-helpers-DnCtsKtv.js";
|
|
5
|
+
import { i as wrapTransport, n as extendBlock, r as withBlockHooks } from "../../block-hooks-DbIpkq7a.js";
|
|
5
6
|
import { t as defineRecordBinding } from "../../record-bindings-DkBJpC5A.js";
|
|
6
7
|
import { n as event, t as defineEvents } from "../../event-map-CtPFhcOp.js";
|
|
7
8
|
import { n as defineBlock } from "../../define-block-BGqOO8B3.js";
|
|
@@ -7,7 +7,7 @@ import { r as BlockTemporalOptions } from "../../block-helpers-CRpAHrp_.js";
|
|
|
7
7
|
import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
|
|
8
8
|
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-DZN2w69m.js";
|
|
9
9
|
import { h as FilterQuery } from "../../filter-query-BXLs72G9.js";
|
|
10
|
-
import { Sn as EntitySchema, c as BlockOf } from "../../define-block-
|
|
10
|
+
import { Sn as EntitySchema, c as BlockOf } from "../../define-block-D4hZSb2G.js";
|
|
11
11
|
//#region src/blocks/assignment/assignment.d.ts
|
|
12
12
|
/** How a queue picks the next owner. */
|
|
13
13
|
type AssignmentStrategy = "round_robin" | "weighted";
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { i as sqlTransport, r as rpcTransport, t as dbTransport } from "../../block-transport-PNea4lfQ.js";
|
|
2
|
+
import { A as requiredInstant, D as recordOf, I as textOf, S as optionalInstant, d as enumOrThrow, k as recordsOf, n as applyTemporal, o as blockCall } from "../../block-helpers-DnCtsKtv.js";
|
|
3
|
+
import { i as wrapTransport, n as extendBlock, r as withBlockHooks } from "../../block-hooks-DbIpkq7a.js";
|
|
3
4
|
import { n as entitySchema } from "../../entity-schema-BDv6w-OQ.js";
|
|
4
5
|
import { n as event, t as defineEvents } from "../../event-map-CtPFhcOp.js";
|
|
5
6
|
import { n as defineBlock } from "../../define-block-BGqOO8B3.js";
|
|
6
|
-
import { t as conditionsOf } from "../../automations-
|
|
7
|
+
import { t as conditionsOf } from "../../automations-jIIaT9EJ.js";
|
|
7
8
|
//#region src/blocks/assignment/assignment.ts
|
|
8
9
|
const STRATEGIES = ["round_robin", "weighted"];
|
|
9
10
|
const strategyOf = (value) => enumOrThrow(value, STRATEGIES, "assignment strategy");
|
|
@@ -2,8 +2,8 @@ import { b as DbError, f as Result, t as AsyncResult } from "../../result-DZeA5K
|
|
|
2
2
|
import { Ct as Events, ot as StorageObjectEventData, y as AttachmentEventData } from "../../events-vcqenSYU.js";
|
|
3
3
|
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
|
|
4
4
|
import { t as Author } from "../../block-authors-DzXLUiIq.js";
|
|
5
|
-
import { At as NewAttachment, Ct as AttachmentScannerOptions, Dt as AttachmentVersion, Et as AttachmentUpload, Ft as ScannedObject, It as attachmentVersionOf, Lt as createAttachmentScanner, Mt as ObjectScanner, Nt as ObjectScannerOptions, Ot as Attachments, Pt as ScanVerdict, Rt as createAttachments, Sn as EntitySchema, St as AttachmentScanner, Tt as AttachmentStorage, _t as AttachmentDownload, bt as AttachmentReplacement, c as BlockOf, gt as AttachmentBucket, ht as Attachment, jt as ObjectScanJob, kt as AttachmentsOptions, ln as RecordBindingWrite, mn as RecordRowInput, rn as RecordBinding, vt as AttachmentImageUrlOptions, wt as AttachmentStatus, xt as AttachmentScanJob, yt as AttachmentImages, zt as createObjectScanner } from "../../define-block-
|
|
6
|
-
import { n as Controller } from "../../controller-
|
|
5
|
+
import { At as NewAttachment, Ct as AttachmentScannerOptions, Dt as AttachmentVersion, Et as AttachmentUpload, Ft as ScannedObject, It as attachmentVersionOf, Lt as createAttachmentScanner, Mt as ObjectScanner, Nt as ObjectScannerOptions, Ot as Attachments, Pt as ScanVerdict, Rt as createAttachments, Sn as EntitySchema, St as AttachmentScanner, Tt as AttachmentStorage, _t as AttachmentDownload, bt as AttachmentReplacement, c as BlockOf, gt as AttachmentBucket, ht as Attachment, jt as ObjectScanJob, kt as AttachmentsOptions, ln as RecordBindingWrite, mn as RecordRowInput, rn as RecordBinding, vt as AttachmentImageUrlOptions, wt as AttachmentStatus, xt as AttachmentScanJob, yt as AttachmentImages, zt as createObjectScanner } from "../../define-block-D4hZSb2G.js";
|
|
6
|
+
import { n as Controller } from "../../controller-DhT57SGq.js";
|
|
7
7
|
//#region src/blocks/attachments/record-binding.d.ts
|
|
8
8
|
/** A pending write to a record's files, for `useOptimistic`. */
|
|
9
9
|
type AttachmentsOptimisticAction = {
|
|
@@ -1,14 +1,15 @@
|
|
|
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, r as err, s as toDbError } from "../../result-ntFBW2p2.js";
|
|
4
|
+
import { i as sqlTransport, r as rpcTransport, t as dbTransport } from "../../block-transport-PNea4lfQ.js";
|
|
4
5
|
import { t as attachmentsSqlOptions } from "../../options-BxpLtyk-.js";
|
|
5
6
|
import { t as defineController } from "../../controller-BEliOBOv.js";
|
|
6
|
-
import {
|
|
7
|
+
import { C as optionalText, o as blockCall } from "../../block-helpers-DnCtsKtv.js";
|
|
7
8
|
import { n as entitySchema } from "../../entity-schema-BDv6w-OQ.js";
|
|
8
9
|
import { i as recordRowInput, t as defineRecordBinding } from "../../record-bindings-DkBJpC5A.js";
|
|
9
10
|
import { n as event, t as defineEvents } from "../../event-map-CtPFhcOp.js";
|
|
10
11
|
import { n as defineBlock } from "../../define-block-BGqOO8B3.js";
|
|
11
|
-
import { a as createObjectScanner, i as createAttachments, n as attachmentVersionOf, o as stored, r as createAttachmentScanner } from "../../attachments-
|
|
12
|
+
import { a as createObjectScanner, i as createAttachments, n as attachmentVersionOf, o as stored, r as createAttachmentScanner } from "../../attachments-BTIwCuwm.js";
|
|
12
13
|
//#region src/blocks/attachments/sweep.ts
|
|
13
14
|
function queuedOf(value) {
|
|
14
15
|
if (!Array.isArray(value)) return [];
|
|
@@ -7,13 +7,13 @@ import { r as BlockTemporalOptions } from "../../block-helpers-CRpAHrp_.js";
|
|
|
7
7
|
import { n as SqlClient } from "../../executor-hGjrop3A.js";
|
|
8
8
|
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
|
|
9
9
|
import { n as BlockHooks } from "../../block-hooks-DZN2w69m.js";
|
|
10
|
-
import { Jt as WhereInput, t as BetterSupabase } from "../../define-
|
|
11
|
-
import { c as BlockOf } from "../../define-block-
|
|
10
|
+
import { Jt as WhereInput, t as BetterSupabase } from "../../define-B_pxEy7d.js";
|
|
11
|
+
import { c as BlockOf } from "../../define-block-D4hZSb2G.js";
|
|
12
12
|
import { i as EventSink, t as CloudEvent } from "../../cloud-event-CzZTJkXv.js";
|
|
13
|
-
import { i as ListDefinition } from "../../list-query-
|
|
14
|
-
import { n as Controller, t as AuthPort } from "../../controller-
|
|
13
|
+
import { i as ListDefinition } from "../../list-query-BIZBVEoF.js";
|
|
14
|
+
import { n as Controller, t as AuthPort } from "../../controller-DhT57SGq.js";
|
|
15
15
|
import { a as UndoToken } from "../../undo-B1jwnVyN.js";
|
|
16
|
-
import { n as AuditCategory } from "../../context-
|
|
16
|
+
import { n as AuditCategory } from "../../context-BI1PPPkw.js";
|
|
17
17
|
//#region src/blocks/audit/audit.d.ts
|
|
18
18
|
interface PurgeAuditLogOptions extends BlockTemporalOptions {
|
|
19
19
|
/**
|
|
@@ -4,18 +4,19 @@ import { n as isRecord } from "../../guards-6F2bCtQR.js";
|
|
|
4
4
|
import { s as nowInstant } from "../../temporal-DLZlWbOi.js";
|
|
5
5
|
import { t as temporal } from "../../temporal-required-Dy0GGD8E.js";
|
|
6
6
|
import { a as ok, r as err, t as AsyncResult } from "../../result-ntFBW2p2.js";
|
|
7
|
+
import { i as sqlIdent } from "../../template-Drgg3v2J.js";
|
|
8
|
+
import { i as sqlTransport, r as rpcTransport, t as dbTransport } from "../../block-transport-PNea4lfQ.js";
|
|
7
9
|
import { t as base64ToText } from "../../base64-B9Wlsdj7.js";
|
|
8
10
|
import { t as SPEC_PINS } from "../../spec-pins-D3zDek-u.js";
|
|
9
|
-
import { i as sqlIdent } from "../../template-Drgg3v2J.js";
|
|
10
11
|
import { t as MAX_BATCH } from "../../batch-limit-DKVQDz4o.js";
|
|
11
12
|
import { t as auditSqlOptions } from "../../options-BQyrZjwM.js";
|
|
12
13
|
import { n as whileSignedIn, t as defineController } from "../../controller-BEliOBOv.js";
|
|
13
|
-
import {
|
|
14
|
-
import { r as withBlockHooks } from "../../block-hooks-
|
|
14
|
+
import { C as optionalText, D as recordOf, F as stringsOf, I as textOf, M as seconds, R as toInstant, S as optionalInstant, c as chunksOf, i as batchResultsOf, j as run, k as recordsOf, m as instantArg, n as applyTemporal, o as blockCall, w as pageOf } from "../../block-helpers-DnCtsKtv.js";
|
|
15
|
+
import { r as withBlockHooks } from "../../block-hooks-DbIpkq7a.js";
|
|
15
16
|
import { r as toCsv } from "../../csv-2rXGPNtP.js";
|
|
16
17
|
import { n as event, t as defineEvents } from "../../event-map-CtPFhcOp.js";
|
|
17
18
|
import { n as defineBlock } from "../../define-block-BGqOO8B3.js";
|
|
18
|
-
import { i as undoToken } from "../../undo-
|
|
19
|
+
import { i as undoToken } from "../../undo-B3FQvuAd.js";
|
|
19
20
|
import { n as defineListQuery } from "../../list-query-BKy2zBaT.js";
|
|
20
21
|
//#region src/blocks/audit/audit.ts
|
|
21
22
|
function sqlPurgeCalls(sql) {
|
|
@@ -7,12 +7,12 @@ import { r as BlockTemporalOptions } from "../../block-helpers-CRpAHrp_.js";
|
|
|
7
7
|
import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
|
|
8
8
|
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-DZN2w69m.js";
|
|
9
9
|
import { _ as FilterRule, d as FilterLimits, f as FilterNode, h as FilterQuery, i as FilterCombinator, m as FilterOperatorSpec, r as FilterClock } from "../../filter-query-BXLs72G9.js";
|
|
10
|
-
import { $t as createActionRegistry, Bt as Action, Gt as ActionInfo, Ht as ActionContext, Jt as ActionRegistry, Kt as ActionOrigin, L as NotifierInput, Qt as actionKey, Ut as ActionDescriptor, Vt as ActionCall, Wt as ActionHandler, Yt as ActionSpec, Zt as DefaultAutomation, c as BlockOf, en as defineAction, qt as ActionRef } from "../../define-block-
|
|
11
|
-
import { n as Controller, t as AuthPort } from "../../controller-
|
|
10
|
+
import { $t as createActionRegistry, Bt as Action, Gt as ActionInfo, Ht as ActionContext, Jt as ActionRegistry, Kt as ActionOrigin, L as NotifierInput, Qt as actionKey, Ut as ActionDescriptor, Vt as ActionCall, Wt as ActionHandler, Yt as ActionSpec, Zt as DefaultAutomation, c as BlockOf, en as defineAction, qt as ActionRef } from "../../define-block-D4hZSb2G.js";
|
|
11
|
+
import { n as Controller, t as AuthPort } from "../../controller-DhT57SGq.js";
|
|
12
12
|
import { o as ApprovalRequestInput } from "../../approvals-Dh9dUXrN.js";
|
|
13
13
|
import { n as FilterRecordField, t as FilterEvaluation } from "../../filter-evaluate-CPxeae5X.js";
|
|
14
14
|
import { a as checkRuleConditions, c as ruleFilterFields, i as RuleFieldDefinition, n as RuleField, o as defineRuleFields, r as RuleFieldCatalog, s as ruleFilterFieldInfo, t as RULE_LIMITS } from "../../fields-C3q2ypnO.js";
|
|
15
|
-
import { a as ConversionRelations, i as ConversionRef, n as ConversionContext, o as ConversionSpec, r as ConversionOutcome, s as defineConversionAction, t as ConversionClients } from "../../conversion-
|
|
15
|
+
import { a as ConversionRelations, i as ConversionRef, n as ConversionContext, o as ConversionSpec, r as ConversionOutcome, s as defineConversionAction, t as ConversionClients } from "../../conversion-DAV0hOJQ.js";
|
|
16
16
|
//#region src/blocks/automations/automations.d.ts
|
|
17
17
|
/** What a rule runs when it matches: an action reference (ADR 0046). */
|
|
18
18
|
type RuleAction = ActionRef;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { n as dbError } from "../../errors-BVFgt8BZ.js";
|
|
2
2
|
import { t as FILTER_OPERATORS } from "../../filter-query-DMoKo82_.js";
|
|
3
3
|
import { a as ok, r as err } from "../../result-ntFBW2p2.js";
|
|
4
|
+
import { i as sqlTransport, r as rpcTransport, t as dbTransport } from "../../block-transport-PNea4lfQ.js";
|
|
4
5
|
import { t as automationsSqlOptions } from "../../options-DcHl59RC.js";
|
|
5
6
|
import { n as whileSignedIn, t as defineController } from "../../controller-BEliOBOv.js";
|
|
6
|
-
import {
|
|
7
|
-
import { i as wrapTransport, n as extendBlock, r as withBlockHooks } from "../../block-hooks-BfxX3682.js";
|
|
7
|
+
import { i as wrapTransport, n as extendBlock, r as withBlockHooks } from "../../block-hooks-DbIpkq7a.js";
|
|
8
8
|
import { n as event, t as defineEvents } from "../../event-map-CtPFhcOp.js";
|
|
9
9
|
import { n as defineBlock } from "../../define-block-BGqOO8B3.js";
|
|
10
10
|
import { n as createActionRegistry, r as defineAction, t as actionKey } from "../../automation-D41DXyvT.js";
|
|
11
|
-
import { a as ruleFilterFields, i as ruleFilterFieldInfo, n as checkRuleConditions, r as defineRuleFields, t as RULE_LIMITS } from "../../fields
|
|
12
|
-
import { a as createRuleSink, c as ruleOf, i as createRuleDispatcher, l as ruleRecordFields, n as createAutomations, o as evaluateRule, r as createAutomationsAdmin, s as eventTarget } from "../../automations-
|
|
11
|
+
import { a as ruleFilterFields, i as ruleFilterFieldInfo, n as checkRuleConditions, r as defineRuleFields, t as RULE_LIMITS } from "../../fields--5a88KJe.js";
|
|
12
|
+
import { a as createRuleSink, c as ruleOf, i as createRuleDispatcher, l as ruleRecordFields, n as createAutomations, o as evaluateRule, r as createAutomationsAdmin, s as eventTarget } from "../../automations-jIIaT9EJ.js";
|
|
13
13
|
import { t as defineConversionAction } from "../../conversion-Dq1S7xzE.js";
|
|
14
14
|
//#region src/blocks/automations/tree.ts
|
|
15
15
|
/** The operators a field allows, in the order the editor lists them. */
|
|
@@ -6,7 +6,7 @@ import { n as Logger } from "../../logger-DWVYUmwi.js";
|
|
|
6
6
|
import { a as BlockTenantOptions, r as BlockTemporalOptions } from "../../block-helpers-CRpAHrp_.js";
|
|
7
7
|
import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
|
|
8
8
|
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-DZN2w69m.js";
|
|
9
|
-
import { Sn as EntitySchema, c as BlockOf, ln as RecordBindingWrite, rn as RecordBinding } from "../../define-block-
|
|
9
|
+
import { Sn as EntitySchema, c as BlockOf, ln as RecordBindingWrite, rn as RecordBinding } from "../../define-block-D4hZSb2G.js";
|
|
10
10
|
import { n as Money } from "../../money-BNRdJQzA.js";
|
|
11
11
|
//#region src/blocks/billable-time/billable-time.d.ts
|
|
12
12
|
/** How `unbilled` and `invoice` turn entries into lines. */
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { t as temporal } from "../../temporal-required-Dy0GGD8E.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { i as sqlTransport, r as rpcTransport, t as dbTransport } from "../../block-transport-PNea4lfQ.js";
|
|
3
|
+
import { A as requiredInstant, C as optionalText, D as recordOf, I as textOf, k as recordsOf, m as instantArg, n as applyTemporal, o as blockCall } from "../../block-helpers-DnCtsKtv.js";
|
|
4
|
+
import { i as wrapTransport, n as extendBlock, r as withBlockHooks } from "../../block-hooks-DbIpkq7a.js";
|
|
4
5
|
import { n as entitySchema, r as moneyField } from "../../entity-schema-BDv6w-OQ.js";
|
|
5
6
|
import { t as defineRecordBinding } from "../../record-bindings-DkBJpC5A.js";
|
|
6
7
|
import { n as event, t as defineEvents } from "../../event-map-CtPFhcOp.js";
|
|
7
8
|
import { n as defineBlock } from "../../define-block-BGqOO8B3.js";
|
|
8
9
|
import { t as requireOrganization } from "../../block-tenant-DHp7subc.js";
|
|
9
|
-
import { i as moneyOf, t as amountText } from "../../money-codec-
|
|
10
|
+
import { i as moneyOf, t as amountText } from "../../money-codec-uV5WbT60.js";
|
|
10
11
|
//#region src/blocks/billable-time/billable-time.ts
|
|
11
12
|
function optional(key, value) {
|
|
12
13
|
return value === void 0 ? {} : { [key]: value };
|
|
@@ -7,10 +7,10 @@ import { n as SqlClient } from "../../executor-hGjrop3A.js";
|
|
|
7
7
|
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
|
|
8
8
|
import { n as BlockHooks } from "../../block-hooks-DZN2w69m.js";
|
|
9
9
|
import { n as StripeSource, r as StripeTaxId, t as StripeClient } from "../../stripe-X22LjuH-.js";
|
|
10
|
-
import { c as BlockOf } from "../../define-block-
|
|
10
|
+
import { c as BlockOf } from "../../define-block-D4hZSb2G.js";
|
|
11
11
|
import { i as EventSink } from "../../cloud-event-CzZTJkXv.js";
|
|
12
|
-
import { n as Controller, t as AuthPort } from "../../controller-
|
|
13
|
-
import { d as stripeInboxVerify, f as verifyStripeWebhook, u as signStripeWebhook } from "../../verify-
|
|
12
|
+
import { n as Controller, t as AuthPort } from "../../controller-DhT57SGq.js";
|
|
13
|
+
import { d as stripeInboxVerify, f as verifyStripeWebhook, u as signStripeWebhook } from "../../verify-CJxqZQdd.js";
|
|
14
14
|
//#region src/blocks/billing/events.d.ts
|
|
15
15
|
/** The events of the `billing` block: type to data. */
|
|
16
16
|
type BillingEvents = {
|
|
@@ -1,16 +1,17 @@
|
|
|
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, r as err, s as toDbError, t as AsyncResult } from "../../result-ntFBW2p2.js";
|
|
4
|
+
import { i as sqlTransport, r as rpcTransport, t as dbTransport } from "../../block-transport-PNea4lfQ.js";
|
|
4
5
|
import { t as billingSqlOptions } from "../../options-DZHZYlpD.js";
|
|
5
6
|
import { n as whileSignedIn, t as defineController } from "../../controller-BEliOBOv.js";
|
|
6
|
-
import {
|
|
7
|
-
import { r as withBlockHooks } from "../../block-hooks-
|
|
7
|
+
import { C as optionalText, D as recordOf, I as textOf, S as optionalInstant, n as applyTemporal, o as blockCall, w as pageOf } from "../../block-helpers-DnCtsKtv.js";
|
|
8
|
+
import { r as withBlockHooks } from "../../block-hooks-DbIpkq7a.js";
|
|
8
9
|
import { n as event, t as defineEvents } from "../../event-map-CtPFhcOp.js";
|
|
9
10
|
import { r as blockEmitter } from "../../block-events-pBXPzwnW.js";
|
|
10
11
|
import { n as defineBlock } from "../../define-block-BGqOO8B3.js";
|
|
11
12
|
import { n as DATABASE_URL_ENV, t as CRON_SECRET_ENV } from "../../wiring-CDNuQoJJ.js";
|
|
12
13
|
import { a as signStripeWebhook, o as stripeInboxVerify, s as verifyStripeWebhook } from "../../verify-ZLFUdlqE.js";
|
|
13
|
-
import { r as entitlementMembers } from "../../entitlements-
|
|
14
|
+
import { r as entitlementMembers } from "../../entitlements-DBir2qwB.js";
|
|
14
15
|
import { t as lazyStripe } from "../../stripe-BJUfp5jM.js";
|
|
15
16
|
//#region src/blocks/billing/stripe-helpers.ts
|
|
16
17
|
const ORGANIZATION_KEY = "organization_id";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { b as DbError } from "../../result-DZeA5KS6.js";
|
|
2
2
|
import { Ct as Events, tt as SchedulingEventData } from "../../events-vcqenSYU.js";
|
|
3
|
-
import { c as BlockOf } from "../../define-block-
|
|
4
|
-
import { n as Controller } from "../../controller-
|
|
3
|
+
import { c as BlockOf } from "../../define-block-D4hZSb2G.js";
|
|
4
|
+
import { n as Controller } from "../../controller-DhT57SGq.js";
|
|
5
5
|
import { o as WeeklyHours } from "../../availability-vguUvEK2.js";
|
|
6
6
|
import { C as bookingSeriesOf, S as BookingWeekday, T as parseRecurrence, _ as BookedSeries, a as BookingExceptionInput, b as BookingSeriesScope, c as BookingResourceInput, d as BookingStatus, f as Bookings, g as createBookings, h as PublicBookingService, i as BookingDuration, l as BookingServiceInput, m as PlacedBooking, n as Booking, o as BookingExpirePayload, p as BookingsOptions, r as BookingCustomer, s as BookingRange, t as BOOKING_EXPIRE_QUEUE, u as BookingSlot, v as BookingRecurrence, w as formatRecurrence, x as BookingSeriesStatus, y as BookingSeries } from "../../bookings-Dox2rced.js";
|
|
7
7
|
import { t as EventCalendarEvent } from "../../event-calendar-DCufbihU.js";
|
|
@@ -2,12 +2,12 @@ import { t as temporal } from "../../temporal-required-Dy0GGD8E.js";
|
|
|
2
2
|
import { t as AsyncResult } from "../../result-ntFBW2p2.js";
|
|
3
3
|
import { t as bookingsSqlOptions } from "../../options-CZDmtsbV.js";
|
|
4
4
|
import { t as defineController } from "../../controller-BEliOBOv.js";
|
|
5
|
-
import { A as requiredInstant, C as optionalText, D as recordOf, I as textOf, S as optionalInstant, b as oneOf, k as recordsOf, n as applyTemporal, o as blockCall } from "../../block-helpers-
|
|
6
|
-
import { r as withBlockHooks } from "../../block-hooks-
|
|
5
|
+
import { A as requiredInstant, C as optionalText, D as recordOf, I as textOf, S as optionalInstant, b as oneOf, k as recordsOf, n as applyTemporal, o as blockCall } from "../../block-helpers-DnCtsKtv.js";
|
|
6
|
+
import { r as withBlockHooks } from "../../block-hooks-DbIpkq7a.js";
|
|
7
7
|
import { n as event, t as defineEvents } from "../../event-map-CtPFhcOp.js";
|
|
8
8
|
import { c as withFields, i as extraOf, n as blockFields, t as allWithFields } from "../../block-fields-DE_FgpOU.js";
|
|
9
9
|
import { n as defineBlock } from "../../define-block-BGqOO8B3.js";
|
|
10
|
-
import { t as bookingOf } from "../../rows-
|
|
10
|
+
import { t as bookingOf } from "../../rows-Bh9QemqN.js";
|
|
11
11
|
import { t as sameRange } from "../../range-DwpWe8e7.js";
|
|
12
12
|
//#region src/blocks/bookings/series.ts
|
|
13
13
|
const FREQS = ["daily", "weekly"];
|
|
@@ -3,7 +3,7 @@ import { $ as SaasEventData, Ct as Events } from "../../events-vcqenSYU.js";
|
|
|
3
3
|
import { n as Logger } from "../../logger-DWVYUmwi.js";
|
|
4
4
|
import { t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
|
|
5
5
|
import { n as BlockHooks } from "../../block-hooks-DZN2w69m.js";
|
|
6
|
-
import { c as BlockOf } from "../../define-block-
|
|
6
|
+
import { c as BlockOf } from "../../define-block-D4hZSb2G.js";
|
|
7
7
|
//#region src/blocks/bulk/bulk.d.ts
|
|
8
8
|
/** The actions every install knows, when the block that owns each is installed. */
|
|
9
9
|
type BuiltInBulkAction = "tags.set" | "stateMachine.transition" | "relations.link" | "trash.trash" | "collections.add" | "appTables.set";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as isRecord } from "../../guards-6F2bCtQR.js";
|
|
2
2
|
import { a as ok, t as AsyncResult } from "../../result-ntFBW2p2.js";
|
|
3
3
|
import { t as bulkSqlOptions } from "../../options-CTl8T88w.js";
|
|
4
|
-
import { C as optionalText, D as recordOf, I as textOf, o as blockCall } from "../../block-helpers-
|
|
5
|
-
import { r as withBlockHooks } from "../../block-hooks-
|
|
4
|
+
import { C as optionalText, D as recordOf, I as textOf, o as blockCall } from "../../block-helpers-DnCtsKtv.js";
|
|
5
|
+
import { r as withBlockHooks } from "../../block-hooks-DbIpkq7a.js";
|
|
6
6
|
import { n as event, t as defineEvents } from "../../event-map-CtPFhcOp.js";
|
|
7
7
|
import { n as defineBlock } from "../../define-block-BGqOO8B3.js";
|
|
8
8
|
//#region src/blocks/bulk/bulk.ts
|
|
@@ -6,8 +6,8 @@ import { Ct as Events, tt as SchedulingEventData } from "../../events-vcqenSYU.j
|
|
|
6
6
|
import { n as Logger } from "../../logger-DWVYUmwi.js";
|
|
7
7
|
import { t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
|
|
8
8
|
import { n as BlockHooks } from "../../block-hooks-DZN2w69m.js";
|
|
9
|
-
import { Sn as EntitySchema, c as BlockOf } from "../../define-block-
|
|
10
|
-
import { n as Controller } from "../../controller-
|
|
9
|
+
import { Sn as EntitySchema, c as BlockOf } from "../../define-block-D4hZSb2G.js";
|
|
10
|
+
import { n as Controller } from "../../controller-DhT57SGq.js";
|
|
11
11
|
import { C as IcsEvent, D as parseIcs, E as ToIcsOptions, O as toIcs, S as CalendarEventStatus, T as ParsedIcs, _ as expandOccurrences, a as FreeBusy, b as AttendeeRole, c as WorkingHoursInput, d as workingHoursOf, f as CalendarEvent, g as SplitRules, h as OccurrenceRange, i as CommonFreeTimeOptions, l as commonFreeTime, m as OccurrenceOptions, n as CalendarEventKind, o as WeeklyHours, p as CalendarOccurrence, r as CalendarTransparency, s as WorkingHours, t as BusyRange, u as freeBusyOf, v as splitRule, w as IcsSource, x as CalendarAttendee, y as AttendeeResponse } from "../../availability-vguUvEK2.js";
|
|
12
12
|
import { a as fromEventCalendarUpdate, c as toEventCalendarResources, i as OccurrenceMove, n as EventCalendarOptions, o as seriesOf, r as EventCalendarResource, s as toEventCalendarEvents, t as EventCalendarEvent } from "../../event-calendar-DCufbihU.js";
|
|
13
13
|
import { t as VisibleRange } from "../../range-p5V4rBhZ.js";
|
|
@@ -3,8 +3,8 @@ import { t as temporal } from "../../temporal-required-Dy0GGD8E.js";
|
|
|
3
3
|
import { t as AsyncResult } from "../../result-ntFBW2p2.js";
|
|
4
4
|
import { t as calendarSqlOptions } from "../../options-C1-pwEqm.js";
|
|
5
5
|
import { t as defineController } from "../../controller-BEliOBOv.js";
|
|
6
|
-
import { A as requiredInstant, C as optionalText, D as recordOf, I as textOf, S as optionalInstant, b as oneOf, k as recordsOf, o as blockCall } from "../../block-helpers-
|
|
7
|
-
import { r as withBlockHooks } from "../../block-hooks-
|
|
6
|
+
import { A as requiredInstant, C as optionalText, D as recordOf, I as textOf, S as optionalInstant, b as oneOf, k as recordsOf, o as blockCall } from "../../block-helpers-DnCtsKtv.js";
|
|
7
|
+
import { r as withBlockHooks } from "../../block-hooks-DbIpkq7a.js";
|
|
8
8
|
import { n as entitySchema } from "../../entity-schema-BDv6w-OQ.js";
|
|
9
9
|
import { n as event, t as defineEvents } from "../../event-map-CtPFhcOp.js";
|
|
10
10
|
import { i as extraOf, n as blockFields, t as allWithFields } from "../../block-fields-DE_FgpOU.js";
|
|
@@ -8,7 +8,7 @@ import { i as CursorPageOptions, n as BlockOptions } from "../../block-helpers-C
|
|
|
8
8
|
import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
|
|
9
9
|
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-DZN2w69m.js";
|
|
10
10
|
import { h as FilterQuery } from "../../filter-query-BXLs72G9.js";
|
|
11
|
-
import { Sn as EntitySchema, c as BlockOf } from "../../define-block-
|
|
11
|
+
import { Sn as EntitySchema, c as BlockOf } from "../../define-block-D4hZSb2G.js";
|
|
12
12
|
import { n as Money } from "../../money-BNRdJQzA.js";
|
|
13
13
|
import { t as RankNeighbors } from "../../rank-result-Bwe7igy-.js";
|
|
14
14
|
//#region src/blocks/catalog/catalog.d.ts
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import { n as dbError } from "../../errors-BVFgt8BZ.js";
|
|
2
2
|
import { n as isRecord } from "../../guards-6F2bCtQR.js";
|
|
3
3
|
import { t as AsyncResult } from "../../result-ntFBW2p2.js";
|
|
4
|
+
import { i as sqlTransport, r as rpcTransport, t as dbTransport } from "../../block-transport-PNea4lfQ.js";
|
|
4
5
|
import { t as catalogSqlOptions } from "../../options-D0sj5abR.js";
|
|
5
|
-
import {
|
|
6
|
-
import { i as wrapTransport, n as extendBlock, r as withBlockHooks } from "../../block-hooks-
|
|
6
|
+
import { C as optionalText, D as recordOf, I as textOf, d as enumOrThrow, h as instantOf, k as recordsOf, m as instantArg, n as applyTemporal, o as blockCall, w as pageOf } from "../../block-helpers-DnCtsKtv.js";
|
|
7
|
+
import { i as wrapTransport, n as extendBlock, r as withBlockHooks } from "../../block-hooks-DbIpkq7a.js";
|
|
7
8
|
import { n as entitySchema } from "../../entity-schema-BDv6w-OQ.js";
|
|
8
9
|
import { n as event, t as defineEvents } from "../../event-map-CtPFhcOp.js";
|
|
9
10
|
import { c as withFields, n as blockFields, r as extraFieldsArg } from "../../block-fields-DE_FgpOU.js";
|
|
10
11
|
import { n as defineBlock } from "../../define-block-BGqOO8B3.js";
|
|
11
12
|
import { t as rankBetweenResult } from "../../rank-result-BBJIK-k_.js";
|
|
12
13
|
import { d as money } from "../../money-BZl985O-.js";
|
|
13
|
-
import { a as optionalAmountText, o as optionalMoneyOf } from "../../money-codec-
|
|
14
|
+
import { a as optionalAmountText, o as optionalMoneyOf } from "../../money-codec-uV5WbT60.js";
|
|
14
15
|
//#region src/blocks/catalog/catalog.ts
|
|
15
16
|
const PRODUCT_KINDS = [
|
|
16
17
|
"physical",
|
|
@@ -7,7 +7,7 @@ import { n as Logger } from "../../logger-DWVYUmwi.js";
|
|
|
7
7
|
import { a as BlockTenantOptions, r as BlockTemporalOptions } from "../../block-helpers-CRpAHrp_.js";
|
|
8
8
|
import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
|
|
9
9
|
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-DZN2w69m.js";
|
|
10
|
-
import { Sn as EntitySchema, c as BlockOf } from "../../define-block-
|
|
10
|
+
import { Sn as EntitySchema, c as BlockOf } from "../../define-block-D4hZSb2G.js";
|
|
11
11
|
//#region src/blocks/channels/channels.d.ts
|
|
12
12
|
/** Who reads a channel: the tenant, or its members. */
|
|
13
13
|
type ChannelVisibility = "public" | "private";
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { i as sqlTransport, r as rpcTransport, t as dbTransport } from "../../block-transport-PNea4lfQ.js";
|
|
2
|
+
import { A as requiredInstant, C as optionalText, D as recordOf, I as textOf, S as optionalInstant, d as enumOrThrow, k as recordsOf, n as applyTemporal, o as blockCall } from "../../block-helpers-DnCtsKtv.js";
|
|
3
|
+
import { i as wrapTransport, n as extendBlock, r as withBlockHooks } from "../../block-hooks-DbIpkq7a.js";
|
|
3
4
|
import { n as entitySchema } from "../../entity-schema-BDv6w-OQ.js";
|
|
4
5
|
import { n as event, t as defineEvents } from "../../event-map-CtPFhcOp.js";
|
|
5
6
|
import { n as defineBlock } from "../../define-block-BGqOO8B3.js";
|
|
@@ -8,7 +8,7 @@ import { n as Logger } from "../../logger-DWVYUmwi.js";
|
|
|
8
8
|
import { i as CursorPageOptions } from "../../block-helpers-CRpAHrp_.js";
|
|
9
9
|
import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
|
|
10
10
|
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-DZN2w69m.js";
|
|
11
|
-
import { I as Notifier, c as BlockOf } from "../../define-block-
|
|
11
|
+
import { I as Notifier, c as BlockOf } from "../../define-block-D4hZSb2G.js";
|
|
12
12
|
import { t as RankNeighbors } from "../../rank-result-Bwe7igy-.js";
|
|
13
13
|
//#region src/blocks/collections/collections.d.ts
|
|
14
14
|
/** Who sees a collection: its owner, a team, or the whole organization. */
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { o as isDbError } from "../../errors-BVFgt8BZ.js";
|
|
2
2
|
import { n as isRecord } from "../../guards-6F2bCtQR.js";
|
|
3
3
|
import { a as ok, r as err, t as AsyncResult } from "../../result-ntFBW2p2.js";
|
|
4
|
+
import { i as sqlTransport, r as rpcTransport, t as dbTransport } from "../../block-transport-PNea4lfQ.js";
|
|
4
5
|
import { t as collectionsSqlOptions } from "../../options-CyjL9lTf.js";
|
|
5
|
-
import { A as requiredInstant,
|
|
6
|
-
import { i as wrapTransport, n as extendBlock, r as withBlockHooks } from "../../block-hooks-
|
|
6
|
+
import { A as requiredInstant, C as optionalText, D as recordOf, F as stringsOf, I as textOf, S as optionalInstant, b as oneOf, k as recordsOf, m as instantArg, o as blockCall, w as pageOf } from "../../block-helpers-DnCtsKtv.js";
|
|
7
|
+
import { i as wrapTransport, n as extendBlock, r as withBlockHooks } from "../../block-hooks-DbIpkq7a.js";
|
|
7
8
|
import { n as event, t as defineEvents } from "../../event-map-CtPFhcOp.js";
|
|
8
9
|
import { c as withFields, i as extraOf, n as blockFields, r as extraFieldsArg, t as allWithFields } from "../../block-fields-DE_FgpOU.js";
|
|
9
10
|
import { n as defineBlock } from "../../define-block-BGqOO8B3.js";
|
|
@@ -7,14 +7,14 @@ import { n as Logger } from "../../logger-DWVYUmwi.js";
|
|
|
7
7
|
import { a as BlockTenantOptions, i as CursorPageOptions, r as BlockTemporalOptions } from "../../block-helpers-CRpAHrp_.js";
|
|
8
8
|
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
|
|
9
9
|
import { n as BlockHooks } from "../../block-hooks-DZN2w69m.js";
|
|
10
|
-
import { F as CommentsSqlOptions } from "../../authorization-
|
|
10
|
+
import { F as CommentsSqlOptions } from "../../authorization-08F77H2w.js";
|
|
11
11
|
import { t as Author } from "../../block-authors-DzXLUiIq.js";
|
|
12
12
|
import { a as isFileAnchor, i as fileAnchor, n as FileAnchor, o as conversationTopic, r as FileAnchorAt, t as AnchorRegion } from "../../anchors-7F34QyHa.js";
|
|
13
13
|
import { c as MessageEdit, l as MessageEdition, o as Message } from "../../messaging-C_Pr9tGx.js";
|
|
14
|
-
import { Sn as EntitySchema, c as BlockOf, ln as RecordBindingWrite, mn as RecordRowInput, rn as RecordBinding } from "../../define-block-
|
|
15
|
-
import { p as SubscriptionStatus } from "../../topic-
|
|
16
|
-
import { n as TopicPort } from "../../watch-topic-
|
|
17
|
-
import { n as Controller, t as AuthPort } from "../../controller-
|
|
14
|
+
import { Sn as EntitySchema, c as BlockOf, ln as RecordBindingWrite, mn as RecordRowInput, rn as RecordBinding } from "../../define-block-D4hZSb2G.js";
|
|
15
|
+
import { p as SubscriptionStatus } from "../../topic-BNkdk7qe.js";
|
|
16
|
+
import { n as TopicPort } from "../../watch-topic-wl74gws-.js";
|
|
17
|
+
import { n as Controller, t as AuthPort } from "../../controller-DhT57SGq.js";
|
|
18
18
|
//#region src/blocks/comments/comments.d.ts
|
|
19
19
|
interface CommentsOptions<S extends StandardSchemaV1 | undefined = undefined> extends BlockTemporalOptions, BlockTenantOptions {
|
|
20
20
|
/**
|