better-supabase 0.28.0 → 0.30.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{agents-CMIB3802.d.ts → agents-CM_cCtcr.d.ts} +4 -4
- package/dist/{ai-cache-2LGgaT7F.d.ts → ai-cache-BTGqckta.d.ts} +4 -4
- package/dist/{ai-chat-BCaKsvLW.d.ts → ai-chat-B7_vQvxU.d.ts} +4 -4
- package/dist/{ai-schedules-yGZH-vQb.d.ts → ai-schedules-CZEfo-_M.d.ts} +5 -5
- package/dist/ai-sdk/agents/index.d.ts +6 -6
- package/dist/ai-sdk/batches/index.d.ts +3 -3
- package/dist/ai-sdk/cache/index.d.ts +1 -1
- package/dist/ai-sdk/chat/index.d.ts +1 -1
- package/dist/ai-sdk/embeddings/index.d.ts +2 -2
- package/dist/ai-sdk/files/index.d.ts +1 -1
- package/dist/ai-sdk/index.d.ts +5 -5
- package/dist/ai-sdk/mcp/index.d.ts +3 -3
- package/dist/ai-sdk/memory/index.d.ts +3 -3
- package/dist/ai-sdk/workflow/index.d.ts +3 -3
- package/dist/{api-B1OkIWdx.d.ts → api-59rv5hL6.d.ts} +5 -5
- package/dist/{api-keys-ClhKBDcc.d.ts → api-keys-JE-aykZE.d.ts} +4 -4
- package/dist/{app-tables-62GqZIhd.d.ts → app-tables-yyVncXEt.d.ts} +1 -1
- package/dist/{approvals-C5fmPLsH.d.ts → approvals-BfEafAzt.d.ts} +5 -5
- package/dist/{assistant-ndGdOBax.d.ts → assistant-B49qATbj.d.ts} +2 -2
- package/dist/astro/index.d.ts +7 -7
- package/dist/{authorization-BCG1v0iC.d.ts → authorization-CDU9tYA_.d.ts} +17 -3
- package/dist/{authorization-hooks-DtzreCAq.d.ts → authorization-hooks-BWhkMZfH.d.ts} +2 -2
- package/dist/better-result/index.d.ts +3 -3
- package/dist/{bind-C54jD0r3.d.ts → bind-p7asfI6H.d.ts} +7 -7
- package/dist/{block-env-CM-LFfj4.d.ts → block-env-B8wG3xeh.d.ts} +4 -4
- package/dist/{block-helpers-CRpAHrp_.d.ts → block-helpers-D5emQ2O6.d.ts} +1 -1
- package/dist/{block-hooks-DZN2w69m.d.ts → block-hooks-B8itxzEE.d.ts} +2 -2
- package/dist/{block-subjects-CphkQPxp.d.ts → block-subjects-C1_9DkSA.d.ts} +1 -1
- package/dist/{block-transport-DWZSJrwN.d.ts → block-transport-9EUA3q_I.d.ts} +2 -2
- package/dist/blocks/access-requests/index.d.ts +5 -5
- package/dist/blocks/activities/index.d.ts +10 -10
- package/dist/blocks/activities/index.js +1 -1
- package/dist/blocks/agents/index.d.ts +4 -4
- package/dist/blocks/ai-cache/index.d.ts +3 -3
- package/dist/blocks/ai-chat/index.d.ts +7 -7
- package/dist/blocks/ai-files/index.d.ts +3 -3
- package/dist/blocks/ai-keys/index.d.ts +4 -4
- package/dist/blocks/ai-schedules/index.d.ts +3 -3
- package/dist/blocks/announcements/index.d.ts +8 -8
- package/dist/blocks/api-keys/index.d.ts +6 -6
- package/dist/blocks/approvals/index.d.ts +4 -4
- package/dist/blocks/assets/index.d.ts +6 -6
- package/dist/blocks/assignment/index.d.ts +7 -7
- package/dist/blocks/attachments/index.d.ts +4 -4
- package/dist/blocks/audit/index.d.ts +13 -13
- package/dist/blocks/automations/index.d.ts +12 -12
- package/dist/blocks/billable-time/index.d.ts +6 -6
- package/dist/blocks/billing/index.d.ts +9 -9
- package/dist/blocks/bookings/index.d.ts +4 -4
- package/dist/blocks/bulk/index.d.ts +4 -4
- package/dist/blocks/calendar/index.d.ts +5 -5
- package/dist/blocks/calendar/index.js +1 -1
- package/dist/blocks/catalog/index.d.ts +6 -6
- package/dist/blocks/channels/index.d.ts +7 -7
- package/dist/blocks/collections/index.d.ts +12 -12
- package/dist/blocks/collections/index.js +1 -1
- package/dist/blocks/comments/index.d.ts +10 -10
- package/dist/blocks/compliance/index.d.ts +5 -5
- package/dist/blocks/connectors/index.d.ts +4 -4
- package/dist/blocks/contacts/index.d.ts +7 -7
- package/dist/blocks/contacts/index.js +1 -1
- package/dist/blocks/content/index.d.ts +5 -5
- package/dist/blocks/contracts/index.d.ts +6 -6
- package/dist/blocks/courses/index.d.ts +5 -5
- package/dist/blocks/created-by/index.d.ts +2 -2
- package/dist/blocks/custom-fields/index.d.ts +6 -6
- package/dist/blocks/data-lifecycle/index.d.ts +8 -8
- package/dist/blocks/deals/index.d.ts +6 -6
- package/dist/blocks/dispatch/index.d.ts +7 -7
- package/dist/blocks/documents/index.d.ts +4 -4
- package/dist/blocks/domains/index.d.ts +6 -6
- package/dist/blocks/donations/index.d.ts +6 -6
- package/dist/blocks/drive/index.d.ts +6 -6
- package/dist/blocks/employees/index.d.ts +8 -8
- package/dist/blocks/enrichment/index.d.ts +6 -6
- package/dist/blocks/enrollments/index.d.ts +6 -6
- package/dist/blocks/entitlements/index.d.ts +6 -6
- package/dist/blocks/expenses/index.d.ts +5 -5
- package/dist/blocks/field-history/index.d.ts +4 -4
- package/dist/blocks/flags/index.d.ts +5 -5
- package/dist/blocks/forecasts/index.d.ts +6 -6
- package/dist/blocks/forms/index.d.ts +6 -6
- package/dist/blocks/goals/index.d.ts +4 -4
- package/dist/blocks/guests/index.d.ts +6 -6
- package/dist/blocks/hiring/index.d.ts +7 -7
- package/dist/blocks/identities/index.d.ts +5 -5
- package/dist/blocks/imports/index.d.ts +5 -5
- package/dist/blocks/inbox/index.d.ts +10 -10
- package/dist/blocks/incidents/index.d.ts +5 -5
- package/dist/blocks/index.d.ts +9 -9
- package/dist/blocks/inventory/index.d.ts +7 -7
- package/dist/blocks/invoices/index.d.ts +8 -8
- package/dist/blocks/knowledge/index.d.ts +3 -3
- package/dist/blocks/lead-scoring/index.d.ts +7 -7
- package/dist/blocks/leases/index.d.ts +6 -6
- package/dist/blocks/leave/index.d.ts +5 -5
- package/dist/blocks/ledger/index.d.ts +6 -6
- package/dist/blocks/mail-sync/index.d.ts +5 -5
- package/dist/blocks/memberships/index.d.ts +2 -2
- package/dist/blocks/memory/index.d.ts +4 -4
- package/dist/blocks/messaging/index.d.ts +11 -11
- package/dist/blocks/metrics/index.d.ts +6 -6
- package/dist/blocks/mfa/index.d.ts +2 -2
- package/dist/blocks/moderation/index.d.ts +6 -6
- package/dist/blocks/notifications/index.d.ts +12 -12
- package/dist/blocks/notifications/index.js +1 -1
- package/dist/blocks/numbering/index.d.ts +4 -4
- package/dist/blocks/oauth-server/index.d.ts +5 -5
- package/dist/blocks/onboarding/index.d.ts +5 -5
- package/dist/blocks/orders/index.d.ts +7 -7
- package/dist/blocks/organizations/index.d.ts +8 -8
- package/dist/blocks/outbox/index.d.ts +4 -4
- package/dist/blocks/passes/index.d.ts +8 -8
- package/dist/blocks/permissions/index.d.ts +6 -6
- package/dist/blocks/pipelines/index.d.ts +6 -6
- package/dist/blocks/posts/index.d.ts +5 -5
- package/dist/blocks/profiles/index.d.ts +4 -4
- package/dist/blocks/promotions/index.d.ts +5 -5
- package/dist/blocks/push/index.d.ts +6 -6
- package/dist/blocks/queue/index.d.ts +6 -6
- package/dist/blocks/quotes/index.d.ts +8 -8
- package/dist/blocks/rank/index.d.ts +5 -5
- package/dist/blocks/reactions/index.d.ts +9 -9
- package/dist/blocks/relations/index.d.ts +7 -7
- package/dist/blocks/reminders/index.d.ts +8 -8
- package/dist/blocks/reminders/index.js +1 -1
- package/dist/blocks/reviews/index.d.ts +5 -5
- package/dist/blocks/saved-views/index.d.ts +6 -6
- package/dist/blocks/scores/index.d.ts +5 -5
- package/dist/blocks/search/index.d.ts +8 -8
- package/dist/blocks/security-events/index.d.ts +7 -7
- package/dist/blocks/segments/index.d.ts +8 -8
- package/dist/blocks/sequences/index.d.ts +6 -6
- package/dist/blocks/service-accounts/index.d.ts +5 -5
- package/dist/blocks/sessions/index.d.ts +2 -2
- package/dist/blocks/settings/index.d.ts +6 -6
- package/dist/blocks/share-links/index.d.ts +5 -5
- package/dist/blocks/shipments/index.d.ts +6 -6
- package/dist/blocks/signatures/index.d.ts +5 -5
- package/dist/blocks/signing-keys/index.d.ts +4 -4
- package/dist/blocks/sla/index.d.ts +7 -7
- package/dist/blocks/sso/index.d.ts +6 -6
- package/dist/blocks/state-machine/index.d.ts +5 -5
- package/dist/blocks/subjects/index.d.ts +6 -6
- package/dist/blocks/tags/index.d.ts +6 -6
- package/dist/blocks/tasks/index.d.ts +9 -9
- package/dist/blocks/teams/index.d.ts +4 -4
- package/dist/blocks/templates/index.d.ts +7 -7
- package/dist/blocks/time-tracking/index.d.ts +7 -7
- package/dist/blocks/timeline/index.d.ts +8 -8
- package/dist/blocks/trash/index.d.ts +6 -6
- package/dist/blocks/undo/index.d.ts +4 -4
- package/dist/blocks/updated-at/index.d.ts +2 -2
- package/dist/blocks/usage/index.d.ts +4 -4
- package/dist/blocks/vercel-marketplace/index.d.ts +5 -5
- package/dist/blocks/versions/index.d.ts +6 -6
- package/dist/blocks/waitlist/index.d.ts +5 -5
- package/dist/blocks/webhooks/index.d.ts +14 -14
- package/dist/blocks/webhooks/index.js +1 -1
- package/dist/blocks/workflow-editor/index.d.ts +9 -9
- package/dist/blocks/workflows/index.d.ts +7 -7
- package/dist/{bookings-CVw5-Q0Z.d.ts → bookings-xsmM2TA_.d.ts} +3 -3
- package/dist/{bucket-vc-QRrva.d.ts → bucket-SvRQwYS4.d.ts} +1 -1
- package/dist/chat-sdk/index.d.ts +6 -6
- package/dist/cli/add-BdhGOwkB.js +1 -0
- package/dist/cli/{add-DUyg9qna.js → add-D4w-Axib.js} +27 -85
- package/dist/cli/{add-BKcE_g9D.js → add-Dggyehsy.js} +2 -2
- package/dist/cli/{migrate-sVs1QYTM.js → app-table-files-CiGuwLkO.js} +90 -50
- package/dist/cli/{backfill-r9RELEEh.js → backfill-DjVjXW_P.js} +4 -4
- package/dist/cli/bin.js +1 -1
- package/dist/cli/{blocks-DTOFdrxL.js → blocks-Bbmb6W_F.js} +1 -1
- package/dist/cli/{blocks-k1OG8XDs.js → blocks-jRL9K1R8.js} +2 -2
- package/dist/cli/{cache-Czfw7Iow.js → cache-BuoIFlUJ.js} +1 -1
- package/dist/cli/{codemod-ClmbiLuL.js → codemod-DRavXBCb.js} +5 -5
- package/dist/cli/{command-CVzTJSLp.js → command-DIPmo0wh.js} +6 -1
- package/dist/cli/{completion-DxEXxFpz.js → completion-DxPxMtyP.js} +2 -2
- package/dist/cli/{completion-CNCqE-Gb.js → completion-DyLMSjOD.js} +1 -1
- package/dist/cli/{completion-Dpk6vh0p.js → completion-FUgqm2-N.js} +2 -2
- package/dist/cli/{config-EjNj3HfT.js → config-BfapErxs.js} +1 -1
- package/dist/cli/{config-KvV-sLZL.js → config-Cskysxp-.js} +38 -7
- package/dist/cli/{config-D2YUlzrl.js → config-Df5cXWNN.js} +1 -1
- package/dist/cli/{config-group-C8tjut39.js → config-group-CP-B9uRt.js} +2 -3
- package/dist/cli/{content-mapper-ez_mT0d4.js → content-mapper-BCtyfKXl.js} +2 -2
- package/dist/cli/{db-uYN6O5Eg.js → db-CWvH1_46.js} +3 -3
- package/dist/cli/{doctor-BD9oo4MG.js → doctor-Di2ZekfN.js} +57 -24
- package/dist/cli/{env-DEAtgGoj.js → env-B2CbnbzD.js} +2 -2
- package/dist/cli/env-CynGCICL.js +1 -0
- package/dist/cli/{gen-8Ya8n2sA.js → gen-STKC9vkK.js} +16 -16
- package/dist/cli/index.d.ts +9 -2
- package/dist/cli/index.js +8 -8
- package/dist/cli/{init-DgL3sDfQ.js → init-DW6_nIwj.js} +22 -10
- package/dist/cli/{keys-CsanNk-2.js → keys-V-HcO-21.js} +1 -1
- package/dist/cli/{live-CMMEct_F.js → live-0G4Plw3K.js} +2 -2
- package/dist/cli/{mcp-DEHtzAkq.js → mcp-flKS8iU5.js} +6 -14
- package/dist/cli/{metadata-BZh-cOzC.js → metadata-VARUbXEe.js} +3 -3
- package/dist/cli/migrate-Bkq07XcT.js +46 -0
- package/dist/cli/{migration-safety-ClnYNMdq.js → migration-safety-BfVeza5j.js} +2 -2
- package/dist/cli/{migrations-DWh38tO9.js → migrations-BCq7Zs2E.js} +2 -2
- package/dist/cli/{module-migration-CXfRJIV4.js → module-migration-lbeUrsYv.js} +2 -2
- package/dist/cli/{moved-Cnb4fp49.js → moved-DNOtp9LA.js} +1 -1
- package/dist/cli/{parse-BWM6IGhF.js → parse-BPf3kGnc.js} +1 -1
- package/dist/cli/{powersync-Dnyr-Wy5.js → powersync-B15CfH5Y.js} +4 -4
- package/dist/cli/powersync-DnBsDchT.js +1 -0
- package/dist/cli/{print-DJrSr56b.js → print-DjxpBRnv.js} +2 -2
- package/dist/cli/{providers-CpaISitn.js → providers-dyxcHQY3.js} +1 -1
- package/dist/cli/{remove-ChaieK3t.js → remove-BLq5gbal.js} +7 -7
- package/dist/cli/{render-DUNJ4Pss.js → render-CizUf3RW.js} +5 -5
- package/dist/cli/{run-CxFDjL1Q.js → run-ChEjR7yw.js} +3 -3
- package/dist/cli/{run-Cl9COGuy.js → run-ChOY6s4o.js} +9 -9
- package/dist/cli/{run-ChCQPYOh.js → run-MwM__teL.js} +41 -41
- package/dist/cli/seed-BOun22-k.js +1 -0
- package/dist/cli/{seed-BzVLTdRl.js → seed-CDnL4Tnc.js} +3 -3
- package/dist/cli/{shared-5uqc1GBj.js → shared-DV5wIv-7.js} +1 -1
- package/dist/cli/{skills-0gz_qjVb.js → skills-DM3oeIxY.js} +1 -1
- package/dist/cli/{snapshot-DdAP7LWO.js → snapshot-B5LXkVMC.js} +3 -3
- package/dist/cli/{source-2irbWSck.js → source-BoLNG_2A.js} +1 -1
- package/dist/cli/{source-args-DAcQt-Mh.js → source-args-v8ljFDfc.js} +1 -1
- package/dist/cli/{spec-_MS0ym5r.js → spec-D6QeE2Zx.js} +1 -1
- package/dist/cli/{spec-B7n4Rthp.js → spec-Dz-PGCaM.js} +3 -3
- package/dist/cli/{sql-layout-DYKkQw1k.js → sql-layout-zo02f3Dm.js} +2 -2
- package/dist/cli/{stack-CteM33gC.js → stack-ClESAZYf.js} +1 -1
- package/dist/cli/{stack-env-6hS-WEmh.js → stack-env-3ziggrU3.js} +1 -1
- package/dist/cli/{sync-DnSOrQuA.js → sync-m-oZ_SyI.js} +4 -4
- package/dist/cli/{table-DeH8X0qz.js → table-dyKddjwo.js} +1 -1
- package/dist/cli/{upgrade-CWdrC-K3.js → upgrade-C9sgVZ5z.js} +5 -5
- package/dist/cli/{upgrade-cMy5fKkg.js → upgrade-WwEJaX3i.js} +3 -3
- package/dist/cli/{version-C5RAWmrD.js → version-D2BQuqta.js} +1 -1
- package/dist/client/index.d.ts +6 -6
- package/dist/client/native/index.d.ts +5 -5
- package/dist/{cloud-event-DcJwder2.d.ts → cloud-event-0pQ9vFNS.d.ts} +1 -1
- package/dist/{compiler-D3UmE7ao.d.ts → compiler-BEeVWXPS.d.ts} +2 -2
- package/dist/{composite-CWJvZgni.d.ts → composite-BJ9s-IJJ.d.ts} +7 -7
- package/dist/config/index.d.ts +4 -4
- package/dist/config/index.js +3 -3
- package/dist/{config-CvJHIy5q.js → config-bqKaPjst.js} +6 -27
- package/dist/{config-CTeR7XHK.js → config-r7njjNgh.js} +1 -1
- package/dist/{connectors-CHGiffYH.d.ts → connectors-uC5baoFV.d.ts} +4 -4
- package/dist/{context-BFEX0b7H.d.ts → context-nbYYjv7U.d.ts} +46 -51
- package/dist/{controller-Cl6HmMBk.d.ts → controller-TRocodqG.d.ts} +1 -1
- package/dist/{conversion-DlfStnln.d.ts → conversion-g8HzH9My.d.ts} +1 -1
- package/dist/create/index.d.ts +3 -3
- package/dist/create/index.js +2 -2
- package/dist/create/lite/index.d.ts +4 -4
- package/dist/create/lite/index.js +1 -1
- package/dist/credentials/index.d.ts +4 -4
- package/dist/{data-engine-BWoz9lED.d.ts → data-engine-rvbR2C4F.d.ts} +1 -1
- package/dist/{define-BLP6XtoL.d.ts → define-D8_9X5fZ.d.ts} +5 -5
- package/dist/{define-block-DibVN37N.d.ts → define-block-DWVZSZv1.d.ts} +12 -12
- package/dist/{documents-Cup1rpjF.d.ts → documents-BbwYyynk.d.ts} +3 -3
- package/dist/edge/index.d.ts +9 -9
- package/dist/elysia/index.d.ts +1 -1
- package/dist/{embeddings-D_RsS6ow.d.ts → embeddings-I3s5sTDt.d.ts} +1 -1
- package/dist/{ended-B8RyuUXF.d.ts → ended-EZzN9QTM.d.ts} +2 -2
- package/dist/{entitlements-Y-n4RGAd.d.ts → entitlements-B1i1-wfe.d.ts} +2 -2
- package/dist/eve/index.d.ts +5 -5
- package/dist/{eve-B7jxYPCw.d.ts → eve-BfhVFV33.d.ts} +2 -2
- package/dist/events/index.d.ts +3 -3
- package/dist/{events-Cc9DDQWH.d.ts → events-B2qbZps6.d.ts} +1 -1
- package/dist/{executor-DNPm13a9.d.ts → executor-BfirBzOr.d.ts} +4 -4
- package/dist/{executor-C-Ox9eKq.d.ts → executor-BlS0kCrN.d.ts} +1 -1
- package/dist/{executor-hGjrop3A.d.ts → executor-DXQIx4sW.d.ts} +1 -1
- package/dist/expo/index.d.ts +4 -4
- package/dist/{field-errors-Btn3czyz.d.ts → field-errors-tJvehEFc.d.ts} +10 -10
- package/dist/{fields-C3q2ypnO.d.ts → fields-snbaZ14h.d.ts} +1 -1
- package/dist/{filter-evaluate-CPxeae5X.d.ts → filter-evaluate-BRpNiNPG.d.ts} +1 -1
- package/dist/{filter-query-BXLs72G9.d.ts → filter-query-DBt7OKuH.d.ts} +1 -1
- package/dist/{flags-C01PLMJ-.d.ts → flags-DDKTThrO.d.ts} +2 -2
- package/dist/flags-sdk/index.d.ts +1 -1
- package/dist/{framework-GlxXiotm.d.ts → framework-DVYTtQXA.d.ts} +7 -7
- package/dist/{gateway-DzI687yd.d.ts → gateway-Ve7cByEr.d.ts} +3 -3
- package/dist/h3/index.d.ts +1 -1
- package/dist/h3/v1/index.d.ts +1 -1
- package/dist/hono/index.d.ts +9 -9
- package/dist/{inbox-NDKwSk_H.d.ts → inbox-c8B86Trp.d.ts} +5 -5
- package/dist/{index-DPMVWm_Z.d.ts → index-8US7qlvW.d.ts} +5 -5
- package/dist/{index-C_qlBJ3k.d.ts → index-B4wttiLh.d.ts} +4 -4
- package/dist/{index-CAY7rIQs.d.ts → index-BKrxynq9.d.ts} +5 -5
- package/dist/{index-BfYDY6eh.d.ts → index-BM6NmKSc.d.ts} +5 -5
- package/dist/{index-8wOL81rB.d.ts → index-BkzXwuIN.d.ts} +4 -3
- package/dist/{index-k-SyCzcQ.d.ts → index-CWAQRWY8.d.ts} +4 -4
- package/dist/{index-CQhPHHDF.d.ts → index-Cxsnd-OL.d.ts} +1 -1
- package/dist/{index-D1ckLbUM.d.ts → index-pZn6S_iq.d.ts} +1 -1
- package/dist/{index-C0_cweyT.d.ts → index-zsgNmE8m.d.ts} +14 -14
- package/dist/index.d.ts +6 -6
- package/dist/{kit-Dxx3MT8m.d.ts → kit-B8yWCRN7.d.ts} +3 -3
- package/dist/{knowledge-F1IhRI4Q.d.ts → knowledge-CsLPACGJ.d.ts} +5 -5
- package/dist/lint/index.d.ts +1 -1
- package/dist/list/index.d.ts +3 -3
- package/dist/{list-query-XHoYDlRN.d.ts → list-query-BcU8NnNL.d.ts} +3 -3
- package/dist/mapper/bin.js +6 -6
- package/dist/mcp/index.d.ts +6 -6
- package/dist/mcp/sdk/index.d.ts +6 -6
- package/dist/{messaging-C_Pr9tGx.d.ts → messaging-DQP09JsY.d.ts} +4 -4
- package/dist/nestjs/index.d.ts +2 -2
- package/dist/next/client/index.d.ts +1 -1
- package/dist/next/index.d.ts +103 -28
- package/dist/next/index.js +189 -49
- package/dist/node/index.d.ts +2 -2
- package/dist/{operations-DE7SOBw-.d.ts → operations-CB9atU2e.d.ts} +1 -1
- package/dist/{options-C4LuqmdG.js → options-BKBy5wM_.js} +2 -1
- package/dist/orpc/index.d.ts +8 -8
- package/dist/otel/index.d.ts +2 -2
- package/dist/otel/index.js +4 -4
- package/dist/{outbox-DxZgoKwp.d.ts → outbox-BZ712Z3X.d.ts} +4 -4
- package/dist/{pool-wjbAMqc1.d.ts → pool-DDR1ndk7.d.ts} +3 -3
- package/dist/{ports-DP0bthUk.d.ts → ports-hpbyMySO.d.ts} +1 -1
- package/dist/postgres/index.d.ts +4 -4
- package/dist/{postgrest-z-T0l23T.d.ts → postgrest-AJc8hnJU.d.ts} +1 -1
- package/dist/powersync/index.d.ts +6 -6
- package/dist/preset/index.d.ts +3 -3
- package/dist/preset/index.js +2 -2
- package/dist/{preset-DwuWNBip.js → preset-DCdEnJj9.js} +8 -13
- package/dist/{project-Bo1vZqVs.js → project-B32wb5J6.js} +4 -4
- package/dist/{provider-ClrIplXa.d.ts → provider-CWjzAIX9.d.ts} +1 -1
- package/dist/{push-token-v3xCcVU7.d.ts → push-token-DQ1ycFPU.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 +8 -8
- package/dist/react/session.d.ts +2 -2
- package/dist/react-router/index.d.ts +6 -6
- package/dist/realtime/index.d.ts +6 -6
- package/dist/realtime/index.js +1 -1
- package/dist/{record-form-D2-F4IwS.d.ts → record-form-CubgBrtI.d.ts} +1 -1
- package/dist/{recordings-BBSJt_YV.d.ts → recordings-DeZYx-Kv.d.ts} +1 -1
- package/dist/records/index.d.ts +9 -9
- package/dist/{refresh-CCKB1Wa6.d.ts → refresh-D02Pbf5B.d.ts} +1 -1
- package/dist/{refusal-D_tklIEb.d.ts → refusal-B0VmlAxF.d.ts} +2 -2
- package/dist/{resolve-Bj1qD7Dy.d.ts → resolve-CtX6T0c0.d.ts} +1 -1
- package/dist/{resource-D8pzB5Qf.d.ts → resource-WxN0IsvB.d.ts} +1 -1
- package/dist/{resource-execute-BSTIfp1D.d.ts → resource-execute-BzqR8DdD.d.ts} +2 -2
- package/dist/{resource-types-D5WEvYtV.d.ts → resource-types-BVbHgTPg.d.ts} +4 -4
- package/dist/{resources-CsZ7RhZC.d.ts → resources-BSbRa0Ab.d.ts} +2 -2
- package/dist/{respond-BzRG-0qc.d.ts → respond-Dzu_-EPH.d.ts} +1 -1
- package/dist/{sales-lines-KxxStRzU.d.ts → sales-lines-BsmrNHe9.d.ts} +1 -1
- package/dist/{scores-B2BiNuVJ.d.ts → scores-Y8TvyJi1.d.ts} +5 -5
- package/dist/server/index.d.ts +24 -24
- package/dist/server/index.js +2 -2
- package/dist/{server-types-BlDiY-ya.d.ts → server-types-BkTIxW_H.d.ts} +11 -11
- package/dist/{session-BGP98Rgj.d.ts → session-BOzx2qHC.d.ts} +6 -6
- package/dist/{session-status-C4t7kbSn.d.ts → session-status-BP8eYVnA.d.ts} +2 -2
- package/dist/sign-in-BzihC_8k.d.ts +50 -0
- package/dist/{sign-in-NO7LWlw4.js → sign-in-Cyj3ZlFX.js} +120 -25
- package/dist/{signers-BKgmVh6A.d.ts → signers-ZmxO1I05.d.ts} +4 -4
- package/dist/{signing-keys-BNDUxpQL.d.ts → signing-keys-udgP7Aod.d.ts} +2 -2
- package/dist/solid/index.d.ts +10 -10
- package/dist/solid-start/index.d.ts +6 -6
- package/dist/spec/index.d.ts +2 -2
- package/dist/sql/index.d.ts +4 -4
- package/dist/sql/index.js +2 -2
- package/dist/{sql-B7vBP9g0.js → sql-CyeDg3Yh.js} +321 -212
- package/dist/sqlite/index.d.ts +3 -3
- package/dist/{sso-B0Txid2-.d.ts → sso-CkU_4mtK.d.ts} +3 -3
- package/dist/ssr/index.d.ts +5 -5
- package/dist/storage/index.d.ts +3 -3
- package/dist/streams/index.d.ts +1 -1
- package/dist/{subject-readers-DJbzlm8a.d.ts → subject-readers-CB5Te02u.d.ts} +5 -5
- package/dist/{subject-readers-CeeJJOQ4.js → subject-readers-VHcrWhmq.js} +2 -2
- package/dist/{subjects-BpIEN1MS.d.ts → subjects-CiBNKy2y.d.ts} +4 -4
- package/dist/{support-D7CMbhRT.d.ts → support-BxyPOFk4.d.ts} +4 -4
- package/dist/{support-view-CIDXF3_H.d.ts → support-view-nqUWKHEs.d.ts} +1 -1
- package/dist/svelte/index.d.ts +9 -9
- package/dist/sveltekit/index.d.ts +7 -7
- package/dist/{tags-Dg4Ywmqp.d.ts → tags-Cm48BsOa.d.ts} +1 -1
- package/dist/tanstack-db/index.d.ts +3 -3
- package/dist/tanstack-start/index.d.ts +6 -6
- package/dist/{tenant-CyLEXgot.d.ts → tenant-C9YE_kqK.d.ts} +2 -2
- package/dist/testing/index.d.ts +25 -25
- package/dist/testing/index.js +1 -1
- package/dist/{timeline-Cjl-1hiA.d.ts → timeline-DvXtXq5q.d.ts} +5 -5
- package/dist/{topic-B_DGdAEs.d.ts → topic-breZqx_4.d.ts} +5 -5
- package/dist/{types-Dp3UCr1e.d.ts → types-B-D6fYx2.d.ts} +1 -1
- package/dist/{types-DF8JYEf5.d.ts → types-C3I7S51U.d.ts} +2 -2
- package/dist/{types-Czq9Xtpa.d.ts → types-CK2X2wCB.d.ts} +5 -5
- package/dist/{types-DFdg_4yN.d.ts → types-CPl9uJ0G.d.ts} +2 -2
- package/dist/{types-DR1MHh7N.d.ts → types-CwQgFo8c.d.ts} +4 -4
- package/dist/{types-Dr9wZgNy.d.ts → types-DMihLukJ.d.ts} +3 -3
- package/dist/{types-A4yyKEsg.d.ts → types-iCyZ3lMx.d.ts} +4 -4
- package/dist/{types-BdaBfYIw.d.ts → types-nspa5I-a.d.ts} +7 -7
- package/dist/{undo-B1jwnVyN.d.ts → undo-0HkWXASn.d.ts} +2 -2
- package/dist/{usage-Dp45V42p.d.ts → usage-BkWAPkg2.d.ts} +4 -4
- package/dist/{vault-BghaujrZ.d.ts → vault-BkdPmL7f.d.ts} +2 -2
- package/dist/vercel-connect/index.d.ts +1 -1
- package/dist/{verify-CI8LgSpv.d.ts → verify-41mZmspj.d.ts} +2 -2
- package/dist/{view-BvNA7EOC.d.ts → view-C8_xvD-j.d.ts} +1 -1
- package/dist/vue/index.d.ts +10 -10
- package/dist/{watch-topic-1zIAtiNM.d.ts → watch-topic-ItO3dz8m.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-CaEw822d.js → workflow-sdk-BWPsdzVK.js} +36 -8
- package/dist/{workflow-sdk-BNsZrcVg.d.ts → workflow-sdk-rg3IbCZC.d.ts} +3 -3
- package/dist/{workflows-B0ZPAQu0.d.ts → workflows-xL6t0TXx.d.ts} +7 -4
- package/dist/yjs/index.d.ts +2 -2
- package/package.json +1 -2
- package/schemas/config-v1.json +5 -352
- package/schemas/doctor-report-v1.json +1 -0
- package/skills/better-supabase/references/ui-recipes.md +5 -5
- package/skills/better-supabase-auth/SKILL.md +8 -1
- package/dist/cli/add-pDOlqWUa.js +0 -1
- package/dist/cli/env-Cy2lWBRC.js +0 -1
- package/dist/cli/powersync-DURhWDVc.js +0 -1
- package/dist/cli/seed-BJ7c-ktX.js +0 -1
- package/dist/sign-in-CAadgm33.d.ts +0 -24
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-
|
|
2
|
-
import { c as BlockOf } from "../../define-block-
|
|
3
|
-
import { a as AiTaskOutcome, c as AiTaskRunner, i as AiTaskFields, l as NewAiTask, n as AiSchedulesOptions, o as AiTaskRun, r as AiTask, s as AiTaskRunStatus, t as AiSchedules, u as createAiSchedules } from "../../ai-schedules-
|
|
1
|
+
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-9EUA3q_I.js";
|
|
2
|
+
import { c as BlockOf } from "../../define-block-DWVZSZv1.js";
|
|
3
|
+
import { a as AiTaskOutcome, c as AiTaskRunner, i as AiTaskFields, l as NewAiTask, n as AiSchedulesOptions, o as AiTaskRun, r as AiTask, s as AiTaskRunStatus, t as AiSchedules, u as createAiSchedules } from "../../ai-schedules-CZEfo-_M.js";
|
|
4
4
|
//#region src/blocks/ai-schedules/manifest.d.ts
|
|
5
5
|
/** The `ai-schedules` block's manifest (ADR 0029). */
|
|
6
6
|
export declare const aiSchedulesBlock: BlockOf<"ai-schedules", typeof createAiSchedules, Record<never, never>, {
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
import { T as ErrorMapper, b as DbError, t as AsyncResult } from "../../result-DZeA5KS6.js";
|
|
3
3
|
import { t as StandardSchemaV1 } from "../../standard-DBV730sF.js";
|
|
4
4
|
import { r as FieldsOf } from "../../block-fields-BE7pInWZ.js";
|
|
5
|
-
import { Ct as Events, _ as AnnouncementEventData } from "../../events-
|
|
5
|
+
import { Ct as Events, _ as AnnouncementEventData } from "../../events-B2qbZps6.js";
|
|
6
6
|
import { n as Logger } from "../../logger-DWVYUmwi.js";
|
|
7
|
-
import { r as BlockTemporalOptions } from "../../block-helpers-
|
|
8
|
-
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-
|
|
9
|
-
import { n as BlockHooks } from "../../block-hooks-
|
|
10
|
-
import { c as BlockOf } from "../../define-block-
|
|
11
|
-
import { p as SubscriptionStatus } from "../../topic-
|
|
12
|
-
import { n as TopicPort } from "../../watch-topic-
|
|
13
|
-
import { n as Controller, t as AuthPort } from "../../controller-
|
|
7
|
+
import { r as BlockTemporalOptions } from "../../block-helpers-D5emQ2O6.js";
|
|
8
|
+
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-9EUA3q_I.js";
|
|
9
|
+
import { n as BlockHooks } from "../../block-hooks-B8itxzEE.js";
|
|
10
|
+
import { c as BlockOf } from "../../define-block-DWVZSZv1.js";
|
|
11
|
+
import { p as SubscriptionStatus } from "../../topic-breZqx_4.js";
|
|
12
|
+
import { n as TopicPort } from "../../watch-topic-ItO3dz8m.js";
|
|
13
|
+
import { n as Controller, t as AuthPort } from "../../controller-TRocodqG.js";
|
|
14
14
|
//#region src/blocks/announcements/announcements.d.ts
|
|
15
15
|
type AnnouncementSeverity = "info" | "success" | "warning" | "critical";
|
|
16
16
|
/**
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { b as DbError, f as Result } from "../../result-DZeA5KS6.js";
|
|
2
|
-
import { Ct as Events, v as ApiKeyEventData } from "../../events-
|
|
3
|
-
import { r as AuthState } from "../../resolve-
|
|
4
|
-
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-
|
|
2
|
+
import { Ct as Events, v as ApiKeyEventData } from "../../events-B2qbZps6.js";
|
|
3
|
+
import { r as AuthState } from "../../resolve-CtX6T0c0.js";
|
|
4
|
+
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-9EUA3q_I.js";
|
|
5
5
|
import { t as BlockProblemOptions } from "../../problem-DNwN8iGz.js";
|
|
6
|
-
import { c as BlockOf } from "../../define-block-
|
|
7
|
-
import { n as Controller, t as AuthPort } from "../../controller-
|
|
8
|
-
import { _ as createApiKeys, a as ApiKeyExtraClaims, c as ApiKeyState, d as CreateApiKeyInput, f as CreatedApiKey, g as apiKeyResolver, h as apiKeyClaims, i as ApiKeyExtraClaim, l as ApiKeys, m as apiKeyChecksum, n as ApiKeyCheck, o as ApiKeyReservedClaim, p as ParsedApiKey, r as ApiKeyClaimsOptions, s as ApiKeyResolverOptions, t as ApiKey, u as ApiKeysOptions, v as parseApiKey } from "../../api-keys-
|
|
6
|
+
import { c as BlockOf } from "../../define-block-DWVZSZv1.js";
|
|
7
|
+
import { n as Controller, t as AuthPort } from "../../controller-TRocodqG.js";
|
|
8
|
+
import { _ as createApiKeys, a as ApiKeyExtraClaims, c as ApiKeyState, d as CreateApiKeyInput, f as CreatedApiKey, g as apiKeyResolver, h as apiKeyClaims, i as ApiKeyExtraClaim, l as ApiKeys, m as apiKeyChecksum, n as ApiKeyCheck, o as ApiKeyReservedClaim, p as ParsedApiKey, r as ApiKeyClaimsOptions, s as ApiKeyResolverOptions, t as ApiKey, u as ApiKeysOptions, v as parseApiKey } from "../../api-keys-JE-aykZE.js";
|
|
9
9
|
import { Entry } from "@supabase/middleware";
|
|
10
10
|
import { AuthMode, JWTClaims, UserClaims } from "@supabase/server";
|
|
11
11
|
//#region src/blocks/api-keys/pipeline.d.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { A as CollaborationEventData, Ct as Events } from "../../events-
|
|
2
|
-
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-
|
|
3
|
-
import { c as BlockOf } from "../../define-block-
|
|
4
|
-
import { a as ApprovalRequestDetail, c as ApprovalStep, d as createApprovals, i as ApprovalRequest, l as Approvals, n as ApprovalDecision, o as ApprovalRequestInput, r as ApprovalListOptions, s as ApprovalStatus, t as ApprovalApprovers, u as ApprovalsOptions } from "../../approvals-
|
|
1
|
+
import { A as CollaborationEventData, Ct as Events } from "../../events-B2qbZps6.js";
|
|
2
|
+
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-9EUA3q_I.js";
|
|
3
|
+
import { c as BlockOf } from "../../define-block-DWVZSZv1.js";
|
|
4
|
+
import { a as ApprovalRequestDetail, c as ApprovalStep, d as createApprovals, i as ApprovalRequest, l as Approvals, n as ApprovalDecision, o as ApprovalRequestInput, r as ApprovalListOptions, s as ApprovalStatus, t as ApprovalApprovers, u as ApprovalsOptions } from "../../approvals-BfEafAzt.js";
|
|
5
5
|
//#region src/blocks/approvals/events.d.ts
|
|
6
6
|
/** The events of the `approvals` block: type to data. */
|
|
7
7
|
type ApprovalsEvents = {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
2
|
import { T as ErrorMapper, t as AsyncResult } from "../../result-DZeA5KS6.js";
|
|
3
|
-
import { $ as RecordRef } from "../../types-
|
|
4
|
-
import { Ct as Events } from "../../events-
|
|
3
|
+
import { $ as RecordRef } from "../../types-CPl9uJ0G.js";
|
|
4
|
+
import { Ct as Events } from "../../events-B2qbZps6.js";
|
|
5
5
|
import { n as Logger } from "../../logger-DWVYUmwi.js";
|
|
6
|
-
import { a as BlockTenantOptions, r as BlockTemporalOptions } from "../../block-helpers-
|
|
7
|
-
import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-
|
|
8
|
-
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-
|
|
6
|
+
import { a as BlockTenantOptions, r as BlockTemporalOptions } from "../../block-helpers-D5emQ2O6.js";
|
|
7
|
+
import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-9EUA3q_I.js";
|
|
8
|
+
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-B8itxzEE.js";
|
|
9
9
|
import { t as AssetsSqlOptions } from "../../options-D1hSuf50.js";
|
|
10
|
-
import { c as BlockOf, rn as RecordBinding } from "../../define-block-
|
|
10
|
+
import { c as BlockOf, rn as RecordBinding } from "../../define-block-DWVZSZv1.js";
|
|
11
11
|
//#region src/blocks/assets/assets.d.ts
|
|
12
12
|
interface AssetsOptions extends BlockTemporalOptions, BlockTenantOptions {
|
|
13
13
|
readonly transport: BlockTransport;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
2
|
import { T as ErrorMapper, t as AsyncResult } from "../../result-DZeA5KS6.js";
|
|
3
|
-
import { Ct as Events } from "../../events-
|
|
4
|
-
import { p as AssignmentEventData } from "../../index-
|
|
3
|
+
import { Ct as Events } from "../../events-B2qbZps6.js";
|
|
4
|
+
import { p as AssignmentEventData } from "../../index-B4wttiLh.js";
|
|
5
5
|
import { n as Logger } from "../../logger-DWVYUmwi.js";
|
|
6
|
-
import { r as BlockTemporalOptions } from "../../block-helpers-
|
|
7
|
-
import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-
|
|
8
|
-
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-
|
|
9
|
-
import { h as FilterQuery } from "../../filter-query-
|
|
10
|
-
import { Sn as EntitySchema, c as BlockOf } from "../../define-block-
|
|
6
|
+
import { r as BlockTemporalOptions } from "../../block-helpers-D5emQ2O6.js";
|
|
7
|
+
import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-9EUA3q_I.js";
|
|
8
|
+
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-B8itxzEE.js";
|
|
9
|
+
import { h as FilterQuery } from "../../filter-query-DBt7OKuH.js";
|
|
10
|
+
import { Sn as EntitySchema, c as BlockOf } from "../../define-block-DWVZSZv1.js";
|
|
11
11
|
//#region src/blocks/assignment/assignment.d.ts
|
|
12
12
|
/** How a queue picks the next owner. */
|
|
13
13
|
type AssignmentStrategy = "round_robin" | "weighted";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { b as DbError, f as Result, t as AsyncResult } from "../../result-DZeA5KS6.js";
|
|
2
|
-
import { Ct as Events, ot as StorageObjectEventData, y as AttachmentEventData } from "../../events-
|
|
3
|
-
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-
|
|
2
|
+
import { Ct as Events, ot as StorageObjectEventData, y as AttachmentEventData } from "../../events-B2qbZps6.js";
|
|
3
|
+
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-9EUA3q_I.js";
|
|
4
4
|
import { t as Author } from "../../block-authors-DzXLUiIq.js";
|
|
5
|
-
import { At as NewAttachment, Ct as AttachmentScannerOptions, Dt as AttachmentVersion, Et as AttachmentUpload, Ft as ScannedObject, It as attachmentVersionOf, Lt as createAttachmentScanner, Mt as ObjectScanner, Nt as ObjectScannerOptions, Ot as Attachments, Pt as ScanVerdict, Rt as createAttachments, Sn as EntitySchema, St as AttachmentScanner, Tt as AttachmentStorage, _t as AttachmentDownload, bt as AttachmentReplacement, c as BlockOf, gt as AttachmentBucket, ht as Attachment, jt as ObjectScanJob, kt as AttachmentsOptions, ln as RecordBindingWrite, mn as RecordRowInput, rn as RecordBinding, vt as AttachmentImageUrlOptions, wt as AttachmentStatus, xt as AttachmentScanJob, yt as AttachmentImages, zt as createObjectScanner } from "../../define-block-
|
|
6
|
-
import { n as Controller } from "../../controller-
|
|
5
|
+
import { At as NewAttachment, Ct as AttachmentScannerOptions, Dt as AttachmentVersion, Et as AttachmentUpload, Ft as ScannedObject, It as attachmentVersionOf, Lt as createAttachmentScanner, Mt as ObjectScanner, Nt as ObjectScannerOptions, Ot as Attachments, Pt as ScanVerdict, Rt as createAttachments, Sn as EntitySchema, St as AttachmentScanner, Tt as AttachmentStorage, _t as AttachmentDownload, bt as AttachmentReplacement, c as BlockOf, gt as AttachmentBucket, ht as Attachment, jt as ObjectScanJob, kt as AttachmentsOptions, ln as RecordBindingWrite, mn as RecordRowInput, rn as RecordBinding, vt as AttachmentImageUrlOptions, wt as AttachmentStatus, xt as AttachmentScanJob, yt as AttachmentImages, zt as createObjectScanner } from "../../define-block-DWVZSZv1.js";
|
|
6
|
+
import { n as Controller } from "../../controller-TRocodqG.js";
|
|
7
7
|
//#region src/blocks/attachments/record-binding.d.ts
|
|
8
8
|
/** A pending write to a record's files, for `useOptimistic`. */
|
|
9
9
|
type AttachmentsOptimisticAction = {
|
|
@@ -1,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-DZeA5KS6.js";
|
|
3
|
-
import { O as AnyFunctions, k as AnyModels, ut as TableKey } from "../../types-
|
|
4
|
-
import { Ct as Events, b as AuditRevealEventData } from "../../events-
|
|
3
|
+
import { O as AnyFunctions, k as AnyModels, ut as TableKey } from "../../types-CPl9uJ0G.js";
|
|
4
|
+
import { Ct as Events, b as AuditRevealEventData } from "../../events-B2qbZps6.js";
|
|
5
5
|
import { n as Logger } from "../../logger-DWVYUmwi.js";
|
|
6
|
-
import { r as BlockTemporalOptions } from "../../block-helpers-
|
|
7
|
-
import { n as SqlClient } from "../../executor-
|
|
8
|
-
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-
|
|
9
|
-
import { n as BlockHooks } from "../../block-hooks-
|
|
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-
|
|
15
|
-
import { a as UndoToken } from "../../undo-
|
|
16
|
-
import { n as AuditCategory } from "../../context-
|
|
6
|
+
import { r as BlockTemporalOptions } from "../../block-helpers-D5emQ2O6.js";
|
|
7
|
+
import { n as SqlClient } from "../../executor-DXQIx4sW.js";
|
|
8
|
+
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-9EUA3q_I.js";
|
|
9
|
+
import { n as BlockHooks } from "../../block-hooks-B8itxzEE.js";
|
|
10
|
+
import { Yt as WhereInput, t as BetterSupabase } from "../../define-D8_9X5fZ.js";
|
|
11
|
+
import { c as BlockOf } from "../../define-block-DWVZSZv1.js";
|
|
12
|
+
import { i as EventSink, t as CloudEvent } from "../../cloud-event-0pQ9vFNS.js";
|
|
13
|
+
import { i as ListDefinition } from "../../list-query-BcU8NnNL.js";
|
|
14
|
+
import { n as Controller, t as AuthPort } from "../../controller-TRocodqG.js";
|
|
15
|
+
import { a as UndoToken } from "../../undo-0HkWXASn.js";
|
|
16
|
+
import { n as AuditCategory } from "../../context-nbYYjv7U.js";
|
|
17
17
|
//#region src/blocks/audit/audit.d.ts
|
|
18
18
|
interface PurgeAuditLogOptions extends BlockTemporalOptions {
|
|
19
19
|
/**
|
|
@@ -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-DZeA5KS6.js";
|
|
3
|
-
import { $ as RecordRef } from "../../types-
|
|
4
|
-
import { Ct as Events } from "../../events-
|
|
3
|
+
import { $ as RecordRef } from "../../types-CPl9uJ0G.js";
|
|
4
|
+
import { Ct as Events } from "../../events-B2qbZps6.js";
|
|
5
5
|
import { n as Logger } from "../../logger-DWVYUmwi.js";
|
|
6
|
-
import { r as BlockTemporalOptions } from "../../block-helpers-
|
|
7
|
-
import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-
|
|
8
|
-
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-
|
|
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-
|
|
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 { o as ApprovalRequestInput } from "../../approvals-
|
|
13
|
-
import { n as FilterRecordField, t as FilterEvaluation } from "../../filter-evaluate-
|
|
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-
|
|
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-
|
|
6
|
+
import { r as BlockTemporalOptions } from "../../block-helpers-D5emQ2O6.js";
|
|
7
|
+
import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-9EUA3q_I.js";
|
|
8
|
+
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-B8itxzEE.js";
|
|
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-DBt7OKuH.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-DWVZSZv1.js";
|
|
11
|
+
import { n as Controller, t as AuthPort } from "../../controller-TRocodqG.js";
|
|
12
|
+
import { o as ApprovalRequestInput } from "../../approvals-BfEafAzt.js";
|
|
13
|
+
import { n as FilterRecordField, t as FilterEvaluation } from "../../filter-evaluate-BRpNiNPG.js";
|
|
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-snbaZ14h.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-g8HzH9My.js";
|
|
16
16
|
//#region src/blocks/automations/automations.d.ts
|
|
17
17
|
/** What a rule runs when it matches: an action reference (ADR 0046). */
|
|
18
18
|
type RuleAction = ActionRef;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
2
|
import { T as ErrorMapper, t as AsyncResult } from "../../result-DZeA5KS6.js";
|
|
3
|
-
import { $ as RecordRef } from "../../types-
|
|
4
|
-
import { Ct as Events } from "../../events-
|
|
3
|
+
import { $ as RecordRef } from "../../types-CPl9uJ0G.js";
|
|
4
|
+
import { Ct as Events } from "../../events-B2qbZps6.js";
|
|
5
5
|
import { n as Logger } from "../../logger-DWVYUmwi.js";
|
|
6
|
-
import { a as BlockTenantOptions, r as BlockTemporalOptions } from "../../block-helpers-
|
|
7
|
-
import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-
|
|
8
|
-
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-
|
|
9
|
-
import { Sn as EntitySchema, c as BlockOf, ln as RecordBindingWrite, rn as RecordBinding } from "../../define-block-
|
|
6
|
+
import { a as BlockTenantOptions, r as BlockTemporalOptions } from "../../block-helpers-D5emQ2O6.js";
|
|
7
|
+
import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-9EUA3q_I.js";
|
|
8
|
+
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-B8itxzEE.js";
|
|
9
|
+
import { Sn as EntitySchema, c as BlockOf, ln as RecordBindingWrite, rn as RecordBinding } from "../../define-block-DWVZSZv1.js";
|
|
10
10
|
import { n as Money } from "../../money-BNRdJQzA.js";
|
|
11
11
|
//#region src/blocks/billable-time/billable-time.d.ts
|
|
12
12
|
/** How `unbilled` and `invoice` turn entries into lines. */
|
|
@@ -1,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-DZeA5KS6.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-B2qbZps6.js";
|
|
4
4
|
import { n as Logger } from "../../logger-DWVYUmwi.js";
|
|
5
|
-
import { i as CursorPageOptions, r as BlockTemporalOptions } from "../../block-helpers-
|
|
6
|
-
import { n as SqlClient } from "../../executor-
|
|
7
|
-
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-
|
|
8
|
-
import { n as BlockHooks } from "../../block-hooks-
|
|
5
|
+
import { i as CursorPageOptions, r as BlockTemporalOptions } from "../../block-helpers-D5emQ2O6.js";
|
|
6
|
+
import { n as SqlClient } from "../../executor-DXQIx4sW.js";
|
|
7
|
+
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-9EUA3q_I.js";
|
|
8
|
+
import { n as BlockHooks } from "../../block-hooks-B8itxzEE.js";
|
|
9
9
|
import { n as StripeSource, r as StripeTaxId, t as StripeClient } from "../../stripe-X22LjuH-.js";
|
|
10
|
-
import { c as BlockOf } from "../../define-block-
|
|
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-DWVZSZv1.js";
|
|
11
|
+
import { i as EventSink } from "../../cloud-event-0pQ9vFNS.js";
|
|
12
|
+
import { n as Controller, t as AuthPort } from "../../controller-TRocodqG.js";
|
|
13
|
+
import { d as stripeInboxVerify, f as verifyStripeWebhook, u as signStripeWebhook } from "../../verify-41mZmspj.js";
|
|
14
14
|
//#region src/blocks/billing/events.d.ts
|
|
15
15
|
/** The events of the `billing` block: type to data. */
|
|
16
16
|
type BillingEvents = {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { b as DbError } from "../../result-DZeA5KS6.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-B2qbZps6.js";
|
|
3
|
+
import { c as BlockOf } from "../../define-block-DWVZSZv1.js";
|
|
4
|
+
import { n as Controller } from "../../controller-TRocodqG.js";
|
|
5
5
|
import { o as WeeklyHours } from "../../availability-BdeKCHpl.js";
|
|
6
|
-
import { C as bookingSeriesOf, S as BookingWeekday, T as parseRecurrence, _ as BookedSeries, a as BookingExceptionInput, b as BookingSeriesScope, c as BookingResourceInput, d as BookingStatus, f as Bookings, g as createBookings, h as PublicBookingService, i as BookingDuration, l as BookingServiceInput, m as PlacedBooking, n as Booking, o as BookingExpirePayload, p as BookingsOptions, r as BookingCustomer, s as BookingRange, t as BOOKING_EXPIRE_QUEUE, u as BookingSlot, v as BookingRecurrence, w as formatRecurrence, x as BookingSeriesStatus, y as BookingSeries } from "../../bookings-
|
|
6
|
+
import { C as bookingSeriesOf, S as BookingWeekday, T as parseRecurrence, _ as BookedSeries, a as BookingExceptionInput, b as BookingSeriesScope, c as BookingResourceInput, d as BookingStatus, f as Bookings, g as createBookings, h as PublicBookingService, i as BookingDuration, l as BookingServiceInput, m as PlacedBooking, n as Booking, o as BookingExpirePayload, p as BookingsOptions, r as BookingCustomer, s as BookingRange, t as BOOKING_EXPIRE_QUEUE, u as BookingSlot, v as BookingRecurrence, w as formatRecurrence, x as BookingSeriesStatus, y as BookingSeries } from "../../bookings-xsmM2TA_.js";
|
|
7
7
|
import { t as EventCalendarEvent } from "../../event-calendar-DVLs2wUO.js";
|
|
8
8
|
import { t as VisibleRange } from "../../range-p5V4rBhZ.js";
|
|
9
9
|
//#region src/blocks/bookings/rows.d.ts
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
2
|
import { T as ErrorMapper, t as AsyncResult } from "../../result-DZeA5KS6.js";
|
|
3
|
-
import { $ as SaasEventData, Ct as Events } from "../../events-
|
|
3
|
+
import { $ as SaasEventData, Ct as Events } from "../../events-B2qbZps6.js";
|
|
4
4
|
import { n as Logger } from "../../logger-DWVYUmwi.js";
|
|
5
|
-
import { t as BlockTransport } from "../../block-transport-
|
|
6
|
-
import { n as BlockHooks } from "../../block-hooks-
|
|
7
|
-
import { c as BlockOf } from "../../define-block-
|
|
5
|
+
import { t as BlockTransport } from "../../block-transport-9EUA3q_I.js";
|
|
6
|
+
import { n as BlockHooks } from "../../block-hooks-B8itxzEE.js";
|
|
7
|
+
import { c as BlockOf } from "../../define-block-DWVZSZv1.js";
|
|
8
8
|
//#region src/blocks/bulk/bulk.d.ts
|
|
9
9
|
/** The actions every install knows, when the block that owns each is installed. */
|
|
10
10
|
type BuiltInBulkAction = "tags.set" | "stateMachine.transition" | "relations.link" | "trash.trash" | "collections.add" | "appTables.set";
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
import { T as ErrorMapper, b as DbError, t as AsyncResult } from "../../result-DZeA5KS6.js";
|
|
3
3
|
import { t as StandardSchemaV1 } from "../../standard-DBV730sF.js";
|
|
4
4
|
import { r as FieldsOf } from "../../block-fields-BE7pInWZ.js";
|
|
5
|
-
import { Ct as Events, tt as SchedulingEventData } from "../../events-
|
|
5
|
+
import { Ct as Events, tt as SchedulingEventData } from "../../events-B2qbZps6.js";
|
|
6
6
|
import { n as Logger } from "../../logger-DWVYUmwi.js";
|
|
7
|
-
import { t as BlockTransport } from "../../block-transport-
|
|
8
|
-
import { n as BlockHooks } from "../../block-hooks-
|
|
9
|
-
import { Sn as EntitySchema, c as BlockOf } from "../../define-block-
|
|
10
|
-
import { n as Controller } from "../../controller-
|
|
7
|
+
import { t as BlockTransport } from "../../block-transport-9EUA3q_I.js";
|
|
8
|
+
import { n as BlockHooks } from "../../block-hooks-B8itxzEE.js";
|
|
9
|
+
import { Sn as EntitySchema, c as BlockOf } from "../../define-block-DWVZSZv1.js";
|
|
10
|
+
import { n as Controller } from "../../controller-TRocodqG.js";
|
|
11
11
|
import { 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, 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-BdeKCHpl.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-DVLs2wUO.js";
|
|
13
13
|
import { t as VisibleRange } from "../../range-p5V4rBhZ.js";
|
|
@@ -2,7 +2,7 @@ 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-DcLhnDhQ.js";
|
|
4
4
|
import { t as AsyncResult } from "../../result-ntFBW2p2.js";
|
|
5
|
-
import { t as calendarSqlOptions } from "../../options-
|
|
5
|
+
import { t as calendarSqlOptions } from "../../options-BKBy5wM_.js";
|
|
6
6
|
import { n as event, t as defineEvents } from "../../event-map-CtPFhcOp.js";
|
|
7
7
|
import { t as defineController } from "../../controller-BEliOBOv.js";
|
|
8
8
|
import { A as recordsOf, C as optionalInstant, L as textOf, O as recordOf, j as requiredInstant, o as blockCall, w as optionalText, x as oneOf } from "../../block-helpers-B0f0ZVb5.js";
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
import { t as AsyncResult } from "../../result-DZeA5KS6.js";
|
|
3
3
|
import { t as StandardSchemaV1 } from "../../standard-DBV730sF.js";
|
|
4
4
|
import { r as FieldsOf } from "../../block-fields-BE7pInWZ.js";
|
|
5
|
-
import { Ct as Events, j as CommerceEventData } from "../../events-
|
|
5
|
+
import { Ct as Events, j as CommerceEventData } from "../../events-B2qbZps6.js";
|
|
6
6
|
import { n as Logger } from "../../logger-DWVYUmwi.js";
|
|
7
|
-
import { i as CursorPageOptions, n as BlockOptions } from "../../block-helpers-
|
|
8
|
-
import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-
|
|
9
|
-
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-
|
|
10
|
-
import { h as FilterQuery } from "../../filter-query-
|
|
11
|
-
import { Sn as EntitySchema, c as BlockOf } from "../../define-block-
|
|
7
|
+
import { i as CursorPageOptions, n as BlockOptions } from "../../block-helpers-D5emQ2O6.js";
|
|
8
|
+
import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-9EUA3q_I.js";
|
|
9
|
+
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-B8itxzEE.js";
|
|
10
|
+
import { h as FilterQuery } from "../../filter-query-DBt7OKuH.js";
|
|
11
|
+
import { Sn as EntitySchema, c as BlockOf } from "../../define-block-DWVZSZv1.js";
|
|
12
12
|
import { n as Money } from "../../money-BNRdJQzA.js";
|
|
13
13
|
import { t as RankNeighbors } from "../../rank-result-Bwe7igy-.js";
|
|
14
14
|
//#region src/blocks/catalog/catalog.d.ts
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
2
|
import { T as ErrorMapper, t as AsyncResult } from "../../result-DZeA5KS6.js";
|
|
3
|
-
import { $ as RecordRef } from "../../types-
|
|
4
|
-
import { Ct as Events } from "../../events-
|
|
5
|
-
import { m as ChannelEventData } from "../../index-
|
|
3
|
+
import { $ as RecordRef } from "../../types-CPl9uJ0G.js";
|
|
4
|
+
import { Ct as Events } from "../../events-B2qbZps6.js";
|
|
5
|
+
import { m as ChannelEventData } from "../../index-B4wttiLh.js";
|
|
6
6
|
import { n as Logger } from "../../logger-DWVYUmwi.js";
|
|
7
|
-
import { a as BlockTenantOptions, r as BlockTemporalOptions } from "../../block-helpers-
|
|
8
|
-
import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-
|
|
9
|
-
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-
|
|
10
|
-
import { Sn as EntitySchema, c as BlockOf } from "../../define-block-
|
|
7
|
+
import { a as BlockTenantOptions, r as BlockTemporalOptions } from "../../block-helpers-D5emQ2O6.js";
|
|
8
|
+
import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-9EUA3q_I.js";
|
|
9
|
+
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-B8itxzEE.js";
|
|
10
|
+
import { Sn as EntitySchema, c as BlockOf } from "../../define-block-DWVZSZv1.js";
|
|
11
11
|
//#region src/blocks/channels/channels.d.ts
|
|
12
12
|
/** Who reads a channel: the tenant, or its members. */
|
|
13
13
|
type ChannelVisibility = "public" | "private";
|
|
@@ -2,19 +2,19 @@
|
|
|
2
2
|
import { T as ErrorMapper, t as AsyncResult } from "../../result-DZeA5KS6.js";
|
|
3
3
|
import { t as StandardSchemaV1 } from "../../standard-DBV730sF.js";
|
|
4
4
|
import { r as FieldsOf } from "../../block-fields-BE7pInWZ.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-B2qbZps6.js";
|
|
6
|
+
import { P as SavedItemEventData, g as CollectionEventData, h as CollectionEntryEventData } from "../../index-B4wttiLh.js";
|
|
7
7
|
import { n as Logger } from "../../logger-DWVYUmwi.js";
|
|
8
|
-
import { i as CursorPageOptions } from "../../block-helpers-
|
|
9
|
-
import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-
|
|
10
|
-
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-
|
|
11
|
-
import { I as Notifier, c as BlockOf } from "../../define-block-
|
|
8
|
+
import { i as CursorPageOptions } from "../../block-helpers-D5emQ2O6.js";
|
|
9
|
+
import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-9EUA3q_I.js";
|
|
10
|
+
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-B8itxzEE.js";
|
|
11
|
+
import { I as Notifier, c as BlockOf } from "../../define-block-DWVZSZv1.js";
|
|
12
12
|
import { t as RankNeighbors } from "../../rank-result-Bwe7igy-.js";
|
|
13
13
|
//#region src/blocks/collections/collections.d.ts
|
|
14
14
|
/** Who sees a collection: its owner, a team, or the whole organization. */
|
|
15
15
|
export declare const COLLECTION_SCOPES: readonly ["user", "team", "tenant"];
|
|
16
16
|
type CollectionScope = (typeof COLLECTION_SCOPES)[number];
|
|
17
|
-
/** A record in `config.
|
|
17
|
+
/** A record in `config.subjects`. */
|
|
18
18
|
interface CollectionSubject {
|
|
19
19
|
readonly type: string;
|
|
20
20
|
readonly id: string;
|
|
@@ -37,7 +37,7 @@ interface Collection {
|
|
|
37
37
|
readonly createdAt: Temporal.Instant;
|
|
38
38
|
readonly updatedAt: Temporal.Instant;
|
|
39
39
|
}
|
|
40
|
-
/** A record in a collection, with its title and URL from `config.
|
|
40
|
+
/** A record in a collection, with its title and URL from `config.subjects`. */
|
|
41
41
|
interface CollectionEntry {
|
|
42
42
|
readonly collectionId: string;
|
|
43
43
|
readonly subjectType: string;
|
|
@@ -58,7 +58,7 @@ interface CollectionEntryPage {
|
|
|
58
58
|
/** Pass as `cursor` for the next page; `undefined` on the last page. */
|
|
59
59
|
readonly next?: CollectionEntryCursor;
|
|
60
60
|
}
|
|
61
|
-
/** A record the caller starred, with its title and URL from `config.
|
|
61
|
+
/** A record the caller starred, with its title and URL from `config.subjects`. */
|
|
62
62
|
interface Star {
|
|
63
63
|
readonly organizationId: string;
|
|
64
64
|
readonly subjectType: string;
|
|
@@ -70,7 +70,7 @@ interface Star {
|
|
|
70
70
|
}
|
|
71
71
|
/**
|
|
72
72
|
* A record the caller saved for later, with its title and URL from
|
|
73
|
-
* `config.
|
|
73
|
+
* `config.subjects`.
|
|
74
74
|
*/
|
|
75
75
|
interface SavedItem {
|
|
76
76
|
readonly id: string;
|
|
@@ -108,7 +108,7 @@ interface SavedItemPage {
|
|
|
108
108
|
}
|
|
109
109
|
interface CreateCollectionInput {
|
|
110
110
|
readonly name: string;
|
|
111
|
-
/** A type in `config.
|
|
111
|
+
/** A type in `config.subjects` with a tenant column. */
|
|
112
112
|
readonly subjectType: string;
|
|
113
113
|
/** Default `user`. `team` and `tenant` need `collections.share`. */
|
|
114
114
|
readonly scope?: CollectionScope;
|
|
@@ -237,7 +237,7 @@ interface CollectionsOptions<S extends StandardSchemaV1 | undefined = undefined>
|
|
|
237
237
|
/**
|
|
238
238
|
* The collections block: favorites (a member's starred records, ranked for a
|
|
239
239
|
* sidebar) and lists (named, static collections of one subject type owned by a
|
|
240
|
-
* user, a team or the organization) on any record in `config.
|
|
240
|
+
* user, a team or the organization) on any record in `config.subjects`.
|
|
241
241
|
*/
|
|
242
242
|
export declare function createCollections<S extends StandardSchemaV1 | undefined = undefined>(options: CollectionsOptions<S>): Collections<FieldsOf<S>>;
|
|
243
243
|
//#endregion
|
|
@@ -117,7 +117,7 @@ function entryPage(rows, limit) {
|
|
|
117
117
|
/**
|
|
118
118
|
* The collections block: favorites (a member's starred records, ranked for a
|
|
119
119
|
* sidebar) and lists (named, static collections of one subject type owned by a
|
|
120
|
-
* user, a team or the organization) on any record in `config.
|
|
120
|
+
* user, a team or the organization) on any record in `config.subjects`.
|
|
121
121
|
*/
|
|
122
122
|
function createCollections(options) {
|
|
123
123
|
const call = blockCall(options.transport, options.schema, options.mappers);
|
|
@@ -2,19 +2,19 @@
|
|
|
2
2
|
import { T as ErrorMapper, b as DbError, f as Result, t as AsyncResult } from "../../result-DZeA5KS6.js";
|
|
3
3
|
import { t as StandardSchemaV1 } from "../../standard-DBV730sF.js";
|
|
4
4
|
import { r as FieldsOf } from "../../block-fields-BE7pInWZ.js";
|
|
5
|
-
import { $ as RecordRef } from "../../types-
|
|
5
|
+
import { $ as RecordRef } from "../../types-CPl9uJ0G.js";
|
|
6
6
|
import { n as Logger } from "../../logger-DWVYUmwi.js";
|
|
7
|
-
import { a as BlockTenantOptions, i as CursorPageOptions, r as BlockTemporalOptions } from "../../block-helpers-
|
|
8
|
-
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-
|
|
9
|
-
import { n as BlockHooks } from "../../block-hooks-
|
|
10
|
-
import { F as CommentsSqlOptions } from "../../authorization-
|
|
7
|
+
import { a as BlockTenantOptions, i as CursorPageOptions, r as BlockTemporalOptions } from "../../block-helpers-D5emQ2O6.js";
|
|
8
|
+
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-9EUA3q_I.js";
|
|
9
|
+
import { n as BlockHooks } from "../../block-hooks-B8itxzEE.js";
|
|
10
|
+
import { F as CommentsSqlOptions } from "../../authorization-CDU9tYA_.js";
|
|
11
11
|
import { t as Author } from "../../block-authors-DzXLUiIq.js";
|
|
12
12
|
import { a as isFileAnchor, i as fileAnchor, n as FileAnchor, o as conversationTopic, r as FileAnchorAt, t as AnchorRegion } from "../../anchors-7F34QyHa.js";
|
|
13
|
-
import { c as MessageEdit, l as MessageEdition, o as Message } from "../../messaging-
|
|
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-
|
|
13
|
+
import { c as MessageEdit, l as MessageEdition, o as Message } from "../../messaging-DQP09JsY.js";
|
|
14
|
+
import { Sn as EntitySchema, c as BlockOf, ln as RecordBindingWrite, mn as RecordRowInput, rn as RecordBinding } from "../../define-block-DWVZSZv1.js";
|
|
15
|
+
import { p as SubscriptionStatus } from "../../topic-breZqx_4.js";
|
|
16
|
+
import { n as TopicPort } from "../../watch-topic-ItO3dz8m.js";
|
|
17
|
+
import { n as Controller, t as AuthPort } from "../../controller-TRocodqG.js";
|
|
18
18
|
//#region src/blocks/comments/comments.d.ts
|
|
19
19
|
interface CommentsOptions<S extends StandardSchemaV1 | undefined = undefined> extends BlockTemporalOptions, BlockTenantOptions {
|
|
20
20
|
/**
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
import { T as ErrorMapper, t as AsyncResult } from "../../result-DZeA5KS6.js";
|
|
3
3
|
import { t as StandardSchemaV1 } from "../../standard-DBV730sF.js";
|
|
4
4
|
import { n as ExtraFields, r as FieldsOf } from "../../block-fields-BE7pInWZ.js";
|
|
5
|
-
import { Ct as Events } from "../../events-
|
|
5
|
+
import { Ct as Events } from "../../events-B2qbZps6.js";
|
|
6
6
|
import { n as Logger } from "../../logger-DWVYUmwi.js";
|
|
7
|
-
import { r as BlockTemporalOptions } from "../../block-helpers-
|
|
8
|
-
import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-
|
|
9
|
-
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-
|
|
10
|
-
import { Sn as EntitySchema, c as BlockOf } from "../../define-block-
|
|
7
|
+
import { r as BlockTemporalOptions } from "../../block-helpers-D5emQ2O6.js";
|
|
8
|
+
import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-9EUA3q_I.js";
|
|
9
|
+
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-B8itxzEE.js";
|
|
10
|
+
import { Sn as EntitySchema, c as BlockOf } from "../../define-block-DWVZSZv1.js";
|
|
11
11
|
//#region src/blocks/compliance/compliance.d.ts
|
|
12
12
|
interface ComplianceOptions<S extends StandardSchemaV1 | undefined = undefined> extends BlockTemporalOptions {
|
|
13
13
|
readonly transport: BlockTransport;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Ct as Events, N as ConnectorEventData } from "../../events-
|
|
2
|
-
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-
|
|
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-
|
|
1
|
+
import { Ct as Events, N as ConnectorEventData } from "../../events-B2qbZps6.js";
|
|
2
|
+
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-9EUA3q_I.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-uC5baoFV.js";
|
|
4
|
+
import { c as BlockOf } from "../../define-block-DWVZSZv1.js";
|
|
5
5
|
//#region src/blocks/connectors/events.d.ts
|
|
6
6
|
/** The events of the `connectors` block: type to data. */
|
|
7
7
|
type ConnectorsEvents = {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { T as ErrorMapper, t as AsyncResult } from "../../result-DZeA5KS6.js";
|
|
2
2
|
import { t as StandardSchemaV1 } from "../../standard-DBV730sF.js";
|
|
3
3
|
import { i as RowFields, r as FieldsOf } from "../../block-fields-BE7pInWZ.js";
|
|
4
|
-
import { Ct as Events } from "../../events-
|
|
5
|
-
import { A as PartyEventData } from "../../index-
|
|
4
|
+
import { Ct as Events } from "../../events-B2qbZps6.js";
|
|
5
|
+
import { A as PartyEventData } from "../../index-B4wttiLh.js";
|
|
6
6
|
import { n as Logger } from "../../logger-DWVYUmwi.js";
|
|
7
|
-
import { i as CursorPageOptions } from "../../block-helpers-
|
|
8
|
-
import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-
|
|
9
|
-
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-
|
|
10
|
-
import { Sn as EntitySchema, c as BlockOf } from "../../define-block-
|
|
7
|
+
import { i as CursorPageOptions } from "../../block-helpers-D5emQ2O6.js";
|
|
8
|
+
import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-9EUA3q_I.js";
|
|
9
|
+
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-B8itxzEE.js";
|
|
10
|
+
import { Sn as EntitySchema, c as BlockOf } from "../../define-block-DWVZSZv1.js";
|
|
11
11
|
//#region src/blocks/contacts/contacts.d.ts
|
|
12
12
|
/** Where a page of a list stops: the last row's name and id. */
|
|
13
13
|
interface PartyCursor {
|
|
@@ -145,7 +145,7 @@ interface ContactsOptions<S extends StandardSchemaV1 | undefined = undefined> {
|
|
|
145
145
|
}
|
|
146
146
|
/**
|
|
147
147
|
* The parties block: companies and people an organization works with. Register
|
|
148
|
-
* them in `config.
|
|
148
|
+
* them in `config.subjects` with `partiesSubjects()` so comments, tags, files,
|
|
149
149
|
* pipelines and deals can point at them.
|
|
150
150
|
*/
|
|
151
151
|
export declare function createContacts<S extends StandardSchemaV1 | undefined = undefined>(options: ContactsOptions<S>): Contacts<FieldsOf<S>>;
|
|
@@ -111,7 +111,7 @@ function pageFrom(rows, limit) {
|
|
|
111
111
|
}
|
|
112
112
|
/**
|
|
113
113
|
* The parties block: companies and people an organization works with. Register
|
|
114
|
-
* them in `config.
|
|
114
|
+
* them in `config.subjects` with `partiesSubjects()` so comments, tags, files,
|
|
115
115
|
* pipelines and deals can point at them.
|
|
116
116
|
*/
|
|
117
117
|
function createContacts(options) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
2
|
import { t as AsyncResult } from "../../result-DZeA5KS6.js";
|
|
3
|
-
import { Ct as Events } from "../../events-
|
|
3
|
+
import { Ct as Events } from "../../events-B2qbZps6.js";
|
|
4
4
|
import { n as Logger } from "../../logger-DWVYUmwi.js";
|
|
5
|
-
import { n as BlockOptions } from "../../block-helpers-
|
|
6
|
-
import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-
|
|
7
|
-
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-
|
|
5
|
+
import { n as BlockOptions } from "../../block-helpers-D5emQ2O6.js";
|
|
6
|
+
import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-9EUA3q_I.js";
|
|
7
|
+
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-B8itxzEE.js";
|
|
8
8
|
import { n as contentSqlOptions, t as ContentSqlOptions } from "../../options-5WvWOkAm.js";
|
|
9
|
-
import { Sn as EntitySchema, c as BlockOf } from "../../define-block-
|
|
9
|
+
import { Sn as EntitySchema, c as BlockOf } from "../../define-block-DWVZSZv1.js";
|
|
10
10
|
//#region src/blocks/content/content.d.ts
|
|
11
11
|
declare const STATUSES: readonly ["draft", "scheduled", "published", "archived"];
|
|
12
12
|
declare const APPROVAL_STATUSES: readonly ["pending", "approved", "rejected", "cancelled", "expired"];
|