better-supabase 0.40.0 → 0.42.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/{agents-BwUHtvD6.d.ts → agents-BAiLeoR-.d.ts} +3 -3
- package/dist/{ai-cache-CPOP2PYz.d.ts → ai-cache-B94R1da7.d.ts} +3 -3
- package/dist/{ai-chat-BZhfCHHr.d.ts → ai-chat-rQ7Ftq9W.d.ts} +3 -3
- package/dist/{ai-schedules-ChJkI2jo.d.ts → ai-schedules-DIiPmFgn.d.ts} +4 -4
- package/dist/ai-sdk/agents/index.d.ts +6 -6
- package/dist/ai-sdk/batches/index.d.ts +3 -3
- package/dist/ai-sdk/cache/index.d.ts +1 -1
- package/dist/ai-sdk/chat/index.d.ts +2 -2
- package/dist/ai-sdk/embeddings/index.d.ts +2 -2
- package/dist/ai-sdk/files/index.d.ts +1 -1
- package/dist/ai-sdk/index.d.ts +5 -5
- package/dist/ai-sdk/mcp/index.d.ts +1 -1
- package/dist/ai-sdk/memory/index.d.ts +3 -3
- package/dist/ai-sdk/workflow/index.d.ts +3 -3
- package/dist/{api-keys-BncNDlWG.d.ts → api-keys-U3JQ8IlM.d.ts} +2 -2
- package/dist/{app-tables-jaQmdgAM.d.ts → app-tables-DGgCgRwq.d.ts} +1 -1
- package/dist/{approvals-CXW3yFWZ.d.ts → approvals-CYbTzQ7v.d.ts} +112 -13
- package/dist/{approvals-D8gR1R8R.js → approvals-cyL5CmU7.js} +49 -19
- package/dist/{assistant-5heV2GeR.d.ts → assistant-B1p5mYaM.d.ts} +2 -2
- package/dist/{authorization-Ul_ApMYW.d.ts → authorization-CcvJbvr1.d.ts} +62 -8
- package/dist/{automations-D4QTP8nI.js → automations-CJhRmPmq.js} +3 -1
- package/dist/{bind-B2GlypM6.d.ts → bind-B71jMEGG.d.ts} +4 -4
- package/dist/{block-env-Bcr-jEA1.d.ts → block-env-DzYTC9d1.d.ts} +4 -4
- package/dist/{block-helpers-BNtM1tqy.d.ts → block-helpers-Sj-efEhC.d.ts} +15 -1
- package/dist/{block-hooks-CtMsgLQr.d.ts → block-hooks-VW4knarE.d.ts} +1 -1
- package/dist/{block-subjects-BumEsEYb.js → block-subjects-a_ECM9o0.js} +1 -1
- package/dist/{block-tables-nkIjJ1ly.d.ts → block-tables-B92SBFqM.d.ts} +1 -1
- package/dist/blocks/access-requests/index.d.ts +3 -3
- package/dist/blocks/activities/index.d.ts +6 -6
- package/dist/blocks/agents/index.d.ts +2 -2
- package/dist/blocks/ai-cache/index.d.ts +2 -2
- package/dist/blocks/ai-chat/index.d.ts +6 -6
- package/dist/blocks/ai-files/index.d.ts +2 -2
- package/dist/blocks/ai-keys/index.d.ts +2 -2
- package/dist/blocks/ai-schedules/index.d.ts +2 -2
- package/dist/blocks/announcements/index.d.ts +6 -6
- package/dist/blocks/api-keys/index.d.ts +2 -2
- package/dist/blocks/approvals/index.d.ts +4 -3
- package/dist/blocks/approvals/index.js +3 -2
- package/dist/blocks/assets/index.d.ts +3 -3
- package/dist/blocks/assignment/index.d.ts +3 -3
- package/dist/blocks/attachments/index.d.ts +2 -2
- package/dist/blocks/audit/index.d.ts +6 -6
- package/dist/blocks/automations/index.d.ts +6 -6
- package/dist/blocks/billable-time/index.d.ts +3 -3
- package/dist/blocks/billing/index.d.ts +4 -4
- package/dist/blocks/bookings/index.d.ts +3 -3
- package/dist/blocks/bulk/index.d.ts +2 -2
- package/dist/blocks/calendar/index.d.ts +3 -3
- package/dist/blocks/catalog/index.d.ts +3 -3
- package/dist/blocks/channels/index.d.ts +3 -3
- package/dist/blocks/collections/index.d.ts +3 -3
- package/dist/blocks/comments/index.d.ts +8 -8
- package/dist/blocks/compliance/index.d.ts +3 -3
- package/dist/blocks/connectors/index.d.ts +2 -2
- package/dist/blocks/contacts/index.d.ts +3 -3
- package/dist/blocks/content/index.d.ts +3 -3
- package/dist/blocks/contracts/index.d.ts +3 -3
- package/dist/blocks/courses/index.d.ts +3 -3
- package/dist/blocks/created-by/index.d.ts +1 -1
- package/dist/blocks/custom-fields/index.d.ts +3 -3
- package/dist/blocks/data-lifecycle/index.d.ts +4 -4
- package/dist/blocks/deals/index.d.ts +3 -3
- package/dist/blocks/dispatch/index.d.ts +3 -3
- package/dist/blocks/documents/index.d.ts +2 -2
- package/dist/blocks/domains/index.d.ts +4 -4
- package/dist/blocks/donations/index.d.ts +3 -3
- package/dist/blocks/drive/index.d.ts +4 -4
- package/dist/blocks/employees/index.d.ts +4 -4
- package/dist/blocks/enrichment/index.d.ts +3 -3
- package/dist/blocks/enrollments/index.d.ts +3 -3
- package/dist/blocks/entitlements/index.d.ts +4 -4
- package/dist/blocks/expenses/index.d.ts +7 -3
- package/dist/blocks/expenses/index.js +5 -3
- package/dist/blocks/field-history/index.d.ts +3 -3
- package/dist/blocks/flags/index.d.ts +3 -3
- package/dist/blocks/forecasts/index.d.ts +3 -3
- package/dist/blocks/forms/index.d.ts +4 -4
- package/dist/blocks/goals/index.d.ts +3 -3
- package/dist/blocks/guests/index.d.ts +3 -3
- package/dist/blocks/hiring/index.d.ts +3 -3
- package/dist/blocks/identities/index.d.ts +3 -3
- package/dist/blocks/imports/index.d.ts +2 -2
- package/dist/blocks/inbox/index.d.ts +8 -8
- package/dist/blocks/incidents/index.d.ts +3 -3
- package/dist/blocks/index.d.ts +4 -4
- package/dist/blocks/inventory/index.d.ts +4 -4
- package/dist/blocks/invoices/index.d.ts +21 -8
- package/dist/blocks/invoices/index.js +20 -10
- package/dist/blocks/knowledge/index.d.ts +2 -2
- package/dist/blocks/lead-scoring/index.d.ts +4 -4
- package/dist/blocks/leases/index.d.ts +3 -3
- package/dist/blocks/leave/index.d.ts +5 -3
- package/dist/blocks/leave/index.js +3 -2
- package/dist/blocks/ledger/index.d.ts +3 -3
- package/dist/blocks/mail-sync/index.d.ts +2 -2
- package/dist/blocks/memberships/index.d.ts +1 -1
- package/dist/blocks/memory/index.d.ts +3 -3
- package/dist/blocks/messaging/index.d.ts +7 -7
- package/dist/blocks/metrics/index.d.ts +4 -4
- package/dist/blocks/mfa/index.d.ts +2 -2
- package/dist/blocks/moderation/index.d.ts +3 -3
- package/dist/blocks/notifications/index.d.ts +6 -6
- package/dist/blocks/numbering/index.d.ts +2 -2
- package/dist/blocks/oauth-server/index.d.ts +3 -3
- package/dist/blocks/onboarding/index.d.ts +4 -4
- package/dist/blocks/orders/index.d.ts +5 -5
- package/dist/blocks/organizations/index.d.ts +5 -5
- package/dist/blocks/outbox/index.d.ts +2 -2
- package/dist/blocks/passes/index.d.ts +5 -5
- package/dist/blocks/permissions/index.d.ts +5 -5
- package/dist/blocks/pipelines/index.d.ts +3 -3
- package/dist/blocks/posts/index.d.ts +3 -3
- package/dist/blocks/profiles/index.d.ts +3 -3
- package/dist/blocks/promotions/index.d.ts +3 -3
- package/dist/blocks/push/index.d.ts +4 -4
- package/dist/blocks/queue/index.d.ts +4 -4
- package/dist/blocks/quotes/index.d.ts +57 -12
- package/dist/blocks/quotes/index.js +35 -7
- package/dist/blocks/rank/index.d.ts +4 -4
- package/dist/blocks/reactions/index.d.ts +6 -6
- package/dist/blocks/relations/index.d.ts +4 -4
- package/dist/blocks/reminders/index.d.ts +4 -4
- package/dist/blocks/reviews/index.d.ts +3 -3
- package/dist/blocks/saved-views/index.d.ts +3 -3
- package/dist/blocks/scores/index.d.ts +3 -3
- package/dist/blocks/search/index.d.ts +5 -5
- package/dist/blocks/security-events/index.d.ts +4 -4
- package/dist/blocks/segments/index.d.ts +3 -3
- package/dist/blocks/sequences/index.d.ts +3 -3
- package/dist/blocks/service-accounts/index.d.ts +3 -3
- package/dist/blocks/sessions/index.d.ts +2 -2
- package/dist/blocks/settings/index.d.ts +4 -4
- package/dist/blocks/share-links/index.d.ts +3 -3
- package/dist/blocks/shipments/index.d.ts +3 -3
- package/dist/blocks/signatures/index.d.ts +3 -3
- package/dist/blocks/signing-keys/index.d.ts +2 -2
- package/dist/blocks/sla/index.d.ts +3 -3
- package/dist/blocks/sso/index.d.ts +4 -4
- package/dist/blocks/state-machine/index.d.ts +3 -14
- package/dist/blocks/subjects/index.d.ts +3 -3
- package/dist/blocks/tags/index.d.ts +4 -4
- package/dist/blocks/tasks/index.d.ts +5 -5
- package/dist/blocks/teams/index.d.ts +3 -3
- package/dist/blocks/templates/index.d.ts +6 -6
- package/dist/blocks/time-tracking/index.d.ts +3 -3
- package/dist/blocks/timeline/index.d.ts +3 -3
- package/dist/blocks/trash/index.d.ts +3 -3
- package/dist/blocks/undo/index.d.ts +3 -3
- package/dist/blocks/updated-at/index.d.ts +1 -1
- package/dist/blocks/usage/index.d.ts +3 -3
- package/dist/blocks/vercel-marketplace/index.d.ts +3 -3
- package/dist/blocks/versions/index.d.ts +3 -3
- package/dist/blocks/waitlist/index.d.ts +3 -3
- package/dist/blocks/webhooks/index.d.ts +5 -5
- package/dist/blocks/workflow-editor/index.d.ts +7 -7
- package/dist/blocks/workflows/index.d.ts +5 -5
- package/dist/{bookings-Dj5cvXKv.d.ts → bookings-CHUzFwOI.d.ts} +3 -3
- package/dist/chat-sdk/index.d.ts +3 -3
- package/dist/claims/index.d.ts +4 -4
- package/dist/cli/add-BbhRYaFe.js +1 -0
- package/dist/cli/{add-BVs8Ym-K.js → add-NosuEQn1.js} +10 -10
- package/dist/cli/{add-DP1ct-7e.js → add-U0pyhIyx.js} +2 -2
- package/dist/cli/{app-table-files-gjMyFqH4.js → app-table-files-DUi898lB.js} +2 -2
- package/dist/cli/{app-tables-B26PHK75.js → app-tables-BINtREbx.js} +2 -2
- package/dist/cli/{backfill-CP_LpTK2.js → backfill-VfqI5GqN.js} +1 -1
- package/dist/cli/bin.js +1 -1
- package/dist/cli/{blocks-Ewp49Kbm.js → blocks-Bo2Lw2UO.js} +1 -1
- package/dist/cli/{blocks-CpBLp57s.js → blocks-DsEaPf6J.js} +1 -1
- package/dist/cli/{cache-BxxtUXVN.js → cache-CNJD8OdR.js} +1 -1
- package/dist/cli/{codemod-CGCxMEyD.js → codemod-BWa3Bte6.js} +1 -1
- package/dist/cli/{content-mapper-DngBJv4r.js → content-mapper-Dl50Ny6a.js} +2 -2
- package/dist/cli/{doctor-3dcMraMn.js → doctor-B9GtOGSa.js} +15 -15
- package/dist/cli/{gen-DrXxFwUU.js → gen-CIUD1sgB.js} +11 -11
- package/dist/cli/index.d.ts +1 -1
- package/dist/cli/index.js +6 -6
- package/dist/cli/{init-bVKQ4Onb.js → init-wl5jk5vX.js} +8 -8
- package/dist/cli/{live-CHTbAqdS.js → live-B0f_X3rI.js} +2 -2
- package/dist/cli/{mcp-BbmhntrR.js → mcp-CZWaBkXY.js} +2 -2
- package/dist/cli/{metadata-BS56R_eb.js → metadata-Bi5eQP4w.js} +3 -3
- package/dist/cli/{migrate-DV6a9-jI.js → migrate-DMITLPEu.js} +1 -1
- package/dist/cli/{migration-safety-Ce9IQwmJ.js → migration-safety-2n8e8njJ.js} +1 -1
- package/dist/cli/{migrations-CCCnMhmM.js → migrations-C5k9hNOo.js} +2 -2
- package/dist/cli/{module-migration-C0cAzpNa.js → module-migration-BFchEhAJ.js} +2 -2
- package/dist/cli/{powersync-OIIpG-y_.js → powersync-DViexv6m.js} +3 -3
- package/dist/cli/powersync-i7KJcTtM.js +1 -0
- package/dist/cli/{print-BGF3d6O2.js → print-ChX1vQhO.js} +2 -2
- package/dist/cli/{providers-fEzlYSLs.js → providers-lwK2lplZ.js} +1 -1
- package/dist/cli/{prune-workflows-Bx7J5T3a.js → prune-workflows-DO3nRZFF.js} +1 -1
- package/dist/cli/{remove-Ds4N6WvD.js → remove-WB9dFyNn.js} +5 -5
- package/dist/cli/{render-BeZToAp-.js → render-B0MMWWZE.js} +3 -3
- package/dist/cli/{run-iUmtksq5.js → run-CMvwtBX9.js} +27 -27
- package/dist/cli/{run-DR0sTyNQ.js → run-CmJbNG2-.js} +9 -9
- package/dist/cli/{shared-BCWYvKeR.js → shared-BL5kcRdz.js} +1 -1
- package/dist/cli/{snapshot-CfgRxTQq.js → snapshot-CVB9Ri2a.js} +2 -2
- package/dist/cli/{source-Ct3ZCy6p.js → source-COGgsYiV.js} +1 -1
- package/dist/cli/{spec-1eEq2P4T.js → spec-002zD_9Z.js} +1 -1
- package/dist/cli/{spec-9vb-or-k.js → spec-CH6Qd2LE.js} +2 -2
- package/dist/cli/{sql-layout-cYsnyjRf.js → sql-layout-jZOzCj-S.js} +2 -2
- package/dist/cli/{sync-XpcpINnx.js → sync-I4x-1aVx.js} +4 -4
- package/dist/cli/{upgrade-A18FY5Iy.js → upgrade-BRp5AxAY.js} +2 -2
- package/dist/cli/{upgrade-DXhyb2jV.js → upgrade-C60BZggI.js} +5 -5
- package/dist/cli/{version-PcwPOm4G.js → version-CRCAxS2s.js} +1 -1
- package/dist/client/index.d.ts +5 -5
- package/dist/client/native/index.d.ts +4 -4
- package/dist/config/index.d.ts +2 -2
- package/dist/config/index.js +4 -4
- package/dist/{config-qqAfS_1_.js → config-2SwAe0Im.js} +3 -3
- package/dist/{config-BRGMUEE2.js → config-BND2PFGs.js} +1 -1
- package/dist/{connectors-DDsdz-cn.d.ts → connectors-OMJkoAP6.d.ts} +2 -2
- package/dist/{context-dHluCmud.d.ts → context-DXWyPNzr.d.ts} +4 -2
- package/dist/contract/index.d.ts +4 -4
- package/dist/{controller-BQXgMwWN.d.ts → controller-D3MPVovD.d.ts} +1 -1
- package/dist/{conversion-CLBBITW5.d.ts → conversion-BShzA-u-.d.ts} +1 -1
- package/dist/create/index.d.ts +3 -3
- package/dist/create/index.js +3 -3
- package/dist/create/lite/index.d.ts +3 -3
- package/dist/create/lite/index.js +2 -2
- package/dist/{define-block-CDw9YGVh.d.ts → define-block-DBD7yhQg.d.ts} +5 -5
- package/dist/{documents-Btk0MhC0.d.ts → documents-CNVPrE_0.d.ts} +2 -2
- package/dist/{embeddings-CI6P_mtD.d.ts → embeddings-C2PBJ2Lx.d.ts} +1 -1
- package/dist/{entitlements-Jh_w-PgX.d.ts → entitlements-CljrSoWD.d.ts} +1 -1
- package/dist/eve/index.d.ts +5 -5
- package/dist/eve/index.js +1 -1
- package/dist/{eve-DleYrhwj.d.ts → eve-CtQd4iaO.d.ts} +2 -2
- package/dist/{executor-uNDJBzT8.d.ts → executor-DL7cZ-3T.d.ts} +1 -1
- package/dist/{field-errors-DIDkgzFA.d.ts → field-errors-C4NOUBpu.d.ts} +6 -6
- package/dist/{flags-Cuew4tGx.d.ts → flags-BrXfCmGB.d.ts} +1 -1
- package/dist/flags-sdk/index.d.ts +1 -1
- package/dist/{gateway-B9k89AC4.d.ts → gateway-DJX-XUWl.d.ts} +3 -3
- package/dist/{inbox-yGfUVQr2.d.ts → inbox-DiQ8KhG8.d.ts} +4 -4
- package/dist/{index-DAS_5OfK.d.ts → index-1_-lg9Gc.d.ts} +1 -1
- package/dist/{index-DhcLJAtX.d.ts → index-Bjj-GNhd.d.ts} +1 -1
- package/dist/{index-y70eTezB.d.ts → index-BrGOE0c2.d.ts} +2 -2
- package/dist/{index-g_eFnFqo.d.ts → index-CUxdZYSi.d.ts} +2 -2
- package/dist/{index-xmb6YGTg.d.ts → index-D5qW2cRD.d.ts} +2 -2
- package/dist/{index-CpZ4WDDJ.d.ts → index-DWVDKVYA.d.ts} +1 -1
- package/dist/{index-IrJQqPeQ.d.ts → index-DhHtsi-q.d.ts} +3 -3
- package/dist/{index-BKz-E3Mv.d.ts → index-DmSDAFkF.d.ts} +8 -8
- package/dist/{instances-DqEZrffE.js → instances-DwrdFwKq.js} +10 -1
- package/dist/{knowledge-DWXAxvkN.d.ts → knowledge-DtECa_QW.d.ts} +4 -4
- package/dist/mapper/bin.js +5 -5
- package/dist/mcp/index.d.ts +1 -1
- package/dist/{messaging-Bfe4p9Pm.d.ts → messaging-CpQIhkFi.d.ts} +2 -2
- package/dist/next/index.d.ts +7 -7
- package/dist/{operations-Sza7UQKP.d.ts → operations-DFmuxaxW.d.ts} +1 -1
- package/dist/{options-zsLpIqBA.js → options-B1oSaIZ4.js} +2 -1
- package/dist/{options-CYZH9uxU.js → options-BXiUftgG.js} +3 -1
- package/dist/{options-Bgnm4pTD.js → options-DLJTiX29.js} +6 -1
- package/dist/otel/index.js +4 -4
- package/dist/{outbox-DikdzUKf.d.ts → outbox-Cpxpzcue.d.ts} +2 -2
- package/dist/{permissions-COamTJYz.d.ts → permissions-Bsd4mEEZ.d.ts} +1 -1
- package/dist/{ports-1M1E_r2n.d.ts → ports-BKdt_9Oe.d.ts} +1 -1
- package/dist/powersync/index.d.ts +2 -2
- package/dist/preset/index.d.ts +3 -3
- package/dist/preset/index.js +3 -3
- package/dist/{preset-Byz43PrL.js → preset-CenE7f1G.js} +2 -2
- package/dist/{project-Y2wW_nr_.js → project-Ceh2yTSv.js} +5 -5
- package/dist/{push-token-DKImhAca.d.ts → push-token-DRcEl9Ce.d.ts} +1 -1
- package/dist/query/index.d.ts +1 -1
- package/dist/react/index.d.ts +5 -5
- package/dist/react/native/index.d.ts +1 -1
- package/dist/react/server.d.ts +5 -5
- package/dist/realtime/index.d.ts +3 -3
- package/dist/{record-form-C-gIxGXe.d.ts → record-form-C-1TPtMG.d.ts} +1 -1
- package/dist/{recordings-Bw5LoocX.d.ts → recordings-BVuri85k.d.ts} +1 -1
- package/dist/records/index.d.ts +8 -8
- package/dist/{sandboxes-BF9RxxCU.d.ts → sandboxes-DKgJZYUZ.d.ts} +1 -1
- package/dist/{scores-Ce8MxQX9.d.ts → scores-BXuSVczw.d.ts} +2 -2
- package/dist/server/index.d.ts +4 -4
- package/dist/{signers-Dw9DBZjJ.d.ts → signers-UANxMfH-.d.ts} +2 -2
- package/dist/{signing-keys-FglIQ6iL.d.ts → signing-keys-DhBSWFy_.d.ts} +2 -2
- package/dist/solid/index.d.ts +5 -5
- package/dist/sql/index.d.ts +5 -5
- package/dist/sql/index.js +3 -3
- package/dist/{sql-B1FA8jTx.js → sql-BIniB45X.js} +1558 -502
- package/dist/{sso-B7w7h8RJ.d.ts → sso-Frh3sbJ1.d.ts} +2 -2
- package/dist/ssr/index.d.ts +1 -1
- package/dist/{subjects-CVjAE7nz.d.ts → subjects-DNFE2rMl.d.ts} +2 -2
- package/dist/svelte/index.d.ts +5 -5
- package/dist/{tenant-DflHpV32.d.ts → tenant--Hm8mlPy.d.ts} +1 -1
- package/dist/testing/index.d.ts +13 -13
- package/dist/testing/index.js +1 -1
- package/dist/{timeline-c6I3uxya.d.ts → timeline-BB9fKT_r.d.ts} +2 -2
- package/dist/{topic-CekU96q7.d.ts → topic-BYF-GTW9.d.ts} +1 -1
- package/dist/{types-B42S7qfO.d.ts → types-B8h0reJ4.d.ts} +2 -2
- package/dist/{types-DtiDatvu.d.ts → types-D--4dv5K.d.ts} +3 -3
- package/dist/{types-BXLiM6VM.d.ts → types-DCzgSAlU.d.ts} +2 -2
- package/dist/{types-6PMaLIyw.d.ts → types-DU_nNO7U.d.ts} +2 -2
- package/dist/{types-BdhE7I8Z.d.ts → types-LLCyr-xs.d.ts} +2 -2
- package/dist/{types-D5uf0l4_.d.ts → types-kq8S5HVE.d.ts} +1 -1
- package/dist/{types-C7K8mu9B.d.ts → types-z31g0-5T.d.ts} +3 -3
- package/dist/{undo-CdKp5_2X.d.ts → undo-BCQMqIQN.d.ts} +1 -1
- package/dist/{usage-DZ8j5Tm_.d.ts → usage-CJDj5j15.d.ts} +3 -3
- package/dist/vercel-sandbox/index.d.ts +1 -1
- package/dist/vue/index.d.ts +5 -5
- package/dist/{watch-topic-DBw411Mq.d.ts → watch-topic-tfTxgEGc.d.ts} +1 -1
- package/dist/workflow-sdk/builder/index.d.ts +3 -3
- package/dist/workflow-sdk/index.d.ts +1 -1
- package/dist/workflow-sdk/world/index.js +1 -1
- package/dist/{workflow-sdk-6psRpDIo.js → workflow-sdk-Bps7tpOv.js} +26 -1
- package/dist/{workflow-sdk-CUt0E4v6.d.ts → workflow-sdk-DzKQo265.d.ts} +2 -2
- package/dist/{workflows-BI4yKqFh.d.ts → workflows-D7HvWeNu.d.ts} +2 -2
- package/dist/yjs/index.d.ts +2 -2
- package/package.json +1 -1
- package/schemas/config-v1.json +42 -1
- package/dist/cli/add-DrwQvDYD.js +0 -1
- package/dist/cli/powersync-Cxd3a_v_.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { u as AiChatMessageStorage } from "./ai-chat-
|
|
1
|
+
import { u as AiChatMessageStorage } from "./ai-chat-rQ7Ftq9W.js";
|
|
2
2
|
import { n as ExtraColumns, t as BlockOptionsSchema } from "./options-CRwTY_q2.js";
|
|
3
3
|
import { t as AssetsSqlOptions } from "./options-Bwrwb8do.js";
|
|
4
4
|
import { t as ContentSqlOptions } from "./options-Lh6uxepF.js";
|
|
@@ -171,11 +171,11 @@ interface BlockNameRegistry {
|
|
|
171
171
|
readonly tables: {
|
|
172
172
|
readonly "requests": "id" | "tenant" | "subjectType" | "subjectId" | "action" | "policy" | "step" | "status" | "requestedBy" | "reason" | "payload" | "expiresAt" | "remindedAt" | "decidedAt" | "fingerprint" | "consumedAt" | "createdAt";
|
|
173
173
|
readonly "decisions": "id" | "request" | "tenant" | "step" | "approver" | "decision" | "delegateTo" | "comment" | "createdAt";
|
|
174
|
-
readonly "policies": "id" | "tenant" | "subjectType" | "action" | "name" | "conditions" | "mode" | "steps" | "selfApproval" | "expiresIn" | "enabled" | "createdBy" | "createdAt" | "updatedAt";
|
|
174
|
+
readonly "policies": "id" | "tenant" | "subjectType" | "action" | "name" | "conditions" | "mode" | "steps" | "selfApproval" | "expiresIn" | "enabled" | "createdBy" | "createdAt" | "updatedAt" | "effect";
|
|
175
175
|
};
|
|
176
|
-
readonly functions: "approval_effective_policy" | "approval_eligible" | "approval_finalize" | "approval_notify" | "approval_policy" | "approval_requirement" | "cancel_approval" | "consume_approval" | "decide_approval" | "delegate_approval" | "expire_approvals" | "get_approval" | "is_approved" | "list_approvals" | "open_approval" | "remind_approvals" | "request_approval";
|
|
176
|
+
readonly functions: "approval_effective_policy" | "approval_eligible" | "approval_finalize" | "approval_notify" | "approval_policy" | "approval_policy_tighten" | "approval_requirement" | "cancel_approval" | "consume_approval" | "decide_approval" | "delegate_approval" | "escalate_approvals" | "expire_approvals" | "get_approval" | "is_approved" | "list_approvals" | "open_approval" | "remind_approvals" | "request_approval";
|
|
177
177
|
readonly actions: "read" | "request" | "manage";
|
|
178
|
-
readonly hooks: "before_approval_request" | "after_approval_request" | "before_approval_decide" | "after_approval_decide";
|
|
178
|
+
readonly hooks: "before_approval_request" | "after_approval_request" | "before_approval_decide" | "after_approval_decide" | "approval_notification";
|
|
179
179
|
readonly entities: {
|
|
180
180
|
readonly "approval": "id" | "tenant_id" | "subject_type" | "subject_id" | "action" | "policy" | "step" | "status" | "requested_by" | "reason" | "payload" | "expires_at" | "reminded_at" | "decided_at" | "fingerprint" | "consumed_at" | "created_at";
|
|
181
181
|
};
|
|
@@ -1351,16 +1351,17 @@ interface BlockNameRegistry {
|
|
|
1351
1351
|
};
|
|
1352
1352
|
readonly "quotes": {
|
|
1353
1353
|
readonly tables: {
|
|
1354
|
-
readonly "quotes": "id" | "tenant" | "number" | "identifier" | "revision" | "title" | "companyType" | "companyId" | "contactType" | "contactId" | "owner" | "currency" | "status" | "validUntil" | "terms" | "note" | "originType" | "originId" | "tokenHash" | "sentAt" | "viewedAt" | "decidedAt" | "decidedBy" | "decisionNote" | "decidedUser" | "decidedIp" | "decidedUserAgent" | "pricesIncludeTax" | "discountBps" | "discountAmount" | "depositBps" | "depositDue" | "createdBy" | "createdAt" | "updatedAt" | "listTotal" | "discountTotal" | "subtotal" | "taxTotal" | "total";
|
|
1355
|
-
readonly "lines": "id" | "tenant" | "parent" | "productType" | "productId" | "description" | "quantity" | "unitAmount" | "discountBps" | "taxRateBps" | "taxCode" | "position" | "createdAt" | "section" | "optional" | "selected";
|
|
1354
|
+
readonly "quotes": "id" | "tenant" | "number" | "identifier" | "revision" | "title" | "companyType" | "companyId" | "contactType" | "contactId" | "owner" | "currency" | "status" | "validUntil" | "terms" | "note" | "originType" | "originId" | "tokenHash" | "sentAt" | "viewedAt" | "decidedAt" | "decidedBy" | "decisionNote" | "decidedUser" | "decidedIp" | "decidedUserAgent" | "pricesIncludeTax" | "discountBps" | "discountAmount" | "depositBps" | "depositAmount" | "depositRequired" | "depositDue" | "unpublishedChanges" | "createdBy" | "createdAt" | "updatedAt" | "listTotal" | "discountTotal" | "subtotal" | "taxTotal" | "total";
|
|
1355
|
+
readonly "lines": "id" | "tenant" | "parent" | "productType" | "productId" | "description" | "quantity" | "unitAmount" | "discountBps" | "taxRateBps" | "taxCode" | "position" | "createdAt" | "section" | "optional" | "selected" | "periods";
|
|
1356
1356
|
readonly "versions": "id" | "tenant" | "quote" | "revision" | "snapshot" | "total" | "currency" | "publishedBy" | "publishedAt";
|
|
1357
|
+
readonly "versionLines": "id" | "tenant" | "version" | "position" | "description" | "quantity" | "unitAmount" | "periods" | "discountBps" | "taxRateBps" | "taxCode" | "section" | "optional" | "selected" | "productType" | "productId";
|
|
1357
1358
|
readonly "taxLines": "id" | "tenant" | "parent" | "taxRateBps" | "taxCode" | "net" | "tax" | "gross" | "discount";
|
|
1358
1359
|
};
|
|
1359
|
-
readonly functions: "create_quote" | "decide_quote" | "expire_quotes" | "portal_quote" | "public_quote" | "quote_version" | "quote_versions" | "respond_to_portal_quote" | "respond_to_quote" | "revise_quote" | "send_quote" | "set_quote_lines" | "set_quote_lines_recount" | "update_quote";
|
|
1360
|
+
readonly functions: "create_quote" | "decide_quote" | "expire_quotes" | "portal_quote" | "public_quote" | "quote_version" | "quote_versions" | "respond_to_portal_quote" | "respond_to_quote" | "revise_quote" | "send_quote" | "set_quote_lines" | "set_quote_lines_recount" | "update_quote" | "withdraw_quote";
|
|
1360
1361
|
readonly actions: "read" | "write" | "manage";
|
|
1361
1362
|
readonly hooks: "before_quote_send" | "after_quote_send" | "before_quote_accept" | "after_quote_accept";
|
|
1362
1363
|
readonly entities: {
|
|
1363
|
-
readonly "quote": "id" | "tenant_id" | "number" | "identifier" | "revision" | "title" | "company_type" | "company_id" | "contact_type" | "contact_id" | "owner_user_id" | "currency" | "status" | "valid_until" | "terms" | "note" | "origin_type" | "origin_id" | "token_hash" | "sent_at" | "viewed_at" | "decided_at" | "decided_by" | "decision_note" | "decided_user_id" | "decided_ip" | "decided_user_agent" | "prices_include_tax" | "discount_bps" | "discount_amount" | "deposit_bps" | "deposit_due" | "created_by" | "created_at" | "updated_at" | "list_total" | "discount_total" | "subtotal" | "tax_total" | "total";
|
|
1364
|
+
readonly "quote": "id" | "tenant_id" | "number" | "identifier" | "revision" | "title" | "company_type" | "company_id" | "contact_type" | "contact_id" | "owner_user_id" | "currency" | "status" | "valid_until" | "terms" | "note" | "origin_type" | "origin_id" | "token_hash" | "sent_at" | "viewed_at" | "decided_at" | "decided_by" | "decision_note" | "decided_user_id" | "decided_ip" | "decided_user_agent" | "prices_include_tax" | "discount_bps" | "discount_amount" | "deposit_bps" | "deposit_amount" | "deposit_required" | "deposit_due" | "unpublished_changes" | "created_by" | "created_at" | "updated_at" | "list_total" | "discount_total" | "subtotal" | "tax_total" | "total";
|
|
1364
1365
|
};
|
|
1365
1366
|
readonly primary: "quote";
|
|
1366
1367
|
};
|
|
@@ -2061,7 +2062,31 @@ type ApprovalsSqlOptions = {
|
|
|
2061
2062
|
* above with its own steps, conditions and mode (ADR 0119).
|
|
2062
2063
|
*/
|
|
2063
2064
|
readonly tenantPolicies?: boolean;
|
|
2065
|
+
/**
|
|
2066
|
+
* Rows of `approval_policies` without an organization are platform policies:
|
|
2067
|
+
* platform staff edit them at runtime, they apply to every organization and
|
|
2068
|
+
* stand in for a missing config floor. Needs `tenantPolicies`.
|
|
2069
|
+
*/
|
|
2070
|
+
readonly platformPolicies?: boolean;
|
|
2071
|
+
/**
|
|
2072
|
+
* `"rules"` matches tenant policy conditions through the automations block's
|
|
2073
|
+
* rule fields; `"payload"` matches them against the request payload without
|
|
2074
|
+
* automations.
|
|
2075
|
+
*/
|
|
2076
|
+
readonly conditions?: "rules" | "payload";
|
|
2077
|
+
/** Subject types whose requests may have no organization. */
|
|
2078
|
+
readonly tenantless?: readonly string[];
|
|
2064
2079
|
readonly extraColumns?: ExtraColumns;
|
|
2080
|
+
/**
|
|
2081
|
+
* `false` sends none of the block's approval notifications, so the app can
|
|
2082
|
+
* send its own from the `approval.*` events. Default `true`.
|
|
2083
|
+
*/
|
|
2084
|
+
readonly notifications?: boolean;
|
|
2085
|
+
/**
|
|
2086
|
+
* Columns the app adds to `approval_policies`, such as a description. Needs
|
|
2087
|
+
* `tenantPolicies`; `savePolicy` writes them from `fields`.
|
|
2088
|
+
*/
|
|
2089
|
+
readonly policyExtraColumns?: ExtraColumns;
|
|
2065
2090
|
};
|
|
2066
2091
|
/** `blocks.attachments.options`. */
|
|
2067
2092
|
type AttachmentsSqlOptions = {
|
|
@@ -2423,6 +2448,18 @@ type ExpensesSqlOptions = {
|
|
|
2423
2448
|
* so may a holder of `permissions.withdraw` (default the `update` key).
|
|
2424
2449
|
*/
|
|
2425
2450
|
readonly withdrawApproved?: boolean;
|
|
2451
|
+
/**
|
|
2452
|
+
* Without reports: each submitted expense files a request with the approvals
|
|
2453
|
+
* block, whose final decision approves or rejects it. `decideExpense` is
|
|
2454
|
+
* refused while that request waits. The expense's owner is the requester;
|
|
2455
|
+
* with `owner: "employee"`, a manager step asks the employee's manager.
|
|
2456
|
+
*/
|
|
2457
|
+
readonly standaloneApprovals?: boolean;
|
|
2458
|
+
/**
|
|
2459
|
+
* The approval policy of `standaloneApprovals`. Default: one step for holders
|
|
2460
|
+
* of the approve permission.
|
|
2461
|
+
*/
|
|
2462
|
+
readonly policy?: unknown;
|
|
2426
2463
|
};
|
|
2427
2464
|
/**
|
|
2428
2465
|
* A custom context's source: the table and column that hold a tenant's value,
|
|
@@ -2612,6 +2649,12 @@ type LeaveSqlOptions = {
|
|
|
2612
2649
|
readonly approvals?: boolean;
|
|
2613
2650
|
readonly owner?: "user" | "employee";
|
|
2614
2651
|
readonly reapprove?: boolean;
|
|
2652
|
+
/**
|
|
2653
|
+
* `"employee"` makes the request's employee the approval's requester, so they
|
|
2654
|
+
* can't approve their own leave, and points a manager step at their manager
|
|
2655
|
+
* instead of the filer's. Needs `owner: "employee"`. Default `"filer"`.
|
|
2656
|
+
*/
|
|
2657
|
+
readonly approvalOwner?: "filer" | "employee";
|
|
2615
2658
|
};
|
|
2616
2659
|
/** `blocks.memory.options`. */
|
|
2617
2660
|
type MemorySqlOptions = {
|
|
@@ -2836,6 +2879,17 @@ type QuotesSqlOptions = {
|
|
|
2836
2879
|
* and to basis points. Default `"bps"`.
|
|
2837
2880
|
*/
|
|
2838
2881
|
readonly lineRates?: "bps" | "percent";
|
|
2882
|
+
/**
|
|
2883
|
+
* Staff edit a sent quote while the customer keeps seeing its last published
|
|
2884
|
+
* version; sending it again publishes the next revision on the same link, and
|
|
2885
|
+
* an acceptance restores the version the customer saw.
|
|
2886
|
+
*/
|
|
2887
|
+
readonly workingCopy?: boolean;
|
|
2888
|
+
/**
|
|
2889
|
+
* Each published version keeps its lines as rows with their own ids in
|
|
2890
|
+
* `quote_version_lines`, so other records can point at them.
|
|
2891
|
+
*/
|
|
2892
|
+
readonly versionLines?: boolean;
|
|
2839
2893
|
};
|
|
2840
2894
|
/** `blocks.reactions.options`. */
|
|
2841
2895
|
type ReactionsSqlOptions = {
|
|
@@ -7,7 +7,9 @@ const quotesSqlOptions = blockOptions({
|
|
|
7
7
|
validDays: option.number({ default: 30 }),
|
|
8
8
|
extraColumns: option.extraColumns(),
|
|
9
9
|
lineExtraColumns: option.extraColumns(),
|
|
10
|
-
lineRates: option.string({ default: "bps" })
|
|
10
|
+
lineRates: option.string({ default: "bps" }),
|
|
11
|
+
workingCopy: option.boolean({ default: false }),
|
|
12
|
+
versionLines: option.boolean({ default: false })
|
|
11
13
|
});
|
|
12
14
|
// src/blocks/quotes/automations.ts
|
|
13
15
|
/**
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { O as AnyFunctions, k as AnyModels } from "./types-BzIYSSWK.js";
|
|
2
|
-
import {
|
|
2
|
+
import { s as BlockTenant } from "./block-helpers-Sj-efEhC.js";
|
|
3
3
|
import { t as BetterSupabase, y as Db } from "./define-C_He1bQO.js";
|
|
4
4
|
import { n as DataEngine } from "./data-engine-CX1oYDZl.js";
|
|
5
|
-
import { Dn as GeneratedBlocks } from "./define-block-
|
|
6
|
-
import { rt as BetterQueries } from "./index-
|
|
7
|
-
import { t as ClientPorts } from "./ports-
|
|
5
|
+
import { Dn as GeneratedBlocks } from "./define-block-DBD7yhQg.js";
|
|
6
|
+
import { rt as BetterQueries } from "./index-1_-lg9Gc.js";
|
|
7
|
+
import { t as ClientPorts } from "./ports-BKdt_9Oe.js";
|
|
8
8
|
import { SupabaseClient } from "@supabase/supabase-js";
|
|
9
9
|
interface AuthUser {
|
|
10
10
|
readonly id: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Dn as GeneratedBlocks } from "./define-block-
|
|
2
|
-
import { n as TopicPort } from "./watch-topic-
|
|
3
|
-
import { t as ClientPorts } from "./ports-
|
|
4
|
-
import { t as AuthPort } from "./controller-
|
|
1
|
+
import { Dn as GeneratedBlocks } from "./define-block-DBD7yhQg.js";
|
|
2
|
+
import { n as TopicPort } from "./watch-topic-tfTxgEGc.js";
|
|
3
|
+
import { t as ClientPorts } from "./ports-BKdt_9Oe.js";
|
|
4
|
+
import { t as AuthPort } from "./controller-D3MPVovD.js";
|
|
5
5
|
import { SupabaseClient } from "@supabase/supabase-js";
|
|
6
6
|
/**
|
|
7
7
|
* What the block bindings hand their controllers: the provider's client,
|
|
@@ -53,4 +53,18 @@ interface CursorPageOptions<Cursor> {
|
|
|
53
53
|
readonly limit?: number;
|
|
54
54
|
readonly cursor?: Cursor;
|
|
55
55
|
}
|
|
56
|
-
|
|
56
|
+
/**
|
|
57
|
+
* Who made a change, for the state machine's history row: a portal visitor who
|
|
58
|
+
* isn't an auth user, the request's IP address and user agent, or the user the
|
|
59
|
+
* service role acts for.
|
|
60
|
+
*/
|
|
61
|
+
interface TransitionActor {
|
|
62
|
+
/** The user the service role acts for; a signed-in caller is kept instead. */
|
|
63
|
+
readonly id?: string;
|
|
64
|
+
readonly name?: string;
|
|
65
|
+
readonly email?: string;
|
|
66
|
+
/** An IPv4 or IPv6 address; anything else is refused. */
|
|
67
|
+
readonly ip?: string;
|
|
68
|
+
readonly userAgent?: string;
|
|
69
|
+
}
|
|
70
|
+
export { TransitionActor as a, CursorPageOptions as i, BlockOptions as n, BlockTenantOptions as o, BlockTemporalOptions as r, BlockTenant as s, BlockCall as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { T as ErrorMapper, b as DbError, f as Result, t as AsyncResult } from "./result-DTOQRyGY.js";
|
|
2
2
|
import { n as Logger } from "./logger-0LfhvwE4.js";
|
|
3
|
-
import { t as BlockCall } from "./block-helpers-
|
|
3
|
+
import { t as BlockCall } from "./block-helpers-Sj-efEhC.js";
|
|
4
4
|
import { t as BlockTransport } from "./block-transport-CDmOUuLZ.js";
|
|
5
5
|
/** A block method: anything that returns an `AsyncResult`. */
|
|
6
6
|
type BlockMethod = (...args: never[]) => AsyncResult<unknown>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as entityNoun, i as entityNames, n as checkEntityName, s as tenantRename, t as DEFAULT_TENANT } from "./entity-naming-BES3pkQI.js";
|
|
2
|
-
import { I as resolveBlock, L as tenantNameOf, M as PRESET_CATALOG } from "./instances-
|
|
2
|
+
import { I as resolveBlock, L as tenantNameOf, M as PRESET_CATALOG } from "./instances-DwrdFwKq.js";
|
|
3
3
|
// src/config/defaults.ts
|
|
4
4
|
/**
|
|
5
5
|
* Every default `resolveConfig` fills in. Other modules (the SQL module
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { cn as ResolvedConfig } from "./context-
|
|
1
|
+
import { cn as ResolvedConfig } from "./context-DXWyPNzr.js";
|
|
2
2
|
/**
|
|
3
3
|
* One block table as the config names it: unquoted schema and table, and each
|
|
4
4
|
* logical column's written name, or `null` when an adopted table lacks it.
|
|
@@ -4,10 +4,10 @@ import { t as StandardSchemaV1 } from "../../standard-DRX6Ch1j.js";
|
|
|
4
4
|
import { r as FieldsOf } from "../../block-fields-Puv5m5D3.js";
|
|
5
5
|
import { Ct as Events, f as AccessRequestEventData } from "../../events-DddDlibJ.js";
|
|
6
6
|
import { n as Logger } from "../../logger-0LfhvwE4.js";
|
|
7
|
-
import { r as BlockTemporalOptions } from "../../block-helpers-
|
|
7
|
+
import { r as BlockTemporalOptions } from "../../block-helpers-Sj-efEhC.js";
|
|
8
8
|
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-CDmOUuLZ.js";
|
|
9
|
-
import { n as BlockHooks } from "../../block-hooks-
|
|
10
|
-
import { c as BlockOf } from "../../define-block-
|
|
9
|
+
import { n as BlockHooks } from "../../block-hooks-VW4knarE.js";
|
|
10
|
+
import { c as BlockOf } from "../../define-block-DBD7yhQg.js";
|
|
11
11
|
interface AccessRequestsOptions<S extends StandardSchemaV1 | undefined = undefined> extends BlockTemporalOptions {
|
|
12
12
|
readonly transport: BlockTransport;
|
|
13
13
|
/**
|
|
@@ -5,13 +5,13 @@ import { r as FieldsOf } from "../../block-fields-Puv5m5D3.js";
|
|
|
5
5
|
import { Ct as Events } from "../../events-DddDlibJ.js";
|
|
6
6
|
import { b as EngagementEventData, x as EngagementRecordingEventData } from "../../index-DjJUamhw.js";
|
|
7
7
|
import { n as Logger } from "../../logger-0LfhvwE4.js";
|
|
8
|
-
import { r as BlockTemporalOptions } from "../../block-helpers-
|
|
8
|
+
import { r as BlockTemporalOptions } from "../../block-helpers-Sj-efEhC.js";
|
|
9
9
|
import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-CDmOUuLZ.js";
|
|
10
|
-
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-
|
|
11
|
-
import { f as AiFiles } from "../../types-
|
|
12
|
-
import { _ as JobHandler } from "../../types-
|
|
13
|
-
import { Sn as EntitySchema, c as BlockOf } from "../../define-block-
|
|
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-
|
|
10
|
+
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-VW4knarE.js";
|
|
11
|
+
import { f as AiFiles } from "../../types-DU_nNO7U.js";
|
|
12
|
+
import { _ as JobHandler } from "../../types-LLCyr-xs.js";
|
|
13
|
+
import { Sn as EntitySchema, c as BlockOf } from "../../define-block-DBD7yhQg.js";
|
|
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-BVuri85k.js";
|
|
15
15
|
/** A record an engagement is on. */
|
|
16
16
|
interface EngagementSubject {
|
|
17
17
|
readonly type: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Ct as Events, p as AgentEventData } from "../../events-DddDlibJ.js";
|
|
2
2
|
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-CDmOUuLZ.js";
|
|
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-
|
|
4
|
-
import { c as BlockOf } from "../../define-block-
|
|
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-BAiLeoR-.js";
|
|
4
|
+
import { c as BlockOf } from "../../define-block-DBD7yhQg.js";
|
|
5
5
|
/** The events of the `agents` block: type to data. */
|
|
6
6
|
type AgentsEvents = {
|
|
7
7
|
readonly "agent.saved": AgentEventData;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-CDmOUuLZ.js";
|
|
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-
|
|
3
|
-
import { c as BlockOf } from "../../define-block-
|
|
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-B94R1da7.js";
|
|
3
|
+
import { c as BlockOf } from "../../define-block-DBD7yhQg.js";
|
|
4
4
|
/** The `ai-cache` block's manifest (ADR 0029). */
|
|
5
5
|
export declare const aiCacheBlock: BlockOf<"ai-cache", typeof createAiCache>;
|
|
6
6
|
export { type AiCache, type AiCacheEntry, type AiCacheKind, type AiCacheOptions, type AiCacheSetOptions, type BlockTransport, cacheKey, createAiCache, dbTransport, rpcTransport, sqlTransport };
|
|
@@ -2,12 +2,12 @@ import { b as DbError } from "../../result-DTOQRyGY.js";
|
|
|
2
2
|
import { Ct as Events, g as AiToolEventData, m as AiChatEventData } from "../../events-DddDlibJ.js";
|
|
3
3
|
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-CDmOUuLZ.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-Cc4bkdNw.js";
|
|
5
|
-
import { $ as createHarnessSessions, A as AiRunStatus, B as SharedAiChat, C as AiModerationInput, D as AiProject, E as AiPendingInputRequest, F as AiStreamClaim, G as AiPendingApproval, H as AiHarnessSessionPatch, I as AiToolApproval, J as AiRunState, K as AiRun, L as AiToolApprovalRequest, M as AiShareLink, N as AiStoredMessage, O as AiProjectInput, P as AiStoredMessageStatus, Q as AiRuns, R as AiToolPolicy, S as AiModerationEvent, T as AiPendingInput, U as AiHarnessSessions, V as AiHarnessSession, W as AiHarnessStatus, X as AiRunStepInput, Y as AiRunStep, Z as AiRunStepStatus, _ as AiFeedback, a as createAiChat, b as AiModelInput, c as AiAssistantMessageOptions, d as AiChatPage, f as AiChatPatch, g as AiChatVisibility, h as AiChatShare, i as aiChatTopic, j as AiSaveResult, k as AiRunRelease, l as AiChatInput, m as AiChatRecord, n as AiChatOptions, o as AiAppendResult, p as AiChatQuery, q as AiRunQuery, r as aiChatListTopic, s as AiApprovalDecision, t as AiChat, v as AiMessageSibling, w as AiModerationStage, x as AiModerationAction, y as AiModel, z as AiUserMessageTrigger } from "../../ai-chat-
|
|
6
|
-
import { a as NewAiSandbox, i as AiSandboxes, n as AiSandboxStatus, r as AiSandboxStopper, t as AiSandbox } from "../../sandboxes-
|
|
7
|
-
import { c as BlockOf } from "../../define-block-
|
|
8
|
-
import { p as SubscriptionStatus } from "../../topic-
|
|
9
|
-
import { n as TopicPort } from "../../watch-topic-
|
|
10
|
-
import { n as Controller, t as AuthPort } from "../../controller-
|
|
5
|
+
import { $ as createHarnessSessions, A as AiRunStatus, B as SharedAiChat, C as AiModerationInput, D as AiProject, E as AiPendingInputRequest, F as AiStreamClaim, G as AiPendingApproval, H as AiHarnessSessionPatch, I as AiToolApproval, J as AiRunState, K as AiRun, L as AiToolApprovalRequest, M as AiShareLink, N as AiStoredMessage, O as AiProjectInput, P as AiStoredMessageStatus, Q as AiRuns, R as AiToolPolicy, S as AiModerationEvent, T as AiPendingInput, U as AiHarnessSessions, V as AiHarnessSession, W as AiHarnessStatus, X as AiRunStepInput, Y as AiRunStep, Z as AiRunStepStatus, _ as AiFeedback, a as createAiChat, b as AiModelInput, c as AiAssistantMessageOptions, d as AiChatPage, f as AiChatPatch, g as AiChatVisibility, h as AiChatShare, i as aiChatTopic, j as AiSaveResult, k as AiRunRelease, l as AiChatInput, m as AiChatRecord, n as AiChatOptions, o as AiAppendResult, p as AiChatQuery, q as AiRunQuery, r as aiChatListTopic, s as AiApprovalDecision, t as AiChat, v as AiMessageSibling, w as AiModerationStage, x as AiModerationAction, y as AiModel, z as AiUserMessageTrigger } from "../../ai-chat-rQ7Ftq9W.js";
|
|
6
|
+
import { a as NewAiSandbox, i as AiSandboxes, n as AiSandboxStatus, r as AiSandboxStopper, t as AiSandbox } from "../../sandboxes-DKgJZYUZ.js";
|
|
7
|
+
import { c as BlockOf } from "../../define-block-DBD7yhQg.js";
|
|
8
|
+
import { p as SubscriptionStatus } from "../../topic-BYF-GTW9.js";
|
|
9
|
+
import { n as TopicPort } from "../../watch-topic-tfTxgEGc.js";
|
|
10
|
+
import { n as Controller, t as AuthPort } from "../../controller-D3MPVovD.js";
|
|
11
11
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
12
12
|
/**
|
|
13
13
|
* The `type` of each part in the canonical AI message (version 1); the SQL
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as StandardSchemaV1 } from "../../standard-DRX6Ch1j.js";
|
|
2
2
|
import { r as FieldsOf } from "../../block-fields-Puv5m5D3.js";
|
|
3
3
|
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-CDmOUuLZ.js";
|
|
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-
|
|
5
|
-
import { c as BlockOf } from "../../define-block-
|
|
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-DU_nNO7U.js";
|
|
5
|
+
import { c as BlockOf } from "../../define-block-DBD7yhQg.js";
|
|
6
6
|
/** The URL a message stores for a file: `supabase-storage://{bucket}/{path}`. */
|
|
7
7
|
export declare function aiFileUrl(file: Pick<AiFile, "bucket" | "path">): string;
|
|
8
8
|
/** The bucket and path of a `supabase-storage://` URL, or `undefined`. */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Ct as Events, h as AiProviderKeyEventData } from "../../events-DddDlibJ.js";
|
|
2
2
|
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-CDmOUuLZ.js";
|
|
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-
|
|
4
|
-
import { c as BlockOf } from "../../define-block-
|
|
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-DCzgSAlU.js";
|
|
4
|
+
import { c as BlockOf } from "../../define-block-DBD7yhQg.js";
|
|
5
5
|
/** Per-tenant provider keys and provider batch jobs. */
|
|
6
6
|
export declare function createAiKeys(options: AiKeysOptions): AiKeys;
|
|
7
7
|
/** The events of the `ai-keys` block: type to data. */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-CDmOUuLZ.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-DBD7yhQg.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-DIiPmFgn.js";
|
|
4
4
|
/** The `ai-schedules` block's manifest (ADR 0029). */
|
|
5
5
|
export declare const aiSchedulesBlock: BlockOf<"ai-schedules", typeof createAiSchedules, Record<never, never>, {
|
|
6
6
|
readonly notifier: "optional";
|
|
@@ -4,13 +4,13 @@ import { t as StandardSchemaV1 } from "../../standard-DRX6Ch1j.js";
|
|
|
4
4
|
import { r as FieldsOf } from "../../block-fields-Puv5m5D3.js";
|
|
5
5
|
import { Ct as Events, _ as AnnouncementEventData } from "../../events-DddDlibJ.js";
|
|
6
6
|
import { n as Logger } from "../../logger-0LfhvwE4.js";
|
|
7
|
-
import { r as BlockTemporalOptions } from "../../block-helpers-
|
|
7
|
+
import { r as BlockTemporalOptions } from "../../block-helpers-Sj-efEhC.js";
|
|
8
8
|
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-CDmOUuLZ.js";
|
|
9
|
-
import { n as BlockHooks } from "../../block-hooks-
|
|
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-
|
|
9
|
+
import { n as BlockHooks } from "../../block-hooks-VW4knarE.js";
|
|
10
|
+
import { c as BlockOf } from "../../define-block-DBD7yhQg.js";
|
|
11
|
+
import { p as SubscriptionStatus } from "../../topic-BYF-GTW9.js";
|
|
12
|
+
import { n as TopicPort } from "../../watch-topic-tfTxgEGc.js";
|
|
13
|
+
import { n as Controller, t as AuthPort } from "../../controller-D3MPVovD.js";
|
|
14
14
|
type AnnouncementSeverity = "info" | "success" | "warning" | "critical";
|
|
15
15
|
/**
|
|
16
16
|
* Who sees it: everyone, members of some tenants, members with some roles, or
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-CDmOUuLZ.js";
|
|
2
|
-
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-
|
|
3
|
-
import { a as ApiKeyDraft, c as ApiKeysControllerOptions, d as ApiKeyAuth, f as ApiKeyContributions, i as ApiKeyChange, l as ApiKeysSnapshot, m as withApiKey, n as ApiKeysEvents, o as ApiKeysActions, p as WithApiKeyOptions, r as apiKeysEvents, s as ApiKeysController, t as apiKeysBlock, u as createApiKeysController } from "../../index-
|
|
2
|
+
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-U3JQ8IlM.js";
|
|
3
|
+
import { a as ApiKeyDraft, c as ApiKeysControllerOptions, d as ApiKeyAuth, f as ApiKeyContributions, i as ApiKeyChange, l as ApiKeysSnapshot, m as withApiKey, n as ApiKeysEvents, o as ApiKeysActions, p as WithApiKeyOptions, r as apiKeysEvents, s as ApiKeysController, t as apiKeysBlock, u as createApiKeysController } from "../../index-DhHtsi-q.js";
|
|
4
4
|
export { type ApiKey, type ApiKeyAuth, type ApiKeyChange, type ApiKeyCheck, type ApiKeyClaimsOptions, type ApiKeyContributions, type ApiKeyDraft, type ApiKeyExtraClaim, type ApiKeyExtraClaims, type ApiKeyReservedClaim, type ApiKeyResolverOptions, type ApiKeyState, type ApiKeys, type ApiKeysActions, type ApiKeysController, type ApiKeysControllerOptions, type ApiKeysEvents, type ApiKeysOptions, type ApiKeysSnapshot, type BlockTransport, type CreateApiKeyInput, type CreatedApiKey, type ParsedApiKey, type WithApiKeyOptions, apiKeyChecksum, apiKeyClaims, apiKeyResolver, apiKeysBlock, apiKeysEvents, createApiKeys, createApiKeysController, dbTransport, parseApiKey, rpcTransport, sqlTransport, withApiKey };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { A as CollaborationEventData, Ct as Events } from "../../events-DddDlibJ.js";
|
|
2
2
|
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-CDmOUuLZ.js";
|
|
3
|
-
import { c as BlockOf } from "../../define-block-
|
|
4
|
-
import { a as
|
|
3
|
+
import { c as BlockOf } from "../../define-block-DBD7yhQg.js";
|
|
4
|
+
import { _ as ApprovalsOptions, a as ApprovalMode, c as ApprovalRequestDetail, d as ApprovalRequirement, f as ApprovalStatus, g as Approvals, h as ApprovalTenantPolicy, i as ApprovalListOptions, l as ApprovalRequestInput, m as ApprovalStepInput, n as ApprovalDecideOptions, o as ApprovalPolicyInput, p as ApprovalStep, r as ApprovalDecision, s as ApprovalRequest, t as ApprovalApprovers, u as ApprovalRequestPolicy, v as approvalFingerprint, y as createApprovals } from "../../approvals-CYbTzQ7v.js";
|
|
5
5
|
/** `approval_policy.saved` and `approval_policy.removed`. */
|
|
6
6
|
interface ApprovalPolicyEventData {
|
|
7
7
|
readonly organizationId: string;
|
|
@@ -19,6 +19,7 @@ type ApprovalsEvents = {
|
|
|
19
19
|
readonly "approval.expired": CollaborationEventData;
|
|
20
20
|
readonly "approval.delegated": CollaborationEventData;
|
|
21
21
|
readonly "approval.consumed": CollaborationEventData;
|
|
22
|
+
readonly "approval.escalated": CollaborationEventData;
|
|
22
23
|
readonly "approval_policy.saved": ApprovalPolicyEventData;
|
|
23
24
|
readonly "approval_policy.removed": ApprovalPolicyEventData;
|
|
24
25
|
};
|
|
@@ -26,4 +27,4 @@ type ApprovalsEvents = {
|
|
|
26
27
|
export declare const approvalsEvents: Events<ApprovalsEvents>;
|
|
27
28
|
/** The `approvals` block's manifest (ADR 0029). */
|
|
28
29
|
export declare const approvalsBlock: BlockOf<"approvals", typeof createApprovals, ApprovalsEvents>;
|
|
29
|
-
export { type ApprovalApprovers, type ApprovalDecision, type ApprovalListOptions, type ApprovalMode, type ApprovalPolicyInput, type ApprovalRequest, type ApprovalRequestDetail, type ApprovalRequestInput, type ApprovalRequirement, type ApprovalStatus, type ApprovalStep, type ApprovalTenantPolicy, type Approvals, type ApprovalsEvents, type ApprovalsOptions, type BlockTransport, approvalFingerprint, createApprovals, dbTransport, rpcTransport, sqlTransport };
|
|
30
|
+
export { type ApprovalApprovers, type ApprovalDecideOptions, type ApprovalDecision, type ApprovalListOptions, type ApprovalMode, type ApprovalPolicyInput, type ApprovalRequest, type ApprovalRequestDetail, type ApprovalRequestInput, type ApprovalRequestPolicy, type ApprovalRequirement, type ApprovalStatus, type ApprovalStep, type ApprovalStepInput, type ApprovalTenantPolicy, type Approvals, type ApprovalsEvents, type ApprovalsOptions, type BlockTransport, approvalFingerprint, createApprovals, dbTransport, rpcTransport, sqlTransport };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as approvalsSqlOptions } from "../../options-
|
|
1
|
+
import { t as approvalsSqlOptions } from "../../options-DLJTiX29.js";
|
|
2
2
|
import { n as event, t as defineEvents } from "../../event-map-DxfsFgQT.js";
|
|
3
3
|
import { U as rpcTransport, V as dbTransport, W as sqlTransport } from "../../block-helpers-I7UzjNEf.js";
|
|
4
4
|
import { n as defineBlock } from "../../define-block-22Jv4U_-.js";
|
|
5
|
-
import { n as createApprovals, t as approvalFingerprint } from "../../approvals-
|
|
5
|
+
import { n as createApprovals, t as approvalFingerprint } from "../../approvals-cyL5CmU7.js";
|
|
6
6
|
// src/blocks/approvals/events.ts
|
|
7
7
|
/** The `approvals` block's event types, for its manifest and `onBlockEvent`. */
|
|
8
8
|
const approvalsEvents = defineEvents({
|
|
@@ -13,6 +13,7 @@ const approvalsEvents = defineEvents({
|
|
|
13
13
|
"approval.expired": event(),
|
|
14
14
|
"approval.delegated": event(),
|
|
15
15
|
"approval.consumed": event(),
|
|
16
|
+
"approval.escalated": event(),
|
|
16
17
|
"approval_policy.saved": event(),
|
|
17
18
|
"approval_policy.removed": event()
|
|
18
19
|
});
|
|
@@ -3,11 +3,11 @@ import { T as ErrorMapper, t as AsyncResult } from "../../result-DTOQRyGY.js";
|
|
|
3
3
|
import { et as RecordRef } from "../../types-BzIYSSWK.js";
|
|
4
4
|
import { Ct as Events } from "../../events-DddDlibJ.js";
|
|
5
5
|
import { n as Logger } from "../../logger-0LfhvwE4.js";
|
|
6
|
-
import {
|
|
6
|
+
import { o as BlockTenantOptions, r as BlockTemporalOptions } from "../../block-helpers-Sj-efEhC.js";
|
|
7
7
|
import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-CDmOUuLZ.js";
|
|
8
|
-
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-
|
|
8
|
+
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-VW4knarE.js";
|
|
9
9
|
import { t as AssetsSqlOptions } from "../../options-Bwrwb8do.js";
|
|
10
|
-
import { c as BlockOf, rn as RecordBinding } from "../../define-block-
|
|
10
|
+
import { c as BlockOf, rn as RecordBinding } from "../../define-block-DBD7yhQg.js";
|
|
11
11
|
interface AssetsOptions extends BlockTemporalOptions, BlockTenantOptions {
|
|
12
12
|
readonly transport: BlockTransport;
|
|
13
13
|
/**
|
|
@@ -3,11 +3,11 @@ import { T as ErrorMapper, t as AsyncResult } from "../../result-DTOQRyGY.js";
|
|
|
3
3
|
import { Ct as Events } from "../../events-DddDlibJ.js";
|
|
4
4
|
import { p as AssignmentEventData } from "../../index-DjJUamhw.js";
|
|
5
5
|
import { n as Logger } from "../../logger-0LfhvwE4.js";
|
|
6
|
-
import { r as BlockTemporalOptions } from "../../block-helpers-
|
|
6
|
+
import { r as BlockTemporalOptions } from "../../block-helpers-Sj-efEhC.js";
|
|
7
7
|
import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-CDmOUuLZ.js";
|
|
8
|
-
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-
|
|
8
|
+
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-VW4knarE.js";
|
|
9
9
|
import { h as FilterQuery } from "../../filter-query-Xj40B5KT.js";
|
|
10
|
-
import { Sn as EntitySchema, c as BlockOf } from "../../define-block-
|
|
10
|
+
import { Sn as EntitySchema, c as BlockOf } from "../../define-block-DBD7yhQg.js";
|
|
11
11
|
/** How a queue picks the next owner. */
|
|
12
12
|
type AssignmentStrategy = "round_robin" | "weighted";
|
|
13
13
|
/** A member in a queue's rotation. */
|
|
@@ -2,8 +2,8 @@ import { b as DbError, f as Result, t as AsyncResult } from "../../result-DTOQRy
|
|
|
2
2
|
import { Ct as Events, ot as StorageObjectEventData, y as AttachmentEventData } from "../../events-DddDlibJ.js";
|
|
3
3
|
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-CDmOUuLZ.js";
|
|
4
4
|
import { t as Author } from "../../block-authors-C5z3tGVu.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-DBD7yhQg.js";
|
|
6
|
+
import { n as Controller } from "../../controller-D3MPVovD.js";
|
|
7
7
|
/** A pending write to a record's files, for `useOptimistic`. */
|
|
8
8
|
type AttachmentsOptimisticAction = {
|
|
9
9
|
readonly type: "add";
|
|
@@ -3,17 +3,17 @@ import { T as ErrorMapper, b as DbError, f as Result, t as AsyncResult } from ".
|
|
|
3
3
|
import { O as AnyFunctions, dt as TableKey, k as AnyModels } from "../../types-BzIYSSWK.js";
|
|
4
4
|
import { Ct as Events, b as AuditRevealEventData } from "../../events-DddDlibJ.js";
|
|
5
5
|
import { n as Logger } from "../../logger-0LfhvwE4.js";
|
|
6
|
-
import { r as BlockTemporalOptions } from "../../block-helpers-
|
|
6
|
+
import { r as BlockTemporalOptions } from "../../block-helpers-Sj-efEhC.js";
|
|
7
7
|
import { n as SqlClient } from "../../executor-DoSNec_H.js";
|
|
8
8
|
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-CDmOUuLZ.js";
|
|
9
|
-
import { n as BlockHooks } from "../../block-hooks-
|
|
9
|
+
import { n as BlockHooks } from "../../block-hooks-VW4knarE.js";
|
|
10
10
|
import { Yt as WhereInput, t as BetterSupabase } from "../../define-C_He1bQO.js";
|
|
11
|
-
import { c as BlockOf } from "../../define-block-
|
|
11
|
+
import { c as BlockOf } from "../../define-block-DBD7yhQg.js";
|
|
12
12
|
import { i as EventSink, t as CloudEvent } from "../../cloud-event-BjgxkfJJ.js";
|
|
13
13
|
import { i as ListDefinition } from "../../list-query-BkbLV-Yc.js";
|
|
14
|
-
import { n as Controller, t as AuthPort } from "../../controller-
|
|
15
|
-
import { a as UndoToken } from "../../undo-
|
|
16
|
-
import { n as AuditCategory } from "../../context-
|
|
14
|
+
import { n as Controller, t as AuthPort } from "../../controller-D3MPVovD.js";
|
|
15
|
+
import { a as UndoToken } from "../../undo-BCQMqIQN.js";
|
|
16
|
+
import { n as AuditCategory } from "../../context-DXWyPNzr.js";
|
|
17
17
|
interface PurgeAuditLogOptions extends BlockTemporalOptions {
|
|
18
18
|
/**
|
|
19
19
|
* How long entries are kept when `retention` has no answer. Defaults to `1
|
|
@@ -3,16 +3,16 @@ import { D as ValidationIssue, T as ErrorMapper, b as DbError, f as Result, t as
|
|
|
3
3
|
import { et as RecordRef } from "../../types-BzIYSSWK.js";
|
|
4
4
|
import { Ct as Events } from "../../events-DddDlibJ.js";
|
|
5
5
|
import { n as Logger } from "../../logger-0LfhvwE4.js";
|
|
6
|
-
import { r as BlockTemporalOptions } from "../../block-helpers-
|
|
6
|
+
import { r as BlockTemporalOptions } from "../../block-helpers-Sj-efEhC.js";
|
|
7
7
|
import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-CDmOUuLZ.js";
|
|
8
|
-
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-
|
|
8
|
+
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-VW4knarE.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-Xj40B5KT.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-
|
|
12
|
-
import {
|
|
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-DBD7yhQg.js";
|
|
11
|
+
import { n as Controller, t as AuthPort } from "../../controller-D3MPVovD.js";
|
|
12
|
+
import { l as ApprovalRequestInput } from "../../approvals-CYbTzQ7v.js";
|
|
13
13
|
import { n as FilterRecordField, t as FilterEvaluation } from "../../filter-evaluate-Bkbb0nuQ.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-CP46SPNE.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-BShzA-u-.js";
|
|
16
16
|
/** What a rule runs when it matches: an action reference (ADR 0046). */
|
|
17
17
|
type RuleAction = ActionRef;
|
|
18
18
|
interface Rule {
|
|
@@ -3,10 +3,10 @@ import { T as ErrorMapper, t as AsyncResult } from "../../result-DTOQRyGY.js";
|
|
|
3
3
|
import { et as RecordRef } from "../../types-BzIYSSWK.js";
|
|
4
4
|
import { Ct as Events } from "../../events-DddDlibJ.js";
|
|
5
5
|
import { n as Logger } from "../../logger-0LfhvwE4.js";
|
|
6
|
-
import {
|
|
6
|
+
import { o as BlockTenantOptions, r as BlockTemporalOptions } from "../../block-helpers-Sj-efEhC.js";
|
|
7
7
|
import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-CDmOUuLZ.js";
|
|
8
|
-
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-
|
|
9
|
-
import { Sn as EntitySchema, c as BlockOf, ln as RecordBindingWrite, rn as RecordBinding } from "../../define-block-
|
|
8
|
+
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-VW4knarE.js";
|
|
9
|
+
import { Sn as EntitySchema, c as BlockOf, ln as RecordBindingWrite, rn as RecordBinding } from "../../define-block-DBD7yhQg.js";
|
|
10
10
|
import { n as Money } from "../../money-BgpAd7d3.js";
|
|
11
11
|
/** How `unbilled` and `invoice` turn entries into lines. */
|
|
12
12
|
type BillableTimeGrouping = "subject" | "member" | "entry";
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
import { T as ErrorMapper, b as DbError, f as Result, t as AsyncResult } from "../../result-DTOQRyGY.js";
|
|
3
3
|
import { C as BillingEventData, Ct as Events, O as BlockEventType, o as EventHub } from "../../events-DddDlibJ.js";
|
|
4
4
|
import { n as Logger } from "../../logger-0LfhvwE4.js";
|
|
5
|
-
import { i as CursorPageOptions, r as BlockTemporalOptions } from "../../block-helpers-
|
|
5
|
+
import { i as CursorPageOptions, r as BlockTemporalOptions } from "../../block-helpers-Sj-efEhC.js";
|
|
6
6
|
import { n as SqlClient } from "../../executor-DoSNec_H.js";
|
|
7
7
|
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-CDmOUuLZ.js";
|
|
8
|
-
import { n as BlockHooks } from "../../block-hooks-
|
|
8
|
+
import { n as BlockHooks } from "../../block-hooks-VW4knarE.js";
|
|
9
9
|
import { n as StripeSource, r as StripeTaxId, t as StripeClient } from "../../stripe-Bl-sjnl6.js";
|
|
10
|
-
import { c as BlockOf } from "../../define-block-
|
|
10
|
+
import { c as BlockOf } from "../../define-block-DBD7yhQg.js";
|
|
11
11
|
import { i as EventSink } from "../../cloud-event-BjgxkfJJ.js";
|
|
12
|
-
import { n as Controller, t as AuthPort } from "../../controller-
|
|
12
|
+
import { n as Controller, t as AuthPort } from "../../controller-D3MPVovD.js";
|
|
13
13
|
import { d as stripeInboxVerify, f as verifyStripeWebhook, u as signStripeWebhook } from "../../verify-Cpc1upDA.js";
|
|
14
14
|
/** The events of the `billing` block: type to data. */
|
|
15
15
|
type BillingEvents = {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { b as DbError } from "../../result-DTOQRyGY.js";
|
|
2
2
|
import { Ct as Events, tt as SchedulingEventData } from "../../events-DddDlibJ.js";
|
|
3
|
-
import { c as BlockOf } from "../../define-block-
|
|
4
|
-
import { n as Controller } from "../../controller-
|
|
3
|
+
import { c as BlockOf } from "../../define-block-DBD7yhQg.js";
|
|
4
|
+
import { n as Controller } from "../../controller-D3MPVovD.js";
|
|
5
5
|
import { o as WeeklyHours } from "../../availability-CZlcrkqD.js";
|
|
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-
|
|
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-CHUzFwOI.js";
|
|
7
7
|
import { t as EventCalendarEvent } from "../../event-calendar-DPMcqy7Q.js";
|
|
8
8
|
import { t as VisibleRange } from "../../range-BN3kpJAE.js";
|
|
9
9
|
/** A booking row as `hold_booking`, `list_bookings` and the others return it. */
|
|
@@ -3,8 +3,8 @@ import { T as ErrorMapper, t as AsyncResult } from "../../result-DTOQRyGY.js";
|
|
|
3
3
|
import { $ as SaasEventData, Ct as Events } from "../../events-DddDlibJ.js";
|
|
4
4
|
import { n as Logger } from "../../logger-0LfhvwE4.js";
|
|
5
5
|
import { t as BlockTransport } from "../../block-transport-CDmOUuLZ.js";
|
|
6
|
-
import { n as BlockHooks } from "../../block-hooks-
|
|
7
|
-
import { c as BlockOf } from "../../define-block-
|
|
6
|
+
import { n as BlockHooks } from "../../block-hooks-VW4knarE.js";
|
|
7
|
+
import { c as BlockOf } from "../../define-block-DBD7yhQg.js";
|
|
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";
|
|
10
10
|
/** Arguments per built-in action; an app's own actions take any object. */
|