better-supabase 0.29.0 → 0.30.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ai-sdk/agents/index.d.ts +2 -2
- package/dist/{app-tables-DekyKNQ8.d.ts → app-tables-yyVncXEt.d.ts} +1 -1
- package/dist/{authorization-C7nuWMuB.d.ts → authorization-CDU9tYA_.d.ts} +14 -0
- package/dist/{bind-DmUGUsBd.d.ts → bind-p7asfI6H.d.ts} +1 -1
- package/dist/{block-env-DWtZsqhH.d.ts → block-env-B8wG3xeh.d.ts} +3 -3
- package/dist/blocks/ai-chat/index.d.ts +3 -3
- package/dist/blocks/announcements/index.d.ts +3 -3
- package/dist/blocks/api-keys/index.d.ts +1 -1
- package/dist/blocks/attachments/index.d.ts +1 -1
- package/dist/blocks/audit/index.d.ts +2 -2
- package/dist/blocks/automations/index.d.ts +1 -1
- package/dist/blocks/billing/index.d.ts +1 -1
- package/dist/blocks/bookings/index.d.ts +1 -1
- package/dist/blocks/calendar/index.d.ts +1 -1
- package/dist/blocks/calendar/index.js +1 -1
- package/dist/blocks/comments/index.d.ts +4 -4
- package/dist/blocks/entitlements/index.d.ts +2 -2
- package/dist/blocks/forms/index.d.ts +1 -1
- package/dist/blocks/inbox/index.d.ts +4 -4
- package/dist/blocks/index.d.ts +1 -1
- package/dist/blocks/messaging/index.d.ts +4 -4
- package/dist/blocks/mfa/index.d.ts +1 -1
- package/dist/blocks/notifications/index.d.ts +3 -3
- package/dist/blocks/onboarding/index.d.ts +1 -1
- package/dist/blocks/organizations/index.d.ts +2 -2
- package/dist/blocks/permissions/index.d.ts +1 -1
- package/dist/blocks/push/index.d.ts +1 -1
- package/dist/blocks/reactions/index.d.ts +3 -3
- package/dist/blocks/saved-views/index.d.ts +1 -1
- package/dist/blocks/search/index.d.ts +2 -2
- package/dist/blocks/sessions/index.d.ts +1 -1
- package/dist/blocks/settings/index.d.ts +1 -1
- package/dist/blocks/subjects/index.d.ts +1 -1
- package/dist/blocks/tags/index.d.ts +1 -1
- package/dist/blocks/undo/index.d.ts +1 -1
- package/dist/blocks/usage/index.d.ts +1 -1
- package/dist/blocks/workflow-editor/index.d.ts +3 -3
- package/dist/blocks/workflows/index.d.ts +3 -3
- package/dist/cli/add-BdhGOwkB.js +1 -0
- package/dist/cli/{add-CrQ3jS7t.js → add-D4w-Axib.js} +9 -9
- package/dist/cli/{add-BKkV99g9.js → add-Dggyehsy.js} +2 -2
- package/dist/cli/{app-table-files-PnPOpuB4.js → app-table-files-CiGuwLkO.js} +2 -2
- package/dist/cli/{backfill-DDDLhinm.js → backfill-DjVjXW_P.js} +1 -1
- package/dist/cli/bin.js +1 -1
- package/dist/cli/{blocks-BCVcjvbm.js → blocks-Bbmb6W_F.js} +1 -1
- package/dist/cli/{blocks-tRfYx_mh.js → blocks-jRL9K1R8.js} +1 -1
- package/dist/cli/{cache-DQZ09YOg.js → cache-BuoIFlUJ.js} +1 -1
- package/dist/cli/{codemod-HKuwQmi_.js → codemod-DRavXBCb.js} +1 -1
- package/dist/cli/{content-mapper-B0ehR7K-.js → content-mapper-BCtyfKXl.js} +2 -2
- package/dist/cli/{doctor-CXJOhwLB.js → doctor-Di2ZekfN.js} +49 -16
- package/dist/cli/{env-BM242BCV.js → env-B2CbnbzD.js} +1 -1
- package/dist/cli/env-CynGCICL.js +1 -0
- package/dist/cli/{gen-B7rw4j19.js → gen-STKC9vkK.js} +12 -12
- package/dist/cli/index.d.ts +1 -1
- package/dist/cli/index.js +6 -6
- package/dist/cli/{init-C1bXXB_P.js → init-DW6_nIwj.js} +8 -8
- package/dist/cli/{live-PpAh9pAc.js → live-0G4Plw3K.js} +2 -2
- package/dist/cli/{mcp-BRNAchdH.js → mcp-flKS8iU5.js} +2 -2
- package/dist/cli/{metadata-dAAKb_kR.js → metadata-VARUbXEe.js} +3 -3
- package/dist/cli/{migrate-BWYXFnaW.js → migrate-Bkq07XcT.js} +1 -1
- package/dist/cli/{migration-safety-DGQswWZy.js → migration-safety-BfVeza5j.js} +1 -1
- package/dist/cli/{migrations-Cqk-lJwu.js → migrations-BCq7Zs2E.js} +2 -2
- package/dist/cli/{module-migration-8-hMiZtW.js → module-migration-lbeUrsYv.js} +2 -2
- package/dist/cli/{powersync-BWQ-8T3G.js → powersync-B15CfH5Y.js} +3 -3
- package/dist/cli/powersync-DnBsDchT.js +1 -0
- package/dist/cli/{print-DSTnq5xz.js → print-DjxpBRnv.js} +2 -2
- package/dist/cli/{providers-Cjf5iOp5.js → providers-dyxcHQY3.js} +1 -1
- package/dist/cli/{remove-CwG8cPv1.js → remove-BLq5gbal.js} +5 -5
- package/dist/cli/{render-B18iAdsT.js → render-CizUf3RW.js} +3 -3
- package/dist/cli/{run-CvPl8iQd.js → run-ChEjR7yw.js} +2 -2
- package/dist/cli/{run-Wx_2Acgv.js → run-ChOY6s4o.js} +8 -8
- package/dist/cli/{run-C2Yg5MWt.js → run-MwM__teL.js} +24 -24
- package/dist/cli/{shared-BHbtUOvh.js → shared-DV5wIv-7.js} +1 -1
- package/dist/cli/{snapshot-CXgsUPGj.js → snapshot-B5LXkVMC.js} +2 -2
- package/dist/cli/{source-B6aMAoEK.js → source-BoLNG_2A.js} +1 -1
- package/dist/cli/{spec-EO0TP84d.js → spec-D6QeE2Zx.js} +1 -1
- package/dist/cli/{spec-BcYic005.js → spec-Dz-PGCaM.js} +2 -2
- package/dist/cli/{sql-layout-CkxDNVEH.js → sql-layout-zo02f3Dm.js} +2 -2
- package/dist/cli/{stack-env-6hS-WEmh.js → stack-env-3ziggrU3.js} +1 -1
- package/dist/cli/{sync-pq6gmlhG.js → sync-m-oZ_SyI.js} +4 -4
- package/dist/cli/{upgrade-Dp9p7A69.js → upgrade-C9sgVZ5z.js} +5 -5
- package/dist/cli/{upgrade-BoHb4h9P.js → upgrade-WwEJaX3i.js} +2 -2
- package/dist/cli/{version-CQHFm-ak.js → version-D2BQuqta.js} +1 -1
- package/dist/client/index.d.ts +5 -5
- package/dist/client/native/index.d.ts +4 -4
- package/dist/config/index.d.ts +2 -2
- package/dist/{context-B4TsE2gY.d.ts → context-nbYYjv7U.d.ts} +13 -1
- package/dist/{controller-CtwAsnVV.d.ts → controller-TRocodqG.d.ts} +1 -1
- package/dist/create/index.d.ts +3 -3
- package/dist/create/index.js +1 -1
- package/dist/create/lite/index.d.ts +3 -3
- package/dist/create/lite/index.js +1 -1
- package/dist/{entitlements-Bw3eYGKJ.d.ts → entitlements-B1i1-wfe.d.ts} +1 -1
- package/dist/{field-errors-DkzFduux.d.ts → field-errors-tJvehEFc.d.ts} +4 -4
- package/dist/{index-CBQT_nXf.d.ts → index-8US7qlvW.d.ts} +2 -2
- package/dist/{index-BNgpz_BV.d.ts → index-BKrxynq9.d.ts} +2 -2
- package/dist/{index-CB66nl14.d.ts → index-BkzXwuIN.d.ts} +1 -1
- package/dist/{index-BxckmAFc.d.ts → index-CWAQRWY8.d.ts} +2 -2
- package/dist/{index-Cw5gGSP8.d.ts → index-zsgNmE8m.d.ts} +6 -6
- package/dist/mapper/bin.js +5 -5
- package/dist/mcp/index.d.ts +1 -1
- package/dist/next/index.d.ts +86 -11
- package/dist/next/index.js +189 -49
- package/dist/{operations-CqmQrTKw.d.ts → operations-CB9atU2e.d.ts} +1 -1
- package/dist/{options-C4LuqmdG.js → options-BKBy5wM_.js} +2 -1
- package/dist/otel/index.js +4 -4
- package/dist/{ports-6LBgr1Aa.d.ts → ports-hpbyMySO.d.ts} +1 -1
- package/dist/powersync/index.d.ts +2 -2
- package/dist/preset/index.d.ts +3 -3
- package/dist/{project-C4NA_van.js → project-B32wb5J6.js} +1 -1
- package/dist/{push-token-BXsrJ7W9.d.ts → push-token-DQ1ycFPU.d.ts} +1 -1
- package/dist/react/index.d.ts +5 -5
- package/dist/react/native/index.d.ts +1 -1
- package/dist/react/server.d.ts +5 -5
- package/dist/realtime/index.d.ts +3 -3
- package/dist/records/index.d.ts +3 -3
- package/dist/server/index.d.ts +3 -3
- package/dist/server/index.js +1 -1
- package/dist/sign-in-BzihC_8k.d.ts +50 -0
- package/dist/{sign-in-NO7LWlw4.js → sign-in-Cyj3ZlFX.js} +120 -25
- package/dist/solid/index.d.ts +5 -5
- package/dist/sql/index.d.ts +4 -4
- package/dist/sql/index.js +2 -2
- package/dist/{sql-CoBySj2F.js → sql-CyeDg3Yh.js} +279 -171
- package/dist/ssr/index.d.ts +1 -1
- package/dist/svelte/index.d.ts +5 -5
- package/dist/{tenant-Ded341Qz.d.ts → tenant-C9YE_kqK.d.ts} +1 -1
- package/dist/testing/index.d.ts +3 -3
- package/dist/{topic-XDdKzlrn.d.ts → topic-breZqx_4.d.ts} +1 -1
- package/dist/{types-BFwB-E1j.d.ts → types-C3I7S51U.d.ts} +2 -2
- package/dist/vue/index.d.ts +5 -5
- package/dist/{watch-topic-DpN_GEoS.d.ts → watch-topic-ItO3dz8m.d.ts} +1 -1
- package/dist/workflow-sdk/world/index.js +1 -1
- package/dist/{workflow-sdk-CaEw822d.js → workflow-sdk-BWPsdzVK.js} +36 -8
- package/dist/yjs/index.d.ts +1 -1
- package/package.json +1 -1
- package/schemas/config-v1.json +2 -1
- package/schemas/doctor-report-v1.json +1 -0
- package/skills/better-supabase-auth/SKILL.md +8 -1
- package/dist/cli/add-CwhrRJz5.js +0 -1
- package/dist/cli/env-uqfUbUzk.js +0 -1
- package/dist/cli/powersync-CbYxLsjv.js +0 -1
- package/dist/sign-in-CfwJAJJL.d.ts +0 -24
|
@@ -2,8 +2,8 @@ import { a as SessionActor, c as agentClaims, r as AgentActOptions } from "../..
|
|
|
2
2
|
import { d as KnowledgeSearchOptions, o as KnowledgeHit, r as Knowledge } from "../../knowledge-CsLPACGJ.js";
|
|
3
3
|
import { t as Agent } from "../../agents-CM_cCtcr.js";
|
|
4
4
|
import { P as AiToolPolicy, _ as AiModerationAction, b as AiModerationStage, i as AiChat } from "../../ai-chat-B7_vQvxU.js";
|
|
5
|
-
import { r as AuthorizationOperation } from "../../authorization-
|
|
6
|
-
import { t as OperationTable } from "../../operations-
|
|
5
|
+
import { r as AuthorizationOperation } from "../../authorization-CDU9tYA_.js";
|
|
6
|
+
import { t as OperationTable } from "../../operations-CB9atU2e.js";
|
|
7
7
|
import { i as SearchToolOptions, r as ResultsFilter } from "../../embeddings-I3s5sTDt.js";
|
|
8
8
|
import { n as GatewayOptions } from "../../gateway-options-BlVCqgb8.js";
|
|
9
9
|
import { LanguageModel, LanguageModelMiddleware, StopCondition, ToolLoopAgent, ToolLoopAgentSettings, ToolSet } from "ai";
|
|
@@ -2145,6 +2145,19 @@ type BulkSqlOptions = {
|
|
|
2145
2145
|
};
|
|
2146
2146
|
//#endregion
|
|
2147
2147
|
//#region src/blocks/calendar/options.d.ts
|
|
2148
|
+
/**
|
|
2149
|
+
* How structured rule columns store BYDAY and BYMONTHDAY: weekday codes in
|
|
2150
|
+
* lower case, one month day per rule, and an ordinal weekday (`2TU`) in two
|
|
2151
|
+
* columns of the app's rules table.
|
|
2152
|
+
*/
|
|
2153
|
+
type CalendarRuleDialect = {
|
|
2154
|
+
readonly weekdays?: "upper" | "lower";
|
|
2155
|
+
readonly monthDay?: "list" | "scalar";
|
|
2156
|
+
readonly ordinal?: {
|
|
2157
|
+
readonly weekday: string;
|
|
2158
|
+
readonly position: string;
|
|
2159
|
+
};
|
|
2160
|
+
};
|
|
2148
2161
|
type CalendarAccessFunctions = {
|
|
2149
2162
|
readonly read?: string;
|
|
2150
2163
|
readonly write?: string;
|
|
@@ -2164,6 +2177,7 @@ type CalendarSqlOptions = {
|
|
|
2164
2177
|
readonly rdates?: boolean;
|
|
2165
2178
|
readonly attendeeKey?: "email" | "any";
|
|
2166
2179
|
readonly calendarDetails?: boolean;
|
|
2180
|
+
readonly ruleDialect?: CalendarRuleDialect;
|
|
2167
2181
|
};
|
|
2168
2182
|
//#endregion
|
|
2169
2183
|
//#region src/blocks/catalog/options.d.ts
|
|
@@ -4,7 +4,7 @@ import { t as BetterSupabase, y as Db } from "./define-D8_9X5fZ.js";
|
|
|
4
4
|
import { n as DataEngine } from "./data-engine-rvbR2C4F.js";
|
|
5
5
|
import { Dn as GeneratedBlocks } from "./define-block-DWVZSZv1.js";
|
|
6
6
|
import { rt as BetterQueries } from "./index-BM6NmKSc.js";
|
|
7
|
-
import { t as ClientPorts } from "./ports-
|
|
7
|
+
import { t as ClientPorts } from "./ports-hpbyMySO.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-DWVZSZv1.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-ItO3dz8m.js";
|
|
3
|
+
import { t as ClientPorts } from "./ports-hpbyMySO.js";
|
|
4
|
+
import { t as AuthPort } from "./controller-TRocodqG.js";
|
|
5
5
|
import { SupabaseClient } from "@supabase/supabase-js";
|
|
6
6
|
//#region src/blocks/block-env.d.ts
|
|
7
7
|
/**
|
|
@@ -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-B7_vQvxU.js";
|
|
6
6
|
import { c as BlockOf } from "../../define-block-DWVZSZv1.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-breZqx_4.js";
|
|
8
|
+
import { n as TopicPort } from "../../watch-topic-ItO3dz8m.js";
|
|
9
|
+
import { n as Controller, t as AuthPort } from "../../controller-TRocodqG.js";
|
|
10
10
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
11
11
|
//#region src/core/contracts/ai-message.d.ts
|
|
12
12
|
/**
|
|
@@ -8,9 +8,9 @@ import { r as BlockTemporalOptions } from "../../block-helpers-D5emQ2O6.js";
|
|
|
8
8
|
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-9EUA3q_I.js";
|
|
9
9
|
import { n as BlockHooks } from "../../block-hooks-B8itxzEE.js";
|
|
10
10
|
import { c as BlockOf } from "../../define-block-DWVZSZv1.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-breZqx_4.js";
|
|
12
|
+
import { n as TopicPort } from "../../watch-topic-ItO3dz8m.js";
|
|
13
|
+
import { n as Controller, t as AuthPort } from "../../controller-TRocodqG.js";
|
|
14
14
|
//#region src/blocks/announcements/announcements.d.ts
|
|
15
15
|
type AnnouncementSeverity = "info" | "success" | "warning" | "critical";
|
|
16
16
|
/**
|
|
@@ -4,7 +4,7 @@ import { r as AuthState } from "../../resolve-CtX6T0c0.js";
|
|
|
4
4
|
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-9EUA3q_I.js";
|
|
5
5
|
import { t as BlockProblemOptions } from "../../problem-DNwN8iGz.js";
|
|
6
6
|
import { c as BlockOf } from "../../define-block-DWVZSZv1.js";
|
|
7
|
-
import { n as Controller, t as AuthPort } from "../../controller-
|
|
7
|
+
import { n as Controller, t as AuthPort } from "../../controller-TRocodqG.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-JE-aykZE.js";
|
|
9
9
|
import { Entry } from "@supabase/middleware";
|
|
10
10
|
import { AuthMode, JWTClaims, UserClaims } from "@supabase/server";
|
|
@@ -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-9EUA3q_I.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-DWVZSZv1.js";
|
|
6
|
-
import { n as Controller } from "../../controller-
|
|
6
|
+
import { n as Controller } from "../../controller-TRocodqG.js";
|
|
7
7
|
//#region src/blocks/attachments/record-binding.d.ts
|
|
8
8
|
/** A pending write to a record's files, for `useOptimistic`. */
|
|
9
9
|
type AttachmentsOptimisticAction = {
|
|
@@ -11,9 +11,9 @@ import { Yt as WhereInput, t as BetterSupabase } from "../../define-D8_9X5fZ.js"
|
|
|
11
11
|
import { c as BlockOf } from "../../define-block-DWVZSZv1.js";
|
|
12
12
|
import { i as EventSink, t as CloudEvent } from "../../cloud-event-0pQ9vFNS.js";
|
|
13
13
|
import { i as ListDefinition } from "../../list-query-BcU8NnNL.js";
|
|
14
|
-
import { n as Controller, t as AuthPort } from "../../controller-
|
|
14
|
+
import { n as Controller, t as AuthPort } from "../../controller-TRocodqG.js";
|
|
15
15
|
import { a as UndoToken } from "../../undo-0HkWXASn.js";
|
|
16
|
-
import { n as AuditCategory } from "../../context-
|
|
16
|
+
import { n as AuditCategory } from "../../context-nbYYjv7U.js";
|
|
17
17
|
//#region src/blocks/audit/audit.d.ts
|
|
18
18
|
interface PurgeAuditLogOptions extends BlockTemporalOptions {
|
|
19
19
|
/**
|
|
@@ -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-B8itxzEE.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-DBt7OKuH.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-DWVZSZv1.js";
|
|
11
|
-
import { n as Controller, t as AuthPort } from "../../controller-
|
|
11
|
+
import { n as Controller, t as AuthPort } from "../../controller-TRocodqG.js";
|
|
12
12
|
import { o as ApprovalRequestInput } from "../../approvals-BfEafAzt.js";
|
|
13
13
|
import { n as FilterRecordField, t as FilterEvaluation } from "../../filter-evaluate-BRpNiNPG.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-snbaZ14h.js";
|
|
@@ -9,7 +9,7 @@ import { n as BlockHooks } from "../../block-hooks-B8itxzEE.js";
|
|
|
9
9
|
import { n as StripeSource, r as StripeTaxId, t as StripeClient } from "../../stripe-X22LjuH-.js";
|
|
10
10
|
import { c as BlockOf } from "../../define-block-DWVZSZv1.js";
|
|
11
11
|
import { i as EventSink } from "../../cloud-event-0pQ9vFNS.js";
|
|
12
|
-
import { n as Controller, t as AuthPort } from "../../controller-
|
|
12
|
+
import { n as Controller, t as AuthPort } from "../../controller-TRocodqG.js";
|
|
13
13
|
import { d as stripeInboxVerify, f as verifyStripeWebhook, u as signStripeWebhook } from "../../verify-41mZmspj.js";
|
|
14
14
|
//#region src/blocks/billing/events.d.ts
|
|
15
15
|
/** The events of the `billing` block: type to data. */
|
|
@@ -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-B2qbZps6.js";
|
|
3
3
|
import { c as BlockOf } from "../../define-block-DWVZSZv1.js";
|
|
4
|
-
import { n as Controller } from "../../controller-
|
|
4
|
+
import { n as Controller } from "../../controller-TRocodqG.js";
|
|
5
5
|
import { o as WeeklyHours } from "../../availability-BdeKCHpl.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-xsmM2TA_.js";
|
|
7
7
|
import { t as EventCalendarEvent } from "../../event-calendar-DVLs2wUO.js";
|
|
@@ -7,7 +7,7 @@ import { n as Logger } from "../../logger-DWVYUmwi.js";
|
|
|
7
7
|
import { t as BlockTransport } from "../../block-transport-9EUA3q_I.js";
|
|
8
8
|
import { n as BlockHooks } from "../../block-hooks-B8itxzEE.js";
|
|
9
9
|
import { Sn as EntitySchema, c as BlockOf } from "../../define-block-DWVZSZv1.js";
|
|
10
|
-
import { n as Controller } from "../../controller-
|
|
10
|
+
import { n as Controller } from "../../controller-TRocodqG.js";
|
|
11
11
|
import { C as IcsEvent, D as parseIcs, E as ToIcsOptions, O as toIcs, S as CalendarEventStatus, T as ParsedIcs, _ as expandOccurrences, a as FreeBusy, b as AttendeeRole, c as WorkingHoursInput, d as workingHoursOf, f as CalendarEvent, g as SplitRules, h as OccurrenceRange, i as CommonFreeTimeOptions, l as commonFreeTime, m as OccurrenceOptions, n as CalendarEventKind, o as WeeklyHours, p as CalendarOccurrence, r as CalendarTransparency, s as WorkingHours, t as BusyRange, u as freeBusyOf, v as splitRule, w as IcsSource, x as CalendarAttendee, y as AttendeeResponse } from "../../availability-BdeKCHpl.js";
|
|
12
12
|
import { a as fromEventCalendarUpdate, c as toEventCalendarResources, i as OccurrenceMove, n as EventCalendarOptions, o as seriesOf, r as EventCalendarResource, s as toEventCalendarEvents, t as EventCalendarEvent } from "../../event-calendar-DVLs2wUO.js";
|
|
13
13
|
import { t as VisibleRange } from "../../range-p5V4rBhZ.js";
|
|
@@ -2,7 +2,7 @@ import { n as dbError } from "../../errors-BVFgt8BZ.js";
|
|
|
2
2
|
import { n as isRecord } from "../../guards-6F2bCtQR.js";
|
|
3
3
|
import { t as temporal } from "../../temporal-required-DcLhnDhQ.js";
|
|
4
4
|
import { t as AsyncResult } from "../../result-ntFBW2p2.js";
|
|
5
|
-
import { t as calendarSqlOptions } from "../../options-
|
|
5
|
+
import { t as calendarSqlOptions } from "../../options-BKBy5wM_.js";
|
|
6
6
|
import { n as event, t as defineEvents } from "../../event-map-CtPFhcOp.js";
|
|
7
7
|
import { t as defineController } from "../../controller-BEliOBOv.js";
|
|
8
8
|
import { A as recordsOf, C as optionalInstant, L as textOf, O as recordOf, j as requiredInstant, o as blockCall, w as optionalText, x as oneOf } from "../../block-helpers-B0f0ZVb5.js";
|
|
@@ -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-D5emQ2O6.js";
|
|
8
8
|
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-9EUA3q_I.js";
|
|
9
9
|
import { n as BlockHooks } from "../../block-hooks-B8itxzEE.js";
|
|
10
|
-
import { F as CommentsSqlOptions } from "../../authorization-
|
|
10
|
+
import { F as CommentsSqlOptions } from "../../authorization-CDU9tYA_.js";
|
|
11
11
|
import { t as Author } from "../../block-authors-DzXLUiIq.js";
|
|
12
12
|
import { a as isFileAnchor, i as fileAnchor, n as FileAnchor, o as conversationTopic, r as FileAnchorAt, t as AnchorRegion } from "../../anchors-7F34QyHa.js";
|
|
13
13
|
import { c as MessageEdit, l as MessageEdition, o as Message } from "../../messaging-DQP09JsY.js";
|
|
14
14
|
import { Sn as EntitySchema, c as BlockOf, ln as RecordBindingWrite, mn as RecordRowInput, rn as RecordBinding } from "../../define-block-DWVZSZv1.js";
|
|
15
|
-
import { p as SubscriptionStatus } from "../../topic-
|
|
16
|
-
import { n as TopicPort } from "../../watch-topic-
|
|
17
|
-
import { n as Controller, t as AuthPort } from "../../controller-
|
|
15
|
+
import { p as SubscriptionStatus } from "../../topic-breZqx_4.js";
|
|
16
|
+
import { n as TopicPort } from "../../watch-topic-ItO3dz8m.js";
|
|
17
|
+
import { n as Controller, t as AuthPort } from "../../controller-TRocodqG.js";
|
|
18
18
|
//#region src/blocks/comments/comments.d.ts
|
|
19
19
|
interface CommentsOptions<S extends StandardSchemaV1 | undefined = undefined> extends BlockTemporalOptions, BlockTenantOptions {
|
|
20
20
|
/**
|
|
@@ -4,8 +4,8 @@ import { n as SqlClient } from "../../executor-DXQIx4sW.js";
|
|
|
4
4
|
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-9EUA3q_I.js";
|
|
5
5
|
import { n as BlockHooks } from "../../block-hooks-B8itxzEE.js";
|
|
6
6
|
import { c as BlockOf } from "../../define-block-DWVZSZv1.js";
|
|
7
|
-
import { n as Controller, t as AuthPort } from "../../controller-
|
|
8
|
-
import { i as hasEntitlement, n as EntitlementKey, t as EntitlementClaimOptions } from "../../entitlements-
|
|
7
|
+
import { n as Controller, t as AuthPort } from "../../controller-TRocodqG.js";
|
|
8
|
+
import { i as hasEntitlement, n as EntitlementKey, t as EntitlementClaimOptions } from "../../entitlements-B1i1-wfe.js";
|
|
9
9
|
//#region src/blocks/entitlements/entitlements.d.ts
|
|
10
10
|
/** The Stripe event sent when a customer's active entitlements change. */
|
|
11
11
|
export declare const ENTITLEMENTS_UPDATED = "entitlements.active_entitlement_summary.updated";
|
|
@@ -8,7 +8,7 @@ import { r as BlockTemporalOptions } from "../../block-helpers-D5emQ2O6.js";
|
|
|
8
8
|
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-9EUA3q_I.js";
|
|
9
9
|
import { n as BlockHooks } from "../../block-hooks-B8itxzEE.js";
|
|
10
10
|
import { c as BlockOf } from "../../define-block-DWVZSZv1.js";
|
|
11
|
-
import { n as Controller } from "../../controller-
|
|
11
|
+
import { n as Controller } from "../../controller-TRocodqG.js";
|
|
12
12
|
import { _ as isFormDefinition, a as FormDefinition, c as FormJson, d as FormScoring, f as FormStep, g as formSchema, h as formDefinitionProblems, i as FormCondition, l as FormJsonSchema, m as UNSCORED_FIELD_TYPES, n as FORM_FIELD_TYPES, o as FormField, p as NPS_MAX, r as FORM_SCHEMA_DIALECT, s as FormFieldType, t as FORM_DEFINITION_SCHEMA, u as FormOption } from "../../form-definition-BjEtH8BT.js";
|
|
13
13
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
14
14
|
//#region src/blocks/forms/validate.d.ts
|
|
@@ -2,10 +2,10 @@ import { Ct as Events, H as InboxEventData } from "../../events-B2qbZps6.js";
|
|
|
2
2
|
import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-9EUA3q_I.js";
|
|
3
3
|
import { d as MessageKind, p as MessageReaction, u as MessageFile } from "../../messaging-DQP09JsY.js";
|
|
4
4
|
import { Zt as DefaultAutomation, c as BlockOf } from "../../define-block-DWVZSZv1.js";
|
|
5
|
-
import { p as SubscriptionStatus } from "../../topic-
|
|
6
|
-
import { n as TopicPort } from "../../watch-topic-
|
|
7
|
-
import { l as StoragePort } from "../../ports-
|
|
8
|
-
import { n as Controller, t as AuthPort } from "../../controller-
|
|
5
|
+
import { p as SubscriptionStatus } from "../../topic-breZqx_4.js";
|
|
6
|
+
import { n as TopicPort } from "../../watch-topic-ItO3dz8m.js";
|
|
7
|
+
import { l as StoragePort } from "../../ports-hpbyMySO.js";
|
|
8
|
+
import { n as Controller, t as AuthPort } from "../../controller-TRocodqG.js";
|
|
9
9
|
import { S as StoredInboundEvent, _ as MessageDirection, a as ConversationEvent, b as PurgedContact, c as DeliveryStatus, d as InboxCounts, f as InboxFileSource, g as MessageDelivery, h as InboxUpload, i as Conversation, l as InboundResult, m as InboxRow, n as BotMode, o as ConversationPriority, p as InboxMessage, r as Contact, s as ConversationStatus, t as AuthorType, u as InboxChannel, v as MessageTemplate, x as ScheduledInboxMessage, y as PendingInboxFile } from "../../types-B-D6fYx2.js";
|
|
10
10
|
import { a as Inbox, c as InboxPatch, d as StartConversationInput, f as TemplateInput, i as InboundInput, l as MessageInput, n as ConversationFilter, o as InboxHooks, p as createInbox, r as CreateInboxInput, s as InboxOptions, t as ContactInput, u as ScheduledMessageInput } from "../../inbox-c8B86Trp.js";
|
|
11
11
|
//#region src/blocks/inbox/rows.d.ts
|
package/dist/blocks/index.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ import { a as OptionInput, c as OptionSpecs, d as optionsJsonSchema, i as Option
|
|
|
12
12
|
import { A as CreateBlocksOptions, An as BlockNaming, C as BlockContext, Cn as EntitySchemaSpec, D as Blocks, Dn as GeneratedBlocks, E as BlockSinks, En as GeneratedBlock, F as BlockPorts, Fn as entityNames, I as Notifier, L as NotifierInput, M as createBlockClient, Mn as EntityNames, N as createBlocks, Nn as EntityNoun, O as BlocksEventMap, On as fillTopic, P as defineBlocks, Pn as EntityRename, R as PortName, S as BlockClientSource, Sn as EntitySchema, T as BlockSet, Tn as entitySchema, _ as BlockProvider, a as BlockConsumes, b as BLOCK_EVENT_SOURCE, bn as BlockSchemas, c as BlockOf, d as ClientOf, f as ConsumedPorts, g as BlockEnvKey, h as defineBlock, i as BlockCategory, j as UniquePort, jn as blockNames, k as BlocksHooks, kn as generatedOptions, l as BlockOptionSchemas, m as UsingOptions, n as BLOCK_CATEGORIES, o as BlockDefinition, p as ProvidedPorts, r as Block, s as BlockInvalidates, t as AnyBlock, tn as AnyRecordBinding, u as BlockProvides, v as BlockWiring, w as BlockMap, wn as EntitySchemas, x as BlockClientOptions, xn as EntityFieldSpecs, y as BlockWorker } from "../define-block-DWVZSZv1.js";
|
|
13
13
|
import { t as VisibleRange } from "../range-p5V4rBhZ.js";
|
|
14
14
|
import { t as subjectKey } from "../block-subjects-C1_9DkSA.js";
|
|
15
|
-
import { t as BlockEnv } from "../block-env-
|
|
15
|
+
import { t as BlockEnv } from "../block-env-B8wG3xeh.js";
|
|
16
16
|
//#region src/blocks/block-env-options.d.ts
|
|
17
17
|
/** What a hook passes a block creator from the env. */
|
|
18
18
|
interface EnvBlockOptions {
|
|
@@ -4,14 +4,14 @@ import { Ct as Events } from "../../events-B2qbZps6.js";
|
|
|
4
4
|
import { _ as ConversationEventData, k as MessageEventData } from "../../index-B4wttiLh.js";
|
|
5
5
|
import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-9EUA3q_I.js";
|
|
6
6
|
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-B8itxzEE.js";
|
|
7
|
-
import { P as MessagingSqlOptions } from "../../authorization-
|
|
7
|
+
import { P as MessagingSqlOptions } from "../../authorization-CDU9tYA_.js";
|
|
8
8
|
import { a as isFileAnchor, i as fileAnchor, n as FileAnchor, o as conversationTopic, r as FileAnchorAt, t as AnchorRegion } from "../../anchors-7F34QyHa.js";
|
|
9
9
|
import { _ as NotifyLevel, a as FollowTarget, b as UnreadCount, c as MessageEdit, d as MessageKind, f as MessageListOptions, g as NewMessage, h as MessagingOptions, i as ConversationSummary, l as MessageEdition, m as Messaging, n as ConversationAccess, o as Message, p as MessageReaction, r as ConversationKind, s as MessageCursor, t as Conversation, u as MessageFile, v as OpenConversation, x as createMessaging, y as RecordMention } from "../../messaging-DQP09JsY.js";
|
|
10
10
|
import { a as ThreadSummary, i as ThreadSummarizer, n as SummaryMessage, o as ThreadSummaryInput, r as SummaryTarget, s as ThreadSummaryOutput, t as SummarizeOptions } from "../../summaries-8jQTELIX.js";
|
|
11
11
|
import { Sn as EntitySchema, c as BlockOf } from "../../define-block-DWVZSZv1.js";
|
|
12
|
-
import { p as SubscriptionStatus } from "../../topic-
|
|
13
|
-
import { n as TopicPort } from "../../watch-topic-
|
|
14
|
-
import { n as Controller, t as AuthPort } from "../../controller-
|
|
12
|
+
import { p as SubscriptionStatus } from "../../topic-breZqx_4.js";
|
|
13
|
+
import { n as TopicPort } from "../../watch-topic-ItO3dz8m.js";
|
|
14
|
+
import { n as Controller, t as AuthPort } from "../../controller-TRocodqG.js";
|
|
15
15
|
//#region src/blocks/messaging/mentions.d.ts
|
|
16
16
|
type MentionScope = "channel" | "here";
|
|
17
17
|
interface ParsedMentions {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { b as DbError, f as Result } from "../../result-DZeA5KS6.js";
|
|
2
2
|
import { t as Aal } from "../../mfa-oIOYTpvc.js";
|
|
3
3
|
import { r as Block } from "../../define-block-DWVZSZv1.js";
|
|
4
|
-
import { n as Controller, t as AuthPort } from "../../controller-
|
|
4
|
+
import { n as Controller, t as AuthPort } from "../../controller-TRocodqG.js";
|
|
5
5
|
import { t as AuthReply } from "../../auth-reply-Dj124sbX.js";
|
|
6
6
|
//#region src/blocks/mfa/client.d.ts
|
|
7
7
|
/** A factor as `auth.mfa.listFactors()` returns it. */
|
|
@@ -10,9 +10,9 @@ import { t as BlockProblemOptions } from "../../problem-DNwN8iGz.js";
|
|
|
10
10
|
import { c as BlockOf } from "../../define-block-DWVZSZv1.js";
|
|
11
11
|
import { i as EventSink, t as CloudEvent } from "../../cloud-event-0pQ9vFNS.js";
|
|
12
12
|
import { g as SubscriberPolicy, i as AuthorizationHooks } from "../../authorization-hooks-BWhkMZfH.js";
|
|
13
|
-
import { p as SubscriptionStatus } from "../../topic-
|
|
14
|
-
import { n as TopicPort } from "../../watch-topic-
|
|
15
|
-
import { n as Controller, t as AuthPort } from "../../controller-
|
|
13
|
+
import { p as SubscriptionStatus } from "../../topic-breZqx_4.js";
|
|
14
|
+
import { n as TopicPort } from "../../watch-topic-ItO3dz8m.js";
|
|
15
|
+
import { n as Controller, t as AuthPort } from "../../controller-TRocodqG.js";
|
|
16
16
|
import { n as VerifyOptions } from "../../signatures-Dkx9OE8j.js";
|
|
17
17
|
import { a as NotificationItem, i as NotificationAction, n as NotificationMessage, o as NotificationSubject, r as NotificationSendResult, s as RenderedText, t as NotificationChannel } from "../../channel-JcMd5lNP.js";
|
|
18
18
|
import { a as DeliveryTransport, c as UnsubscribeTarget, i as DeliverySendOptions, l as mailHeaders, n as DeliveryMessages, o as EmailMessage, r as DeliveryReceipt, s as MailCategory, t as DeliveryChannel } from "../../delivery-n6lZGuGx.js";
|
|
@@ -5,7 +5,7 @@ import { n as BlockOptions } from "../../block-helpers-D5emQ2O6.js";
|
|
|
5
5
|
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-9EUA3q_I.js";
|
|
6
6
|
import { n as BlockHooks } from "../../block-hooks-B8itxzEE.js";
|
|
7
7
|
import { c as BlockOf } from "../../define-block-DWVZSZv1.js";
|
|
8
|
-
import { n as Controller, t as AuthPort } from "../../controller-
|
|
8
|
+
import { n as Controller, t as AuthPort } from "../../controller-TRocodqG.js";
|
|
9
9
|
//#region src/blocks/onboarding/onboarding.d.ts
|
|
10
10
|
type ChecklistScope = "user" | "organization";
|
|
11
11
|
/** One step. `events` completes it when the outbox records one of those types. */
|
|
@@ -7,9 +7,9 @@ import { Ct as Events, W as InvitationEventData, Z as OrganizationEventData, o a
|
|
|
7
7
|
import { r as BlockTemporalOptions } from "../../block-helpers-D5emQ2O6.js";
|
|
8
8
|
import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-9EUA3q_I.js";
|
|
9
9
|
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-B8itxzEE.js";
|
|
10
|
-
import { N as PlatformRolesOption } from "../../authorization-
|
|
10
|
+
import { N as PlatformRolesOption } from "../../authorization-CDU9tYA_.js";
|
|
11
11
|
import { c as BlockOf } from "../../define-block-DWVZSZv1.js";
|
|
12
|
-
import { n as Controller, t as AuthPort } from "../../controller-
|
|
12
|
+
import { n as Controller, t as AuthPort } from "../../controller-TRocodqG.js";
|
|
13
13
|
//#region src/sql/modules/invitations-tables.d.ts
|
|
14
14
|
declare const INVITATION_ERRORS: {
|
|
15
15
|
readonly INVITATION_FORBIDDEN: "42501";
|
|
@@ -5,7 +5,7 @@ import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTrans
|
|
|
5
5
|
import { n as BlockHooks } from "../../block-hooks-B8itxzEE.js";
|
|
6
6
|
import { c as BlockOf } from "../../define-block-DWVZSZv1.js";
|
|
7
7
|
import { B as PermissionFlags, H as can, U as permissionFlags, V as PermissionSet, W as permissionMatches } from "../../index-BM6NmKSc.js";
|
|
8
|
-
import { n as Controller, t as AuthPort } from "../../controller-
|
|
8
|
+
import { n as Controller, t as AuthPort } from "../../controller-TRocodqG.js";
|
|
9
9
|
//#region src/blocks/permissions/permissions.d.ts
|
|
10
10
|
interface PermissionsOptions extends BlockOptions {
|
|
11
11
|
/** `withBlockHooks` hooks around the client's methods. */
|
|
@@ -9,7 +9,7 @@ import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTrans
|
|
|
9
9
|
import { n as BlockHooks } from "../../block-hooks-B8itxzEE.js";
|
|
10
10
|
import { c as BlockOf } from "../../define-block-DWVZSZv1.js";
|
|
11
11
|
import { n as NotificationMessage, t as NotificationChannel } from "../../channel-JcMd5lNP.js";
|
|
12
|
-
import { t as ExpoNotificationsLike } from "../../push-token-
|
|
12
|
+
import { t as ExpoNotificationsLike } from "../../push-token-DQ1ycFPU.js";
|
|
13
13
|
//#region src/blocks/push/push.d.ts
|
|
14
14
|
type PushPlatform = "ios" | "android" | "web";
|
|
15
15
|
type PushProvider = "expo" | "fcm" | "apns" | "webpush";
|
|
@@ -7,9 +7,9 @@ import { a as BlockTenantOptions, r as BlockTemporalOptions } from "../../block-
|
|
|
7
7
|
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-9EUA3q_I.js";
|
|
8
8
|
import { n as BlockHooks } from "../../block-hooks-B8itxzEE.js";
|
|
9
9
|
import { c as BlockOf } from "../../define-block-DWVZSZv1.js";
|
|
10
|
-
import { p as SubscriptionStatus } from "../../topic-
|
|
11
|
-
import { n as TopicPort } from "../../watch-topic-
|
|
12
|
-
import { n as Controller, t as AuthPort } from "../../controller-
|
|
10
|
+
import { p as SubscriptionStatus } from "../../topic-breZqx_4.js";
|
|
11
|
+
import { n as TopicPort } from "../../watch-topic-ItO3dz8m.js";
|
|
12
|
+
import { n as Controller, t as AuthPort } from "../../controller-TRocodqG.js";
|
|
13
13
|
//#region src/blocks/reactions/reactions.d.ts
|
|
14
14
|
interface ReactionsOptions extends BlockTemporalOptions, BlockTenantOptions {
|
|
15
15
|
readonly transport: BlockTransport;
|
|
@@ -7,7 +7,7 @@ import { t as BlockTransport } from "../../block-transport-9EUA3q_I.js";
|
|
|
7
7
|
import { n as BlockHooks } from "../../block-hooks-B8itxzEE.js";
|
|
8
8
|
import { c as BlockOf } from "../../define-block-DWVZSZv1.js";
|
|
9
9
|
import { p as ListQueryInput } from "../../list-query-BcU8NnNL.js";
|
|
10
|
-
import { n as Controller } from "../../controller-
|
|
10
|
+
import { n as Controller } from "../../controller-TRocodqG.js";
|
|
11
11
|
import { t as RankNeighbors } from "../../rank-result-Bwe7igy-.js";
|
|
12
12
|
//#region src/blocks/saved-views/saved-views.d.ts
|
|
13
13
|
export declare const SAVED_VIEW_KINDS: readonly ["table", "board", "calendar", "timeline", "gantt"];
|
|
@@ -6,8 +6,8 @@ import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTrans
|
|
|
6
6
|
import { n as BlockHooks } from "../../block-hooks-B8itxzEE.js";
|
|
7
7
|
import { c as BlockOf } from "../../define-block-DWVZSZv1.js";
|
|
8
8
|
import { i as EventSink } from "../../cloud-event-0pQ9vFNS.js";
|
|
9
|
-
import { i as KeyboardPort } from "../../ports-
|
|
10
|
-
import { n as Controller } from "../../controller-
|
|
9
|
+
import { i as KeyboardPort } from "../../ports-hpbyMySO.js";
|
|
10
|
+
import { n as Controller } from "../../controller-TRocodqG.js";
|
|
11
11
|
//#region src/blocks/search/search.d.ts
|
|
12
12
|
interface SearchOptions extends Pick<BlockOptions, "transport" | "service" | "schema" | "mappers"> {
|
|
13
13
|
/** `withBlockHooks` hooks around the methods. */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
2
|
import { b as DbError, f as Result } from "../../result-DZeA5KS6.js";
|
|
3
3
|
import { r as Block } from "../../define-block-DWVZSZv1.js";
|
|
4
|
-
import { n as Controller, t as AuthPort } from "../../controller-
|
|
4
|
+
import { n as Controller, t as AuthPort } from "../../controller-TRocodqG.js";
|
|
5
5
|
import { t as AuthReply } from "../../auth-reply-Dj124sbX.js";
|
|
6
6
|
//#region src/blocks/sessions/client.d.ts
|
|
7
7
|
/** An OAuth client as the Auth OAuth server describes it. */
|
|
@@ -5,7 +5,7 @@ import { n as BlockOptions } from "../../block-helpers-D5emQ2O6.js";
|
|
|
5
5
|
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-9EUA3q_I.js";
|
|
6
6
|
import { n as BlockHooks } from "../../block-hooks-B8itxzEE.js";
|
|
7
7
|
import { c as BlockOf } from "../../define-block-DWVZSZv1.js";
|
|
8
|
-
import { n as Controller, t as AuthPort } from "../../controller-
|
|
8
|
+
import { n as Controller, t as AuthPort } from "../../controller-TRocodqG.js";
|
|
9
9
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
10
10
|
//#region src/blocks/settings/settings.d.ts
|
|
11
11
|
/**
|
|
@@ -2,7 +2,7 @@ import { b as DbError } from "../../result-DZeA5KS6.js";
|
|
|
2
2
|
import { $ as RecordRef } from "../../types-CPl9uJ0G.js";
|
|
3
3
|
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-9EUA3q_I.js";
|
|
4
4
|
import { c as BlockOf } from "../../define-block-DWVZSZv1.js";
|
|
5
|
-
import { n as Controller, t as AuthPort } from "../../controller-
|
|
5
|
+
import { n as Controller, t as AuthPort } from "../../controller-TRocodqG.js";
|
|
6
6
|
import { t as subjectKey } from "../../block-subjects-C1_9DkSA.js";
|
|
7
7
|
import { c as Subjects, d as MY_WORK_KINDS, f as MyWorkKind, l as SubjectsOptions, n as MyWorkItem, o as ResolvedSubject, r as MyWorkOptions, s as SUBJECT_TITLES_LIMIT, t as MY_WORK_LIMIT, u as createSubjects } from "../../subjects-CiBNKy2y.js";
|
|
8
8
|
//#region src/blocks/subjects/manifest.d.ts
|
|
@@ -7,7 +7,7 @@ import { n as Logger } from "../../logger-DWVYUmwi.js";
|
|
|
7
7
|
import { n as BlockOptions } from "../../block-helpers-D5emQ2O6.js";
|
|
8
8
|
import { n as BlockHooks } from "../../block-hooks-B8itxzEE.js";
|
|
9
9
|
import { Sn as EntitySchema, c as BlockOf, ln as RecordBindingWrite, rn as RecordBinding } from "../../define-block-DWVZSZv1.js";
|
|
10
|
-
import { n as Controller, t as AuthPort } from "../../controller-
|
|
10
|
+
import { n as Controller, t as AuthPort } from "../../controller-TRocodqG.js";
|
|
11
11
|
import { t as RankNeighbors } from "../../rank-result-Bwe7igy-.js";
|
|
12
12
|
//#region src/blocks/tags/tags.d.ts
|
|
13
13
|
interface TagsOptions<S extends StandardSchemaV1 | undefined = undefined> extends BlockOptions {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-9EUA3q_I.js";
|
|
2
2
|
import { c as BlockOf } from "../../define-block-DWVZSZv1.js";
|
|
3
|
-
import { n as Controller } from "../../controller-
|
|
3
|
+
import { n as Controller } from "../../controller-TRocodqG.js";
|
|
4
4
|
import { a as UndoToken, c as undoToken, i as UndoOptions, n as Undo, o as createUndo, r as UndoCall, s as isUndoToken, t as UNDO_FUNCTIONS } from "../../undo-0HkWXASn.js";
|
|
5
5
|
//#region src/blocks/undo/client.d.ts
|
|
6
6
|
interface UndoEntry {
|
|
@@ -3,7 +3,7 @@ import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTrans
|
|
|
3
3
|
import { n as StripeSource, t as StripeClient } from "../../stripe-X22LjuH-.js";
|
|
4
4
|
import { _ as reportUsageToStripe, a as Usage, c as UsageEntry, d as UsageMeterInfo, f as UsageOptions, g as createUsage, h as UsageStatus, i as ReportUsageResult, l as UsageHistoryEntry, m as UsageRecorded, n as RecordUsageOptions, o as UsageBatchRecorded, p as UsagePeriod, r as ReportUsageOptions, s as UsageBreakdownEntry, t as PurgeUsageOptions, u as UsageHistoryOptions } from "../../usage-BkWAPkg2.js";
|
|
5
5
|
import { c as BlockOf } from "../../define-block-DWVZSZv1.js";
|
|
6
|
-
import { n as Controller, t as AuthPort } from "../../controller-
|
|
6
|
+
import { n as Controller, t as AuthPort } from "../../controller-TRocodqG.js";
|
|
7
7
|
//#region src/blocks/usage/manifest.d.ts
|
|
8
8
|
/** The `usage` block's manifest (ADR 0029). */
|
|
9
9
|
export declare const usageBlock: BlockOf<"usage", typeof createUsage>;
|
|
@@ -5,9 +5,9 @@ import { Ct as Events, gt as WorkflowEventData } from "../../events-B2qbZps6.js"
|
|
|
5
5
|
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-9EUA3q_I.js";
|
|
6
6
|
import { c as BlockOf } from "../../define-block-DWVZSZv1.js";
|
|
7
7
|
import { g as Workflows, n as WorkflowRun } from "../../workflows-xL6t0TXx.js";
|
|
8
|
-
import { p as SubscriptionStatus } from "../../topic-
|
|
9
|
-
import { n as TopicPort } from "../../watch-topic-
|
|
10
|
-
import { n as Controller, t as AuthPort } from "../../controller-
|
|
8
|
+
import { p as SubscriptionStatus } from "../../topic-breZqx_4.js";
|
|
9
|
+
import { n as TopicPort } from "../../watch-topic-ItO3dz8m.js";
|
|
10
|
+
import { n as Controller, t as AuthPort } from "../../controller-TRocodqG.js";
|
|
11
11
|
import { A as WorkflowVersionOwner, B as WorkflowGraphNode, C as WorkflowGrantPrincipal, D as WorkflowTrigger, E as WorkflowStepInfo, F as WorkflowFilterCondition, G as durationMs, H as WorkflowNodeKind, I as WorkflowFilterField, J as matchesFilter, K as evaluateCondition, L as WorkflowGraph, M as GraphScope, N as WorkflowCondition, O as WorkflowTriggerKind, P as WorkflowConditionOperator, R as WorkflowGraphDiff, S as WorkflowGrantAction, T as WorkflowNodeRunStatus, U as approved, V as WorkflowNodeCondition, W as diffGraphs, X as validateGraph, Y as topologicalOrder, _ as WorkflowCredential, a as CredentialInput, b as WorkflowDefinitionScope, c as GraphCompiler, d as RunInput, f as TestRunInput, g as WorkflowBuilderHooks, h as WorkflowAlert, i as BuilderStarter, j as WorkflowVersionStatus, k as WorkflowVersion, l as NodeRunRecord, m as VersionSaveOptions, n as BuilderOptions, o as DefinitionInput, p as TriggerInput, q as filterConditionOf, r as BuilderStartCall, s as GrantInput, t as AlertInput, u as PublishOptions, v as WorkflowDefinition, w as WorkflowNodeRun, x as WorkflowEditor, y as WorkflowDefinitionGrant, z as WorkflowGraphEdge } from "../../types-nspa5I-a.js";
|
|
12
12
|
import { a as GraphSubject, c as graphRunFields, i as GraphStepCall, l as startNodeOf, n as GraphRunFields, o as approvalToken, r as GraphRuntime, s as executeGraph, t as GraphApprovalCall } from "../../executor-BlS0kCrN.js";
|
|
13
13
|
//#region src/blocks/workflow-editor/workflow-editor.d.ts
|
|
@@ -3,9 +3,9 @@ import { Ct as Events, _t as WorkflowRunEventData } from "../../events-B2qbZps6.
|
|
|
3
3
|
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-9EUA3q_I.js";
|
|
4
4
|
import { c as BlockOf } from "../../define-block-DWVZSZv1.js";
|
|
5
5
|
import { _ as WorkflowsHooks, a as WorkflowRunStatus, c as WorkflowScheduleInput, d as WorkflowStartTicket, f as WorkflowStarter, g as Workflows, h as WorkflowTickResult, i as WorkflowRunRecord, l as WorkflowStartCall, m as WorkflowTickOptions, n as WorkflowRun, o as WorkflowRunsQuery, s as WorkflowSchedule, u as WorkflowStartRequest, v as WorkflowsOptions, y as createWorkflows } from "../../workflows-xL6t0TXx.js";
|
|
6
|
-
import { p as SubscriptionStatus } from "../../topic-
|
|
7
|
-
import { n as TopicPort } from "../../watch-topic-
|
|
8
|
-
import { n as Controller, t as AuthPort } from "../../controller-
|
|
6
|
+
import { p as SubscriptionStatus } from "../../topic-breZqx_4.js";
|
|
7
|
+
import { n as TopicPort } from "../../watch-topic-ItO3dz8m.js";
|
|
8
|
+
import { n as Controller, t as AuthPort } from "../../controller-TRocodqG.js";
|
|
9
9
|
//#region src/blocks/workflows/client.d.ts
|
|
10
10
|
interface WorkflowRunsControllerOptions {
|
|
11
11
|
readonly client: {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as addCommand } from "./add-D4w-Axib.js";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { a as list, m as commandMeta, r as defineCliCommand } from "./command-DIPmo0wh.js";
|
|
2
2
|
import { i as plain } from "./style-Bm2X5JrN.js";
|
|
3
|
-
import { t as VERSION } from "./version-
|
|
3
|
+
import { t as VERSION } from "./version-D2BQuqta.js";
|
|
4
4
|
import { a as parseNames, n as CliError } from "./errors-BTe6A15O.js";
|
|
5
5
|
import { r as readIfExists, t as display } from "./io-DH1kcmmP.js";
|
|
6
|
-
import { t as loadSnapshot } from "./snapshot-
|
|
6
|
+
import { t as loadSnapshot } from "./snapshot-B5LXkVMC.js";
|
|
7
7
|
import { t as isRecord } from "./guards-CUlDNYZs.js";
|
|
8
|
-
import { a as toCatalog } from "./source-
|
|
8
|
+
import { a as toCatalog } from "./source-BoLNG_2A.js";
|
|
9
9
|
import { a as findConfig, f as INTEGRATIONS, s as loadConfig } from "./config-Cskysxp-.js";
|
|
10
10
|
import { i as changeLines, n as PLAN_ARGS, r as applyPlan, u as planResult } from "./files-CX71yBm8.js";
|
|
11
|
-
import { n as dataMigration } from "./migrations-
|
|
12
|
-
import { a as wiringFiles, d as libEntry, f as needsLib, i as wiringChecklist, l as importFrom, n as latestMigrationVersion, o as wiringFor, p as resolveIntegrations, s as TEMPLATES, u as isIntegration } from "./migration-safety-
|
|
11
|
+
import { n as dataMigration } from "./migrations-BCq7Zs2E.js";
|
|
12
|
+
import { a as wiringFiles, d as libEntry, f as needsLib, i as wiringChecklist, l as importFrom, n as latestMigrationVersion, o as wiringFor, p as resolveIntegrations, s as TEMPLATES, u as isIntegration } from "./migration-safety-BfVeza5j.js";
|
|
13
13
|
import { n as installCommand, t as detectProject } from "./detect-D9JaAX20.js";
|
|
14
14
|
import { d as setBlockInJson, f as setPathInConfig, h as setPresetInJson, m as setPresetInConfig, n as addBlocksToJson, p as setPathInJson, r as addBlocksToWiring, t as addBlocksToConfig, u as setBlockInConfig } from "./config-edit-CrWfk8s3.js";
|
|
15
|
-
import { t as syncModules } from "./sync-
|
|
16
|
-
import { t as addModules } from "./add-
|
|
17
|
-
import { t as appTablePlan } from "./app-table-files-
|
|
18
|
-
import { t as blockNames } from "./blocks-
|
|
15
|
+
import { t as syncModules } from "./sync-m-oZ_SyI.js";
|
|
16
|
+
import { t as addModules } from "./add-Dggyehsy.js";
|
|
17
|
+
import { t as appTablePlan } from "./app-table-files-CiGuwLkO.js";
|
|
18
|
+
import { t as blockNames } from "./blocks-jRL9K1R8.js";
|
|
19
19
|
import { i as sourceArgs, n as SOURCE_ARGS } from "./source-args-v8ljFDfc.js";
|
|
20
20
|
import { existsSync } from "node:fs";
|
|
21
21
|
import { dirname, join, posix, resolve } from "node:path";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as CliError } from "./errors-BTe6A15O.js";
|
|
2
|
-
import { d as providerLabel, i as providerOwnsMemberships, r as layoutFor, t as MEMBERSHIP_CLAIM_MODULES } from "./providers-
|
|
2
|
+
import { d as providerLabel, i as providerOwnsMemberships, r as layoutFor, t as MEMBERSHIP_CLAIM_MODULES } from "./providers-dyxcHQY3.js";
|
|
3
3
|
import { r as applyPlan } from "./files-CX71yBm8.js";
|
|
4
4
|
import { n as addBlocksToJson, s as keyText, t as addBlocksToConfig } from "./config-edit-CrWfk8s3.js";
|
|
5
|
-
import { a as write, i as unlistedModuleFiles, r as nextStep } from "./sync-
|
|
5
|
+
import { a as write, i as unlistedModuleFiles, r as nextStep } from "./sync-m-oZ_SyI.js";
|
|
6
6
|
import { basename, dirname } from "node:path";
|
|
7
7
|
import { readFile } from "node:fs/promises";
|
|
8
8
|
import { SQL_MODULES, resolveBlocks } from "better-supabase/sql";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as CliError } from "./errors-BTe6A15O.js";
|
|
2
2
|
import { h as subjectTagArgs } from "./config-Cskysxp-.js";
|
|
3
|
-
import { r as layoutFor } from "./providers-
|
|
3
|
+
import { r as layoutFor } from "./providers-dyxcHQY3.js";
|
|
4
4
|
import { d as readSupabaseToml, n as declarativeSchemasDir } from "./supabase-toml-CncmQbO0.js";
|
|
5
|
-
import { r as literal } from "./live-
|
|
5
|
+
import { r as literal } from "./live-0G4Plw3K.js";
|
|
6
6
|
import { join, resolve, sep } from "node:path";
|
|
7
7
|
import { FIELD_FORMATS } from "better-supabase/config";
|
|
8
8
|
import { APP_TABLES_MODULE, renderBlocks, setTableFeature } from "better-supabase/sql";
|
|
@@ -3,7 +3,7 @@ import { n as CliError, r as errorText } from "./errors-BTe6A15O.js";
|
|
|
3
3
|
import { i as isLocalDatabaseUrl, r as databaseHost } from "./agent-CbuPvI2x.js";
|
|
4
4
|
import { l as stdinDatabaseUrl, n as databaseUrl } from "./config-Cskysxp-.js";
|
|
5
5
|
import { t as connect } from "./db-CQCLx7cx.js";
|
|
6
|
-
import { n as ident } from "./live-
|
|
6
|
+
import { n as ident } from "./live-0G4Plw3K.js";
|
|
7
7
|
import { r as STACK_ARG, t as DB_URL_STDIN_ARG } from "./source-args-v8ljFDfc.js";
|
|
8
8
|
//#region src/cli/commands/backfill.ts
|
|
9
9
|
const DEFAULT_BATCH = 1e3;
|
package/dist/cli/bin.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { n as blocksListCommand, r as blocksSearchCommand, i as blocksViewCommand } from "./blocks-
|
|
1
|
+
export { n as blocksListCommand, r as blocksSearchCommand, i as blocksViewCommand } from "./blocks-jRL9K1R8.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { m as commandMeta, r as defineCliCommand } from "./command-DIPmo0wh.js";
|
|
2
2
|
import { n as CliError } from "./errors-BTe6A15O.js";
|
|
3
3
|
import { t as SQL_ARGS } from "./args-UEwg0l-N.js";
|
|
4
|
-
import { n as listModules, t as printModule } from "./print-
|
|
4
|
+
import { n as listModules, t as printModule } from "./print-DjxpBRnv.js";
|
|
5
5
|
import { t as decodePresetInput } from "./preset-BwmIfFnh.js";
|
|
6
6
|
import { BLOCK_CATEGORIES } from "better-supabase/blocks";
|
|
7
7
|
import { PRESET_CATALOG, PRESET_NAMES, glueCommand } from "better-supabase/preset";
|