better-supabase 0.19.0 → 0.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{adapter-CfuBICuG.js → adapter-DZJZTY6g.js} +2 -2
- package/dist/{ai-cache-BuNbWEFI.js → ai-cache-BFRKxgZ4.js} +2 -2
- package/dist/{ai-files-DeMWQfzs.js → ai-files-m_2z3rH1.js} +3 -3
- package/dist/{ai-schedules-B20M2SIi.d.ts → ai-schedules-7uQNMXve.d.ts} +1 -1
- package/dist/ai-sdk/agents/index.d.ts +2 -2
- package/dist/ai-sdk/batches/index.js +3 -3
- package/dist/ai-sdk/cache/index.js +1 -1
- package/dist/ai-sdk/chat/index.js +1 -1
- package/dist/ai-sdk/files/index.js +2 -2
- package/dist/ai-sdk/index.js +3 -3
- package/dist/ai-sdk/mcp/index.js +2 -2
- package/dist/ai-sdk/workflow/index.js +2 -2
- package/dist/{api-BiOgjXn5.d.ts → api-Cj4W_pqT.d.ts} +1 -1
- package/dist/{app-tables-Q29TR4W9.d.ts → app-tables-C5HjXs2k.d.ts} +1 -1
- package/dist/astro/index.d.ts +3 -3
- package/dist/astro/index.js +2 -2
- package/dist/{attachments-BTIwCuwm.js → attachments-BXbLnNxm.js} +5 -5
- package/dist/{authorization-08F77H2w.d.ts → authorization-DhoA7dsD.d.ts} +22 -8
- package/dist/{automations-jIIaT9EJ.js → automations-BMuqwZZn.js} +5 -5
- package/dist/better-result/index.d.ts +2 -2
- package/dist/{bind-wkfp7hgx.d.ts → bind-CFsctoFJ.d.ts} +4 -4
- package/dist/{block-authors-D9hyCizs.js → block-authors-Bw3zdzgl.js} +1 -1
- package/dist/{block-env-D-zK3_Ta.d.ts → block-env-BrUNeuJ_.d.ts} +4 -4
- package/dist/{block-events-pBXPzwnW.js → block-events-IWAyafO3.js} +1 -1
- package/dist/{block-fields-DE_FgpOU.js → block-fields-BjXgX_5c.js} +4 -3
- package/dist/{block-helpers-DnCtsKtv.js → block-helpers-B0f0ZVb5.js} +169 -4
- package/dist/{block-hooks-DbIpkq7a.js → block-hooks-DKtz0HRh.js} +1 -1
- package/dist/{block-subjects-BRJO0IqO.js → block-subjects-DFSuFY1a.js} +1 -1
- package/dist/blocks/access-requests/index.d.ts +1 -1
- package/dist/blocks/access-requests/index.js +4 -5
- package/dist/blocks/activities/index.d.ts +1 -1
- package/dist/blocks/activities/index.js +4 -5
- package/dist/blocks/agents/index.d.ts +1 -1
- package/dist/blocks/agents/index.js +3 -4
- 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 -4
- 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 +2 -3
- package/dist/blocks/ai-schedules/index.d.ts +2 -2
- package/dist/blocks/ai-schedules/index.js +5 -6
- package/dist/blocks/announcements/index.d.ts +4 -4
- package/dist/blocks/announcements/index.js +3 -4
- package/dist/blocks/api-keys/index.d.ts +2 -2
- package/dist/blocks/api-keys/index.js +4 -5
- package/dist/blocks/approvals/index.d.ts +1 -1
- package/dist/blocks/approvals/index.js +4 -5
- package/dist/blocks/assets/index.d.ts +1 -1
- package/dist/blocks/assets/index.js +3 -4
- package/dist/blocks/assignment/index.d.ts +1 -1
- package/dist/blocks/assignment/index.js +4 -5
- package/dist/blocks/attachments/index.d.ts +2 -2
- package/dist/blocks/attachments/index.js +4 -5
- package/dist/blocks/audit/index.d.ts +5 -5
- package/dist/blocks/audit/index.js +7 -8
- package/dist/blocks/automations/index.d.ts +3 -3
- package/dist/blocks/automations/index.js +5 -5
- package/dist/blocks/billable-time/index.d.ts +1 -1
- package/dist/blocks/billable-time/index.js +6 -7
- package/dist/blocks/billing/index.d.ts +3 -3
- package/dist/blocks/billing/index.js +5 -6
- package/dist/blocks/bookings/index.d.ts +3 -3
- package/dist/blocks/bookings/index.js +6 -6
- package/dist/blocks/bulk/index.d.ts +4 -3
- package/dist/blocks/bulk/index.js +4 -4
- package/dist/blocks/calendar/index.d.ts +2 -2
- package/dist/blocks/calendar/index.js +6 -6
- package/dist/blocks/catalog/index.d.ts +1 -1
- package/dist/blocks/catalog/index.js +5 -6
- package/dist/blocks/channels/index.d.ts +1 -1
- package/dist/blocks/channels/index.js +3 -4
- package/dist/blocks/collections/index.d.ts +1 -1
- package/dist/blocks/collections/index.js +3 -4
- package/dist/blocks/comments/index.d.ts +5 -5
- package/dist/blocks/comments/index.js +8 -9
- package/dist/blocks/compliance/index.d.ts +1 -1
- package/dist/blocks/compliance/index.js +5 -6
- package/dist/blocks/connectors/index.d.ts +1 -1
- package/dist/blocks/connectors/index.js +3 -4
- package/dist/blocks/contacts/index.d.ts +1 -1
- package/dist/blocks/contacts/index.js +4 -5
- package/dist/blocks/content/index.d.ts +1 -1
- package/dist/blocks/content/index.js +3 -4
- package/dist/blocks/contracts/index.d.ts +1 -1
- package/dist/blocks/contracts/index.js +8 -9
- package/dist/blocks/courses/index.d.ts +1 -1
- package/dist/blocks/courses/index.js +5 -6
- 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 +2 -3
- package/dist/blocks/deals/index.d.ts +1 -1
- package/dist/blocks/deals/index.js +9 -10
- package/dist/blocks/dispatch/index.d.ts +1 -1
- package/dist/blocks/dispatch/index.js +7 -8
- package/dist/blocks/documents/index.d.ts +1 -1
- package/dist/blocks/documents/index.js +2 -3
- package/dist/blocks/domains/index.d.ts +1 -1
- package/dist/blocks/domains/index.js +3 -4
- package/dist/blocks/donations/index.d.ts +1 -1
- package/dist/blocks/donations/index.js +7 -8
- package/dist/blocks/drive/index.d.ts +5 -1
- package/dist/blocks/drive/index.js +6 -7
- package/dist/blocks/employees/index.d.ts +2 -2
- package/dist/blocks/employees/index.js +7 -8
- package/dist/blocks/enrichment/index.d.ts +1 -1
- package/dist/blocks/enrichment/index.js +2 -3
- package/dist/blocks/enrollments/index.d.ts +1 -1
- package/dist/blocks/enrollments/index.js +3 -4
- 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 +6 -7
- package/dist/blocks/field-history/index.d.ts +1 -1
- package/dist/blocks/field-history/index.js +2 -3
- package/dist/blocks/flags/index.d.ts +1 -1
- package/dist/blocks/flags/index.js +4 -5
- package/dist/blocks/forecasts/index.d.ts +1 -1
- package/dist/blocks/forecasts/index.js +5 -6
- package/dist/blocks/forms/index.d.ts +2 -2
- package/dist/blocks/forms/index.js +3 -4
- package/dist/blocks/goals/index.d.ts +1 -1
- package/dist/blocks/goals/index.js +4 -5
- package/dist/blocks/guests/index.d.ts +1 -1
- package/dist/blocks/guests/index.js +4 -5
- package/dist/blocks/hiring/index.d.ts +1 -1
- package/dist/blocks/hiring/index.js +4 -5
- package/dist/blocks/identities/index.d.ts +1 -1
- package/dist/blocks/identities/index.js +2 -3
- 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 +3 -4
- package/dist/blocks/incidents/index.d.ts +1 -1
- package/dist/blocks/incidents/index.js +5 -6
- package/dist/blocks/index.d.ts +2 -2
- package/dist/blocks/index.js +6 -6
- package/dist/blocks/inventory/index.d.ts +1 -1
- package/dist/blocks/inventory/index.js +3 -4
- package/dist/blocks/invoices/index.d.ts +1 -1
- package/dist/blocks/invoices/index.js +6 -7
- 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 +4 -5
- package/dist/blocks/leases/index.d.ts +1 -1
- package/dist/blocks/leases/index.js +7 -8
- package/dist/blocks/leave/index.d.ts +1 -1
- package/dist/blocks/leave/index.js +4 -5
- package/dist/blocks/ledger/index.d.ts +1 -1
- package/dist/blocks/ledger/index.js +3 -4
- package/dist/blocks/mail-sync/index.d.ts +1 -1
- package/dist/blocks/mail-sync/index.js +4 -5
- package/dist/blocks/memberships/index.d.ts +1 -1
- package/dist/blocks/memory/index.d.ts +1 -1
- package/dist/blocks/memory/index.js +3 -4
- package/dist/blocks/messaging/index.d.ts +5 -5
- package/dist/blocks/messaging/index.js +5 -6
- package/dist/blocks/metrics/index.d.ts +1 -1
- package/dist/blocks/metrics/index.js +4 -5
- 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 -4
- package/dist/blocks/notifications/index.d.ts +4 -4
- package/dist/blocks/notifications/index.js +7 -8
- 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 -4
- package/dist/blocks/onboarding/index.d.ts +2 -2
- package/dist/blocks/onboarding/index.js +2 -3
- package/dist/blocks/orders/index.d.ts +9 -2
- package/dist/blocks/orders/index.js +7 -8
- package/dist/blocks/organizations/index.d.ts +3 -3
- package/dist/blocks/organizations/index.js +5 -6
- package/dist/blocks/outbox/index.d.ts +1 -1
- package/dist/blocks/outbox/index.js +3 -4
- package/dist/blocks/passes/index.d.ts +2 -2
- package/dist/blocks/passes/index.js +7 -8
- package/dist/blocks/permissions/index.d.ts +3 -3
- package/dist/blocks/permissions/index.js +2 -3
- package/dist/blocks/pipelines/index.d.ts +1 -1
- package/dist/blocks/pipelines/index.js +4 -5
- package/dist/blocks/posts/index.d.ts +1 -1
- package/dist/blocks/posts/index.js +4 -5
- package/dist/blocks/profiles/index.d.ts +1 -1
- package/dist/blocks/profiles/index.js +3 -4
- package/dist/blocks/promotions/index.d.ts +1 -1
- package/dist/blocks/promotions/index.js +4 -5
- package/dist/blocks/push/index.d.ts +2 -2
- package/dist/blocks/push/index.js +4 -5
- package/dist/blocks/queue/index.d.ts +1 -1
- package/dist/blocks/queue/index.js +7 -8
- package/dist/blocks/quotes/index.d.ts +1 -1
- package/dist/blocks/quotes/index.js +6 -7
- 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 +3 -4
- package/dist/blocks/relations/index.d.ts +3 -2
- package/dist/blocks/relations/index.js +8 -8
- package/dist/blocks/reminders/index.d.ts +10 -6
- package/dist/blocks/reminders/index.js +13 -12
- package/dist/blocks/reviews/index.d.ts +1 -1
- package/dist/blocks/reviews/index.js +3 -4
- package/dist/blocks/saved-views/index.d.ts +3 -3
- package/dist/blocks/saved-views/index.js +3 -3
- package/dist/blocks/scores/index.d.ts +1 -1
- package/dist/blocks/scores/index.js +4 -4
- package/dist/blocks/search/index.d.ts +3 -3
- package/dist/blocks/search/index.js +2 -3
- package/dist/blocks/security-events/index.d.ts +1 -1
- package/dist/blocks/security-events/index.js +2 -3
- package/dist/blocks/segments/index.d.ts +1 -1
- package/dist/blocks/segments/index.js +4 -5
- package/dist/blocks/sequences/index.d.ts +1 -1
- package/dist/blocks/sequences/index.js +3 -4
- package/dist/blocks/service-accounts/index.d.ts +1 -1
- package/dist/blocks/service-accounts/index.js +3 -4
- 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 +2 -3
- package/dist/blocks/share-links/index.d.ts +1 -1
- package/dist/blocks/share-links/index.js +6 -6
- package/dist/blocks/shipments/index.d.ts +1 -1
- package/dist/blocks/shipments/index.js +9 -10
- package/dist/blocks/signatures/index.d.ts +1 -1
- package/dist/blocks/signatures/index.js +3 -4
- 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 +7 -8
- package/dist/blocks/sso/index.d.ts +1 -1
- package/dist/blocks/sso/index.js +2 -3
- 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 +3 -4
- package/dist/blocks/tags/index.d.ts +2 -2
- package/dist/blocks/tags/index.js +5 -5
- package/dist/blocks/tasks/index.d.ts +2 -2
- package/dist/blocks/tasks/index.js +7 -8
- package/dist/blocks/teams/index.d.ts +1 -1
- package/dist/blocks/teams/index.js +3 -3
- package/dist/blocks/templates/index.d.ts +3 -3
- package/dist/blocks/templates/index.js +3 -4
- package/dist/blocks/time-tracking/index.d.ts +8 -1
- package/dist/blocks/time-tracking/index.js +9 -10
- package/dist/blocks/timeline/index.d.ts +3 -3
- package/dist/blocks/timeline/index.js +4 -5
- package/dist/blocks/trash/index.d.ts +1 -1
- package/dist/blocks/trash/index.js +3 -4
- 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 +2 -3
- package/dist/blocks/vercel-marketplace/index.d.ts +1 -1
- package/dist/blocks/vercel-marketplace/index.js +3 -4
- package/dist/blocks/versions/index.d.ts +1 -1
- package/dist/blocks/versions/index.js +6 -7
- package/dist/blocks/waitlist/index.d.ts +1 -1
- package/dist/blocks/waitlist/index.js +4 -5
- package/dist/blocks/webhooks/index.d.ts +3 -3
- package/dist/blocks/webhooks/index.js +11 -12
- package/dist/blocks/workflow-editor/index.d.ts +6 -6
- package/dist/blocks/workflow-editor/index.js +9 -10
- package/dist/blocks/workflows/index.d.ts +4 -4
- package/dist/blocks/workflows/index.js +4 -5
- package/dist/{bookings-Dox2rced.d.ts → bookings-BpCNphYp.d.ts} +1 -2
- package/dist/{build-D9lWi5bk.js → build-CM8PJqwW.js} +1 -1
- package/dist/{build-BFC8nFiL.js → build-DbIRFcHQ.js} +3 -65
- package/dist/chat-sdk/index.js +2 -3
- package/dist/cli/{add-Lr7uTZXQ.js → add-BTDPjVGC.js} +9 -9
- package/dist/cli/{add-D5HxanFm.js → add-C0w-mVTQ.js} +2 -2
- package/dist/cli/add-CspY9jKT.js +1 -0
- package/dist/cli/{backfill-Cl1zEel7.js → backfill-BDdBs6Ne.js} +1 -1
- package/dist/cli/bin.js +1 -1
- package/dist/cli/{blocks-CsPua74J.js → blocks-Bs-lA-U_.js} +1 -1
- package/dist/cli/{blocks-f0obMCxm.js → blocks-CQLME-HQ.js} +1 -1
- package/dist/cli/{cache-tvTW5J9K.js → cache-DDKao2Va.js} +1 -1
- package/dist/cli/{codemod-CVzRWS3j.js → codemod-Bjl998Do.js} +1 -1
- package/dist/cli/{content-mapper-C0LJDmVL.js → content-mapper-DgSTl-DL.js} +2 -2
- package/dist/cli/{doctor-q701Qif_.js → doctor-CMLWbt44.js} +57 -55
- package/dist/cli/{gen--vu_c2RF.js → gen-D3VX8WdV.js} +11 -11
- package/dist/cli/index.d.ts +1 -1
- package/dist/cli/index.js +6 -6
- package/dist/cli/{init-DGz5Hk9X.js → init-D6D6eWze.js} +5 -5
- package/dist/cli/{live-sBPXy0VE.js → live-C_xgTOfD.js} +2 -2
- package/dist/cli/{mcp-DY_YK_WV.js → mcp-B0Irjbes.js} +2 -2
- package/dist/cli/{metadata-CoPGFRMb.js → metadata-cLXra-XB.js} +3 -3
- package/dist/cli/{migration-safety-Cn7OLHJm.js → migration-safety-OUK-Afbb.js} +1 -1
- package/dist/cli/{migrations-CUIEmdnS.js → migrations-CHenMvl_.js} +1 -1
- package/dist/cli/{module-migration-bWK0xO2_.js → module-migration-6V7vXWUK.js} +2 -2
- package/dist/cli/{powersync-DAM5JAmz.js → powersync-D83yAFbl.js} +2 -2
- package/dist/cli/powersync-DwhCH0gs.js +1 -0
- package/dist/cli/{print-Dnbk8J2y.js → print-C0OmQyTu.js} +2 -2
- package/dist/cli/{remove-DAVVPbWw.js → remove-BWlOngNT.js} +5 -5
- package/dist/cli/{render-PJdiRcqF.js → render-9m70qveo.js} +22 -5
- package/dist/cli/{run-6F72J0AQ.js → run-He3M-ZRq.js} +21 -21
- package/dist/cli/{run-D7-FuY6e.js → run-gE4eAazR.js} +8 -8
- package/dist/cli/{shared-9O58FYPm.js → shared-Cx2WFVWq.js} +1 -1
- package/dist/cli/{snapshot-rTRe56PH.js → snapshot-CZb3uVKE.js} +2 -2
- package/dist/cli/{source-EHhEoKBD.js → source-CrYSCdPZ.js} +1 -1
- package/dist/cli/{spec-CR4Y9kn8.js → spec-Cn5RhuQc.js} +2 -2
- package/dist/cli/{spec-DqSbbTzD.js → spec-D4b9ePuQ.js} +1 -1
- package/dist/cli/{sql-layout-BijeFLWv.js → sql-layout-CLJ67h3L.js} +2 -2
- package/dist/cli/{sync-BAmWXRDR.js → sync-B8VGiaHk.js} +3 -3
- package/dist/cli/{upgrade-BKN6eSx-.js → upgrade-BvBWK3Fo.js} +4 -4
- package/dist/cli/{upgrade-oaUd22Il.js → upgrade-DMiYx1C8.js} +2 -2
- package/dist/cli/{version-BkEOr4WS.js → version-BVg2Z6yv.js} +1 -1
- package/dist/client/index.d.ts +5 -5
- package/dist/client/index.js +1 -1
- package/dist/client/native/index.d.ts +4 -4
- package/dist/client/native/index.js +1 -1
- package/dist/{codecs-BfmQSbM6.js → codecs-CSUFGrdP.js} +3 -3
- package/dist/commerce/index.js +3 -3
- package/dist/{composite-COQJBDmG.d.ts → composite-ChzHhSB0.d.ts} +3 -3
- package/dist/{composite-D24L5RIY.js → composite-Dw5ofSF_.js} +1 -1
- package/dist/config/index.d.ts +2 -2
- package/dist/config/index.js +2 -2
- package/dist/{config-D74JT0qL.js → config-BOt5T6Vs.js} +1 -1
- package/dist/{context-BI1PPPkw.d.ts → context-sgrUjA3U.d.ts} +4 -4
- package/dist/{controller-DhT57SGq.d.ts → controller-B6vWdKSa.d.ts} +1 -1
- package/dist/{controller-BNZKd6bJ.js → controller-qG-B1eDn.js} +1 -1
- package/dist/{conversion-DAV0hOJQ.d.ts → conversion-DBgMck5U.d.ts} +1 -1
- package/dist/create/index.d.ts +2 -2
- package/dist/create/index.js +2 -2
- package/dist/{create-blocks-B-9HVf7m.js → create-blocks-CUS28FfS.js} +27 -11
- package/dist/credentials/index.js +2 -3
- package/dist/{cron-CgHTKwYG.js → cron-DdT4ti8a.js} +1 -1
- package/dist/{cron-route-UU9i5i9J.js → cron-route-FjKgRvTY.js} +1 -1
- package/dist/{deal-forecast-DikouYGj.js → deal-forecast-CKBnRodz.js} +2 -2
- package/dist/{define-Dt9DRqV_.js → define-D-dLADd5.js} +17 -20
- package/dist/{define-B_pxEy7d.d.ts → define-Lf6rI2QN.d.ts} +16 -10
- package/dist/{define-block-D4hZSb2G.d.ts → define-block-DCAiOrNX.d.ts} +30 -8
- package/dist/edge/index.d.ts +5 -5
- package/dist/edge/index.js +3 -3
- package/dist/{entitlements-BhNzAcJR.d.ts → entitlements-BPaPd3MD.d.ts} +1 -1
- package/dist/{entitlements-DBir2qwB.js → entitlements-tGL6-69B.js} +2 -2
- package/dist/{entity-schema-BDv6w-OQ.js → entity-schema-B1YmMtP8.js} +1 -1
- package/dist/events/index.js +2 -2
- package/dist/{executor-3qcMhg6R.js → executor-C2Ne-Scm.js} +3 -2
- package/dist/{executor-Bi056Cnj.d.ts → executor-DNK401lZ.d.ts} +1 -1
- package/dist/{executor-D3gB-9si.js → executor-DqIci3Jb.js} +3 -3
- package/dist/{executor-BQ7dYw4E.js → executor-WolvKszH.js} +3 -3
- package/dist/{executor-D1UUQEGL.d.ts → executor-aFV7nEBs.d.ts} +2 -2
- package/dist/expo/index.d.ts +2 -2
- package/dist/expo/index.js +2 -2
- package/dist/{field-errors-D7mzrKjR.d.ts → field-errors-DBgDCITw.d.ts} +6 -6
- package/dist/{fields--5a88KJe.js → fields-BBm49w-E.js} +1 -1
- package/dist/{filter-evaluate-w1XOIUOL.js → filter-evaluate-lCToXzZI.js} +2 -2
- package/dist/{filter-query-DMoKo82_.js → filter-query-CQ6d5GnQ.js} +1 -1
- package/dist/{flags-ClOQY-p5.js → flags-DF_SCqp5.js} +1 -1
- package/dist/flags-sdk/index.js +2 -2
- package/dist/{framework-BghlRbea.d.ts → framework-DKA3fTHl.d.ts} +3 -3
- package/dist/{framework-CNhTg0th.js → framework-DXM1vNcV.js} +1 -1
- package/dist/hono/index.d.ts +4 -4
- package/dist/hono/index.js +2 -2
- package/dist/{index-DZ5VbYvy.d.ts → index-5JSxY1MG.d.ts} +1 -1
- package/dist/{index-Bc-EhTb-.d.ts → index-Bt7_mxn0.d.ts} +9 -5
- package/dist/{index-DsB7dy9R.d.ts → index-ByF22_C6.d.ts} +3 -3
- package/dist/{index-B8iW3y2w.d.ts → index-C4sjewrr.d.ts} +9 -9
- package/dist/{index-BJBwUM9l.d.ts → index-CdMZQCYR.d.ts} +3 -3
- package/dist/{index-BSXQlJt2.d.ts → index-ClvuSZEz.d.ts} +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +8 -7
- package/dist/{json-schema-Ca6gYbEP.js → json-schema-DHJxiizN.js} +1 -1
- package/dist/{knowledge-CV6OSirC.js → knowledge-tCrrU99q.js} +2 -2
- package/dist/list/index.d.ts +1 -1
- package/dist/list/index.js +3 -3
- package/dist/{list-query-BKy2zBaT.js → list-query-BnpA2BDg.js} +1 -1
- package/dist/{list-query-BIZBVEoF.d.ts → list-query-XYfUZb0j.d.ts} +1 -1
- package/dist/mapper/bin.js +5 -5
- package/dist/mcp/index.d.ts +4 -4
- package/dist/mcp/index.js +2 -2
- package/dist/mcp/sdk/index.d.ts +2 -2
- package/dist/mcp/sdk/index.js +1 -1
- package/dist/{messages-D4XWuRTj.js → messages-ecPW_nOv.js} +1 -1
- package/dist/{model-messages-CKG0zwdF.js → model-messages-CkZSDDHP.js} +1 -1
- package/dist/{money-codec-uV5WbT60.js → money-codec-BJuS2zEW.js} +1 -1
- package/dist/next/index.d.ts +14 -14
- package/dist/next/index.js +6 -5
- package/dist/{operations-DbNAgo7E.d.ts → operations-DC3wU3Sy.d.ts} +1 -1
- package/dist/orpc/index.d.ts +4 -4
- package/dist/orpc/index.js +1 -1
- package/dist/otel/index.js +5 -5
- package/dist/{ports-Dwe0JqBI.d.ts → ports-BbBJVyS0.d.ts} +1 -1
- package/dist/{ports-CaVRXjxq.js → ports-DvpNseap.js} +1 -1
- package/dist/postgres/index.js +5 -4
- package/dist/{postgrest-executor-BFW4oWte.js → postgrest-executor-B_Uezhrm.js} +7 -3
- package/dist/powersync/index.d.ts +3 -3
- package/dist/powersync/index.js +1 -1
- package/dist/preset/index.d.ts +3 -3
- package/dist/{push-token-C0dwbMZF.d.ts → push-token-CPJfPFa2.d.ts} +1 -1
- package/dist/query/index.d.ts +1 -1
- package/dist/query/index.js +1 -1
- package/dist/{rate-limit-BPuUWz4U.js → rate-limit-fZ_d8gSE.js} +4 -5
- 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-GgLZ66FU.js → react-_D_CeZMk.js} +3 -3
- package/dist/react-router/index.d.ts +3 -3
- package/dist/react-router/index.js +2 -2
- package/dist/{read-set-BnKnofIj.js → read-set-B1sDib5O.js} +1 -1
- package/dist/realtime/index.d.ts +3 -3
- package/dist/realtime/index.js +2 -2
- package/dist/{record-bindings-DkBJpC5A.js → record-bindings-Z51mGfhB.js} +1 -1
- package/dist/{record-form-eiqGbx9J.d.ts → record-form-BbZpwsEi.d.ts} +1 -1
- package/dist/records/index.d.ts +7 -7
- package/dist/records/index.js +3 -3
- package/dist/{resource-execute-CWfzJmUd.d.ts → resource-execute-CUG6xUuh.d.ts} +1 -1
- package/dist/{resource-types-BdGAUbKw.d.ts → resource-types-DjZ91WKA.d.ts} +1 -1
- package/dist/{resources-EeQWFMR8.d.ts → resources-6Ncdt9XT.d.ts} +1 -1
- package/dist/{rows-EGAbu7MG.js → rows-BdqXmiB-.js} +2 -2
- package/dist/{rows-Bh9QemqN.js → rows-jijHLVE_.js} +1 -1
- package/dist/{rrule-79K2c3Nr.js → rrule-C9Ot6ax8.js} +1 -1
- package/dist/{sales-lines-CP4Z_LyE.js → sales-lines-DO7oRu1o.js} +3 -3
- package/dist/{sales-shared-BKXXA5qV.js → sales-shared-BuTA8JK7.js} +2 -2
- package/dist/{schemas-BSTNfGsQ.js → schemas-CLOTvdsC.js} +1 -1
- package/dist/{scores-CsgM-dw7.js → scores-bY2Is0kx.js} +2 -2
- package/dist/server/index.d.ts +7 -7
- package/dist/server/index.js +5 -5
- package/dist/{server-types-rmq2QzsD.d.ts → server-types-BH6AjDBN.d.ts} +1 -1
- package/dist/{session-CpwxyojG.d.ts → session-Y5SSYO2C.d.ts} +1 -1
- package/dist/{shared-C47zAh2A.js → shared-BeHTi8Fu.js} +1 -1
- package/dist/{sign-in-BTaRWS-L.js → sign-in-1FJiXXyG.js} +5 -5
- package/dist/{signatures-CNcoq392.js → signatures-CX1b4WHa.js} +2 -2
- package/dist/{signers-BAEzvTJ0.d.ts → signers-BKgmVh6A.d.ts} +2 -2
- package/dist/{signing-keys-DqI-gB_C.js → signing-keys-CWtpMask.js} +3 -3
- package/dist/solid/index.d.ts +6 -6
- package/dist/solid-start/index.d.ts +3 -3
- package/dist/solid-start/index.js +2 -2
- package/dist/spec/index.d.ts +1 -1
- package/dist/spec/index.js +1 -1
- package/dist/{spec-DTWkHzYZ.js → spec-BMvCCNnd.js} +1 -1
- package/dist/sql/index.d.ts +4 -4
- package/dist/sql/index.js +1 -1
- package/dist/{sql-B0wb7XA5.js → sql-BjjgwJKg.js} +9668 -6251
- package/dist/{sql-BPbbPzRJ.js → sql-CYt7EhH0.js} +2 -2
- package/dist/sqlite/index.d.ts +1 -1
- package/dist/sqlite/index.js +1 -1
- package/dist/{sso-Co2TbnEy.js → sso-DdDpJQzw.js} +2 -2
- package/dist/ssr/index.d.ts +1 -1
- package/dist/storage/index.js +4 -9
- package/dist/storage-api-Dg78Wqsg.js +10 -0
- package/dist/streams/index.js +1 -2
- package/dist/{subject-readers-F1xvRY-d.js → subject-readers-CeeJJOQ4.js} +1 -1
- package/dist/svelte/index.d.ts +6 -6
- package/dist/sveltekit/index.d.ts +4 -4
- package/dist/sveltekit/index.js +2 -2
- package/dist/{table-schema-CD8cJz_M.js → table-schema-C80xItaV.js} +1 -1
- package/dist/{tags-CkO2erRP.d.ts → tags-Cjtcp5cN.d.ts} +1 -1
- package/dist/tanstack-db/index.d.ts +1 -1
- package/dist/tanstack-start/index.d.ts +3 -3
- package/dist/tanstack-start/index.js +2 -2
- package/dist/{temporal-DLZlWbOi.js → temporal-Dbo0fLzc.js} +12 -2
- package/dist/{temporal-required-Dy0GGD8E.js → temporal-required-DcLhnDhQ.js} +1 -1
- package/dist/{tenant-BXNF10H5.d.ts → tenant-BHvMFNXl.d.ts} +1 -1
- package/dist/testing/index.d.ts +9 -9
- package/dist/testing/index.js +8 -8
- package/dist/{timeline-CHtoY7NO.d.ts → timeline-CEzj9v1z.d.ts} +3 -3
- package/dist/{topic-BNkdk7qe.d.ts → topic-gTVjLGTk.d.ts} +2 -2
- package/dist/{types-DsRfiQ0v.d.ts → types-yj8VF4oY.d.ts} +5 -0
- package/dist/{undo-B3FQvuAd.js → undo-BbftL9-4.js} +2 -2
- package/dist/vercel-connect/index.js +1 -1
- package/dist/{verify-ZLFUdlqE.js → verify-7EucfCnv.js} +3 -3
- package/dist/{verify-CJxqZQdd.d.ts → verify-B0KLBb3j.d.ts} +1 -1
- package/dist/vue/index.d.ts +6 -6
- package/dist/{watch-topic-wl74gws-.d.ts → watch-topic-C6HhbnVz.d.ts} +1 -1
- package/dist/wire-ChYn1g21.js +91 -0
- package/dist/workflow-sdk/builder/index.d.ts +2 -2
- package/dist/workflow-sdk/builder/index.js +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/skills/better-supabase/references/ui-recipes.md +1 -1
- package/dist/block-transport-PNea4lfQ.js +0 -84
- package/dist/cli/add-Bcw12jts.js +0 -1
- package/dist/cli/powersync-CG3Bp6FD.js +0 -1
- package/dist/{topic-DXbA-jwr.js → topic-J9I3yu6f.js} +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as ok, t as AsyncResult } from "./result-ntFBW2p2.js";
|
|
2
|
-
import {
|
|
2
|
+
import { L as textOf } from "./block-helpers-B0f0ZVb5.js";
|
|
3
3
|
//#region src/core/block-subjects.ts
|
|
4
4
|
/** A row's subject columns as a `RecordRef`. */
|
|
5
5
|
function subjectRefOf(type, id) {
|
|
@@ -7,7 +7,7 @@ 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-
|
|
10
|
+
import { c as BlockOf } from "../../define-block-DCAiOrNX.js";
|
|
11
11
|
//#region src/blocks/access-requests/access-requests.d.ts
|
|
12
12
|
interface AccessRequestsOptions<S extends StandardSchemaV1 | undefined = undefined> extends BlockTemporalOptions {
|
|
13
13
|
readonly transport: BlockTransport;
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { t as temporal } from "../../temporal-required-
|
|
1
|
+
import { t as temporal } from "../../temporal-required-DcLhnDhQ.js";
|
|
2
2
|
import { t as AsyncResult } from "../../result-ntFBW2p2.js";
|
|
3
|
-
import { i as sqlTransport, r as rpcTransport, t as dbTransport } from "../../block-transport-PNea4lfQ.js";
|
|
4
3
|
import { t as accessRequestsSqlOptions } from "../../options-gUvfr3no.js";
|
|
5
|
-
import { A as
|
|
6
|
-
import { r as withBlockHooks } from "../../block-hooks-
|
|
4
|
+
import { A as recordsOf, L as textOf, O as recordOf, U as rpcTransport, V as dbTransport, W as sqlTransport, j as requiredInstant, n as applyTemporal, o as blockCall, w as optionalText } from "../../block-helpers-B0f0ZVb5.js";
|
|
5
|
+
import { r as withBlockHooks } from "../../block-hooks-DKtz0HRh.js";
|
|
7
6
|
import { n as event, t as defineEvents } from "../../event-map-CtPFhcOp.js";
|
|
8
|
-
import { c as withFields, n as blockFields, r as extraFieldsArg, t as allWithFields } from "../../block-fields-
|
|
7
|
+
import { c as withFields, n as blockFields, r as extraFieldsArg, t as allWithFields } from "../../block-fields-BjXgX_5c.js";
|
|
9
8
|
import { n as defineBlock } from "../../define-block-BGqOO8B3.js";
|
|
10
9
|
//#region src/blocks/access-requests/access-requests.ts
|
|
11
10
|
const STATUSES = [
|
|
@@ -10,7 +10,7 @@ import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport,
|
|
|
10
10
|
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-DZN2w69m.js";
|
|
11
11
|
import { f as AiFiles } from "../../types-Dr9wZgNy.js";
|
|
12
12
|
import { g as JobHandler } from "../../types-Czq9Xtpa.js";
|
|
13
|
-
import { Sn as EntitySchema, c as BlockOf } from "../../define-block-
|
|
13
|
+
import { Sn as EntitySchema, c as BlockOf } from "../../define-block-DCAiOrNX.js";
|
|
14
14
|
import { a as EngagementRecording, c as NoteTakerInput, d as Transcript, f as TranscriptSegment, i as EngagementNotesInput, l as Transcriber, n as EngagementActionItem, o as EngagementRecordingStatus, p as TranscriptSegmentInput, r as EngagementNotes, s as NoteTaker, t as ENGAGEMENT_TRANSCRIBE_QUEUE, u as TranscriberInput } from "../../recordings-BBSJt_YV.js";
|
|
15
15
|
//#region src/blocks/activities/activities.d.ts
|
|
16
16
|
/** A record an engagement is on. */
|
|
@@ -2,13 +2,12 @@ import { t as DbException } from "../../db-exception-Lngc1W49.js";
|
|
|
2
2
|
import { n as dbError } from "../../errors-BVFgt8BZ.js";
|
|
3
3
|
import { n as isRecord } from "../../guards-6F2bCtQR.js";
|
|
4
4
|
import { a as ok, r as err, t as AsyncResult } from "../../result-ntFBW2p2.js";
|
|
5
|
-
import { i as sqlTransport, r as rpcTransport, t as dbTransport } from "../../block-transport-PNea4lfQ.js";
|
|
6
5
|
import { t as activitiesSqlOptions } from "../../options-sU_zGkiV.js";
|
|
7
|
-
import { A as
|
|
8
|
-
import { i as wrapTransport, n as extendBlock, r as withBlockHooks } from "../../block-hooks-
|
|
9
|
-
import { n as entitySchema } from "../../entity-schema-
|
|
6
|
+
import { A as recordsOf, C as optionalInstant, L as textOf, O as recordOf, U as rpcTransport, V as dbTransport, W as sqlTransport, d as enumOrThrow, f as errorText, j as requiredInstant, m as instantArg, n as applyTemporal, o as blockCall, p as injectableOf, w as optionalText } from "../../block-helpers-B0f0ZVb5.js";
|
|
7
|
+
import { i as wrapTransport, n as extendBlock, r as withBlockHooks } from "../../block-hooks-DKtz0HRh.js";
|
|
8
|
+
import { n as entitySchema } from "../../entity-schema-B1YmMtP8.js";
|
|
10
9
|
import { n as event, t as defineEvents } from "../../event-map-CtPFhcOp.js";
|
|
11
|
-
import { n as blockFields } from "../../block-fields-
|
|
10
|
+
import { n as blockFields } from "../../block-fields-BjXgX_5c.js";
|
|
12
11
|
import { n as defineBlock } from "../../define-block-BGqOO8B3.js";
|
|
13
12
|
//#region src/blocks/activities/recordings.ts
|
|
14
13
|
/** The queue a recording's transcription job goes on, with the jobs block. */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Ct as Events, p as AgentEventData } 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
3
|
import { a as AgentSkill, c as AgentsOptions, i as AgentKnowledgeScope, l as NewAgent, n as AgentFields, o as AgentVisibility, r as AgentFilter, s as Agents, t as Agent, u as createAgents } from "../../agents-CMIB3802.js";
|
|
4
|
-
import { c as BlockOf } from "../../define-block-
|
|
4
|
+
import { c as BlockOf } from "../../define-block-DCAiOrNX.js";
|
|
5
5
|
//#region src/blocks/agents/events.d.ts
|
|
6
6
|
/** The events of the `agents` block: type to data. */
|
|
7
7
|
type AgentsEvents = {
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { n as isRecord } from "../../guards-6F2bCtQR.js";
|
|
2
2
|
import { t as AsyncResult } from "../../result-ntFBW2p2.js";
|
|
3
|
-
import { i as sqlTransport, r as rpcTransport, t as dbTransport } from "../../block-transport-PNea4lfQ.js";
|
|
4
3
|
import { t as agentsSqlOptions } from "../../options-fkShrmGQ.js";
|
|
5
|
-
import {
|
|
6
|
-
import { r as withBlockHooks } from "../../block-hooks-
|
|
4
|
+
import { A as recordsOf, C as optionalInstant, I as stringsOf, L as textOf, O as recordOf, U as rpcTransport, V as dbTransport, W as sqlTransport, h as instantOf, n as applyTemporal, o as blockCall, v as notFoundError, w as optionalText } from "../../block-helpers-B0f0ZVb5.js";
|
|
5
|
+
import { r as withBlockHooks } from "../../block-hooks-DKtz0HRh.js";
|
|
7
6
|
import { n as event, t as defineEvents } from "../../event-map-CtPFhcOp.js";
|
|
8
|
-
import { c as withFields, i as extraOf, n as blockFields, t as allWithFields } from "../../block-fields-
|
|
7
|
+
import { c as withFields, i as extraOf, n as blockFields, t as allWithFields } from "../../block-fields-BjXgX_5c.js";
|
|
9
8
|
import { n as defineBlock } from "../../define-block-BGqOO8B3.js";
|
|
10
9
|
//#region src/blocks/agents/agents.ts
|
|
11
10
|
const VISIBILITIES = /* @__PURE__ */ new Set([
|
|
@@ -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
2
|
import { a as AiCacheSetOptions, i as AiCacheOptions, n as AiCacheEntry, o as cacheKey, r as AiCacheKind, s as createAiCache, t as AiCache } from "../../ai-cache-2LGgaT7F.js";
|
|
3
|
-
import { c as BlockOf } from "../../define-block-
|
|
3
|
+
import { c as BlockOf } from "../../define-block-DCAiOrNX.js";
|
|
4
4
|
//#region src/blocks/ai-cache/manifest.d.ts
|
|
5
5
|
/** The `ai-cache` block's manifest (ADR 0029). */
|
|
6
6
|
export declare const aiCacheBlock: BlockOf<"ai-cache", typeof createAiCache>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { i as sqlTransport, r as rpcTransport, t as dbTransport } from "../../block-transport-PNea4lfQ.js";
|
|
2
1
|
import { t as aiCacheSqlOptions } from "../../options-DtAJxfHS.js";
|
|
2
|
+
import { U as rpcTransport, V as dbTransport, W as sqlTransport } from "../../block-helpers-B0f0ZVb5.js";
|
|
3
3
|
import { n as defineBlock } from "../../define-block-BGqOO8B3.js";
|
|
4
|
-
import { n as createAiCache, t as cacheKey } from "../../ai-cache-
|
|
4
|
+
import { n as createAiCache, t as cacheKey } from "../../ai-cache-BFRKxgZ4.js";
|
|
5
5
|
//#region src/blocks/ai-cache/manifest.ts
|
|
6
6
|
/** The `ai-cache` block's manifest (ADR 0029). */
|
|
7
7
|
const aiCacheBlock = defineBlock({
|
|
@@ -3,10 +3,10 @@ import { Ct as Events, g as AiToolEventData, m as AiChatEventData } from "../../
|
|
|
3
3
|
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
|
|
4
4
|
import { a as AiMessagePart, c as AiReasoningPart, d as AiTextPart, f as AiToolApprovalPart, g as isAiMessage, h as aiMessageSchema, i as AiMessage, l as AiSourcePart, m as AiToolResultPart, n as AiDataPart, o as AiMessagePartType, p as AiToolCallPart, r as AiFilePart, s as AiMessageRole, t as AI_MESSAGE_SCHEMA_ID, u as AiStepPart } from "../../message-Bg4TKA12.js";
|
|
5
5
|
import { $ as AiRunStep, A as AiStoredMessageStatus, B as AiSandbox, C as AiProject, D as AiSaveResult, E as AiRunStatus, F as AiUserMessageTrigger, G as AiHarnessSession, H as AiSandboxStopper, I as SharedAiChat, J as AiHarnessStatus, K as AiHarnessSessionPatch, L as aiChatListTopic, M as AiToolApproval, N as AiToolApprovalRequest, O as AiShareLink, P as AiToolPolicy, Q as AiRunState, R as aiChatTopic, S as AiPendingInputRequest, T as AiRunRelease, U as AiSandboxes, V as AiSandboxStatus, W as NewAiSandbox, X as AiRun, Y as AiPendingApproval, Z as AiRunQuery, _ as AiModerationAction, a as AiChatInput, b as AiModerationStage, c as AiChatPatch, d as AiChatShare, et as AiRunStepInput, f as AiChatVisibility, g as AiModelInput, h as AiModel, i as AiChat, j as AiStreamClaim, k as AiStoredMessage, l as AiChatQuery, m as AiMessageSibling, n as AiApprovalDecision, nt as AiRuns, o as AiChatOptions, p as AiFeedback, q as AiHarnessSessions, r as AiAssistantMessageOptions, rt as createHarnessSessions, s as AiChatPage, t as AiAppendResult, tt as AiRunStepStatus, u as AiChatRecord, v as AiModerationEvent, w as AiProjectInput, x as AiPendingInput, y as AiModerationInput, z as createAiChat } from "../../ai-chat-BCaKsvLW.js";
|
|
6
|
-
import { c as BlockOf } from "../../define-block-
|
|
7
|
-
import { p as SubscriptionStatus } from "../../topic-
|
|
8
|
-
import { n as TopicPort } from "../../watch-topic-
|
|
9
|
-
import { n as Controller, t as AuthPort } from "../../controller-
|
|
6
|
+
import { c as BlockOf } from "../../define-block-DCAiOrNX.js";
|
|
7
|
+
import { p as SubscriptionStatus } from "../../topic-gTVjLGTk.js";
|
|
8
|
+
import { n as TopicPort } from "../../watch-topic-C6HhbnVz.js";
|
|
9
|
+
import { n as Controller, t as AuthPort } from "../../controller-B6vWdKSa.js";
|
|
10
10
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
11
11
|
//#region src/core/contracts/ai-message.d.ts
|
|
12
12
|
/**
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import { n as isRecord } from "../../guards-6F2bCtQR.js";
|
|
2
2
|
import { a as ok, t as AsyncResult } from "../../result-ntFBW2p2.js";
|
|
3
|
-
import { i as sqlTransport, r as rpcTransport, t as dbTransport } from "../../block-transport-PNea4lfQ.js";
|
|
4
3
|
import { t as aiChatSqlOptions } from "../../options-BhsdveDk.js";
|
|
5
4
|
import { t as AI_MESSAGE_PART_TYPES } from "../../ai-message-DfaP8sis.js";
|
|
6
5
|
import { n as runStateOf } from "../../run-state-CgBKzYMW.js";
|
|
7
6
|
import { n as whileSignedIn, t as defineController } from "../../controller-BEliOBOv.js";
|
|
8
|
-
import {
|
|
9
|
-
import { r as withBlockHooks } from "../../block-hooks-
|
|
7
|
+
import { A as recordsOf, C as optionalInstant, I as stringsOf, L as textOf, O as recordOf, T as pageOf, U as rpcTransport, V as dbTransport, W as sqlTransport, f as errorText, h as instantOf, n as applyTemporal, o as blockCall, w as optionalText, x as oneOf, z as toInstant } from "../../block-helpers-B0f0ZVb5.js";
|
|
8
|
+
import { r as withBlockHooks } from "../../block-hooks-DKtz0HRh.js";
|
|
10
9
|
import { n as event, t as defineEvents } from "../../event-map-CtPFhcOp.js";
|
|
11
|
-
import { c as withFields, i as extraOf, n as blockFields, t as allWithFields } from "../../block-fields-
|
|
10
|
+
import { c as withFields, i as extraOf, n as blockFields, t as allWithFields } from "../../block-fields-BjXgX_5c.js";
|
|
12
11
|
import { n as defineBlock } from "../../define-block-BGqOO8B3.js";
|
|
13
12
|
import { a as AI_MESSAGE_SCHEMA_ID, i as validateMessage, n as pathToHistory, o as aiMessageSchema, r as repairDanglingToolCalls, s as isAiMessage, t as INTERRUPTED_TOOL_OUTPUT } from "../../history-GH1HJWQV.js";
|
|
14
13
|
//#region src/blocks/ai-chat/rows.ts
|
|
@@ -2,7 +2,7 @@ import { t as StandardSchemaV1 } from "../../standard-DBV730sF.js";
|
|
|
2
2
|
import { r as FieldsOf } from "../../block-fields-BE7pInWZ.js";
|
|
3
3
|
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
|
|
4
4
|
import { _ as NewAiFile, a as AiDocumentWithContent, c as AiFileSource, d as AiFileUpload, f as AiFiles, g as NewAiDocument, h as AiSuggestion, i as AiDocumentVersion, l as AiFileStatus, m as AiProviderFile, n as AiDocumentEdit, o as AiFile, p as AiFilesOptions, r as AiDocumentKind, s as AiFileBucket, t as AiDocument, u as AiFileStorage, v as StoredAiFile } from "../../types-Dr9wZgNy.js";
|
|
5
|
-
import { c as BlockOf } from "../../define-block-
|
|
5
|
+
import { c as BlockOf } from "../../define-block-DCAiOrNX.js";
|
|
6
6
|
//#region src/blocks/ai-files/ai-files.d.ts
|
|
7
7
|
/** The URL a message stores for a file: `supabase-storage://{bucket}/{path}`. */
|
|
8
8
|
export declare function aiFileUrl(file: Pick<AiFile, "bucket" | "path">): string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { i as sqlTransport, r as rpcTransport, t as dbTransport } from "../../block-transport-PNea4lfQ.js";
|
|
2
1
|
import { t as aiFilesSqlOptions } from "../../options-BawzwlmC.js";
|
|
2
|
+
import { U as rpcTransport, V as dbTransport, W as sqlTransport } from "../../block-helpers-B0f0ZVb5.js";
|
|
3
3
|
import { n as defineBlock } from "../../define-block-BGqOO8B3.js";
|
|
4
|
-
import { n as createAiFiles, r as parseAiFileUrl, t as aiFileUrl } from "../../ai-files-
|
|
4
|
+
import { n as createAiFiles, r as parseAiFileUrl, t as aiFileUrl } from "../../ai-files-m_2z3rH1.js";
|
|
5
5
|
//#region src/blocks/ai-files/manifest.ts
|
|
6
6
|
/** The `ai-files` block's manifest (ADR 0029). */
|
|
7
7
|
const aiFilesBlock = defineBlock({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Ct as Events, h as AiProviderKeyEventData } 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
3
|
import { a as AiBatchItemStatus, c as AiKeys, d as AiProviderKeyInput, f as NewAiBatch, i as AiBatchItemInput, l as AiKeysOptions, n as AiBatchCounts, o as AiBatchPatch, p as ResolvedProviderKey, r as AiBatchItem, s as AiBatchStatus, t as AiBatch, u as AiProviderKey } from "../../types-EO2crSX_.js";
|
|
4
|
-
import { c as BlockOf } from "../../define-block-
|
|
4
|
+
import { c as BlockOf } from "../../define-block-DCAiOrNX.js";
|
|
5
5
|
//#region src/blocks/ai-keys/ai-keys.d.ts
|
|
6
6
|
/** Per-tenant provider keys and provider batch jobs. */
|
|
7
7
|
export declare function createAiKeys(options: AiKeysOptions): AiKeys;
|
|
@@ -1,10 +1,9 @@
|
|
|
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";
|
|
5
4
|
import { t as aiKeysSqlOptions } from "../../options-D0Y6ZMe8.js";
|
|
6
|
-
import {
|
|
7
|
-
import { r as withBlockHooks } from "../../block-hooks-
|
|
5
|
+
import { A as recordsOf, C as optionalInstant, L as textOf, O as recordOf, T as pageOf, U as rpcTransport, V as dbTransport, W as sqlTransport, h as instantOf, k as recordOrEmpty, l as credentialRefOf, m as instantArg, n as applyTemporal, o as blockCall, w as optionalText, x as oneOf } from "../../block-helpers-B0f0ZVb5.js";
|
|
6
|
+
import { r as withBlockHooks } from "../../block-hooks-DKtz0HRh.js";
|
|
8
7
|
import { n as credentialRefInTenant, r as foreignCredentialRef } from "../../provider-B6g7rBZX.js";
|
|
9
8
|
import { n as event, t as defineEvents } from "../../event-map-CtPFhcOp.js";
|
|
10
9
|
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-DCAiOrNX.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-7uQNMXve.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>, {
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
import { t as DbException } from "../../db-exception-Lngc1W49.js";
|
|
2
2
|
import { n as dbError } from "../../errors-BVFgt8BZ.js";
|
|
3
3
|
import { n as isRecord } from "../../guards-6F2bCtQR.js";
|
|
4
|
-
import { s as nowInstant } from "../../temporal-
|
|
4
|
+
import { s as nowInstant } from "../../temporal-Dbo0fLzc.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";
|
|
7
6
|
import { t as aiSchedulesSqlOptions } from "../../options-qtETCHzW.js";
|
|
8
7
|
import { n as runStateOf } from "../../run-state-CgBKzYMW.js";
|
|
9
|
-
import { C as
|
|
10
|
-
import { r as withBlockHooks } from "../../block-hooks-
|
|
11
|
-
import { n as nextCronRun, t as assertCron } from "../../cron-
|
|
12
|
-
import { c as withFields, i as extraOf, n as blockFields, t as allWithFields } from "../../block-fields-
|
|
8
|
+
import { A as recordsOf, C as optionalInstant, L as textOf, O as recordOf, U as rpcTransport, V as dbTransport, W as sqlTransport, f as errorText, h as instantOf, n as applyTemporal, o as blockCall, p as injectableOf, w as optionalText } from "../../block-helpers-B0f0ZVb5.js";
|
|
9
|
+
import { r as withBlockHooks } from "../../block-hooks-DKtz0HRh.js";
|
|
10
|
+
import { n as nextCronRun, t as assertCron } from "../../cron-DdT4ti8a.js";
|
|
11
|
+
import { c as withFields, i as extraOf, n as blockFields, t as allWithFields } from "../../block-fields-BjXgX_5c.js";
|
|
13
12
|
import { n as defineBlock } from "../../define-block-BGqOO8B3.js";
|
|
14
13
|
//#region src/blocks/ai-schedules/ai-schedules.ts
|
|
15
14
|
const STATUSES = [
|
|
@@ -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-DCAiOrNX.js";
|
|
11
|
+
import { p as SubscriptionStatus } from "../../topic-gTVjLGTk.js";
|
|
12
|
+
import { n as TopicPort } from "../../watch-topic-C6HhbnVz.js";
|
|
13
|
+
import { n as Controller, t as AuthPort } from "../../controller-B6vWdKSa.js";
|
|
14
14
|
//#region src/blocks/announcements/announcements.d.ts
|
|
15
15
|
type AnnouncementSeverity = "info" | "success" | "warning" | "critical";
|
|
16
16
|
/**
|
|
@@ -1,11 +1,10 @@
|
|
|
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";
|
|
3
2
|
import { t as announcementsSqlOptions } from "../../options-Cucv6sWP.js";
|
|
4
3
|
import { n as whileSignedIn, t as defineController } from "../../controller-BEliOBOv.js";
|
|
5
|
-
import {
|
|
6
|
-
import { r as withBlockHooks } from "../../block-hooks-
|
|
4
|
+
import { A as recordsOf, C as optionalInstant, I as stringsOf, L as textOf, O as recordOf, U as rpcTransport, V as dbTransport, W as sqlTransport, m as instantArg, n as applyTemporal, o as blockCall, w as optionalText, z as toInstant } from "../../block-helpers-B0f0ZVb5.js";
|
|
5
|
+
import { r as withBlockHooks } from "../../block-hooks-DKtz0HRh.js";
|
|
7
6
|
import { n as event, t as defineEvents } from "../../event-map-CtPFhcOp.js";
|
|
8
|
-
import { c as withFields, i as extraOf, n as blockFields, t as allWithFields } from "../../block-fields-
|
|
7
|
+
import { c as withFields, i as extraOf, n as blockFields, t as allWithFields } from "../../block-fields-BjXgX_5c.js";
|
|
9
8
|
import { n as defineBlock } from "../../define-block-BGqOO8B3.js";
|
|
10
9
|
//#region src/blocks/announcements/announcements.ts
|
|
11
10
|
const SEVERITIES = /* @__PURE__ */ new Set([
|
|
@@ -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-DCAiOrNX.js";
|
|
7
|
+
import { n as Controller, t as AuthPort } from "../../controller-B6vWdKSa.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,15 +1,14 @@
|
|
|
1
1
|
import { n as dbError } from "../../errors-BVFgt8BZ.js";
|
|
2
|
-
import { t as temporal } from "../../temporal-required-
|
|
2
|
+
import { t as temporal } from "../../temporal-required-DcLhnDhQ.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";
|
|
5
4
|
import { o as problemResponse } from "../../problem-Bf0cJ7tk.js";
|
|
6
5
|
import { t as apiKeysSqlOptions } from "../../options-DNgSwhsm.js";
|
|
7
6
|
import { n as whileSignedIn, t as defineController } from "../../controller-BEliOBOv.js";
|
|
8
|
-
import {
|
|
9
|
-
import { r as withBlockHooks } from "../../block-hooks-
|
|
7
|
+
import { A as recordsOf, C as optionalInstant, I as stringsOf, L as textOf, O as recordOf, P as sha256Hex, U as rpcTransport, V as dbTransport, W as sqlTransport, m as instantArg, n as applyTemporal, o as blockCall, w as optionalText } from "../../block-helpers-B0f0ZVb5.js";
|
|
8
|
+
import { r as withBlockHooks } from "../../block-hooks-DKtz0HRh.js";
|
|
10
9
|
import { n as event, t as defineEvents } from "../../event-map-CtPFhcOp.js";
|
|
11
10
|
import { a as withAuthMode, o as withJwtClaims, s as withUserClaims } from "../../claims-DTy6R6my.js";
|
|
12
|
-
import { c as withFields, n as blockFields, r as extraFieldsArg, t as allWithFields } from "../../block-fields-
|
|
11
|
+
import { c as withFields, n as blockFields, r as extraFieldsArg, t as allWithFields } from "../../block-fields-BjXgX_5c.js";
|
|
13
12
|
import { n as defineBlock } from "../../define-block-BGqOO8B3.js";
|
|
14
13
|
import { defineComposite, defineMiddleware } from "@supabase/middleware";
|
|
15
14
|
//#region src/blocks/api-keys/api-keys.ts
|
|
@@ -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-DCAiOrNX.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,13 +1,12 @@
|
|
|
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";
|
|
4
3
|
import { t as approvalsSqlOptions } from "../../options-D_9Vxx7f.js";
|
|
5
|
-
import { A as
|
|
6
|
-
import { r as withBlockHooks } from "../../block-hooks-
|
|
4
|
+
import { A as recordsOf, L as textOf, O as recordOf, U as rpcTransport, V as dbTransport, W as sqlTransport, j as requiredInstant, n as applyTemporal, o as blockCall, w as optionalText } from "../../block-helpers-B0f0ZVb5.js";
|
|
5
|
+
import { r as withBlockHooks } from "../../block-hooks-DKtz0HRh.js";
|
|
7
6
|
import { n as event, t as defineEvents } from "../../event-map-CtPFhcOp.js";
|
|
8
|
-
import { c as withFields, n as blockFields, r as extraFieldsArg, t as allWithFields } from "../../block-fields-
|
|
7
|
+
import { c as withFields, n as blockFields, r as extraFieldsArg, t as allWithFields } from "../../block-fields-BjXgX_5c.js";
|
|
9
8
|
import { n as defineBlock } from "../../define-block-BGqOO8B3.js";
|
|
10
|
-
import { i as subjectRefOf } from "../../block-subjects-
|
|
9
|
+
import { i as subjectRefOf } from "../../block-subjects-DFSuFY1a.js";
|
|
11
10
|
import { t as requireOrganization } from "../../block-tenant-DHp7subc.js";
|
|
12
11
|
//#region src/blocks/approvals/approvals.ts
|
|
13
12
|
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-DCAiOrNX.js";
|
|
11
11
|
//#region src/blocks/assets/assets.d.ts
|
|
12
12
|
interface AssetsOptions extends BlockTemporalOptions, BlockTenantOptions {
|
|
13
13
|
readonly transport: BlockTransport;
|
|
@@ -1,9 +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";
|
|
3
2
|
import { t as assetsSqlOptions } from "../../options-BOCRbzh3.js";
|
|
4
|
-
import { A as
|
|
5
|
-
import { i as wrapTransport, n as extendBlock, r as withBlockHooks } from "../../block-hooks-
|
|
6
|
-
import { t as defineRecordBinding } from "../../record-bindings-
|
|
3
|
+
import { A as recordsOf, C as optionalInstant, L as textOf, O as recordOf, U as rpcTransport, V as dbTransport, W as sqlTransport, d as enumOrThrow, j as requiredInstant, m as instantArg, n as applyTemporal, o as blockCall, w as optionalText } from "../../block-helpers-B0f0ZVb5.js";
|
|
4
|
+
import { i as wrapTransport, n as extendBlock, r as withBlockHooks } from "../../block-hooks-DKtz0HRh.js";
|
|
5
|
+
import { t as defineRecordBinding } from "../../record-bindings-Z51mGfhB.js";
|
|
7
6
|
import { n as event, t as defineEvents } from "../../event-map-CtPFhcOp.js";
|
|
8
7
|
import { n as defineBlock } from "../../define-block-BGqOO8B3.js";
|
|
9
8
|
import { t as requireOrganization } from "../../block-tenant-DHp7subc.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-DCAiOrNX.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,10 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { n as entitySchema } from "../../entity-schema-BDv6w-OQ.js";
|
|
1
|
+
import { A as recordsOf, C as optionalInstant, L as textOf, O as recordOf, U as rpcTransport, V as dbTransport, W as sqlTransport, d as enumOrThrow, j as requiredInstant, n as applyTemporal, o as blockCall } from "../../block-helpers-B0f0ZVb5.js";
|
|
2
|
+
import { i as wrapTransport, n as extendBlock, r as withBlockHooks } from "../../block-hooks-DKtz0HRh.js";
|
|
3
|
+
import { n as entitySchema } from "../../entity-schema-B1YmMtP8.js";
|
|
5
4
|
import { n as event, t as defineEvents } from "../../event-map-CtPFhcOp.js";
|
|
6
5
|
import { n as defineBlock } from "../../define-block-BGqOO8B3.js";
|
|
7
|
-
import { t as conditionsOf } from "../../automations-
|
|
6
|
+
import { t as conditionsOf } from "../../automations-BMuqwZZn.js";
|
|
8
7
|
//#region src/blocks/assignment/assignment.ts
|
|
9
8
|
const STRATEGIES = ["round_robin", "weighted"];
|
|
10
9
|
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-DCAiOrNX.js";
|
|
6
|
+
import { n as Controller } from "../../controller-B6vWdKSa.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,15 +1,14 @@
|
|
|
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";
|
|
5
4
|
import { t as attachmentsSqlOptions } from "../../options-BxpLtyk-.js";
|
|
6
5
|
import { t as defineController } from "../../controller-BEliOBOv.js";
|
|
7
|
-
import {
|
|
8
|
-
import { n as entitySchema } from "../../entity-schema-
|
|
9
|
-
import { i as recordRowInput, t as defineRecordBinding } from "../../record-bindings-
|
|
6
|
+
import { U as rpcTransport, V as dbTransport, W as sqlTransport, o as blockCall, w as optionalText } from "../../block-helpers-B0f0ZVb5.js";
|
|
7
|
+
import { n as entitySchema } from "../../entity-schema-B1YmMtP8.js";
|
|
8
|
+
import { i as recordRowInput, t as defineRecordBinding } from "../../record-bindings-Z51mGfhB.js";
|
|
10
9
|
import { n as event, t as defineEvents } from "../../event-map-CtPFhcOp.js";
|
|
11
10
|
import { n as defineBlock } from "../../define-block-BGqOO8B3.js";
|
|
12
|
-
import { a as createObjectScanner, i as createAttachments, n as attachmentVersionOf, o as stored, r as createAttachmentScanner } from "../../attachments-
|
|
11
|
+
import { a as createObjectScanner, i as createAttachments, n as attachmentVersionOf, o as stored, r as createAttachmentScanner } from "../../attachments-BXbLnNxm.js";
|
|
13
12
|
//#region src/blocks/attachments/sweep.ts
|
|
14
13
|
function queuedOf(value) {
|
|
15
14
|
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 {
|
|
11
|
-
import { c as BlockOf } from "../../define-block-
|
|
10
|
+
import { Yt as WhereInput, t as BetterSupabase } from "../../define-Lf6rI2QN.js";
|
|
11
|
+
import { c as BlockOf } from "../../define-block-DCAiOrNX.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-XYfUZb0j.js";
|
|
14
|
+
import { n as Controller, t as AuthPort } from "../../controller-B6vWdKSa.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-sgrUjA3U.js";
|
|
17
17
|
//#region src/blocks/audit/audit.d.ts
|
|
18
18
|
interface PurgeAuditLogOptions extends BlockTemporalOptions {
|
|
19
19
|
/**
|
|
@@ -1,23 +1,22 @@
|
|
|
1
1
|
import { t as DbException } from "../../db-exception-Lngc1W49.js";
|
|
2
2
|
import { n as dbError } from "../../errors-BVFgt8BZ.js";
|
|
3
3
|
import { n as isRecord } from "../../guards-6F2bCtQR.js";
|
|
4
|
-
import { s as nowInstant } from "../../temporal-
|
|
5
|
-
import { t as temporal } from "../../temporal-required-
|
|
4
|
+
import { s as nowInstant } from "../../temporal-Dbo0fLzc.js";
|
|
5
|
+
import { t as temporal } from "../../temporal-required-DcLhnDhQ.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";
|
|
9
7
|
import { t as base64ToText } from "../../base64-B9Wlsdj7.js";
|
|
10
8
|
import { t as SPEC_PINS } from "../../spec-pins-D3zDek-u.js";
|
|
9
|
+
import { i as sqlIdent } from "../../template-Drgg3v2J.js";
|
|
11
10
|
import { t as MAX_BATCH } from "../../batch-limit-DKVQDz4o.js";
|
|
12
11
|
import { t as auditSqlOptions } from "../../options-BQyrZjwM.js";
|
|
13
12
|
import { n as whileSignedIn, t as defineController } from "../../controller-BEliOBOv.js";
|
|
14
|
-
import {
|
|
15
|
-
import { r as withBlockHooks } from "../../block-hooks-
|
|
13
|
+
import { A as recordsOf, C as optionalInstant, I as stringsOf, L as textOf, M as run, N as seconds, O as recordOf, T as pageOf, U as rpcTransport, V as dbTransport, W as sqlTransport, c as chunksOf, i as batchResultsOf, m as instantArg, n as applyTemporal, o as blockCall, w as optionalText, z as toInstant } from "../../block-helpers-B0f0ZVb5.js";
|
|
14
|
+
import { r as withBlockHooks } from "../../block-hooks-DKtz0HRh.js";
|
|
16
15
|
import { r as toCsv } from "../../csv-2rXGPNtP.js";
|
|
17
16
|
import { n as event, t as defineEvents } from "../../event-map-CtPFhcOp.js";
|
|
18
17
|
import { n as defineBlock } from "../../define-block-BGqOO8B3.js";
|
|
19
|
-
import { i as undoToken } from "../../undo-
|
|
20
|
-
import { n as defineListQuery } from "../../list-query-
|
|
18
|
+
import { i as undoToken } from "../../undo-BbftL9-4.js";
|
|
19
|
+
import { n as defineListQuery } from "../../list-query-BnpA2BDg.js";
|
|
21
20
|
//#region src/blocks/audit/audit.ts
|
|
22
21
|
function sqlPurgeCalls(sql) {
|
|
23
22
|
return {
|
|
@@ -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-DCAiOrNX.js";
|
|
11
|
+
import { n as Controller, t as AuthPort } from "../../controller-B6vWdKSa.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-DBgMck5U.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
|
-
import { t as FILTER_OPERATORS } from "../../filter-query-
|
|
2
|
+
import { t as FILTER_OPERATORS } from "../../filter-query-CQ6d5GnQ.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";
|
|
5
4
|
import { t as automationsSqlOptions } from "../../options-DcHl59RC.js";
|
|
6
5
|
import { n as whileSignedIn, t as defineController } from "../../controller-BEliOBOv.js";
|
|
7
|
-
import {
|
|
6
|
+
import { U as rpcTransport, V as dbTransport, W as sqlTransport } from "../../block-helpers-B0f0ZVb5.js";
|
|
7
|
+
import { i as wrapTransport, n as extendBlock, r as withBlockHooks } from "../../block-hooks-DKtz0HRh.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-BBm49w-E.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-BMuqwZZn.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-DCAiOrNX.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,13 +1,12 @@
|
|
|
1
|
-
import { t as temporal } from "../../temporal-required-
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { t as defineRecordBinding } from "../../record-bindings-DkBJpC5A.js";
|
|
1
|
+
import { t as temporal } from "../../temporal-required-DcLhnDhQ.js";
|
|
2
|
+
import { A as recordsOf, L as textOf, O as recordOf, U as rpcTransport, V as dbTransport, W as sqlTransport, j as requiredInstant, m as instantArg, n as applyTemporal, o as blockCall, w as optionalText } from "../../block-helpers-B0f0ZVb5.js";
|
|
3
|
+
import { i as wrapTransport, n as extendBlock, r as withBlockHooks } from "../../block-hooks-DKtz0HRh.js";
|
|
4
|
+
import { n as entitySchema, r as moneyField } from "../../entity-schema-B1YmMtP8.js";
|
|
5
|
+
import { t as defineRecordBinding } from "../../record-bindings-Z51mGfhB.js";
|
|
7
6
|
import { n as event, t as defineEvents } from "../../event-map-CtPFhcOp.js";
|
|
8
7
|
import { n as defineBlock } from "../../define-block-BGqOO8B3.js";
|
|
9
8
|
import { t as requireOrganization } from "../../block-tenant-DHp7subc.js";
|
|
10
|
-
import { i as moneyOf, t as amountText } from "../../money-codec-
|
|
9
|
+
import { i as moneyOf, t as amountText } from "../../money-codec-BJuS2zEW.js";
|
|
11
10
|
//#region src/blocks/billable-time/billable-time.ts
|
|
12
11
|
function optional(key, value) {
|
|
13
12
|
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-DCAiOrNX.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-B6vWdKSa.js";
|
|
13
|
+
import { d as stripeInboxVerify, f as verifyStripeWebhook, u as signStripeWebhook } from "../../verify-B0KLBb3j.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 = {
|