better-supabase 0.40.0 → 0.41.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-kHGNXFsd.d.ts} +1 -1
- package/dist/{approvals-CXW3yFWZ.d.ts → approvals-CTVaWq1O.d.ts} +74 -13
- package/dist/{approvals-D8gR1R8R.js → approvals-Qjn42OAZ.js} +35 -17
- package/dist/{assistant-5heV2GeR.d.ts → assistant-B1p5mYaM.d.ts} +2 -2
- package/dist/{authorization-Ul_ApMYW.d.ts → authorization-CS5Q1V7A.d.ts} +33 -7
- package/dist/{automations-D4QTP8nI.js → automations-CJhRmPmq.js} +3 -1
- package/dist/{bind-B2GlypM6.d.ts → bind-XrFxNm5r.d.ts} +4 -4
- package/dist/{block-env-Bcr-jEA1.d.ts → block-env-CHFHOjvz.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-Bz95_dqA.js} +1 -1
- package/dist/{block-tables-nkIjJ1ly.d.ts → block-tables-EXcmuOJT.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 +4 -2
- 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 +7 -3
- package/dist/blocks/invoices/index.js +4 -2
- 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 +2 -1
- 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-BVs8Ym-K.js → add-BGErz-yb.js} +10 -10
- package/dist/cli/add-CoP8iie6.js +1 -0
- package/dist/cli/{add-DP1ct-7e.js → add-DU5HAq6w.js} +2 -2
- package/dist/cli/{app-table-files-gjMyFqH4.js → app-table-files-Drzpekpt.js} +2 -2
- package/dist/cli/{app-tables-B26PHK75.js → app-tables-dZpH63--.js} +2 -2
- package/dist/cli/{backfill-CP_LpTK2.js → backfill-B-p-19g6.js} +1 -1
- package/dist/cli/bin.js +1 -1
- package/dist/cli/{blocks-CpBLp57s.js → blocks-Ews-FZZO.js} +1 -1
- package/dist/cli/{blocks-Ewp49Kbm.js → blocks-iUjNl5yJ.js} +1 -1
- package/dist/cli/{cache-BxxtUXVN.js → cache-JT4JhdmX.js} +1 -1
- package/dist/cli/{codemod-CGCxMEyD.js → codemod-KIxYiazj.js} +1 -1
- package/dist/cli/{content-mapper-DngBJv4r.js → content-mapper-DkXzxt6f.js} +2 -2
- package/dist/cli/{doctor-3dcMraMn.js → doctor-VWanOD74.js} +15 -15
- package/dist/cli/{gen-DrXxFwUU.js → gen-_lBdTgaR.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-Cm6n4u_3.js} +8 -8
- package/dist/cli/{live-CHTbAqdS.js → live-D4iSuTmS.js} +2 -2
- package/dist/cli/{mcp-BbmhntrR.js → mcp-CHYX7utI.js} +2 -2
- package/dist/cli/{metadata-BS56R_eb.js → metadata-DLba0VjH.js} +3 -3
- package/dist/cli/{migrate-DV6a9-jI.js → migrate-nQhh0nEJ.js} +1 -1
- package/dist/cli/{migration-safety-Ce9IQwmJ.js → migration-safety-C2d3BSTf.js} +1 -1
- package/dist/cli/{migrations-CCCnMhmM.js → migrations-BOmMcme9.js} +2 -2
- package/dist/cli/{module-migration-C0cAzpNa.js → module-migration-DSDB473C.js} +2 -2
- package/dist/cli/{powersync-OIIpG-y_.js → powersync-CAHvPkkb.js} +3 -3
- package/dist/cli/powersync-nH-NLDjy.js +1 -0
- package/dist/cli/{print-BGF3d6O2.js → print-CahE8HYK.js} +2 -2
- package/dist/cli/{providers-fEzlYSLs.js → providers-CL5Z5Uj4.js} +1 -1
- package/dist/cli/{prune-workflows-Bx7J5T3a.js → prune-workflows-C9xO0fRU.js} +1 -1
- package/dist/cli/{remove-Ds4N6WvD.js → remove-DIy7gthm.js} +5 -5
- package/dist/cli/{render-BeZToAp-.js → render-CoCZr3Ru.js} +3 -3
- package/dist/cli/{run-iUmtksq5.js → run-BBj137Fn.js} +27 -27
- package/dist/cli/{run-DR0sTyNQ.js → run-CVw8hmLk.js} +9 -9
- package/dist/cli/{shared-BCWYvKeR.js → shared-BdKeo7xp.js} +1 -1
- package/dist/cli/{snapshot-CfgRxTQq.js → snapshot-P2ww2xCt.js} +2 -2
- package/dist/cli/{source-Ct3ZCy6p.js → source-BCs4oBl2.js} +1 -1
- package/dist/cli/{spec-1eEq2P4T.js → spec-oPbt9sbZ.js} +1 -1
- package/dist/cli/{spec-9vb-or-k.js → spec-uCpXPLoF.js} +2 -2
- package/dist/cli/{sql-layout-cYsnyjRf.js → sql-layout-Bsnge2oW.js} +2 -2
- package/dist/cli/{sync-XpcpINnx.js → sync-Cv7iBRhe.js} +4 -4
- package/dist/cli/{upgrade-A18FY5Iy.js → upgrade-C6jWNxkc.js} +2 -2
- package/dist/cli/{upgrade-DXhyb2jV.js → upgrade-DV7jTRdh.js} +5 -5
- package/dist/cli/{version-PcwPOm4G.js → version-Hza4Q2PB.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-BRGMUEE2.js → config-B7hnJFxh.js} +1 -1
- package/dist/{config-qqAfS_1_.js → config-DwXYtmwt.js} +3 -3
- package/dist/{connectors-DDsdz-cn.d.ts → connectors-OMJkoAP6.d.ts} +2 -2
- package/dist/{context-dHluCmud.d.ts → context-tFoygone.d.ts} +2 -2
- package/dist/contract/index.d.ts +4 -4
- package/dist/{controller-BQXgMwWN.d.ts → controller-phhsPHSz.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-LfW6S2RW.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-CMWRPBmF.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-BKz-E3Mv.d.ts → index-B-HuxATL.d.ts} +8 -8
- package/dist/{index-xmb6YGTg.d.ts → index-B21Pim3I.d.ts} +2 -2
- package/dist/{index-DhcLJAtX.d.ts → index-BXkPvYzd.d.ts} +1 -1
- package/dist/{index-IrJQqPeQ.d.ts → index-D-uiT4Qz.d.ts} +3 -3
- package/dist/{index-g_eFnFqo.d.ts → index-RZqQdq1G.d.ts} +2 -2
- package/dist/{index-y70eTezB.d.ts → index-X5igfnIi.d.ts} +2 -2
- package/dist/{index-CpZ4WDDJ.d.ts → index-fmrLdtVT.d.ts} +1 -1
- package/dist/{instances-DqEZrffE.js → instances-DJOknCJ0.js} +8 -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-Cm4mSrAX.d.ts} +1 -1
- package/dist/{options-Bgnm4pTD.js → options-CzxG2Phg.js} +3 -0
- 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-r0Cxhxos.d.ts} +1 -1
- package/dist/{ports-1M1E_r2n.d.ts → ports-BJJJmfWK.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-U47pzJMK.js} +2 -2
- package/dist/{project-Y2wW_nr_.js → project-Dng8tO8S.js} +5 -5
- package/dist/{push-token-DKImhAca.d.ts → push-token-CA31xmQr.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-BudVz33a.js} +1113 -375
- 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-C2vnB0wX.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-CKN3kmoi.d.ts} +1 -1
- package/dist/{types-DtiDatvu.d.ts → types-D--4dv5K.d.ts} +3 -3
- package/dist/{types-B42S7qfO.d.ts → types-D8Tltfdq.d.ts} +2 -2
- 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-0dXuJMuE.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-CUt0E4v6.d.ts → workflow-sdk-DzKQo265.d.ts} +2 -2
- package/dist/{workflow-sdk-6psRpDIo.js → workflow-sdk-vXuxBSrk.js} +20 -1
- 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 +22 -0
- package/dist/cli/add-DrwQvDYD.js +0 -1
- package/dist/cli/powersync-Cxd3a_v_.js +0 -1
|
@@ -4,10 +4,10 @@ import { t as StandardSchemaV1 } from "../../standard-DRX6Ch1j.js";
|
|
|
4
4
|
import { n as ExtraFields, r as FieldsOf } from "../../block-fields-Puv5m5D3.js";
|
|
5
5
|
import { Ct as Events } 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, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-CDmOUuLZ.js";
|
|
9
|
-
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-
|
|
10
|
-
import { Sn as EntitySchema, c as BlockOf } from "../../define-block-
|
|
9
|
+
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-VW4knarE.js";
|
|
10
|
+
import { Sn as EntitySchema, c as BlockOf } from "../../define-block-DBD7yhQg.js";
|
|
11
11
|
interface IncidentsOptions<S extends StandardSchemaV1 | undefined = undefined> extends BlockTemporalOptions {
|
|
12
12
|
readonly transport: BlockTransport;
|
|
13
13
|
/**
|
package/dist/blocks/index.d.ts
CHANGED
|
@@ -4,15 +4,15 @@ import { a as WithExtraFields, n as ExtraFields, o as blockFields, r as FieldsOf
|
|
|
4
4
|
import { et as RecordRef } from "../types-BzIYSSWK.js";
|
|
5
5
|
import { Ct as Events, Dt as mergeEvents, Et as event, St as EventSpec, Tt as defineEvents, bt as EventMap, w as BlockEmit, xt as EventMapOf } from "../events-DddDlibJ.js";
|
|
6
6
|
import { z as onBlockEvent } from "../index-DjJUamhw.js";
|
|
7
|
-
import {
|
|
7
|
+
import { i as CursorPageOptions, n as BlockOptions, o as BlockTenantOptions, s as BlockTenant } from "../block-helpers-Sj-efEhC.js";
|
|
8
8
|
import { a as dbTransport, i as RpcClient, n as DbTransportOptions, o as rpcTransport, r as DbTransportSource, s as sqlTransport, t as BlockTransport } from "../block-transport-CDmOUuLZ.js";
|
|
9
|
-
import { a as BlockTransportMiddleware, c as ExtendBlockTools, d as extendBlock, f as withBlockHooks, i as BlockMethodName, l as WithBlockHooksOptions, n as BlockHooks, o as BlockTransportRequest, p as wrapTransport, r as BlockMethodHooks, s as ExtendBlockOptions, t as BlockHookInfo, u as defineTransportMiddleware } from "../block-hooks-
|
|
9
|
+
import { a as BlockTransportMiddleware, c as ExtendBlockTools, d as extendBlock, f as withBlockHooks, i as BlockMethodName, l as WithBlockHooksOptions, n as BlockHooks, o as BlockTransportRequest, p as wrapTransport, r as BlockMethodHooks, s as ExtendBlockOptions, t as BlockHookInfo, u as defineTransportMiddleware } from "../block-hooks-VW4knarE.js";
|
|
10
10
|
import { n as FinalRunState, r as RunState, t as FINAL_RUN_STATES } from "../run-state-D0Tbl-nM.js";
|
|
11
11
|
import { a as OptionInput, c as OptionSpecs, d as optionsJsonSchema, i as OptionBuilders, l as blockOptions, n as ExtraColumns, o as OptionKind, r as NO_OPTIONS, s as OptionSpec, t as BlockOptionsSchema, u as option } from "../options-CRwTY_q2.js";
|
|
12
|
-
import { A as CreateBlocksOptions, An as BlockNaming, C as BlockContext, Cn as EntitySchemaSpec, D as Blocks, Dn as GeneratedBlocks, E as BlockSinks, En as GeneratedBlock, F as BlockPorts, Fn as entityNames, I as Notifier, L as NotifierInput, M as createBlockClient, Mn as EntityNames, N as createBlocks, Nn as EntityNoun, O as BlocksEventMap, On as fillTopic, P as defineBlocks, Pn as EntityRename, R as PortName, S as BlockClientSource, Sn as EntitySchema, T as BlockSet, Tn as entitySchema, _ as BlockProvider, a as BlockConsumes, b as BLOCK_EVENT_SOURCE, bn as BlockSchemas, c as BlockOf, d as ClientOf, f as ConsumedPorts, g as BlockEnvKey, h as defineBlock, i as BlockCategory, j as UniquePort, jn as blockNames, k as BlocksHooks, kn as generatedOptions, l as BlockOptionSchemas, m as UsingOptions, n as BLOCK_CATEGORIES, o as BlockDefinition, p as ProvidedPorts, r as Block, s as BlockInvalidates, t as AnyBlock, tn as AnyRecordBinding, u as BlockProvides, v as BlockWiring, w as BlockMap, wn as EntitySchemas, x as BlockClientOptions, xn as EntityFieldSpecs, y as BlockWorker } from "../define-block-
|
|
12
|
+
import { A as CreateBlocksOptions, An as BlockNaming, C as BlockContext, Cn as EntitySchemaSpec, D as Blocks, Dn as GeneratedBlocks, E as BlockSinks, En as GeneratedBlock, F as BlockPorts, Fn as entityNames, I as Notifier, L as NotifierInput, M as createBlockClient, Mn as EntityNames, N as createBlocks, Nn as EntityNoun, O as BlocksEventMap, On as fillTopic, P as defineBlocks, Pn as EntityRename, R as PortName, S as BlockClientSource, Sn as EntitySchema, T as BlockSet, Tn as entitySchema, _ as BlockProvider, a as BlockConsumes, b as BLOCK_EVENT_SOURCE, bn as BlockSchemas, c as BlockOf, d as ClientOf, f as ConsumedPorts, g as BlockEnvKey, h as defineBlock, i as BlockCategory, j as UniquePort, jn as blockNames, k as BlocksHooks, kn as generatedOptions, l as BlockOptionSchemas, m as UsingOptions, n as BLOCK_CATEGORIES, o as BlockDefinition, p as ProvidedPorts, r as Block, s as BlockInvalidates, t as AnyBlock, tn as AnyRecordBinding, u as BlockProvides, v as BlockWiring, w as BlockMap, wn as EntitySchemas, x as BlockClientOptions, xn as EntityFieldSpecs, y as BlockWorker } from "../define-block-DBD7yhQg.js";
|
|
13
13
|
import { t as VisibleRange } from "../range-BN3kpJAE.js";
|
|
14
14
|
import { t as subjectKey } from "../block-subjects-Bkieh2Xk.js";
|
|
15
|
-
import { t as BlockEnv } from "../block-env-
|
|
15
|
+
import { t as BlockEnv } from "../block-env-CHFHOjvz.js";
|
|
16
16
|
/** What a hook passes a block creator from the env. */
|
|
17
17
|
interface EnvBlockOptions {
|
|
18
18
|
readonly transport: BlockTransport;
|
|
@@ -4,11 +4,11 @@ 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, M as CommerceSubjectEventData, j as CommerceEventData } from "../../events-DddDlibJ.js";
|
|
6
6
|
import { n as Logger } from "../../logger-0LfhvwE4.js";
|
|
7
|
-
import { n as BlockOptions } from "../../block-helpers-
|
|
7
|
+
import { n as BlockOptions } from "../../block-helpers-Sj-efEhC.js";
|
|
8
8
|
import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-CDmOUuLZ.js";
|
|
9
|
-
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-
|
|
10
|
-
import { _ as JobHandler } from "../../types-
|
|
11
|
-
import { c as BlockOf } from "../../define-block-
|
|
9
|
+
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-VW4knarE.js";
|
|
10
|
+
import { _ as JobHandler } from "../../types-LLCyr-xs.js";
|
|
11
|
+
import { c as BlockOf } from "../../define-block-DBD7yhQg.js";
|
|
12
12
|
import { n as Money } from "../../money-BgpAd7d3.js";
|
|
13
13
|
import { t as StockDetail } from "../../stock-detail-BRIt7CjU.js";
|
|
14
14
|
/** How a variant's stock is tracked. */
|
|
@@ -6,10 +6,10 @@ import { et as RecordRef } from "../../types-BzIYSSWK.js";
|
|
|
6
6
|
import { Ct as Events } from "../../events-DddDlibJ.js";
|
|
7
7
|
import { w as InvoiceEventData } from "../../index-DjJUamhw.js";
|
|
8
8
|
import { n as Logger } from "../../logger-0LfhvwE4.js";
|
|
9
|
-
import { r as BlockTemporalOptions } from "../../block-helpers-
|
|
9
|
+
import { a as TransitionActor, r as BlockTemporalOptions } from "../../block-helpers-Sj-efEhC.js";
|
|
10
10
|
import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-CDmOUuLZ.js";
|
|
11
|
-
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-
|
|
12
|
-
import { c as BlockOf } from "../../define-block-
|
|
11
|
+
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-VW4knarE.js";
|
|
12
|
+
import { c as BlockOf } from "../../define-block-DBD7yhQg.js";
|
|
13
13
|
import { n as Money } from "../../money-BgpAd7d3.js";
|
|
14
14
|
import { i as Totals, n as Line, r as LineInput } from "../../sales-lines-wQHuL-pa.js";
|
|
15
15
|
type InvoiceStatus = "draft" | "issued" | "partially_paid" | "paid" | "void" | "uncollectible";
|
|
@@ -120,6 +120,8 @@ interface Invoices<F extends object = Record<never, never>> {
|
|
|
120
120
|
/** Issues a draft: the next number, issue and due dates, frozen lines. */
|
|
121
121
|
issue(invoiceId: string, issuedOn?: Temporal.PlainDate, options?: {
|
|
122
122
|
readonly dueOn?: Temporal.PlainDate;
|
|
123
|
+
/** Who issued it, for the state machine's history. */
|
|
124
|
+
readonly actor?: TransitionActor;
|
|
123
125
|
}): AsyncResult<Invoice<F>>;
|
|
124
126
|
/** Records a payment; a negative amount is a refund. */
|
|
125
127
|
recordPayment(invoiceId: string, payment: {
|
|
@@ -131,6 +133,8 @@ interface Invoices<F extends object = Record<never, never>> {
|
|
|
131
133
|
readonly reference?: string;
|
|
132
134
|
/** A memo kept with the payment. */
|
|
133
135
|
readonly note?: string;
|
|
136
|
+
/** Who recorded it, for the state machine's history. */
|
|
137
|
+
readonly actor?: TransitionActor;
|
|
134
138
|
}): AsyncResult<Invoice<F>>;
|
|
135
139
|
/** A draft credit note for the whole invoice, or for the given lines. */
|
|
136
140
|
credit(invoiceId: string, options?: {
|
|
@@ -166,7 +166,8 @@ function createInvoices(options) {
|
|
|
166
166
|
issue: (invoiceId, issuedOn, issueOptions = {}) => invoice("issue_invoice", {
|
|
167
167
|
invoice: invoiceId,
|
|
168
168
|
issued_on: issuedOn === void 0 ? null : issuedOn.toString(),
|
|
169
|
-
...issueOptions.dueOn === void 0 ? {} : { due_on: issueOptions.dueOn.toString() }
|
|
169
|
+
...issueOptions.dueOn === void 0 ? {} : { due_on: issueOptions.dueOn.toString() },
|
|
170
|
+
...issueOptions.actor === void 0 ? {} : { actor: issueOptions.actor }
|
|
170
171
|
}),
|
|
171
172
|
recordPayment: (invoiceId, payment) => invoice("record_invoice_payment", {
|
|
172
173
|
invoice: invoiceId,
|
|
@@ -175,7 +176,8 @@ function createInvoices(options) {
|
|
|
175
176
|
paid_at: instantArg(payment.paidAt) ?? null,
|
|
176
177
|
method: payment.method ?? null,
|
|
177
178
|
reference: payment.reference ?? null,
|
|
178
|
-
note: payment.note ?? null
|
|
179
|
+
note: payment.note ?? null,
|
|
180
|
+
...payment.actor === void 0 ? {} : { actor: payment.actor }
|
|
179
181
|
}),
|
|
180
182
|
credit: (invoiceId, credit = {}) => {
|
|
181
183
|
const invalid = amountsError(void 0, (credit.lines ?? []).map((line) => line.unitAmount));
|
|
@@ -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 { _ as KnowledgeCollectionGrant, a as KnowledgeDocument, b as KnowledgeVisibility, c as KnowledgeOptions, d as KnowledgeSearchOptions, f as KnowledgeStatus, g as KnowledgeCollection, h as createKnowledge, i as KnowledgeChunk, l as KnowledgeQuery, m as chunk, n as Embedder, o as KnowledgeHit, p as NewKnowledgeDocument, r as Knowledge, s as KnowledgeHooks, t as ChunkOptions, u as KnowledgeScope, v as KnowledgeCollections, x as NewKnowledgeCollection, y as KnowledgeGrantee } from "../../knowledge-
|
|
3
|
-
import { c as BlockOf } from "../../define-block-
|
|
2
|
+
import { _ as KnowledgeCollectionGrant, a as KnowledgeDocument, b as KnowledgeVisibility, c as KnowledgeOptions, d as KnowledgeSearchOptions, f as KnowledgeStatus, g as KnowledgeCollection, h as createKnowledge, i as KnowledgeChunk, l as KnowledgeQuery, m as chunk, n as Embedder, o as KnowledgeHit, p as NewKnowledgeDocument, r as Knowledge, s as KnowledgeHooks, t as ChunkOptions, u as KnowledgeScope, v as KnowledgeCollections, x as NewKnowledgeCollection, y as KnowledgeGrantee } from "../../knowledge-DtECa_QW.js";
|
|
3
|
+
import { c as BlockOf } from "../../define-block-DBD7yhQg.js";
|
|
4
4
|
/** The `knowledge` block's manifest (ADR 0029). */
|
|
5
5
|
export declare const knowledgeBlock: BlockOf<"knowledge", typeof createKnowledge, Record<never, never>, {
|
|
6
6
|
readonly files: "optional";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as AsyncResult } from "../../result-DTOQRyGY.js";
|
|
2
2
|
import { et as RecordRef } from "../../types-BzIYSSWK.js";
|
|
3
3
|
import { n as Logger } from "../../logger-0LfhvwE4.js";
|
|
4
|
-
import { n as BlockOptions } from "../../block-helpers-
|
|
4
|
+
import { n as BlockOptions } from "../../block-helpers-Sj-efEhC.js";
|
|
5
5
|
import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-CDmOUuLZ.js";
|
|
6
|
-
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-
|
|
6
|
+
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-VW4knarE.js";
|
|
7
7
|
import { n as leadScoringSqlOptions, t as LeadScoringSqlOptions } from "../../options-DCZPW5gR.js";
|
|
8
|
-
import { c as BlockOf } from "../../define-block-
|
|
8
|
+
import { c as BlockOf } from "../../define-block-DBD7yhQg.js";
|
|
9
9
|
import { r as RuleFieldCatalog } from "../../fields-CP46SPNE.js";
|
|
10
|
-
import { t as ComputedScore } from "../../scores-
|
|
10
|
+
import { t as ComputedScore } from "../../scores-BXuSVczw.js";
|
|
11
11
|
interface LeadScoring {
|
|
12
12
|
/** Scores one person or company under its lead model now. */
|
|
13
13
|
score(subject: RecordRef): AsyncResult<ComputedScore>;
|
|
@@ -5,10 +5,10 @@ import { n as ExtraFields, r as FieldsOf } from "../../block-fields-Puv5m5D3.js"
|
|
|
5
5
|
import { et as RecordRef } from "../../types-BzIYSSWK.js";
|
|
6
6
|
import { Ct as Events } from "../../events-DddDlibJ.js";
|
|
7
7
|
import { n as Logger } from "../../logger-0LfhvwE4.js";
|
|
8
|
-
import {
|
|
8
|
+
import { o as BlockTenantOptions, 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 { Sn as EntitySchema, c as BlockOf, rn as RecordBinding } from "../../define-block-
|
|
10
|
+
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-VW4knarE.js";
|
|
11
|
+
import { Sn as EntitySchema, c as BlockOf, rn as RecordBinding } from "../../define-block-DBD7yhQg.js";
|
|
12
12
|
import { n as Money } from "../../money-BgpAd7d3.js";
|
|
13
13
|
type LeaseStatus = "draft" | "active" | "ended" | "terminated";
|
|
14
14
|
type RentFrequency = "weekly" | "monthly" | "quarterly" | "yearly";
|
|
@@ -4,10 +4,10 @@ import { t as StandardSchemaV1 } from "../../standard-DRX6Ch1j.js";
|
|
|
4
4
|
import { n as ExtraFields, r as FieldsOf } from "../../block-fields-Puv5m5D3.js";
|
|
5
5
|
import { Ct as Events } 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, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-CDmOUuLZ.js";
|
|
9
|
-
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-
|
|
10
|
-
import { c as BlockOf } from "../../define-block-
|
|
9
|
+
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-VW4knarE.js";
|
|
10
|
+
import { c as BlockOf } from "../../define-block-DBD7yhQg.js";
|
|
11
11
|
interface LeaveOptions<S extends StandardSchemaV1 | undefined = undefined> extends BlockTemporalOptions {
|
|
12
12
|
readonly transport: BlockTransport;
|
|
13
13
|
/**
|
|
@@ -303,6 +303,8 @@ interface Leave<F extends object = Record<never, never>> {
|
|
|
303
303
|
decide(requestId: string, decision: {
|
|
304
304
|
readonly approved: boolean;
|
|
305
305
|
readonly note?: string;
|
|
306
|
+
/** The user the service role decides for, kept as `decidedBy`. */
|
|
307
|
+
readonly decidedBy?: string;
|
|
306
308
|
}): AsyncResult<LeaveRequest<F>>;
|
|
307
309
|
/**
|
|
308
310
|
* The approved leave behind a `leave_feed` share link (subject id: the
|
|
@@ -178,7 +178,8 @@ function createLeave(options) {
|
|
|
178
178
|
decide: (requestId, decision) => call("decide_leave_request", {
|
|
179
179
|
request_id: requestId,
|
|
180
180
|
approved: decision.approved,
|
|
181
|
-
note: decision.note ?? null
|
|
181
|
+
note: decision.note ?? null,
|
|
182
|
+
...decision.decidedBy === void 0 ? {} : { decided_by: decision.decidedBy }
|
|
182
183
|
}, (value) => requestOf(value, "decide_leave_request")).andThen(fields.row),
|
|
183
184
|
feed: (token) => call("leave_feed", { token }, (value) => {
|
|
184
185
|
if (value === null || value === void 0) return null;
|
|
@@ -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 { c as BlockOf, 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 { c as BlockOf, rn as RecordBinding } from "../../define-block-DBD7yhQg.js";
|
|
10
10
|
import { n as Money } from "../../money-BgpAd7d3.js";
|
|
11
11
|
interface LedgerOptions extends BlockTemporalOptions, BlockTenantOptions {
|
|
12
12
|
readonly transport: BlockTransport;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Ct as Events } from "../../events-DddDlibJ.js";
|
|
2
2
|
import { D as MailMessageEventData, E as MailAccountEventData, O as MailTrackingEventData } from "../../index-DjJUamhw.js";
|
|
3
3
|
import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-CDmOUuLZ.js";
|
|
4
|
-
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-
|
|
4
|
+
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-VW4knarE.js";
|
|
5
5
|
import { n as mailSyncSqlOptions, t as MailSyncSqlOptions } from "../../options-C5fKQ3EJ.js";
|
|
6
|
-
import { $ as MailDraft, B as MailMessage, G as MailSyncReport, H as MailSubject, J as MailThreadDetail, K as MailTemplateStats, Q as MailAddress, Sn as EntitySchema, U as MailSync, V as MailSendDraft, W as MailSyncOptions, X as messageArg, Y as createMailSync, Z as HttpMailOptions, at as MailSendInput, c as BlockOf, ct as gmailMail, dt as newMessageId, et as MailListInput, ft as outlookMail, it as MailReplyTarget, lt as gmailMessage, mt as parseAddresses, nt as MailProvider, ot as MailSent, pt as outlookMessage, q as MailThread, rt as MailProviderMessage, st as buildMime, tt as MailPage, ut as mailProviderOf, z as MailAccount } from "../../define-block-
|
|
6
|
+
import { $ as MailDraft, B as MailMessage, G as MailSyncReport, H as MailSubject, J as MailThreadDetail, K as MailTemplateStats, Q as MailAddress, Sn as EntitySchema, U as MailSync, V as MailSendDraft, W as MailSyncOptions, X as messageArg, Y as createMailSync, Z as HttpMailOptions, at as MailSendInput, c as BlockOf, ct as gmailMail, dt as newMessageId, et as MailListInput, ft as outlookMail, it as MailReplyTarget, lt as gmailMessage, mt as parseAddresses, nt as MailProvider, ot as MailSent, pt as outlookMessage, q as MailThread, rt as MailProviderMessage, st as buildMime, tt as MailPage, ut as mailProviderOf, z as MailAccount } from "../../define-block-DBD7yhQg.js";
|
|
7
7
|
/** The events of the `mail-sync` block: type to data. */
|
|
8
8
|
type MailSyncEvents = {
|
|
9
9
|
readonly "mail_account.connected": MailAccountEventData;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Ft as RepositoryExtension, It as RequestContext, Nt as Plugin, Ot as HasFlag, st as SchemaMeta } from "../../types-BzIYSSWK.js";
|
|
2
2
|
import { i as SameTenantOption, n as RoleThroughOption, r as SameTenantEntry, t as MembershipsSqlOptions } from "../../options-I1ZHfDP0.js";
|
|
3
|
-
import { r as Block } from "../../define-block-
|
|
3
|
+
import { r as Block } from "../../define-block-DBD7yhQg.js";
|
|
4
4
|
/**
|
|
5
5
|
* Dotted paths to the string claims of `C` (up to three levels), e.g.
|
|
6
6
|
* `'tenant_id' | 'app_metadata.tenant_id'`. Any string without a claims type.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-CDmOUuLZ.js";
|
|
2
|
-
import { n as Embedder } from "../../knowledge-
|
|
3
|
-
import { a as MemoryHooks, c as MemoryOptions, d as MemoryScope, f as MemoryView, i as MemoryHit, l as MemoryRecord, n as MemoryCommand, o as MemoryKind, p as RecalledMessage, r as MemoryDocument, s as MemoryNamespace, t as Memory, u as MemorySaveOptions } from "../../types-
|
|
4
|
-
import { c as BlockOf } from "../../define-block-
|
|
2
|
+
import { n as Embedder } from "../../knowledge-DtECa_QW.js";
|
|
3
|
+
import { a as MemoryHooks, c as MemoryOptions, d as MemoryScope, f as MemoryView, i as MemoryHit, l as MemoryRecord, n as MemoryCommand, o as MemoryKind, p as RecalledMessage, r as MemoryDocument, s as MemoryNamespace, t as Memory, u as MemorySaveOptions } from "../../types-z31g0-5T.js";
|
|
4
|
+
import { c as BlockOf } from "../../define-block-DBD7yhQg.js";
|
|
5
5
|
/** Core memory files, archival facts and recall over earlier chats. */
|
|
6
6
|
export declare function createMemory(options: MemoryOptions): Memory;
|
|
7
7
|
/** The `memory` block's manifest (ADR 0029). */
|
|
@@ -3,15 +3,15 @@ import { et as RecordRef } from "../../types-BzIYSSWK.js";
|
|
|
3
3
|
import { Ct as Events } from "../../events-DddDlibJ.js";
|
|
4
4
|
import { _ as ConversationEventData, k as MessageEventData } from "../../index-DjJUamhw.js";
|
|
5
5
|
import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-CDmOUuLZ.js";
|
|
6
|
-
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-
|
|
7
|
-
import { P as MessagingSqlOptions } from "../../authorization-
|
|
6
|
+
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-VW4knarE.js";
|
|
7
|
+
import { P as MessagingSqlOptions } from "../../authorization-CS5Q1V7A.js";
|
|
8
8
|
import { a as isFileAnchor, i as fileAnchor, n as FileAnchor, o as conversationTopic, r as FileAnchorAt, t as AnchorRegion } from "../../anchors-sCLvYj-8.js";
|
|
9
|
-
import { _ as NotifyLevel, a as FollowTarget, b as UnreadCount, c as MessageEdit, d as MessageKind, f as MessageListOptions, g as NewMessage, h as MessagingOptions, i as ConversationSummary, l as MessageEdition, m as Messaging, n as ConversationAccess, o as Message, p as MessageReaction, r as ConversationKind, s as MessageCursor, t as Conversation, u as MessageFile, v as OpenConversation, x as createMessaging, y as RecordMention } from "../../messaging-
|
|
9
|
+
import { _ as NotifyLevel, a as FollowTarget, b as UnreadCount, c as MessageEdit, d as MessageKind, f as MessageListOptions, g as NewMessage, h as MessagingOptions, i as ConversationSummary, l as MessageEdition, m as Messaging, n as ConversationAccess, o as Message, p as MessageReaction, r as ConversationKind, s as MessageCursor, t as Conversation, u as MessageFile, v as OpenConversation, x as createMessaging, y as RecordMention } from "../../messaging-CpQIhkFi.js";
|
|
10
10
|
import { a as ThreadSummary, i as ThreadSummarizer, n as SummaryMessage, o as ThreadSummaryInput, r as SummaryTarget, s as ThreadSummaryOutput, t as SummarizeOptions } from "../../summaries-CUemsYwV.js";
|
|
11
|
-
import { Sn as EntitySchema, c as BlockOf } from "../../define-block-
|
|
12
|
-
import { p as SubscriptionStatus } from "../../topic-
|
|
13
|
-
import { n as TopicPort } from "../../watch-topic-
|
|
14
|
-
import { n as Controller, t as AuthPort } from "../../controller-
|
|
11
|
+
import { Sn as EntitySchema, c as BlockOf } from "../../define-block-DBD7yhQg.js";
|
|
12
|
+
import { p as SubscriptionStatus } from "../../topic-CKN3kmoi.js";
|
|
13
|
+
import { n as TopicPort } from "../../watch-topic-0dXuJMuE.js";
|
|
14
|
+
import { n as Controller, t as AuthPort } from "../../controller-phhsPHSz.js";
|
|
15
15
|
type MentionScope = "channel" | "here";
|
|
16
16
|
interface ParsedMentions {
|
|
17
17
|
/** Mentioned user ids, lowercase, in order and without repeats. */
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
2
|
import { t as AsyncResult } from "../../result-DTOQRyGY.js";
|
|
3
3
|
import { n as Logger } from "../../logger-0LfhvwE4.js";
|
|
4
|
-
import { n as BlockOptions } from "../../block-helpers-
|
|
4
|
+
import { n as BlockOptions } from "../../block-helpers-Sj-efEhC.js";
|
|
5
5
|
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-CDmOUuLZ.js";
|
|
6
|
-
import { n as BlockHooks } from "../../block-hooks-
|
|
7
|
-
import { _ as JobHandler } from "../../types-
|
|
8
|
-
import { c as BlockOf } from "../../define-block-
|
|
6
|
+
import { n as BlockHooks } from "../../block-hooks-VW4knarE.js";
|
|
7
|
+
import { _ as JobHandler } from "../../types-LLCyr-xs.js";
|
|
8
|
+
import { c as BlockOf } from "../../define-block-DBD7yhQg.js";
|
|
9
9
|
import { i as EventSink, t as CloudEvent } from "../../cloud-event-BjgxkfJJ.js";
|
|
10
10
|
import { a as MetricWhereValue, c as metricsOf, i as MetricMeasure, n as MetricDefinition, o as checkMetric, r as MetricGrain, s as defineMetric, t as METRIC_GRAINS } from "../../metric-definition-2KQYeUZ1.js";
|
|
11
11
|
interface MetricsSinkOptions {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { b as DbError, f as Result } from "../../result-DTOQRyGY.js";
|
|
2
2
|
import { t as Aal } from "../../mfa-CM5r904M.js";
|
|
3
|
-
import { r as Block } from "../../define-block-
|
|
4
|
-
import { n as Controller, t as AuthPort } from "../../controller-
|
|
3
|
+
import { r as Block } from "../../define-block-DBD7yhQg.js";
|
|
4
|
+
import { n as Controller, t as AuthPort } from "../../controller-phhsPHSz.js";
|
|
5
5
|
import { t as AuthReply } from "../../auth-reply-BMPJQssh.js";
|
|
6
6
|
/** A factor as `auth.mfa.listFactors()` returns it. */
|
|
7
7
|
interface RawMfaFactor {
|
|
@@ -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 ModerationSqlOptions } from "../../options-B6m9gYRH.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 ModerationOptions extends BlockTemporalOptions, BlockTenantOptions {
|
|
12
12
|
readonly transport: BlockTransport;
|
|
13
13
|
/**
|
|
@@ -3,16 +3,16 @@ import { T as ErrorMapper, f as Result, t as AsyncResult } from "../../result-DT
|
|
|
3
3
|
import { i as RowFields, r as FieldsOf } from "../../block-fields-Puv5m5D3.js";
|
|
4
4
|
import { It as RequestContext } from "../../types-BzIYSSWK.js";
|
|
5
5
|
import { Ct as Events, J as NotificationEventData, o as EventHub, q as NotificationDeliveryEventData, st as SubjectEventData } from "../../events-DddDlibJ.js";
|
|
6
|
-
import { i as CursorPageOptions, r as BlockTemporalOptions } from "../../block-helpers-
|
|
6
|
+
import { i as CursorPageOptions, 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 BlockProblemOptions } from "../../problem-NGBjN-TO.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, t as CloudEvent } from "../../cloud-event-BjgxkfJJ.js";
|
|
12
12
|
import { g as SubscriberPolicy, i as AuthorizationHooks } from "../../authorization-hooks-CR8TVvqo.js";
|
|
13
|
-
import { p as SubscriptionStatus } from "../../topic-
|
|
14
|
-
import { n as TopicPort } from "../../watch-topic-
|
|
15
|
-
import { n as Controller, t as AuthPort } from "../../controller-
|
|
13
|
+
import { p as SubscriptionStatus } from "../../topic-CKN3kmoi.js";
|
|
14
|
+
import { n as TopicPort } from "../../watch-topic-0dXuJMuE.js";
|
|
15
|
+
import { n as Controller, t as AuthPort } from "../../controller-phhsPHSz.js";
|
|
16
16
|
import { n as VerifyOptions } from "../../signatures-jPr9JXyw.js";
|
|
17
17
|
import { a as NotificationItem, i as NotificationAction, n as NotificationMessage, o as NotificationSubject, r as NotificationSendResult, s as RenderedText, t as NotificationChannel } from "../../channel-B_kufDZy.js";
|
|
18
18
|
import { a as DeliveryTransport, c as UnsubscribeTarget, i as DeliverySendOptions, l as mailHeaders, n as DeliveryMessages, o as EmailMessage, r as DeliveryReceipt, s as MailCategory, t as DeliveryChannel } from "../../delivery-CWcbh87x.js";
|
|
@@ -2,8 +2,8 @@ import { T as ErrorMapper, t as AsyncResult } from "../../result-DTOQRyGY.js";
|
|
|
2
2
|
import { $ as SaasEventData, Ct as Events } from "../../events-DddDlibJ.js";
|
|
3
3
|
import { n as Logger } from "../../logger-0LfhvwE4.js";
|
|
4
4
|
import { t as BlockTransport } from "../../block-transport-CDmOUuLZ.js";
|
|
5
|
-
import { n as BlockHooks } from "../../block-hooks-
|
|
6
|
-
import { c as BlockOf } from "../../define-block-
|
|
5
|
+
import { n as BlockHooks } from "../../block-hooks-VW4knarE.js";
|
|
6
|
+
import { c as BlockOf } from "../../define-block-DBD7yhQg.js";
|
|
7
7
|
interface NumberingOptions {
|
|
8
8
|
readonly transport: BlockTransport;
|
|
9
9
|
readonly schema?: string;
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import { t as AsyncResult } from "../../result-DTOQRyGY.js";
|
|
3
3
|
import { Ct as Events } from "../../events-DddDlibJ.js";
|
|
4
4
|
import { n as Logger } from "../../logger-0LfhvwE4.js";
|
|
5
|
-
import { n as BlockOptions } from "../../block-helpers-
|
|
5
|
+
import { n as BlockOptions } from "../../block-helpers-Sj-efEhC.js";
|
|
6
6
|
import { s as sqlTransport, t as BlockTransport } from "../../block-transport-CDmOUuLZ.js";
|
|
7
|
-
import { n as BlockHooks } from "../../block-hooks-
|
|
8
|
-
import { c as BlockOf } from "../../define-block-
|
|
7
|
+
import { n as BlockHooks } from "../../block-hooks-VW4knarE.js";
|
|
8
|
+
import { c as BlockOf } from "../../define-block-DBD7yhQg.js";
|
|
9
9
|
declare const AUTH_METHODS: readonly ["none", "client_secret_basic", "client_secret_post"];
|
|
10
10
|
declare const GRANT_TYPES: readonly ["authorization_code", "refresh_token", "client_credentials", "urn:ietf:params:oauth:grant-type:device_code"];
|
|
11
11
|
/** How a client authenticates at the token endpoint (RFC 7591 section 2). */
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
2
|
import { b as DbError, t as AsyncResult } from "../../result-DTOQRyGY.js";
|
|
3
3
|
import { n as Logger } from "../../logger-0LfhvwE4.js";
|
|
4
|
-
import { n as BlockOptions } from "../../block-helpers-
|
|
4
|
+
import { n as BlockOptions } from "../../block-helpers-Sj-efEhC.js";
|
|
5
5
|
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-CDmOUuLZ.js";
|
|
6
|
-
import { n as BlockHooks } from "../../block-hooks-
|
|
7
|
-
import { c as BlockOf } from "../../define-block-
|
|
8
|
-
import { n as Controller, t as AuthPort } from "../../controller-
|
|
6
|
+
import { n as BlockHooks } from "../../block-hooks-VW4knarE.js";
|
|
7
|
+
import { c as BlockOf } from "../../define-block-DBD7yhQg.js";
|
|
8
|
+
import { n as Controller, t as AuthPort } from "../../controller-phhsPHSz.js";
|
|
9
9
|
type ChecklistScope = "user" | "organization";
|
|
10
10
|
/** One step. `events` completes it when the outbox records one of those types. */
|
|
11
11
|
interface ChecklistStep<Id extends string = string> {
|
|
@@ -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, M as CommerceSubjectEventData } from "../../events-DddDlibJ.js";
|
|
6
6
|
import { n as Logger } from "../../logger-0LfhvwE4.js";
|
|
7
|
-
import { n as BlockOptions } from "../../block-helpers-
|
|
7
|
+
import { n as BlockOptions } from "../../block-helpers-Sj-efEhC.js";
|
|
8
8
|
import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-CDmOUuLZ.js";
|
|
9
|
-
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-
|
|
10
|
-
import { _ as JobHandler } from "../../types-
|
|
11
|
-
import { Bt as Action, c as BlockOf } from "../../define-block-
|
|
9
|
+
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-VW4knarE.js";
|
|
10
|
+
import { _ as JobHandler } from "../../types-LLCyr-xs.js";
|
|
11
|
+
import { Bt as Action, c as BlockOf } from "../../define-block-DBD7yhQg.js";
|
|
12
12
|
import { n as Money } from "../../money-BgpAd7d3.js";
|
|
13
|
-
import { n as ConversionContext, t as ConversionClients } from "../../conversion-
|
|
13
|
+
import { n as ConversionContext, t as ConversionClients } from "../../conversion-BShzA-u-.js";
|
|
14
14
|
import { r as WebhookInput } from "../../signatures-jPr9JXyw.js";
|
|
15
15
|
import { i as PaymentEvent, n as Payment, o as PaymentProvider } from "../../payments-BBGSGRQ7.js";
|
|
16
16
|
import { t as StockDetail } from "../../stock-detail-BRIt7CjU.js";
|
|
@@ -4,12 +4,12 @@ import { t as StandardSchemaV1 } from "../../standard-DRX6Ch1j.js";
|
|
|
4
4
|
import { i as RowFields, r as FieldsOf } from "../../block-fields-Puv5m5D3.js";
|
|
5
5
|
import { It as RequestContext } from "../../types-BzIYSSWK.js";
|
|
6
6
|
import { Ct as Events, W as InvitationEventData, Z as OrganizationEventData, o as EventHub } from "../../events-DddDlibJ.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, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-CDmOUuLZ.js";
|
|
9
|
-
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-
|
|
10
|
-
import { N as PlatformRolesOption } from "../../authorization-
|
|
11
|
-
import { c as BlockOf } from "../../define-block-
|
|
12
|
-
import { n as Controller, t as AuthPort } from "../../controller-
|
|
9
|
+
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-VW4knarE.js";
|
|
10
|
+
import { N as PlatformRolesOption } from "../../authorization-CS5Q1V7A.js";
|
|
11
|
+
import { c as BlockOf } from "../../define-block-DBD7yhQg.js";
|
|
12
|
+
import { n as Controller, t as AuthPort } from "../../controller-phhsPHSz.js";
|
|
13
13
|
declare const INVITATION_ERRORS: {
|
|
14
14
|
readonly INVITATION_FORBIDDEN: "42501";
|
|
15
15
|
readonly INVITATION_ROLE_FORBIDDEN: "42501";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as SqlClient } from "../../executor-DoSNec_H.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 OutboxEvent, c as OutboxPurgeOptions, d as RegisterOptions, f as RelayOptions, h as outboxCloudEvent, i as OutboxDeadLetter, l as OutboxRouteOptions, m as createOutbox, n as HistoryFilter, o as OutboxHandler, p as RelayResult, r as Outbox, s as OutboxOptions, t as EmitOptions, u as OutboxRouteResult } from "../../outbox-
|
|
3
|
+
import { c as BlockOf } from "../../define-block-DBD7yhQg.js";
|
|
4
|
+
import { a as OutboxEvent, c as OutboxPurgeOptions, d as RegisterOptions, f as RelayOptions, h as outboxCloudEvent, i as OutboxDeadLetter, l as OutboxRouteOptions, m as createOutbox, n as HistoryFilter, o as OutboxHandler, p as RelayResult, r as Outbox, s as OutboxOptions, t as EmitOptions, u as OutboxRouteResult } from "../../outbox-Cpxpzcue.js";
|
|
5
5
|
/**
|
|
6
6
|
* The `outbox` block's manifest (ADR 0029). Set the CloudEvents source with
|
|
7
7
|
* `outboxBlock.with({ source: "https://app.example.com" })`.
|
|
@@ -3,14 +3,14 @@ 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 { n as passesSqlOptions, t as PassesSqlOptions } from "../../options-B5A3UmKY.js";
|
|
10
|
-
import { Sn as EntitySchema, c as BlockOf, ln as RecordBindingWrite, mn as RecordRowInput, rn as RecordBinding } from "../../define-block-
|
|
11
|
-
import { n as Booking } from "../../bookings-
|
|
10
|
+
import { Sn as EntitySchema, c as BlockOf, ln as RecordBindingWrite, mn as RecordRowInput, rn as RecordBinding } from "../../define-block-DBD7yhQg.js";
|
|
11
|
+
import { n as Booking } from "../../bookings-CHUzFwOI.js";
|
|
12
12
|
import { n as Jwks } from "../../jws-CxgTsbgG.js";
|
|
13
|
-
import { o as Signer } from "../../signing-keys-
|
|
13
|
+
import { o as Signer } from "../../signing-keys-DhBSWFy_.js";
|
|
14
14
|
/** The `typ` header of a pass token: `vnd.pass+jwt`. */
|
|
15
15
|
export declare const PASS_TOKEN_TYPE: string;
|
|
16
16
|
type PassStatus = "active" | "revoked";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { b as DbError, t as AsyncResult } from "../../result-DTOQRyGY.js";
|
|
2
2
|
import { Xt as AuthorizationRequest, en as Authorizer } from "../../types-BzIYSSWK.js";
|
|
3
3
|
import { n as Logger } from "../../logger-0LfhvwE4.js";
|
|
4
|
-
import { n as BlockOptions,
|
|
4
|
+
import { n as BlockOptions, s as BlockTenant } from "../../block-helpers-Sj-efEhC.js";
|
|
5
5
|
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-CDmOUuLZ.js";
|
|
6
|
-
import { n as BlockHooks } from "../../block-hooks-
|
|
7
|
-
import { c as BlockOf } from "../../define-block-
|
|
8
|
-
import { B as PermissionFlags, H as can, U as permissionFlags, V as PermissionSet, W as permissionMatches } from "../../index-
|
|
9
|
-
import { n as Controller, t as AuthPort } from "../../controller-
|
|
6
|
+
import { n as BlockHooks } from "../../block-hooks-VW4knarE.js";
|
|
7
|
+
import { c as BlockOf } from "../../define-block-DBD7yhQg.js";
|
|
8
|
+
import { B as PermissionFlags, H as can, U as permissionFlags, V as PermissionSet, W as permissionMatches } from "../../index-1_-lg9Gc.js";
|
|
9
|
+
import { n as Controller, t as AuthPort } from "../../controller-phhsPHSz.js";
|
|
10
10
|
interface PermissionsOptions extends BlockOptions {
|
|
11
11
|
/** `withBlockHooks` hooks around the client's methods. */
|
|
12
12
|
readonly hooks?: BlockHooks<Permissions>;
|
|
@@ -5,10 +5,10 @@ import { i as RowFields, r as FieldsOf } from "../../block-fields-Puv5m5D3.js";
|
|
|
5
5
|
import { Ct as Events } from "../../events-DddDlibJ.js";
|
|
6
6
|
import { M as PipelineStageEventData, j as PipelineEventData } 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 { c as BlockOf } from "../../define-block-
|
|
10
|
+
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-VW4knarE.js";
|
|
11
|
+
import { c as BlockOf } from "../../define-block-DBD7yhQg.js";
|
|
12
12
|
import { n as Money } from "../../money-BgpAd7d3.js";
|
|
13
13
|
import { t as RankNeighbors } from "../../rank-result-B_xLQCBV.js";
|
|
14
14
|
/** The fixed outcome every stage category maps to. */
|
|
@@ -4,11 +4,11 @@ import { t as StandardSchemaV1 } from "../../standard-DRX6Ch1j.js";
|
|
|
4
4
|
import { n as ExtraFields, r as FieldsOf } from "../../block-fields-Puv5m5D3.js";
|
|
5
5
|
import { Ct as Events } from "../../events-DddDlibJ.js";
|
|
6
6
|
import { n as Logger } from "../../logger-0LfhvwE4.js";
|
|
7
|
-
import { n as BlockOptions } from "../../block-helpers-
|
|
7
|
+
import { n as BlockOptions } from "../../block-helpers-Sj-efEhC.js";
|
|
8
8
|
import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-CDmOUuLZ.js";
|
|
9
|
-
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-
|
|
9
|
+
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-VW4knarE.js";
|
|
10
10
|
import { n as postsSqlOptions, t as PostsSqlOptions } from "../../options-uUGi0Phf.js";
|
|
11
|
-
import { Sn as EntitySchema, c as BlockOf } from "../../define-block-
|
|
11
|
+
import { Sn as EntitySchema, c as BlockOf } from "../../define-block-DBD7yhQg.js";
|
|
12
12
|
declare const BOARD_KINDS: readonly ["forum", "feedback"];
|
|
13
13
|
declare const POST_STATUSES: readonly ["open", "under_review", "planned", "in_progress", "done", "closed"];
|
|
14
14
|
declare const MODERATION: readonly ["visible", "pending", "hidden", "removed"];
|
|
@@ -2,10 +2,10 @@ import { T as ErrorMapper, t as AsyncResult } from "../../result-DTOQRyGY.js";
|
|
|
2
2
|
import { t as StandardSchemaV1 } from "../../standard-DRX6Ch1j.js";
|
|
3
3
|
import { r as FieldsOf } from "../../block-fields-Puv5m5D3.js";
|
|
4
4
|
import { n as Logger } from "../../logger-0LfhvwE4.js";
|
|
5
|
-
import { r as BlockTemporalOptions } from "../../block-helpers-
|
|
5
|
+
import { r as BlockTemporalOptions } from "../../block-helpers-Sj-efEhC.js";
|
|
6
6
|
import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-CDmOUuLZ.js";
|
|
7
|
-
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-
|
|
8
|
-
import { c as BlockOf } from "../../define-block-
|
|
7
|
+
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-VW4knarE.js";
|
|
8
|
+
import { c as BlockOf } from "../../define-block-DBD7yhQg.js";
|
|
9
9
|
interface ProfilesOptions<S extends StandardSchemaV1 | undefined = undefined> extends BlockTemporalOptions {
|
|
10
10
|
readonly transport: BlockTransport;
|
|
11
11
|
/**
|
|
@@ -4,10 +4,10 @@ import { t as StandardSchemaV1 } from "../../standard-DRX6Ch1j.js";
|
|
|
4
4
|
import { i as RowFields, r as FieldsOf } from "../../block-fields-Puv5m5D3.js";
|
|
5
5
|
import { Ct as Events, j as CommerceEventData } from "../../events-DddDlibJ.js";
|
|
6
6
|
import { n as Logger } from "../../logger-0LfhvwE4.js";
|
|
7
|
-
import { n as BlockOptions } from "../../block-helpers-
|
|
7
|
+
import { n as BlockOptions } from "../../block-helpers-Sj-efEhC.js";
|
|
8
8
|
import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-CDmOUuLZ.js";
|
|
9
|
-
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-
|
|
10
|
-
import { c as BlockOf } from "../../define-block-
|
|
9
|
+
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-VW4knarE.js";
|
|
10
|
+
import { c as BlockOf } from "../../define-block-DBD7yhQg.js";
|
|
11
11
|
import { n as Money } from "../../money-BgpAd7d3.js";
|
|
12
12
|
import { g as PROMOTION_KINDS } from "../../codecs-DaP45ETv.js";
|
|
13
13
|
type PromotionKind = (typeof PROMOTION_KINDS)[number];
|
|
@@ -5,12 +5,12 @@ import { i as RowFields, r as FieldsOf } from "../../block-fields-Puv5m5D3.js";
|
|
|
5
5
|
import { It as RequestContext } from "../../types-BzIYSSWK.js";
|
|
6
6
|
import { Ct as Events, Q as PushDeviceEventData, o as EventHub } from "../../events-DddDlibJ.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, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-CDmOUuLZ.js";
|
|
10
|
-
import { n as BlockHooks } from "../../block-hooks-
|
|
11
|
-
import { c as BlockOf } from "../../define-block-
|
|
10
|
+
import { n as BlockHooks } from "../../block-hooks-VW4knarE.js";
|
|
11
|
+
import { c as BlockOf } from "../../define-block-DBD7yhQg.js";
|
|
12
12
|
import { n as NotificationMessage, t as NotificationChannel } from "../../channel-B_kufDZy.js";
|
|
13
|
-
import { t as ExpoNotificationsLike } from "../../push-token-
|
|
13
|
+
import { t as ExpoNotificationsLike } from "../../push-token-CA31xmQr.js";
|
|
14
14
|
type PushPlatform = "ios" | "android" | "web";
|
|
15
15
|
type PushProvider = "expo" | "fcm" | "apns" | "webpush";
|
|
16
16
|
/**
|