better-supabase 0.36.0 → 0.37.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{ai-schedules-BZPmySUa.d.ts → ai-schedules-ChJkI2jo.d.ts} +1 -1
- package/dist/ai-sdk/agents/index.d.ts +2 -2
- package/dist/ai-sdk/batches/index.d.ts +1 -1
- package/dist/ai-sdk/index.d.ts +1 -1
- package/dist/ai-sdk/mcp/index.d.ts +3 -3
- package/dist/{api-XEaCJbgv.d.ts → api-CbY2qdzT.d.ts} +3 -3
- package/dist/{api-keys-C82fMru4.d.ts → api-keys-BncNDlWG.d.ts} +1 -1
- package/dist/{app-tables-C0XVpQEJ.d.ts → app-tables-BlhdqqHf.d.ts} +1 -1
- package/dist/{approvals-DqCv7f-G.d.ts → approvals-CXW3yFWZ.d.ts} +1 -1
- package/dist/astro/index.d.ts +5 -5
- package/dist/{authorization-2Rv1AJQJ.d.ts → authorization-C7yjZttV.d.ts} +44 -18
- package/dist/{authorization-hooks-C0GfMvFm.d.ts → authorization-hooks-CR8TVvqo.d.ts} +1 -1
- package/dist/better-result/index.d.ts +2 -2
- package/dist/{bind-C2XvMlfg.d.ts → bind-BspFMDdW.d.ts} +4 -4
- package/dist/{block-env-BQrtLPyc.d.ts → block-env-CLco8YUl.d.ts} +4 -4
- package/dist/{block-tables-DPOgnT3y.d.ts → block-tables-DfomofFv.d.ts} +1 -1
- package/dist/blocks/access-requests/index.d.ts +2 -2
- package/dist/blocks/activities/index.d.ts +3 -3
- package/dist/blocks/agents/index.d.ts +2 -2
- package/dist/blocks/ai-cache/index.d.ts +1 -1
- package/dist/blocks/ai-chat/index.d.ts +5 -5
- package/dist/blocks/ai-files/index.d.ts +1 -1
- package/dist/blocks/ai-keys/index.d.ts +3 -3
- package/dist/blocks/ai-schedules/index.d.ts +2 -2
- package/dist/blocks/announcements/index.d.ts +5 -5
- package/dist/blocks/api-keys/index.d.ts +2 -2
- package/dist/blocks/approvals/index.d.ts +3 -3
- package/dist/blocks/assets/index.d.ts +2 -2
- package/dist/blocks/assignment/index.d.ts +3 -3
- package/dist/blocks/attachments/index.d.ts +3 -3
- package/dist/blocks/audit/index.d.ts +7 -7
- package/dist/blocks/automations/index.d.ts +5 -5
- package/dist/blocks/billable-time/index.d.ts +2 -2
- package/dist/blocks/billing/index.d.ts +5 -5
- 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 +22 -3
- package/dist/blocks/catalog/index.js +31 -2
- 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 +5 -5
- package/dist/blocks/compliance/index.d.ts +2 -2
- package/dist/blocks/connectors/index.d.ts +3 -3
- package/dist/blocks/contacts/index.d.ts +3 -3
- package/dist/blocks/content/index.d.ts +2 -2
- package/dist/blocks/contracts/index.d.ts +2 -2
- package/dist/blocks/courses/index.d.ts +2 -2
- package/dist/blocks/created-by/index.d.ts +1 -1
- package/dist/blocks/custom-fields/index.d.ts +2 -2
- 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 +2 -2
- package/dist/blocks/documents/index.d.ts +2 -2
- package/dist/blocks/domains/index.d.ts +2 -2
- package/dist/blocks/donations/index.d.ts +2 -2
- package/dist/blocks/drive/index.d.ts +3 -3
- 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 +2 -2
- package/dist/blocks/entitlements/index.d.ts +3 -3
- package/dist/blocks/expenses/index.d.ts +2 -2
- package/dist/blocks/field-history/index.d.ts +1 -1
- package/dist/blocks/flags/index.d.ts +2 -2
- package/dist/blocks/forecasts/index.d.ts +3 -3
- package/dist/blocks/forms/index.d.ts +3 -3
- package/dist/blocks/goals/index.d.ts +1 -1
- package/dist/blocks/guests/index.d.ts +2 -2
- package/dist/blocks/hiring/index.d.ts +3 -3
- package/dist/blocks/identities/index.d.ts +2 -2
- package/dist/blocks/imports/index.d.ts +2 -2
- package/dist/blocks/inbox/index.d.ts +6 -6
- package/dist/blocks/incidents/index.d.ts +2 -2
- package/dist/blocks/index.d.ts +4 -4
- package/dist/blocks/inventory/index.d.ts +171 -10
- package/dist/blocks/inventory/index.js +206 -13
- package/dist/blocks/invoices/index.d.ts +3 -3
- package/dist/blocks/knowledge/index.d.ts +1 -1
- package/dist/blocks/lead-scoring/index.d.ts +1 -1
- package/dist/blocks/leases/index.d.ts +2 -2
- package/dist/blocks/leave/index.d.ts +2 -2
- package/dist/blocks/ledger/index.d.ts +2 -2
- package/dist/blocks/mail-sync/index.d.ts +3 -3
- package/dist/blocks/memberships/index.d.ts +1 -1
- package/dist/blocks/memory/index.d.ts +1 -1
- package/dist/blocks/messaging/index.d.ts +7 -7
- package/dist/blocks/metrics/index.d.ts +2 -2
- package/dist/blocks/mfa/index.d.ts +2 -2
- package/dist/blocks/moderation/index.d.ts +2 -2
- package/dist/blocks/notifications/index.d.ts +7 -7
- package/dist/blocks/numbering/index.d.ts +2 -2
- package/dist/blocks/oauth-server/index.d.ts +2 -2
- package/dist/blocks/onboarding/index.d.ts +2 -2
- package/dist/blocks/orders/index.d.ts +80 -13
- package/dist/blocks/orders/index.js +63 -4
- package/dist/blocks/organizations/index.d.ts +4 -4
- package/dist/blocks/outbox/index.d.ts +2 -2
- package/dist/blocks/passes/index.d.ts +2 -2
- package/dist/blocks/permissions/index.d.ts +3 -3
- package/dist/blocks/pipelines/index.d.ts +3 -3
- package/dist/blocks/posts/index.d.ts +2 -2
- package/dist/blocks/profiles/index.d.ts +1 -1
- package/dist/blocks/promotions/index.d.ts +3 -3
- package/dist/blocks/promotions/index.js +1 -1
- package/dist/blocks/push/index.d.ts +3 -3
- package/dist/blocks/queue/index.d.ts +1 -1
- package/dist/blocks/quotes/index.d.ts +3 -3
- package/dist/blocks/rank/index.d.ts +1 -1
- package/dist/blocks/reactions/index.d.ts +5 -5
- package/dist/blocks/relations/index.d.ts +2 -2
- package/dist/blocks/reminders/index.d.ts +3 -3
- package/dist/blocks/reviews/index.d.ts +2 -2
- package/dist/blocks/saved-views/index.d.ts +4 -4
- package/dist/blocks/scores/index.d.ts +2 -2
- package/dist/blocks/search/index.d.ts +4 -4
- package/dist/blocks/security-events/index.d.ts +3 -3
- package/dist/blocks/segments/index.d.ts +3 -3
- package/dist/blocks/sequences/index.d.ts +2 -2
- package/dist/blocks/service-accounts/index.d.ts +2 -2
- package/dist/blocks/sessions/index.d.ts +2 -2
- package/dist/blocks/settings/index.d.ts +3 -3
- package/dist/blocks/share-links/index.d.ts +2 -2
- package/dist/blocks/shipments/index.d.ts +73 -4
- package/dist/blocks/shipments/index.js +57 -4
- package/dist/blocks/signatures/index.d.ts +2 -2
- 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 +3 -3
- package/dist/blocks/state-machine/index.d.ts +9 -2
- package/dist/blocks/state-machine/index.js +2 -0
- package/dist/blocks/subjects/index.d.ts +2 -2
- package/dist/blocks/tags/index.d.ts +3 -3
- package/dist/blocks/tasks/index.d.ts +5 -5
- package/dist/blocks/teams/index.d.ts +2 -2
- package/dist/blocks/templates/index.d.ts +122 -9
- package/dist/blocks/templates/index.js +157 -7
- package/dist/blocks/time-tracking/index.d.ts +3 -3
- package/dist/blocks/timeline/index.d.ts +9 -7
- package/dist/blocks/timeline/index.js +3 -1
- package/dist/blocks/trash/index.d.ts +2 -2
- package/dist/blocks/undo/index.d.ts +2 -2
- package/dist/blocks/updated-at/index.d.ts +1 -1
- package/dist/blocks/usage/index.d.ts +2 -2
- package/dist/blocks/vercel-marketplace/index.d.ts +2 -2
- package/dist/blocks/versions/index.d.ts +2 -2
- package/dist/blocks/waitlist/index.d.ts +2 -2
- package/dist/blocks/webhooks/index.d.ts +6 -6
- package/dist/blocks/workflow-editor/index.d.ts +7 -7
- package/dist/blocks/workflows/index.d.ts +5 -5
- package/dist/{carrier-D2b_028L.d.ts → carrier-B2eytEjR.d.ts} +10 -1
- package/dist/chat-sdk/index.d.ts +2 -2
- package/dist/claims/index.d.ts +5 -5
- package/dist/cli/add-8zKWiO0X.js +1 -0
- package/dist/cli/{add-D2CH8t_B.js → add-Buuy7BSU.js} +2 -2
- package/dist/cli/{add-Duf1-19E.js → add-DqfJVb1F.js} +11 -11
- package/dist/cli/{app-table-files-ha8X0rRE.js → app-table-files-Ku-4tPUu.js} +2 -2
- package/dist/cli/{app-tables-BIyQcsHH.js → app-tables-Dg0sh4dH.js} +2 -2
- package/dist/cli/{backfill-CLgA6-ll.js → backfill-Dspz6kVJ.js} +2 -2
- package/dist/cli/bin.js +1 -1
- package/dist/cli/{blocks-BVB1fMMj.js → blocks-B8LAph-w.js} +1 -1
- package/dist/cli/{blocks-9AeouX4h.js → blocks-CqVBlc4L.js} +2 -2
- package/dist/cli/{cache-aMk9vF1_.js → cache-BbuuCIRU.js} +1 -1
- package/dist/cli/{codemod-B5wrcnF2.js → codemod-DIAy8uXt.js} +88 -62
- package/dist/cli/{command-DM_x_yzZ.js → command-67WobzTC.js} +7 -1
- package/dist/cli/{completion-DbYb3N8e.js → completion-C3nMZgUZ.js} +2 -2
- package/dist/cli/{completion-CusuUJNn.js → completion-DSrus7H1.js} +1 -1
- package/dist/cli/{completion-Cx2UYd-y.js → completion-Dm0S3ub0.js} +2 -2
- package/dist/cli/{config-BeuImpav.js → config-cbK-wiNs.js} +1 -1
- package/dist/cli/{content-mapper-CEtdbshU.js → content-mapper-NXfJ5VkP.js} +2 -2
- package/dist/cli/{db-CeiQzhPq.js → db-bK5eCLaE.js} +1 -1
- package/dist/cli/{doctor-DaOUWfRN.js → doctor-CUOyLE0c.js} +16 -16
- package/dist/cli/env-AFfMXxWw.js +1 -0
- package/dist/cli/{env-DVV10l_r.js → env-CCT-dMFm.js} +1 -1
- package/dist/cli/{gen-BO-2NF-G.js → gen-s9canfdC.js} +14 -14
- package/dist/cli/index.d.ts +1 -1
- package/dist/cli/index.js +7 -7
- package/dist/cli/{init-Xit9Hnbb.js → init-Zs0Ca5on.js} +9 -9
- package/dist/cli/{keys-DJTN2Avl.js → keys-Dj5sJNj7.js} +1 -1
- package/dist/cli/{live-CuMpyRjF.js → live-BaLsNove.js} +2 -2
- package/dist/cli/{mcp-C7d4j5cq.js → mcp-ST7bVpJD.js} +3 -3
- package/dist/cli/{metadata-D2YvkY2D.js → metadata-aOvlCOOg.js} +3 -3
- package/dist/cli/{migrate-BCXxyTKt.js → migrate-ClBx3Ggx.js} +2 -2
- package/dist/cli/{migration-safety-DfwTOBQ4.js → migration-safety-mjm1pghO.js} +1 -1
- package/dist/cli/{migrations-nomh4TBo.js → migrations-tzItvwxT.js} +2 -2
- package/dist/cli/{module-migration--9T_T-zt.js → module-migration-D0Rjdvdx.js} +2 -2
- package/dist/cli/{moved-CT6i1csY.js → moved-CY0yDtAr.js} +1 -1
- package/dist/cli/{parse-qgJylE_A.js → parse-yAC-NFMq.js} +1 -1
- package/dist/cli/{powersync-DB9WZsIv.js → powersync-DryX_DMG.js} +4 -4
- package/dist/cli/powersync-vvu2-72V.js +1 -0
- package/dist/cli/{print-S6IF5rZm.js → print-fOUnKwA9.js} +2 -2
- package/dist/cli/{providers-BDTcal71.js → providers-BR1d_5jA.js} +1 -1
- package/dist/cli/{prune-workflows-Zr2DjByi.js → prune-workflows-CCjzNrxl.js} +2 -2
- package/dist/cli/{remove-CPX5Tg5s.js → remove-B_0OIusa.js} +6 -6
- package/dist/cli/{render-Bp7a7XQ9.js → render-BCJKDX3c.js} +3 -3
- package/dist/cli/{run-BclCFEyP.js → run-4VUQTR-R.js} +9 -9
- package/dist/cli/{run-kgG50x_Z.js → run-BctvQX_g.js} +44 -43
- package/dist/cli/{run-BlVaLnt_.js → run-DX4X7xqV.js} +2 -2
- package/dist/cli/seed-CLlvrV8I.js +1 -0
- package/dist/cli/{seed-Cn2R91cd.js → seed-DSC6f0oh.js} +1 -1
- package/dist/cli/{shared-D60W9NS-.js → shared-oY7PGamd.js} +1 -1
- package/dist/cli/{skills-DH-yPDny.js → skills-B5p6bDwe.js} +1 -1
- package/dist/cli/{snapshot-C3_eQUgY.js → snapshot-CWtER9-4.js} +2 -2
- package/dist/cli/{source-Bk6XwIAK.js → source-D4uav_v9.js} +1 -1
- package/dist/cli/{spec-BDTpcBns.js → spec-BPsyEzqH.js} +1 -1
- package/dist/cli/{spec-C8ydQwZC.js → spec-DTnBeaCD.js} +3 -3
- package/dist/cli/{sql-layout-DVQ20UMi.js → sql-layout-DbhEQqq0.js} +2 -2
- package/dist/cli/{stack-CmhSfY5V.js → stack-CQXLe5j0.js} +1 -1
- package/dist/cli/{sync-D-WO4Yvl.js → sync-CazH5FX4.js} +4 -4
- package/dist/cli/{table-k5OABwy3.js → table-BIQA9Hdt.js} +1 -1
- package/dist/cli/{upgrade-DGe5Pv6v.js → upgrade-Cyx6ESpc.js} +5 -5
- package/dist/cli/{upgrade-XdhMuHAu.js → upgrade-Dyb4-f0Q.js} +3 -3
- package/dist/cli/{version-DKfeme2I.js → version-D1ZKUFng.js} +1 -1
- package/dist/client/index.d.ts +5 -5
- package/dist/client/native/index.d.ts +4 -4
- package/dist/{cloud-event-BEmAUdl1.d.ts → cloud-event-BjgxkfJJ.d.ts} +1 -1
- package/dist/{codecs-B9v5Y5HH.js → codecs-D_pOvjvD.js} +1 -0
- package/dist/{codecs-B1VO2BGL.d.ts → codecs-DaP45ETv.d.ts} +1 -1
- package/dist/{composite-B-oAH16L.d.ts → composite-DPN4SFud.d.ts} +6 -6
- package/dist/config/index.d.ts +2 -2
- package/dist/config/index.js +4 -4
- package/dist/{config-BrRlSxhx.js → config-Dx3bEPlX.js} +1 -1
- package/dist/{config-BKxjItQ-.js → config-uSliwPS6.js} +3 -3
- package/dist/{connectors-CrLRW4Ol.d.ts → connectors-DDsdz-cn.d.ts} +1 -1
- package/dist/{context-yfOlyAqb.d.ts → context-D6OZQdcT.d.ts} +2 -2
- package/dist/contract/index.d.ts +8 -8
- package/dist/{controller-CAcLEndc.d.ts → controller-DhcSXkAC.d.ts} +1 -1
- package/dist/{conversion-s1NtB6S-.d.ts → conversion-CLBBITW5.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/credentials/index.d.ts +3 -3
- package/dist/{define-BvkaC3Oh.d.ts → define-C_He1bQO.d.ts} +1 -1
- package/dist/{define-block-Ds3aLZwz.d.ts → define-block-CDw9YGVh.d.ts} +4 -4
- package/dist/edge/index.d.ts +8 -8
- package/dist/elysia/index.d.ts +1 -1
- package/dist/{ended-iq2wp8fc.d.ts → ended-BwpmNC5k.d.ts} +1 -1
- package/dist/{entitlements-Dhu-4vlH.d.ts → entitlements-Bi4y8w8e.d.ts} +2 -2
- package/dist/eve/index.d.ts +3 -3
- package/dist/events/index.d.ts +3 -3
- package/dist/{events-DCw3c6pj.d.ts → events-DddDlibJ.d.ts} +8 -0
- package/dist/{executor-H8ZLkeHj.d.ts → executor-CxMHiDp_.d.ts} +2 -2
- package/dist/{executor-B-o7QMPp.d.ts → executor-uNDJBzT8.d.ts} +1 -1
- package/dist/expo/index.d.ts +3 -3
- package/dist/{field-errors-DXZk9Qjt.d.ts → field-errors-CJ_i6HFg.d.ts} +7 -7
- package/dist/flags-sdk/index.d.ts +1 -1
- package/dist/{framework-Byr_j8G-.d.ts → framework-B6JAPr1i.d.ts} +7 -7
- package/dist/h3/index.d.ts +1 -1
- package/dist/h3/v1/index.d.ts +1 -1
- package/dist/hono/index.d.ts +8 -8
- package/dist/{index-Dv6lfL5p.d.ts → index-Bc5t2QRU.d.ts} +11 -11
- package/dist/{index-6H-8Ib1w.d.ts → index-Bm1ftdBA.d.ts} +3 -3
- package/dist/{index-lMApFSAd.d.ts → index-C71uHfVj.d.ts} +3 -3
- package/dist/{index-C78VPlXW.d.ts → index-CRwpDGxd.d.ts} +1 -1
- package/dist/{index-CnzGRpeH.d.ts → index-Cbwvf4yE.d.ts} +5 -5
- package/dist/{index-kkZwp5M1.d.ts → index-ChvuVimY.d.ts} +4 -4
- package/dist/{index-Ag-T51Jl.d.ts → index-CvLTqmdq.d.ts} +1 -1
- package/dist/{index-Dbd1E5Au.d.ts → index-DAS_5OfK.d.ts} +3 -3
- package/dist/{index-CY612vAg.d.ts → index-DjJUamhw.d.ts} +2 -2
- package/dist/{index-BUluRi0b.d.ts → index-DrDCN45q.d.ts} +5 -5
- package/dist/index.d.ts +2 -2
- package/dist/{instances-xQ2lupVE.js → instances-DKULdpWB.js} +73 -6
- package/dist/{kit-DCuO1ZhB.d.ts → kit-lHFpu2_1.d.ts} +3 -3
- package/dist/list/index.d.ts +1 -1
- package/dist/{list-query-D1h3Dmnk.d.ts → list-query-BkbLV-Yc.d.ts} +1 -1
- package/dist/mapper/bin.js +5 -5
- package/dist/mcp/index.d.ts +3 -3
- package/dist/mcp/sdk/index.d.ts +5 -5
- package/dist/nestjs/index.d.ts +2 -2
- package/dist/next/client/index.d.ts +1 -1
- package/dist/next/index.d.ts +22 -22
- package/dist/node/index.d.ts +2 -2
- package/dist/{operations-SWpzGC_K.d.ts → operations-BDjgCmT9.d.ts} +1 -1
- package/dist/{options-DqmTs2nv.js → options-CEwoGUk_.js} +2 -1
- package/dist/{options-yRwYr4up.js → options-CGQC7Wue.js} +4 -1
- package/dist/orpc/index.d.ts +7 -7
- package/dist/otel/index.d.ts +1 -1
- package/dist/otel/index.js +4 -4
- package/dist/{outbox-BFZS6Kvz.d.ts → outbox-DikdzUKf.d.ts} +2 -2
- package/dist/{permissions-2UlVQDzY.d.ts → permissions-BGx22GP3.d.ts} +1 -1
- package/dist/{pool-yO-LzZAd.d.ts → pool-BJAjQcrJ.d.ts} +1 -1
- package/dist/{ports-prqYrReN.d.ts → ports-D63bA3p4.d.ts} +1 -1
- package/dist/postgres/index.d.ts +1 -1
- package/dist/powersync/index.d.ts +3 -3
- package/dist/preset/index.d.ts +3 -3
- package/dist/preset/index.js +3 -3
- package/dist/{preset-BvHNleCo.js → preset-oc_liUHz.js} +2 -2
- package/dist/{project-CBvowdKY.js → project-Cs0kz5OP.js} +5 -5
- package/dist/{provider-bIAzxVMB.d.ts → provider-CVlXXbda.d.ts} +1 -1
- package/dist/{push-token-DtqJeg8w.d.ts → push-token-BsyX0KlT.d.ts} +1 -1
- package/dist/query/index.d.ts +1 -1
- package/dist/react/index.d.ts +8 -8
- package/dist/react/native/index.d.ts +1 -1
- package/dist/react/server.d.ts +9 -9
- package/dist/react/session.d.ts +1 -1
- package/dist/react-router/index.d.ts +5 -5
- package/dist/realtime/index.d.ts +4 -4
- package/dist/{record-form-BQA-lawE.d.ts → record-form-C-gIxGXe.d.ts} +1 -1
- package/dist/records/index.d.ts +7 -7
- package/dist/{refusal-BX1EvmpJ.d.ts → refusal-CjUUBfhY.d.ts} +2 -2
- package/dist/{resolve-BIpQRhvF.d.ts → resolve-XlMQRUeG.d.ts} +1 -1
- package/dist/{resolved-names-b6P2--jK.js → resolved-names-sd6RuTju.js} +1 -1
- package/dist/{resource-execute-A1NbR-sd.d.ts → resource-execute-B7-QaS6R.d.ts} +1 -1
- package/dist/{resource-types-CTcc37WL.d.ts → resource-types-CF3Uc6OW.d.ts} +2 -2
- package/dist/{resources-13ZFX1G6.d.ts → resources-DnHSmJIM.d.ts} +1 -1
- package/dist/{respond-CAxhkwAi.d.ts → respond-D7kUatjc.d.ts} +1 -1
- package/dist/server/index.d.ts +21 -21
- package/dist/{server-types-DEjva0MW.d.ts → server-types-DpI82uNq.d.ts} +8 -8
- package/dist/{session-CeYL3EPm.d.ts → session-JV1z0kxa.d.ts} +2 -2
- package/dist/{session-BA0YDmjt.d.ts → session-s-mUZ8RQ.d.ts} +5 -5
- package/dist/{session-status-Df6tuKY9.d.ts → session-status-CJjTuFtA.d.ts} +2 -2
- package/dist/{sign-in-4u4vLtXG.d.ts → sign-in-D5Bg7R47.d.ts} +1 -1
- package/dist/solid/index.d.ts +9 -9
- package/dist/solid-start/index.d.ts +5 -5
- package/dist/spec/index.d.ts +1 -1
- package/dist/sql/index.d.ts +5 -5
- package/dist/sql/index.js +3 -3
- package/dist/{sql-BChN3Hxv.js → sql-CWYbu_6y.js} +3853 -714
- package/dist/sqlite/index.d.ts +1 -1
- package/dist/ssr/index.d.ts +4 -4
- package/dist/{statuses-BTrQ5H4S.js → statuses-Qqpzda35.js} +12 -1
- package/dist/stock-detail-BMqvwq1q.js +12 -0
- package/dist/stock-detail-BRIt7CjU.d.ts +19 -0
- package/dist/{subject-readers-YL8H9G8X.d.ts → subject-readers-D1Km_Q42.d.ts} +1 -1
- package/dist/{support-BwtMgjVg.d.ts → support-Dj5V2WTs.d.ts} +4 -4
- package/dist/{support-view-GykHOIQ2.d.ts → support-view-DKZkZeM5.d.ts} +1 -1
- package/dist/svelte/index.d.ts +8 -8
- package/dist/sveltekit/index.d.ts +6 -6
- package/dist/{tags-CAfvzA1U.d.ts → tags-BihwKkTT.d.ts} +1 -1
- package/dist/tanstack-db/index.d.ts +1 -1
- package/dist/tanstack-start/index.d.ts +5 -5
- package/dist/{tenant-lBgoqg9T.d.ts → tenant-DqnE50Ju.d.ts} +1 -1
- package/dist/testing/index.d.ts +17 -17
- package/dist/testing/index.js +2 -2
- package/dist/{timeline-CrO48Qa6.d.ts → timeline-c6I3uxya.d.ts} +3 -3
- package/dist/{topic-x-mrN_Ff.d.ts → topic-Dp7VGPd-.d.ts} +3 -3
- package/dist/{types-auvHrNWC.d.ts → types-BXLiM6VM.d.ts} +1 -1
- package/dist/{types-CJqNGQKb.d.ts → types-DLXTmZtm.d.ts} +2 -2
- package/dist/{types-C9XfFGmA.d.ts → types-DtiDatvu.d.ts} +2 -2
- package/dist/{vault-DjbG4XQS.d.ts → vault-CbhvnoVC.d.ts} +1 -1
- package/dist/vercel-connect/index.d.ts +1 -1
- package/dist/vercel-sandbox/index.d.ts +1 -1
- package/dist/{verify-HOiu3lRR.d.ts → verify-Cpc1upDA.d.ts} +1 -1
- package/dist/{view-DdDY88SC.d.ts → view-eHgOOyRS.d.ts} +1 -1
- package/dist/vue/index.d.ts +9 -9
- package/dist/{watch-topic-D6bcqOrJ.d.ts → watch-topic-CtJAkWT4.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.d.ts +1 -1
- package/dist/workflow-sdk/world/index.js +1 -1
- package/dist/{workflow-sdk-D3H10W5h.d.ts → workflow-sdk-CUt0E4v6.d.ts} +1 -1
- package/dist/{workflow-sdk-CBS8L2Ku.js → workflow-sdk-pB1jCLIL.js} +21 -1
- package/dist/yjs/index.d.ts +1 -1
- package/package.json +1 -1
- package/schemas/config-v1.json +5 -0
- package/skills/better-supabase-auth/SKILL.md +1 -1
- package/dist/cli/add-De73Ghlh.js +0 -1
- package/dist/cli/env-BfWbheiC.js +0 -1
- package/dist/cli/powersync-IBM_v_eJ.js +0 -1
- package/dist/cli/seed-DGGjReq4.js +0 -1
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
2
|
import { T as ErrorMapper, t as AsyncResult } from "../../result-DTOQRyGY.js";
|
|
3
|
-
import { Ct as Events } from "../../events-
|
|
4
|
-
import { p as AssignmentEventData } from "../../index-
|
|
3
|
+
import { Ct as Events } from "../../events-DddDlibJ.js";
|
|
4
|
+
import { p as AssignmentEventData } from "../../index-DjJUamhw.js";
|
|
5
5
|
import { n as Logger } from "../../logger-0LfhvwE4.js";
|
|
6
6
|
import { r as BlockTemporalOptions } from "../../block-helpers-BNtM1tqy.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
8
|
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-CtMsgLQr.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-CDw9YGVh.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. */
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { b as DbError, f as Result, t as AsyncResult } from "../../result-DTOQRyGY.js";
|
|
2
|
-
import { Ct as Events, ot as StorageObjectEventData, y as AttachmentEventData } from "../../events-
|
|
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-CDw9YGVh.js";
|
|
6
|
+
import { n as Controller } from "../../controller-DhcSXkAC.js";
|
|
7
7
|
/** A pending write to a record's files, for `useOptimistic`. */
|
|
8
8
|
type AttachmentsOptimisticAction = {
|
|
9
9
|
readonly type: "add";
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
2
|
import { T as ErrorMapper, b as DbError, f as Result, t as AsyncResult } from "../../result-DTOQRyGY.js";
|
|
3
3
|
import { O as AnyFunctions, dt as TableKey, k as AnyModels } from "../../types-BzIYSSWK.js";
|
|
4
|
-
import { Ct as Events, b as AuditRevealEventData } from "../../events-
|
|
4
|
+
import { Ct as Events, b as AuditRevealEventData } from "../../events-DddDlibJ.js";
|
|
5
5
|
import { n as Logger } from "../../logger-0LfhvwE4.js";
|
|
6
6
|
import { r as BlockTemporalOptions } from "../../block-helpers-BNtM1tqy.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
9
|
import { n as BlockHooks } from "../../block-hooks-CtMsgLQr.js";
|
|
10
|
-
import { Yt as WhereInput, t as BetterSupabase } from "../../define-
|
|
11
|
-
import { c as BlockOf } from "../../define-block-
|
|
12
|
-
import { i as EventSink, t as CloudEvent } from "../../cloud-event-
|
|
13
|
-
import { i as ListDefinition } from "../../list-query-
|
|
14
|
-
import { n as Controller, t as AuthPort } from "../../controller-
|
|
10
|
+
import { Yt as WhereInput, t as BetterSupabase } from "../../define-C_He1bQO.js";
|
|
11
|
+
import { c as BlockOf } from "../../define-block-CDw9YGVh.js";
|
|
12
|
+
import { i as EventSink, t as CloudEvent } from "../../cloud-event-BjgxkfJJ.js";
|
|
13
|
+
import { i as ListDefinition } from "../../list-query-BkbLV-Yc.js";
|
|
14
|
+
import { n as Controller, t as AuthPort } from "../../controller-DhcSXkAC.js";
|
|
15
15
|
import { a as UndoToken } from "../../undo-CdKp5_2X.js";
|
|
16
|
-
import { n as AuditCategory } from "../../context-
|
|
16
|
+
import { n as AuditCategory } from "../../context-D6OZQdcT.js";
|
|
17
17
|
interface PurgeAuditLogOptions extends BlockTemporalOptions {
|
|
18
18
|
/**
|
|
19
19
|
* How long entries are kept when `retention` has no answer. Defaults to `1
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
2
|
import { D as ValidationIssue, T as ErrorMapper, b as DbError, f as Result, t as AsyncResult } from "../../result-DTOQRyGY.js";
|
|
3
3
|
import { et as RecordRef } from "../../types-BzIYSSWK.js";
|
|
4
|
-
import { Ct as Events } from "../../events-
|
|
4
|
+
import { Ct as Events } from "../../events-DddDlibJ.js";
|
|
5
5
|
import { n as Logger } from "../../logger-0LfhvwE4.js";
|
|
6
6
|
import { r as BlockTemporalOptions } from "../../block-helpers-BNtM1tqy.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
8
|
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-CtMsgLQr.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 { c as ApprovalRequestInput } from "../../approvals-
|
|
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-CDw9YGVh.js";
|
|
11
|
+
import { n as Controller, t as AuthPort } from "../../controller-DhcSXkAC.js";
|
|
12
|
+
import { c as ApprovalRequestInput } from "../../approvals-CXW3yFWZ.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-CLBBITW5.js";
|
|
16
16
|
/** What a rule runs when it matches: an action reference (ADR 0046). */
|
|
17
17
|
type RuleAction = ActionRef;
|
|
18
18
|
interface Rule {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
2
|
import { T as ErrorMapper, t as AsyncResult } from "../../result-DTOQRyGY.js";
|
|
3
3
|
import { et as RecordRef } from "../../types-BzIYSSWK.js";
|
|
4
|
-
import { Ct as Events } from "../../events-
|
|
4
|
+
import { Ct as Events } from "../../events-DddDlibJ.js";
|
|
5
5
|
import { n as Logger } from "../../logger-0LfhvwE4.js";
|
|
6
6
|
import { a as BlockTenantOptions, r as BlockTemporalOptions } from "../../block-helpers-BNtM1tqy.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
8
|
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-CtMsgLQr.js";
|
|
9
|
-
import { Sn as EntitySchema, c as BlockOf, ln as RecordBindingWrite, rn as RecordBinding } from "../../define-block-
|
|
9
|
+
import { Sn as EntitySchema, c as BlockOf, ln as RecordBindingWrite, rn as RecordBinding } from "../../define-block-CDw9YGVh.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";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
2
|
import { T as ErrorMapper, b as DbError, f as Result, t as AsyncResult } from "../../result-DTOQRyGY.js";
|
|
3
|
-
import { C as BillingEventData, Ct as Events, O as BlockEventType, o as EventHub } from "../../events-
|
|
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
5
|
import { i as CursorPageOptions, r as BlockTemporalOptions } from "../../block-helpers-BNtM1tqy.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
8
|
import { n as BlockHooks } from "../../block-hooks-CtMsgLQr.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-
|
|
11
|
-
import { i as EventSink } from "../../cloud-event-
|
|
12
|
-
import { n as Controller, t as AuthPort } from "../../controller-
|
|
13
|
-
import { d as stripeInboxVerify, f as verifyStripeWebhook, u as signStripeWebhook } from "../../verify-
|
|
10
|
+
import { c as BlockOf } from "../../define-block-CDw9YGVh.js";
|
|
11
|
+
import { i as EventSink } from "../../cloud-event-BjgxkfJJ.js";
|
|
12
|
+
import { n as Controller, t as AuthPort } from "../../controller-DhcSXkAC.js";
|
|
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 = {
|
|
16
16
|
readonly "billing.customer_linked": BillingEventData;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { b as DbError } from "../../result-DTOQRyGY.js";
|
|
2
|
-
import { Ct as Events, tt as SchedulingEventData } from "../../events-
|
|
3
|
-
import { c as BlockOf } from "../../define-block-
|
|
4
|
-
import { n as Controller } from "../../controller-
|
|
2
|
+
import { Ct as Events, tt as SchedulingEventData } from "../../events-DddDlibJ.js";
|
|
3
|
+
import { c as BlockOf } from "../../define-block-CDw9YGVh.js";
|
|
4
|
+
import { n as Controller } from "../../controller-DhcSXkAC.js";
|
|
5
5
|
import { o as WeeklyHours } from "../../availability-CZlcrkqD.js";
|
|
6
6
|
import { C as bookingSeriesOf, S as BookingWeekday, T as parseRecurrence, _ as BookedSeries, a as BookingExceptionInput, b as BookingSeriesScope, c as BookingResourceInput, d as BookingStatus, f as Bookings, g as createBookings, h as PublicBookingService, i as BookingDuration, l as BookingServiceInput, m as PlacedBooking, n as Booking, o as BookingExpirePayload, p as BookingsOptions, r as BookingCustomer, s as BookingRange, t as BOOKING_EXPIRE_QUEUE, u as BookingSlot, v as BookingRecurrence, w as formatRecurrence, x as BookingSeriesStatus, y as BookingSeries } from "../../bookings-Dj5cvXKv.js";
|
|
7
7
|
import { t as EventCalendarEvent } from "../../event-calendar-DPMcqy7Q.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
2
|
import { T as ErrorMapper, t as AsyncResult } from "../../result-DTOQRyGY.js";
|
|
3
|
-
import { $ as SaasEventData, Ct as Events } from "../../events-
|
|
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
6
|
import { n as BlockHooks } from "../../block-hooks-CtMsgLQr.js";
|
|
7
|
-
import { c as BlockOf } from "../../define-block-
|
|
7
|
+
import { c as BlockOf } from "../../define-block-CDw9YGVh.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. */
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
import { T as ErrorMapper, b as DbError, t as AsyncResult } from "../../result-DTOQRyGY.js";
|
|
3
3
|
import { t as StandardSchemaV1 } from "../../standard-DRX6Ch1j.js";
|
|
4
4
|
import { r as FieldsOf } from "../../block-fields-Puv5m5D3.js";
|
|
5
|
-
import { Ct as Events, tt as SchedulingEventData } from "../../events-
|
|
5
|
+
import { Ct as Events, tt as SchedulingEventData } from "../../events-DddDlibJ.js";
|
|
6
6
|
import { n as Logger } from "../../logger-0LfhvwE4.js";
|
|
7
7
|
import { t as BlockTransport } from "../../block-transport-CDmOUuLZ.js";
|
|
8
8
|
import { n as BlockHooks } from "../../block-hooks-CtMsgLQr.js";
|
|
9
|
-
import { Sn as EntitySchema, c as BlockOf } from "../../define-block-
|
|
10
|
-
import { n as Controller } from "../../controller-
|
|
9
|
+
import { Sn as EntitySchema, c as BlockOf } from "../../define-block-CDw9YGVh.js";
|
|
10
|
+
import { n as Controller } from "../../controller-DhcSXkAC.js";
|
|
11
11
|
import { A as CalendarAlarmAction, C as IcsEvent, D as parseIcs, E as ToIcsOptions, O as toIcs, S as CalendarEventStatus, T as ParsedIcs, _ as expandOccurrences, a as FreeBusy, b as AttendeeRole, c as WorkingHoursInput, d as workingHoursOf, f as CalendarEvent, g as SplitRules, h as OccurrenceRange, i as CommonFreeTimeOptions, j as CalendarReminder, k as CalendarAlarm, l as commonFreeTime, m as OccurrenceOptions, n as CalendarEventKind, o as WeeklyHours, p as CalendarOccurrence, r as CalendarTransparency, s as WorkingHours, t as BusyRange, u as freeBusyOf, v as splitRule, w as IcsSource, x as CalendarAttendee, y as AttendeeResponse } from "../../availability-CZlcrkqD.js";
|
|
12
12
|
import { a as fromEventCalendarUpdate, c as toEventCalendarResources, i as OccurrenceMove, n as EventCalendarOptions, o as seriesOf, r as EventCalendarResource, s as toEventCalendarEvents, t as EventCalendarEvent } from "../../event-calendar-DPMcqy7Q.js";
|
|
13
13
|
import { t as VisibleRange } from "../../range-BN3kpJAE.js";
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
import { t as AsyncResult } from "../../result-DTOQRyGY.js";
|
|
3
3
|
import { t as StandardSchemaV1 } from "../../standard-DRX6Ch1j.js";
|
|
4
4
|
import { r as FieldsOf } from "../../block-fields-Puv5m5D3.js";
|
|
5
|
-
import { Ct as Events, j as CommerceEventData } from "../../events-
|
|
5
|
+
import { Ct as Events, j as CommerceEventData } from "../../events-DddDlibJ.js";
|
|
6
6
|
import { n as Logger } from "../../logger-0LfhvwE4.js";
|
|
7
7
|
import { i as CursorPageOptions, n as BlockOptions } from "../../block-helpers-BNtM1tqy.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
9
|
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-CtMsgLQr.js";
|
|
10
10
|
import { h as FilterQuery } from "../../filter-query-Xj40B5KT.js";
|
|
11
|
-
import { Sn as EntitySchema, c as BlockOf } from "../../define-block-
|
|
11
|
+
import { Sn as EntitySchema, c as BlockOf } from "../../define-block-CDw9YGVh.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
|
export declare const PRODUCT_KINDS: readonly ["physical", "digital", "service"];
|
|
@@ -87,6 +87,24 @@ interface SavedOption {
|
|
|
87
87
|
readonly id: string;
|
|
88
88
|
readonly values: readonly OptionValue[];
|
|
89
89
|
}
|
|
90
|
+
interface OptionMatrixInput {
|
|
91
|
+
readonly name: string;
|
|
92
|
+
readonly values: readonly string[];
|
|
93
|
+
}
|
|
94
|
+
interface OptionMatrixOptions {
|
|
95
|
+
readonly titleSeparator?: string | null;
|
|
96
|
+
}
|
|
97
|
+
interface MatrixVariant {
|
|
98
|
+
readonly id: string;
|
|
99
|
+
readonly sku?: string;
|
|
100
|
+
readonly optionValueIds: readonly string[];
|
|
101
|
+
}
|
|
102
|
+
interface OptionMatrix {
|
|
103
|
+
readonly options: readonly (SavedOption & {
|
|
104
|
+
readonly name: string;
|
|
105
|
+
})[];
|
|
106
|
+
readonly variants: readonly MatrixVariant[];
|
|
107
|
+
}
|
|
90
108
|
/**
|
|
91
109
|
* On `updateVariant`, a key left out keeps its value and `null` clears `sku`,
|
|
92
110
|
* `title`, `barcode` or `weightGrams`.
|
|
@@ -273,6 +291,7 @@ interface Catalog<F extends object = Record<never, never>> {
|
|
|
273
291
|
deleteOption(optionId: string): AsyncResult<boolean>;
|
|
274
292
|
/** Puts the product's options in this order; it names each one once. */
|
|
275
293
|
reorderOptions(productId: string, optionIds: readonly string[]): AsyncResult<boolean>;
|
|
294
|
+
setOptions(productId: string, options: readonly OptionMatrixInput[], settings?: OptionMatrixOptions): AsyncResult<OptionMatrix>;
|
|
276
295
|
createVariant(productId: string, input: VariantInput): AsyncResult<SavedVariant>;
|
|
277
296
|
updateVariant(productId: string, variantId: string, input: VariantInput): AsyncResult<SavedVariant>;
|
|
278
297
|
/** Moves a variant between the variants with rank keys `previous` and `next`. */
|
|
@@ -377,4 +396,4 @@ export declare const catalogBlock: BlockOf<"catalog", typeof createCatalog, Cata
|
|
|
377
396
|
* checks.
|
|
378
397
|
*/
|
|
379
398
|
export declare const productInputSchema: EntitySchema<ProductInput>;
|
|
380
|
-
export { type BlockHooks, type BlockTransport, type BlockTransportMiddleware, type Catalog, type CatalogEvents, type CatalogOptions, type CategoryInput, type ChannelInput, type ChannelProduct, type ChannelProductsOptions, type CollectionInput, type LocaleOptions, type LocalizedProduct, type LocalizedVariant, type OptionInput, type OptionValue, type Price, type PriceInput, type PriceListInput, type ProductInput, type ProductKind, type ProductMedia, type ProductMediaInput, type ProductPatch, type ProductStatus, type ProductTranslation, type RpcClient, type SavedCategory, type SavedChannel, type SavedCollection, type SavedOption, type SavedPrice, type SavedProduct, type SavedProductMedia, type SavedVariant, type StatusChange, type VariantInput, type VariantPriceOptions, dbTransport, extendBlock, rpcTransport, sqlTransport, withBlockHooks, wrapTransport };
|
|
399
|
+
export { type BlockHooks, type BlockTransport, type BlockTransportMiddleware, type Catalog, type CatalogEvents, type CatalogOptions, type CategoryInput, type ChannelInput, type ChannelProduct, type ChannelProductsOptions, type CollectionInput, type LocaleOptions, type LocalizedProduct, type LocalizedVariant, type MatrixVariant, type OptionInput, type OptionMatrix, type OptionMatrixInput, type OptionMatrixOptions, type OptionValue, type Price, type PriceInput, type PriceListInput, type ProductInput, type ProductKind, type ProductMedia, type ProductMediaInput, type ProductPatch, type ProductStatus, type ProductTranslation, type RpcClient, type SavedCategory, type SavedChannel, type SavedCollection, type SavedOption, type SavedPrice, type SavedProduct, type SavedProductMedia, type SavedVariant, type StatusChange, type VariantInput, type VariantPriceOptions, dbTransport, extendBlock, rpcTransport, sqlTransport, withBlockHooks, wrapTransport };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { n as dbError } from "../../errors-B7tCfCvX.js";
|
|
2
2
|
import { n as isRecord } from "../../guards-CsRa6v57.js";
|
|
3
3
|
import { t as AsyncResult } from "../../result-8xza7w5W.js";
|
|
4
|
-
import { t as catalogSqlOptions } from "../../options-
|
|
4
|
+
import { t as catalogSqlOptions } from "../../options-CEwoGUk_.js";
|
|
5
5
|
import { n as event, t as defineEvents } from "../../event-map-DxfsFgQT.js";
|
|
6
|
-
import { A as recordsOf, L as textOf, O as recordOf, T as pageOf, U as rpcTransport, V as dbTransport, W as sqlTransport, d as enumOrThrow, h as instantOf, m as instantArg, n as applyTemporal, o as blockCall, w as optionalText } from "../../block-helpers-I7UzjNEf.js";
|
|
6
|
+
import { A as recordsOf, I as stringsOf, L as textOf, O as recordOf, T as pageOf, U as rpcTransport, V as dbTransport, W as sqlTransport, d as enumOrThrow, h as instantOf, m as instantArg, n as applyTemporal, o as blockCall, w as optionalText } from "../../block-helpers-I7UzjNEf.js";
|
|
7
7
|
import { i as wrapTransport, n as extendBlock, r as withBlockHooks } from "../../block-hooks-CadxQ9-_.js";
|
|
8
8
|
import { n as entitySchema, r as moneyField } from "../../entity-schema-DEIz0I8i.js";
|
|
9
9
|
import { c as withFields, n as blockFields, r as extraFieldsArg } from "../../block-fields-Bjcv6_zc.js";
|
|
@@ -40,6 +40,27 @@ function variantOf(value) {
|
|
|
40
40
|
...isRecord(row["fields"]) ? { fields: row["fields"] } : {}
|
|
41
41
|
};
|
|
42
42
|
}
|
|
43
|
+
function matrixOf(value) {
|
|
44
|
+
const row = recordOf(value, "set_product_options");
|
|
45
|
+
return {
|
|
46
|
+
options: recordsOf(row["options"], "set_product_options").map((entry) => ({
|
|
47
|
+
id: textOf(entry["id"]),
|
|
48
|
+
name: textOf(entry["name"]),
|
|
49
|
+
values: recordsOf(entry["values"], "set_product_options").map((item) => ({
|
|
50
|
+
id: textOf(item["id"]),
|
|
51
|
+
value: textOf(item["value"])
|
|
52
|
+
}))
|
|
53
|
+
})),
|
|
54
|
+
variants: recordsOf(row["variants"], "set_product_options").map((entry) => {
|
|
55
|
+
const sku = optionalText(entry["sku"]);
|
|
56
|
+
return {
|
|
57
|
+
id: textOf(entry["id"]),
|
|
58
|
+
...sku === void 0 ? {} : { sku },
|
|
59
|
+
optionValueIds: stringsOf(entry["optionValueIds"])
|
|
60
|
+
};
|
|
61
|
+
})
|
|
62
|
+
};
|
|
63
|
+
}
|
|
43
64
|
function priceOf(value) {
|
|
44
65
|
if (!isRecord(value)) return null;
|
|
45
66
|
const currency = textOf(value["currency"]);
|
|
@@ -190,6 +211,14 @@ function createCatalog(options) {
|
|
|
190
211
|
product: productId,
|
|
191
212
|
options: optionIds
|
|
192
213
|
}, (value) => value === true),
|
|
214
|
+
setOptions: (productId, options, settings) => call("set_product_options", {
|
|
215
|
+
product: productId,
|
|
216
|
+
options: options.map((entry) => ({
|
|
217
|
+
name: entry.name,
|
|
218
|
+
values: entry.values
|
|
219
|
+
})),
|
|
220
|
+
...settings?.titleSeparator === void 0 ? {} : { title_separator: settings.titleSeparator }
|
|
221
|
+
}, matrixOf),
|
|
193
222
|
createVariant: (productId, input) => call("save_variant", variantArgs(productId, null, input), variantOf),
|
|
194
223
|
updateVariant: (productId, variantId, input) => call("save_variant", variantArgs(productId, variantId, input), variantOf),
|
|
195
224
|
reorderVariant: (variantId, neighbors) => {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
2
|
import { T as ErrorMapper, t as AsyncResult } from "../../result-DTOQRyGY.js";
|
|
3
3
|
import { et as RecordRef } from "../../types-BzIYSSWK.js";
|
|
4
|
-
import { Ct as Events } from "../../events-
|
|
5
|
-
import { m as ChannelEventData } from "../../index-
|
|
4
|
+
import { Ct as Events } from "../../events-DddDlibJ.js";
|
|
5
|
+
import { m as ChannelEventData } from "../../index-DjJUamhw.js";
|
|
6
6
|
import { n as Logger } from "../../logger-0LfhvwE4.js";
|
|
7
7
|
import { a as BlockTenantOptions, r as BlockTemporalOptions } from "../../block-helpers-BNtM1tqy.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
9
|
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-CtMsgLQr.js";
|
|
10
|
-
import { Sn as EntitySchema, c as BlockOf } from "../../define-block-
|
|
10
|
+
import { Sn as EntitySchema, c as BlockOf } from "../../define-block-CDw9YGVh.js";
|
|
11
11
|
/** Who reads a channel: the tenant, or its members. */
|
|
12
12
|
type ChannelVisibility = "public" | "private";
|
|
13
13
|
/** A channel. Its `id` is also its conversation's id in `messaging`. */
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
import { T as ErrorMapper, t as AsyncResult } from "../../result-DTOQRyGY.js";
|
|
3
3
|
import { t as StandardSchemaV1 } from "../../standard-DRX6Ch1j.js";
|
|
4
4
|
import { r as FieldsOf } from "../../block-fields-Puv5m5D3.js";
|
|
5
|
-
import { Ct as Events } from "../../events-
|
|
6
|
-
import { P as SavedItemEventData, g as CollectionEventData, h as CollectionEntryEventData } from "../../index-
|
|
5
|
+
import { Ct as Events } from "../../events-DddDlibJ.js";
|
|
6
|
+
import { P as SavedItemEventData, g as CollectionEventData, h as CollectionEntryEventData } from "../../index-DjJUamhw.js";
|
|
7
7
|
import { n as Logger } from "../../logger-0LfhvwE4.js";
|
|
8
8
|
import { i as CursorPageOptions } from "../../block-helpers-BNtM1tqy.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
10
|
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-CtMsgLQr.js";
|
|
11
|
-
import { I as Notifier, c as BlockOf } from "../../define-block-
|
|
11
|
+
import { I as Notifier, c as BlockOf } from "../../define-block-CDw9YGVh.js";
|
|
12
12
|
import { t as RankNeighbors } from "../../rank-result-B_xLQCBV.js";
|
|
13
13
|
/** Who sees a collection: its owner, a team, or the whole organization. */
|
|
14
14
|
export declare const COLLECTION_SCOPES: readonly ["user", "team", "tenant"];
|
|
@@ -7,14 +7,14 @@ import { n as Logger } from "../../logger-0LfhvwE4.js";
|
|
|
7
7
|
import { a as BlockTenantOptions, i as CursorPageOptions, r as BlockTemporalOptions } from "../../block-helpers-BNtM1tqy.js";
|
|
8
8
|
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-CDmOUuLZ.js";
|
|
9
9
|
import { n as BlockHooks } from "../../block-hooks-CtMsgLQr.js";
|
|
10
|
-
import { F as CommentsSqlOptions } from "../../authorization-
|
|
10
|
+
import { F as CommentsSqlOptions } from "../../authorization-C7yjZttV.js";
|
|
11
11
|
import { t as Author } from "../../block-authors-C5z3tGVu.js";
|
|
12
12
|
import { a as isFileAnchor, i as fileAnchor, n as FileAnchor, o as conversationTopic, r as FileAnchorAt, t as AnchorRegion } from "../../anchors-sCLvYj-8.js";
|
|
13
13
|
import { c as MessageEdit, l as MessageEdition, o as Message } from "../../messaging-Bfe4p9Pm.js";
|
|
14
|
-
import { Sn as EntitySchema, c as BlockOf, ln as RecordBindingWrite, mn as RecordRowInput, rn as RecordBinding } from "../../define-block-
|
|
15
|
-
import { p as SubscriptionStatus } from "../../topic-
|
|
16
|
-
import { n as TopicPort } from "../../watch-topic-
|
|
17
|
-
import { n as Controller, t as AuthPort } from "../../controller-
|
|
14
|
+
import { Sn as EntitySchema, c as BlockOf, ln as RecordBindingWrite, mn as RecordRowInput, rn as RecordBinding } from "../../define-block-CDw9YGVh.js";
|
|
15
|
+
import { p as SubscriptionStatus } from "../../topic-Dp7VGPd-.js";
|
|
16
|
+
import { n as TopicPort } from "../../watch-topic-CtJAkWT4.js";
|
|
17
|
+
import { n as Controller, t as AuthPort } from "../../controller-DhcSXkAC.js";
|
|
18
18
|
interface CommentsOptions<S extends StandardSchemaV1 | undefined = undefined> extends BlockTemporalOptions, BlockTenantOptions {
|
|
19
19
|
/**
|
|
20
20
|
* A Standard Schema for the message extra columns
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
import { T as ErrorMapper, t as AsyncResult } from "../../result-DTOQRyGY.js";
|
|
3
3
|
import { t as StandardSchemaV1 } from "../../standard-DRX6Ch1j.js";
|
|
4
4
|
import { n as ExtraFields, r as FieldsOf } from "../../block-fields-Puv5m5D3.js";
|
|
5
|
-
import { Ct as Events } from "../../events-
|
|
5
|
+
import { Ct as Events } from "../../events-DddDlibJ.js";
|
|
6
6
|
import { n as Logger } from "../../logger-0LfhvwE4.js";
|
|
7
7
|
import { r as BlockTemporalOptions } from "../../block-helpers-BNtM1tqy.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
9
|
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-CtMsgLQr.js";
|
|
10
|
-
import { Sn as EntitySchema, c as BlockOf } from "../../define-block-
|
|
10
|
+
import { Sn as EntitySchema, c as BlockOf } from "../../define-block-CDw9YGVh.js";
|
|
11
11
|
interface ComplianceOptions<S extends StandardSchemaV1 | undefined = undefined> extends BlockTemporalOptions {
|
|
12
12
|
readonly transport: BlockTransport;
|
|
13
13
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Ct as Events, N as ConnectorEventData } from "../../events-
|
|
1
|
+
import { Ct as Events, N as ConnectorEventData } 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 ConnectorSession, c as ConnectorsOptions, i as ConnectorServerFields, l as FingerprintStatus, n as ConnectorGrant, o as ConnectorTransport, r as ConnectorServer, s as Connectors, t as ConnectorAuth, u as createConnectors } from "../../connectors-
|
|
4
|
-
import { c as BlockOf } from "../../define-block-
|
|
3
|
+
import { a as ConnectorSession, c as ConnectorsOptions, i as ConnectorServerFields, l as FingerprintStatus, n as ConnectorGrant, o as ConnectorTransport, r as ConnectorServer, s as Connectors, t as ConnectorAuth, u as createConnectors } from "../../connectors-DDsdz-cn.js";
|
|
4
|
+
import { c as BlockOf } from "../../define-block-CDw9YGVh.js";
|
|
5
5
|
/** The events of the `connectors` block: type to data. */
|
|
6
6
|
type ConnectorsEvents = {
|
|
7
7
|
readonly "connector.saved": ConnectorEventData;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { T as ErrorMapper, t as AsyncResult } from "../../result-DTOQRyGY.js";
|
|
2
2
|
import { t as StandardSchemaV1 } from "../../standard-DRX6Ch1j.js";
|
|
3
3
|
import { i as RowFields, r as FieldsOf } from "../../block-fields-Puv5m5D3.js";
|
|
4
|
-
import { Ct as Events } from "../../events-
|
|
5
|
-
import { A as PartyEventData } from "../../index-
|
|
4
|
+
import { Ct as Events } from "../../events-DddDlibJ.js";
|
|
5
|
+
import { A as PartyEventData } from "../../index-DjJUamhw.js";
|
|
6
6
|
import { n as Logger } from "../../logger-0LfhvwE4.js";
|
|
7
7
|
import { i as CursorPageOptions } from "../../block-helpers-BNtM1tqy.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
9
|
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-CtMsgLQr.js";
|
|
10
|
-
import { Sn as EntitySchema, c as BlockOf } from "../../define-block-
|
|
10
|
+
import { Sn as EntitySchema, c as BlockOf } from "../../define-block-CDw9YGVh.js";
|
|
11
11
|
/** Where a page of a list stops: the last row's name and id. */
|
|
12
12
|
interface PartyCursor {
|
|
13
13
|
readonly name: string;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
2
|
import { t as AsyncResult } from "../../result-DTOQRyGY.js";
|
|
3
|
-
import { Ct as Events } from "../../events-
|
|
3
|
+
import { Ct as Events } from "../../events-DddDlibJ.js";
|
|
4
4
|
import { n as Logger } from "../../logger-0LfhvwE4.js";
|
|
5
5
|
import { n as BlockOptions } from "../../block-helpers-BNtM1tqy.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
7
|
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-CtMsgLQr.js";
|
|
8
8
|
import { n as contentSqlOptions, t as ContentSqlOptions } from "../../options-Lh6uxepF.js";
|
|
9
|
-
import { Sn as EntitySchema, c as BlockOf } from "../../define-block-
|
|
9
|
+
import { Sn as EntitySchema, c as BlockOf } from "../../define-block-CDw9YGVh.js";
|
|
10
10
|
declare const STATUSES: readonly ["draft", "scheduled", "published", "archived"];
|
|
11
11
|
declare const APPROVAL_STATUSES: readonly ["pending", "approved", "rejected", "cancelled", "expired"];
|
|
12
12
|
/** Where an entry stands. Only published entries reach the public reads. */
|
|
@@ -3,12 +3,12 @@ import { T as ErrorMapper, t as AsyncResult } from "../../result-DTOQRyGY.js";
|
|
|
3
3
|
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 { et as RecordRef } from "../../types-BzIYSSWK.js";
|
|
6
|
-
import { Ct as Events } from "../../events-
|
|
6
|
+
import { Ct as Events } from "../../events-DddDlibJ.js";
|
|
7
7
|
import { n as Logger } from "../../logger-0LfhvwE4.js";
|
|
8
8
|
import { r as BlockTemporalOptions } from "../../block-helpers-BNtM1tqy.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
10
|
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-CtMsgLQr.js";
|
|
11
|
-
import { Sn as EntitySchema, c as BlockOf, rn as RecordBinding } from "../../define-block-
|
|
11
|
+
import { Sn as EntitySchema, c as BlockOf, rn as RecordBinding } from "../../define-block-CDw9YGVh.js";
|
|
12
12
|
import { n as Money } from "../../money-BgpAd7d3.js";
|
|
13
13
|
interface ContractsOptions<S extends StandardSchemaV1 | undefined = undefined> extends BlockTemporalOptions {
|
|
14
14
|
readonly transport: BlockTransport;
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
import { t as AsyncResult } from "../../result-DTOQRyGY.js";
|
|
3
3
|
import { t as StandardSchemaV1 } from "../../standard-DRX6Ch1j.js";
|
|
4
4
|
import { n as ExtraFields, r as FieldsOf } from "../../block-fields-Puv5m5D3.js";
|
|
5
|
-
import { Ct as Events } from "../../events-
|
|
5
|
+
import { Ct as Events } from "../../events-DddDlibJ.js";
|
|
6
6
|
import { n as Logger } from "../../logger-0LfhvwE4.js";
|
|
7
7
|
import { n as BlockOptions } from "../../block-helpers-BNtM1tqy.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
9
|
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-CtMsgLQr.js";
|
|
10
10
|
import { n as coursesSqlOptions, t as CoursesSqlOptions } from "../../options-Dg7eK-_J.js";
|
|
11
|
-
import { Sn as EntitySchema, c as BlockOf, ln as RecordBindingWrite, rn as RecordBinding } from "../../define-block-
|
|
11
|
+
import { Sn as EntitySchema, c as BlockOf, ln as RecordBindingWrite, rn as RecordBinding } from "../../define-block-CDw9YGVh.js";
|
|
12
12
|
import { a as FormDefinition, l as FormJsonSchema } from "../../form-definition-BN8shngm.js";
|
|
13
13
|
declare const COURSE_STATUSES: readonly ["draft", "published", "archived"];
|
|
14
14
|
declare const LESSON_KINDS: readonly ["content", "video", "quiz"];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { It as RequestContext, Nt as Plugin } from "../../types-BzIYSSWK.js";
|
|
2
2
|
import { t as CreatedBySqlOptions } from "../../options-DeamnVOY.js";
|
|
3
|
-
import { r as Block } from "../../define-block-
|
|
3
|
+
import { r as Block } from "../../define-block-CDw9YGVh.js";
|
|
4
4
|
interface CreatedByExtensionOptions {
|
|
5
5
|
/**
|
|
6
6
|
* Custom actor id resolution. Defaults to `context.actor.id` for users and
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { T as ErrorMapper, t as AsyncResult } from "../../result-DTOQRyGY.js";
|
|
2
2
|
import { et as RecordRef } from "../../types-BzIYSSWK.js";
|
|
3
|
-
import { $ as SaasEventData, Ct as Events, et as SaasSubjectEventData } from "../../events-
|
|
3
|
+
import { $ as SaasEventData, Ct as Events, et as SaasSubjectEventData } from "../../events-DddDlibJ.js";
|
|
4
4
|
import { n as Logger } from "../../logger-0LfhvwE4.js";
|
|
5
5
|
import { a as BlockTenantOptions } from "../../block-helpers-BNtM1tqy.js";
|
|
6
6
|
import { t as BlockTransport } from "../../block-transport-CDmOUuLZ.js";
|
|
7
7
|
import { n as BlockHooks } from "../../block-hooks-CtMsgLQr.js";
|
|
8
|
-
import { c as BlockOf } from "../../define-block-
|
|
8
|
+
import { c as BlockOf } from "../../define-block-CDw9YGVh.js";
|
|
9
9
|
import { n as CustomFieldType, t as CUSTOM_FIELD_TYPES } from "../../field-formats-DVukMbRa.js";
|
|
10
10
|
import { t as RankNeighbors } from "../../rank-result-B_xLQCBV.js";
|
|
11
11
|
interface CustomFieldsOptions extends BlockTenantOptions {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
2
|
import { T as ErrorMapper, t as AsyncResult } from "../../result-DTOQRyGY.js";
|
|
3
|
-
import { Ct as Events, F as DataExportEventData, K as LegalHoldEventData, Y as OrganizationDeletionEventData } from "../../events-
|
|
3
|
+
import { Ct as Events, F as DataExportEventData, K as LegalHoldEventData, Y as OrganizationDeletionEventData } from "../../events-DddDlibJ.js";
|
|
4
4
|
import { n as Logger } from "../../logger-0LfhvwE4.js";
|
|
5
|
-
import { a as CredentialSubject, i as CredentialRef, r as CredentialProvider } from "../../provider-
|
|
5
|
+
import { a as CredentialSubject, i as CredentialRef, r as CredentialProvider } from "../../provider-CVlXXbda.js";
|
|
6
6
|
import { r as BlockTemporalOptions } from "../../block-helpers-BNtM1tqy.js";
|
|
7
7
|
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-CDmOUuLZ.js";
|
|
8
8
|
import { n as BlockHooks } from "../../block-hooks-CtMsgLQr.js";
|
|
9
9
|
import { _ as JobHandler } from "../../types-BdhE7I8Z.js";
|
|
10
|
-
import { c as BlockOf } from "../../define-block-
|
|
11
|
-
import { i as EventSink } from "../../cloud-event-
|
|
10
|
+
import { c as BlockOf } from "../../define-block-CDw9YGVh.js";
|
|
11
|
+
import { i as EventSink } from "../../cloud-event-BjgxkfJJ.js";
|
|
12
12
|
interface StorageReply<T> {
|
|
13
13
|
readonly data: T | null;
|
|
14
14
|
readonly error: unknown;
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
import { T as ErrorMapper, t as AsyncResult } from "../../result-DTOQRyGY.js";
|
|
3
3
|
import { t as StandardSchemaV1 } from "../../standard-DRX6Ch1j.js";
|
|
4
4
|
import { r as FieldsOf } from "../../block-fields-Puv5m5D3.js";
|
|
5
|
-
import { Ct as Events } from "../../events-
|
|
6
|
-
import { v as DealEventData } from "../../index-
|
|
5
|
+
import { Ct as Events } from "../../events-DddDlibJ.js";
|
|
6
|
+
import { v as DealEventData } from "../../index-DjJUamhw.js";
|
|
7
7
|
import { n as Logger } from "../../logger-0LfhvwE4.js";
|
|
8
8
|
import { r as BlockTemporalOptions } from "../../block-helpers-BNtM1tqy.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
10
|
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-CtMsgLQr.js";
|
|
11
|
-
import { Sn as EntitySchema, c as BlockOf } from "../../define-block-
|
|
11
|
+
import { Sn as EntitySchema, c as BlockOf } from "../../define-block-CDw9YGVh.js";
|
|
12
12
|
import { n as Money } from "../../money-BgpAd7d3.js";
|
|
13
13
|
import { t as DealForecast } from "../../deal-forecast-CN_BEy9s.js";
|
|
14
14
|
/** How a rep calls a deal for the period. `undefined` is "not called". */
|
|
@@ -3,13 +3,13 @@ import { t as AsyncResult } from "../../result-DTOQRyGY.js";
|
|
|
3
3
|
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 { et as RecordRef } from "../../types-BzIYSSWK.js";
|
|
6
|
-
import { Ct as Events } from "../../events-
|
|
6
|
+
import { Ct as Events } from "../../events-DddDlibJ.js";
|
|
7
7
|
import { n as Logger } from "../../logger-0LfhvwE4.js";
|
|
8
8
|
import { n as BlockOptions } from "../../block-helpers-BNtM1tqy.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
10
|
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-CtMsgLQr.js";
|
|
11
11
|
import { n as dispatchSqlOptions, t as DispatchSqlOptions } from "../../options-BamaRO-q.js";
|
|
12
|
-
import { Sn as EntitySchema, c as BlockOf, ln as RecordBindingWrite, mn as RecordRowInput, rn as RecordBinding } from "../../define-block-
|
|
12
|
+
import { Sn as EntitySchema, c as BlockOf, ln as RecordBindingWrite, mn as RecordRowInput, rn as RecordBinding } from "../../define-block-CDw9YGVh.js";
|
|
13
13
|
/** Where a work order is in its life. */
|
|
14
14
|
export declare const WORK_ORDER_STATUSES: readonly ["unscheduled", "scheduled", "en_route", "on_site", "done", "cancelled"];
|
|
15
15
|
type WorkOrderStatus = (typeof WORK_ORDER_STATUSES)[number];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Ct as Events, I as DocumentEventData, L as DocumentSuggestionEventData } from "../../events-
|
|
1
|
+
import { Ct as Events, I as DocumentEventData, L as DocumentSuggestionEventData } 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-
|
|
3
|
+
import { c as BlockOf } from "../../define-block-CDw9YGVh.js";
|
|
4
4
|
import { a as DocumentSuggestion, c as DocumentVersion, d as OpenedDocument, f as SuggestionDecision, i as DocumentState, l as Documents, n as DocumentInfo, o as DocumentSuggestionStatus, p as createDocuments, r as DocumentRef, s as DocumentUpdate, t as DecidedSuggestion, u as DocumentsOptions } from "../../documents-Btk0MhC0.js";
|
|
5
5
|
/** The events of the `documents` block: type to data. */
|
|
6
6
|
type DocumentsEvents = {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
2
|
import { T as ErrorMapper, t as AsyncResult } from "../../result-DTOQRyGY.js";
|
|
3
|
-
import { Ct as Events } from "../../events-
|
|
3
|
+
import { Ct as Events } from "../../events-DddDlibJ.js";
|
|
4
4
|
import { n as Logger } from "../../logger-0LfhvwE4.js";
|
|
5
5
|
import { r as BlockTemporalOptions } from "../../block-helpers-BNtM1tqy.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
7
|
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-CtMsgLQr.js";
|
|
8
|
-
import { c as BlockOf } from "../../define-block-
|
|
8
|
+
import { c as BlockOf } from "../../define-block-CDw9YGVh.js";
|
|
9
9
|
import { _ as dohResolver, m as TxtResolver, t as DohResolverOptions } from "../../sso-B7w7h8RJ.js";
|
|
10
10
|
/** The DNS record that proves a custom domain belongs to the organization. */
|
|
11
11
|
interface HostnameRecord {
|
|
@@ -3,12 +3,12 @@ import { b as DbError, t as AsyncResult } from "../../result-DTOQRyGY.js";
|
|
|
3
3
|
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 { et as RecordRef } from "../../types-BzIYSSWK.js";
|
|
6
|
-
import { Ct as Events } from "../../events-
|
|
6
|
+
import { Ct as Events } from "../../events-DddDlibJ.js";
|
|
7
7
|
import { n as Logger } from "../../logger-0LfhvwE4.js";
|
|
8
8
|
import { n as BlockOptions } from "../../block-helpers-BNtM1tqy.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
10
|
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-CtMsgLQr.js";
|
|
11
|
-
import { Sn as EntitySchema, c as BlockOf, rn as RecordBinding } from "../../define-block-
|
|
11
|
+
import { Sn as EntitySchema, c as BlockOf, rn as RecordBinding } from "../../define-block-CDw9YGVh.js";
|
|
12
12
|
import { n as Money } from "../../money-BgpAd7d3.js";
|
|
13
13
|
import { r as WebhookInput } from "../../signatures-jPr9JXyw.js";
|
|
14
14
|
import { i as PaymentEvent, n as Payment, o as PaymentProvider } from "../../payments-BBGSGRQ7.js";
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
import { T as ErrorMapper, t as AsyncResult } from "../../result-DTOQRyGY.js";
|
|
3
3
|
import { t as StandardSchemaV1 } from "../../standard-DRX6Ch1j.js";
|
|
4
4
|
import { r as FieldsOf } from "../../block-fields-Puv5m5D3.js";
|
|
5
|
-
import { Ct as Events, R as DriveEventData } from "../../events-
|
|
5
|
+
import { Ct as Events, R as DriveEventData } from "../../events-DddDlibJ.js";
|
|
6
6
|
import { n as Logger } from "../../logger-0LfhvwE4.js";
|
|
7
7
|
import { r as BlockTemporalOptions } from "../../block-helpers-BNtM1tqy.js";
|
|
8
8
|
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-CDmOUuLZ.js";
|
|
9
9
|
import { n as BlockHooks } from "../../block-hooks-CtMsgLQr.js";
|
|
10
|
-
import { Ot as Attachments, Tt as AttachmentStorage, _t as AttachmentDownload, c as BlockOf, ht as Attachment } from "../../define-block-
|
|
11
|
-
import { u as ApprovalStatus } from "../../approvals-
|
|
10
|
+
import { Ot as Attachments, Tt as AttachmentStorage, _t as AttachmentDownload, c as BlockOf, ht as Attachment } from "../../define-block-CDw9YGVh.js";
|
|
11
|
+
import { u as ApprovalStatus } from "../../approvals-CXW3yFWZ.js";
|
|
12
12
|
import { t as SubjectConfig } from "../../subjects-BGwLJ3IB.js";
|
|
13
13
|
interface DriveOptions<S extends StandardSchemaV1 | undefined = undefined> extends BlockTemporalOptions {
|
|
14
14
|
/** The caller's transport (`rpcTransport(supabase)`), so grants apply. */
|