better-supabase 0.21.0 → 0.23.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/{adapter-DZJZTY6g.js → adapter-D4aNBxhm.js} +2 -2
- package/dist/ai-sdk/agents/index.d.ts +2 -2
- package/dist/api-3C0AWFeP.js +696 -0
- package/dist/{api-Cj4W_pqT.d.ts → api-CHObZL7m.d.ts} +1 -1
- package/dist/{app-tables-C5HjXs2k.d.ts → app-tables-CJO6pWwy.d.ts} +1 -1
- package/dist/astro/index.js +5 -5
- package/dist/{authorization-DhoA7dsD.d.ts → authorization-Dtwpjeuz.d.ts} +91 -13
- package/dist/{bind-CFsctoFJ.d.ts → bind-DaoTunvE.d.ts} +1 -1
- package/dist/{block-env-BrUNeuJ_.d.ts → block-env-DUyo2I5O.d.ts} +3 -3
- package/dist/blocks/access-requests/index.js +1 -1
- package/dist/blocks/activities/index.js +1 -1
- package/dist/blocks/agents/index.js +1 -1
- package/dist/blocks/ai-chat/index.d.ts +3 -3
- package/dist/blocks/ai-chat/index.js +1 -1
- package/dist/blocks/ai-keys/index.js +1 -1
- package/dist/blocks/announcements/index.d.ts +3 -3
- package/dist/blocks/announcements/index.js +1 -1
- package/dist/blocks/api-keys/index.d.ts +1 -1
- package/dist/blocks/api-keys/index.js +1 -1
- package/dist/blocks/approvals/index.js +1 -1
- package/dist/blocks/assets/index.js +1 -1
- package/dist/blocks/assignment/index.js +1 -1
- package/dist/blocks/attachments/index.d.ts +1 -1
- package/dist/blocks/attachments/index.js +1 -1
- package/dist/blocks/audit/index.d.ts +2 -2
- package/dist/blocks/audit/index.js +1 -1
- package/dist/blocks/automations/index.d.ts +1 -1
- package/dist/blocks/automations/index.js +1 -1
- package/dist/blocks/billable-time/index.js +1 -1
- package/dist/blocks/billing/index.d.ts +1 -1
- package/dist/blocks/billing/index.js +2 -2
- package/dist/blocks/bookings/index.d.ts +1 -1
- package/dist/blocks/bookings/index.js +1 -1
- package/dist/blocks/bulk/index.js +1 -1
- package/dist/blocks/calendar/index.d.ts +5 -1
- package/dist/blocks/calendar/index.js +7 -4
- package/dist/blocks/catalog/index.js +1 -1
- package/dist/blocks/channels/index.js +1 -1
- package/dist/blocks/collections/index.js +1 -1
- package/dist/blocks/comments/index.d.ts +4 -4
- package/dist/blocks/compliance/index.js +1 -1
- package/dist/blocks/connectors/index.js +1 -1
- package/dist/blocks/contacts/index.js +1 -1
- package/dist/blocks/content/index.js +1 -1
- package/dist/blocks/contracts/index.js +1 -1
- package/dist/blocks/courses/index.js +1 -1
- package/dist/blocks/custom-fields/index.d.ts +43 -1
- package/dist/blocks/custom-fields/index.js +41 -2
- package/dist/blocks/data-lifecycle/index.js +1 -1
- package/dist/blocks/deals/index.js +1 -1
- package/dist/blocks/dispatch/index.js +1 -1
- package/dist/blocks/documents/index.js +1 -1
- package/dist/blocks/domains/index.js +1 -1
- package/dist/blocks/donations/index.js +1 -1
- package/dist/blocks/drive/index.d.ts +1 -1
- package/dist/blocks/drive/index.js +1 -1
- package/dist/blocks/employees/index.d.ts +4 -0
- package/dist/blocks/employees/index.js +2 -2
- package/dist/blocks/enrichment/index.js +1 -1
- package/dist/blocks/enrollments/index.js +1 -1
- package/dist/blocks/entitlements/index.d.ts +2 -2
- package/dist/blocks/expenses/index.js +1 -1
- package/dist/blocks/flags/index.js +1 -1
- package/dist/blocks/forecasts/index.js +1 -1
- package/dist/blocks/forms/index.d.ts +1 -1
- package/dist/blocks/forms/index.js +1 -1
- package/dist/blocks/guests/index.js +1 -1
- package/dist/blocks/hiring/index.js +1 -1
- package/dist/blocks/imports/index.js +1 -1
- package/dist/blocks/inbox/index.d.ts +4 -4
- package/dist/blocks/inbox/index.js +1 -1
- package/dist/blocks/incidents/index.js +1 -1
- package/dist/blocks/index.d.ts +1 -1
- package/dist/blocks/index.js +2 -2
- package/dist/blocks/inventory/index.js +1 -1
- package/dist/blocks/invoices/index.js +1 -1
- package/dist/blocks/leases/index.js +1 -1
- package/dist/blocks/leave/index.js +1 -1
- package/dist/blocks/ledger/index.js +1 -1
- package/dist/blocks/mail-sync/index.js +1 -1
- package/dist/blocks/messaging/index.d.ts +4 -4
- package/dist/blocks/messaging/index.js +1 -1
- package/dist/blocks/metrics/index.js +1 -1
- package/dist/blocks/mfa/index.d.ts +1 -1
- package/dist/blocks/moderation/index.js +1 -1
- package/dist/blocks/notifications/index.d.ts +3 -3
- package/dist/blocks/notifications/index.js +3 -3
- package/dist/blocks/numbering/index.js +1 -1
- package/dist/blocks/oauth-server/index.js +1 -1
- package/dist/blocks/onboarding/index.d.ts +1 -1
- package/dist/blocks/orders/index.js +1 -1
- package/dist/blocks/organizations/index.d.ts +2 -2
- package/dist/blocks/organizations/index.js +1 -1
- package/dist/blocks/outbox/index.js +1 -1
- package/dist/blocks/passes/index.js +1 -1
- package/dist/blocks/permissions/index.d.ts +1 -1
- package/dist/blocks/pipelines/index.js +1 -1
- package/dist/blocks/posts/index.js +1 -1
- package/dist/blocks/promotions/index.js +1 -1
- package/dist/blocks/push/index.d.ts +1 -1
- package/dist/blocks/push/index.js +1 -1
- package/dist/blocks/quotes/index.js +1 -1
- package/dist/blocks/reactions/index.d.ts +3 -3
- package/dist/blocks/reactions/index.js +1 -1
- package/dist/blocks/relations/index.js +1 -1
- package/dist/blocks/reminders/index.js +1 -1
- package/dist/blocks/reviews/index.js +1 -1
- package/dist/blocks/saved-views/index.d.ts +1 -1
- package/dist/blocks/saved-views/index.js +1 -1
- package/dist/blocks/scores/index.js +1 -1
- package/dist/blocks/search/index.d.ts +4 -2
- package/dist/blocks/search/index.js +3 -1
- package/dist/blocks/security-events/index.js +1 -1
- package/dist/blocks/segments/index.js +1 -1
- package/dist/blocks/sequences/index.js +1 -1
- package/dist/blocks/service-accounts/index.js +1 -1
- package/dist/blocks/sessions/index.d.ts +1 -1
- package/dist/blocks/settings/index.d.ts +1 -1
- package/dist/blocks/settings/index.js +1 -1
- package/dist/blocks/share-links/index.d.ts +28 -3
- package/dist/blocks/share-links/index.js +59 -23
- package/dist/blocks/shipments/index.js +1 -1
- package/dist/blocks/signatures/index.js +1 -1
- package/dist/blocks/signing-keys/index.js +1 -1
- package/dist/blocks/sla/index.js +1 -1
- package/dist/blocks/sso/index.js +1 -1
- package/dist/blocks/state-machine/index.js +1 -1
- package/dist/blocks/subjects/index.d.ts +1 -1
- package/dist/blocks/tags/index.d.ts +18 -3
- package/dist/blocks/tags/index.js +16 -3
- package/dist/blocks/tasks/index.js +2 -2
- package/dist/blocks/teams/index.d.ts +26 -4
- package/dist/blocks/teams/index.js +11 -4
- package/dist/blocks/templates/index.js +1 -1
- package/dist/blocks/time-tracking/index.d.ts +18 -0
- package/dist/blocks/time-tracking/index.js +13 -4
- package/dist/blocks/timeline/index.js +1 -1
- package/dist/blocks/trash/index.js +1 -1
- package/dist/blocks/undo/index.d.ts +1 -1
- package/dist/blocks/usage/index.d.ts +1 -1
- package/dist/blocks/vercel-marketplace/index.js +1 -1
- package/dist/blocks/versions/index.js +1 -1
- package/dist/blocks/waitlist/index.js +1 -1
- package/dist/blocks/webhooks/index.js +4 -4
- package/dist/blocks/workflow-editor/index.d.ts +3 -3
- package/dist/blocks/workflow-editor/index.js +1 -1
- package/dist/blocks/workflows/index.d.ts +3 -3
- package/dist/blocks/workflows/index.js +1 -1
- package/dist/cli/{add-BTDPjVGC.js → add-C7lKQNBL.js} +11 -11
- package/dist/cli/{add-C0w-mVTQ.js → add-DVHniZOO.js} +2 -2
- package/dist/cli/add-vZRn-uH0.js +1 -0
- package/dist/cli/{backfill-BDdBs6Ne.js → backfill-Lrn-Qp5X.js} +3 -3
- package/dist/cli/bin.js +1 -1
- package/dist/cli/{blocks-Bs-lA-U_.js → blocks-2Yw9t-_U.js} +1 -1
- package/dist/cli/{blocks-CQLME-HQ.js → blocks-BKNd886C.js} +1 -1
- package/dist/cli/{cache-DDKao2Va.js → cache-ByhPVMo-.js} +1 -1
- package/dist/cli/{codemod-Bjl998Do.js → codemod-C0eXpzFu.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-DgSTl-DL.js → content-mapper-qH-_YQ8H.js} +2 -2
- package/dist/cli/{db-DCeyHS1y.js → db-DwjyUbAh.js} +2 -2
- package/dist/cli/{doctor-CMLWbt44.js → doctor-BnxkqXGA.js} +21 -19
- package/dist/cli/{gen-D3VX8WdV.js → gen-aERmP3Sw.js} +14 -14
- package/dist/cli/index.d.ts +1 -1
- package/dist/cli/index.js +7 -7
- package/dist/cli/{init-D6D6eWze.js → init-DWUqVSVW.js} +6 -6
- package/dist/cli/{live-C_xgTOfD.js → live-KcdTBUij.js} +2 -2
- package/dist/cli/{mcp-B0Irjbes.js → mcp-Dsjjo-LT.js} +2 -2
- package/dist/cli/{metadata-cLXra-XB.js → metadata-DWQSIZ59.js} +3 -3
- package/dist/cli/{migration-safety-OUK-Afbb.js → migration-safety-Cy7xlU4G.js} +2 -2
- package/dist/cli/{migrations-CHenMvl_.js → migrations-CUjNXokR.js} +1 -1
- package/dist/cli/{module-migration-6V7vXWUK.js → module-migration-C6NLY9iZ.js} +2 -2
- package/dist/cli/powersync-BOhjVQCb.js +1 -0
- package/dist/cli/{powersync-D83yAFbl.js → powersync-CE_hQdgc.js} +2 -2
- package/dist/cli/{print-C0OmQyTu.js → print-Cy_ram9N.js} +2 -2
- package/dist/cli/{remove-BWlOngNT.js → remove-DmwjzqaW.js} +5 -5
- package/dist/cli/{render-9m70qveo.js → render-CF09FCra.js} +7 -4
- package/dist/cli/{run-He3M-ZRq.js → run-BYpZ8FjF.js} +25 -25
- package/dist/cli/{run-gE4eAazR.js → run-lh-chAJW.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-Cx2WFVWq.js → shared-D05A6t1e.js} +1 -1
- package/dist/cli/{snapshot-CZb3uVKE.js → snapshot-BITNbA5V.js} +3 -3
- package/dist/cli/{source-CrYSCdPZ.js → source-GGJHuzpH.js} +1 -1
- package/dist/cli/{source-args-z-jkabmO.js → source-args-CDmmFmFG.js} +1 -1
- package/dist/cli/{spec-Cn5RhuQc.js → spec-BGcRdlhN.js} +2 -2
- package/dist/cli/{spec-D4b9ePuQ.js → spec-BjxXWaNQ.js} +1 -1
- package/dist/cli/{sql-layout-CLJ67h3L.js → sql-layout-BoD5ynN9.js} +2 -2
- package/dist/cli/{sync-B8VGiaHk.js → sync-_QlsTmqu.js} +3 -3
- package/dist/cli/{upgrade-BvBWK3Fo.js → upgrade-Cwhb1M7O.js} +4 -4
- package/dist/cli/{upgrade-DMiYx1C8.js → upgrade-n9ar1kc4.js} +2 -2
- package/dist/cli/{version-BVg2Z6yv.js → version-RSpJIWDd.js} +1 -1
- package/dist/client/index.d.ts +5 -5
- package/dist/client/native/index.d.ts +4 -4
- package/dist/{composite-Dw5ofSF_.js → composite-CBRbvn5j.js} +2 -2
- package/dist/config/index.d.ts +4 -4
- package/dist/config/index.js +4 -4
- package/dist/{config-BOt5T6Vs.js → config-RwpFcPq8.js} +3 -3
- package/dist/{config-CD2OGfCG.js → config-vHLJ8SKf.js} +1 -1
- package/dist/{context-sgrUjA3U.d.ts → context-CMf4OKpN.d.ts} +72 -16
- package/dist/{controller-B6vWdKSa.d.ts → controller-BGto_kYM.d.ts} +1 -1
- package/dist/create/index.d.ts +72 -451
- package/dist/create/index.js +15 -1687
- package/dist/create/lite/index.d.ts +250 -13
- package/dist/create/lite/index.js +1007 -24
- package/dist/credentials/index.js +1 -1
- package/dist/edge/index.js +7 -7
- package/dist/elysia/index.js +1 -1
- package/dist/{entitlements-BPaPd3MD.d.ts → entitlements-CIhVQ-0u.d.ts} +1 -1
- package/dist/events/index.js +1 -1
- package/dist/expo/index.js +3 -3
- package/dist/{field-errors-DBgDCITw.d.ts → field-errors-BDhPaO0a.d.ts} +4 -4
- package/dist/{framework-DXM1vNcV.js → framework-DYEUraqt.js} +1 -1
- package/dist/h3/index.js +1 -1
- package/dist/h3/v1/index.js +1 -1
- package/dist/hono/index.js +6 -6
- package/dist/{index-ByF22_C6.d.ts → index--OhYKouV.d.ts} +2 -2
- package/dist/{index-Bt7_mxn0.d.ts → index-4MStWaeF.d.ts} +185 -7
- package/dist/{index-5JSxY1MG.d.ts → index-CFWlHuVY.d.ts} +77 -2
- package/dist/{index-CdMZQCYR.d.ts → index-lV43eM34.d.ts} +2 -2
- package/dist/{index-C4sjewrr.d.ts → index-ujNqgZ6B.d.ts} +6 -6
- package/dist/{app-tables-DyswUg6J.js → instances-BPJSESPx.js} +176 -11
- package/dist/{kit-DhlB-vv_.js → kit-Bcd9wYCV.js} +1 -1
- package/dist/mapper/bin.js +6 -6
- package/dist/mcp/index.d.ts +1 -1
- package/dist/mcp/index.js +6 -6
- package/dist/mcp/sdk/index.js +2 -2
- package/dist/nestjs/index.js +1 -1
- package/dist/next/index.d.ts +3 -3
- package/dist/next/index.js +7 -7
- package/dist/node/index.js +1 -1
- package/dist/{operations-DC3wU3Sy.d.ts → operations-qSBBV5vl.d.ts} +1 -1
- package/dist/{options-fMxhtuVR.js → options-BJtdsK7b.js} +4 -1
- package/dist/{options-DhdazgTZ.js → options-BPp2zzsz.js} +3 -1
- package/dist/options-BSsYXjhC.js +9 -0
- package/dist/{options-ChiL-4ZS.js → options-D4ADKTKo.js} +3 -1
- package/dist/{options-C1-pwEqm.js → options-DztCKw_f.js} +4 -1
- package/dist/{options-BfFC4iFE.js → options-jsOCvLUz.js} +3 -1
- package/dist/orpc/index.d.ts +1 -1
- package/dist/orpc/index.js +5 -5
- package/dist/otel/index.js +4 -4
- package/dist/{ports-BbBJVyS0.d.ts → ports-DbHiNSAa.d.ts} +1 -1
- package/dist/powersync/index.d.ts +2 -2
- package/dist/preset/index.d.ts +4 -4
- package/dist/preset/index.js +4 -4
- package/dist/{preset-B3CukUhu.js → preset-B1xXOJ0T.js} +179 -7
- package/dist/project-BM6QMtzV.js +1760 -0
- package/dist/{push-token-CPJfPFa2.d.ts → push-token-BwF1fyjA.d.ts} +1 -1
- package/dist/react/index.d.ts +5 -5
- package/dist/react/index.js +2 -2
- package/dist/react/native/index.d.ts +1 -1
- package/dist/react/server.d.ts +5 -5
- package/dist/react/server.js +2 -2
- package/dist/{react-_D_CeZMk.js → react-CcrQQl0_.js} +2 -2
- package/dist/react-router/index.js +5 -5
- package/dist/realtime/index.d.ts +3 -3
- package/dist/realtime/index.js +1 -1
- package/dist/records/index.d.ts +3 -3
- package/dist/{refusal-D48CMqpQ.js → refusal-DDlInPff.js} +2 -2
- package/dist/{instances-DDt7NdVl.js → resolved-names-WzRYhUez.js} +2 -146
- package/dist/{resource-R3KToNze.js → resource-BUJcZKiW.js} +2 -2
- package/dist/{resources-DqIwoQsP.js → resources-jb3R6rEa.js} +1 -1
- package/dist/server/index.d.ts +1 -1
- package/dist/server/index.js +7 -7
- package/dist/{sign-in-1FJiXXyG.js → sign-in-NO7LWlw4.js} +2 -2
- package/dist/solid/index.d.ts +5 -5
- package/dist/solid/index.js +1 -1
- package/dist/solid-start/index.js +5 -5
- package/dist/spec/index.d.ts +2 -2
- package/dist/spec/index.js +2 -693
- package/dist/sql/index.d.ts +5 -5
- package/dist/sql/index.js +5 -5
- package/dist/{sql-BjjgwJKg.js → sql-CNH8kjLS.js} +2727 -955
- package/dist/ssr/index.d.ts +1 -1
- package/dist/storage/index.js +1 -1
- package/dist/subjects-NomQg6Eg.d.ts +131 -0
- package/dist/svelte/index.d.ts +5 -5
- package/dist/svelte/index.js +1 -1
- package/dist/sveltekit/index.js +5 -5
- package/dist/tanstack-start/index.js +5 -5
- package/dist/{tenant-BHvMFNXl.d.ts → tenant-D4BA7XQ-.d.ts} +1 -1
- package/dist/testing/index.d.ts +4 -4
- package/dist/testing/index.js +5 -5
- package/dist/{topic-J9I3yu6f.js → topic-F0FKzJyQ.js} +2 -2
- package/dist/{topic-gTVjLGTk.d.ts → topic-utZqhw96.d.ts} +1 -1
- package/dist/types-DLnBJ3ST.d.ts +461 -0
- package/dist/vue/index.d.ts +5 -5
- package/dist/vue/index.js +1 -1
- package/dist/{watch-topic-C6HhbnVz.d.ts → watch-topic-B1UCoQfz.d.ts} +1 -1
- package/dist/workflow-sdk/world/index.js +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 +166 -2
- package/dist/cli/add-CspY9jKT.js +0 -1
- package/dist/cli/powersync-DwhCH0gs.js +0 -1
- package/dist/cli/seed-CXJvTU5D.js +0 -1
- package/dist/options-CTv-xmbA.js +0 -5
- package/dist/subjects-DvmQeF_F.d.ts +0 -79
- package/dist/types-DGHfTW8_.d.ts +0 -9
- package/dist/{build-CM8PJqwW.js → build-CH2N3Yf0.js} +3 -3
- package/dist/{create-blocks-CUS28FfS.js → create-blocks-BfrDUSM6.js} +1 -1
- package/dist/{data-hooks-tgF1Ct0F.js → data-hooks-CdcZfVS1.js} +1 -1
- package/dist/{respond-3RKp6VgU.js → respond-CZMWbUs3.js} +1 -1
|
@@ -5,9 +5,9 @@ import { p as DbBlockSource } from "./define-Lf6rI2QN.js";
|
|
|
5
5
|
import { n as CloudEventOptions } from "./cloud-event-CzZTJkXv.js";
|
|
6
6
|
import { t as RealtimeStatus } from "./realtime-status-BhNkb-Ow.js";
|
|
7
7
|
import { C as ModelWebhook, E as OperationSource, O as SecurityRequirement, S as ModelTag, a as JsonSchema, b as ModelServer, d as ModelInfo, f as ModelMessage, i as JsonObject, m as ModelOperation, n as DataApiOperation, p as ModelMessageTrait, r as HttpMethod, s as ModelChannel, t as ApiModel, v as ModelSecurityProfileRequirement, w as ModelWorkflow, y as ModelSecurityScheme } from "./model-hwpvole9.js";
|
|
8
|
+
import { c as SpecDiagnostic, i as DocumentOf, l as VersionOf, s as RenderedOf, t as AnyDocumentFormat } from "./format-u-65igKI.js";
|
|
8
9
|
import { a as ResourcePlan, o as StandardLike, r as ResourceDescription, t as ErrorResponse } from "./resource-D8pzB5Qf.js";
|
|
9
10
|
import { t as SPEC_PINS } from "./spec-pins-BZkKfwY8.js";
|
|
10
|
-
import { c as SpecDiagnostic, i as DocumentOf, l as VersionOf, s as RenderedOf, t as AnyDocumentFormat } from "./format-u-65igKI.js";
|
|
11
11
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
12
12
|
//#region src/openapi/types.d.ts
|
|
13
13
|
type Json = Record<string, unknown>;
|
package/dist/astro/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { i as storageImageUrl } from "../image-url-_d7xYsXK.js";
|
|
2
|
-
import { c as extendServer, n as flushEvents, s as createServer } from "../adapter-
|
|
3
|
-
import { n as defaultExpose } from "../respond-
|
|
4
|
-
import { i as requireCaller, o as runAction } from "../kit-
|
|
2
|
+
import { c as extendServer, n as flushEvents, s as createServer } from "../adapter-D4aNBxhm.js";
|
|
3
|
+
import { n as defaultExpose } from "../respond-CZMWbUs3.js";
|
|
4
|
+
import { i as requireCaller, o as runAction } from "../kit-Bcd9wYCV.js";
|
|
5
5
|
import { t as around } from "../shared-Bf-I13Ht.js";
|
|
6
|
-
import { i as localsOf, r as frameworkEntry } from "../framework-
|
|
7
|
-
import { r as refusalResponse } from "../refusal-
|
|
6
|
+
import { i as localsOf, r as frameworkEntry } from "../framework-DYEUraqt.js";
|
|
7
|
+
import { r as refusalResponse } from "../refusal-DDlInPff.js";
|
|
8
8
|
//#region src/astro/index.ts
|
|
9
9
|
function runtimeEnv(locals) {
|
|
10
10
|
const runtime = "runtime" in locals ? locals.runtime : void 0;
|
|
@@ -230,7 +230,7 @@ interface BlockNameRegistry {
|
|
|
230
230
|
readonly "registry": "target" | "ignore" | "keyColumns" | "redact" | "category" | "eventPrefix" | "targetType" | "tenantColumn" | "labelColumn";
|
|
231
231
|
};
|
|
232
232
|
readonly functions: "audit" | "audit_event" | "audit_event_many" | "audit_read_tenants" | "audit_reads_all" | "count_audit_events" | "list_audit_events" | "purge_audit_log";
|
|
233
|
-
readonly actions: "view" | "viewAll" | "revert";
|
|
233
|
+
readonly actions: "view" | "viewAll" | "revert" | "reveal";
|
|
234
234
|
readonly hooks: "audit_retention";
|
|
235
235
|
readonly entities: {};
|
|
236
236
|
readonly primary: never;
|
|
@@ -517,7 +517,7 @@ interface BlockNameRegistry {
|
|
|
517
517
|
readonly tables: {
|
|
518
518
|
readonly "definitions": "id" | "tenant" | "entity" | "key" | "label" | "type" | "required" | "sensitive" | "permission" | "rank" | "encrypted";
|
|
519
519
|
readonly "options": "id" | "definition" | "value" | "label" | "rank";
|
|
520
|
-
readonly "values": "id" | "tenant" | "definition" | "subjectType" | "subjectId" | "valueText" | "valueNumber" | "valueDate" | "valueBool" | "optionId" | "valueJson";
|
|
520
|
+
readonly "values": "id" | "tenant" | "definition" | "subjectType" | "subjectId" | "valueText" | "valueNumber" | "valueDate" | "valueBool" | "optionId" | "valueJson" | "valueUrl" | "valueEmail" | "key" | "label" | "type" | "rank" | "createdAt" | "updatedAt";
|
|
521
521
|
};
|
|
522
522
|
readonly functions: "delete_field_definition" | "list_field_definitions" | "rank_field_definition" | "read_field_values" | "save_field_definition" | "set_field_value";
|
|
523
523
|
readonly actions: "manage" | "read" | "sensitive";
|
|
@@ -535,7 +535,7 @@ interface BlockNameRegistry {
|
|
|
535
535
|
readonly "holds": "id" | "tenant" | "kind" | "reason" | "placedBy" | "placedAt" | "releasedBy" | "releasedAt";
|
|
536
536
|
};
|
|
537
537
|
readonly functions: "anonymize_due" | "cancel_organization_deletion" | "claim_data_export" | "complete_data_export" | "data_export_object_allowed" | "data_export_rows" | "data_lifecycle_credentials" | "data_lifecycle_tables" | "due_organization_deletions" | "expired_data_exports" | "fail_data_export" | "forget_data_exports" | "get_data_export" | "is_held" | "list_data_exports" | "list_legal_holds" | "list_retention_policies" | "organization_credential_refs" | "organization_deletion" | "place_legal_hold" | "purge_organization" | "release_legal_hold" | "remove_retention_policy" | "request_data_export" | "request_organization_deletion" | "retention_cutoff" | "retention_floor" | "retention_for" | "set_retention_policy";
|
|
538
|
-
readonly actions: "export" | "delete" | "cancelDelete";
|
|
538
|
+
readonly actions: "export" | "delete" | "cancelDelete" | "deletePlatform";
|
|
539
539
|
readonly hooks: "on_organization_purge";
|
|
540
540
|
readonly entities: {};
|
|
541
541
|
readonly primary: never;
|
|
@@ -1195,7 +1195,7 @@ interface BlockNameRegistry {
|
|
|
1195
1195
|
readonly "organizations": "id" | "name" | "slug" | "createdBy" | "createdAt" | "updatedAt" | "disabledAt" | "deletedAt";
|
|
1196
1196
|
};
|
|
1197
1197
|
readonly functions: "add_member_role" | "create_organization" | "delete_organization" | "ensure_organization_owner" | "guard_membership" | "guard_membership_role" | "leave_organization" | "list_members" | "list_my_organizations" | "mark_used" | "organization_slug_problem" | "remove_member" | "remove_member_role" | "resume_member" | "suspend_member" | "switch_organization" | "transfer_ownership" | "update_member_role" | "update_organization";
|
|
1198
|
-
readonly actions: "update" | "delete" | "listMembers" | "removeMember" | "suspendMember" | "updateRole" | "transferOwnership";
|
|
1198
|
+
readonly actions: "update" | "delete" | "listMembers" | "removeMember" | "suspendMember" | "updateRole" | "transferOwnership" | "create" | "updatePlatform" | "deletePlatform" | "updateRolePlatform" | "removeMemberPlatform";
|
|
1199
1199
|
readonly hooks: "before_organization_create" | "after_organization_create" | "before_organization_update" | "after_organization_update" | "after_member_change";
|
|
1200
1200
|
readonly entities: {};
|
|
1201
1201
|
readonly primary: never;
|
|
@@ -1472,7 +1472,7 @@ interface BlockNameRegistry {
|
|
|
1472
1472
|
};
|
|
1473
1473
|
readonly "search": {
|
|
1474
1474
|
readonly tables: {
|
|
1475
|
-
readonly "documents": "tenant" | "subjectType" | "subjectId" | "title" | "titleSearch" | "body" | "url" | "tsv" | "contentHash" | "embedding" | "updatedAt";
|
|
1475
|
+
readonly "documents": "tenant" | "subjectType" | "subjectId" | "title" | "titleSearch" | "body" | "url" | "tsv" | "contentHash" | "embedding" | "updatedAt" | "description";
|
|
1476
1476
|
};
|
|
1477
1477
|
readonly functions: "search" | "search_favorites" | "search_index_row" | "search_normalize" | "search_recents" | "search_refresh" | "search_reindex" | "search_remove" | "search_star" | "search_touch" | "search_user_state";
|
|
1478
1478
|
readonly actions: "read";
|
|
@@ -1551,7 +1551,7 @@ interface BlockNameRegistry {
|
|
|
1551
1551
|
};
|
|
1552
1552
|
readonly "share-links": {
|
|
1553
1553
|
readonly tables: {
|
|
1554
|
-
readonly "links": "id" | "tenant" | "subjectType" | "subjectId" | "tokenHash" | "role" | "version" | "expiresAt" | "revokedAt" | "maxUses" | "useCount" | "createdBy" | "leaf" | "versionId";
|
|
1554
|
+
readonly "links": "id" | "tenant" | "subjectType" | "subjectId" | "tokenHash" | "role" | "version" | "expiresAt" | "revokedAt" | "maxUses" | "useCount" | "createdBy" | "leaf" | "versionId" | "createdAt";
|
|
1555
1555
|
readonly "views": "id" | "tenant" | "subjectType" | "subjectId" | "version" | "viewerKind" | "viewer" | "firstViewedAt" | "lastViewedAt" | "viewCount";
|
|
1556
1556
|
readonly "state": "subjectType" | "subjectId" | "user" | "starredAt" | "lastOpenedAt";
|
|
1557
1557
|
};
|
|
@@ -1559,7 +1559,7 @@ interface BlockNameRegistry {
|
|
|
1559
1559
|
readonly actions: "create" | "read";
|
|
1560
1560
|
readonly hooks: never;
|
|
1561
1561
|
readonly entities: {
|
|
1562
|
-
readonly "link": "id" | "tenant_id" | "subject_type" | "subject_id" | "token_hash" | "role" | "version" | "expires_at" | "revoked_at" | "max_uses" | "use_count" | "created_by" | "leaf_id" | "version_id";
|
|
1562
|
+
readonly "link": "id" | "tenant_id" | "subject_type" | "subject_id" | "token_hash" | "role" | "version" | "expires_at" | "revoked_at" | "max_uses" | "use_count" | "created_by" | "leaf_id" | "version_id" | "created_at";
|
|
1563
1563
|
};
|
|
1564
1564
|
readonly primary: "link";
|
|
1565
1565
|
};
|
|
@@ -1667,7 +1667,7 @@ interface BlockNameRegistry {
|
|
|
1667
1667
|
readonly "taggings": "tenant" | "tag" | "subjectType" | "subjectId" | "createdAt";
|
|
1668
1668
|
};
|
|
1669
1669
|
readonly functions: "create_tag" | "delete_tag" | "list_tags" | "rank_tag" | "subject_tags" | "tag" | "untag" | "update_tag";
|
|
1670
|
-
readonly actions: "manage" | "read" | "apply";
|
|
1670
|
+
readonly actions: "manage" | "read" | "apply" | "create" | "update" | "delete";
|
|
1671
1671
|
readonly hooks: "before_tag_apply" | "after_tag_apply";
|
|
1672
1672
|
readonly entities: {
|
|
1673
1673
|
readonly "tag": "id" | "tenant_id" | "kind" | "name" | "slug" | "color" | "description" | "rank" | "created_at" | "updated_at";
|
|
@@ -1699,7 +1699,7 @@ interface BlockNameRegistry {
|
|
|
1699
1699
|
readonly "members": "team" | "user" | "tenant" | "createdAt";
|
|
1700
1700
|
};
|
|
1701
1701
|
readonly functions: "add_team_member" | "archive_team" | "create_team" | "delete_team" | "list_teams" | "remove_team_member" | "team_ids_of" | "update_team";
|
|
1702
|
-
readonly actions: "manage" | "read";
|
|
1702
|
+
readonly actions: "manage" | "read" | "create" | "update" | "delete" | "members";
|
|
1703
1703
|
readonly hooks: "before_team_create" | "after_team_create";
|
|
1704
1704
|
readonly entities: {
|
|
1705
1705
|
readonly "team": "id" | "tenant_id" | "name" | "slug" | "description" | "status" | "created_by" | "created_at" | "updated_at";
|
|
@@ -1723,15 +1723,15 @@ interface BlockNameRegistry {
|
|
|
1723
1723
|
};
|
|
1724
1724
|
readonly "time-tracking": {
|
|
1725
1725
|
readonly tables: {
|
|
1726
|
-
readonly "entries": "id" | "tenant" | "user" | "subjectType" | "subjectId" | "startedAt" | "endedAt" | "billable" | "rate" | "rateCurrency" | "note" | "createdAt" | "updatedAt" | "seconds";
|
|
1727
|
-
readonly "timesheets": "id" | "tenant" | "user" | "week" | "approval" | "note" | "submittedAt" | "approvedAt" | "createdAt";
|
|
1726
|
+
readonly "entries": "id" | "tenant" | "user" | "subjectType" | "subjectId" | "startedAt" | "endedAt" | "billable" | "rate" | "rateCurrency" | "note" | "createdAt" | "updatedAt" | "seconds" | "runningSince";
|
|
1727
|
+
readonly "timesheets": "id" | "tenant" | "user" | "week" | "approval" | "note" | "submittedAt" | "approvedAt" | "createdAt" | "status" | "decidedBy" | "decidedAt" | "decisionNote";
|
|
1728
1728
|
};
|
|
1729
1729
|
readonly functions: "approve_timesheet" | "delete_time_entry" | "get_timesheet" | "list_time_entries" | "list_timesheets" | "log_time" | "reopen_timesheet" | "running_timer" | "start_timer" | "stop_timer" | "submit_timesheet" | "time_entry_guard" | "time_week" | "time_week_locked" | "update_time_entry";
|
|
1730
1730
|
readonly actions: "read" | "track" | "approve" | "manage";
|
|
1731
1731
|
readonly hooks: "before_time_entry_save" | "after_time_entry_save" | "before_timesheet_submit" | "after_timesheet_submit";
|
|
1732
1732
|
readonly entities: {
|
|
1733
|
-
readonly "entry": "id" | "tenant_id" | "user_id" | "subject_type" | "subject_id" | "started_at" | "ended_at" | "billable" | "rate" | "rate_currency" | "note" | "created_at" | "updated_at" | "seconds";
|
|
1734
|
-
readonly "timesheet": "id" | "tenant_id" | "user_id" | "week" | "approval_id" | "note" | "submitted_at" | "approved_at" | "created_at";
|
|
1733
|
+
readonly "entry": "id" | "tenant_id" | "user_id" | "subject_type" | "subject_id" | "started_at" | "ended_at" | "billable" | "rate" | "rate_currency" | "note" | "created_at" | "updated_at" | "seconds" | "running_since";
|
|
1734
|
+
readonly "timesheet": "id" | "tenant_id" | "user_id" | "week" | "approval_id" | "note" | "submitted_at" | "approved_at" | "created_at" | "status" | "decided_by" | "decided_at" | "decision_note";
|
|
1735
1735
|
};
|
|
1736
1736
|
readonly primary: "entry";
|
|
1737
1737
|
};
|
|
@@ -2143,6 +2143,11 @@ type BulkSqlOptions = {
|
|
|
2143
2143
|
/** `blocks.calendar.options`. */
|
|
2144
2144
|
type CalendarSqlOptions = {
|
|
2145
2145
|
readonly extraColumns?: ExtraColumns;
|
|
2146
|
+
/**
|
|
2147
|
+
* Columns of the app's own on the calendars table, which `create_calendar`
|
|
2148
|
+
* takes as `fields` and `list_calendars` returns under `fields`.
|
|
2149
|
+
*/
|
|
2150
|
+
readonly calendarExtraColumns?: ExtraColumns;
|
|
2146
2151
|
};
|
|
2147
2152
|
//#endregion
|
|
2148
2153
|
//#region src/blocks/catalog/options.d.ts
|
|
@@ -2289,6 +2294,13 @@ type DriveSqlOptions = {
|
|
|
2289
2294
|
type EmployeesSqlOptions = {
|
|
2290
2295
|
readonly employmentTypes?: readonly string[];
|
|
2291
2296
|
readonly extraColumns?: ExtraColumns;
|
|
2297
|
+
/**
|
|
2298
|
+
* Columns of the app's own on the private details table, which
|
|
2299
|
+
* `savePrivateDetails` takes under `fields`.
|
|
2300
|
+
*/
|
|
2301
|
+
readonly privateDetailsExtraColumns?: ExtraColumns;
|
|
2302
|
+
/** Columns of the app's own on the contracts table, set from `fields`. */
|
|
2303
|
+
readonly contractExtraColumns?: ExtraColumns;
|
|
2292
2304
|
};
|
|
2293
2305
|
//#endregion
|
|
2294
2306
|
//#region src/blocks/expenses/options.d.ts
|
|
@@ -2758,6 +2770,17 @@ type SettingsSqlOptions = {
|
|
|
2758
2770
|
/** `blocks.share-links.options`. */
|
|
2759
2771
|
type ShareLinksSqlOptions = {
|
|
2760
2772
|
readonly extraColumns?: ExtraColumns;
|
|
2773
|
+
/**
|
|
2774
|
+
* `create_share_link` takes a `token_hash` the caller made (sha256 hex), and
|
|
2775
|
+
* `find_share_link(token_hash)` looks a live link up by it without counting a
|
|
2776
|
+
* use.
|
|
2777
|
+
*/
|
|
2778
|
+
readonly tokenHash?: boolean;
|
|
2779
|
+
/**
|
|
2780
|
+
* `list_share_links` returns each link's tenant, subject, creator and
|
|
2781
|
+
* creation time, and takes `include_revoked`.
|
|
2782
|
+
*/
|
|
2783
|
+
readonly fullRows?: boolean;
|
|
2761
2784
|
};
|
|
2762
2785
|
//#endregion
|
|
2763
2786
|
//#region src/blocks/signing-keys/options.d.ts
|
|
@@ -2800,6 +2823,12 @@ type StreamsSqlOptions = {
|
|
|
2800
2823
|
/** `blocks.tags.options`. */
|
|
2801
2824
|
type TagsSqlOptions = {
|
|
2802
2825
|
readonly extraColumns?: ExtraColumns;
|
|
2826
|
+
/**
|
|
2827
|
+
* `create_tag` takes the caller's `slug`, and `update_tag` a `patch` that
|
|
2828
|
+
* sets `name`, `slug`, `color`, `description` and `kind` and can clear the
|
|
2829
|
+
* nullable ones.
|
|
2830
|
+
*/
|
|
2831
|
+
readonly patch?: boolean;
|
|
2803
2832
|
};
|
|
2804
2833
|
//#endregion
|
|
2805
2834
|
//#region src/blocks/tasks/options.d.ts
|
|
@@ -2816,6 +2845,13 @@ type TeamsSqlOptions = {
|
|
|
2816
2845
|
/** The key type of teams. Default `uuid`; `inbox` needs `uuid`. */
|
|
2817
2846
|
readonly teamIdType?: "uuid" | "bigint";
|
|
2818
2847
|
readonly extraColumns?: ExtraColumns;
|
|
2848
|
+
/**
|
|
2849
|
+
* `create_team` takes the caller's `slug`, and `update_team` a `patch` that
|
|
2850
|
+
* sets `name`, `slug` and `description` and can clear the description.
|
|
2851
|
+
*/
|
|
2852
|
+
readonly patch?: boolean;
|
|
2853
|
+
/** Writes `restore_team`, which makes an archived team active again. */
|
|
2854
|
+
readonly restore?: boolean;
|
|
2819
2855
|
};
|
|
2820
2856
|
//#endregion
|
|
2821
2857
|
//#region src/blocks/templates/options.d.ts
|
|
@@ -2830,6 +2866,22 @@ type TimeTrackingSqlOptions = {
|
|
|
2830
2866
|
readonly policy?: unknown;
|
|
2831
2867
|
readonly timeZone?: string;
|
|
2832
2868
|
readonly extraColumns?: ExtraColumns;
|
|
2869
|
+
/**
|
|
2870
|
+
* `false` keeps timesheets without the approvals block: a status column holds
|
|
2871
|
+
* open, submitted, approved or rejected, and members with
|
|
2872
|
+
* `time_tracking.approve` decide through `approve_timesheet` and
|
|
2873
|
+
* `reject_timesheet`. Default `true`.
|
|
2874
|
+
*/
|
|
2875
|
+
readonly approvals?: boolean;
|
|
2876
|
+
/**
|
|
2877
|
+
* The column that holds each user's IANA time zone, as `{ column:
|
|
2878
|
+
* "schema.table.column", key? }` (`key` defaults to `id`). Weeks then start
|
|
2879
|
+
* in the user's own zone, and in `timeZone` for a user without one.
|
|
2880
|
+
*/
|
|
2881
|
+
readonly userTimeZone?: {
|
|
2882
|
+
readonly column: string;
|
|
2883
|
+
readonly key?: string;
|
|
2884
|
+
};
|
|
2833
2885
|
};
|
|
2834
2886
|
//#endregion
|
|
2835
2887
|
//#region src/blocks/trash/options.d.ts
|
|
@@ -3175,6 +3227,15 @@ interface BlockConfig<Options extends object = Readonly<Record<string, unknown>>
|
|
|
3175
3227
|
* column the adopted table doesn't have.
|
|
3176
3228
|
*/
|
|
3177
3229
|
readonly columns?: { readonly [T in keyof Names["tables"]]?: { readonly [C in Names["tables"][T]]?: string | null; }; };
|
|
3230
|
+
/**
|
|
3231
|
+
* Logical table to logical column to the values the app's column stores for
|
|
3232
|
+
* each label the block writes or compares, e.g. `{ events: { status: {
|
|
3233
|
+
* cancelled: 'canceled' } } }`. A list maps one label to several app values
|
|
3234
|
+
* (the first is written, each reads as the label); `null` marks a label the
|
|
3235
|
+
* app does not support, so a write of it fails with `VALUE_UNSUPPORTED`. Only
|
|
3236
|
+
* columns a block lists as typed take values; its docs page names them.
|
|
3237
|
+
*/
|
|
3238
|
+
readonly values?: { readonly [T in keyof Names["tables"]]?: { readonly [C in Names["tables"][T]]?: Readonly<Record<string, string | readonly string[] | null>>; }; };
|
|
3178
3239
|
/** Type of tenant ids: `uuid` (default), `text`, `bigint` or `integer`. */
|
|
3179
3240
|
readonly idType?: string;
|
|
3180
3241
|
/** Who the block's rows belong to. Defaults to `sql.scope`, then `tenant`. */
|
|
@@ -3395,6 +3456,8 @@ interface ResolvedBlock {
|
|
|
3395
3456
|
readonly schema: string;
|
|
3396
3457
|
readonly tables: Readonly<Record<string, string | null>>;
|
|
3397
3458
|
readonly columns: Readonly<Record<string, Readonly<Record<string, string | null>>>>;
|
|
3459
|
+
/** `values`, unchecked; the module context checks it against its tables. */
|
|
3460
|
+
readonly values?: Readonly<Record<string, unknown>>;
|
|
3398
3461
|
readonly idType?: string;
|
|
3399
3462
|
readonly scope?: BlockScope;
|
|
3400
3463
|
/** `ownTablePolicies`, with its default. */
|
|
@@ -3506,6 +3569,21 @@ interface AuthorizationFunctions {
|
|
|
3506
3569
|
* `permission` calls it for the instance in its topic name.
|
|
3507
3570
|
*/
|
|
3508
3571
|
readonly permitted?: string;
|
|
3572
|
+
/**
|
|
3573
|
+
* The ids of the rows of `{resource}` the caller holds `{permission}` on, as
|
|
3574
|
+
* a set of text: it is used as `select r.id from <template> as r(id)`.
|
|
3575
|
+
* `{resource}` is a resource name as the provider spells it in SQL (such as
|
|
3576
|
+
* `file_node`), unquoted, so it can be part of a function name; `{ids}` is a
|
|
3577
|
+
* `text[]` of the candidate ids, which a provider may use to limit the work.
|
|
3578
|
+
* `can_subject` calls it for a `config.records.<type>.permissions.<action>`
|
|
3579
|
+
* entry with `rows`.
|
|
3580
|
+
*/
|
|
3581
|
+
readonly rowsWith?: string;
|
|
3582
|
+
/**
|
|
3583
|
+
* `rowsWith` for `{user}`, so `can_subject_for` answers per-row grants for
|
|
3584
|
+
* another user. Without it those grants count for the caller only.
|
|
3585
|
+
*/
|
|
3586
|
+
readonly rowsWithFor?: string;
|
|
3509
3587
|
/**
|
|
3510
3588
|
* The records the caller may reach as a guest for `{action}` (`read`,
|
|
3511
3589
|
* `comment` or `upload`), as a set of `(tenant text, subject_type text,
|
|
@@ -4,7 +4,7 @@ import { t as BetterSupabase, y as Db } from "./define-Lf6rI2QN.js";
|
|
|
4
4
|
import { n as DataEngine } from "./data-engine-BWoz9lED.js";
|
|
5
5
|
import { Dn as GeneratedBlocks } from "./define-block-DCAiOrNX.js";
|
|
6
6
|
import { rt as BetterQueries } from "./index-ClvuSZEz.js";
|
|
7
|
-
import { t as ClientPorts } from "./ports-
|
|
7
|
+
import { t as ClientPorts } from "./ports-DbHiNSAa.js";
|
|
8
8
|
import { SupabaseClient } from "@supabase/supabase-js";
|
|
9
9
|
//#region src/client/bind.d.ts
|
|
10
10
|
interface AuthUser {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Dn as GeneratedBlocks } from "./define-block-DCAiOrNX.js";
|
|
2
|
-
import { n as TopicPort } from "./watch-topic-
|
|
3
|
-
import { t as ClientPorts } from "./ports-
|
|
4
|
-
import { t as AuthPort } from "./controller-
|
|
2
|
+
import { n as TopicPort } from "./watch-topic-B1UCoQfz.js";
|
|
3
|
+
import { t as ClientPorts } from "./ports-DbHiNSAa.js";
|
|
4
|
+
import { t as AuthPort } from "./controller-BGto_kYM.js";
|
|
5
5
|
import { SupabaseClient } from "@supabase/supabase-js";
|
|
6
6
|
//#region src/blocks/block-env.d.ts
|
|
7
7
|
/**
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as temporal } from "../../temporal-required-DcLhnDhQ.js";
|
|
2
2
|
import { t as AsyncResult } from "../../result-ntFBW2p2.js";
|
|
3
3
|
import { t as accessRequestsSqlOptions } from "../../options-gUvfr3no.js";
|
|
4
|
+
import { n as event, t as defineEvents } from "../../event-map-CtPFhcOp.js";
|
|
4
5
|
import { A as recordsOf, L as textOf, O as recordOf, U as rpcTransport, V as dbTransport, W as sqlTransport, j as requiredInstant, n as applyTemporal, o as blockCall, w as optionalText } from "../../block-helpers-B0f0ZVb5.js";
|
|
5
6
|
import { r as withBlockHooks } from "../../block-hooks-DKtz0HRh.js";
|
|
6
|
-
import { n as event, t as defineEvents } from "../../event-map-CtPFhcOp.js";
|
|
7
7
|
import { c as withFields, n as blockFields, r as extraFieldsArg, t as allWithFields } from "../../block-fields-BjXgX_5c.js";
|
|
8
8
|
import { n as defineBlock } from "../../define-block-BGqOO8B3.js";
|
|
9
9
|
//#region src/blocks/access-requests/access-requests.ts
|
|
@@ -3,10 +3,10 @@ import { n as dbError } from "../../errors-BVFgt8BZ.js";
|
|
|
3
3
|
import { n as isRecord } from "../../guards-6F2bCtQR.js";
|
|
4
4
|
import { a as ok, r as err, t as AsyncResult } from "../../result-ntFBW2p2.js";
|
|
5
5
|
import { t as activitiesSqlOptions } from "../../options-sU_zGkiV.js";
|
|
6
|
+
import { n as event, t as defineEvents } from "../../event-map-CtPFhcOp.js";
|
|
6
7
|
import { A as recordsOf, C as optionalInstant, L as textOf, O as recordOf, U as rpcTransport, V as dbTransport, W as sqlTransport, d as enumOrThrow, f as errorText, j as requiredInstant, m as instantArg, n as applyTemporal, o as blockCall, p as injectableOf, w as optionalText } from "../../block-helpers-B0f0ZVb5.js";
|
|
7
8
|
import { i as wrapTransport, n as extendBlock, r as withBlockHooks } from "../../block-hooks-DKtz0HRh.js";
|
|
8
9
|
import { n as entitySchema } from "../../entity-schema-B1YmMtP8.js";
|
|
9
|
-
import { n as event, t as defineEvents } from "../../event-map-CtPFhcOp.js";
|
|
10
10
|
import { n as blockFields } from "../../block-fields-BjXgX_5c.js";
|
|
11
11
|
import { n as defineBlock } from "../../define-block-BGqOO8B3.js";
|
|
12
12
|
//#region src/blocks/activities/recordings.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { n as isRecord } from "../../guards-6F2bCtQR.js";
|
|
2
2
|
import { t as AsyncResult } from "../../result-ntFBW2p2.js";
|
|
3
3
|
import { t as agentsSqlOptions } from "../../options-fkShrmGQ.js";
|
|
4
|
+
import { n as event, t as defineEvents } from "../../event-map-CtPFhcOp.js";
|
|
4
5
|
import { A as recordsOf, C as optionalInstant, I as stringsOf, L as textOf, O as recordOf, U as rpcTransport, V as dbTransport, W as sqlTransport, h as instantOf, n as applyTemporal, o as blockCall, v as notFoundError, w as optionalText } from "../../block-helpers-B0f0ZVb5.js";
|
|
5
6
|
import { r as withBlockHooks } from "../../block-hooks-DKtz0HRh.js";
|
|
6
|
-
import { n as event, t as defineEvents } from "../../event-map-CtPFhcOp.js";
|
|
7
7
|
import { c as withFields, i as extraOf, n as blockFields, t as allWithFields } from "../../block-fields-BjXgX_5c.js";
|
|
8
8
|
import { n as defineBlock } from "../../define-block-BGqOO8B3.js";
|
|
9
9
|
//#region src/blocks/agents/agents.ts
|
|
@@ -4,9 +4,9 @@ import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTrans
|
|
|
4
4
|
import { a as AiMessagePart, c as AiReasoningPart, d as AiTextPart, f as AiToolApprovalPart, g as isAiMessage, h as aiMessageSchema, i as AiMessage, l as AiSourcePart, m as AiToolResultPart, n as AiDataPart, o as AiMessagePartType, p as AiToolCallPart, r as AiFilePart, s as AiMessageRole, t as AI_MESSAGE_SCHEMA_ID, u as AiStepPart } from "../../message-Bg4TKA12.js";
|
|
5
5
|
import { $ as AiRunStep, A as AiStoredMessageStatus, B as AiSandbox, C as AiProject, D as AiSaveResult, E as AiRunStatus, F as AiUserMessageTrigger, G as AiHarnessSession, H as AiSandboxStopper, I as SharedAiChat, J as AiHarnessStatus, K as AiHarnessSessionPatch, L as aiChatListTopic, M as AiToolApproval, N as AiToolApprovalRequest, O as AiShareLink, P as AiToolPolicy, Q as AiRunState, R as aiChatTopic, S as AiPendingInputRequest, T as AiRunRelease, U as AiSandboxes, V as AiSandboxStatus, W as NewAiSandbox, X as AiRun, Y as AiPendingApproval, Z as AiRunQuery, _ as AiModerationAction, a as AiChatInput, b as AiModerationStage, c as AiChatPatch, d as AiChatShare, et as AiRunStepInput, f as AiChatVisibility, g as AiModelInput, h as AiModel, i as AiChat, j as AiStreamClaim, k as AiStoredMessage, l as AiChatQuery, m as AiMessageSibling, n as AiApprovalDecision, nt as AiRuns, o as AiChatOptions, p as AiFeedback, q as AiHarnessSessions, r as AiAssistantMessageOptions, rt as createHarnessSessions, s as AiChatPage, t as AiAppendResult, tt as AiRunStepStatus, u as AiChatRecord, v as AiModerationEvent, w as AiProjectInput, x as AiPendingInput, y as AiModerationInput, z as createAiChat } from "../../ai-chat-BCaKsvLW.js";
|
|
6
6
|
import { c as BlockOf } from "../../define-block-DCAiOrNX.js";
|
|
7
|
-
import { p as SubscriptionStatus } from "../../topic-
|
|
8
|
-
import { n as TopicPort } from "../../watch-topic-
|
|
9
|
-
import { n as Controller, t as AuthPort } from "../../controller-
|
|
7
|
+
import { p as SubscriptionStatus } from "../../topic-utZqhw96.js";
|
|
8
|
+
import { n as TopicPort } from "../../watch-topic-B1UCoQfz.js";
|
|
9
|
+
import { n as Controller, t as AuthPort } from "../../controller-BGto_kYM.js";
|
|
10
10
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
11
11
|
//#region src/core/contracts/ai-message.d.ts
|
|
12
12
|
/**
|
|
@@ -3,10 +3,10 @@ import { a as ok, t as AsyncResult } from "../../result-ntFBW2p2.js";
|
|
|
3
3
|
import { t as aiChatSqlOptions } from "../../options-BhsdveDk.js";
|
|
4
4
|
import { t as AI_MESSAGE_PART_TYPES } from "../../ai-message-DfaP8sis.js";
|
|
5
5
|
import { n as runStateOf } from "../../run-state-CgBKzYMW.js";
|
|
6
|
+
import { n as event, t as defineEvents } from "../../event-map-CtPFhcOp.js";
|
|
6
7
|
import { n as whileSignedIn, t as defineController } from "../../controller-BEliOBOv.js";
|
|
7
8
|
import { A as recordsOf, C as optionalInstant, I as stringsOf, L as textOf, O as recordOf, T as pageOf, U as rpcTransport, V as dbTransport, W as sqlTransport, f as errorText, h as instantOf, n as applyTemporal, o as blockCall, w as optionalText, x as oneOf, z as toInstant } from "../../block-helpers-B0f0ZVb5.js";
|
|
8
9
|
import { r as withBlockHooks } from "../../block-hooks-DKtz0HRh.js";
|
|
9
|
-
import { n as event, t as defineEvents } from "../../event-map-CtPFhcOp.js";
|
|
10
10
|
import { c as withFields, i as extraOf, n as blockFields, t as allWithFields } from "../../block-fields-BjXgX_5c.js";
|
|
11
11
|
import { n as defineBlock } from "../../define-block-BGqOO8B3.js";
|
|
12
12
|
import { a as AI_MESSAGE_SCHEMA_ID, i as validateMessage, n as pathToHistory, o as aiMessageSchema, r as repairDanglingToolCalls, s as isAiMessage, t as INTERRUPTED_TOOL_OUTPUT } from "../../history-GH1HJWQV.js";
|
|
@@ -2,10 +2,10 @@ import { n as dbError } from "../../errors-BVFgt8BZ.js";
|
|
|
2
2
|
import { n as isRecord } from "../../guards-6F2bCtQR.js";
|
|
3
3
|
import { a as ok, r as err, t as AsyncResult } from "../../result-ntFBW2p2.js";
|
|
4
4
|
import { t as aiKeysSqlOptions } from "../../options-D0Y6ZMe8.js";
|
|
5
|
+
import { n as event, t as defineEvents } from "../../event-map-CtPFhcOp.js";
|
|
5
6
|
import { A as recordsOf, C as optionalInstant, L as textOf, O as recordOf, T as pageOf, U as rpcTransport, V as dbTransport, W as sqlTransport, h as instantOf, k as recordOrEmpty, l as credentialRefOf, m as instantArg, n as applyTemporal, o as blockCall, w as optionalText, x as oneOf } from "../../block-helpers-B0f0ZVb5.js";
|
|
6
7
|
import { r as withBlockHooks } from "../../block-hooks-DKtz0HRh.js";
|
|
7
8
|
import { n as credentialRefInTenant, r as foreignCredentialRef } from "../../provider-B6g7rBZX.js";
|
|
8
|
-
import { n as event, t as defineEvents } from "../../event-map-CtPFhcOp.js";
|
|
9
9
|
import { n as defineBlock } from "../../define-block-BGqOO8B3.js";
|
|
10
10
|
import { n as revokeIfConfigured } from "../../compose-DKW0Tr3e.js";
|
|
11
11
|
//#region src/blocks/ai-keys/rows.ts
|
|
@@ -8,9 +8,9 @@ import { r as BlockTemporalOptions } from "../../block-helpers-CRpAHrp_.js";
|
|
|
8
8
|
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
|
|
9
9
|
import { n as BlockHooks } from "../../block-hooks-DZN2w69m.js";
|
|
10
10
|
import { c as BlockOf } from "../../define-block-DCAiOrNX.js";
|
|
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-
|
|
11
|
+
import { p as SubscriptionStatus } from "../../topic-utZqhw96.js";
|
|
12
|
+
import { n as TopicPort } from "../../watch-topic-B1UCoQfz.js";
|
|
13
|
+
import { n as Controller, t as AuthPort } from "../../controller-BGto_kYM.js";
|
|
14
14
|
//#region src/blocks/announcements/announcements.d.ts
|
|
15
15
|
type AnnouncementSeverity = "info" | "success" | "warning" | "critical";
|
|
16
16
|
/**
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as AsyncResult } from "../../result-ntFBW2p2.js";
|
|
2
2
|
import { t as announcementsSqlOptions } from "../../options-Cucv6sWP.js";
|
|
3
|
+
import { n as event, t as defineEvents } from "../../event-map-CtPFhcOp.js";
|
|
3
4
|
import { n as whileSignedIn, t as defineController } from "../../controller-BEliOBOv.js";
|
|
4
5
|
import { A as recordsOf, C as optionalInstant, I as stringsOf, L as textOf, O as recordOf, U as rpcTransport, V as dbTransport, W as sqlTransport, m as instantArg, n as applyTemporal, o as blockCall, w as optionalText, z as toInstant } from "../../block-helpers-B0f0ZVb5.js";
|
|
5
6
|
import { r as withBlockHooks } from "../../block-hooks-DKtz0HRh.js";
|
|
6
|
-
import { n as event, t as defineEvents } from "../../event-map-CtPFhcOp.js";
|
|
7
7
|
import { c as withFields, i as extraOf, n as blockFields, t as allWithFields } from "../../block-fields-BjXgX_5c.js";
|
|
8
8
|
import { n as defineBlock } from "../../define-block-BGqOO8B3.js";
|
|
9
9
|
//#region src/blocks/announcements/announcements.ts
|
|
@@ -4,7 +4,7 @@ import { r as AuthState } from "../../resolve-CXX6DHv3.js";
|
|
|
4
4
|
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
|
|
5
5
|
import { t as BlockProblemOptions } from "../../problem-DNwN8iGz.js";
|
|
6
6
|
import { c as BlockOf } from "../../define-block-DCAiOrNX.js";
|
|
7
|
-
import { n as Controller, t as AuthPort } from "../../controller-
|
|
7
|
+
import { n as Controller, t as AuthPort } from "../../controller-BGto_kYM.js";
|
|
8
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-D5k63K6y.js";
|
|
9
9
|
import { Entry } from "@supabase/middleware";
|
|
10
10
|
import { AuthMode, JWTClaims, UserClaims } from "@supabase/server";
|
|
@@ -3,10 +3,10 @@ import { t as temporal } from "../../temporal-required-DcLhnDhQ.js";
|
|
|
3
3
|
import { a as ok, s as toDbError, t as AsyncResult } from "../../result-ntFBW2p2.js";
|
|
4
4
|
import { o as problemResponse } from "../../problem-Bf0cJ7tk.js";
|
|
5
5
|
import { t as apiKeysSqlOptions } from "../../options-DNgSwhsm.js";
|
|
6
|
+
import { n as event, t as defineEvents } from "../../event-map-CtPFhcOp.js";
|
|
6
7
|
import { n as whileSignedIn, t as defineController } from "../../controller-BEliOBOv.js";
|
|
7
8
|
import { A as recordsOf, C as optionalInstant, I as stringsOf, L as textOf, O as recordOf, P as sha256Hex, U as rpcTransport, V as dbTransport, W as sqlTransport, m as instantArg, n as applyTemporal, o as blockCall, w as optionalText } from "../../block-helpers-B0f0ZVb5.js";
|
|
8
9
|
import { r as withBlockHooks } from "../../block-hooks-DKtz0HRh.js";
|
|
9
|
-
import { n as event, t as defineEvents } from "../../event-map-CtPFhcOp.js";
|
|
10
10
|
import { a as withAuthMode, o as withJwtClaims, s as withUserClaims } from "../../claims-DTy6R6my.js";
|
|
11
11
|
import { c as withFields, n as blockFields, r as extraFieldsArg, t as allWithFields } from "../../block-fields-BjXgX_5c.js";
|
|
12
12
|
import { n as defineBlock } from "../../define-block-BGqOO8B3.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { n as dbError } from "../../errors-BVFgt8BZ.js";
|
|
2
2
|
import { r as err, t as AsyncResult } from "../../result-ntFBW2p2.js";
|
|
3
3
|
import { t as approvalsSqlOptions } from "../../options-D_9Vxx7f.js";
|
|
4
|
+
import { n as event, t as defineEvents } from "../../event-map-CtPFhcOp.js";
|
|
4
5
|
import { A as recordsOf, L as textOf, O as recordOf, U as rpcTransport, V as dbTransport, W as sqlTransport, j as requiredInstant, n as applyTemporal, o as blockCall, w as optionalText } from "../../block-helpers-B0f0ZVb5.js";
|
|
5
6
|
import { r as withBlockHooks } from "../../block-hooks-DKtz0HRh.js";
|
|
6
|
-
import { n as event, t as defineEvents } from "../../event-map-CtPFhcOp.js";
|
|
7
7
|
import { c as withFields, n as blockFields, r as extraFieldsArg, t as allWithFields } from "../../block-fields-BjXgX_5c.js";
|
|
8
8
|
import { n as defineBlock } from "../../define-block-BGqOO8B3.js";
|
|
9
9
|
import { i as subjectRefOf } from "../../block-subjects-DFSuFY1a.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { n as isRecord } from "../../guards-6F2bCtQR.js";
|
|
2
2
|
import { t as assetsSqlOptions } from "../../options-BOCRbzh3.js";
|
|
3
|
+
import { n as event, t as defineEvents } from "../../event-map-CtPFhcOp.js";
|
|
3
4
|
import { A as recordsOf, C as optionalInstant, L as textOf, O as recordOf, U as rpcTransport, V as dbTransport, W as sqlTransport, d as enumOrThrow, j as requiredInstant, m as instantArg, n as applyTemporal, o as blockCall, w as optionalText } from "../../block-helpers-B0f0ZVb5.js";
|
|
4
5
|
import { i as wrapTransport, n as extendBlock, r as withBlockHooks } from "../../block-hooks-DKtz0HRh.js";
|
|
5
6
|
import { t as defineRecordBinding } from "../../record-bindings-Z51mGfhB.js";
|
|
6
|
-
import { n as event, t as defineEvents } from "../../event-map-CtPFhcOp.js";
|
|
7
7
|
import { n as defineBlock } from "../../define-block-BGqOO8B3.js";
|
|
8
8
|
import { t as requireOrganization } from "../../block-tenant-DHp7subc.js";
|
|
9
9
|
//#region src/blocks/assets/assets.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { n as event, t as defineEvents } from "../../event-map-CtPFhcOp.js";
|
|
1
2
|
import { A as recordsOf, C as optionalInstant, L as textOf, O as recordOf, U as rpcTransport, V as dbTransport, W as sqlTransport, d as enumOrThrow, j as requiredInstant, n as applyTemporal, o as blockCall } from "../../block-helpers-B0f0ZVb5.js";
|
|
2
3
|
import { i as wrapTransport, n as extendBlock, r as withBlockHooks } from "../../block-hooks-DKtz0HRh.js";
|
|
3
4
|
import { n as entitySchema } from "../../entity-schema-B1YmMtP8.js";
|
|
4
|
-
import { n as event, t as defineEvents } from "../../event-map-CtPFhcOp.js";
|
|
5
5
|
import { n as defineBlock } from "../../define-block-BGqOO8B3.js";
|
|
6
6
|
import { t as conditionsOf } from "../../automations-BMuqwZZn.js";
|
|
7
7
|
//#region src/blocks/assignment/assignment.ts
|
|
@@ -3,7 +3,7 @@ import { Ct as Events, ot as StorageObjectEventData, y as AttachmentEventData }
|
|
|
3
3
|
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
|
|
4
4
|
import { t as Author } from "../../block-authors-DzXLUiIq.js";
|
|
5
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-DCAiOrNX.js";
|
|
6
|
-
import { n as Controller } from "../../controller-
|
|
6
|
+
import { n as Controller } from "../../controller-BGto_kYM.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 = {
|
|
@@ -2,11 +2,11 @@ import { n as dbError } from "../../errors-BVFgt8BZ.js";
|
|
|
2
2
|
import { n as isRecord } from "../../guards-6F2bCtQR.js";
|
|
3
3
|
import { a as ok, r as err, s as toDbError } from "../../result-ntFBW2p2.js";
|
|
4
4
|
import { t as attachmentsSqlOptions } from "../../options-BxpLtyk-.js";
|
|
5
|
+
import { n as event, t as defineEvents } from "../../event-map-CtPFhcOp.js";
|
|
5
6
|
import { t as defineController } from "../../controller-BEliOBOv.js";
|
|
6
7
|
import { U as rpcTransport, V as dbTransport, W as sqlTransport, o as blockCall, w as optionalText } from "../../block-helpers-B0f0ZVb5.js";
|
|
7
8
|
import { n as entitySchema } from "../../entity-schema-B1YmMtP8.js";
|
|
8
9
|
import { i as recordRowInput, t as defineRecordBinding } from "../../record-bindings-Z51mGfhB.js";
|
|
9
|
-
import { n as event, t as defineEvents } from "../../event-map-CtPFhcOp.js";
|
|
10
10
|
import { n as defineBlock } from "../../define-block-BGqOO8B3.js";
|
|
11
11
|
import { a as createObjectScanner, i as createAttachments, n as attachmentVersionOf, o as stored, r as createAttachmentScanner } from "../../attachments-BXbLnNxm.js";
|
|
12
12
|
//#region src/blocks/attachments/sweep.ts
|
|
@@ -11,9 +11,9 @@ import { Yt as WhereInput, t as BetterSupabase } from "../../define-Lf6rI2QN.js"
|
|
|
11
11
|
import { c as BlockOf } from "../../define-block-DCAiOrNX.js";
|
|
12
12
|
import { i as EventSink, t as CloudEvent } from "../../cloud-event-CzZTJkXv.js";
|
|
13
13
|
import { i as ListDefinition } from "../../list-query-XYfUZb0j.js";
|
|
14
|
-
import { n as Controller, t as AuthPort } from "../../controller-
|
|
14
|
+
import { n as Controller, t as AuthPort } from "../../controller-BGto_kYM.js";
|
|
15
15
|
import { a as UndoToken } from "../../undo-B1jwnVyN.js";
|
|
16
|
-
import { n as AuditCategory } from "../../context-
|
|
16
|
+
import { n as AuditCategory } from "../../context-CMf4OKpN.js";
|
|
17
17
|
//#region src/blocks/audit/audit.d.ts
|
|
18
18
|
interface PurgeAuditLogOptions extends BlockTemporalOptions {
|
|
19
19
|
/**
|
|
@@ -9,11 +9,11 @@ import { t as SPEC_PINS } from "../../spec-pins-D3zDek-u.js";
|
|
|
9
9
|
import { i as sqlIdent } from "../../template-Drgg3v2J.js";
|
|
10
10
|
import { t as MAX_BATCH } from "../../batch-limit-DKVQDz4o.js";
|
|
11
11
|
import { t as auditSqlOptions } from "../../options-BQyrZjwM.js";
|
|
12
|
+
import { n as event, t as defineEvents } from "../../event-map-CtPFhcOp.js";
|
|
12
13
|
import { n as whileSignedIn, t as defineController } from "../../controller-BEliOBOv.js";
|
|
13
14
|
import { A as recordsOf, C as optionalInstant, I as stringsOf, L as textOf, M as run, N as seconds, O as recordOf, T as pageOf, U as rpcTransport, V as dbTransport, W as sqlTransport, c as chunksOf, i as batchResultsOf, m as instantArg, n as applyTemporal, o as blockCall, w as optionalText, z as toInstant } from "../../block-helpers-B0f0ZVb5.js";
|
|
14
15
|
import { r as withBlockHooks } from "../../block-hooks-DKtz0HRh.js";
|
|
15
16
|
import { r as toCsv } from "../../csv-2rXGPNtP.js";
|
|
16
|
-
import { n as event, t as defineEvents } from "../../event-map-CtPFhcOp.js";
|
|
17
17
|
import { n as defineBlock } from "../../define-block-BGqOO8B3.js";
|
|
18
18
|
import { i as undoToken } from "../../undo-BbftL9-4.js";
|
|
19
19
|
import { n as defineListQuery } from "../../list-query-BnpA2BDg.js";
|
|
@@ -8,7 +8,7 @@ import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport,
|
|
|
8
8
|
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-DZN2w69m.js";
|
|
9
9
|
import { _ as FilterRule, d as FilterLimits, f as FilterNode, h as FilterQuery, i as FilterCombinator, m as FilterOperatorSpec, r as FilterClock } from "../../filter-query-BXLs72G9.js";
|
|
10
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-DCAiOrNX.js";
|
|
11
|
-
import { n as Controller, t as AuthPort } from "../../controller-
|
|
11
|
+
import { n as Controller, t as AuthPort } from "../../controller-BGto_kYM.js";
|
|
12
12
|
import { o as ApprovalRequestInput } from "../../approvals-Dh9dUXrN.js";
|
|
13
13
|
import { n as FilterRecordField, t as FilterEvaluation } from "../../filter-evaluate-CPxeae5X.js";
|
|
14
14
|
import { a as checkRuleConditions, c as ruleFilterFields, i as RuleFieldDefinition, n as RuleField, o as defineRuleFields, r as RuleFieldCatalog, s as ruleFilterFieldInfo, t as RULE_LIMITS } from "../../fields-C3q2ypnO.js";
|
|
@@ -2,10 +2,10 @@ import { n as dbError } from "../../errors-BVFgt8BZ.js";
|
|
|
2
2
|
import { t as FILTER_OPERATORS } from "../../filter-query-CQ6d5GnQ.js";
|
|
3
3
|
import { a as ok, r as err } from "../../result-ntFBW2p2.js";
|
|
4
4
|
import { t as automationsSqlOptions } from "../../options-DcHl59RC.js";
|
|
5
|
+
import { n as event, t as defineEvents } from "../../event-map-CtPFhcOp.js";
|
|
5
6
|
import { n as whileSignedIn, t as defineController } from "../../controller-BEliOBOv.js";
|
|
6
7
|
import { U as rpcTransport, V as dbTransport, W as sqlTransport } from "../../block-helpers-B0f0ZVb5.js";
|
|
7
8
|
import { i as wrapTransport, n as extendBlock, r as withBlockHooks } from "../../block-hooks-DKtz0HRh.js";
|
|
8
|
-
import { n as event, t as defineEvents } from "../../event-map-CtPFhcOp.js";
|
|
9
9
|
import { n as defineBlock } from "../../define-block-BGqOO8B3.js";
|
|
10
10
|
import { n as createActionRegistry, r as defineAction, t as actionKey } from "../../automation-D41DXyvT.js";
|
|
11
11
|
import { a as ruleFilterFields, i as ruleFilterFieldInfo, n as checkRuleConditions, r as defineRuleFields, t as RULE_LIMITS } from "../../fields-BBm49w-E.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as temporal } from "../../temporal-required-DcLhnDhQ.js";
|
|
2
|
+
import { n as event, t as defineEvents } from "../../event-map-CtPFhcOp.js";
|
|
2
3
|
import { A as recordsOf, L as textOf, O as recordOf, U as rpcTransport, V as dbTransport, W as sqlTransport, j as requiredInstant, m as instantArg, n as applyTemporal, o as blockCall, w as optionalText } from "../../block-helpers-B0f0ZVb5.js";
|
|
3
4
|
import { i as wrapTransport, n as extendBlock, r as withBlockHooks } from "../../block-hooks-DKtz0HRh.js";
|
|
4
5
|
import { n as entitySchema, r as moneyField } from "../../entity-schema-B1YmMtP8.js";
|
|
5
6
|
import { t as defineRecordBinding } from "../../record-bindings-Z51mGfhB.js";
|
|
6
|
-
import { n as event, t as defineEvents } from "../../event-map-CtPFhcOp.js";
|
|
7
7
|
import { n as defineBlock } from "../../define-block-BGqOO8B3.js";
|
|
8
8
|
import { t as requireOrganization } from "../../block-tenant-DHp7subc.js";
|
|
9
9
|
import { i as moneyOf, t as amountText } from "../../money-codec-BJuS2zEW.js";
|
|
@@ -9,7 +9,7 @@ import { n as BlockHooks } from "../../block-hooks-DZN2w69m.js";
|
|
|
9
9
|
import { n as StripeSource, r as StripeTaxId, t as StripeClient } from "../../stripe-X22LjuH-.js";
|
|
10
10
|
import { c as BlockOf } from "../../define-block-DCAiOrNX.js";
|
|
11
11
|
import { i as EventSink } from "../../cloud-event-CzZTJkXv.js";
|
|
12
|
-
import { n as Controller, t as AuthPort } from "../../controller-
|
|
12
|
+
import { n as Controller, t as AuthPort } from "../../controller-BGto_kYM.js";
|
|
13
13
|
import { d as stripeInboxVerify, f as verifyStripeWebhook, u as signStripeWebhook } from "../../verify-B0KLBb3j.js";
|
|
14
14
|
//#region src/blocks/billing/events.d.ts
|
|
15
15
|
/** The events of the `billing` block: type to data. */
|
|
@@ -2,11 +2,11 @@ import { n as dbError } from "../../errors-BVFgt8BZ.js";
|
|
|
2
2
|
import { n as isRecord } from "../../guards-6F2bCtQR.js";
|
|
3
3
|
import { a as ok, r as err, s as toDbError, t as AsyncResult } from "../../result-ntFBW2p2.js";
|
|
4
4
|
import { t as billingSqlOptions } from "../../options-DZHZYlpD.js";
|
|
5
|
+
import { n as event, t as defineEvents } from "../../event-map-CtPFhcOp.js";
|
|
6
|
+
import { r as blockEmitter } from "../../block-events-IWAyafO3.js";
|
|
5
7
|
import { n as whileSignedIn, t as defineController } from "../../controller-BEliOBOv.js";
|
|
6
8
|
import { C as optionalInstant, L as textOf, O as recordOf, T as pageOf, U as rpcTransport, V as dbTransport, W as sqlTransport, n as applyTemporal, o as blockCall, w as optionalText } from "../../block-helpers-B0f0ZVb5.js";
|
|
7
9
|
import { r as withBlockHooks } from "../../block-hooks-DKtz0HRh.js";
|
|
8
|
-
import { n as event, t as defineEvents } from "../../event-map-CtPFhcOp.js";
|
|
9
|
-
import { r as blockEmitter } from "../../block-events-IWAyafO3.js";
|
|
10
10
|
import { n as defineBlock } from "../../define-block-BGqOO8B3.js";
|
|
11
11
|
import { n as DATABASE_URL_ENV, t as CRON_SECRET_ENV } from "../../wiring-CDNuQoJJ.js";
|
|
12
12
|
import { a as signStripeWebhook, o as stripeInboxVerify, s as verifyStripeWebhook } from "../../verify-7EucfCnv.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { b as DbError } from "../../result-DZeA5KS6.js";
|
|
2
2
|
import { Ct as Events, tt as SchedulingEventData } from "../../events-vcqenSYU.js";
|
|
3
3
|
import { c as BlockOf } from "../../define-block-DCAiOrNX.js";
|
|
4
|
-
import { n as Controller } from "../../controller-
|
|
4
|
+
import { n as Controller } from "../../controller-BGto_kYM.js";
|
|
5
5
|
import { o as WeeklyHours } from "../../availability-vguUvEK2.js";
|
|
6
6
|
import { C as bookingSeriesOf, S as BookingWeekday, T as parseRecurrence, _ as BookedSeries, a as BookingExceptionInput, b as BookingSeriesScope, c as BookingResourceInput, d as BookingStatus, f as Bookings, g as createBookings, h as PublicBookingService, i as BookingDuration, l as BookingServiceInput, m as PlacedBooking, n as Booking, o as BookingExpirePayload, p as BookingsOptions, r as BookingCustomer, s as BookingRange, t as BOOKING_EXPIRE_QUEUE, u as BookingSlot, v as BookingRecurrence, w as formatRecurrence, x as BookingSeriesStatus, y as BookingSeries } from "../../bookings-BpCNphYp.js";
|
|
7
7
|
import { t as EventCalendarEvent } from "../../event-calendar-DCufbihU.js";
|