@powerhousedao/ph-cli 6.2.3-dev.89 → 6.2.3-dev.90
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/{check-BhShHuOZ.mjs → check-BdeBTBzN.mjs} +7 -7
- package/dist/check-BdeBTBzN.mjs.map +1 -0
- package/dist/{cli-connect-override-Dm55uCjR.mjs → cli-connect-override-CY_Zf7wG.mjs} +4 -4
- package/dist/{cli-connect-override-Dm55uCjR.mjs.map → cli-connect-override-CY_Zf7wG.mjs.map} +1 -1
- package/dist/cli.mjs +4 -4
- package/dist/{compound-BZb3tR_c-CAf7DitW.mjs → compound-BSOW40st-CWIT2x84.mjs} +26 -141
- package/dist/compound-BSOW40st-CWIT2x84.mjs.map +1 -0
- package/dist/{connect-build-DMKUu9mw.mjs → connect-build-6OzCZczA.mjs} +73 -5
- package/dist/connect-build-6OzCZczA.mjs.map +1 -0
- package/dist/{connect-config-B4yKClFe.mjs → connect-config-nuwLOG8I.mjs} +4 -4
- package/dist/{connect-config-B4yKClFe.mjs.map → connect-config-nuwLOG8I.mjs.map} +1 -1
- package/dist/connect-preview-DBcsUnSB.mjs +48 -0
- package/dist/connect-preview-DBcsUnSB.mjs.map +1 -0
- package/dist/{connect-studio-DaaQOVBr.mjs → connect-studio-B3amPdLj.mjs} +4 -4
- package/dist/{connect-studio-DaaQOVBr.mjs.map → connect-studio-B3amPdLj.mjs.map} +1 -1
- package/dist/{connect-studio-CJ8ImldI.mjs → connect-studio-Mhhe7W5g.mjs} +3 -3
- package/dist/{dist-tZHpCFn_.mjs → dist-Dw0p_A5j.mjs} +12 -308
- package/dist/dist-Dw0p_A5j.mjs.map +1 -0
- package/dist/{explain-4PQGC1BH.mjs → explain-BS1cIzPW.mjs} +5 -5
- package/dist/{explain-4PQGC1BH.mjs.map → explain-BS1cIzPW.mjs.map} +1 -1
- package/dist/{export-BfSsraKe.mjs → export-BkYfEgBr.mjs} +4 -4
- package/dist/{export-BfSsraKe.mjs.map → export-BkYfEgBr.mjs.map} +1 -1
- package/dist/{generate-all-CoLL-TJu.mjs → generate-all-sPjxvgql.mjs} +4 -4
- package/dist/{generate-all-CoLL-TJu.mjs.map → generate-all-sPjxvgql.mjs.map} +1 -1
- package/dist/{generate-desktop-shell-DzEzNspp.mjs → generate-desktop-shell-DR5vuZu9.mjs} +11 -6
- package/dist/generate-desktop-shell-DR5vuZu9.mjs.map +1 -0
- package/dist/{get-version-DnU4hhms.mjs → get-version-CdS7U_Q8.mjs} +4 -4
- package/dist/{get-version-DnU4hhms.mjs.map → get-version-CdS7U_Q8.mjs.map} +1 -1
- package/dist/{index-V0t4klsV.d.mts → index-BCSl7lP0.d.mts} +9 -19
- package/dist/{index-V0t4klsV.d.mts.map → index-BCSl7lP0.d.mts.map} +1 -1
- package/dist/{mcp-LUXNRVj3.mjs → mcp-DnKGQZ10.mjs} +4 -4
- package/dist/{mcp-LUXNRVj3.mjs.map → mcp-DnKGQZ10.mjs.map} +1 -1
- package/dist/{migrate-CIJaE3iZ.mjs → migrate-B9F_cSCA.mjs} +4 -4
- package/dist/{migrate-CIJaE3iZ.mjs.map → migrate-B9F_cSCA.mjs.map} +1 -1
- package/dist/{ph-cli-commands-B0V_uMll.mjs → ph-cli-commands-DQ7kfVak.mjs} +19 -19
- package/dist/{ph-cli-commands-B0V_uMll.mjs.map → ph-cli-commands-DQ7kfVak.mjs.map} +1 -1
- package/dist/ph-cli-commands-oih3l80w.mjs +4 -0
- package/dist/{run-sugar-fbWJGtkS.mjs → run-sugar-5TYsoc3n.mjs} +4 -4
- package/dist/{run-sugar-fbWJGtkS.mjs.map → run-sugar-5TYsoc3n.mjs.map} +1 -1
- package/dist/runners/connect.d.mts +6 -1206
- package/dist/runners/connect.d.mts.map +1 -1
- package/dist/runners/connect.mjs +21 -255
- package/dist/runners/connect.mjs.map +1 -1
- package/dist/runners/switchboard.d.mts +4 -1752
- package/dist/runners/switchboard.d.mts.map +1 -1
- package/dist/runners/switchboard.mjs +10 -722
- package/dist/runners/switchboard.mjs.map +1 -1
- package/dist/utils-TO9lB8Xs.mjs +4 -0
- package/dist/{vetra-BRyjbepO.mjs → vetra-CwhVV4_U.mjs} +13 -29
- package/dist/vetra-CwhVV4_U.mjs.map +1 -0
- package/package.json +16 -15
- package/dist/check-BhShHuOZ.mjs.map +0 -1
- package/dist/compound-BZb3tR_c-CAf7DitW.mjs.map +0 -1
- package/dist/connect-build-DMKUu9mw.mjs.map +0 -1
- package/dist/connect-plugin-configs-DazgTR0p.mjs +0 -50
- package/dist/connect-plugin-configs-DazgTR0p.mjs.map +0 -1
- package/dist/connect-preview-Ckoqw_XU.mjs +0 -231
- package/dist/connect-preview-Ckoqw_XU.mjs.map +0 -1
- package/dist/dist-tZHpCFn_.mjs.map +0 -1
- package/dist/generate-desktop-shell-DzEzNspp.mjs.map +0 -1
- package/dist/member-config-DJUsoeHe.mjs +0 -155
- package/dist/member-config-DJUsoeHe.mjs.map +0 -1
- package/dist/ph-cli-commands-KQDLKJ7k.mjs +0 -4
- package/dist/precompress-P6cJDPVC.mjs +0 -77
- package/dist/precompress-P6cJDPVC.mjs.map +0 -1
- package/dist/start-run-x-6Ccna-.mjs +0 -124
- package/dist/start-run-x-6Ccna-.mjs.map +0 -1
- package/dist/superseded-config-CbSTFun2.mjs +0 -53
- package/dist/superseded-config-CbSTFun2.mjs.map +0 -1
- package/dist/switchboard-B6h7BNWB.mjs +0 -4
- package/dist/switchboard-JcKcWTaT.mjs +0 -170
- package/dist/switchboard-JcKcWTaT.mjs.map +0 -1
- package/dist/utils-DAux4Ga7.mjs +0 -4
- package/dist/vetra-BRyjbepO.mjs.map +0 -1
|
@@ -1,1756 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
declare const switchboard: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
|
|
5
|
-
parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<{
|
|
6
|
-
debug: boolean | undefined;
|
|
7
|
-
https: boolean | undefined;
|
|
8
|
-
httpsKeyFile: string | undefined;
|
|
9
|
-
httpsCertFile: string | undefined;
|
|
10
|
-
dev: boolean | undefined;
|
|
11
|
-
remoteDrives: string[];
|
|
12
|
-
disableLocalPackages: boolean | undefined;
|
|
13
|
-
packages: string | undefined;
|
|
14
|
-
port: number;
|
|
15
|
-
basePath: string | undefined;
|
|
16
|
-
keypairPath: string | undefined;
|
|
17
|
-
vetraDriveId: string;
|
|
18
|
-
dbPath: string | undefined;
|
|
19
|
-
useIdentity: boolean | undefined;
|
|
20
|
-
requireIdentity: boolean | undefined;
|
|
21
|
-
migrate: boolean | undefined;
|
|
22
|
-
migrateStatus: boolean | undefined;
|
|
23
|
-
reset: boolean | undefined;
|
|
24
|
-
yes: boolean | undefined;
|
|
25
|
-
mcp: boolean;
|
|
26
|
-
useVetraDrive: boolean;
|
|
27
|
-
}>>;
|
|
28
|
-
} & import("cmd-ts/dist/cjs/helpdoc.js").PrintHelp & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & import("cmd-ts/dist/cjs/helpdoc.js").Named & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Versioned> & import("cmd-ts/dist/cjs/argparser.js").Register & import("cmd-ts/dist/cjs/runner.js").Handling<{
|
|
29
|
-
debug: boolean | undefined;
|
|
30
|
-
https: boolean | undefined;
|
|
31
|
-
httpsKeyFile: string | undefined;
|
|
32
|
-
httpsCertFile: string | undefined;
|
|
33
|
-
dev: boolean | undefined;
|
|
34
|
-
remoteDrives: string[];
|
|
35
|
-
disableLocalPackages: boolean | undefined;
|
|
36
|
-
packages: string | undefined;
|
|
37
|
-
port: number;
|
|
38
|
-
basePath: string | undefined;
|
|
39
|
-
keypairPath: string | undefined;
|
|
40
|
-
vetraDriveId: string;
|
|
41
|
-
dbPath: string | undefined;
|
|
42
|
-
useIdentity: boolean | undefined;
|
|
43
|
-
requireIdentity: boolean | undefined;
|
|
44
|
-
migrate: boolean | undefined;
|
|
45
|
-
migrateStatus: boolean | undefined;
|
|
46
|
-
reset: boolean | undefined;
|
|
47
|
-
yes: boolean | undefined;
|
|
48
|
-
mcp: boolean;
|
|
49
|
-
useVetraDrive: boolean;
|
|
50
|
-
}, Promise<void>> & {
|
|
51
|
-
run(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<Promise<void>>>;
|
|
52
|
-
} & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Versioned & import("cmd-ts/dist/cjs/helpdoc.js").Descriptive & import("cmd-ts/dist/cjs/helpdoc.js").Aliased>;
|
|
53
|
-
//#endregion
|
|
54
|
-
//#region src/types.d.ts
|
|
55
|
-
type SwitchboardArgs = ParsedCmdResult<typeof switchboard>;
|
|
56
|
-
//#endregion
|
|
1
|
+
import { t as RunnerContext } from "../index-BCSl7lP0.mjs";
|
|
2
|
+
import { SwitchboardHostParsed } from "@powerhousedao/ph-run/runners/switchboard";
|
|
3
|
+
export * from "@powerhousedao/ph-run/runners/switchboard";
|
|
57
4
|
//#region src/runners/switchboard.d.ts
|
|
58
|
-
|
|
59
|
-
* BRIDGE runner for Switchboard hosts (uniform-runners phase 0): maps a
|
|
60
|
-
* hosts/switchboard/host.js definition onto the SAME `startSwitchboard`
|
|
61
|
-
* service the classic command calls. `run` = production loaders, `dev` =
|
|
62
|
-
* Vite package loader (worker pools refused by the server, as always).
|
|
63
|
-
*/
|
|
64
|
-
export declare const kind = "reactor";
|
|
65
|
-
export declare const declaredHostSchema: ZodObject<{
|
|
66
|
-
name: ZodString;
|
|
67
|
-
profile: ZodOptional<ZodObject<{
|
|
68
|
-
appId: ZodOptional<ZodString>;
|
|
69
|
-
name: ZodOptional<ZodString>;
|
|
70
|
-
description: ZodOptional<ZodString>;
|
|
71
|
-
icon: ZodOptional<ZodString>;
|
|
72
|
-
}, $strict>>;
|
|
73
|
-
reactor: ZodOptional<ZodObject<{
|
|
74
|
-
backends: ZodOptional<ZodRecord<ZodString, ZodObject<{
|
|
75
|
-
kind: ZodEnum<{
|
|
76
|
-
"in-process": "in-process";
|
|
77
|
-
remote: "remote";
|
|
78
|
-
worker: "worker";
|
|
79
|
-
}>;
|
|
80
|
-
storage: ZodOptional<ZodObject<{
|
|
81
|
-
kind: ZodEnum<{
|
|
82
|
-
idb: "idb";
|
|
83
|
-
memory: "memory";
|
|
84
|
-
path: "path";
|
|
85
|
-
postgres: "postgres";
|
|
86
|
-
}>;
|
|
87
|
-
dataDir: ZodOptional<TokenableSchema<ZodString, EnvToken>>;
|
|
88
|
-
url: ZodOptional<ZodString>;
|
|
89
|
-
}, $strict>>;
|
|
90
|
-
readModel: ZodOptional<ZodObject<{
|
|
91
|
-
url: ZodOptional<ZodString>;
|
|
92
|
-
}, $strict>>;
|
|
93
|
-
packages: ZodOptional<ZodObject<{
|
|
94
|
-
cdnUrl: ZodOptional<ZodString>;
|
|
95
|
-
specs: ZodOptional<ZodArray<ZodString>>;
|
|
96
|
-
dynamic: ZodOptional<ZodBoolean>;
|
|
97
|
-
}, $strict>>;
|
|
98
|
-
remote: ZodOptional<ZodObject<{
|
|
99
|
-
url: TokenableSchema<ZodUnion<readonly [ZodURL, ZodString]>>;
|
|
100
|
-
requestTimeoutMs: ZodOptional<ZodNumber>;
|
|
101
|
-
breaker: ZodOptional<ZodUnion<readonly [ZodLiteral<false>, ZodObject<{
|
|
102
|
-
failures: ZodOptional<ZodNumber>;
|
|
103
|
-
openMs: ZodOptional<ZodNumber>;
|
|
104
|
-
}, $strict>]>>;
|
|
105
|
-
realtime: ZodOptional<ZodBoolean>;
|
|
106
|
-
}, $strict>>;
|
|
107
|
-
}, $strict>>>;
|
|
108
|
-
placement: ZodOptional<ZodObject<{
|
|
109
|
-
primary: ZodOptional<ZodString>;
|
|
110
|
-
drives: ZodOptional<ZodRecord<ZodString, ZodString>>;
|
|
111
|
-
newDrives: ZodOptional<ZodString>;
|
|
112
|
-
}, $strict>>;
|
|
113
|
-
router: ZodOptional<ZodObject<{
|
|
114
|
-
probeTimeoutMs: ZodOptional<ZodNumber>;
|
|
115
|
-
provisionalRouteMs: ZodOptional<ZodNumber>;
|
|
116
|
-
}, $strict>>;
|
|
117
|
-
protocol: ZodOptional<ZodObject<{
|
|
118
|
-
featureFlags: ZodOptional<ZodObject<{
|
|
119
|
-
documentDecisions: ZodOptional<ZodBoolean>;
|
|
120
|
-
authEnforcement: ZodOptional<ZodBoolean>;
|
|
121
|
-
authGroups: ZodOptional<ZodBoolean>;
|
|
122
|
-
authConditions: ZodOptional<ZodBoolean>;
|
|
123
|
-
}, $strict>>;
|
|
124
|
-
createSignaturePolicy: ZodOptional<ZodEnum<{
|
|
125
|
-
legacy: "legacy";
|
|
126
|
-
"v2-required": "v2-required";
|
|
127
|
-
}>>;
|
|
128
|
-
unsupportedStoredDocuments: ZodOptional<ZodEnum<{
|
|
129
|
-
"read-only": "read-only";
|
|
130
|
-
refuse: "refuse";
|
|
131
|
-
}>>;
|
|
132
|
-
}, $strict>>;
|
|
133
|
-
workflows: ZodOptional<ZodBoolean>;
|
|
134
|
-
renown: ZodOptional<ZodObject<{
|
|
135
|
-
url: ZodOptional<ZodString>;
|
|
136
|
-
networkId: ZodOptional<ZodString>;
|
|
137
|
-
chainId: ZodOptional<ZodNumber>;
|
|
138
|
-
}, $strict>>;
|
|
139
|
-
namespace: ZodOptional<ZodString>;
|
|
140
|
-
drives: ZodOptional<TokenableSchema<ZodArray<ZodObject<{
|
|
141
|
-
slug: ZodString;
|
|
142
|
-
id: ZodOptional<ZodString>;
|
|
143
|
-
projectHash: ZodOptional<ZodUnion<readonly [ZodBoolean, ZodLiteral<"id">]>>;
|
|
144
|
-
name: ZodOptional<ZodString>;
|
|
145
|
-
icon: ZodOptional<ZodString>;
|
|
146
|
-
preferredEditor: ZodOptional<ZodString>;
|
|
147
|
-
sharingType: ZodOptional<ZodEnum<{
|
|
148
|
-
private: "private";
|
|
149
|
-
public: "public";
|
|
150
|
-
shared: "shared";
|
|
151
|
-
}>>;
|
|
152
|
-
availableOffline: ZodOptional<ZodBoolean>;
|
|
153
|
-
remote: ZodOptional<ZodObject<{
|
|
154
|
-
url: TokenableSchema<ZodString>;
|
|
155
|
-
}, $strict>>;
|
|
156
|
-
}, $strict>>>>;
|
|
157
|
-
}, $strict>>;
|
|
158
|
-
runner: ZodObject<{
|
|
159
|
-
module: ZodString;
|
|
160
|
-
defaultVerb: ZodOptional<ZodString>;
|
|
161
|
-
host: ZodOptional<ZodString>;
|
|
162
|
-
plugins: ZodOptional<ZodArray<ZodUnion<readonly [ZodString, ZodObject<{
|
|
163
|
-
module: ZodString;
|
|
164
|
-
enabled: ZodOptional<ZodBoolean>;
|
|
165
|
-
verbs: ZodOptional<ZodUnion<readonly [ZodLiteral<"*">, ZodArray<ZodString>]>>;
|
|
166
|
-
config: ZodOptional<ZodRecord<ZodString, ZodUnknown>>;
|
|
167
|
-
}, $strict>]>>>;
|
|
168
|
-
port: ZodOptional<ZodNumber>;
|
|
169
|
-
dev: ZodOptional<ZodBoolean>;
|
|
170
|
-
outDir: ZodOptional<ZodString>;
|
|
171
|
-
}, $strict>;
|
|
172
|
-
config: ZodOptional<ZodObject<{
|
|
173
|
-
switchboard: ZodOptional<ZodType<{
|
|
174
|
-
logLevel?: "debug" | "error" | "info" | "verbose" | "warn" | undefined;
|
|
175
|
-
server?: {
|
|
176
|
-
port?: number | undefined;
|
|
177
|
-
strictPort?: boolean | undefined;
|
|
178
|
-
basePath?: string | undefined;
|
|
179
|
-
publicUrl?: string | undefined;
|
|
180
|
-
gatewayAdapter?: "apollo" | "mercurius" | "stitching" | undefined;
|
|
181
|
-
https?: boolean | {
|
|
182
|
-
keyPath: string;
|
|
183
|
-
certPath: string;
|
|
184
|
-
} | undefined;
|
|
185
|
-
dev?: boolean | undefined;
|
|
186
|
-
} | undefined;
|
|
187
|
-
storage?: {
|
|
188
|
-
reactor?: {
|
|
189
|
-
url?: string | undefined;
|
|
190
|
-
} | undefined;
|
|
191
|
-
readModel?: {
|
|
192
|
-
url?: string | undefined;
|
|
193
|
-
} | undefined;
|
|
194
|
-
inMemory?: boolean | undefined;
|
|
195
|
-
userDataDir?: string | undefined;
|
|
196
|
-
pglite?: {
|
|
197
|
-
fsync?: boolean | undefined;
|
|
198
|
-
workers?: boolean | undefined;
|
|
199
|
-
workerMemoryMb?: number | undefined;
|
|
200
|
-
vacuumFull?: {
|
|
201
|
-
mode?: "forced" | "off" | "quiet" | undefined;
|
|
202
|
-
aboveMb?: number | undefined;
|
|
203
|
-
quietMs?: number | undefined;
|
|
204
|
-
maxDeferMs?: number | undefined;
|
|
205
|
-
} | undefined;
|
|
206
|
-
} | undefined;
|
|
207
|
-
migratePglite?: boolean | undefined;
|
|
208
|
-
forcePgVersion?: 16 | 17 | undefined;
|
|
209
|
-
keyframes?: {
|
|
210
|
-
default?: {
|
|
211
|
-
interval?: number | undefined;
|
|
212
|
-
keep?: number | null | undefined;
|
|
213
|
-
} | undefined;
|
|
214
|
-
types?: Record<string, {
|
|
215
|
-
interval?: number | undefined;
|
|
216
|
-
keep?: number | null | undefined;
|
|
217
|
-
}> | undefined;
|
|
218
|
-
} | undefined;
|
|
219
|
-
} | undefined;
|
|
220
|
-
protocol?: {
|
|
221
|
-
featureFlags?: {
|
|
222
|
-
documentDecisions?: boolean | undefined;
|
|
223
|
-
authEnforcement?: boolean | undefined;
|
|
224
|
-
authGroups?: boolean | undefined;
|
|
225
|
-
authConditions?: boolean | undefined;
|
|
226
|
-
} | undefined;
|
|
227
|
-
createSignaturePolicy?: "legacy" | "v2-required" | undefined;
|
|
228
|
-
unsupportedStoredDocuments?: "read-only" | "refuse" | undefined;
|
|
229
|
-
legacyProcessorIds?: boolean | undefined;
|
|
230
|
-
maxSkipThreshold?: number | undefined;
|
|
231
|
-
catchUpPriority?: number | "dynamic" | undefined;
|
|
232
|
-
processorTiming?: "basic" | "detailed" | "off" | undefined;
|
|
233
|
-
processorTimingWindowMs?: number | undefined;
|
|
234
|
-
processorSlowBatchMs?: number | undefined;
|
|
235
|
-
processorTimingLogMs?: number | undefined;
|
|
236
|
-
} | undefined;
|
|
237
|
-
telemetry?: {
|
|
238
|
-
memory?: {
|
|
239
|
-
enabled?: boolean | undefined;
|
|
240
|
-
intervalMs?: number | undefined;
|
|
241
|
-
outputs?: ("console" | "file" | "memory")[] | undefined;
|
|
242
|
-
file?: {
|
|
243
|
-
path?: string | undefined;
|
|
244
|
-
maxMb?: number | undefined;
|
|
245
|
-
keep?: number | undefined;
|
|
246
|
-
} | undefined;
|
|
247
|
-
ringSize?: number | undefined;
|
|
248
|
-
consoleIntervalMs?: number | undefined;
|
|
249
|
-
workers?: boolean | undefined;
|
|
250
|
-
windowMin?: number | undefined;
|
|
251
|
-
} | undefined;
|
|
252
|
-
dir?: string | undefined;
|
|
253
|
-
heapSnapshotDir?: string | undefined;
|
|
254
|
-
} | undefined;
|
|
255
|
-
auth?: {
|
|
256
|
-
enabled?: boolean | undefined;
|
|
257
|
-
resolveIdentity?: boolean | undefined;
|
|
258
|
-
requireAuthenticatedCaller?: boolean | undefined;
|
|
259
|
-
requireAuthenticatedCallerExemptPaths?: string[] | undefined;
|
|
260
|
-
admins?: string[] | undefined;
|
|
261
|
-
defaultProtection?: boolean | undefined;
|
|
262
|
-
attachmentReadsFollowDocumentPolicy?: boolean | undefined;
|
|
263
|
-
documentPermissions?: {
|
|
264
|
-
enabled?: boolean | undefined;
|
|
265
|
-
cacheTtlMs?: number | undefined;
|
|
266
|
-
} | undefined;
|
|
267
|
-
skipCredentialVerification?: boolean | undefined;
|
|
268
|
-
credentialCacheTtlMs?: number | undefined;
|
|
269
|
-
wsRecheckMs?: number | undefined;
|
|
270
|
-
renown?: {
|
|
271
|
-
source?: "remote" | "self" | undefined;
|
|
272
|
-
url?: string | undefined;
|
|
273
|
-
switchboardUrl?: string | undefined;
|
|
274
|
-
} | undefined;
|
|
275
|
-
} | undefined;
|
|
276
|
-
inspection?: {
|
|
277
|
-
enabled?: boolean | undefined;
|
|
278
|
-
admin?: boolean | undefined;
|
|
279
|
-
callsPerMinute?: number | undefined;
|
|
280
|
-
} | undefined;
|
|
281
|
-
workers?: {
|
|
282
|
-
executor?: {
|
|
283
|
-
count?: number | "auto" | undefined;
|
|
284
|
-
poolSize?: number | undefined;
|
|
285
|
-
acquireTimeoutMs?: number | undefined;
|
|
286
|
-
} | undefined;
|
|
287
|
-
hostPoolSize?: number | undefined;
|
|
288
|
-
projection?: {
|
|
289
|
-
enabled?: boolean | undefined;
|
|
290
|
-
poolSize?: number | undefined;
|
|
291
|
-
} | undefined;
|
|
292
|
-
} | undefined;
|
|
293
|
-
packages?: {
|
|
294
|
-
registryUrl?: string | undefined;
|
|
295
|
-
registryPackages?: string[] | undefined;
|
|
296
|
-
dynamic?: boolean | undefined;
|
|
297
|
-
list?: string[] | undefined;
|
|
298
|
-
disableLocal?: boolean | undefined;
|
|
299
|
-
} | undefined;
|
|
300
|
-
features?: {
|
|
301
|
-
mcp?: boolean | undefined;
|
|
302
|
-
workflows?: boolean | undefined;
|
|
303
|
-
documentModelSubgraphs?: boolean | undefined;
|
|
304
|
-
pluginHost?: boolean | undefined;
|
|
305
|
-
privacy?: {
|
|
306
|
-
enabled?: boolean | undefined;
|
|
307
|
-
deploymentSecret?: string | undefined;
|
|
308
|
-
intervalMs?: number | undefined;
|
|
309
|
-
deadlineMs?: number | undefined;
|
|
310
|
-
markerGraceMs?: number | undefined;
|
|
311
|
-
purgeTimeoutMs?: number | undefined;
|
|
312
|
-
} | undefined;
|
|
313
|
-
} | undefined;
|
|
314
|
-
attachments?: {
|
|
315
|
-
storage?: {
|
|
316
|
-
kind: "filesystem";
|
|
317
|
-
} | {
|
|
318
|
-
kind: "s3";
|
|
319
|
-
s3: {
|
|
320
|
-
endpoint: string;
|
|
321
|
-
region: string;
|
|
322
|
-
bucket: string;
|
|
323
|
-
accessKeyId: string;
|
|
324
|
-
secretAccessKey: string;
|
|
325
|
-
prefix: string;
|
|
326
|
-
forcePathStyle: boolean;
|
|
327
|
-
uploadTtlSeconds: number;
|
|
328
|
-
downloadTtlSeconds: number;
|
|
329
|
-
};
|
|
330
|
-
} | undefined;
|
|
331
|
-
urlSigningSecret?: string | undefined;
|
|
332
|
-
downloadTargetMaxTtlSeconds?: number | undefined;
|
|
333
|
-
serviceUrl?: string | undefined;
|
|
334
|
-
} | undefined;
|
|
335
|
-
identity?: {
|
|
336
|
-
keypairPath?: string | undefined;
|
|
337
|
-
requireExisting?: boolean | undefined;
|
|
338
|
-
baseUrl?: string | undefined;
|
|
339
|
-
} | undefined;
|
|
340
|
-
drive?: {
|
|
341
|
-
[x: string]: unknown;
|
|
342
|
-
id?: string | undefined;
|
|
343
|
-
slug?: string | undefined;
|
|
344
|
-
documentType?: "powerhouse/document-drive" | "powerhouse/reactor-drive" | undefined;
|
|
345
|
-
} | undefined;
|
|
346
|
-
remoteDrives?: string[] | undefined;
|
|
347
|
-
configFile?: string | undefined;
|
|
348
|
-
processorConfig?: Map<string, unknown> | undefined;
|
|
349
|
-
}, {
|
|
350
|
-
logLevel?: "debug" | "error" | "info" | "verbose" | "warn" | undefined;
|
|
351
|
-
server?: {
|
|
352
|
-
port?: number | undefined;
|
|
353
|
-
strictPort?: boolean | undefined;
|
|
354
|
-
basePath?: string | undefined;
|
|
355
|
-
publicUrl?: string | undefined;
|
|
356
|
-
gatewayAdapter?: "apollo" | "mercurius" | "stitching" | undefined;
|
|
357
|
-
https?: boolean | {
|
|
358
|
-
keyPath: string;
|
|
359
|
-
certPath: string;
|
|
360
|
-
} | undefined;
|
|
361
|
-
dev?: boolean | undefined;
|
|
362
|
-
} | undefined;
|
|
363
|
-
storage?: {
|
|
364
|
-
reactor?: {
|
|
365
|
-
url?: string | undefined;
|
|
366
|
-
} | undefined;
|
|
367
|
-
readModel?: {
|
|
368
|
-
url?: string | undefined;
|
|
369
|
-
} | undefined;
|
|
370
|
-
inMemory?: boolean | undefined;
|
|
371
|
-
userDataDir?: string | undefined;
|
|
372
|
-
pglite?: {
|
|
373
|
-
fsync?: boolean | undefined;
|
|
374
|
-
workers?: boolean | undefined;
|
|
375
|
-
workerMemoryMb?: number | undefined;
|
|
376
|
-
vacuumFull?: {
|
|
377
|
-
mode?: "forced" | "off" | "quiet" | undefined;
|
|
378
|
-
aboveMb?: number | undefined;
|
|
379
|
-
quietMs?: number | undefined;
|
|
380
|
-
maxDeferMs?: number | undefined;
|
|
381
|
-
} | undefined;
|
|
382
|
-
} | undefined;
|
|
383
|
-
migratePglite?: boolean | undefined;
|
|
384
|
-
forcePgVersion?: 16 | 17 | undefined;
|
|
385
|
-
keyframes?: {
|
|
386
|
-
default?: {
|
|
387
|
-
interval?: number | undefined;
|
|
388
|
-
keep?: number | null | undefined;
|
|
389
|
-
} | undefined;
|
|
390
|
-
types?: Record<string, {
|
|
391
|
-
interval?: number | undefined;
|
|
392
|
-
keep?: number | null | undefined;
|
|
393
|
-
}> | undefined;
|
|
394
|
-
} | undefined;
|
|
395
|
-
} | undefined;
|
|
396
|
-
protocol?: {
|
|
397
|
-
featureFlags?: {
|
|
398
|
-
documentDecisions?: boolean | undefined;
|
|
399
|
-
authEnforcement?: boolean | undefined;
|
|
400
|
-
authGroups?: boolean | undefined;
|
|
401
|
-
authConditions?: boolean | undefined;
|
|
402
|
-
} | undefined;
|
|
403
|
-
createSignaturePolicy?: "legacy" | "v2-required" | undefined;
|
|
404
|
-
unsupportedStoredDocuments?: "read-only" | "refuse" | undefined;
|
|
405
|
-
legacyProcessorIds?: boolean | undefined;
|
|
406
|
-
maxSkipThreshold?: number | undefined;
|
|
407
|
-
catchUpPriority?: number | "dynamic" | undefined;
|
|
408
|
-
processorTiming?: "basic" | "detailed" | "off" | undefined;
|
|
409
|
-
processorTimingWindowMs?: number | undefined;
|
|
410
|
-
processorSlowBatchMs?: number | undefined;
|
|
411
|
-
processorTimingLogMs?: number | undefined;
|
|
412
|
-
} | undefined;
|
|
413
|
-
telemetry?: {
|
|
414
|
-
memory?: {
|
|
415
|
-
enabled?: boolean | undefined;
|
|
416
|
-
intervalMs?: number | undefined;
|
|
417
|
-
outputs?: ("console" | "file" | "memory")[] | undefined;
|
|
418
|
-
file?: {
|
|
419
|
-
path?: string | undefined;
|
|
420
|
-
maxMb?: number | undefined;
|
|
421
|
-
keep?: number | undefined;
|
|
422
|
-
} | undefined;
|
|
423
|
-
ringSize?: number | undefined;
|
|
424
|
-
consoleIntervalMs?: number | undefined;
|
|
425
|
-
workers?: boolean | undefined;
|
|
426
|
-
windowMin?: number | undefined;
|
|
427
|
-
} | undefined;
|
|
428
|
-
dir?: string | undefined;
|
|
429
|
-
heapSnapshotDir?: string | undefined;
|
|
430
|
-
} | undefined;
|
|
431
|
-
auth?: {
|
|
432
|
-
enabled?: boolean | undefined;
|
|
433
|
-
resolveIdentity?: boolean | undefined;
|
|
434
|
-
requireAuthenticatedCaller?: boolean | undefined;
|
|
435
|
-
requireAuthenticatedCallerExemptPaths?: string[] | undefined;
|
|
436
|
-
admins?: string[] | undefined;
|
|
437
|
-
defaultProtection?: boolean | undefined;
|
|
438
|
-
attachmentReadsFollowDocumentPolicy?: boolean | undefined;
|
|
439
|
-
documentPermissions?: {
|
|
440
|
-
enabled?: boolean | undefined;
|
|
441
|
-
cacheTtlMs?: number | undefined;
|
|
442
|
-
} | undefined;
|
|
443
|
-
skipCredentialVerification?: boolean | undefined;
|
|
444
|
-
credentialCacheTtlMs?: number | undefined;
|
|
445
|
-
wsRecheckMs?: number | undefined;
|
|
446
|
-
renown?: {
|
|
447
|
-
source?: "remote" | "self" | undefined;
|
|
448
|
-
url?: string | undefined;
|
|
449
|
-
switchboardUrl?: string | undefined;
|
|
450
|
-
} | undefined;
|
|
451
|
-
} | undefined;
|
|
452
|
-
inspection?: {
|
|
453
|
-
enabled?: boolean | undefined;
|
|
454
|
-
admin?: boolean | undefined;
|
|
455
|
-
callsPerMinute?: number | undefined;
|
|
456
|
-
} | undefined;
|
|
457
|
-
workers?: {
|
|
458
|
-
executor?: {
|
|
459
|
-
count?: number | "auto" | undefined;
|
|
460
|
-
poolSize?: number | undefined;
|
|
461
|
-
acquireTimeoutMs?: number | undefined;
|
|
462
|
-
} | undefined;
|
|
463
|
-
hostPoolSize?: number | undefined;
|
|
464
|
-
projection?: {
|
|
465
|
-
enabled?: boolean | undefined;
|
|
466
|
-
poolSize?: number | undefined;
|
|
467
|
-
} | undefined;
|
|
468
|
-
} | undefined;
|
|
469
|
-
packages?: {
|
|
470
|
-
registryUrl?: string | undefined;
|
|
471
|
-
registryPackages?: string[] | undefined;
|
|
472
|
-
dynamic?: boolean | undefined;
|
|
473
|
-
list?: string[] | undefined;
|
|
474
|
-
disableLocal?: boolean | undefined;
|
|
475
|
-
} | undefined;
|
|
476
|
-
features?: {
|
|
477
|
-
mcp?: boolean | undefined;
|
|
478
|
-
workflows?: boolean | undefined;
|
|
479
|
-
documentModelSubgraphs?: boolean | undefined;
|
|
480
|
-
pluginHost?: boolean | undefined;
|
|
481
|
-
privacy?: {
|
|
482
|
-
enabled?: boolean | undefined;
|
|
483
|
-
deploymentSecret?: string | undefined;
|
|
484
|
-
intervalMs?: number | undefined;
|
|
485
|
-
deadlineMs?: number | undefined;
|
|
486
|
-
markerGraceMs?: number | undefined;
|
|
487
|
-
purgeTimeoutMs?: number | undefined;
|
|
488
|
-
} | undefined;
|
|
489
|
-
} | undefined;
|
|
490
|
-
attachments?: {
|
|
491
|
-
storage?: {
|
|
492
|
-
kind: "filesystem";
|
|
493
|
-
} | {
|
|
494
|
-
kind: "s3";
|
|
495
|
-
s3: {
|
|
496
|
-
endpoint: string;
|
|
497
|
-
region: string;
|
|
498
|
-
bucket: string;
|
|
499
|
-
accessKeyId: string;
|
|
500
|
-
secretAccessKey: string;
|
|
501
|
-
prefix: string;
|
|
502
|
-
forcePathStyle: boolean;
|
|
503
|
-
uploadTtlSeconds: number;
|
|
504
|
-
downloadTtlSeconds: number;
|
|
505
|
-
};
|
|
506
|
-
} | undefined;
|
|
507
|
-
urlSigningSecret?: string | undefined;
|
|
508
|
-
downloadTargetMaxTtlSeconds?: number | undefined;
|
|
509
|
-
serviceUrl?: string | undefined;
|
|
510
|
-
} | undefined;
|
|
511
|
-
identity?: {
|
|
512
|
-
keypairPath?: string | undefined;
|
|
513
|
-
requireExisting?: boolean | undefined;
|
|
514
|
-
baseUrl?: string | undefined;
|
|
515
|
-
} | undefined;
|
|
516
|
-
drive?: {
|
|
517
|
-
[x: string]: unknown;
|
|
518
|
-
id?: string | undefined;
|
|
519
|
-
slug?: string | undefined;
|
|
520
|
-
documentType?: "powerhouse/document-drive" | "powerhouse/reactor-drive" | undefined;
|
|
521
|
-
} | undefined;
|
|
522
|
-
remoteDrives?: string[] | undefined;
|
|
523
|
-
configFile?: string | undefined;
|
|
524
|
-
processorConfig?: Map<string, unknown> | undefined;
|
|
525
|
-
}, $ZodTypeInternals<{
|
|
526
|
-
logLevel?: "debug" | "error" | "info" | "verbose" | "warn" | undefined;
|
|
527
|
-
server?: {
|
|
528
|
-
port?: number | undefined;
|
|
529
|
-
strictPort?: boolean | undefined;
|
|
530
|
-
basePath?: string | undefined;
|
|
531
|
-
publicUrl?: string | undefined;
|
|
532
|
-
gatewayAdapter?: "apollo" | "mercurius" | "stitching" | undefined;
|
|
533
|
-
https?: boolean | {
|
|
534
|
-
keyPath: string;
|
|
535
|
-
certPath: string;
|
|
536
|
-
} | undefined;
|
|
537
|
-
dev?: boolean | undefined;
|
|
538
|
-
} | undefined;
|
|
539
|
-
storage?: {
|
|
540
|
-
reactor?: {
|
|
541
|
-
url?: string | undefined;
|
|
542
|
-
} | undefined;
|
|
543
|
-
readModel?: {
|
|
544
|
-
url?: string | undefined;
|
|
545
|
-
} | undefined;
|
|
546
|
-
inMemory?: boolean | undefined;
|
|
547
|
-
userDataDir?: string | undefined;
|
|
548
|
-
pglite?: {
|
|
549
|
-
fsync?: boolean | undefined;
|
|
550
|
-
workers?: boolean | undefined;
|
|
551
|
-
workerMemoryMb?: number | undefined;
|
|
552
|
-
vacuumFull?: {
|
|
553
|
-
mode?: "forced" | "off" | "quiet" | undefined;
|
|
554
|
-
aboveMb?: number | undefined;
|
|
555
|
-
quietMs?: number | undefined;
|
|
556
|
-
maxDeferMs?: number | undefined;
|
|
557
|
-
} | undefined;
|
|
558
|
-
} | undefined;
|
|
559
|
-
migratePglite?: boolean | undefined;
|
|
560
|
-
forcePgVersion?: 16 | 17 | undefined;
|
|
561
|
-
keyframes?: {
|
|
562
|
-
default?: {
|
|
563
|
-
interval?: number | undefined;
|
|
564
|
-
keep?: number | null | undefined;
|
|
565
|
-
} | undefined;
|
|
566
|
-
types?: Record<string, {
|
|
567
|
-
interval?: number | undefined;
|
|
568
|
-
keep?: number | null | undefined;
|
|
569
|
-
}> | undefined;
|
|
570
|
-
} | undefined;
|
|
571
|
-
} | undefined;
|
|
572
|
-
protocol?: {
|
|
573
|
-
featureFlags?: {
|
|
574
|
-
documentDecisions?: boolean | undefined;
|
|
575
|
-
authEnforcement?: boolean | undefined;
|
|
576
|
-
authGroups?: boolean | undefined;
|
|
577
|
-
authConditions?: boolean | undefined;
|
|
578
|
-
} | undefined;
|
|
579
|
-
createSignaturePolicy?: "legacy" | "v2-required" | undefined;
|
|
580
|
-
unsupportedStoredDocuments?: "read-only" | "refuse" | undefined;
|
|
581
|
-
legacyProcessorIds?: boolean | undefined;
|
|
582
|
-
maxSkipThreshold?: number | undefined;
|
|
583
|
-
catchUpPriority?: number | "dynamic" | undefined;
|
|
584
|
-
processorTiming?: "basic" | "detailed" | "off" | undefined;
|
|
585
|
-
processorTimingWindowMs?: number | undefined;
|
|
586
|
-
processorSlowBatchMs?: number | undefined;
|
|
587
|
-
processorTimingLogMs?: number | undefined;
|
|
588
|
-
} | undefined;
|
|
589
|
-
telemetry?: {
|
|
590
|
-
memory?: {
|
|
591
|
-
enabled?: boolean | undefined;
|
|
592
|
-
intervalMs?: number | undefined;
|
|
593
|
-
outputs?: ("console" | "file" | "memory")[] | undefined;
|
|
594
|
-
file?: {
|
|
595
|
-
path?: string | undefined;
|
|
596
|
-
maxMb?: number | undefined;
|
|
597
|
-
keep?: number | undefined;
|
|
598
|
-
} | undefined;
|
|
599
|
-
ringSize?: number | undefined;
|
|
600
|
-
consoleIntervalMs?: number | undefined;
|
|
601
|
-
workers?: boolean | undefined;
|
|
602
|
-
windowMin?: number | undefined;
|
|
603
|
-
} | undefined;
|
|
604
|
-
dir?: string | undefined;
|
|
605
|
-
heapSnapshotDir?: string | undefined;
|
|
606
|
-
} | undefined;
|
|
607
|
-
auth?: {
|
|
608
|
-
enabled?: boolean | undefined;
|
|
609
|
-
resolveIdentity?: boolean | undefined;
|
|
610
|
-
requireAuthenticatedCaller?: boolean | undefined;
|
|
611
|
-
requireAuthenticatedCallerExemptPaths?: string[] | undefined;
|
|
612
|
-
admins?: string[] | undefined;
|
|
613
|
-
defaultProtection?: boolean | undefined;
|
|
614
|
-
attachmentReadsFollowDocumentPolicy?: boolean | undefined;
|
|
615
|
-
documentPermissions?: {
|
|
616
|
-
enabled?: boolean | undefined;
|
|
617
|
-
cacheTtlMs?: number | undefined;
|
|
618
|
-
} | undefined;
|
|
619
|
-
skipCredentialVerification?: boolean | undefined;
|
|
620
|
-
credentialCacheTtlMs?: number | undefined;
|
|
621
|
-
wsRecheckMs?: number | undefined;
|
|
622
|
-
renown?: {
|
|
623
|
-
source?: "remote" | "self" | undefined;
|
|
624
|
-
url?: string | undefined;
|
|
625
|
-
switchboardUrl?: string | undefined;
|
|
626
|
-
} | undefined;
|
|
627
|
-
} | undefined;
|
|
628
|
-
inspection?: {
|
|
629
|
-
enabled?: boolean | undefined;
|
|
630
|
-
admin?: boolean | undefined;
|
|
631
|
-
callsPerMinute?: number | undefined;
|
|
632
|
-
} | undefined;
|
|
633
|
-
workers?: {
|
|
634
|
-
executor?: {
|
|
635
|
-
count?: number | "auto" | undefined;
|
|
636
|
-
poolSize?: number | undefined;
|
|
637
|
-
acquireTimeoutMs?: number | undefined;
|
|
638
|
-
} | undefined;
|
|
639
|
-
hostPoolSize?: number | undefined;
|
|
640
|
-
projection?: {
|
|
641
|
-
enabled?: boolean | undefined;
|
|
642
|
-
poolSize?: number | undefined;
|
|
643
|
-
} | undefined;
|
|
644
|
-
} | undefined;
|
|
645
|
-
packages?: {
|
|
646
|
-
registryUrl?: string | undefined;
|
|
647
|
-
registryPackages?: string[] | undefined;
|
|
648
|
-
dynamic?: boolean | undefined;
|
|
649
|
-
list?: string[] | undefined;
|
|
650
|
-
disableLocal?: boolean | undefined;
|
|
651
|
-
} | undefined;
|
|
652
|
-
features?: {
|
|
653
|
-
mcp?: boolean | undefined;
|
|
654
|
-
workflows?: boolean | undefined;
|
|
655
|
-
documentModelSubgraphs?: boolean | undefined;
|
|
656
|
-
pluginHost?: boolean | undefined;
|
|
657
|
-
privacy?: {
|
|
658
|
-
enabled?: boolean | undefined;
|
|
659
|
-
deploymentSecret?: string | undefined;
|
|
660
|
-
intervalMs?: number | undefined;
|
|
661
|
-
deadlineMs?: number | undefined;
|
|
662
|
-
markerGraceMs?: number | undefined;
|
|
663
|
-
purgeTimeoutMs?: number | undefined;
|
|
664
|
-
} | undefined;
|
|
665
|
-
} | undefined;
|
|
666
|
-
attachments?: {
|
|
667
|
-
storage?: {
|
|
668
|
-
kind: "filesystem";
|
|
669
|
-
} | {
|
|
670
|
-
kind: "s3";
|
|
671
|
-
s3: {
|
|
672
|
-
endpoint: string;
|
|
673
|
-
region: string;
|
|
674
|
-
bucket: string;
|
|
675
|
-
accessKeyId: string;
|
|
676
|
-
secretAccessKey: string;
|
|
677
|
-
prefix: string;
|
|
678
|
-
forcePathStyle: boolean;
|
|
679
|
-
uploadTtlSeconds: number;
|
|
680
|
-
downloadTtlSeconds: number;
|
|
681
|
-
};
|
|
682
|
-
} | undefined;
|
|
683
|
-
urlSigningSecret?: string | undefined;
|
|
684
|
-
downloadTargetMaxTtlSeconds?: number | undefined;
|
|
685
|
-
serviceUrl?: string | undefined;
|
|
686
|
-
} | undefined;
|
|
687
|
-
identity?: {
|
|
688
|
-
keypairPath?: string | undefined;
|
|
689
|
-
requireExisting?: boolean | undefined;
|
|
690
|
-
baseUrl?: string | undefined;
|
|
691
|
-
} | undefined;
|
|
692
|
-
drive?: {
|
|
693
|
-
[x: string]: unknown;
|
|
694
|
-
id?: string | undefined;
|
|
695
|
-
slug?: string | undefined;
|
|
696
|
-
documentType?: "powerhouse/document-drive" | "powerhouse/reactor-drive" | undefined;
|
|
697
|
-
} | undefined;
|
|
698
|
-
remoteDrives?: string[] | undefined;
|
|
699
|
-
configFile?: string | undefined;
|
|
700
|
-
processorConfig?: Map<string, unknown> | undefined;
|
|
701
|
-
}, {
|
|
702
|
-
logLevel?: "debug" | "error" | "info" | "verbose" | "warn" | undefined;
|
|
703
|
-
server?: {
|
|
704
|
-
port?: number | undefined;
|
|
705
|
-
strictPort?: boolean | undefined;
|
|
706
|
-
basePath?: string | undefined;
|
|
707
|
-
publicUrl?: string | undefined;
|
|
708
|
-
gatewayAdapter?: "apollo" | "mercurius" | "stitching" | undefined;
|
|
709
|
-
https?: boolean | {
|
|
710
|
-
keyPath: string;
|
|
711
|
-
certPath: string;
|
|
712
|
-
} | undefined;
|
|
713
|
-
dev?: boolean | undefined;
|
|
714
|
-
} | undefined;
|
|
715
|
-
storage?: {
|
|
716
|
-
reactor?: {
|
|
717
|
-
url?: string | undefined;
|
|
718
|
-
} | undefined;
|
|
719
|
-
readModel?: {
|
|
720
|
-
url?: string | undefined;
|
|
721
|
-
} | undefined;
|
|
722
|
-
inMemory?: boolean | undefined;
|
|
723
|
-
userDataDir?: string | undefined;
|
|
724
|
-
pglite?: {
|
|
725
|
-
fsync?: boolean | undefined;
|
|
726
|
-
workers?: boolean | undefined;
|
|
727
|
-
workerMemoryMb?: number | undefined;
|
|
728
|
-
vacuumFull?: {
|
|
729
|
-
mode?: "forced" | "off" | "quiet" | undefined;
|
|
730
|
-
aboveMb?: number | undefined;
|
|
731
|
-
quietMs?: number | undefined;
|
|
732
|
-
maxDeferMs?: number | undefined;
|
|
733
|
-
} | undefined;
|
|
734
|
-
} | undefined;
|
|
735
|
-
migratePglite?: boolean | undefined;
|
|
736
|
-
forcePgVersion?: 16 | 17 | undefined;
|
|
737
|
-
keyframes?: {
|
|
738
|
-
default?: {
|
|
739
|
-
interval?: number | undefined;
|
|
740
|
-
keep?: number | null | undefined;
|
|
741
|
-
} | undefined;
|
|
742
|
-
types?: Record<string, {
|
|
743
|
-
interval?: number | undefined;
|
|
744
|
-
keep?: number | null | undefined;
|
|
745
|
-
}> | undefined;
|
|
746
|
-
} | undefined;
|
|
747
|
-
} | undefined;
|
|
748
|
-
protocol?: {
|
|
749
|
-
featureFlags?: {
|
|
750
|
-
documentDecisions?: boolean | undefined;
|
|
751
|
-
authEnforcement?: boolean | undefined;
|
|
752
|
-
authGroups?: boolean | undefined;
|
|
753
|
-
authConditions?: boolean | undefined;
|
|
754
|
-
} | undefined;
|
|
755
|
-
createSignaturePolicy?: "legacy" | "v2-required" | undefined;
|
|
756
|
-
unsupportedStoredDocuments?: "read-only" | "refuse" | undefined;
|
|
757
|
-
legacyProcessorIds?: boolean | undefined;
|
|
758
|
-
maxSkipThreshold?: number | undefined;
|
|
759
|
-
catchUpPriority?: number | "dynamic" | undefined;
|
|
760
|
-
processorTiming?: "basic" | "detailed" | "off" | undefined;
|
|
761
|
-
processorTimingWindowMs?: number | undefined;
|
|
762
|
-
processorSlowBatchMs?: number | undefined;
|
|
763
|
-
processorTimingLogMs?: number | undefined;
|
|
764
|
-
} | undefined;
|
|
765
|
-
telemetry?: {
|
|
766
|
-
memory?: {
|
|
767
|
-
enabled?: boolean | undefined;
|
|
768
|
-
intervalMs?: number | undefined;
|
|
769
|
-
outputs?: ("console" | "file" | "memory")[] | undefined;
|
|
770
|
-
file?: {
|
|
771
|
-
path?: string | undefined;
|
|
772
|
-
maxMb?: number | undefined;
|
|
773
|
-
keep?: number | undefined;
|
|
774
|
-
} | undefined;
|
|
775
|
-
ringSize?: number | undefined;
|
|
776
|
-
consoleIntervalMs?: number | undefined;
|
|
777
|
-
workers?: boolean | undefined;
|
|
778
|
-
windowMin?: number | undefined;
|
|
779
|
-
} | undefined;
|
|
780
|
-
dir?: string | undefined;
|
|
781
|
-
heapSnapshotDir?: string | undefined;
|
|
782
|
-
} | undefined;
|
|
783
|
-
auth?: {
|
|
784
|
-
enabled?: boolean | undefined;
|
|
785
|
-
resolveIdentity?: boolean | undefined;
|
|
786
|
-
requireAuthenticatedCaller?: boolean | undefined;
|
|
787
|
-
requireAuthenticatedCallerExemptPaths?: string[] | undefined;
|
|
788
|
-
admins?: string[] | undefined;
|
|
789
|
-
defaultProtection?: boolean | undefined;
|
|
790
|
-
attachmentReadsFollowDocumentPolicy?: boolean | undefined;
|
|
791
|
-
documentPermissions?: {
|
|
792
|
-
enabled?: boolean | undefined;
|
|
793
|
-
cacheTtlMs?: number | undefined;
|
|
794
|
-
} | undefined;
|
|
795
|
-
skipCredentialVerification?: boolean | undefined;
|
|
796
|
-
credentialCacheTtlMs?: number | undefined;
|
|
797
|
-
wsRecheckMs?: number | undefined;
|
|
798
|
-
renown?: {
|
|
799
|
-
source?: "remote" | "self" | undefined;
|
|
800
|
-
url?: string | undefined;
|
|
801
|
-
switchboardUrl?: string | undefined;
|
|
802
|
-
} | undefined;
|
|
803
|
-
} | undefined;
|
|
804
|
-
inspection?: {
|
|
805
|
-
enabled?: boolean | undefined;
|
|
806
|
-
admin?: boolean | undefined;
|
|
807
|
-
callsPerMinute?: number | undefined;
|
|
808
|
-
} | undefined;
|
|
809
|
-
workers?: {
|
|
810
|
-
executor?: {
|
|
811
|
-
count?: number | "auto" | undefined;
|
|
812
|
-
poolSize?: number | undefined;
|
|
813
|
-
acquireTimeoutMs?: number | undefined;
|
|
814
|
-
} | undefined;
|
|
815
|
-
hostPoolSize?: number | undefined;
|
|
816
|
-
projection?: {
|
|
817
|
-
enabled?: boolean | undefined;
|
|
818
|
-
poolSize?: number | undefined;
|
|
819
|
-
} | undefined;
|
|
820
|
-
} | undefined;
|
|
821
|
-
packages?: {
|
|
822
|
-
registryUrl?: string | undefined;
|
|
823
|
-
registryPackages?: string[] | undefined;
|
|
824
|
-
dynamic?: boolean | undefined;
|
|
825
|
-
list?: string[] | undefined;
|
|
826
|
-
disableLocal?: boolean | undefined;
|
|
827
|
-
} | undefined;
|
|
828
|
-
features?: {
|
|
829
|
-
mcp?: boolean | undefined;
|
|
830
|
-
workflows?: boolean | undefined;
|
|
831
|
-
documentModelSubgraphs?: boolean | undefined;
|
|
832
|
-
pluginHost?: boolean | undefined;
|
|
833
|
-
privacy?: {
|
|
834
|
-
enabled?: boolean | undefined;
|
|
835
|
-
deploymentSecret?: string | undefined;
|
|
836
|
-
intervalMs?: number | undefined;
|
|
837
|
-
deadlineMs?: number | undefined;
|
|
838
|
-
markerGraceMs?: number | undefined;
|
|
839
|
-
purgeTimeoutMs?: number | undefined;
|
|
840
|
-
} | undefined;
|
|
841
|
-
} | undefined;
|
|
842
|
-
attachments?: {
|
|
843
|
-
storage?: {
|
|
844
|
-
kind: "filesystem";
|
|
845
|
-
} | {
|
|
846
|
-
kind: "s3";
|
|
847
|
-
s3: {
|
|
848
|
-
endpoint: string;
|
|
849
|
-
region: string;
|
|
850
|
-
bucket: string;
|
|
851
|
-
accessKeyId: string;
|
|
852
|
-
secretAccessKey: string;
|
|
853
|
-
prefix: string;
|
|
854
|
-
forcePathStyle: boolean;
|
|
855
|
-
uploadTtlSeconds: number;
|
|
856
|
-
downloadTtlSeconds: number;
|
|
857
|
-
};
|
|
858
|
-
} | undefined;
|
|
859
|
-
urlSigningSecret?: string | undefined;
|
|
860
|
-
downloadTargetMaxTtlSeconds?: number | undefined;
|
|
861
|
-
serviceUrl?: string | undefined;
|
|
862
|
-
} | undefined;
|
|
863
|
-
identity?: {
|
|
864
|
-
keypairPath?: string | undefined;
|
|
865
|
-
requireExisting?: boolean | undefined;
|
|
866
|
-
baseUrl?: string | undefined;
|
|
867
|
-
} | undefined;
|
|
868
|
-
drive?: {
|
|
869
|
-
[x: string]: unknown;
|
|
870
|
-
id?: string | undefined;
|
|
871
|
-
slug?: string | undefined;
|
|
872
|
-
documentType?: "powerhouse/document-drive" | "powerhouse/reactor-drive" | undefined;
|
|
873
|
-
} | undefined;
|
|
874
|
-
remoteDrives?: string[] | undefined;
|
|
875
|
-
configFile?: string | undefined;
|
|
876
|
-
processorConfig?: Map<string, unknown> | undefined;
|
|
877
|
-
}>>>;
|
|
878
|
-
}, $strict>>;
|
|
879
|
-
}, $strict>;
|
|
880
|
-
export declare const hostSchema: ZodObject<{
|
|
881
|
-
name: ZodString;
|
|
882
|
-
profile: ZodOptional<ZodObject<{
|
|
883
|
-
appId: ZodOptional<ZodString>;
|
|
884
|
-
name: ZodOptional<ZodString>;
|
|
885
|
-
description: ZodOptional<ZodString>;
|
|
886
|
-
icon: ZodOptional<ZodString>;
|
|
887
|
-
}, $strict>>;
|
|
888
|
-
reactor: ZodOptional<ZodObject<{
|
|
889
|
-
backends: ZodOptional<ZodRecord<ZodString, ZodObject<{
|
|
890
|
-
kind: ZodEnum<{
|
|
891
|
-
"in-process": "in-process";
|
|
892
|
-
remote: "remote";
|
|
893
|
-
worker: "worker";
|
|
894
|
-
}>;
|
|
895
|
-
storage: ZodOptional<ZodObject<{
|
|
896
|
-
kind: ZodEnum<{
|
|
897
|
-
idb: "idb";
|
|
898
|
-
memory: "memory";
|
|
899
|
-
path: "path";
|
|
900
|
-
postgres: "postgres";
|
|
901
|
-
}>;
|
|
902
|
-
dataDir: ZodOptional<TokenableSchema<ZodString, EnvToken>>;
|
|
903
|
-
url: ZodOptional<ZodString>;
|
|
904
|
-
}, $strict>>;
|
|
905
|
-
readModel: ZodOptional<ZodObject<{
|
|
906
|
-
url: ZodOptional<ZodString>;
|
|
907
|
-
}, $strict>>;
|
|
908
|
-
packages: ZodOptional<ZodObject<{
|
|
909
|
-
cdnUrl: ZodOptional<ZodString>;
|
|
910
|
-
specs: ZodOptional<ZodArray<ZodString>>;
|
|
911
|
-
dynamic: ZodOptional<ZodBoolean>;
|
|
912
|
-
}, $strict>>;
|
|
913
|
-
remote: ZodOptional<ZodObject<{
|
|
914
|
-
url: TokenableSchema<ZodUnion<readonly [ZodURL, ZodString]>>;
|
|
915
|
-
requestTimeoutMs: ZodOptional<ZodNumber>;
|
|
916
|
-
breaker: ZodOptional<ZodUnion<readonly [ZodLiteral<false>, ZodObject<{
|
|
917
|
-
failures: ZodOptional<ZodNumber>;
|
|
918
|
-
openMs: ZodOptional<ZodNumber>;
|
|
919
|
-
}, $strict>]>>;
|
|
920
|
-
realtime: ZodOptional<ZodBoolean>;
|
|
921
|
-
}, $strict>>;
|
|
922
|
-
}, $strict>>>;
|
|
923
|
-
placement: ZodOptional<ZodObject<{
|
|
924
|
-
primary: ZodOptional<ZodString>;
|
|
925
|
-
drives: ZodOptional<ZodRecord<ZodString, ZodString>>;
|
|
926
|
-
newDrives: ZodOptional<ZodString>;
|
|
927
|
-
}, $strict>>;
|
|
928
|
-
router: ZodOptional<ZodObject<{
|
|
929
|
-
probeTimeoutMs: ZodOptional<ZodNumber>;
|
|
930
|
-
provisionalRouteMs: ZodOptional<ZodNumber>;
|
|
931
|
-
}, $strict>>;
|
|
932
|
-
protocol: ZodOptional<ZodObject<{
|
|
933
|
-
featureFlags: ZodOptional<ZodObject<{
|
|
934
|
-
documentDecisions: ZodOptional<ZodBoolean>;
|
|
935
|
-
authEnforcement: ZodOptional<ZodBoolean>;
|
|
936
|
-
authGroups: ZodOptional<ZodBoolean>;
|
|
937
|
-
authConditions: ZodOptional<ZodBoolean>;
|
|
938
|
-
}, $strict>>;
|
|
939
|
-
createSignaturePolicy: ZodOptional<ZodEnum<{
|
|
940
|
-
legacy: "legacy";
|
|
941
|
-
"v2-required": "v2-required";
|
|
942
|
-
}>>;
|
|
943
|
-
unsupportedStoredDocuments: ZodOptional<ZodEnum<{
|
|
944
|
-
"read-only": "read-only";
|
|
945
|
-
refuse: "refuse";
|
|
946
|
-
}>>;
|
|
947
|
-
}, $strict>>;
|
|
948
|
-
workflows: ZodOptional<ZodBoolean>;
|
|
949
|
-
renown: ZodOptional<ZodObject<{
|
|
950
|
-
url: ZodOptional<ZodString>;
|
|
951
|
-
networkId: ZodOptional<ZodString>;
|
|
952
|
-
chainId: ZodOptional<ZodNumber>;
|
|
953
|
-
}, $strict>>;
|
|
954
|
-
namespace: ZodOptional<ZodString>;
|
|
955
|
-
drives: ZodOptional<TokenableSchema<ZodArray<ZodObject<{
|
|
956
|
-
slug: ZodString;
|
|
957
|
-
id: ZodOptional<ZodString>;
|
|
958
|
-
projectHash: ZodOptional<ZodUnion<readonly [ZodBoolean, ZodLiteral<"id">]>>;
|
|
959
|
-
name: ZodOptional<ZodString>;
|
|
960
|
-
icon: ZodOptional<ZodString>;
|
|
961
|
-
preferredEditor: ZodOptional<ZodString>;
|
|
962
|
-
sharingType: ZodOptional<ZodEnum<{
|
|
963
|
-
private: "private";
|
|
964
|
-
public: "public";
|
|
965
|
-
shared: "shared";
|
|
966
|
-
}>>;
|
|
967
|
-
availableOffline: ZodOptional<ZodBoolean>;
|
|
968
|
-
remote: ZodOptional<ZodObject<{
|
|
969
|
-
url: TokenableSchema<ZodString>;
|
|
970
|
-
}, $strict>>;
|
|
971
|
-
}, $strict>>>>;
|
|
972
|
-
}, $strict>>;
|
|
973
|
-
runner: ZodObject<{
|
|
974
|
-
module: ZodString;
|
|
975
|
-
defaultVerb: ZodOptional<ZodString>;
|
|
976
|
-
host: ZodOptional<ZodString>;
|
|
977
|
-
plugins: ZodOptional<ZodArray<ZodUnion<readonly [ZodString, ZodObject<{
|
|
978
|
-
module: ZodString;
|
|
979
|
-
enabled: ZodOptional<ZodBoolean>;
|
|
980
|
-
verbs: ZodOptional<ZodUnion<readonly [ZodLiteral<"*">, ZodArray<ZodString>]>>;
|
|
981
|
-
config: ZodOptional<ZodRecord<ZodString, ZodUnknown>>;
|
|
982
|
-
}, $strict>]>>>;
|
|
983
|
-
port: ZodOptional<ZodNumber>;
|
|
984
|
-
dev: ZodOptional<ZodBoolean>;
|
|
985
|
-
outDir: ZodOptional<ZodString>;
|
|
986
|
-
}, $strict>;
|
|
987
|
-
config: ZodOptional<ZodObject<{
|
|
988
|
-
switchboard: ZodOptional<ZodType<{
|
|
989
|
-
logLevel?: "debug" | "error" | "info" | "verbose" | "warn" | undefined;
|
|
990
|
-
server?: {
|
|
991
|
-
port?: number | undefined;
|
|
992
|
-
strictPort?: boolean | undefined;
|
|
993
|
-
basePath?: string | undefined;
|
|
994
|
-
publicUrl?: string | undefined;
|
|
995
|
-
gatewayAdapter?: "apollo" | "mercurius" | "stitching" | undefined;
|
|
996
|
-
https?: boolean | {
|
|
997
|
-
keyPath: string;
|
|
998
|
-
certPath: string;
|
|
999
|
-
} | undefined;
|
|
1000
|
-
dev?: boolean | undefined;
|
|
1001
|
-
} | undefined;
|
|
1002
|
-
storage?: {
|
|
1003
|
-
reactor?: {
|
|
1004
|
-
url?: string | undefined;
|
|
1005
|
-
} | undefined;
|
|
1006
|
-
readModel?: {
|
|
1007
|
-
url?: string | undefined;
|
|
1008
|
-
} | undefined;
|
|
1009
|
-
inMemory?: boolean | undefined;
|
|
1010
|
-
userDataDir?: string | undefined;
|
|
1011
|
-
pglite?: {
|
|
1012
|
-
fsync?: boolean | undefined;
|
|
1013
|
-
workers?: boolean | undefined;
|
|
1014
|
-
workerMemoryMb?: number | undefined;
|
|
1015
|
-
vacuumFull?: {
|
|
1016
|
-
mode?: "forced" | "off" | "quiet" | undefined;
|
|
1017
|
-
aboveMb?: number | undefined;
|
|
1018
|
-
quietMs?: number | undefined;
|
|
1019
|
-
maxDeferMs?: number | undefined;
|
|
1020
|
-
} | undefined;
|
|
1021
|
-
} | undefined;
|
|
1022
|
-
migratePglite?: boolean | undefined;
|
|
1023
|
-
forcePgVersion?: 16 | 17 | undefined;
|
|
1024
|
-
keyframes?: {
|
|
1025
|
-
default?: {
|
|
1026
|
-
interval?: number | undefined;
|
|
1027
|
-
keep?: number | null | undefined;
|
|
1028
|
-
} | undefined;
|
|
1029
|
-
types?: Record<string, {
|
|
1030
|
-
interval?: number | undefined;
|
|
1031
|
-
keep?: number | null | undefined;
|
|
1032
|
-
}> | undefined;
|
|
1033
|
-
} | undefined;
|
|
1034
|
-
} | undefined;
|
|
1035
|
-
protocol?: {
|
|
1036
|
-
featureFlags?: {
|
|
1037
|
-
documentDecisions?: boolean | undefined;
|
|
1038
|
-
authEnforcement?: boolean | undefined;
|
|
1039
|
-
authGroups?: boolean | undefined;
|
|
1040
|
-
authConditions?: boolean | undefined;
|
|
1041
|
-
} | undefined;
|
|
1042
|
-
createSignaturePolicy?: "legacy" | "v2-required" | undefined;
|
|
1043
|
-
unsupportedStoredDocuments?: "read-only" | "refuse" | undefined;
|
|
1044
|
-
legacyProcessorIds?: boolean | undefined;
|
|
1045
|
-
maxSkipThreshold?: number | undefined;
|
|
1046
|
-
catchUpPriority?: number | "dynamic" | undefined;
|
|
1047
|
-
processorTiming?: "basic" | "detailed" | "off" | undefined;
|
|
1048
|
-
processorTimingWindowMs?: number | undefined;
|
|
1049
|
-
processorSlowBatchMs?: number | undefined;
|
|
1050
|
-
processorTimingLogMs?: number | undefined;
|
|
1051
|
-
} | undefined;
|
|
1052
|
-
telemetry?: {
|
|
1053
|
-
memory?: {
|
|
1054
|
-
enabled?: boolean | undefined;
|
|
1055
|
-
intervalMs?: number | undefined;
|
|
1056
|
-
outputs?: ("console" | "file" | "memory")[] | undefined;
|
|
1057
|
-
file?: {
|
|
1058
|
-
path?: string | undefined;
|
|
1059
|
-
maxMb?: number | undefined;
|
|
1060
|
-
keep?: number | undefined;
|
|
1061
|
-
} | undefined;
|
|
1062
|
-
ringSize?: number | undefined;
|
|
1063
|
-
consoleIntervalMs?: number | undefined;
|
|
1064
|
-
workers?: boolean | undefined;
|
|
1065
|
-
windowMin?: number | undefined;
|
|
1066
|
-
} | undefined;
|
|
1067
|
-
dir?: string | undefined;
|
|
1068
|
-
heapSnapshotDir?: string | undefined;
|
|
1069
|
-
} | undefined;
|
|
1070
|
-
auth?: {
|
|
1071
|
-
enabled?: boolean | undefined;
|
|
1072
|
-
resolveIdentity?: boolean | undefined;
|
|
1073
|
-
requireAuthenticatedCaller?: boolean | undefined;
|
|
1074
|
-
requireAuthenticatedCallerExemptPaths?: string[] | undefined;
|
|
1075
|
-
admins?: string[] | undefined;
|
|
1076
|
-
defaultProtection?: boolean | undefined;
|
|
1077
|
-
attachmentReadsFollowDocumentPolicy?: boolean | undefined;
|
|
1078
|
-
documentPermissions?: {
|
|
1079
|
-
enabled?: boolean | undefined;
|
|
1080
|
-
cacheTtlMs?: number | undefined;
|
|
1081
|
-
} | undefined;
|
|
1082
|
-
skipCredentialVerification?: boolean | undefined;
|
|
1083
|
-
credentialCacheTtlMs?: number | undefined;
|
|
1084
|
-
wsRecheckMs?: number | undefined;
|
|
1085
|
-
renown?: {
|
|
1086
|
-
source?: "remote" | "self" | undefined;
|
|
1087
|
-
url?: string | undefined;
|
|
1088
|
-
switchboardUrl?: string | undefined;
|
|
1089
|
-
} | undefined;
|
|
1090
|
-
} | undefined;
|
|
1091
|
-
inspection?: {
|
|
1092
|
-
enabled?: boolean | undefined;
|
|
1093
|
-
admin?: boolean | undefined;
|
|
1094
|
-
callsPerMinute?: number | undefined;
|
|
1095
|
-
} | undefined;
|
|
1096
|
-
workers?: {
|
|
1097
|
-
executor?: {
|
|
1098
|
-
count?: number | "auto" | undefined;
|
|
1099
|
-
poolSize?: number | undefined;
|
|
1100
|
-
acquireTimeoutMs?: number | undefined;
|
|
1101
|
-
} | undefined;
|
|
1102
|
-
hostPoolSize?: number | undefined;
|
|
1103
|
-
projection?: {
|
|
1104
|
-
enabled?: boolean | undefined;
|
|
1105
|
-
poolSize?: number | undefined;
|
|
1106
|
-
} | undefined;
|
|
1107
|
-
} | undefined;
|
|
1108
|
-
packages?: {
|
|
1109
|
-
registryUrl?: string | undefined;
|
|
1110
|
-
registryPackages?: string[] | undefined;
|
|
1111
|
-
dynamic?: boolean | undefined;
|
|
1112
|
-
list?: string[] | undefined;
|
|
1113
|
-
disableLocal?: boolean | undefined;
|
|
1114
|
-
} | undefined;
|
|
1115
|
-
features?: {
|
|
1116
|
-
mcp?: boolean | undefined;
|
|
1117
|
-
workflows?: boolean | undefined;
|
|
1118
|
-
documentModelSubgraphs?: boolean | undefined;
|
|
1119
|
-
pluginHost?: boolean | undefined;
|
|
1120
|
-
privacy?: {
|
|
1121
|
-
enabled?: boolean | undefined;
|
|
1122
|
-
deploymentSecret?: string | undefined;
|
|
1123
|
-
intervalMs?: number | undefined;
|
|
1124
|
-
deadlineMs?: number | undefined;
|
|
1125
|
-
markerGraceMs?: number | undefined;
|
|
1126
|
-
purgeTimeoutMs?: number | undefined;
|
|
1127
|
-
} | undefined;
|
|
1128
|
-
} | undefined;
|
|
1129
|
-
attachments?: {
|
|
1130
|
-
storage?: {
|
|
1131
|
-
kind: "filesystem";
|
|
1132
|
-
} | {
|
|
1133
|
-
kind: "s3";
|
|
1134
|
-
s3: {
|
|
1135
|
-
endpoint: string;
|
|
1136
|
-
region: string;
|
|
1137
|
-
bucket: string;
|
|
1138
|
-
accessKeyId: string;
|
|
1139
|
-
secretAccessKey: string;
|
|
1140
|
-
prefix: string;
|
|
1141
|
-
forcePathStyle: boolean;
|
|
1142
|
-
uploadTtlSeconds: number;
|
|
1143
|
-
downloadTtlSeconds: number;
|
|
1144
|
-
};
|
|
1145
|
-
} | undefined;
|
|
1146
|
-
urlSigningSecret?: string | undefined;
|
|
1147
|
-
downloadTargetMaxTtlSeconds?: number | undefined;
|
|
1148
|
-
serviceUrl?: string | undefined;
|
|
1149
|
-
} | undefined;
|
|
1150
|
-
identity?: {
|
|
1151
|
-
keypairPath?: string | undefined;
|
|
1152
|
-
requireExisting?: boolean | undefined;
|
|
1153
|
-
baseUrl?: string | undefined;
|
|
1154
|
-
} | undefined;
|
|
1155
|
-
drive?: {
|
|
1156
|
-
[x: string]: unknown;
|
|
1157
|
-
id?: string | undefined;
|
|
1158
|
-
slug?: string | undefined;
|
|
1159
|
-
documentType?: "powerhouse/document-drive" | "powerhouse/reactor-drive" | undefined;
|
|
1160
|
-
} | undefined;
|
|
1161
|
-
remoteDrives?: string[] | undefined;
|
|
1162
|
-
configFile?: string | undefined;
|
|
1163
|
-
processorConfig?: Map<string, unknown> | undefined;
|
|
1164
|
-
}, {
|
|
1165
|
-
logLevel?: "debug" | "error" | "info" | "verbose" | "warn" | undefined;
|
|
1166
|
-
server?: {
|
|
1167
|
-
port?: number | undefined;
|
|
1168
|
-
strictPort?: boolean | undefined;
|
|
1169
|
-
basePath?: string | undefined;
|
|
1170
|
-
publicUrl?: string | undefined;
|
|
1171
|
-
gatewayAdapter?: "apollo" | "mercurius" | "stitching" | undefined;
|
|
1172
|
-
https?: boolean | {
|
|
1173
|
-
keyPath: string;
|
|
1174
|
-
certPath: string;
|
|
1175
|
-
} | undefined;
|
|
1176
|
-
dev?: boolean | undefined;
|
|
1177
|
-
} | undefined;
|
|
1178
|
-
storage?: {
|
|
1179
|
-
reactor?: {
|
|
1180
|
-
url?: string | undefined;
|
|
1181
|
-
} | undefined;
|
|
1182
|
-
readModel?: {
|
|
1183
|
-
url?: string | undefined;
|
|
1184
|
-
} | undefined;
|
|
1185
|
-
inMemory?: boolean | undefined;
|
|
1186
|
-
userDataDir?: string | undefined;
|
|
1187
|
-
pglite?: {
|
|
1188
|
-
fsync?: boolean | undefined;
|
|
1189
|
-
workers?: boolean | undefined;
|
|
1190
|
-
workerMemoryMb?: number | undefined;
|
|
1191
|
-
vacuumFull?: {
|
|
1192
|
-
mode?: "forced" | "off" | "quiet" | undefined;
|
|
1193
|
-
aboveMb?: number | undefined;
|
|
1194
|
-
quietMs?: number | undefined;
|
|
1195
|
-
maxDeferMs?: number | undefined;
|
|
1196
|
-
} | undefined;
|
|
1197
|
-
} | undefined;
|
|
1198
|
-
migratePglite?: boolean | undefined;
|
|
1199
|
-
forcePgVersion?: 16 | 17 | undefined;
|
|
1200
|
-
keyframes?: {
|
|
1201
|
-
default?: {
|
|
1202
|
-
interval?: number | undefined;
|
|
1203
|
-
keep?: number | null | undefined;
|
|
1204
|
-
} | undefined;
|
|
1205
|
-
types?: Record<string, {
|
|
1206
|
-
interval?: number | undefined;
|
|
1207
|
-
keep?: number | null | undefined;
|
|
1208
|
-
}> | undefined;
|
|
1209
|
-
} | undefined;
|
|
1210
|
-
} | undefined;
|
|
1211
|
-
protocol?: {
|
|
1212
|
-
featureFlags?: {
|
|
1213
|
-
documentDecisions?: boolean | undefined;
|
|
1214
|
-
authEnforcement?: boolean | undefined;
|
|
1215
|
-
authGroups?: boolean | undefined;
|
|
1216
|
-
authConditions?: boolean | undefined;
|
|
1217
|
-
} | undefined;
|
|
1218
|
-
createSignaturePolicy?: "legacy" | "v2-required" | undefined;
|
|
1219
|
-
unsupportedStoredDocuments?: "read-only" | "refuse" | undefined;
|
|
1220
|
-
legacyProcessorIds?: boolean | undefined;
|
|
1221
|
-
maxSkipThreshold?: number | undefined;
|
|
1222
|
-
catchUpPriority?: number | "dynamic" | undefined;
|
|
1223
|
-
processorTiming?: "basic" | "detailed" | "off" | undefined;
|
|
1224
|
-
processorTimingWindowMs?: number | undefined;
|
|
1225
|
-
processorSlowBatchMs?: number | undefined;
|
|
1226
|
-
processorTimingLogMs?: number | undefined;
|
|
1227
|
-
} | undefined;
|
|
1228
|
-
telemetry?: {
|
|
1229
|
-
memory?: {
|
|
1230
|
-
enabled?: boolean | undefined;
|
|
1231
|
-
intervalMs?: number | undefined;
|
|
1232
|
-
outputs?: ("console" | "file" | "memory")[] | undefined;
|
|
1233
|
-
file?: {
|
|
1234
|
-
path?: string | undefined;
|
|
1235
|
-
maxMb?: number | undefined;
|
|
1236
|
-
keep?: number | undefined;
|
|
1237
|
-
} | undefined;
|
|
1238
|
-
ringSize?: number | undefined;
|
|
1239
|
-
consoleIntervalMs?: number | undefined;
|
|
1240
|
-
workers?: boolean | undefined;
|
|
1241
|
-
windowMin?: number | undefined;
|
|
1242
|
-
} | undefined;
|
|
1243
|
-
dir?: string | undefined;
|
|
1244
|
-
heapSnapshotDir?: string | undefined;
|
|
1245
|
-
} | undefined;
|
|
1246
|
-
auth?: {
|
|
1247
|
-
enabled?: boolean | undefined;
|
|
1248
|
-
resolveIdentity?: boolean | undefined;
|
|
1249
|
-
requireAuthenticatedCaller?: boolean | undefined;
|
|
1250
|
-
requireAuthenticatedCallerExemptPaths?: string[] | undefined;
|
|
1251
|
-
admins?: string[] | undefined;
|
|
1252
|
-
defaultProtection?: boolean | undefined;
|
|
1253
|
-
attachmentReadsFollowDocumentPolicy?: boolean | undefined;
|
|
1254
|
-
documentPermissions?: {
|
|
1255
|
-
enabled?: boolean | undefined;
|
|
1256
|
-
cacheTtlMs?: number | undefined;
|
|
1257
|
-
} | undefined;
|
|
1258
|
-
skipCredentialVerification?: boolean | undefined;
|
|
1259
|
-
credentialCacheTtlMs?: number | undefined;
|
|
1260
|
-
wsRecheckMs?: number | undefined;
|
|
1261
|
-
renown?: {
|
|
1262
|
-
source?: "remote" | "self" | undefined;
|
|
1263
|
-
url?: string | undefined;
|
|
1264
|
-
switchboardUrl?: string | undefined;
|
|
1265
|
-
} | undefined;
|
|
1266
|
-
} | undefined;
|
|
1267
|
-
inspection?: {
|
|
1268
|
-
enabled?: boolean | undefined;
|
|
1269
|
-
admin?: boolean | undefined;
|
|
1270
|
-
callsPerMinute?: number | undefined;
|
|
1271
|
-
} | undefined;
|
|
1272
|
-
workers?: {
|
|
1273
|
-
executor?: {
|
|
1274
|
-
count?: number | "auto" | undefined;
|
|
1275
|
-
poolSize?: number | undefined;
|
|
1276
|
-
acquireTimeoutMs?: number | undefined;
|
|
1277
|
-
} | undefined;
|
|
1278
|
-
hostPoolSize?: number | undefined;
|
|
1279
|
-
projection?: {
|
|
1280
|
-
enabled?: boolean | undefined;
|
|
1281
|
-
poolSize?: number | undefined;
|
|
1282
|
-
} | undefined;
|
|
1283
|
-
} | undefined;
|
|
1284
|
-
packages?: {
|
|
1285
|
-
registryUrl?: string | undefined;
|
|
1286
|
-
registryPackages?: string[] | undefined;
|
|
1287
|
-
dynamic?: boolean | undefined;
|
|
1288
|
-
list?: string[] | undefined;
|
|
1289
|
-
disableLocal?: boolean | undefined;
|
|
1290
|
-
} | undefined;
|
|
1291
|
-
features?: {
|
|
1292
|
-
mcp?: boolean | undefined;
|
|
1293
|
-
workflows?: boolean | undefined;
|
|
1294
|
-
documentModelSubgraphs?: boolean | undefined;
|
|
1295
|
-
pluginHost?: boolean | undefined;
|
|
1296
|
-
privacy?: {
|
|
1297
|
-
enabled?: boolean | undefined;
|
|
1298
|
-
deploymentSecret?: string | undefined;
|
|
1299
|
-
intervalMs?: number | undefined;
|
|
1300
|
-
deadlineMs?: number | undefined;
|
|
1301
|
-
markerGraceMs?: number | undefined;
|
|
1302
|
-
purgeTimeoutMs?: number | undefined;
|
|
1303
|
-
} | undefined;
|
|
1304
|
-
} | undefined;
|
|
1305
|
-
attachments?: {
|
|
1306
|
-
storage?: {
|
|
1307
|
-
kind: "filesystem";
|
|
1308
|
-
} | {
|
|
1309
|
-
kind: "s3";
|
|
1310
|
-
s3: {
|
|
1311
|
-
endpoint: string;
|
|
1312
|
-
region: string;
|
|
1313
|
-
bucket: string;
|
|
1314
|
-
accessKeyId: string;
|
|
1315
|
-
secretAccessKey: string;
|
|
1316
|
-
prefix: string;
|
|
1317
|
-
forcePathStyle: boolean;
|
|
1318
|
-
uploadTtlSeconds: number;
|
|
1319
|
-
downloadTtlSeconds: number;
|
|
1320
|
-
};
|
|
1321
|
-
} | undefined;
|
|
1322
|
-
urlSigningSecret?: string | undefined;
|
|
1323
|
-
downloadTargetMaxTtlSeconds?: number | undefined;
|
|
1324
|
-
serviceUrl?: string | undefined;
|
|
1325
|
-
} | undefined;
|
|
1326
|
-
identity?: {
|
|
1327
|
-
keypairPath?: string | undefined;
|
|
1328
|
-
requireExisting?: boolean | undefined;
|
|
1329
|
-
baseUrl?: string | undefined;
|
|
1330
|
-
} | undefined;
|
|
1331
|
-
drive?: {
|
|
1332
|
-
[x: string]: unknown;
|
|
1333
|
-
id?: string | undefined;
|
|
1334
|
-
slug?: string | undefined;
|
|
1335
|
-
documentType?: "powerhouse/document-drive" | "powerhouse/reactor-drive" | undefined;
|
|
1336
|
-
} | undefined;
|
|
1337
|
-
remoteDrives?: string[] | undefined;
|
|
1338
|
-
configFile?: string | undefined;
|
|
1339
|
-
processorConfig?: Map<string, unknown> | undefined;
|
|
1340
|
-
}, $ZodTypeInternals<{
|
|
1341
|
-
logLevel?: "debug" | "error" | "info" | "verbose" | "warn" | undefined;
|
|
1342
|
-
server?: {
|
|
1343
|
-
port?: number | undefined;
|
|
1344
|
-
strictPort?: boolean | undefined;
|
|
1345
|
-
basePath?: string | undefined;
|
|
1346
|
-
publicUrl?: string | undefined;
|
|
1347
|
-
gatewayAdapter?: "apollo" | "mercurius" | "stitching" | undefined;
|
|
1348
|
-
https?: boolean | {
|
|
1349
|
-
keyPath: string;
|
|
1350
|
-
certPath: string;
|
|
1351
|
-
} | undefined;
|
|
1352
|
-
dev?: boolean | undefined;
|
|
1353
|
-
} | undefined;
|
|
1354
|
-
storage?: {
|
|
1355
|
-
reactor?: {
|
|
1356
|
-
url?: string | undefined;
|
|
1357
|
-
} | undefined;
|
|
1358
|
-
readModel?: {
|
|
1359
|
-
url?: string | undefined;
|
|
1360
|
-
} | undefined;
|
|
1361
|
-
inMemory?: boolean | undefined;
|
|
1362
|
-
userDataDir?: string | undefined;
|
|
1363
|
-
pglite?: {
|
|
1364
|
-
fsync?: boolean | undefined;
|
|
1365
|
-
workers?: boolean | undefined;
|
|
1366
|
-
workerMemoryMb?: number | undefined;
|
|
1367
|
-
vacuumFull?: {
|
|
1368
|
-
mode?: "forced" | "off" | "quiet" | undefined;
|
|
1369
|
-
aboveMb?: number | undefined;
|
|
1370
|
-
quietMs?: number | undefined;
|
|
1371
|
-
maxDeferMs?: number | undefined;
|
|
1372
|
-
} | undefined;
|
|
1373
|
-
} | undefined;
|
|
1374
|
-
migratePglite?: boolean | undefined;
|
|
1375
|
-
forcePgVersion?: 16 | 17 | undefined;
|
|
1376
|
-
keyframes?: {
|
|
1377
|
-
default?: {
|
|
1378
|
-
interval?: number | undefined;
|
|
1379
|
-
keep?: number | null | undefined;
|
|
1380
|
-
} | undefined;
|
|
1381
|
-
types?: Record<string, {
|
|
1382
|
-
interval?: number | undefined;
|
|
1383
|
-
keep?: number | null | undefined;
|
|
1384
|
-
}> | undefined;
|
|
1385
|
-
} | undefined;
|
|
1386
|
-
} | undefined;
|
|
1387
|
-
protocol?: {
|
|
1388
|
-
featureFlags?: {
|
|
1389
|
-
documentDecisions?: boolean | undefined;
|
|
1390
|
-
authEnforcement?: boolean | undefined;
|
|
1391
|
-
authGroups?: boolean | undefined;
|
|
1392
|
-
authConditions?: boolean | undefined;
|
|
1393
|
-
} | undefined;
|
|
1394
|
-
createSignaturePolicy?: "legacy" | "v2-required" | undefined;
|
|
1395
|
-
unsupportedStoredDocuments?: "read-only" | "refuse" | undefined;
|
|
1396
|
-
legacyProcessorIds?: boolean | undefined;
|
|
1397
|
-
maxSkipThreshold?: number | undefined;
|
|
1398
|
-
catchUpPriority?: number | "dynamic" | undefined;
|
|
1399
|
-
processorTiming?: "basic" | "detailed" | "off" | undefined;
|
|
1400
|
-
processorTimingWindowMs?: number | undefined;
|
|
1401
|
-
processorSlowBatchMs?: number | undefined;
|
|
1402
|
-
processorTimingLogMs?: number | undefined;
|
|
1403
|
-
} | undefined;
|
|
1404
|
-
telemetry?: {
|
|
1405
|
-
memory?: {
|
|
1406
|
-
enabled?: boolean | undefined;
|
|
1407
|
-
intervalMs?: number | undefined;
|
|
1408
|
-
outputs?: ("console" | "file" | "memory")[] | undefined;
|
|
1409
|
-
file?: {
|
|
1410
|
-
path?: string | undefined;
|
|
1411
|
-
maxMb?: number | undefined;
|
|
1412
|
-
keep?: number | undefined;
|
|
1413
|
-
} | undefined;
|
|
1414
|
-
ringSize?: number | undefined;
|
|
1415
|
-
consoleIntervalMs?: number | undefined;
|
|
1416
|
-
workers?: boolean | undefined;
|
|
1417
|
-
windowMin?: number | undefined;
|
|
1418
|
-
} | undefined;
|
|
1419
|
-
dir?: string | undefined;
|
|
1420
|
-
heapSnapshotDir?: string | undefined;
|
|
1421
|
-
} | undefined;
|
|
1422
|
-
auth?: {
|
|
1423
|
-
enabled?: boolean | undefined;
|
|
1424
|
-
resolveIdentity?: boolean | undefined;
|
|
1425
|
-
requireAuthenticatedCaller?: boolean | undefined;
|
|
1426
|
-
requireAuthenticatedCallerExemptPaths?: string[] | undefined;
|
|
1427
|
-
admins?: string[] | undefined;
|
|
1428
|
-
defaultProtection?: boolean | undefined;
|
|
1429
|
-
attachmentReadsFollowDocumentPolicy?: boolean | undefined;
|
|
1430
|
-
documentPermissions?: {
|
|
1431
|
-
enabled?: boolean | undefined;
|
|
1432
|
-
cacheTtlMs?: number | undefined;
|
|
1433
|
-
} | undefined;
|
|
1434
|
-
skipCredentialVerification?: boolean | undefined;
|
|
1435
|
-
credentialCacheTtlMs?: number | undefined;
|
|
1436
|
-
wsRecheckMs?: number | undefined;
|
|
1437
|
-
renown?: {
|
|
1438
|
-
source?: "remote" | "self" | undefined;
|
|
1439
|
-
url?: string | undefined;
|
|
1440
|
-
switchboardUrl?: string | undefined;
|
|
1441
|
-
} | undefined;
|
|
1442
|
-
} | undefined;
|
|
1443
|
-
inspection?: {
|
|
1444
|
-
enabled?: boolean | undefined;
|
|
1445
|
-
admin?: boolean | undefined;
|
|
1446
|
-
callsPerMinute?: number | undefined;
|
|
1447
|
-
} | undefined;
|
|
1448
|
-
workers?: {
|
|
1449
|
-
executor?: {
|
|
1450
|
-
count?: number | "auto" | undefined;
|
|
1451
|
-
poolSize?: number | undefined;
|
|
1452
|
-
acquireTimeoutMs?: number | undefined;
|
|
1453
|
-
} | undefined;
|
|
1454
|
-
hostPoolSize?: number | undefined;
|
|
1455
|
-
projection?: {
|
|
1456
|
-
enabled?: boolean | undefined;
|
|
1457
|
-
poolSize?: number | undefined;
|
|
1458
|
-
} | undefined;
|
|
1459
|
-
} | undefined;
|
|
1460
|
-
packages?: {
|
|
1461
|
-
registryUrl?: string | undefined;
|
|
1462
|
-
registryPackages?: string[] | undefined;
|
|
1463
|
-
dynamic?: boolean | undefined;
|
|
1464
|
-
list?: string[] | undefined;
|
|
1465
|
-
disableLocal?: boolean | undefined;
|
|
1466
|
-
} | undefined;
|
|
1467
|
-
features?: {
|
|
1468
|
-
mcp?: boolean | undefined;
|
|
1469
|
-
workflows?: boolean | undefined;
|
|
1470
|
-
documentModelSubgraphs?: boolean | undefined;
|
|
1471
|
-
pluginHost?: boolean | undefined;
|
|
1472
|
-
privacy?: {
|
|
1473
|
-
enabled?: boolean | undefined;
|
|
1474
|
-
deploymentSecret?: string | undefined;
|
|
1475
|
-
intervalMs?: number | undefined;
|
|
1476
|
-
deadlineMs?: number | undefined;
|
|
1477
|
-
markerGraceMs?: number | undefined;
|
|
1478
|
-
purgeTimeoutMs?: number | undefined;
|
|
1479
|
-
} | undefined;
|
|
1480
|
-
} | undefined;
|
|
1481
|
-
attachments?: {
|
|
1482
|
-
storage?: {
|
|
1483
|
-
kind: "filesystem";
|
|
1484
|
-
} | {
|
|
1485
|
-
kind: "s3";
|
|
1486
|
-
s3: {
|
|
1487
|
-
endpoint: string;
|
|
1488
|
-
region: string;
|
|
1489
|
-
bucket: string;
|
|
1490
|
-
accessKeyId: string;
|
|
1491
|
-
secretAccessKey: string;
|
|
1492
|
-
prefix: string;
|
|
1493
|
-
forcePathStyle: boolean;
|
|
1494
|
-
uploadTtlSeconds: number;
|
|
1495
|
-
downloadTtlSeconds: number;
|
|
1496
|
-
};
|
|
1497
|
-
} | undefined;
|
|
1498
|
-
urlSigningSecret?: string | undefined;
|
|
1499
|
-
downloadTargetMaxTtlSeconds?: number | undefined;
|
|
1500
|
-
serviceUrl?: string | undefined;
|
|
1501
|
-
} | undefined;
|
|
1502
|
-
identity?: {
|
|
1503
|
-
keypairPath?: string | undefined;
|
|
1504
|
-
requireExisting?: boolean | undefined;
|
|
1505
|
-
baseUrl?: string | undefined;
|
|
1506
|
-
} | undefined;
|
|
1507
|
-
drive?: {
|
|
1508
|
-
[x: string]: unknown;
|
|
1509
|
-
id?: string | undefined;
|
|
1510
|
-
slug?: string | undefined;
|
|
1511
|
-
documentType?: "powerhouse/document-drive" | "powerhouse/reactor-drive" | undefined;
|
|
1512
|
-
} | undefined;
|
|
1513
|
-
remoteDrives?: string[] | undefined;
|
|
1514
|
-
configFile?: string | undefined;
|
|
1515
|
-
processorConfig?: Map<string, unknown> | undefined;
|
|
1516
|
-
}, {
|
|
1517
|
-
logLevel?: "debug" | "error" | "info" | "verbose" | "warn" | undefined;
|
|
1518
|
-
server?: {
|
|
1519
|
-
port?: number | undefined;
|
|
1520
|
-
strictPort?: boolean | undefined;
|
|
1521
|
-
basePath?: string | undefined;
|
|
1522
|
-
publicUrl?: string | undefined;
|
|
1523
|
-
gatewayAdapter?: "apollo" | "mercurius" | "stitching" | undefined;
|
|
1524
|
-
https?: boolean | {
|
|
1525
|
-
keyPath: string;
|
|
1526
|
-
certPath: string;
|
|
1527
|
-
} | undefined;
|
|
1528
|
-
dev?: boolean | undefined;
|
|
1529
|
-
} | undefined;
|
|
1530
|
-
storage?: {
|
|
1531
|
-
reactor?: {
|
|
1532
|
-
url?: string | undefined;
|
|
1533
|
-
} | undefined;
|
|
1534
|
-
readModel?: {
|
|
1535
|
-
url?: string | undefined;
|
|
1536
|
-
} | undefined;
|
|
1537
|
-
inMemory?: boolean | undefined;
|
|
1538
|
-
userDataDir?: string | undefined;
|
|
1539
|
-
pglite?: {
|
|
1540
|
-
fsync?: boolean | undefined;
|
|
1541
|
-
workers?: boolean | undefined;
|
|
1542
|
-
workerMemoryMb?: number | undefined;
|
|
1543
|
-
vacuumFull?: {
|
|
1544
|
-
mode?: "forced" | "off" | "quiet" | undefined;
|
|
1545
|
-
aboveMb?: number | undefined;
|
|
1546
|
-
quietMs?: number | undefined;
|
|
1547
|
-
maxDeferMs?: number | undefined;
|
|
1548
|
-
} | undefined;
|
|
1549
|
-
} | undefined;
|
|
1550
|
-
migratePglite?: boolean | undefined;
|
|
1551
|
-
forcePgVersion?: 16 | 17 | undefined;
|
|
1552
|
-
keyframes?: {
|
|
1553
|
-
default?: {
|
|
1554
|
-
interval?: number | undefined;
|
|
1555
|
-
keep?: number | null | undefined;
|
|
1556
|
-
} | undefined;
|
|
1557
|
-
types?: Record<string, {
|
|
1558
|
-
interval?: number | undefined;
|
|
1559
|
-
keep?: number | null | undefined;
|
|
1560
|
-
}> | undefined;
|
|
1561
|
-
} | undefined;
|
|
1562
|
-
} | undefined;
|
|
1563
|
-
protocol?: {
|
|
1564
|
-
featureFlags?: {
|
|
1565
|
-
documentDecisions?: boolean | undefined;
|
|
1566
|
-
authEnforcement?: boolean | undefined;
|
|
1567
|
-
authGroups?: boolean | undefined;
|
|
1568
|
-
authConditions?: boolean | undefined;
|
|
1569
|
-
} | undefined;
|
|
1570
|
-
createSignaturePolicy?: "legacy" | "v2-required" | undefined;
|
|
1571
|
-
unsupportedStoredDocuments?: "read-only" | "refuse" | undefined;
|
|
1572
|
-
legacyProcessorIds?: boolean | undefined;
|
|
1573
|
-
maxSkipThreshold?: number | undefined;
|
|
1574
|
-
catchUpPriority?: number | "dynamic" | undefined;
|
|
1575
|
-
processorTiming?: "basic" | "detailed" | "off" | undefined;
|
|
1576
|
-
processorTimingWindowMs?: number | undefined;
|
|
1577
|
-
processorSlowBatchMs?: number | undefined;
|
|
1578
|
-
processorTimingLogMs?: number | undefined;
|
|
1579
|
-
} | undefined;
|
|
1580
|
-
telemetry?: {
|
|
1581
|
-
memory?: {
|
|
1582
|
-
enabled?: boolean | undefined;
|
|
1583
|
-
intervalMs?: number | undefined;
|
|
1584
|
-
outputs?: ("console" | "file" | "memory")[] | undefined;
|
|
1585
|
-
file?: {
|
|
1586
|
-
path?: string | undefined;
|
|
1587
|
-
maxMb?: number | undefined;
|
|
1588
|
-
keep?: number | undefined;
|
|
1589
|
-
} | undefined;
|
|
1590
|
-
ringSize?: number | undefined;
|
|
1591
|
-
consoleIntervalMs?: number | undefined;
|
|
1592
|
-
workers?: boolean | undefined;
|
|
1593
|
-
windowMin?: number | undefined;
|
|
1594
|
-
} | undefined;
|
|
1595
|
-
dir?: string | undefined;
|
|
1596
|
-
heapSnapshotDir?: string | undefined;
|
|
1597
|
-
} | undefined;
|
|
1598
|
-
auth?: {
|
|
1599
|
-
enabled?: boolean | undefined;
|
|
1600
|
-
resolveIdentity?: boolean | undefined;
|
|
1601
|
-
requireAuthenticatedCaller?: boolean | undefined;
|
|
1602
|
-
requireAuthenticatedCallerExemptPaths?: string[] | undefined;
|
|
1603
|
-
admins?: string[] | undefined;
|
|
1604
|
-
defaultProtection?: boolean | undefined;
|
|
1605
|
-
attachmentReadsFollowDocumentPolicy?: boolean | undefined;
|
|
1606
|
-
documentPermissions?: {
|
|
1607
|
-
enabled?: boolean | undefined;
|
|
1608
|
-
cacheTtlMs?: number | undefined;
|
|
1609
|
-
} | undefined;
|
|
1610
|
-
skipCredentialVerification?: boolean | undefined;
|
|
1611
|
-
credentialCacheTtlMs?: number | undefined;
|
|
1612
|
-
wsRecheckMs?: number | undefined;
|
|
1613
|
-
renown?: {
|
|
1614
|
-
source?: "remote" | "self" | undefined;
|
|
1615
|
-
url?: string | undefined;
|
|
1616
|
-
switchboardUrl?: string | undefined;
|
|
1617
|
-
} | undefined;
|
|
1618
|
-
} | undefined;
|
|
1619
|
-
inspection?: {
|
|
1620
|
-
enabled?: boolean | undefined;
|
|
1621
|
-
admin?: boolean | undefined;
|
|
1622
|
-
callsPerMinute?: number | undefined;
|
|
1623
|
-
} | undefined;
|
|
1624
|
-
workers?: {
|
|
1625
|
-
executor?: {
|
|
1626
|
-
count?: number | "auto" | undefined;
|
|
1627
|
-
poolSize?: number | undefined;
|
|
1628
|
-
acquireTimeoutMs?: number | undefined;
|
|
1629
|
-
} | undefined;
|
|
1630
|
-
hostPoolSize?: number | undefined;
|
|
1631
|
-
projection?: {
|
|
1632
|
-
enabled?: boolean | undefined;
|
|
1633
|
-
poolSize?: number | undefined;
|
|
1634
|
-
} | undefined;
|
|
1635
|
-
} | undefined;
|
|
1636
|
-
packages?: {
|
|
1637
|
-
registryUrl?: string | undefined;
|
|
1638
|
-
registryPackages?: string[] | undefined;
|
|
1639
|
-
dynamic?: boolean | undefined;
|
|
1640
|
-
list?: string[] | undefined;
|
|
1641
|
-
disableLocal?: boolean | undefined;
|
|
1642
|
-
} | undefined;
|
|
1643
|
-
features?: {
|
|
1644
|
-
mcp?: boolean | undefined;
|
|
1645
|
-
workflows?: boolean | undefined;
|
|
1646
|
-
documentModelSubgraphs?: boolean | undefined;
|
|
1647
|
-
pluginHost?: boolean | undefined;
|
|
1648
|
-
privacy?: {
|
|
1649
|
-
enabled?: boolean | undefined;
|
|
1650
|
-
deploymentSecret?: string | undefined;
|
|
1651
|
-
intervalMs?: number | undefined;
|
|
1652
|
-
deadlineMs?: number | undefined;
|
|
1653
|
-
markerGraceMs?: number | undefined;
|
|
1654
|
-
purgeTimeoutMs?: number | undefined;
|
|
1655
|
-
} | undefined;
|
|
1656
|
-
} | undefined;
|
|
1657
|
-
attachments?: {
|
|
1658
|
-
storage?: {
|
|
1659
|
-
kind: "filesystem";
|
|
1660
|
-
} | {
|
|
1661
|
-
kind: "s3";
|
|
1662
|
-
s3: {
|
|
1663
|
-
endpoint: string;
|
|
1664
|
-
region: string;
|
|
1665
|
-
bucket: string;
|
|
1666
|
-
accessKeyId: string;
|
|
1667
|
-
secretAccessKey: string;
|
|
1668
|
-
prefix: string;
|
|
1669
|
-
forcePathStyle: boolean;
|
|
1670
|
-
uploadTtlSeconds: number;
|
|
1671
|
-
downloadTtlSeconds: number;
|
|
1672
|
-
};
|
|
1673
|
-
} | undefined;
|
|
1674
|
-
urlSigningSecret?: string | undefined;
|
|
1675
|
-
downloadTargetMaxTtlSeconds?: number | undefined;
|
|
1676
|
-
serviceUrl?: string | undefined;
|
|
1677
|
-
} | undefined;
|
|
1678
|
-
identity?: {
|
|
1679
|
-
keypairPath?: string | undefined;
|
|
1680
|
-
requireExisting?: boolean | undefined;
|
|
1681
|
-
baseUrl?: string | undefined;
|
|
1682
|
-
} | undefined;
|
|
1683
|
-
drive?: {
|
|
1684
|
-
[x: string]: unknown;
|
|
1685
|
-
id?: string | undefined;
|
|
1686
|
-
slug?: string | undefined;
|
|
1687
|
-
documentType?: "powerhouse/document-drive" | "powerhouse/reactor-drive" | undefined;
|
|
1688
|
-
} | undefined;
|
|
1689
|
-
remoteDrives?: string[] | undefined;
|
|
1690
|
-
configFile?: string | undefined;
|
|
1691
|
-
processorConfig?: Map<string, unknown> | undefined;
|
|
1692
|
-
}>>>;
|
|
1693
|
-
}, $strict>>;
|
|
1694
|
-
}, $strict>;
|
|
1695
|
-
/** What a switchboard host.js author writes. */
|
|
1696
|
-
export type SwitchboardHost = input<typeof declaredHostSchema>;
|
|
1697
|
-
/** What a verb receives (defaults applied). */
|
|
1698
|
-
export type SwitchboardHostParsed = output<typeof hostSchema>;
|
|
1699
|
-
/** One drive the switchboard serves: its document id and its URL. */
|
|
1700
|
-
export declare const switchboardDriveOutputSchema: ZodObject<{
|
|
1701
|
-
id: ZodString;
|
|
1702
|
-
url: ZodURL;
|
|
1703
|
-
}, $strict>;
|
|
1704
|
-
/** What a started switchboard produces. `origin` carries the port the server
|
|
1705
|
-
* actually bound. `drives` is keyed by the DECLARED slug (a `projectHash:
|
|
1706
|
-
* true` drive is reachable as `vetra`, its URL uses the hashed slug it is
|
|
1707
|
-
* served under) and includes plugin-created drives (e.g. `workflows`) and
|
|
1708
|
-
* the server's implicit default drive. `endpoints.mcp` is present when MCP
|
|
1709
|
-
* is mounted. */
|
|
1710
|
-
export declare const outputsSchema: ZodObject<{
|
|
1711
|
-
origin: ZodURL;
|
|
1712
|
-
endpoints: ZodObject<{
|
|
1713
|
-
graphql: ZodURL;
|
|
1714
|
-
mcp: ZodOptional<ZodURL>;
|
|
1715
|
-
}, $strict>;
|
|
1716
|
-
drives: ZodRecord<ZodString, ZodObject<{
|
|
1717
|
-
id: ZodString;
|
|
1718
|
-
url: ZodURL;
|
|
1719
|
-
}, $strict>>;
|
|
1720
|
-
}, $strict>;
|
|
1721
|
-
export type SwitchboardOutputs = output$1<typeof outputsSchema>;
|
|
1722
|
-
declare global {
|
|
1723
|
-
interface PHHostRunners {
|
|
1724
|
-
"@powerhousedao/ph-cli/runners/switchboard": {
|
|
1725
|
-
host: SwitchboardHost;
|
|
1726
|
-
outputs: SwitchboardOutputs;
|
|
1727
|
-
};
|
|
1728
|
-
}
|
|
1729
|
-
}
|
|
1730
|
-
/** The classic arg shape with the one switch a composition may leave unset. */
|
|
1731
|
-
export type SwitchboardRunnerArgs = Omit<SwitchboardArgs, "mcp"> & {
|
|
1732
|
-
mcp: boolean | undefined;
|
|
1733
|
-
};
|
|
1734
|
-
/** Poll the default drive endpoint until the server answers — the compound's
|
|
1735
|
-
* readiness gate: Connect auto-connects the drive on first load, so the drive
|
|
1736
|
-
* must answer before the connect member serves (the sidecar's
|
|
1737
|
-
* waitForSwitchboard, moved behind the handle contract).
|
|
1738
|
-
*
|
|
1739
|
-
* The probe is anonymous, and a host with authentication on hides a drive
|
|
1740
|
-
* from a caller it refuses (`/d/:drive` answers 404 to anyone who may not
|
|
1741
|
-
* read it, 401 under the authenticated-caller floor). Those answers prove
|
|
1742
|
-
* the server is listening but not whether the drive exists, so `served`,
|
|
1743
|
-
* the reactor's own view of the drive, decides then; without it an
|
|
1744
|
-
* ADMIN_ONLY host never passes this gate and the compound tears down after
|
|
1745
|
-
* the timeout. */
|
|
1746
|
-
export declare function waitForDrive(url: string, timeoutMs: number, served?: () => Promise<boolean>, fetchImpl?: typeof fetch): Promise<void>;
|
|
1747
|
-
/** What a started switchboard returns. */
|
|
1748
|
-
export type SwitchboardHandle = RunnerHandle<SwitchboardOutputs>;
|
|
1749
|
-
export declare function run(host: SwitchboardHostParsed, ctx: RunnerContext): Promise<SwitchboardHandle>;
|
|
1750
|
-
export declare const serve: typeof run;
|
|
1751
|
-
export declare function dev(host: SwitchboardHostParsed, ctx: RunnerContext): Promise<SwitchboardHandle>;
|
|
1752
|
-
/** What the server would refuse at boot for this host, `ctx.verb` and `ctx.env` (`ph host check`). */
|
|
1753
|
-
export declare function checkBoot(host: SwitchboardHostParsed, ctx: BootCheckContext): Promise<BootIssue[]>;
|
|
5
|
+
export declare const verbs: string[];
|
|
1754
6
|
/** Build the project's reactor package (the SAME service as `ph build`) — what
|
|
1755
7
|
* this switchboard serves. Starts no server; orthogonal to run/serve/dev. */
|
|
1756
8
|
export declare function build(host: SwitchboardHostParsed, _ctx: RunnerContext): Promise<void>;
|