better-supabase 0.18.3 → 0.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{ai-cache-Cu8j6aQQ.js → ai-cache-BuNbWEFI.js} +2 -2
- package/dist/{ai-files-CgFCRsnU.js → ai-files-DeMWQfzs.js} +2 -2
- package/dist/{ai-schedules-DzLh6BYI.d.ts → ai-schedules-Bp-U0cZG.d.ts} +1 -1
- package/dist/ai-sdk/agents/index.d.ts +2 -2
- package/dist/ai-sdk/batches/index.js +1 -1
- package/dist/ai-sdk/cache/index.js +1 -1
- package/dist/ai-sdk/files/index.js +2 -2
- package/dist/ai-sdk/mcp/index.js +1 -1
- package/dist/{api-B6zteBya.d.ts → api-BIw5g_4V.d.ts} +1 -1
- package/dist/{app-tables-atP-tZKZ.d.ts → app-tables-oYkgtcRM.d.ts} +1 -1
- package/dist/astro/index.d.ts +3 -3
- package/dist/{attachments-M-Dy79Ry.js → attachments-BTIwCuwm.js} +4 -4
- package/dist/{authorization-IiE__z2m.d.ts → authorization-08F77H2w.d.ts} +3 -0
- package/dist/{automations-B5P6vTvk.js → automations-EzXteupo.js} +2 -1
- package/dist/{automations-BYsz43AG.js → automations-jIIaT9EJ.js} +3 -3
- package/dist/better-result/index.d.ts +2 -2
- package/dist/{bind-pu5TLrla.d.ts → bind-BwQGUqdQ.d.ts} +4 -4
- package/dist/{block-authors-BDV3y1SP.js → block-authors-D9hyCizs.js} +1 -1
- package/dist/{block-env-CA65ulTD.d.ts → block-env-Dh0Fe-fK.d.ts} +4 -4
- package/dist/{block-helpers-CtBdjgO4.js → block-helpers-DnCtsKtv.js} +2 -83
- package/dist/{block-hooks-BfxX3682.js → block-hooks-DbIpkq7a.js} +1 -1
- package/dist/{block-subjects-BhDKK_j7.js → block-subjects-BRJO0IqO.js} +1 -1
- package/dist/block-transport-PNea4lfQ.js +84 -0
- package/dist/blocks/access-requests/index.d.ts +1 -1
- package/dist/blocks/access-requests/index.js +3 -2
- package/dist/blocks/activities/index.d.ts +1 -1
- package/dist/blocks/activities/index.js +3 -2
- package/dist/blocks/agents/index.d.ts +1 -1
- package/dist/blocks/agents/index.js +3 -2
- package/dist/blocks/ai-cache/index.d.ts +1 -1
- package/dist/blocks/ai-cache/index.js +2 -2
- package/dist/blocks/ai-chat/index.d.ts +4 -4
- package/dist/blocks/ai-chat/index.js +3 -2
- package/dist/blocks/ai-files/index.d.ts +1 -1
- package/dist/blocks/ai-files/index.js +2 -2
- package/dist/blocks/ai-keys/index.d.ts +1 -1
- package/dist/blocks/ai-keys/index.js +3 -2
- package/dist/blocks/ai-schedules/index.d.ts +2 -2
- package/dist/blocks/ai-schedules/index.js +3 -2
- package/dist/blocks/announcements/index.d.ts +4 -4
- package/dist/blocks/announcements/index.js +3 -2
- package/dist/blocks/api-keys/index.d.ts +2 -2
- package/dist/blocks/api-keys/index.js +3 -2
- package/dist/blocks/approvals/index.d.ts +1 -1
- package/dist/blocks/approvals/index.js +4 -3
- package/dist/blocks/assets/index.d.ts +1 -1
- package/dist/blocks/assets/index.js +3 -2
- package/dist/blocks/assignment/index.d.ts +1 -1
- package/dist/blocks/assignment/index.js +4 -3
- package/dist/blocks/attachments/index.d.ts +2 -2
- package/dist/blocks/attachments/index.js +3 -2
- package/dist/blocks/audit/index.d.ts +5 -5
- package/dist/blocks/audit/index.js +5 -4
- package/dist/blocks/automations/index.d.ts +3 -3
- package/dist/blocks/automations/index.js +4 -4
- package/dist/blocks/billable-time/index.d.ts +1 -1
- package/dist/blocks/billable-time/index.js +4 -3
- package/dist/blocks/billing/index.d.ts +3 -3
- package/dist/blocks/billing/index.js +4 -3
- package/dist/blocks/bookings/index.d.ts +2 -2
- package/dist/blocks/bookings/index.js +3 -3
- package/dist/blocks/bulk/index.d.ts +1 -1
- package/dist/blocks/bulk/index.js +2 -2
- package/dist/blocks/calendar/index.d.ts +2 -2
- package/dist/blocks/calendar/index.js +2 -2
- package/dist/blocks/catalog/index.d.ts +1 -1
- package/dist/blocks/catalog/index.js +4 -3
- package/dist/blocks/channels/index.d.ts +1 -1
- package/dist/blocks/channels/index.js +3 -2
- package/dist/blocks/collections/index.d.ts +1 -1
- package/dist/blocks/collections/index.js +3 -2
- package/dist/blocks/comments/index.d.ts +5 -5
- package/dist/blocks/comments/index.js +6 -5
- package/dist/blocks/compliance/index.d.ts +1 -1
- package/dist/blocks/compliance/index.js +3 -2
- package/dist/blocks/connectors/index.d.ts +1 -1
- package/dist/blocks/connectors/index.js +3 -2
- package/dist/blocks/contacts/index.d.ts +1 -1
- package/dist/blocks/contacts/index.js +3 -2
- package/dist/blocks/content/index.d.ts +1 -1
- package/dist/blocks/content/index.js +3 -2
- package/dist/blocks/contracts/index.d.ts +1 -1
- package/dist/blocks/contracts/index.js +5 -4
- package/dist/blocks/courses/index.d.ts +1 -1
- package/dist/blocks/courses/index.js +3 -2
- package/dist/blocks/created-by/index.d.ts +1 -1
- package/dist/blocks/custom-fields/index.d.ts +1 -1
- package/dist/blocks/custom-fields/index.js +2 -2
- package/dist/blocks/data-lifecycle/index.d.ts +1 -1
- package/dist/blocks/data-lifecycle/index.js +3 -2
- package/dist/blocks/deals/index.d.ts +1 -1
- package/dist/blocks/deals/index.js +8 -7
- package/dist/blocks/dispatch/index.d.ts +1 -1
- package/dist/blocks/dispatch/index.js +4 -3
- package/dist/blocks/documents/index.d.ts +1 -1
- package/dist/blocks/documents/index.js +3 -2
- package/dist/blocks/domains/index.d.ts +1 -1
- package/dist/blocks/domains/index.js +4 -3
- package/dist/blocks/donations/index.d.ts +1 -1
- package/dist/blocks/donations/index.js +4 -3
- package/dist/blocks/drive/index.d.ts +1 -1
- package/dist/blocks/drive/index.js +4 -3
- package/dist/blocks/employees/index.d.ts +2 -2
- package/dist/blocks/employees/index.js +5 -4
- package/dist/blocks/enrichment/index.d.ts +1 -1
- package/dist/blocks/enrichment/index.js +3 -2
- package/dist/blocks/enrollments/index.d.ts +1 -1
- package/dist/blocks/enrollments/index.js +3 -2
- package/dist/blocks/entitlements/index.d.ts +3 -3
- package/dist/blocks/entitlements/index.js +2 -2
- package/dist/blocks/expenses/index.d.ts +1 -1
- package/dist/blocks/expenses/index.js +4 -3
- package/dist/blocks/field-history/index.d.ts +1 -1
- package/dist/blocks/field-history/index.js +3 -2
- package/dist/blocks/flags/index.d.ts +1 -1
- package/dist/blocks/flags/index.js +4 -3
- package/dist/blocks/forecasts/index.d.ts +1 -1
- package/dist/blocks/forecasts/index.js +6 -5
- package/dist/blocks/forms/index.d.ts +2 -2
- package/dist/blocks/forms/index.js +3 -2
- package/dist/blocks/goals/index.d.ts +1 -1
- package/dist/blocks/goals/index.js +4 -3
- package/dist/blocks/guests/index.d.ts +1 -1
- package/dist/blocks/guests/index.js +3 -2
- package/dist/blocks/hiring/index.d.ts +1 -1
- package/dist/blocks/hiring/index.js +4 -3
- package/dist/blocks/identities/index.d.ts +1 -1
- package/dist/blocks/identities/index.js +3 -2
- package/dist/blocks/imports/index.d.ts +1 -1
- package/dist/blocks/imports/index.js +2 -2
- package/dist/blocks/inbox/index.d.ts +5 -5
- package/dist/blocks/inbox/index.js +4 -3
- package/dist/blocks/incidents/index.d.ts +1 -1
- package/dist/blocks/incidents/index.js +3 -2
- package/dist/blocks/index.d.ts +2 -2
- package/dist/blocks/index.js +4 -4
- package/dist/blocks/inventory/index.d.ts +1 -1
- package/dist/blocks/inventory/index.js +3 -2
- package/dist/blocks/invoices/index.d.ts +2 -2
- package/dist/blocks/invoices/index.js +7 -6
- package/dist/blocks/knowledge/index.d.ts +1 -1
- package/dist/blocks/knowledge/index.js +2 -2
- package/dist/blocks/lead-scoring/index.d.ts +1 -1
- package/dist/blocks/lead-scoring/index.js +5 -4
- package/dist/blocks/leases/index.d.ts +1 -1
- package/dist/blocks/leases/index.js +4 -3
- package/dist/blocks/leave/index.d.ts +1 -1
- package/dist/blocks/leave/index.js +3 -2
- package/dist/blocks/ledger/index.d.ts +1 -1
- package/dist/blocks/ledger/index.js +3 -2
- package/dist/blocks/mail-sync/index.d.ts +1 -1
- package/dist/blocks/mail-sync/index.js +3 -2
- package/dist/blocks/memberships/index.d.ts +1 -1
- package/dist/blocks/memory/index.d.ts +1 -1
- package/dist/blocks/memory/index.js +4 -3
- package/dist/blocks/messaging/index.d.ts +5 -5
- package/dist/blocks/messaging/index.js +5 -4
- package/dist/blocks/metrics/index.d.ts +1 -1
- package/dist/blocks/metrics/index.js +3 -2
- package/dist/blocks/mfa/index.d.ts +2 -2
- package/dist/blocks/moderation/index.d.ts +1 -1
- package/dist/blocks/moderation/index.js +3 -2
- package/dist/blocks/notifications/index.d.ts +4 -4
- package/dist/blocks/notifications/index.js +4 -3
- package/dist/blocks/numbering/index.d.ts +1 -1
- package/dist/blocks/numbering/index.js +2 -2
- package/dist/blocks/oauth-server/index.d.ts +1 -1
- package/dist/blocks/oauth-server/index.js +3 -2
- package/dist/blocks/onboarding/index.d.ts +2 -2
- package/dist/blocks/onboarding/index.js +3 -2
- package/dist/blocks/orders/index.d.ts +2 -2
- package/dist/blocks/orders/index.js +5 -4
- package/dist/blocks/organizations/index.d.ts +3 -3
- package/dist/blocks/organizations/index.js +3 -2
- package/dist/blocks/outbox/index.d.ts +1 -1
- package/dist/blocks/outbox/index.js +3 -2
- package/dist/blocks/passes/index.d.ts +1 -1
- package/dist/blocks/passes/index.js +5 -4
- package/dist/blocks/permissions/index.d.ts +3 -3
- package/dist/blocks/permissions/index.js +3 -2
- package/dist/blocks/pipelines/index.d.ts +1 -1
- package/dist/blocks/pipelines/index.js +4 -3
- package/dist/blocks/posts/index.d.ts +1 -1
- package/dist/blocks/posts/index.js +3 -2
- package/dist/blocks/profiles/index.d.ts +1 -1
- package/dist/blocks/profiles/index.js +3 -2
- package/dist/blocks/promotions/index.d.ts +1 -1
- package/dist/blocks/promotions/index.js +4 -3
- package/dist/blocks/push/index.d.ts +2 -2
- package/dist/blocks/push/index.js +3 -2
- package/dist/blocks/queue/index.d.ts +1 -1
- package/dist/blocks/queue/index.js +4 -3
- package/dist/blocks/quotes/index.d.ts +2 -2
- package/dist/blocks/quotes/index.js +7 -6
- package/dist/blocks/rank/index.d.ts +1 -1
- package/dist/blocks/rank/index.js +2 -2
- package/dist/blocks/reactions/index.d.ts +4 -4
- package/dist/blocks/reactions/index.js +4 -3
- package/dist/blocks/relations/index.d.ts +1 -1
- package/dist/blocks/relations/index.js +4 -4
- package/dist/blocks/reminders/index.d.ts +1 -1
- package/dist/blocks/reminders/index.js +4 -4
- package/dist/blocks/reviews/index.d.ts +1 -1
- package/dist/blocks/reviews/index.js +3 -2
- package/dist/blocks/saved-views/index.d.ts +3 -3
- package/dist/blocks/saved-views/index.js +2 -2
- package/dist/blocks/scores/index.d.ts +1 -1
- package/dist/blocks/scores/index.js +3 -3
- package/dist/blocks/search/index.d.ts +3 -3
- package/dist/blocks/search/index.js +3 -2
- package/dist/blocks/security-events/index.d.ts +1 -1
- package/dist/blocks/security-events/index.js +3 -2
- package/dist/blocks/segments/index.d.ts +1 -1
- package/dist/blocks/segments/index.js +4 -3
- package/dist/blocks/sequences/index.d.ts +1 -1
- package/dist/blocks/sequences/index.js +3 -2
- package/dist/blocks/service-accounts/index.d.ts +1 -1
- package/dist/blocks/service-accounts/index.js +3 -2
- package/dist/blocks/sessions/index.d.ts +2 -2
- package/dist/blocks/sessions/index.js +1 -1
- package/dist/blocks/settings/index.d.ts +2 -2
- package/dist/blocks/settings/index.js +3 -2
- package/dist/blocks/share-links/index.d.ts +1 -1
- package/dist/blocks/share-links/index.js +3 -3
- package/dist/blocks/shipments/index.d.ts +1 -1
- package/dist/blocks/shipments/index.js +5 -4
- package/dist/blocks/signatures/index.d.ts +1 -1
- package/dist/blocks/signatures/index.js +3 -2
- package/dist/blocks/signing-keys/index.d.ts +1 -1
- package/dist/blocks/signing-keys/index.js +2 -2
- package/dist/blocks/sla/index.d.ts +1 -1
- package/dist/blocks/sla/index.js +5 -4
- package/dist/blocks/sso/index.d.ts +1 -1
- package/dist/blocks/sso/index.js +3 -2
- package/dist/blocks/state-machine/index.d.ts +1 -1
- package/dist/blocks/state-machine/index.js +3 -3
- package/dist/blocks/subjects/index.d.ts +2 -2
- package/dist/blocks/subjects/index.js +4 -3
- package/dist/blocks/tags/index.d.ts +2 -2
- package/dist/blocks/tags/index.js +2 -2
- package/dist/blocks/tasks/index.d.ts +2 -2
- package/dist/blocks/tasks/index.js +3 -2
- package/dist/blocks/teams/index.d.ts +1 -1
- package/dist/blocks/teams/index.js +2 -2
- package/dist/blocks/templates/index.d.ts +1 -1
- package/dist/blocks/templates/index.js +3 -2
- package/dist/blocks/time-tracking/index.d.ts +1 -1
- package/dist/blocks/time-tracking/index.js +5 -4
- package/dist/blocks/timeline/index.d.ts +3 -3
- package/dist/blocks/timeline/index.js +4 -3
- package/dist/blocks/trash/index.d.ts +1 -1
- package/dist/blocks/trash/index.js +3 -2
- package/dist/blocks/undo/index.d.ts +2 -2
- package/dist/blocks/undo/index.js +2 -2
- package/dist/blocks/updated-at/index.d.ts +1 -1
- package/dist/blocks/usage/index.d.ts +2 -2
- package/dist/blocks/usage/index.js +3 -2
- package/dist/blocks/vercel-marketplace/index.d.ts +1 -1
- package/dist/blocks/vercel-marketplace/index.js +3 -2
- package/dist/blocks/versions/index.d.ts +1 -1
- package/dist/blocks/versions/index.js +4 -3
- package/dist/blocks/waitlist/index.d.ts +1 -1
- package/dist/blocks/waitlist/index.js +3 -2
- package/dist/blocks/webhooks/index.d.ts +2 -2
- package/dist/blocks/webhooks/index.js +5 -4
- package/dist/blocks/workflow-editor/index.d.ts +4 -4
- package/dist/blocks/workflow-editor/index.js +3 -2
- package/dist/blocks/workflows/index.d.ts +4 -4
- package/dist/blocks/workflows/index.js +3 -2
- package/dist/{build-QitPVzzO.js → build-D9lWi5bk.js} +1 -1
- package/dist/chat-sdk/index.js +2 -1
- package/dist/cli/{add-Ccca1h3C.js → add-CH7dC6UR.js} +2 -2
- package/dist/cli/{add-Elh2S4Z8.js → add-CtLjnwds.js} +11 -11
- package/dist/cli/add-DyCrVejx.js +1 -0
- package/dist/cli/{backfill-kq6M-ksU.js → backfill-DBJIMzcy.js} +3 -3
- package/dist/cli/bin.js +1 -1
- package/dist/cli/{blocks-vl6ydiEz.js → blocks-CS58-xnw.js} +1 -1
- package/dist/cli/{blocks-CSOK4qqe.js → blocks-i1w0EEvs.js} +1 -1
- package/dist/cli/{cache-DPRc-BzP.js → cache-Cn3crN0v.js} +1 -1
- package/dist/cli/{codemod-CoaS9hJu.js → codemod-D6wifOAH.js} +1 -1
- package/dist/cli/{config-BJSqMi04.js → config-BH0goim0.js} +3 -2
- package/dist/cli/{config-BlfVh0IP.js → config-CTRzkX0H.js} +1 -1
- package/dist/cli/{content-mapper-DM2jgKpn.js → content-mapper-Q9We297z.js} +2 -2
- package/dist/cli/{db-DYU5hUcd.js → db-DCeyHS1y.js} +2 -2
- package/dist/cli/{doctor-CU08NDWh.js → doctor-DmfdE5Ct.js} +16 -16
- package/dist/cli/{gen-DNwJl35g.js → gen-D68A0uN8.js} +14 -14
- package/dist/cli/index.d.ts +1 -1
- package/dist/cli/index.js +7 -7
- package/dist/cli/{init-B_CsBYPR.js → init-N7pkBbJn.js} +6 -6
- package/dist/cli/{live-TQN9GSV4.js → live-0xAAlTK_.js} +2 -2
- package/dist/cli/{mcp-BfC4giv7.js → mcp-CbN3ulRF.js} +2 -2
- package/dist/cli/{metadata-DlISbZDp.js → metadata-417ldpf4.js} +3 -3
- package/dist/cli/{migration-safety-C8mh2xlK.js → migration-safety-BC_UI4jC.js} +2 -2
- package/dist/cli/{migrations-D-0Sd9tO.js → migrations-DdBKwrvG.js} +1 -1
- package/dist/cli/{module-migration-Cl8hBBqw.js → module-migration-DdxPdqMC.js} +2 -2
- package/dist/cli/{powersync-CBCanSnb.js → powersync-CJTEz-uY.js} +2 -2
- package/dist/cli/powersync-CYQ4Ljcz.js +1 -0
- package/dist/cli/{print-DImaK12W.js → print-DyFm91R-.js} +2 -2
- package/dist/cli/{remove-DeOze3-k.js → remove-CPY0xsVm.js} +5 -5
- package/dist/cli/{render-GFy-2cii.js → render-DE3O1OFq.js} +28 -5
- package/dist/cli/{run-D4XWCMl2.js → run-CcrNGX9C.js} +25 -25
- package/dist/cli/{run-DNpUCD8d.js → run-WtIEFGvP.js} +8 -8
- package/dist/cli/seed-CXJvTU5D.js +1 -0
- package/dist/cli/{seed-D9mt8bnW.js → seed-CdSxunFT.js} +2 -2
- package/dist/cli/{shared-DM_FKwqk.js → shared-SlukBuKn.js} +1 -1
- package/dist/cli/{snapshot-BnZCeU7E.js → snapshot-pyIsJjUV.js} +3 -3
- package/dist/cli/{source-DZonA0x5.js → source-Bclt9D0Y.js} +1 -1
- package/dist/cli/{source-args-DlckPVje.js → source-args-z-jkabmO.js} +1 -1
- package/dist/cli/{spec-U6hCGGu_.js → spec-BsdLx7tZ.js} +1 -1
- package/dist/cli/{spec-DCO8EEnf.js → spec-D7zsEVj_.js} +2 -2
- package/dist/cli/{sql-layout-VnkvENWw.js → sql-layout-C6baAM5t.js} +2 -2
- package/dist/cli/{sync-D-YWMzZI.js → sync-Cse8VXAU.js} +3 -3
- package/dist/cli/{upgrade-DKZ3QOEJ.js → upgrade-28ENjIJU.js} +2 -2
- package/dist/cli/{upgrade-BGcDzVSu.js → upgrade-Cwc1RiAE.js} +4 -4
- package/dist/cli/{version-BatoE1Gj.js → version-yWIaLG04.js} +1 -1
- package/dist/client/index.d.ts +5 -5
- package/dist/client/native/index.d.ts +4 -4
- package/dist/{codecs-TylXqU_I.js → codecs-BfmQSbM6.js} +2 -2
- package/dist/{composite-C-8A8qzi.d.ts → composite-DbRuu6Jb.d.ts} +3 -3
- package/dist/config/index.d.ts +2 -2
- package/dist/config/index.js +1 -1
- package/dist/{config-mbVyJwSc.js → config-D74JT0qL.js} +2 -1
- package/dist/{context-Cj-9gE6l.d.ts → context-CjHXhCck.d.ts} +6 -3
- package/dist/{controller-BR7CZ1R9.d.ts → controller-BeqcjERs.d.ts} +1 -1
- package/dist/{conversion-BgtOfTaS.d.ts → conversion-BqDvi8ty.d.ts} +1 -1
- package/dist/create/index.d.ts +2 -2
- package/dist/create/index.js +2 -2
- package/dist/{create-blocks-Bu4H5TXw.js → create-blocks-0pWKQ6x4.js} +20 -6
- package/dist/credentials/index.js +2 -1
- package/dist/{deal-forecast-Bv52QMyX.js → deal-forecast-DikouYGj.js} +2 -2
- package/dist/{define-Cgru0_kF.d.ts → define-BqaUwrIC.d.ts} +4 -2
- package/dist/{define-DlUeKHce.js → define-Djgn3HQQ.js} +81 -5
- package/dist/{define-block-CJWiDWa5.d.ts → define-block-CRwHsxZO.d.ts} +20 -6
- package/dist/edge/index.d.ts +5 -5
- package/dist/{entitlements-NZAE_vLj.js → entitlements-DBir2qwB.js} +2 -2
- package/dist/{entitlements-DHcNt1aF.d.ts → entitlements-mDz7GfA_.d.ts} +1 -1
- package/dist/{executor-BWFfz0ik.d.ts → executor-_O-CqCPl.d.ts} +2 -2
- package/dist/expo/index.d.ts +2 -2
- package/dist/{field-errors-DkAemDoc.d.ts → field-errors-Cfvcg-C3.d.ts} +6 -6
- package/dist/{fields-B0zaJAO3.js → fields--5a88KJe.js} +3 -2
- package/dist/{flags-BOdA_ETQ.js → flags-ClOQY-p5.js} +1 -1
- package/dist/flags-sdk/index.js +2 -2
- package/dist/{framework-x9Y4uB1q.d.ts → framework-B-1Ka0GW.d.ts} +3 -3
- package/dist/hono/index.d.ts +4 -4
- package/dist/{index-DTbJAsrT.d.ts → index-BdzfjFnd.d.ts} +9 -9
- package/dist/{index-DmbCyl6Z.d.ts → index-BzW1T3oI.d.ts} +3 -3
- package/dist/{index-DZylLz7h.d.ts → index-CYzckGOz.d.ts} +3 -3
- package/dist/{index-DVYEoVMK.d.ts → index-CjnDGAJr.d.ts} +1 -1
- package/dist/{index-C6ruLtyx.d.ts → index-DfgP-9eC.d.ts} +3 -3
- package/dist/{index-C0t-vNIt.d.ts → index-EieRHooI.d.ts} +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/instance-property-hRh88y_s.js +7 -0
- package/dist/{knowledge-BGbtxMP9.js → knowledge-CV6OSirC.js} +2 -2
- package/dist/list/index.d.ts +1 -1
- package/dist/{list-query-DxjuIHEL.d.ts → list-query-6vTI1VN6.d.ts} +1 -1
- package/dist/mapper/bin.js +6 -6
- package/dist/mcp/index.d.ts +4 -4
- package/dist/mcp/sdk/index.d.ts +2 -2
- package/dist/{money-codec-BzddguAQ.js → money-codec-uV5WbT60.js} +1 -1
- package/dist/next/index.d.ts +14 -14
- package/dist/next/index.js +4 -3
- package/dist/{operations-CAjMgNr9.d.ts → operations-DbNAgo7E.d.ts} +1 -1
- package/dist/{options-lsxJYfYx.js → options-BOqfYsM1.js} +2 -1
- package/dist/{options-Bc4xz5jQ.js → options-DZen3UiC.js} +2 -1
- package/dist/orpc/index.d.ts +4 -4
- package/dist/orpc/index.js +1 -1
- package/dist/otel/index.js +4 -4
- package/dist/{ports-g0H1Kzwr.d.ts → ports-DO3tgLTo.d.ts} +1 -1
- package/dist/powersync/index.d.ts +3 -3
- package/dist/preset/index.d.ts +3 -3
- package/dist/{push-token-Cl2EihRc.d.ts → push-token-IFGi8jvd.d.ts} +1 -1
- package/dist/query/index.d.ts +1 -1
- package/dist/{rate-limit-Dt9vAY4E.js → rate-limit-BPuUWz4U.js} +3 -2
- package/dist/react/index.d.ts +5 -5
- package/dist/react/index.js +1 -1
- package/dist/react/native/index.d.ts +1 -1
- package/dist/react/server.d.ts +6 -6
- package/dist/react/server.js +1 -1
- package/dist/{react-zBTxLsV6.js → react-D-p70_wL.js} +2 -2
- package/dist/react-router/index.d.ts +3 -3
- package/dist/realtime/index.d.ts +3 -3
- package/dist/realtime/index.js +2 -2
- package/dist/{record-form-zMwz0Ayt.d.ts → record-form-yMVvkPiQ.d.ts} +1 -1
- package/dist/records/index.d.ts +7 -7
- package/dist/{resource-execute-CKBtGL8-.d.ts → resource-execute-LR71zWej.d.ts} +1 -1
- package/dist/{resource-types-8Q5Klkpa.d.ts → resource-types-eXuFxVt7.d.ts} +1 -1
- package/dist/{resources-DxpqenZA.d.ts → resources-Dpz3h8Fe.d.ts} +1 -1
- package/dist/{rows-Bm6sskji.js → rows-Bh9QemqN.js} +1 -1
- package/dist/{rows-BDLZStp4.js → rows-EGAbu7MG.js} +2 -2
- package/dist/{sales-lines-D-sf9PIB.js → sales-lines-CP4Z_LyE.js} +6 -4
- package/dist/{sales-lines-Bk4mbLH1.d.ts → sales-lines-KxxStRzU.d.ts} +1 -0
- package/dist/{sales-shared-DXGFJP4g.js → sales-shared-BKXXA5qV.js} +1 -1
- package/dist/{schemas-l2aF78zQ.js → schemas-BSTNfGsQ.js} +1 -1
- package/dist/{scores-CRp3vvQU.js → scores-CsgM-dw7.js} +2 -2
- package/dist/server/index.d.ts +7 -7
- package/dist/server/index.js +2 -2
- package/dist/{server-types-gR4Q1aM0.d.ts → server-types-BTBzrzOH.d.ts} +1 -1
- package/dist/{session-Fcft5A39.d.ts → session-BgYGk_FS.d.ts} +1 -1
- package/dist/{signing-keys-wGKh4vtt.js → signing-keys-DqI-gB_C.js} +2 -2
- package/dist/solid/index.d.ts +6 -6
- package/dist/solid-start/index.d.ts +3 -3
- package/dist/spec/index.d.ts +1 -1
- package/dist/spec/index.js +1 -1
- package/dist/sql/index.d.ts +4 -4
- package/dist/sql/index.js +1 -1
- package/dist/{sql-B8usqPPx.js → sql-B0wb7XA5.js} +107 -64
- package/dist/sqlite/index.d.ts +1 -1
- package/dist/{sso-d2S4x_f9.js → sso-Co2TbnEy.js} +2 -2
- package/dist/ssr/index.d.ts +1 -1
- package/dist/storage/index.js +2 -7
- package/dist/storage-api-Dg78Wqsg.js +10 -0
- package/dist/streams/index.js +2 -1
- package/dist/{subject-readers-B-pQ9Mmo.js → subject-readers-F1xvRY-d.js} +1 -1
- package/dist/subject-type-BRnK7Av3.js +8 -0
- package/dist/svelte/index.d.ts +6 -6
- package/dist/sveltekit/index.d.ts +4 -4
- package/dist/{tags-sM-CH9Mn.d.ts → tags-CXeJu332.d.ts} +1 -1
- package/dist/tanstack-db/index.d.ts +1 -1
- package/dist/tanstack-start/index.d.ts +3 -3
- package/dist/{tenant-DyoVYFfC.d.ts → tenant-DzymQ9sv.d.ts} +1 -1
- package/dist/testing/index.d.ts +7 -7
- package/dist/testing/index.js +5 -5
- package/dist/{timeline-CMmo0R7g.d.ts → timeline-BMVOKokJ.d.ts} +3 -3
- package/dist/{topic-nQYxoTaU.d.ts → topic-0uK4db_2.d.ts} +2 -2
- package/dist/{undo-BjCChCmH.js → undo-B3FQvuAd.js} +2 -2
- package/dist/{verify-DEqY__0N.d.ts → verify-DexkIx4t.d.ts} +1 -1
- package/dist/vue/index.d.ts +6 -6
- package/dist/{watch-topic-UGSEWAqR.d.ts → watch-topic-CG3kOX-D.d.ts} +1 -1
- package/dist/workflow-sdk/world/index.js +1 -1
- package/dist/yjs/index.d.ts +1 -1
- package/dist/yjs/index.js +1 -1
- package/package.json +1 -1
- package/schemas/config-v1.json +22 -1
- package/dist/cli/add-BKybJ2e1.js +0 -1
- package/dist/cli/powersync-BEWwRqNy.js +0 -1
- package/dist/cli/seed-EPO6AvLG.js +0 -1
- package/dist/db-blocks-DJGbjIPz.js +0 -62
- package/dist/{sign-in-BLkRU3lc.js → sign-in-BTaRWS-L.js} +1 -1
- package/dist/{topic-J9I3yu6f.js → topic-DXbA-jwr.js} +1 -1
|
@@ -4,7 +4,7 @@ import { n as Logger } from "../../logger-DWVYUmwi.js";
|
|
|
4
4
|
import { r as BlockTemporalOptions } from "../../block-helpers-CRpAHrp_.js";
|
|
5
5
|
import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
|
|
6
6
|
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-DZN2w69m.js";
|
|
7
|
-
import { c as BlockOf } from "../../define-block-
|
|
7
|
+
import { c as BlockOf } from "../../define-block-CRwHsxZO.js";
|
|
8
8
|
//#region src/blocks/field-history/field-history.d.ts
|
|
9
9
|
/** One column's change on one record. */
|
|
10
10
|
interface FieldChange {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { i as sqlTransport, r as rpcTransport, t as dbTransport } from "../../block-transport-PNea4lfQ.js";
|
|
2
|
+
import { A as requiredInstant, C as optionalText, I as textOf, k as recordsOf, n as applyTemporal, o as blockCall } from "../../block-helpers-DnCtsKtv.js";
|
|
3
|
+
import { i as wrapTransport, n as extendBlock, r as withBlockHooks } from "../../block-hooks-DbIpkq7a.js";
|
|
3
4
|
import { n as defineBlock } from "../../define-block-BGqOO8B3.js";
|
|
4
5
|
//#region src/blocks/field-history/field-history.ts
|
|
5
6
|
function changeOf(row) {
|
|
@@ -5,7 +5,7 @@ import { Ct as Events, z as FlagEventData } from "../../events-vcqenSYU.js";
|
|
|
5
5
|
import { n as Logger } from "../../logger-DWVYUmwi.js";
|
|
6
6
|
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
|
|
7
7
|
import { n as BlockHooks } from "../../block-hooks-DZN2w69m.js";
|
|
8
|
-
import { c as BlockOf } from "../../define-block-
|
|
8
|
+
import { c as BlockOf } from "../../define-block-CRwHsxZO.js";
|
|
9
9
|
import { C as flagDefinitionsOf, S as flagContext, _ as RequestFlagContext, a as FlagDefinition, b as evaluateFlag, c as FlagEvaluation, d as FlagResolution, f as FlagRule, g as FlagsProviderOptions, h as FlagsProvider, i as FlagContextSource, l as FlagOverride, m as FlagValue, n as FlagContext, o as FlagDetails, p as FlagType, r as FlagContextOptions, s as FlagErrorCode, t as FlagClient, u as FlagReason, v as createFlagClient, x as flagBucket, y as createFlagsProvider } from "../../flags-C01PLMJ-.js";
|
|
10
10
|
//#region src/blocks/flags/admin.d.ts
|
|
11
11
|
interface FlagsOptions<S extends StandardSchemaV1 | undefined = undefined> {
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { a as ok, t as AsyncResult } from "../../result-ntFBW2p2.js";
|
|
2
|
+
import { i as sqlTransport, r as rpcTransport, t as dbTransport } from "../../block-transport-PNea4lfQ.js";
|
|
2
3
|
import { t as flagsSqlOptions } from "../../options-DRrZmJyI.js";
|
|
3
|
-
import {
|
|
4
|
-
import { r as withBlockHooks } from "../../block-hooks-
|
|
4
|
+
import { o as blockCall } from "../../block-helpers-DnCtsKtv.js";
|
|
5
|
+
import { r as withBlockHooks } from "../../block-hooks-DbIpkq7a.js";
|
|
5
6
|
import { n as event, t as defineEvents } from "../../event-map-CtPFhcOp.js";
|
|
6
7
|
import { n as blockFields } from "../../block-fields-DE_FgpOU.js";
|
|
7
8
|
import { n as defineBlock } from "../../define-block-BGqOO8B3.js";
|
|
8
|
-
import { a as flagContext, i as flagBucket, n as createFlagsProvider, o as flagDefinitionsOf, r as evaluateFlag, t as createFlagClient } from "../../flags-
|
|
9
|
+
import { a as flagContext, i as flagBucket, n as createFlagsProvider, o as flagDefinitionsOf, r as evaluateFlag, t as createFlagClient } from "../../flags-ClOQY-p5.js";
|
|
9
10
|
//#region src/blocks/flags/admin.ts
|
|
10
11
|
const rowOf = (input, fields) => {
|
|
11
12
|
const row = {};
|
|
@@ -6,7 +6,7 @@ import { n as Logger } from "../../logger-DWVYUmwi.js";
|
|
|
6
6
|
import { r as BlockTemporalOptions } from "../../block-helpers-CRpAHrp_.js";
|
|
7
7
|
import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
|
|
8
8
|
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-DZN2w69m.js";
|
|
9
|
-
import { c as BlockOf } from "../../define-block-
|
|
9
|
+
import { c as BlockOf } from "../../define-block-CRwHsxZO.js";
|
|
10
10
|
import { n as Money } from "../../money-BNRdJQzA.js";
|
|
11
11
|
import { t as DealForecast } from "../../deal-forecast-LwO-Z4_C.js";
|
|
12
12
|
//#region src/blocks/forecasts/forecasts.d.ts
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { t as AsyncResult } from "../../result-ntFBW2p2.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { i as sqlTransport, r as rpcTransport, t as dbTransport } from "../../block-transport-PNea4lfQ.js";
|
|
3
|
+
import { A as requiredInstant, C as optionalText, D as recordOf, I as textOf, S as optionalInstant, k as recordsOf, n as applyTemporal, o as blockCall } from "../../block-helpers-DnCtsKtv.js";
|
|
4
|
+
import { i as wrapTransport, n as extendBlock, r as withBlockHooks } from "../../block-hooks-DbIpkq7a.js";
|
|
4
5
|
import { n as event, t as defineEvents } from "../../event-map-CtPFhcOp.js";
|
|
5
6
|
import { n as defineBlock } from "../../define-block-BGqOO8B3.js";
|
|
6
|
-
import { a as optionalAmountText, i as moneyOf, n as amountsError, o as optionalMoneyOf } from "../../money-codec-
|
|
7
|
-
import { t as forecastOf } from "../../deal-forecast-
|
|
8
|
-
import { r as plainDate } from "../../sales-shared-
|
|
7
|
+
import { a as optionalAmountText, i as moneyOf, n as amountsError, o as optionalMoneyOf } from "../../money-codec-uV5WbT60.js";
|
|
8
|
+
import { t as forecastOf } from "../../deal-forecast-DikouYGj.js";
|
|
9
|
+
import { r as plainDate } from "../../sales-shared-BKXXA5qV.js";
|
|
9
10
|
//#region src/blocks/forecasts/forecasts.ts
|
|
10
11
|
function requiredDate(value, field) {
|
|
11
12
|
const date = plainDate(value);
|
|
@@ -7,8 +7,8 @@ import { n as Logger } from "../../logger-DWVYUmwi.js";
|
|
|
7
7
|
import { r as BlockTemporalOptions } from "../../block-helpers-CRpAHrp_.js";
|
|
8
8
|
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
|
|
9
9
|
import { n as BlockHooks } from "../../block-hooks-DZN2w69m.js";
|
|
10
|
-
import { c as BlockOf } from "../../define-block-
|
|
11
|
-
import { n as Controller } from "../../controller-
|
|
10
|
+
import { c as BlockOf } from "../../define-block-CRwHsxZO.js";
|
|
11
|
+
import { n as Controller } from "../../controller-BeqcjERs.js";
|
|
12
12
|
import { _ as isFormDefinition, a as FormDefinition, c as FormJson, d as FormScoring, f as FormStep, g as formSchema, h as formDefinitionProblems, i as FormCondition, l as FormJsonSchema, m as UNSCORED_FIELD_TYPES, n as FORM_FIELD_TYPES, o as FormField, p as NPS_MAX, r as FORM_SCHEMA_DIALECT, s as FormFieldType, t as FORM_DEFINITION_SCHEMA, u as FormOption } from "../../form-definition-BjEtH8BT.js";
|
|
13
13
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
14
14
|
//#region src/blocks/forms/validate.d.ts
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { n as isRecord } from "../../guards-6F2bCtQR.js";
|
|
2
2
|
import { a as ok, t as AsyncResult } from "../../result-ntFBW2p2.js";
|
|
3
|
+
import { i as sqlTransport, r as rpcTransport, t as dbTransport } from "../../block-transport-PNea4lfQ.js";
|
|
3
4
|
import { t as formsSqlOptions } from "../../options-DdpM-fiP.js";
|
|
4
5
|
import { a as NPS_MAX, c as formSchema, i as FORM_SCHEMA_DIALECT, l as isFormDefinition, n as FORM_FIELD_TYPES, o as UNSCORED_FIELD_TYPES, s as formDefinitionProblems, t as FORM_DEFINITION_SCHEMA } from "../../form-definition-BTpM_tz1.js";
|
|
5
6
|
import { t as defineController } from "../../controller-BEliOBOv.js";
|
|
6
|
-
import { A as requiredInstant,
|
|
7
|
-
import { r as withBlockHooks } from "../../block-hooks-
|
|
7
|
+
import { A as requiredInstant, C as optionalText, D as recordOf, I as textOf, O as recordOrEmpty, S as optionalInstant, d as enumOrThrow, k as recordsOf, m as instantArg, n as applyTemporal, o as blockCall } from "../../block-helpers-DnCtsKtv.js";
|
|
8
|
+
import { r as withBlockHooks } from "../../block-hooks-DbIpkq7a.js";
|
|
8
9
|
import { n as event, t as defineEvents } from "../../event-map-CtPFhcOp.js";
|
|
9
10
|
import { n as blockFields } from "../../block-fields-DE_FgpOU.js";
|
|
10
11
|
import { n as defineBlock } from "../../define-block-BGqOO8B3.js";
|
|
@@ -6,7 +6,7 @@ import { n as Logger } from "../../logger-DWVYUmwi.js";
|
|
|
6
6
|
import { n as BlockOptions } from "../../block-helpers-CRpAHrp_.js";
|
|
7
7
|
import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
|
|
8
8
|
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-DZN2w69m.js";
|
|
9
|
-
import { c as BlockOf } from "../../define-block-
|
|
9
|
+
import { c as BlockOf } from "../../define-block-CRwHsxZO.js";
|
|
10
10
|
//#region src/blocks/goals/goals.d.ts
|
|
11
11
|
/**
|
|
12
12
|
* A metric the database computes, or any other name the app keeps the actual
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { n as isRecord } from "../../guards-6F2bCtQR.js";
|
|
2
|
+
import { i as sqlTransport, r as rpcTransport, t as dbTransport } from "../../block-transport-PNea4lfQ.js";
|
|
2
3
|
import { t as goalsSqlOptions } from "../../options-BHU1wc74.js";
|
|
3
|
-
import {
|
|
4
|
-
import { i as wrapTransport, n as extendBlock, r as withBlockHooks } from "../../block-hooks-
|
|
4
|
+
import { C as optionalText, D as recordOf, I as textOf, a as bigintOf, k as recordsOf, n as applyTemporal, o as blockCall } from "../../block-helpers-DnCtsKtv.js";
|
|
5
|
+
import { i as wrapTransport, n as extendBlock, r as withBlockHooks } from "../../block-hooks-DbIpkq7a.js";
|
|
5
6
|
import { n as blockFields } from "../../block-fields-DE_FgpOU.js";
|
|
6
7
|
import { n as defineBlock } from "../../define-block-BGqOO8B3.js";
|
|
7
|
-
import { n as compact, r as plainDate, t as attrsArg } from "../../sales-shared-
|
|
8
|
+
import { n as compact, r as plainDate, t as attrsArg } from "../../sales-shared-BKXXA5qV.js";
|
|
8
9
|
//#region src/blocks/goals/goals.ts
|
|
9
10
|
function targetOf(value) {
|
|
10
11
|
const row = recordOf(value, "target");
|
|
@@ -6,7 +6,7 @@ import { n as Logger } from "../../logger-DWVYUmwi.js";
|
|
|
6
6
|
import { a as BlockTenantOptions, r as BlockTemporalOptions } from "../../block-helpers-CRpAHrp_.js";
|
|
7
7
|
import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
|
|
8
8
|
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-DZN2w69m.js";
|
|
9
|
-
import { Sn as EntitySchema, c as BlockOf, ln as RecordBindingWrite, mn as RecordRowInput, rn as RecordBinding } from "../../define-block-
|
|
9
|
+
import { Sn as EntitySchema, c as BlockOf, ln as RecordBindingWrite, mn as RecordRowInput, rn as RecordBinding } from "../../define-block-CRwHsxZO.js";
|
|
10
10
|
import { t as GuestAction } from "../../guest-actions-1T1DeS5Y.js";
|
|
11
11
|
//#region src/blocks/guests/guests.d.ts
|
|
12
12
|
interface GuestsOptions extends BlockTemporalOptions, BlockTenantOptions {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { i as sqlTransport, r as rpcTransport, t as dbTransport } from "../../block-transport-PNea4lfQ.js";
|
|
1
2
|
import { t as GUEST_ACTIONS } from "../../guest-actions-B7zdhfnh.js";
|
|
2
|
-
import { A as requiredInstant,
|
|
3
|
-
import { i as wrapTransport, n as extendBlock, r as withBlockHooks } from "../../block-hooks-
|
|
3
|
+
import { A as requiredInstant, C as optionalText, D as recordOf, F as stringsOf, I as textOf, S as optionalInstant, d as enumOrThrow, k as recordsOf, m as instantArg, n as applyTemporal, o as blockCall } from "../../block-helpers-DnCtsKtv.js";
|
|
4
|
+
import { i as wrapTransport, n as extendBlock, r as withBlockHooks } from "../../block-hooks-DbIpkq7a.js";
|
|
4
5
|
import { n as entitySchema } from "../../entity-schema-BDv6w-OQ.js";
|
|
5
6
|
import { i as recordRowInput, t as defineRecordBinding } from "../../record-bindings-DkBJpC5A.js";
|
|
6
7
|
import { n as event, t as defineEvents } from "../../event-map-CtPFhcOp.js";
|
|
@@ -8,7 +8,7 @@ import { n as Logger } from "../../logger-DWVYUmwi.js";
|
|
|
8
8
|
import { r as BlockTemporalOptions } from "../../block-helpers-CRpAHrp_.js";
|
|
9
9
|
import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
|
|
10
10
|
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-DZN2w69m.js";
|
|
11
|
-
import { Zt as DefaultAutomation, c as BlockOf } from "../../define-block-
|
|
11
|
+
import { Zt as DefaultAutomation, c as BlockOf } from "../../define-block-CRwHsxZO.js";
|
|
12
12
|
//#region src/blocks/hiring/hiring.d.ts
|
|
13
13
|
type JobStatus = "draft" | "open" | "closed";
|
|
14
14
|
type ApplicationState = "active" | "hired" | "rejected" | "withdrawn";
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { n as isRecord } from "../../guards-6F2bCtQR.js";
|
|
2
2
|
import { t as AsyncResult } from "../../result-ntFBW2p2.js";
|
|
3
|
+
import { i as sqlTransport, r as rpcTransport, t as dbTransport } from "../../block-transport-PNea4lfQ.js";
|
|
3
4
|
import { n as HIRING_AUTOMATIONS, r as hiringSqlOptions, t as APPLICATION_TO_EMPLOYEE } from "../../automations-FCnWy387.js";
|
|
4
|
-
import { A as requiredInstant,
|
|
5
|
-
import { i as wrapTransport, n as extendBlock, r as withBlockHooks } from "../../block-hooks-
|
|
5
|
+
import { A as requiredInstant, C as optionalText, D as recordOf, I as textOf, S as optionalInstant, d as enumOrThrow, k as recordsOf, m as instantArg, n as applyTemporal, o as blockCall } from "../../block-helpers-DnCtsKtv.js";
|
|
6
|
+
import { i as wrapTransport, n as extendBlock, r as withBlockHooks } from "../../block-hooks-DbIpkq7a.js";
|
|
6
7
|
import { n as event, t as defineEvents } from "../../event-map-CtPFhcOp.js";
|
|
7
8
|
import { n as blockFields } from "../../block-fields-DE_FgpOU.js";
|
|
8
9
|
import { n as defineBlock } from "../../define-block-BGqOO8B3.js";
|
|
9
|
-
import { i as refOf, n as compact } from "../../sales-shared-
|
|
10
|
+
import { i as refOf, n as compact } from "../../sales-shared-BKXXA5qV.js";
|
|
10
11
|
//#region src/blocks/hiring/hiring.ts
|
|
11
12
|
const JOB_STATUSES = [
|
|
12
13
|
"draft",
|
|
@@ -4,7 +4,7 @@ import { n as Logger } from "../../logger-DWVYUmwi.js";
|
|
|
4
4
|
import { r as BlockTemporalOptions } from "../../block-helpers-CRpAHrp_.js";
|
|
5
5
|
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
|
|
6
6
|
import { n as BlockHooks } from "../../block-hooks-DZN2w69m.js";
|
|
7
|
-
import { c as BlockOf } from "../../define-block-
|
|
7
|
+
import { c as BlockOf } from "../../define-block-CRwHsxZO.js";
|
|
8
8
|
import { d as IdentityRef, f as IdentityTarget, p as PrincipalByIdentity } from "../../authorization-hooks-D_pwXlBs.js";
|
|
9
9
|
//#region src/blocks/identities/identities.d.ts
|
|
10
10
|
interface IdentitiesOptions extends BlockTemporalOptions {
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { n as isRecord } from "../../guards-6F2bCtQR.js";
|
|
2
|
+
import { i as sqlTransport, r as rpcTransport, t as dbTransport } from "../../block-transport-PNea4lfQ.js";
|
|
2
3
|
import { t as identitiesSqlOptions } from "../../options-DcnBNYmV.js";
|
|
3
|
-
import { A as requiredInstant,
|
|
4
|
-
import { r as withBlockHooks } from "../../block-hooks-
|
|
4
|
+
import { A as requiredInstant, D as recordOf, I as textOf, d as enumOrThrow, k as recordsOf, n as applyTemporal, o as blockCall, y as nullableText } from "../../block-helpers-DnCtsKtv.js";
|
|
5
|
+
import { r as withBlockHooks } from "../../block-hooks-DbIpkq7a.js";
|
|
5
6
|
import { n as defineBlock } from "../../define-block-BGqOO8B3.js";
|
|
6
7
|
//#region src/blocks/identities/identities.ts
|
|
7
8
|
const KINDS = ["email", "chat"];
|
|
@@ -4,7 +4,7 @@ import { $ as SaasEventData, Ct as Events } from "../../events-vcqenSYU.js";
|
|
|
4
4
|
import { n as Logger } from "../../logger-DWVYUmwi.js";
|
|
5
5
|
import { t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
|
|
6
6
|
import { n as BlockHooks } from "../../block-hooks-DZN2w69m.js";
|
|
7
|
-
import { c as BlockOf } from "../../define-block-
|
|
7
|
+
import { c as BlockOf } from "../../define-block-CRwHsxZO.js";
|
|
8
8
|
import { r as parseCsv } from "../../csv-DhHQS2x_.js";
|
|
9
9
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
10
10
|
//#region src/blocks/imports/define-import.d.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as validate } from "../../standard-BA3mLh6w.js";
|
|
2
|
-
import { D as recordOf, I as textOf, o as blockCall } from "../../block-helpers-
|
|
3
|
-
import { r as withBlockHooks } from "../../block-hooks-
|
|
2
|
+
import { D as recordOf, I as textOf, o as blockCall } from "../../block-helpers-DnCtsKtv.js";
|
|
3
|
+
import { r as withBlockHooks } from "../../block-hooks-DbIpkq7a.js";
|
|
4
4
|
import { n as parseCsv } from "../../csv-2rXGPNtP.js";
|
|
5
5
|
import { n as event, t as defineEvents } from "../../event-map-CtPFhcOp.js";
|
|
6
6
|
import { n as defineBlock } from "../../define-block-BGqOO8B3.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Ct as Events, H as InboxEventData } from "../../events-vcqenSYU.js";
|
|
2
2
|
import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
|
|
3
3
|
import { d as MessageKind, p as MessageReaction, u as MessageFile } from "../../messaging-C_Pr9tGx.js";
|
|
4
|
-
import { Zt as DefaultAutomation, c as BlockOf } from "../../define-block-
|
|
5
|
-
import { p as SubscriptionStatus } from "../../topic-
|
|
6
|
-
import { n as TopicPort } from "../../watch-topic-
|
|
7
|
-
import { l as StoragePort } from "../../ports-
|
|
8
|
-
import { n as Controller, t as AuthPort } from "../../controller-
|
|
4
|
+
import { Zt as DefaultAutomation, c as BlockOf } from "../../define-block-CRwHsxZO.js";
|
|
5
|
+
import { p as SubscriptionStatus } from "../../topic-0uK4db_2.js";
|
|
6
|
+
import { n as TopicPort } from "../../watch-topic-CG3kOX-D.js";
|
|
7
|
+
import { l as StoragePort } from "../../ports-DO3tgLTo.js";
|
|
8
|
+
import { n as Controller, t as AuthPort } from "../../controller-BeqcjERs.js";
|
|
9
9
|
import { S as StoredInboundEvent, _ as MessageDirection, a as ConversationEvent, b as PurgedContact, c as DeliveryStatus, d as InboxCounts, f as InboxFileSource, g as MessageDelivery, h as InboxUpload, i as Conversation, l as InboundResult, m as InboxRow, n as BotMode, o as ConversationPriority, p as InboxMessage, r as Contact, s as ConversationStatus, t as AuthorType, u as InboxChannel, v as MessageTemplate, x as ScheduledInboxMessage, y as PendingInboxFile } from "../../types-Dp3UCr1e.js";
|
|
10
10
|
import { a as Inbox, c as InboxPatch, d as StartConversationInput, f as TemplateInput, i as InboundInput, l as MessageInput, n as ConversationFilter, o as InboxHooks, p as createInbox, r as CreateInboxInput, s as InboxOptions, t as ContactInput, u as ScheduledMessageInput } from "../../inbox-NDKwSk_H.js";
|
|
11
11
|
//#region src/blocks/inbox/rows.d.ts
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { n as isRecord } from "../../guards-6F2bCtQR.js";
|
|
2
|
+
import { i as sqlTransport, r as rpcTransport, t as dbTransport } from "../../block-transport-PNea4lfQ.js";
|
|
2
3
|
import { n as INBOX_AUTOMATIONS, r as inboxSqlOptions, t as CONVERSATION_TO_TASK } from "../../automations-BKjJpktQ.js";
|
|
3
4
|
import { n as whileSignedIn, t as defineController } from "../../controller-BEliOBOv.js";
|
|
4
|
-
import { A as requiredInstant,
|
|
5
|
-
import { r as withBlockHooks } from "../../block-hooks-
|
|
5
|
+
import { A as requiredInstant, C as optionalText, D as recordOf, F as stringsOf, I as textOf$1, M as seconds, O as recordOrEmpty, R as toInstant, b as oneOf, k as recordsOf, m as instantArg, n as applyTemporal, o as blockCall, v as nullableInstant, w as pageOf, y as nullableText } from "../../block-helpers-DnCtsKtv.js";
|
|
6
|
+
import { r as withBlockHooks } from "../../block-hooks-DbIpkq7a.js";
|
|
6
7
|
import { n as event, t as defineEvents } from "../../event-map-CtPFhcOp.js";
|
|
7
8
|
import { n as defineBlock } from "../../define-block-BGqOO8B3.js";
|
|
8
|
-
import { a as reactionsOf, r as messageOf$1 } from "../../rows-
|
|
9
|
+
import { a as reactionsOf, r as messageOf$1 } from "../../rows-EGAbu7MG.js";
|
|
9
10
|
//#region src/blocks/inbox/rows.ts
|
|
10
11
|
const INBOX_CHANNELS = [
|
|
11
12
|
"in_app",
|
|
@@ -7,7 +7,7 @@ import { n as Logger } from "../../logger-DWVYUmwi.js";
|
|
|
7
7
|
import { r as BlockTemporalOptions } from "../../block-helpers-CRpAHrp_.js";
|
|
8
8
|
import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
|
|
9
9
|
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-DZN2w69m.js";
|
|
10
|
-
import { Sn as EntitySchema, c as BlockOf } from "../../define-block-
|
|
10
|
+
import { Sn as EntitySchema, c as BlockOf } from "../../define-block-CRwHsxZO.js";
|
|
11
11
|
//#region src/blocks/incidents/incidents.d.ts
|
|
12
12
|
interface IncidentsOptions<S extends StandardSchemaV1 | undefined = undefined> extends BlockTemporalOptions {
|
|
13
13
|
readonly transport: BlockTransport;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { n as isRecord } from "../../guards-6F2bCtQR.js";
|
|
2
2
|
import { t as temporal } from "../../temporal-required-Dy0GGD8E.js";
|
|
3
3
|
import { t as AsyncResult } from "../../result-ntFBW2p2.js";
|
|
4
|
+
import { i as sqlTransport, r as rpcTransport, t as dbTransport } from "../../block-transport-PNea4lfQ.js";
|
|
4
5
|
import { t as incidentsSqlOptions } from "../../options-DUMUsvml.js";
|
|
5
|
-
import { A as requiredInstant,
|
|
6
|
-
import { i as wrapTransport, n as extendBlock, r as withBlockHooks } from "../../block-hooks-
|
|
6
|
+
import { A as requiredInstant, C as optionalText, D as recordOf, I as textOf, S as optionalInstant, d as enumOrThrow, k as recordsOf, m as instantArg, n as applyTemporal, o as blockCall } from "../../block-helpers-DnCtsKtv.js";
|
|
7
|
+
import { i as wrapTransport, n as extendBlock, r as withBlockHooks } from "../../block-hooks-DbIpkq7a.js";
|
|
7
8
|
import { n as entitySchema } from "../../entity-schema-BDv6w-OQ.js";
|
|
8
9
|
import { n as event, t as defineEvents } from "../../event-map-CtPFhcOp.js";
|
|
9
10
|
import { n as blockFields } from "../../block-fields-DE_FgpOU.js";
|
package/dist/blocks/index.d.ts
CHANGED
|
@@ -9,10 +9,10 @@ import { a as dbTransport, i as RpcClient, n as DbTransportOptions, o as rpcTran
|
|
|
9
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-DZN2w69m.js";
|
|
10
10
|
import { n as FinalRunState, r as RunState, t as FINAL_RUN_STATES } from "../run-state-BMCD_1Lt.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-BTmaRzx2.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-CRwHsxZO.js";
|
|
13
13
|
import { t as VisibleRange } from "../range-p5V4rBhZ.js";
|
|
14
14
|
import { t as subjectKey } from "../block-subjects-CphkQPxp.js";
|
|
15
|
-
import { t as BlockEnv } from "../block-env-
|
|
15
|
+
import { t as BlockEnv } from "../block-env-Dh0Fe-fK.js";
|
|
16
16
|
//#region src/blocks/block-env-options.d.ts
|
|
17
17
|
/** What a hook passes a block creator from the env. */
|
|
18
18
|
interface EnvBlockOptions {
|
package/dist/blocks/index.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { n as isRecord, t as isList } from "../guards-6F2bCtQR.js";
|
|
2
2
|
import { t as AsyncResult } from "../result-ntFBW2p2.js";
|
|
3
|
+
import { i as sqlTransport, r as rpcTransport, t as dbTransport } from "../block-transport-PNea4lfQ.js";
|
|
3
4
|
import { i as entityNames } from "../entity-naming-Dtyq5sKE.js";
|
|
4
5
|
import { i as optionsJsonSchema, n as blockOptions, r as option, t as NO_OPTIONS } from "../options-CfVPctAw.js";
|
|
5
6
|
import { t as FINAL_RUN_STATES } from "../run-state-CgBKzYMW.js";
|
|
6
7
|
import { t as onBlockEvent } from "../block-event-listener-Bu6G0TFH.js";
|
|
7
|
-
import {
|
|
8
|
-
import { i as
|
|
9
|
-
import { a as fillTopic, c as renameKeys, i as defineBlocks, n as createBlockClient, o as generatedOptions, r as createBlocks, s as blockNames, t as BLOCK_EVENT_SOURCE } from "../create-blocks-Bu4H5TXw.js";
|
|
8
|
+
import { i as wrapTransport, n as extendBlock, r as withBlockHooks, t as defineTransportMiddleware } from "../block-hooks-DbIpkq7a.js";
|
|
9
|
+
import { a as fillTopic, c as renameKeys, i as defineBlocks, n as createBlockClient, o as generatedOptions, r as createBlocks, s as blockNames, t as BLOCK_EVENT_SOURCE } from "../create-blocks-0pWKQ6x4.js";
|
|
10
10
|
import { n as entitySchema, t as ENTITY_SCHEMA_KINDS } from "../entity-schema-BDv6w-OQ.js";
|
|
11
11
|
import { n as event, r as mergeEvents, t as defineEvents } from "../event-map-CtPFhcOp.js";
|
|
12
12
|
import { n as blockFields } from "../block-fields-DE_FgpOU.js";
|
|
13
13
|
import { n as defineBlock, t as BLOCK_CATEGORIES } from "../define-block-BGqOO8B3.js";
|
|
14
|
-
import { r as subjectKey } from "../block-subjects-
|
|
14
|
+
import { r as subjectKey } from "../block-subjects-BRJO0IqO.js";
|
|
15
15
|
//#region src/blocks/block-env-options.ts
|
|
16
16
|
/**
|
|
17
17
|
* A block's transport and schema for a hook: the supabase-js client calls the
|
|
@@ -8,7 +8,7 @@ import { n as BlockOptions } from "../../block-helpers-CRpAHrp_.js";
|
|
|
8
8
|
import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
|
|
9
9
|
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-DZN2w69m.js";
|
|
10
10
|
import { g as JobHandler } from "../../types-Czq9Xtpa.js";
|
|
11
|
-
import { c as BlockOf } from "../../define-block-
|
|
11
|
+
import { c as BlockOf } from "../../define-block-CRwHsxZO.js";
|
|
12
12
|
import { n as Money } from "../../money-BNRdJQzA.js";
|
|
13
13
|
//#region src/blocks/inventory/inventory.d.ts
|
|
14
14
|
export declare const LOCATION_KINDS: readonly ["warehouse", "store", "virtual"];
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { n as dbError } from "../../errors-BVFgt8BZ.js";
|
|
2
2
|
import { n as isRecord } from "../../guards-6F2bCtQR.js";
|
|
3
3
|
import { a as ok, t as AsyncResult } from "../../result-ntFBW2p2.js";
|
|
4
|
+
import { i as sqlTransport, r as rpcTransport, t as dbTransport } from "../../block-transport-PNea4lfQ.js";
|
|
4
5
|
import { t as inventorySqlOptions } from "../../options-CFjGxfa8.js";
|
|
5
|
-
import { A as requiredInstant,
|
|
6
|
-
import { i as wrapTransport, n as extendBlock, r as withBlockHooks } from "../../block-hooks-
|
|
6
|
+
import { A as requiredInstant, C as optionalText, D as recordOf, I as textOf, d as enumOrThrow, m as instantArg, n as applyTemporal, o as blockCall } from "../../block-helpers-DnCtsKtv.js";
|
|
7
|
+
import { i as wrapTransport, n as extendBlock, r as withBlockHooks } from "../../block-hooks-DbIpkq7a.js";
|
|
7
8
|
import { n as event, t as defineEvents } from "../../event-map-CtPFhcOp.js";
|
|
8
9
|
import { n as blockFields } from "../../block-fields-DE_FgpOU.js";
|
|
9
10
|
import { n as defineBlock } from "../../define-block-BGqOO8B3.js";
|
|
@@ -9,9 +9,9 @@ import { n as Logger } from "../../logger-DWVYUmwi.js";
|
|
|
9
9
|
import { r as BlockTemporalOptions } from "../../block-helpers-CRpAHrp_.js";
|
|
10
10
|
import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
|
|
11
11
|
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-DZN2w69m.js";
|
|
12
|
-
import { c as BlockOf } from "../../define-block-
|
|
12
|
+
import { c as BlockOf } from "../../define-block-CRwHsxZO.js";
|
|
13
13
|
import { n as Money } from "../../money-BNRdJQzA.js";
|
|
14
|
-
import { i as Totals, n as Line, r as LineInput } from "../../sales-lines-
|
|
14
|
+
import { i as Totals, n as Line, r as LineInput } from "../../sales-lines-KxxStRzU.js";
|
|
15
15
|
//#region src/blocks/invoices/invoices.d.ts
|
|
16
16
|
type InvoiceStatus = "draft" | "issued" | "partially_paid" | "paid" | "void" | "uncollectible";
|
|
17
17
|
interface InvoicePayment {
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { t as AsyncResult } from "../../result-ntFBW2p2.js";
|
|
2
|
-
import { t as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import { i as sqlTransport, r as rpcTransport, t as dbTransport } from "../../block-transport-PNea4lfQ.js";
|
|
3
|
+
import { t as invoicesSqlOptions } from "../../options-BOqfYsM1.js";
|
|
4
|
+
import { A as requiredInstant, C as optionalText, D as recordOf, I as textOf, S as optionalInstant, a as bigintOf, d as enumOrThrow, k as recordsOf, m as instantArg, n as applyTemporal, o as blockCall } from "../../block-helpers-DnCtsKtv.js";
|
|
5
|
+
import { i as wrapTransport, n as extendBlock, r as withBlockHooks } from "../../block-hooks-DbIpkq7a.js";
|
|
5
6
|
import { n as event, t as defineEvents } from "../../event-map-CtPFhcOp.js";
|
|
6
7
|
import { n as blockFields } from "../../block-fields-DE_FgpOU.js";
|
|
7
8
|
import { n as defineBlock } from "../../define-block-BGqOO8B3.js";
|
|
8
|
-
import { i as moneyOf, n as amountsError, s as unknownCurrency, t as amountText } from "../../money-codec-
|
|
9
|
-
import { i as refOf, n as compact, r as plainDate, t as attrsArg } from "../../sales-shared-
|
|
10
|
-
import { i as totalsOf, n as lineArg, r as lineOf } from "../../sales-lines-
|
|
9
|
+
import { i as moneyOf, n as amountsError, s as unknownCurrency, t as amountText } from "../../money-codec-uV5WbT60.js";
|
|
10
|
+
import { i as refOf, n as compact, r as plainDate, t as attrsArg } from "../../sales-shared-BKXXA5qV.js";
|
|
11
|
+
import { i as totalsOf, n as lineArg, r as lineOf } from "../../sales-lines-CP4Z_LyE.js";
|
|
11
12
|
//#region src/blocks/invoices/invoices.ts
|
|
12
13
|
const STATUSES = [
|
|
13
14
|
"draft",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
|
|
2
2
|
import { a as KnowledgeDocument, c as KnowledgeOptions, d as KnowledgeSearchOptions, f as KnowledgeStatus, 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 } from "../../knowledge-F1IhRI4Q.js";
|
|
3
|
-
import { c as BlockOf } from "../../define-block-
|
|
3
|
+
import { c as BlockOf } from "../../define-block-CRwHsxZO.js";
|
|
4
4
|
//#region src/blocks/knowledge/manifest.d.ts
|
|
5
5
|
/** The `knowledge` block's manifest (ADR 0029). */
|
|
6
6
|
export declare const knowledgeBlock: BlockOf<"knowledge", typeof createKnowledge, Record<never, never>, {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { i as sqlTransport, r as rpcTransport, t as dbTransport } from "../../block-transport-PNea4lfQ.js";
|
|
1
2
|
import { t as knowledgeSqlOptions } from "../../options-Dcaql09y.js";
|
|
2
|
-
import { B as dbTransport, H as rpcTransport, U as sqlTransport } from "../../block-helpers-CtBdjgO4.js";
|
|
3
3
|
import { n as defineBlock } from "../../define-block-BGqOO8B3.js";
|
|
4
|
-
import { n as chunk, r as createKnowledge } from "../../knowledge-
|
|
4
|
+
import { n as chunk, r as createKnowledge } from "../../knowledge-CV6OSirC.js";
|
|
5
5
|
//#region src/blocks/knowledge/manifest.ts
|
|
6
6
|
/** The `knowledge` block's manifest (ADR 0029). */
|
|
7
7
|
const knowledgeBlock = defineBlock({
|
|
@@ -5,7 +5,7 @@ import { n as BlockOptions } from "../../block-helpers-CRpAHrp_.js";
|
|
|
5
5
|
import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
|
|
6
6
|
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-DZN2w69m.js";
|
|
7
7
|
import { n as leadScoringSqlOptions, t as LeadScoringSqlOptions } from "../../options-DsVuVRH3.js";
|
|
8
|
-
import { c as BlockOf } from "../../define-block-
|
|
8
|
+
import { c as BlockOf } from "../../define-block-CRwHsxZO.js";
|
|
9
9
|
import { r as RuleFieldCatalog } from "../../fields-C3q2ypnO.js";
|
|
10
10
|
import { t as ComputedScore } from "../../scores-B2BiNuVJ.js";
|
|
11
11
|
//#region src/blocks/lead-scoring/lead-scoring.d.ts
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { n as isRecord } from "../../guards-6F2bCtQR.js";
|
|
2
|
+
import { i as sqlTransport, r as rpcTransport, t as dbTransport } from "../../block-transport-PNea4lfQ.js";
|
|
2
3
|
import { t as leadScoringSqlOptions } from "../../options-BfPsL7E2.js";
|
|
3
|
-
import {
|
|
4
|
-
import { i as wrapTransport, n as extendBlock, r as withBlockHooks } from "../../block-hooks-
|
|
4
|
+
import { n as applyTemporal, o as blockCall } from "../../block-helpers-DnCtsKtv.js";
|
|
5
|
+
import { i as wrapTransport, n as extendBlock, r as withBlockHooks } from "../../block-hooks-DbIpkq7a.js";
|
|
5
6
|
import { n as defineBlock } from "../../define-block-BGqOO8B3.js";
|
|
6
7
|
import { t as requireOrganization } from "../../block-tenant-DHp7subc.js";
|
|
7
|
-
import { r as defineRuleFields } from "../../fields
|
|
8
|
-
import { t as computedScoreOf } from "../../scores-
|
|
8
|
+
import { r as defineRuleFields } from "../../fields--5a88KJe.js";
|
|
9
|
+
import { t as computedScoreOf } from "../../scores-CsgM-dw7.js";
|
|
9
10
|
//#region src/blocks/lead-scoring/lead-scoring.ts
|
|
10
11
|
/**
|
|
11
12
|
* The fields lead scoring adds to a record, for a lead model's rules.
|
|
@@ -8,7 +8,7 @@ import { n as Logger } from "../../logger-DWVYUmwi.js";
|
|
|
8
8
|
import { a as BlockTenantOptions, r as BlockTemporalOptions } from "../../block-helpers-CRpAHrp_.js";
|
|
9
9
|
import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
|
|
10
10
|
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-DZN2w69m.js";
|
|
11
|
-
import { 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-CRwHsxZO.js";
|
|
12
12
|
import { n as Money } from "../../money-BNRdJQzA.js";
|
|
13
13
|
//#region src/blocks/leases/leases.d.ts
|
|
14
14
|
type LeaseStatus = "draft" | "active" | "ended" | "terminated";
|
|
@@ -2,16 +2,17 @@ import { n as dbError } from "../../errors-BVFgt8BZ.js";
|
|
|
2
2
|
import { n as isRecord } from "../../guards-6F2bCtQR.js";
|
|
3
3
|
import { t as temporal } from "../../temporal-required-Dy0GGD8E.js";
|
|
4
4
|
import { t as AsyncResult } from "../../result-ntFBW2p2.js";
|
|
5
|
+
import { i as sqlTransport, r as rpcTransport, t as dbTransport } from "../../block-transport-PNea4lfQ.js";
|
|
5
6
|
import { t as leasesSqlOptions } from "../../options-MsloEAIB.js";
|
|
6
|
-
import { A as requiredInstant,
|
|
7
|
-
import { i as wrapTransport, n as extendBlock, r as withBlockHooks } from "../../block-hooks-
|
|
7
|
+
import { A as requiredInstant, C as optionalText, D as recordOf, I as textOf, k as recordsOf, m as instantArg, n as applyTemporal, o as blockCall } from "../../block-helpers-DnCtsKtv.js";
|
|
8
|
+
import { i as wrapTransport, n as extendBlock, r as withBlockHooks } from "../../block-hooks-DbIpkq7a.js";
|
|
8
9
|
import { n as entitySchema, r as moneyField } from "../../entity-schema-BDv6w-OQ.js";
|
|
9
10
|
import { t as defineRecordBinding } from "../../record-bindings-DkBJpC5A.js";
|
|
10
11
|
import { n as event, t as defineEvents } from "../../event-map-CtPFhcOp.js";
|
|
11
12
|
import { n as blockFields } from "../../block-fields-DE_FgpOU.js";
|
|
12
13
|
import { n as defineBlock } from "../../define-block-BGqOO8B3.js";
|
|
13
14
|
import { t as requireOrganization } from "../../block-tenant-DHp7subc.js";
|
|
14
|
-
import { i as moneyOf, t as amountText } from "../../money-codec-
|
|
15
|
+
import { i as moneyOf, t as amountText } from "../../money-codec-uV5WbT60.js";
|
|
15
16
|
//#region src/blocks/leases/leases.ts
|
|
16
17
|
function optional(key, value) {
|
|
17
18
|
return value === void 0 ? {} : { [key]: value };
|
|
@@ -7,7 +7,7 @@ import { n as Logger } from "../../logger-DWVYUmwi.js";
|
|
|
7
7
|
import { r as BlockTemporalOptions } from "../../block-helpers-CRpAHrp_.js";
|
|
8
8
|
import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
|
|
9
9
|
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-DZN2w69m.js";
|
|
10
|
-
import { c as BlockOf } from "../../define-block-
|
|
10
|
+
import { c as BlockOf } from "../../define-block-CRwHsxZO.js";
|
|
11
11
|
//#region src/blocks/leave/leave.d.ts
|
|
12
12
|
interface LeaveOptions<S extends StandardSchemaV1 | undefined = undefined> extends BlockTemporalOptions {
|
|
13
13
|
readonly transport: BlockTransport;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { n as isRecord } from "../../guards-6F2bCtQR.js";
|
|
2
2
|
import { t as temporal } from "../../temporal-required-Dy0GGD8E.js";
|
|
3
|
+
import { i as sqlTransport, r as rpcTransport, t as dbTransport } from "../../block-transport-PNea4lfQ.js";
|
|
3
4
|
import { t as leaveSqlOptions } from "../../options-CTXHj9zr.js";
|
|
4
|
-
import { A as requiredInstant,
|
|
5
|
-
import { i as wrapTransport, n as extendBlock, r as withBlockHooks } from "../../block-hooks-
|
|
5
|
+
import { A as requiredInstant, C as optionalText, D as recordOf, I as textOf, S as optionalInstant, d as enumOrThrow, k as recordsOf, n as applyTemporal, o as blockCall } from "../../block-helpers-DnCtsKtv.js";
|
|
6
|
+
import { i as wrapTransport, n as extendBlock, r as withBlockHooks } from "../../block-hooks-DbIpkq7a.js";
|
|
6
7
|
import { n as event, t as defineEvents } from "../../event-map-CtPFhcOp.js";
|
|
7
8
|
import { n as blockFields } from "../../block-fields-DE_FgpOU.js";
|
|
8
9
|
import { n as defineBlock } from "../../define-block-BGqOO8B3.js";
|
|
@@ -6,7 +6,7 @@ import { n as Logger } from "../../logger-DWVYUmwi.js";
|
|
|
6
6
|
import { a as BlockTenantOptions, r as BlockTemporalOptions } from "../../block-helpers-CRpAHrp_.js";
|
|
7
7
|
import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
|
|
8
8
|
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-DZN2w69m.js";
|
|
9
|
-
import { c as BlockOf, rn as RecordBinding } from "../../define-block-
|
|
9
|
+
import { c as BlockOf, rn as RecordBinding } from "../../define-block-CRwHsxZO.js";
|
|
10
10
|
import { n as Money } from "../../money-BNRdJQzA.js";
|
|
11
11
|
//#region src/blocks/ledger/ledger.d.ts
|
|
12
12
|
interface LedgerOptions extends BlockTemporalOptions, BlockTenantOptions {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { n as isRecord } from "../../guards-6F2bCtQR.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { i as sqlTransport, r as rpcTransport, t as dbTransport } from "../../block-transport-PNea4lfQ.js";
|
|
3
|
+
import { A as requiredInstant, C as optionalText, D as recordOf, I as textOf, S as optionalInstant, a as bigintOf, d as enumOrThrow, k as recordsOf, m as instantArg, n as applyTemporal, o as blockCall } from "../../block-helpers-DnCtsKtv.js";
|
|
4
|
+
import { i as wrapTransport, n as extendBlock, r as withBlockHooks } from "../../block-hooks-DbIpkq7a.js";
|
|
4
5
|
import { t as defineRecordBinding } from "../../record-bindings-DkBJpC5A.js";
|
|
5
6
|
import { n as event, t as defineEvents } from "../../event-map-CtPFhcOp.js";
|
|
6
7
|
import { n as defineBlock } from "../../define-block-BGqOO8B3.js";
|
|
@@ -3,7 +3,7 @@ import { D as MailMessageEventData, E as MailAccountEventData, O as MailTracking
|
|
|
3
3
|
import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
|
|
4
4
|
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-DZN2w69m.js";
|
|
5
5
|
import { n as mailSyncSqlOptions, t as MailSyncSqlOptions } from "../../options-C_7g9TTq.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-CRwHsxZO.js";
|
|
7
7
|
//#region src/blocks/mail-sync/events.d.ts
|
|
8
8
|
/** The events of the `mail-sync` block: type to data. */
|
|
9
9
|
type MailSyncEvents = {
|
|
@@ -2,9 +2,10 @@ import { n as dbError } from "../../errors-BVFgt8BZ.js";
|
|
|
2
2
|
import { n as isRecord } from "../../guards-6F2bCtQR.js";
|
|
3
3
|
import { t as temporal } from "../../temporal-required-Dy0GGD8E.js";
|
|
4
4
|
import { a as ok, r as err, t as AsyncResult } from "../../result-ntFBW2p2.js";
|
|
5
|
+
import { i as sqlTransport, r as rpcTransport, t as dbTransport } from "../../block-transport-PNea4lfQ.js";
|
|
5
6
|
import { t as mailSyncSqlOptions } from "../../options-pYNpXKcg.js";
|
|
6
|
-
import { A as requiredInstant,
|
|
7
|
-
import { i as wrapTransport, n as extendBlock, r as withBlockHooks } from "../../block-hooks-
|
|
7
|
+
import { A as requiredInstant, C as optionalText, D as recordOf, I as textOf, S as optionalInstant, k as recordsOf, m as instantArg, n as applyTemporal, o as blockCall } from "../../block-helpers-DnCtsKtv.js";
|
|
8
|
+
import { i as wrapTransport, n as extendBlock, r as withBlockHooks } from "../../block-hooks-DbIpkq7a.js";
|
|
8
9
|
import { n as entitySchema } from "../../entity-schema-BDv6w-OQ.js";
|
|
9
10
|
import { n as credentialRefInTenant, r as foreignCredentialRef } from "../../provider-B6g7rBZX.js";
|
|
10
11
|
import { n as event, t as defineEvents } from "../../event-map-CtPFhcOp.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Dt as HasFlag, Ft as RequestContext, Mt as Plugin, Pt as RepositoryExtension, ot as SchemaMeta } from "../../types-DFdg_4yN.js";
|
|
2
2
|
import { i as SameTenantOption, n as RoleThroughOption, r as SameTenantEntry, t as MembershipsSqlOptions } from "../../options-_1gAIMq7.js";
|
|
3
|
-
import { r as Block } from "../../define-block-
|
|
3
|
+
import { r as Block } from "../../define-block-CRwHsxZO.js";
|
|
4
4
|
//#region src/blocks/memberships/extension.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* Dotted paths to the string claims of `C` (up to three levels), e.g.
|