better-supabase 0.22.0 → 0.25.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/{access-sql-CNIgUqWf.js → access-sql-bjWFUWlk.js} +11 -0
- package/dist/{ai-schedules-7uQNMXve.d.ts → ai-schedules-yGZH-vQb.d.ts} +1 -1
- package/dist/ai-sdk/agents/index.d.ts +2 -2
- package/dist/ai-sdk/batches/index.d.ts +1 -1
- package/dist/ai-sdk/index.d.ts +1 -1
- package/dist/ai-sdk/mcp/index.d.ts +3 -3
- package/dist/{api-CHObZL7m.d.ts → api-B1OkIWdx.d.ts} +3 -3
- package/dist/{api-keys-D5k63K6y.d.ts → api-keys-ClhKBDcc.d.ts} +1 -1
- package/dist/{app-tables-BGzdnQm5.d.ts → app-tables-xij_MI5H.d.ts} +1 -1
- package/dist/{approvals-Dh9dUXrN.d.ts → approvals-C5fmPLsH.d.ts} +1 -1
- package/dist/astro/index.d.ts +5 -5
- package/dist/{authorization-DhoA7dsD.d.ts → authorization-BJV2i8xB.d.ts} +136 -21
- package/dist/{authorization-hooks-D_pwXlBs.d.ts → authorization-hooks-DtzreCAq.d.ts} +1 -1
- package/dist/{automations-FCnWy387.js → automations-8L3NEuoq.js} +4 -1
- package/dist/{availability-vguUvEK2.d.ts → availability-BdeKCHpl.d.ts} +10 -0
- package/dist/better-result/index.d.ts +2 -2
- package/dist/{bind-CFsctoFJ.d.ts → bind-vKDmdu_4.d.ts} +4 -4
- package/dist/{block-env-BrUNeuJ_.d.ts → block-env-wVLz0KMV.d.ts} +4 -4
- package/dist/blocks/access-requests/index.d.ts +2 -2
- package/dist/blocks/activities/index.d.ts +3 -3
- package/dist/blocks/agents/index.d.ts +2 -2
- package/dist/blocks/ai-cache/index.d.ts +1 -1
- package/dist/blocks/ai-chat/index.d.ts +5 -5
- package/dist/blocks/ai-files/index.d.ts +1 -1
- package/dist/blocks/ai-keys/index.d.ts +3 -3
- package/dist/blocks/ai-schedules/index.d.ts +2 -2
- package/dist/blocks/announcements/index.d.ts +5 -5
- package/dist/blocks/api-keys/index.d.ts +5 -5
- package/dist/blocks/approvals/index.d.ts +3 -3
- package/dist/blocks/assets/index.d.ts +2 -2
- package/dist/blocks/assignment/index.d.ts +3 -3
- package/dist/blocks/attachments/index.d.ts +3 -3
- package/dist/blocks/audit/index.d.ts +7 -7
- package/dist/blocks/automations/index.d.ts +5 -5
- package/dist/blocks/billable-time/index.d.ts +2 -2
- package/dist/blocks/billing/index.d.ts +5 -5
- package/dist/blocks/bookings/index.d.ts +6 -6
- package/dist/blocks/bulk/index.d.ts +2 -2
- package/dist/blocks/calendar/index.d.ts +50 -13
- package/dist/blocks/calendar/index.js +133 -30
- package/dist/blocks/catalog/index.d.ts +2 -2
- package/dist/blocks/channels/index.d.ts +3 -3
- package/dist/blocks/collections/index.d.ts +3 -3
- package/dist/blocks/comments/index.d.ts +5 -5
- package/dist/blocks/compliance/index.d.ts +2 -2
- package/dist/blocks/connectors/index.d.ts +3 -3
- package/dist/blocks/contacts/index.d.ts +3 -3
- package/dist/blocks/content/index.d.ts +2 -2
- package/dist/blocks/contracts/index.d.ts +2 -2
- package/dist/blocks/courses/index.d.ts +2 -2
- package/dist/blocks/created-by/index.d.ts +1 -1
- package/dist/blocks/custom-fields/index.d.ts +45 -3
- package/dist/blocks/custom-fields/index.js +40 -1
- package/dist/blocks/data-lifecycle/index.d.ts +4 -4
- package/dist/blocks/deals/index.d.ts +3 -3
- package/dist/blocks/dispatch/index.d.ts +2 -2
- package/dist/blocks/documents/index.d.ts +2 -2
- package/dist/blocks/domains/index.d.ts +2 -2
- package/dist/blocks/donations/index.d.ts +2 -2
- package/dist/blocks/drive/index.d.ts +4 -4
- package/dist/blocks/employees/index.d.ts +25 -6
- package/dist/blocks/employees/index.js +37 -2
- package/dist/blocks/enrichment/index.d.ts +3 -3
- package/dist/blocks/enrollments/index.d.ts +2 -2
- package/dist/blocks/entitlements/index.d.ts +3 -3
- package/dist/blocks/expenses/index.d.ts +2 -2
- package/dist/blocks/field-history/index.d.ts +1 -1
- package/dist/blocks/flags/index.d.ts +2 -2
- package/dist/blocks/forecasts/index.d.ts +3 -3
- package/dist/blocks/forms/index.d.ts +3 -3
- package/dist/blocks/goals/index.d.ts +1 -1
- package/dist/blocks/guests/index.d.ts +2 -2
- package/dist/blocks/hiring/index.d.ts +13 -6
- package/dist/blocks/hiring/index.js +15 -4
- package/dist/blocks/identities/index.d.ts +2 -2
- package/dist/blocks/imports/index.d.ts +2 -2
- package/dist/blocks/inbox/index.d.ts +6 -6
- package/dist/blocks/incidents/index.d.ts +2 -2
- package/dist/blocks/index.d.ts +4 -4
- package/dist/blocks/inventory/index.d.ts +2 -2
- package/dist/blocks/invoices/index.d.ts +3 -3
- package/dist/blocks/knowledge/index.d.ts +1 -1
- package/dist/blocks/lead-scoring/index.d.ts +1 -1
- package/dist/blocks/leases/index.d.ts +2 -2
- package/dist/blocks/leave/index.d.ts +2 -2
- package/dist/blocks/ledger/index.d.ts +2 -2
- package/dist/blocks/mail-sync/index.d.ts +3 -3
- package/dist/blocks/memberships/index.d.ts +1 -1
- package/dist/blocks/memory/index.d.ts +1 -1
- package/dist/blocks/messaging/index.d.ts +7 -7
- package/dist/blocks/metrics/index.d.ts +2 -2
- package/dist/blocks/mfa/index.d.ts +2 -2
- package/dist/blocks/moderation/index.d.ts +2 -2
- package/dist/blocks/notifications/index.d.ts +7 -7
- package/dist/blocks/numbering/index.d.ts +2 -2
- package/dist/blocks/oauth-server/index.d.ts +2 -2
- package/dist/blocks/onboarding/index.d.ts +2 -2
- package/dist/blocks/orders/index.d.ts +3 -3
- package/dist/blocks/organizations/index.d.ts +4 -4
- package/dist/blocks/outbox/index.d.ts +2 -2
- package/dist/blocks/passes/index.d.ts +3 -3
- package/dist/blocks/permissions/index.d.ts +3 -3
- package/dist/blocks/pipelines/index.d.ts +3 -3
- package/dist/blocks/posts/index.d.ts +2 -2
- package/dist/blocks/profiles/index.d.ts +1 -1
- package/dist/blocks/promotions/index.d.ts +2 -2
- package/dist/blocks/push/index.d.ts +3 -3
- package/dist/blocks/queue/index.d.ts +1 -1
- package/dist/blocks/quotes/index.d.ts +3 -3
- package/dist/blocks/rank/index.d.ts +1 -1
- package/dist/blocks/reactions/index.d.ts +5 -5
- package/dist/blocks/relations/index.d.ts +2 -2
- package/dist/blocks/reminders/index.d.ts +3 -3
- package/dist/blocks/reviews/index.d.ts +2 -2
- package/dist/blocks/saved-views/index.d.ts +4 -4
- package/dist/blocks/scores/index.d.ts +2 -2
- package/dist/blocks/search/index.d.ts +6 -4
- package/dist/blocks/search/index.js +2 -0
- package/dist/blocks/security-events/index.d.ts +3 -3
- package/dist/blocks/segments/index.d.ts +3 -3
- package/dist/blocks/sequences/index.d.ts +2 -2
- package/dist/blocks/service-accounts/index.d.ts +2 -2
- package/dist/blocks/sessions/index.d.ts +2 -2
- package/dist/blocks/settings/index.d.ts +3 -3
- package/dist/blocks/share-links/index.d.ts +30 -5
- package/dist/blocks/share-links/index.js +58 -22
- package/dist/blocks/shipments/index.d.ts +2 -2
- package/dist/blocks/signatures/index.d.ts +2 -2
- package/dist/blocks/signing-keys/index.d.ts +2 -2
- package/dist/blocks/sla/index.d.ts +3 -3
- package/dist/blocks/sso/index.d.ts +3 -3
- package/dist/blocks/state-machine/index.d.ts +2 -2
- package/dist/blocks/subjects/index.d.ts +2 -2
- package/dist/blocks/tags/index.d.ts +20 -5
- package/dist/blocks/tags/index.js +15 -2
- package/dist/blocks/tasks/index.d.ts +5 -5
- package/dist/blocks/teams/index.d.ts +28 -6
- package/dist/blocks/teams/index.js +10 -3
- package/dist/blocks/templates/index.d.ts +4 -4
- package/dist/blocks/time-tracking/index.d.ts +28 -5
- package/dist/blocks/time-tracking/index.js +27 -11
- package/dist/blocks/timeline/index.d.ts +4 -4
- package/dist/blocks/trash/index.d.ts +2 -2
- package/dist/blocks/undo/index.d.ts +2 -2
- package/dist/blocks/updated-at/index.d.ts +1 -1
- package/dist/blocks/usage/index.d.ts +2 -2
- package/dist/blocks/vercel-marketplace/index.d.ts +2 -2
- package/dist/blocks/versions/index.d.ts +2 -2
- package/dist/blocks/waitlist/index.d.ts +2 -2
- package/dist/blocks/webhooks/index.d.ts +6 -6
- package/dist/blocks/workflow-editor/index.d.ts +7 -7
- package/dist/blocks/workflows/index.d.ts +5 -5
- package/dist/{bookings-BpCNphYp.d.ts → bookings-CVw5-Q0Z.d.ts} +1 -1
- package/dist/chat-sdk/index.d.ts +2 -2
- package/dist/cli/{add-BXFzr0Wf.js → add-BTVrOGJF.js} +11 -11
- package/dist/cli/add-Bf1fyCWm.js +1 -0
- package/dist/cli/{add-B6CQOt3A.js → add-C2pNvVpu.js} +2 -2
- package/dist/cli/{backfill-Dflp6JZk.js → backfill-BicVPugb.js} +3 -3
- package/dist/cli/bin.js +1 -1
- package/dist/cli/{blocks-CBH3N7Fy.js → blocks-BmYOH4T-.js} +1 -1
- package/dist/cli/{blocks-FtOIcUbu.js → blocks-sScN-ik-.js} +1 -1
- package/dist/cli/{cache-61VwYKEv.js → cache-1TfBy2K4.js} +1 -1
- package/dist/cli/{codemod-CqPRa25J.js → codemod-ylE6wGLo.js} +1 -1
- package/dist/cli/{config-BH0goim0.js → config-BVfeG3A5.js} +37 -5
- package/dist/cli/{config-CTRzkX0H.js → config-CeaQMrvS.js} +1 -1
- package/dist/cli/{content-mapper-DGQQY5IA.js → content-mapper-hUW2nb92.js} +2 -2
- package/dist/cli/{db-DCeyHS1y.js → db-DwjyUbAh.js} +2 -2
- package/dist/cli/{doctor-BxxSO193.js → doctor-D3WKFBSv.js} +16 -16
- package/dist/cli/{gen-D2cqqqTH.js → gen-CqsUdsB2.js} +14 -14
- package/dist/cli/index.d.ts +1 -1
- package/dist/cli/index.js +7 -7
- package/dist/cli/{init-BnG1IE1y.js → init-DryZ5Mp1.js} +6 -6
- package/dist/cli/{live-D26OWOAb.js → live-Di45imoV.js} +2 -2
- package/dist/cli/{mcp-1l3C_GdB.js → mcp-BklC-3eK.js} +2 -2
- package/dist/cli/{metadata-DDfPBHwI.js → metadata-7PsBF5Xw.js} +3 -3
- package/dist/cli/{migration-safety-CQbrfZIx.js → migration-safety-Doy9qYO8.js} +2 -2
- package/dist/cli/{migrations-Ch5Uuvyj.js → migrations-JtsPYv8g.js} +1 -1
- package/dist/cli/{module-migration-Dul1uTYX.js → module-migration-ZIn1NCMi.js} +2 -2
- package/dist/cli/{powersync-CfT-tRx1.js → powersync-BRGXOCJ0.js} +2 -2
- package/dist/cli/powersync-Dq-txa0_.js +1 -0
- package/dist/cli/{print-CbPT4PTL.js → print-Dfqd4DB-.js} +2 -2
- package/dist/cli/{remove-kDH1yxKZ.js → remove-CQzSCYTu.js} +5 -5
- package/dist/cli/{render-0Vd7BaNA.js → render-DWRz-uPQ.js} +7 -4
- package/dist/cli/{run-DxTd55Ug.js → run-DPLedqTF.js} +25 -25
- package/dist/cli/{run-Dafms0D2.js → run-j54rk2w-.js} +8 -8
- package/dist/cli/{seed-CdSxunFT.js → seed-BMynpMPy.js} +2 -2
- package/dist/cli/seed-CO3j_bly.js +1 -0
- package/dist/cli/{shared-BQAMXvwd.js → shared-CslNcs-R.js} +1 -1
- package/dist/cli/{snapshot-B8K6gYjA.js → snapshot-DdN5GlhH.js} +3 -3
- package/dist/cli/{source-CXDyCWz5.js → source-COARbqch.js} +1 -1
- package/dist/cli/{source-args-z-jkabmO.js → source-args-CDmmFmFG.js} +1 -1
- package/dist/cli/{spec-BGsnTkIl.js → spec-CgLNZc_C.js} +2 -2
- package/dist/cli/{spec-CaN7nOqI.js → spec-DIhBQlBF.js} +1 -1
- package/dist/cli/{sql-layout-BGAlcp1U.js → sql-layout-8jrP5gIa.js} +2 -2
- package/dist/cli/{sync-CT_5VG0E.js → sync-SqyVHRSJ.js} +3 -3
- package/dist/cli/{upgrade-frUtPDDb.js → upgrade-CY-vj_qh.js} +4 -4
- package/dist/cli/{upgrade-DA7aO88E.js → upgrade-D0aLhluU.js} +2 -2
- package/dist/cli/{version-CUdPyV6J.js → version-Bhca9D6q.js} +1 -1
- package/dist/client/index.d.ts +5 -5
- package/dist/client/native/index.d.ts +4 -4
- package/dist/{cloud-event-CzZTJkXv.d.ts → cloud-event-DcJwder2.d.ts} +1 -1
- package/dist/{composite-ChzHhSB0.d.ts → composite-CWJvZgni.d.ts} +6 -6
- package/dist/config/index.d.ts +4 -4
- package/dist/config/index.js +4 -4
- package/dist/{config-C9AOcQ9S.js → config-C19McoGo.js} +4 -3
- package/dist/{config-CH-D2B-4.js → config-CP-WaboC.js} +6 -5
- package/dist/{connectors-Fud4amxp.d.ts → connectors-CHGiffYH.d.ts} +1 -1
- package/dist/{context-DEisra3V.d.ts → context-BJoHD20l.d.ts} +60 -14
- package/dist/{controller-B6vWdKSa.d.ts → controller-CwGXms17.d.ts} +1 -1
- package/dist/{conversion-DBgMck5U.d.ts → conversion-DlfStnln.d.ts} +1 -1
- package/dist/create/index.d.ts +3 -3
- package/dist/create/index.js +3 -3
- package/dist/create/lite/index.d.ts +3 -3
- package/dist/create/lite/index.js +2 -2
- package/dist/credentials/index.d.ts +3 -3
- package/dist/{define-Lf6rI2QN.d.ts → define-BLP6XtoL.d.ts} +1 -1
- package/dist/{define-block-DCAiOrNX.d.ts → define-block-DibVN37N.d.ts} +4 -4
- package/dist/edge/index.d.ts +8 -8
- package/dist/elysia/index.d.ts +1 -1
- package/dist/{ended-gUsMZVNg.d.ts → ended-B8RyuUXF.d.ts} +1 -1
- package/dist/{entitlements-BPaPd3MD.d.ts → entitlements-CsZcfllV.d.ts} +2 -2
- package/dist/eve/index.d.ts +2 -2
- package/dist/{event-calendar-DCufbihU.d.ts → event-calendar-DVLs2wUO.d.ts} +1 -1
- package/dist/events/index.d.ts +3 -3
- package/dist/{events-vcqenSYU.d.ts → events-Cc9DDQWH.d.ts} +2 -0
- package/dist/{executor-DNK401lZ.d.ts → executor-C-Ox9eKq.d.ts} +1 -1
- package/dist/{executor-aFV7nEBs.d.ts → executor-DNPm13a9.d.ts} +2 -2
- package/dist/expo/index.d.ts +3 -3
- package/dist/{field-errors-DBgDCITw.d.ts → field-errors-6BVg31Yp.d.ts} +7 -7
- package/dist/{framework-DKA3fTHl.d.ts → framework-GlxXiotm.d.ts} +6 -6
- package/dist/h3/index.d.ts +1 -1
- package/dist/h3/v1/index.d.ts +1 -1
- package/dist/hono/index.d.ts +8 -8
- package/dist/{index-ClvuSZEz.d.ts → index-BfYDY6eh.d.ts} +3 -3
- package/dist/{index-CM2aGNRo.d.ts → index-C0QuN9_P.d.ts} +186 -8
- package/dist/{index-CG9rA8H8.d.ts → index-C_qlBJ3k.d.ts} +2 -2
- package/dist/{index-3p_oWttZ.d.ts → index-Cagz4Z2k.d.ts} +1 -1
- package/dist/{index-ByF22_C6.d.ts → index-CbUCGMqj.d.ts} +3 -3
- package/dist/{index-C4sjewrr.d.ts → index-D01wHGSN.d.ts} +11 -11
- package/dist/{index-iRkFvJ7J.d.ts → index-D1ckLbUM.d.ts} +1 -1
- package/dist/{index-CdMZQCYR.d.ts → index-DOHx3JuB.d.ts} +4 -4
- package/dist/index.d.ts +2 -2
- package/dist/{instances-CK0jR3Pc.js → instances-qz2MCMyK.js} +111 -11
- package/dist/{kit-CVgQCIBO.d.ts → kit-Dxx3MT8m.d.ts} +3 -3
- package/dist/list/index.d.ts +1 -1
- package/dist/{list-query-XYfUZb0j.d.ts → list-query-XHoYDlRN.d.ts} +1 -1
- package/dist/mapper/bin.js +6 -6
- package/dist/mcp/index.d.ts +5 -5
- package/dist/mcp/sdk/index.d.ts +5 -5
- package/dist/nestjs/index.d.ts +2 -2
- package/dist/next/client/index.d.ts +1 -1
- package/dist/next/index.d.ts +21 -21
- package/dist/node/index.d.ts +2 -2
- package/dist/{operations-DC3wU3Sy.d.ts → operations-CPhOcuzl.d.ts} +1 -1
- package/dist/{options-fMxhtuVR.js → options-BJtdsK7b.js} +4 -1
- package/dist/options-BOGo1qCA.js +13 -0
- package/dist/options-BSsYXjhC.js +9 -0
- package/dist/options-C4LuqmdG.js +15 -0
- package/dist/{options-DhdazgTZ.js → options-eTepQ1rZ.js} +4 -1
- package/dist/{options-BfFC4iFE.js → options-jsOCvLUz.js} +3 -1
- package/dist/orpc/index.d.ts +7 -7
- package/dist/otel/index.d.ts +1 -1
- package/dist/otel/index.js +4 -4
- package/dist/{outbox-HxjZTfF6.d.ts → outbox-DxZgoKwp.d.ts} +2 -2
- package/dist/{pool-CrtT4dg-.d.ts → pool-wjbAMqc1.d.ts} +1 -1
- package/dist/{ports-BbBJVyS0.d.ts → ports-Bw7uxPd_.d.ts} +1 -1
- package/dist/postgres/index.d.ts +1 -1
- package/dist/powersync/index.d.ts +3 -3
- package/dist/preset/index.d.ts +3 -3
- package/dist/preset/index.js +3 -3
- package/dist/{preset-CS490mYJ.js → preset-BbSWLoXM.js} +2 -2
- package/dist/{project-NmP1NdLi.js → project-TN03XDsA.js} +5 -5
- package/dist/{provider-CqwEOLCA.d.ts → provider-ClrIplXa.d.ts} +1 -1
- package/dist/{push-token-CPJfPFa2.d.ts → push-token-vykw2JXT.d.ts} +1 -1
- package/dist/query/index.d.ts +1 -1
- package/dist/react/index.d.ts +7 -7
- 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 +5 -5
- package/dist/realtime/index.d.ts +4 -4
- package/dist/realtime/index.js +1 -1
- package/dist/{record-form-BbZpwsEi.d.ts → record-form-D2-F4IwS.d.ts} +1 -1
- package/dist/records/index.d.ts +7 -7
- package/dist/{refresh-DT_ICaK-.d.ts → refresh-CCKB1Wa6.d.ts} +1 -1
- package/dist/{refusal-OrlI3g4H.d.ts → refusal-D_tklIEb.d.ts} +2 -2
- package/dist/{resolve-CXX6DHv3.d.ts → resolve-Bj1qD7Dy.d.ts} +1 -1
- package/dist/{resolved-names-DdlJzoMK.js → resolved-names-Dsf28_Dr.js} +1 -1
- package/dist/{resource-execute-CUG6xUuh.d.ts → resource-execute-BSTIfp1D.d.ts} +1 -1
- package/dist/{resource-types-DjZ91WKA.d.ts → resource-types-D5WEvYtV.d.ts} +2 -2
- package/dist/{resources-6Ncdt9XT.d.ts → resources-CsZ7RhZC.d.ts} +1 -1
- package/dist/{respond-oZeJ342J.d.ts → respond-BzRG-0qc.d.ts} +1 -1
- package/dist/server/index.d.ts +20 -20
- package/dist/{server-types-BH6AjDBN.d.ts → server-types-BlDiY-ya.d.ts} +8 -8
- package/dist/{session-Y5SSYO2C.d.ts → session-BGP98Rgj.d.ts} +5 -5
- package/dist/{session-status-qQLm7jzh.d.ts → session-status-C4t7kbSn.d.ts} +2 -2
- package/dist/{sign-in-BAjR49fq.d.ts → sign-in-CAadgm33.d.ts} +2 -2
- package/dist/solid/index.d.ts +9 -9
- package/dist/solid-start/index.d.ts +5 -5
- package/dist/spec/index.d.ts +1 -1
- package/dist/sql/index.d.ts +5 -5
- package/dist/sql/index.js +5 -5
- package/dist/{sql-BMXEHTvr.js → sql-Dg3W1ENk.js} +5113 -1530
- package/dist/sqlite/index.d.ts +1 -1
- package/dist/ssr/index.d.ts +5 -5
- package/dist/storage/index.js +1 -1
- package/dist/{subject-readers-8GySC9Z8.d.ts → subject-readers-DJbzlm8a.d.ts} +1 -1
- package/dist/subjects-NomQg6Eg.d.ts +131 -0
- package/dist/{support-B4ZBVxt3.d.ts → support-D7CMbhRT.d.ts} +4 -4
- package/dist/{support-view-BYOgwXsJ.d.ts → support-view-CIDXF3_H.d.ts} +1 -1
- package/dist/svelte/index.d.ts +8 -8
- package/dist/sveltekit/index.d.ts +6 -6
- package/dist/{tags-Cjtcp5cN.d.ts → tags-Dg4Ywmqp.d.ts} +1 -1
- package/dist/tanstack-db/index.d.ts +1 -1
- package/dist/tanstack-start/index.d.ts +5 -5
- package/dist/{tenant-BHvMFNXl.d.ts → tenant-BRmKZ7aq.d.ts} +2 -2
- package/dist/testing/index.d.ts +16 -16
- package/dist/testing/index.js +2 -2
- package/dist/{timeline-CEzj9v1z.d.ts → timeline-Cjl-1hiA.d.ts} +3 -3
- package/dist/{topic-gTVjLGTk.d.ts → topic-CpsKVBot.d.ts} +3 -3
- package/dist/{topic-DClSoqY7.js → topic-F0FKzJyQ.js} +1 -1
- package/dist/{types-yj8VF4oY.d.ts → types-BdaBfYIw.d.ts} +2 -2
- package/dist/{types-BC1HLEVx.d.ts → types-CjRwmCRP.d.ts} +2 -2
- package/dist/{types-EO2crSX_.d.ts → types-DR1MHh7N.d.ts} +1 -1
- package/dist/{vault-O-YlAyHb.d.ts → vault-BghaujrZ.d.ts} +1 -1
- package/dist/vercel-connect/index.d.ts +1 -1
- package/dist/{verify-B0KLBb3j.d.ts → verify-CI8LgSpv.d.ts} +1 -1
- package/dist/{view-DyFdMCqg.d.ts → view-BvNA7EOC.d.ts} +1 -1
- package/dist/vue/index.d.ts +9 -9
- package/dist/{watch-topic-C6HhbnVz.d.ts → watch-topic-BaMZX139.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-B3Ss55Fy.d.ts → workflow-sdk-BNsZrcVg.d.ts} +1 -1
- package/dist/{workflow-sdk-DELaQEp3.js → workflow-sdk-CE8sEK57.js} +38 -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 +217 -1
- package/dist/cli/add-w_HumDPX.js +0 -1
- package/dist/cli/powersync-Vmhw5c1N.js +0 -1
- package/dist/cli/seed-CXJvTU5D.js +0 -1
- package/dist/options-C1-pwEqm.js +0 -5
- package/dist/options-CTv-xmbA.js +0 -5
- package/dist/options-ChiL-4ZS.js +0 -8
- package/dist/subjects-DvmQeF_F.d.ts +0 -79
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { n as dbError } from "../../errors-BVFgt8BZ.js";
|
|
2
|
+
import { n as isRecord } from "../../guards-6F2bCtQR.js";
|
|
2
3
|
import { t as temporal } from "../../temporal-required-DcLhnDhQ.js";
|
|
3
4
|
import { t as AsyncResult } from "../../result-ntFBW2p2.js";
|
|
4
|
-
import { t as calendarSqlOptions } from "../../options-
|
|
5
|
+
import { t as calendarSqlOptions } from "../../options-C4LuqmdG.js";
|
|
5
6
|
import { n as event, t as defineEvents } from "../../event-map-CtPFhcOp.js";
|
|
6
7
|
import { t as defineController } from "../../controller-BEliOBOv.js";
|
|
7
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";
|
|
@@ -263,6 +264,7 @@ function eventOf(lines, fallback) {
|
|
|
263
264
|
let rrule;
|
|
264
265
|
let originalStart;
|
|
265
266
|
const exdates = [];
|
|
267
|
+
const rdates = [];
|
|
266
268
|
const attendees = [];
|
|
267
269
|
for (const line of lines) switch (line.name) {
|
|
268
270
|
case "UID":
|
|
@@ -307,6 +309,12 @@ function eventOf(lines, fallback) {
|
|
|
307
309
|
if (date !== void 0) exdates.push(date.instant);
|
|
308
310
|
}
|
|
309
311
|
break;
|
|
312
|
+
case "RDATE":
|
|
313
|
+
for (const value of line.value.split(",")) {
|
|
314
|
+
const date = value.includes("/") ? void 0 : dateValue(value.trim(), line.params, fallback);
|
|
315
|
+
if (date !== void 0) rdates.push(date.instant);
|
|
316
|
+
}
|
|
317
|
+
break;
|
|
310
318
|
case "RECURRENCE-ID":
|
|
311
319
|
originalStart = dateValue(line.value, line.params, fallback)?.instant;
|
|
312
320
|
break;
|
|
@@ -331,6 +339,7 @@ function eventOf(lines, fallback) {
|
|
|
331
339
|
status,
|
|
332
340
|
...rrule === void 0 ? {} : { rrule },
|
|
333
341
|
exdates,
|
|
342
|
+
...rdates.length === 0 ? {} : { rdates },
|
|
334
343
|
...originalStart === void 0 ? {} : { originalStart },
|
|
335
344
|
attendees,
|
|
336
345
|
...transparent ? { transparency: "transparent" } : {}
|
|
@@ -471,12 +480,14 @@ function eventLines(event, stamp) {
|
|
|
471
480
|
if (event.originalStart !== void 0) lines.push(timeProperty("RECURRENCE-ID", event.originalStart, event));
|
|
472
481
|
if (event.rrule !== void 0) lines.push(`RRULE:${event.rrule}`);
|
|
473
482
|
for (const exdate of event.exdates) lines.push(timeProperty("EXDATE", exdate, event));
|
|
483
|
+
for (const rdate of event.rdates ?? []) lines.push(timeProperty("RDATE", rdate, event));
|
|
474
484
|
lines.push(`SUMMARY:${escapeText(event.title)}`);
|
|
475
485
|
if (event.description !== void 0) lines.push(`DESCRIPTION:${escapeText(event.description)}`);
|
|
476
486
|
if (event.location !== void 0) lines.push(`LOCATION:${escapeText(event.location)}`);
|
|
477
487
|
lines.push(`STATUS:${event.status.toUpperCase()}`);
|
|
478
488
|
if (event.transparency === "transparent") lines.push("TRANSP:TRANSPARENT");
|
|
479
489
|
for (const attendee of event.attendees ?? []) {
|
|
490
|
+
if (attendee.email === "") continue;
|
|
480
491
|
const cn = attendee.name === void 0 ? "" : `;CN=${paramValue(attendee.name)}`;
|
|
481
492
|
lines.push(`ATTENDEE${cn};ROLE=${ROLE_OUT[attendee.role]};PARTSTAT=${attendee.response.toUpperCase()}:mailto:${attendee.email}`);
|
|
482
493
|
}
|
|
@@ -495,7 +506,7 @@ function toIcs(events, options = {}) {
|
|
|
495
506
|
for (const event of events) {
|
|
496
507
|
if (event.allDay || event.tz === "UTC") continue;
|
|
497
508
|
const from = event.startsAt.subtract({ hours: 24 });
|
|
498
|
-
const until = event.rrule === void 0 ? event.endsAt.add({ hours: 24 }) : event.startsAt.add({ hours: 26352 });
|
|
509
|
+
const until = event.rrule === void 0 && (event.rdates ?? []).length === 0 ? event.endsAt.add({ hours: 24 }) : event.startsAt.add({ hours: 26352 });
|
|
499
510
|
const known = zones.get(event.tz);
|
|
500
511
|
zones.set(event.tz, {
|
|
501
512
|
from: known === void 0 || time.Instant.compare(from, known.from) < 0 ? from : known.from,
|
|
@@ -518,6 +529,23 @@ function toIcs(events, options = {}) {
|
|
|
518
529
|
//#endregion
|
|
519
530
|
//#region src/blocks/calendar/occurrences.ts
|
|
520
531
|
const keyOf = (id, start) => `${id}::${start.toString()}`;
|
|
532
|
+
const recurs = (event) => event.rrule !== void 0 || (event.rdates ?? []).length > 0;
|
|
533
|
+
function seriesStarts(event, zoned, window) {
|
|
534
|
+
const ruled = event.rrule === void 0 ? [zoned] : expandRule({
|
|
535
|
+
dtstart: zoned,
|
|
536
|
+
rrule: event.rrule,
|
|
537
|
+
window
|
|
538
|
+
});
|
|
539
|
+
if ((event.rdates ?? []).length === 0) return ruled;
|
|
540
|
+
const time = temporal();
|
|
541
|
+
const seen = new Set(ruled.map((when) => when.epochMilliseconds));
|
|
542
|
+
const all = [...ruled];
|
|
543
|
+
for (const rdate of event.rdates ?? []) if (!seen.has(rdate.epochMilliseconds) && time.Instant.compare(rdate, window.until) < 0) {
|
|
544
|
+
seen.add(rdate.epochMilliseconds);
|
|
545
|
+
all.push(rdate.toZonedDateTimeISO(event.tz));
|
|
546
|
+
}
|
|
547
|
+
return all.toSorted((a, b) => time.ZonedDateTime.compare(a, b));
|
|
548
|
+
}
|
|
521
549
|
function overlaps(start, end, range) {
|
|
522
550
|
const time = temporal();
|
|
523
551
|
return time.Instant.compare(start, range.until) < 0 && (time.Instant.compare(end, range.from) > 0 || time.Instant.compare(start, end) === 0 && time.Instant.compare(start, range.from) >= 0);
|
|
@@ -535,7 +563,7 @@ function expandOccurrences(events, range, options = {}) {
|
|
|
535
563
|
const series = /* @__PURE__ */ new Map();
|
|
536
564
|
const overrides = /* @__PURE__ */ new Map();
|
|
537
565
|
for (const event of events) if (event.recurrenceId !== void 0 && event.originalStart !== void 0) overrides.set(keyOf(event.recurrenceId, event.originalStart), event);
|
|
538
|
-
else if (event
|
|
566
|
+
else if (recurs(event)) series.set(event.id, event);
|
|
539
567
|
const found = [];
|
|
540
568
|
for (const event of events) {
|
|
541
569
|
if (event.recurrenceId !== void 0) {
|
|
@@ -552,7 +580,7 @@ function expandOccurrences(events, range, options = {}) {
|
|
|
552
580
|
});
|
|
553
581
|
continue;
|
|
554
582
|
}
|
|
555
|
-
if (event
|
|
583
|
+
if (!recurs(event)) {
|
|
556
584
|
if (keep(event) && overlaps(event.startsAt, event.endsAt, range)) found.push({
|
|
557
585
|
key: keyOf(event.id, event.startsAt),
|
|
558
586
|
event,
|
|
@@ -569,13 +597,9 @@ function expandOccurrences(events, range, options = {}) {
|
|
|
569
597
|
const length = zoned.until(event.endsAt.toZonedDateTimeISO(event.tz), { largestUnit: event.allDay ? "days" : "hours" });
|
|
570
598
|
const reach = event.endsAt.since(event.startsAt).add({ hours: 25 });
|
|
571
599
|
const skipped = new Set(event.exdates.map((date) => date.epochMilliseconds));
|
|
572
|
-
for (const when of
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
window: {
|
|
576
|
-
from: range.from.subtract(reach),
|
|
577
|
-
until: range.until
|
|
578
|
-
}
|
|
600
|
+
for (const when of seriesStarts(event, zoned, {
|
|
601
|
+
from: range.from.subtract(reach),
|
|
602
|
+
until: range.until
|
|
579
603
|
})) {
|
|
580
604
|
const start = when.toInstant();
|
|
581
605
|
if (skipped.has(start.epochMilliseconds)) continue;
|
|
@@ -658,14 +682,22 @@ const STATUSES = [
|
|
|
658
682
|
"cancelled"
|
|
659
683
|
];
|
|
660
684
|
function attendeeOf(value) {
|
|
661
|
-
const
|
|
662
|
-
|
|
685
|
+
const text = (key) => {
|
|
686
|
+
const found = optionalText(value[key]);
|
|
687
|
+
return found === void 0 ? {} : { [key]: found };
|
|
688
|
+
};
|
|
689
|
+
const flag = (key) => typeof value[key] === "boolean" ? { [key]: value[key] } : {};
|
|
663
690
|
return {
|
|
664
|
-
email:
|
|
665
|
-
...name
|
|
666
|
-
...userId
|
|
691
|
+
email: optionalText(value["email"]) ?? "",
|
|
692
|
+
...text("name"),
|
|
693
|
+
...text("userId"),
|
|
667
694
|
role: oneOf(value["role"], ROLES, "required"),
|
|
668
|
-
response: oneOf(value["response"], RESPONSES, "needs-action")
|
|
695
|
+
response: oneOf(value["response"], RESPONSES, "needs-action"),
|
|
696
|
+
...text("id"),
|
|
697
|
+
...text("subjectType"),
|
|
698
|
+
...text("subjectId"),
|
|
699
|
+
...flag("organizer"),
|
|
700
|
+
...flag("optional")
|
|
669
701
|
};
|
|
670
702
|
}
|
|
671
703
|
/** A `list_calendar_events` or `calendar_feed` row as an event. */
|
|
@@ -678,6 +710,7 @@ function calendarEventOf(value) {
|
|
|
678
710
|
const originalStart = optionalInstant(row["originalStart"]);
|
|
679
711
|
const updatedAt = optionalInstant(row["updatedAt"]);
|
|
680
712
|
const exdates = Array.isArray(row["exdates"]) ? row["exdates"] : [];
|
|
713
|
+
const rdates = Array.isArray(row["rdates"]) ? row["rdates"] : void 0;
|
|
681
714
|
return {
|
|
682
715
|
id: textOf(row["id"]),
|
|
683
716
|
calendarId: textOf(row["calendarId"]),
|
|
@@ -701,7 +734,10 @@ function calendarEventOf(value) {
|
|
|
701
734
|
...row["transparency"] === void 0 ? {} : { transparency: oneOf(row["transparency"], CALENDAR_TRANSPARENCIES, "opaque") },
|
|
702
735
|
...typeof row["autoDecline"] === "boolean" ? { autoDecline: row["autoDecline"] } : {},
|
|
703
736
|
attendees: recordsOf(row["attendees"], "attendees").map(attendeeOf),
|
|
704
|
-
...updatedAt === void 0 ? {} : { updatedAt }
|
|
737
|
+
...updatedAt === void 0 ? {} : { updatedAt },
|
|
738
|
+
...rdates === void 0 ? {} : { rdates: rdates.map((date) => requiredInstant(date, "rdate")) },
|
|
739
|
+
...row["visibility"] === void 0 ? {} : { visibility: oneOf(row["visibility"], ["public", "private"], "public") },
|
|
740
|
+
...text("ownerId")
|
|
705
741
|
};
|
|
706
742
|
}
|
|
707
743
|
/** The jsonb `save_calendar_event` takes. */
|
|
@@ -709,7 +745,7 @@ function itemOf(input) {
|
|
|
709
745
|
const item = {};
|
|
710
746
|
for (const [key, value] of Object.entries(input)) {
|
|
711
747
|
if (value === void 0) continue;
|
|
712
|
-
if (key === "exdates" && Array.isArray(value)) item[key] = value.map(String);
|
|
748
|
+
if ((key === "exdates" || key === "rdates") && Array.isArray(value)) item[key] = value.map(String);
|
|
713
749
|
else if (key === "startsAt" || key === "endsAt" || key === "originalStart") item[key] = String(value);
|
|
714
750
|
else item[key] = value;
|
|
715
751
|
}
|
|
@@ -729,6 +765,7 @@ function importItem(event) {
|
|
|
729
765
|
status: event.status,
|
|
730
766
|
rrule: event.rrule ?? null,
|
|
731
767
|
exdates: event.exdates,
|
|
768
|
+
...event.rdates === void 0 ? {} : { rdates: event.rdates },
|
|
732
769
|
...event.originalStart === void 0 ? {} : { originalStart: event.originalStart },
|
|
733
770
|
...event.transparency === void 0 ? {} : { transparency: event.transparency }
|
|
734
771
|
});
|
|
@@ -747,13 +784,25 @@ function copyOf(event) {
|
|
|
747
784
|
...event.color === void 0 ? {} : { color: event.color },
|
|
748
785
|
...event.kind === void 0 ? {} : { kind: event.kind },
|
|
749
786
|
...event.transparency === void 0 ? {} : { transparency: event.transparency },
|
|
750
|
-
...event.autoDecline === void 0 ? {} : { autoDecline: event.autoDecline }
|
|
787
|
+
...event.autoDecline === void 0 ? {} : { autoDecline: event.autoDecline },
|
|
788
|
+
...event.visibility === void 0 ? {} : { visibility: event.visibility }
|
|
751
789
|
};
|
|
752
790
|
}
|
|
753
791
|
const INFINITE = {
|
|
754
792
|
from: "-infinity",
|
|
755
793
|
until: "infinity"
|
|
756
794
|
};
|
|
795
|
+
function attributesOf(input) {
|
|
796
|
+
const attrs = {};
|
|
797
|
+
for (const key of [
|
|
798
|
+
"color",
|
|
799
|
+
"visibility",
|
|
800
|
+
"description",
|
|
801
|
+
"rank",
|
|
802
|
+
"isDefault"
|
|
803
|
+
]) if (input[key] !== void 0) attrs[key] = input[key];
|
|
804
|
+
return attrs;
|
|
805
|
+
}
|
|
757
806
|
/** The keys of an event write the block types itself. */
|
|
758
807
|
const EVENT_INPUT = /* @__PURE__ */ new Set([
|
|
759
808
|
"id",
|
|
@@ -767,6 +816,8 @@ const EVENT_INPUT = /* @__PURE__ */ new Set([
|
|
|
767
816
|
"status",
|
|
768
817
|
"rrule",
|
|
769
818
|
"exdates",
|
|
819
|
+
"rdates",
|
|
820
|
+
"visibility",
|
|
770
821
|
"subjectType",
|
|
771
822
|
"subjectId",
|
|
772
823
|
"color",
|
|
@@ -803,20 +854,35 @@ function createCalendar(options) {
|
|
|
803
854
|
range_end: range.until.toString()
|
|
804
855
|
}, (value) => recordsOf(value, "list_calendar_events").map((raw) => [raw, calendarEventOf(raw)])).andThen((rows) => allWithFields(fields, rows));
|
|
805
856
|
return withBlockHooks({
|
|
806
|
-
createCalendar: (organizationId, name, extra = {}) =>
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
857
|
+
createCalendar: (organizationId, name, extra = {}) => {
|
|
858
|
+
const attrs = attributesOf(extra);
|
|
859
|
+
return call("create_calendar", {
|
|
860
|
+
tenant: organizationId,
|
|
861
|
+
name,
|
|
862
|
+
tz: extra.tz ?? "UTC",
|
|
863
|
+
owner_type: extra.ownerType ?? null,
|
|
864
|
+
owner_id: extra.ownerId ?? null,
|
|
865
|
+
...extra.fields === void 0 ? {} : { fields: extra.fields },
|
|
866
|
+
...Object.keys(attrs).length === 0 ? {} : { attrs }
|
|
867
|
+
}, (value) => ({ id: textOf(recordOf(value, "create_calendar")["id"]) }));
|
|
868
|
+
},
|
|
869
|
+
updateCalendar: (id, attributes) => call("update_calendar", {
|
|
870
|
+
calendar_id: id,
|
|
871
|
+
attrs: {
|
|
872
|
+
...attributesOf(attributes),
|
|
873
|
+
...attributes.name === void 0 ? {} : { name: attributes.name },
|
|
874
|
+
...attributes.tz === void 0 ? {} : { tz: attributes.tz }
|
|
875
|
+
}
|
|
876
|
+
}, (value) => value === true),
|
|
813
877
|
deleteCalendar: (id) => call("delete_calendar", { calendar_id: id }, (value) => value === true),
|
|
814
878
|
listCalendars: (organizationId) => call("list_calendars", { tenant: organizationId }, (value) => recordsOf(value, "list_calendars").map((row) => {
|
|
815
879
|
const extra = {};
|
|
816
880
|
for (const key of [
|
|
817
881
|
"color",
|
|
818
882
|
"ownerType",
|
|
819
|
-
"ownerId"
|
|
883
|
+
"ownerId",
|
|
884
|
+
"description",
|
|
885
|
+
"rank"
|
|
820
886
|
]) {
|
|
821
887
|
const found = optionalText(row[key]);
|
|
822
888
|
if (found !== void 0) extra[key] = found;
|
|
@@ -825,7 +891,10 @@ function createCalendar(options) {
|
|
|
825
891
|
id: textOf(row["id"]),
|
|
826
892
|
name: textOf(row["name"]),
|
|
827
893
|
tz: optionalText(row["tz"]) ?? "UTC",
|
|
828
|
-
...extra
|
|
894
|
+
...extra,
|
|
895
|
+
...row["visibility"] === void 0 ? {} : { visibility: oneOf(row["visibility"], ["shared", "private"], "shared") },
|
|
896
|
+
...typeof row["isDefault"] === "boolean" ? { isDefault: row["isDefault"] } : {},
|
|
897
|
+
...isRecord(row["fields"]) ? { fields: { ...row["fields"] } } : {}
|
|
829
898
|
};
|
|
830
899
|
})),
|
|
831
900
|
upsert: save,
|
|
@@ -849,6 +918,7 @@ function createCalendar(options) {
|
|
|
849
918
|
...changes,
|
|
850
919
|
rrule: null,
|
|
851
920
|
exdates: [],
|
|
921
|
+
...series.rdates === void 0 ? {} : { rdates: [] },
|
|
852
922
|
recurrenceId: series.id,
|
|
853
923
|
originalStart: occurrence.originalStart
|
|
854
924
|
});
|
|
@@ -891,7 +961,10 @@ function createCalendar(options) {
|
|
|
891
961
|
original_start: occurrence.originalStart.toString()
|
|
892
962
|
}, (value) => value === true);
|
|
893
963
|
},
|
|
894
|
-
setAttendee: (eventId, attendee) => call("set_calendar_attendee", {
|
|
964
|
+
setAttendee: (eventId, attendee) => attendee.email === void 0 || attendee.subjectType !== void 0 || attendee.subjectId !== void 0 || attendee.organizer !== void 0 || attendee.optional !== void 0 ? call("set_calendar_attendee", {
|
|
965
|
+
event_id: eventId,
|
|
966
|
+
attendee: { ...attendee }
|
|
967
|
+
}, (value) => isRecord(value) && typeof value["id"] === "string") : call("set_calendar_attendee", {
|
|
895
968
|
event_id: eventId,
|
|
896
969
|
email: attendee.email,
|
|
897
970
|
name: attendee.name ?? null,
|
|
@@ -902,6 +975,20 @@ function createCalendar(options) {
|
|
|
902
975
|
event_id: eventId,
|
|
903
976
|
email
|
|
904
977
|
}, (value) => value === true),
|
|
978
|
+
removeAttendeeById: (attendeeId) => call("remove_calendar_attendee", { attendee_id: attendeeId }, (value) => value === true),
|
|
979
|
+
setGrant: (calendarId, userId, role) => call("set_calendar_grant", {
|
|
980
|
+
calendar_id: calendarId,
|
|
981
|
+
user_id: userId,
|
|
982
|
+
role
|
|
983
|
+
}, (value) => value === true),
|
|
984
|
+
removeGrant: (calendarId, userId) => call("remove_calendar_grant", {
|
|
985
|
+
calendar_id: calendarId,
|
|
986
|
+
user_id: userId
|
|
987
|
+
}, (value) => value === true),
|
|
988
|
+
grants: (calendarId) => call("list_calendar_grants", { calendar_id: calendarId }, (value) => recordsOf(value, "list_calendar_grants").map((row) => ({
|
|
989
|
+
userId: textOf(row["userId"]),
|
|
990
|
+
role: oneOf(row["role"], ["viewer", "editor"], "viewer")
|
|
991
|
+
}))),
|
|
905
992
|
respond: (eventId, response) => call("respond_calendar_event", {
|
|
906
993
|
event_id: eventId,
|
|
907
994
|
response
|
|
@@ -933,6 +1020,11 @@ function createCalendar(options) {
|
|
|
933
1020
|
tz: optionalText(info["tz"]) ?? "UTC"
|
|
934
1021
|
});
|
|
935
1022
|
}),
|
|
1023
|
+
userFeed: (token) => call("calendar_user_feed", { token }, (value) => {
|
|
1024
|
+
if (value === null || value === void 0) return null;
|
|
1025
|
+
const row = recordOf(value, "calendar_user_feed");
|
|
1026
|
+
return toIcs(recordsOf(row["events"], "calendar_user_feed").map(calendarEventOf));
|
|
1027
|
+
}),
|
|
936
1028
|
setWorkingHours: (organizationId, input) => call("set_calendar_working_hours", {
|
|
937
1029
|
tenant: organizationId,
|
|
938
1030
|
user_id: input.userId ?? null,
|
|
@@ -1076,6 +1168,7 @@ function createCalendarController(options) {
|
|
|
1076
1168
|
/** The `calendar` block's event types, for its manifest and `onBlockEvent`. */
|
|
1077
1169
|
const calendarEvents = defineEvents({
|
|
1078
1170
|
"calendar.created": event(),
|
|
1171
|
+
"calendar.updated": event(),
|
|
1079
1172
|
"calendar_event.created": event(),
|
|
1080
1173
|
"calendar_event.updated": event(),
|
|
1081
1174
|
"calendar_event.deleted": event()
|
|
@@ -1141,6 +1234,16 @@ const calendarEventInputSchema = entitySchema({
|
|
|
1141
1234
|
optional: true,
|
|
1142
1235
|
array: true
|
|
1143
1236
|
},
|
|
1237
|
+
rdates: {
|
|
1238
|
+
kind: "instant",
|
|
1239
|
+
optional: true,
|
|
1240
|
+
array: true
|
|
1241
|
+
},
|
|
1242
|
+
visibility: {
|
|
1243
|
+
kind: "enum",
|
|
1244
|
+
values: ["public", "private"],
|
|
1245
|
+
optional: true
|
|
1246
|
+
},
|
|
1144
1247
|
subjectType: {
|
|
1145
1248
|
kind: "string",
|
|
1146
1249
|
optional: true,
|
|
@@ -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-Cc9DDQWH.js";
|
|
6
6
|
import { n as Logger } from "../../logger-DWVYUmwi.js";
|
|
7
7
|
import { i as CursorPageOptions, 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 { h as FilterQuery } from "../../filter-query-BXLs72G9.js";
|
|
11
|
-
import { Sn as EntitySchema, c as BlockOf } from "../../define-block-
|
|
11
|
+
import { Sn as EntitySchema, c as BlockOf } from "../../define-block-DibVN37N.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
3
|
import { $ as RecordRef } from "../../types-DFdg_4yN.js";
|
|
4
|
-
import { Ct as Events } from "../../events-
|
|
5
|
-
import { m as ChannelEventData } from "../../index-
|
|
4
|
+
import { Ct as Events } from "../../events-Cc9DDQWH.js";
|
|
5
|
+
import { m as ChannelEventData } from "../../index-C_qlBJ3k.js";
|
|
6
6
|
import { n as Logger } from "../../logger-DWVYUmwi.js";
|
|
7
7
|
import { a as BlockTenantOptions, 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-DibVN37N.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,13 +2,13 @@
|
|
|
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-Cc9DDQWH.js";
|
|
6
|
+
import { P as SavedItemEventData, g as CollectionEventData, h as CollectionEntryEventData } from "../../index-C_qlBJ3k.js";
|
|
7
7
|
import { n as Logger } from "../../logger-DWVYUmwi.js";
|
|
8
8
|
import { i as CursorPageOptions } 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 { I as Notifier, c as BlockOf } from "../../define-block-
|
|
11
|
+
import { I as Notifier, c as BlockOf } from "../../define-block-DibVN37N.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. */
|
|
@@ -7,14 +7,14 @@ import { n as Logger } from "../../logger-DWVYUmwi.js";
|
|
|
7
7
|
import { a as BlockTenantOptions, i as CursorPageOptions, 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 { F as CommentsSqlOptions } from "../../authorization-
|
|
10
|
+
import { F as CommentsSqlOptions } from "../../authorization-BJV2i8xB.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
13
|
import { c as MessageEdit, l as MessageEdition, o as Message } from "../../messaging-C_Pr9tGx.js";
|
|
14
|
-
import { Sn as EntitySchema, c as BlockOf, ln as RecordBindingWrite, mn as RecordRowInput, rn as RecordBinding } from "../../define-block-
|
|
15
|
-
import { p as SubscriptionStatus } from "../../topic-
|
|
16
|
-
import { n as TopicPort } from "../../watch-topic-
|
|
17
|
-
import { n as Controller, t as AuthPort } from "../../controller-
|
|
14
|
+
import { Sn as EntitySchema, c as BlockOf, ln as RecordBindingWrite, mn as RecordRowInput, rn as RecordBinding } from "../../define-block-DibVN37N.js";
|
|
15
|
+
import { p as SubscriptionStatus } from "../../topic-CpsKVBot.js";
|
|
16
|
+
import { n as TopicPort } from "../../watch-topic-BaMZX139.js";
|
|
17
|
+
import { n as Controller, t as AuthPort } from "../../controller-CwGXms17.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-Cc9DDQWH.js";
|
|
6
6
|
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-DibVN37N.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-
|
|
1
|
+
import { Ct as Events, N as ConnectorEventData } from "../../events-Cc9DDQWH.js";
|
|
2
2
|
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
|
|
3
|
-
import { a as ConnectorSession, c as ConnectorsOptions, i as ConnectorServerFields, l as FingerprintStatus, n as ConnectorGrant, o as ConnectorTransport, r as ConnectorServer, s as Connectors, t as ConnectorAuth, u as createConnectors } from "../../connectors-
|
|
4
|
-
import { c as BlockOf } from "../../define-block-
|
|
3
|
+
import { a as ConnectorSession, c as ConnectorsOptions, i as ConnectorServerFields, l as FingerprintStatus, n as ConnectorGrant, o as ConnectorTransport, r as ConnectorServer, s as Connectors, t as ConnectorAuth, u as createConnectors } from "../../connectors-CHGiffYH.js";
|
|
4
|
+
import { c as BlockOf } from "../../define-block-DibVN37N.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-Cc9DDQWH.js";
|
|
5
|
+
import { A as PartyEventData } from "../../index-C_qlBJ3k.js";
|
|
6
6
|
import { n as Logger } from "../../logger-DWVYUmwi.js";
|
|
7
7
|
import { i as CursorPageOptions } 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-DibVN37N.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 {
|
|
@@ -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-Cc9DDQWH.js";
|
|
4
4
|
import { n as Logger } from "../../logger-DWVYUmwi.js";
|
|
5
5
|
import { n as BlockOptions } from "../../block-helpers-CRpAHrp_.js";
|
|
6
6
|
import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
|
|
7
7
|
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-DZN2w69m.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-DibVN37N.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"];
|
|
@@ -3,12 +3,12 @@ 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
5
|
import { $ as RecordRef } from "../../types-DFdg_4yN.js";
|
|
6
|
-
import { Ct as Events } from "../../events-
|
|
6
|
+
import { Ct as Events } from "../../events-Cc9DDQWH.js";
|
|
7
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 { 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-DibVN37N.js";
|
|
12
12
|
import { n as Money } from "../../money-BNRdJQzA.js";
|
|
13
13
|
//#region src/blocks/contracts/contracts.d.ts
|
|
14
14
|
interface ContractsOptions<S extends StandardSchemaV1 | undefined = undefined> extends BlockTemporalOptions {
|
|
@@ -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 { 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-Cc9DDQWH.js";
|
|
6
6
|
import { n as Logger } from "../../logger-DWVYUmwi.js";
|
|
7
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 { n as coursesSqlOptions, t as CoursesSqlOptions } from "../../options-BUCQYAeJ.js";
|
|
11
|
-
import { Sn as EntitySchema, c as BlockOf, ln as RecordBindingWrite, rn as RecordBinding } from "../../define-block-
|
|
11
|
+
import { Sn as EntitySchema, c as BlockOf, ln as RecordBindingWrite, rn as RecordBinding } from "../../define-block-DibVN37N.js";
|
|
12
12
|
import { a as FormDefinition, l as FormJsonSchema } from "../../form-definition-BjEtH8BT.js";
|
|
13
13
|
//#region src/blocks/courses/courses.d.ts
|
|
14
14
|
declare const COURSE_STATUSES: readonly ["draft", "published", "archived"];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Ft as RequestContext, Mt as Plugin } from "../../types-DFdg_4yN.js";
|
|
2
2
|
import { t as CreatedBySqlOptions } from "../../options-CDSCkYxu.js";
|
|
3
|
-
import { r as Block } from "../../define-block-
|
|
3
|
+
import { r as Block } from "../../define-block-DibVN37N.js";
|
|
4
4
|
//#region src/blocks/created-by/extension.d.ts
|
|
5
5
|
interface CreatedByExtensionOptions {
|
|
6
6
|
/**
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { T as ErrorMapper, t as AsyncResult } from "../../result-DZeA5KS6.js";
|
|
2
2
|
import { $ as RecordRef } from "../../types-DFdg_4yN.js";
|
|
3
|
-
import { $ as SaasEventData, Ct as Events, et as SaasSubjectEventData } from "../../events-
|
|
3
|
+
import { $ as SaasEventData, Ct as Events, et as SaasSubjectEventData } from "../../events-Cc9DDQWH.js";
|
|
4
4
|
import { n as Logger } from "../../logger-DWVYUmwi.js";
|
|
5
5
|
import { a as BlockTenantOptions } from "../../block-helpers-CRpAHrp_.js";
|
|
6
6
|
import { 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-DibVN37N.js";
|
|
9
9
|
import { n as CustomFieldType, t as CUSTOM_FIELD_TYPES } from "../../field-formats-CAFNkKSN.js";
|
|
10
10
|
import { t as RankNeighbors } from "../../rank-result-Bwe7igy-.js";
|
|
11
11
|
//#region src/blocks/custom-fields/custom-fields.d.ts
|
|
@@ -41,6 +41,34 @@ interface FieldDefinitionDetail extends FieldDefinition {
|
|
|
41
41
|
*/
|
|
42
42
|
readonly rank?: string;
|
|
43
43
|
}
|
|
44
|
+
/**
|
|
45
|
+
* One field value in the keyed layout, as `readFields` and `setField` return
|
|
46
|
+
* it.
|
|
47
|
+
*/
|
|
48
|
+
interface FieldValue {
|
|
49
|
+
readonly id: string;
|
|
50
|
+
readonly subject: RecordRef;
|
|
51
|
+
readonly key: string;
|
|
52
|
+
readonly label: string;
|
|
53
|
+
/** A `CustomFieldType`, after `blocks.custom-fields.values`. */
|
|
54
|
+
readonly type: string;
|
|
55
|
+
/** The value from the column of its type: text, number, boolean or JSON. */
|
|
56
|
+
readonly value: unknown;
|
|
57
|
+
readonly rank?: string;
|
|
58
|
+
readonly createdAt?: string;
|
|
59
|
+
readonly updatedAt?: string;
|
|
60
|
+
}
|
|
61
|
+
/** The input of `setField` (keyed layout). */
|
|
62
|
+
interface SetFieldInput {
|
|
63
|
+
readonly key: string;
|
|
64
|
+
readonly label: string;
|
|
65
|
+
readonly type: CustomFieldType;
|
|
66
|
+
/** A JSON value of the type: a string, number, boolean, or JSON for `json`. */
|
|
67
|
+
readonly value: unknown;
|
|
68
|
+
readonly rank?: string;
|
|
69
|
+
/** Fail with `FIELD_EXISTS` when the record already has `key`. */
|
|
70
|
+
readonly ifAbsent?: boolean;
|
|
71
|
+
}
|
|
44
72
|
/** Every method that takes no definition id acts in the block's `tenant`. */
|
|
45
73
|
interface CustomFields {
|
|
46
74
|
/**
|
|
@@ -66,6 +94,18 @@ interface CustomFields {
|
|
|
66
94
|
readValues(subject: RecordRef): AsyncResult<unknown>;
|
|
67
95
|
/** Sets one custom field value of `subject`. */
|
|
68
96
|
setValue(subject: RecordRef, definitionId: string, value: string): AsyncResult<FieldDefinition>;
|
|
97
|
+
/**
|
|
98
|
+
* Keyed layout: every field of `subject` as typed rows, in rank order and
|
|
99
|
+
* then by key.
|
|
100
|
+
*/
|
|
101
|
+
readFields(subject: RecordRef): AsyncResult<FieldValue[]>;
|
|
102
|
+
/**
|
|
103
|
+
* Keyed layout: sets the field `key` of `subject`, creating it or updating
|
|
104
|
+
* its label, type and value.
|
|
105
|
+
*/
|
|
106
|
+
setField(subject: RecordRef, input: SetFieldInput): AsyncResult<FieldValue>;
|
|
107
|
+
/** Keyed layout: removes one field value. */
|
|
108
|
+
deleteValue(id: string): AsyncResult<boolean>;
|
|
69
109
|
}
|
|
70
110
|
export declare function createCustomFields(options: CustomFieldsOptions): CustomFields;
|
|
71
111
|
//#endregion
|
|
@@ -75,6 +115,8 @@ type CustomFieldsEvents = {
|
|
|
75
115
|
readonly "custom_field.saved": SaasEventData;
|
|
76
116
|
readonly "custom_field.deleted": SaasEventData;
|
|
77
117
|
readonly "field_value.set": SaasSubjectEventData;
|
|
118
|
+
/** A value was removed (`delete_field_value`, keyed layout). */
|
|
119
|
+
readonly "field_value.deleted": SaasSubjectEventData;
|
|
78
120
|
/**
|
|
79
121
|
* Protected values were read; audit only, with
|
|
80
122
|
* `blocks.custom-fields.options.auditReads`.
|
|
@@ -93,4 +135,4 @@ export declare const customFieldsEvents: Events<CustomFieldsEvents>;
|
|
|
93
135
|
/** The `custom-fields` block's manifest (ADR 0029). */
|
|
94
136
|
export declare const customFieldsBlock: BlockOf<"custom-fields", typeof createCustomFields, CustomFieldsEvents>;
|
|
95
137
|
//#endregion
|
|
96
|
-
export { CUSTOM_FIELD_TYPES, type CustomFieldType, type CustomFields, type CustomFieldsEvents, type CustomFieldsOptions, type FieldDefinition, type FieldDefinitionDetail };
|
|
138
|
+
export { CUSTOM_FIELD_TYPES, type CustomFieldType, type CustomFields, type CustomFieldsEvents, type CustomFieldsOptions, type FieldDefinition, type FieldDefinitionDetail, type FieldValue, type SetFieldInput };
|