@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,1216 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { n as RunnerHandle, t as RunnerContext } from "../index-BCSl7lP0.mjs";
|
|
2
|
+
import { ConnectHostParsed, ConnectOutputs } from "@powerhousedao/ph-run/runners/connect";
|
|
3
|
+
export * from "@powerhousedao/ph-run/runners/connect";
|
|
3
4
|
//#region src/runners/connect.d.ts
|
|
4
|
-
|
|
5
|
-
* BRIDGE runner for Connect hosts (uniform-runners phase 0): maps a
|
|
6
|
-
* hosts/connect/host.js definition onto the SAME service the classic
|
|
7
|
-
* `ph connect studio` (dev/run), `ph connect build` and `ph connect preview`
|
|
8
|
-
* (serve) commands call — no forked behavior.
|
|
9
|
-
*/
|
|
10
|
-
export declare const kind = "reactor";
|
|
11
|
-
export declare const declaredHostSchema: ZodObject<{
|
|
12
|
-
name: ZodString;
|
|
13
|
-
profile: ZodOptional<ZodObject<{
|
|
14
|
-
appId: ZodOptional<ZodString>;
|
|
15
|
-
name: ZodOptional<ZodString>;
|
|
16
|
-
description: ZodOptional<ZodString>;
|
|
17
|
-
icon: ZodOptional<ZodString>;
|
|
18
|
-
}, $strict>>;
|
|
19
|
-
reactor: ZodOptional<ZodObject<{
|
|
20
|
-
backends: ZodOptional<ZodRecord<ZodString, ZodObject<{
|
|
21
|
-
kind: ZodEnum<{
|
|
22
|
-
"in-process": "in-process";
|
|
23
|
-
remote: "remote";
|
|
24
|
-
worker: "worker";
|
|
25
|
-
}>;
|
|
26
|
-
storage: ZodOptional<ZodObject<{
|
|
27
|
-
kind: ZodEnum<{
|
|
28
|
-
idb: "idb";
|
|
29
|
-
memory: "memory";
|
|
30
|
-
path: "path";
|
|
31
|
-
postgres: "postgres";
|
|
32
|
-
}>;
|
|
33
|
-
dataDir: ZodOptional<TokenableSchema<ZodString, EnvToken>>;
|
|
34
|
-
url: ZodOptional<ZodString>;
|
|
35
|
-
}, $strict>>;
|
|
36
|
-
readModel: ZodOptional<ZodObject<{
|
|
37
|
-
url: ZodOptional<ZodString>;
|
|
38
|
-
}, $strict>>;
|
|
39
|
-
packages: ZodOptional<ZodObject<{
|
|
40
|
-
cdnUrl: ZodOptional<ZodString>;
|
|
41
|
-
specs: ZodOptional<ZodArray<ZodString>>;
|
|
42
|
-
dynamic: ZodOptional<ZodBoolean>;
|
|
43
|
-
}, $strict>>;
|
|
44
|
-
remote: ZodOptional<ZodObject<{
|
|
45
|
-
url: TokenableSchema<ZodUnion<readonly [ZodURL, ZodString]>>;
|
|
46
|
-
requestTimeoutMs: ZodOptional<ZodNumber>;
|
|
47
|
-
breaker: ZodOptional<ZodUnion<readonly [ZodLiteral<false>, ZodObject<{
|
|
48
|
-
failures: ZodOptional<ZodNumber>;
|
|
49
|
-
openMs: ZodOptional<ZodNumber>;
|
|
50
|
-
}, $strict>]>>;
|
|
51
|
-
realtime: ZodOptional<ZodBoolean>;
|
|
52
|
-
}, $strict>>;
|
|
53
|
-
}, $strict>>>;
|
|
54
|
-
placement: ZodOptional<ZodObject<{
|
|
55
|
-
primary: ZodOptional<ZodString>;
|
|
56
|
-
drives: ZodOptional<ZodRecord<ZodString, ZodString>>;
|
|
57
|
-
newDrives: ZodOptional<ZodString>;
|
|
58
|
-
}, $strict>>;
|
|
59
|
-
router: ZodOptional<ZodObject<{
|
|
60
|
-
probeTimeoutMs: ZodOptional<ZodNumber>;
|
|
61
|
-
provisionalRouteMs: ZodOptional<ZodNumber>;
|
|
62
|
-
}, $strict>>;
|
|
63
|
-
protocol: ZodOptional<ZodObject<{
|
|
64
|
-
featureFlags: ZodOptional<ZodObject<{
|
|
65
|
-
documentDecisions: ZodOptional<ZodBoolean>;
|
|
66
|
-
authEnforcement: ZodOptional<ZodBoolean>;
|
|
67
|
-
authGroups: ZodOptional<ZodBoolean>;
|
|
68
|
-
authConditions: ZodOptional<ZodBoolean>;
|
|
69
|
-
}, $strict>>;
|
|
70
|
-
createSignaturePolicy: ZodOptional<ZodEnum<{
|
|
71
|
-
legacy: "legacy";
|
|
72
|
-
"v2-required": "v2-required";
|
|
73
|
-
}>>;
|
|
74
|
-
unsupportedStoredDocuments: ZodOptional<ZodEnum<{
|
|
75
|
-
"read-only": "read-only";
|
|
76
|
-
refuse: "refuse";
|
|
77
|
-
}>>;
|
|
78
|
-
}, $strict>>;
|
|
79
|
-
workflows: ZodOptional<ZodBoolean>;
|
|
80
|
-
renown: ZodOptional<ZodObject<{
|
|
81
|
-
url: ZodOptional<ZodString>;
|
|
82
|
-
networkId: ZodOptional<ZodString>;
|
|
83
|
-
chainId: ZodOptional<ZodNumber>;
|
|
84
|
-
}, $strict>>;
|
|
85
|
-
namespace: ZodOptional<ZodString>;
|
|
86
|
-
drives: ZodOptional<TokenableSchema<ZodArray<ZodObject<{
|
|
87
|
-
slug: ZodString;
|
|
88
|
-
id: ZodOptional<ZodString>;
|
|
89
|
-
projectHash: ZodOptional<ZodUnion<readonly [ZodBoolean, ZodLiteral<"id">]>>;
|
|
90
|
-
name: ZodOptional<ZodString>;
|
|
91
|
-
icon: ZodOptional<ZodString>;
|
|
92
|
-
preferredEditor: ZodOptional<ZodString>;
|
|
93
|
-
sharingType: ZodOptional<ZodEnum<{
|
|
94
|
-
private: "private";
|
|
95
|
-
public: "public";
|
|
96
|
-
shared: "shared";
|
|
97
|
-
}>>;
|
|
98
|
-
availableOffline: ZodOptional<ZodBoolean>;
|
|
99
|
-
remote: ZodOptional<ZodObject<{
|
|
100
|
-
url: TokenableSchema<ZodString>;
|
|
101
|
-
}, $strict>>;
|
|
102
|
-
}, $strict>>>>;
|
|
103
|
-
}, $strict>>;
|
|
104
|
-
runner: ZodObject<{
|
|
105
|
-
module: ZodString;
|
|
106
|
-
defaultVerb: ZodOptional<ZodString>;
|
|
107
|
-
port: ZodOptional<ZodNumber>;
|
|
108
|
-
host: ZodOptional<ZodString>;
|
|
109
|
-
plugins: ZodOptional<ZodArray<ZodUnion<readonly [ZodString, ZodObject<{
|
|
110
|
-
module: ZodString;
|
|
111
|
-
enabled: ZodOptional<ZodBoolean>;
|
|
112
|
-
verbs: ZodOptional<ZodUnion<readonly [ZodLiteral<"*">, ZodArray<ZodString>]>>;
|
|
113
|
-
config: ZodOptional<ZodRecord<ZodString, ZodUnknown>>;
|
|
114
|
-
}, $strict>]>>>;
|
|
115
|
-
openBrowser: ZodOptional<ZodBoolean>;
|
|
116
|
-
strictPort: ZodOptional<ZodBoolean>;
|
|
117
|
-
outDir: ZodOptional<ZodString>;
|
|
118
|
-
cspRegistrySync: ZodOptional<ZodBoolean>;
|
|
119
|
-
routes: ZodOptional<ZodUnion<readonly [ZodString, ZodLiteral<false>]>>;
|
|
120
|
-
proxy: ZodOptional<ZodObject<{
|
|
121
|
-
target: TokenableSchema<ZodURL>;
|
|
122
|
-
}, $strict>>;
|
|
123
|
-
}, $strict>;
|
|
124
|
-
config: ZodOptional<ZodObject<{
|
|
125
|
-
branding: ZodOptional<ZodObject<{
|
|
126
|
-
appName: ZodOptional<ZodNullable<ZodString>>;
|
|
127
|
-
icon: ZodOptional<ZodNullable<ZodString>>;
|
|
128
|
-
favicon: ZodOptional<ZodNullable<ZodString>>;
|
|
129
|
-
loader: ZodOptional<ZodNullable<ZodUnion<readonly [ZodString, ZodObject<{
|
|
130
|
-
src: ZodString;
|
|
131
|
-
animation: ZodOptional<ZodNullable<ZodEnum<{
|
|
132
|
-
none: "none";
|
|
133
|
-
pulse: "pulse";
|
|
134
|
-
spin: "spin";
|
|
135
|
-
}>>>;
|
|
136
|
-
size: ZodOptional<ZodNullable<ZodNumber>>;
|
|
137
|
-
}, $strict>]>>>;
|
|
138
|
-
}, $strict>>;
|
|
139
|
-
home: ZodOptional<ZodObject<{
|
|
140
|
-
background: ZodOptional<ZodNullable<ZodUnion<readonly [ZodString, ZodObject<{
|
|
141
|
-
color: ZodOptional<ZodNullable<ZodUnion<readonly [ZodString, ZodObject<{
|
|
142
|
-
light: ZodString;
|
|
143
|
-
dark: ZodOptional<ZodNullable<ZodString>>;
|
|
144
|
-
}, $strict>]>>>;
|
|
145
|
-
layers: ZodArray<ZodObject<{
|
|
146
|
-
src: ZodUnion<readonly [ZodString, ZodObject<{
|
|
147
|
-
light: ZodString;
|
|
148
|
-
dark: ZodOptional<ZodNullable<ZodString>>;
|
|
149
|
-
}, $strict>]>;
|
|
150
|
-
position: ZodOptional<ZodNullable<ZodObject<{
|
|
151
|
-
top: ZodOptional<ZodNullable<ZodUnion<readonly [ZodNumber, ZodString]>>>;
|
|
152
|
-
right: ZodOptional<ZodNullable<ZodUnion<readonly [ZodNumber, ZodString]>>>;
|
|
153
|
-
bottom: ZodOptional<ZodNullable<ZodUnion<readonly [ZodNumber, ZodString]>>>;
|
|
154
|
-
left: ZodOptional<ZodNullable<ZodUnion<readonly [ZodNumber, ZodString]>>>;
|
|
155
|
-
}, $strict>>>;
|
|
156
|
-
width: ZodOptional<ZodNullable<ZodUnion<readonly [ZodNumber, ZodString]>>>;
|
|
157
|
-
height: ZodOptional<ZodNullable<ZodUnion<readonly [ZodNumber, ZodString]>>>;
|
|
158
|
-
minWidth: ZodOptional<ZodNullable<ZodUnion<readonly [ZodNumber, ZodString]>>>;
|
|
159
|
-
minHeight: ZodOptional<ZodNullable<ZodUnion<readonly [ZodNumber, ZodString]>>>;
|
|
160
|
-
maxWidth: ZodOptional<ZodNullable<ZodUnion<readonly [ZodNumber, ZodString]>>>;
|
|
161
|
-
maxHeight: ZodOptional<ZodNullable<ZodUnion<readonly [ZodNumber, ZodString]>>>;
|
|
162
|
-
opacity: ZodOptional<ZodNullable<ZodNumber>>;
|
|
163
|
-
fade: ZodOptional<ZodNullable<ZodObject<{
|
|
164
|
-
top: ZodOptional<ZodNullable<ZodUnion<readonly [ZodNumber, ZodString]>>>;
|
|
165
|
-
right: ZodOptional<ZodNullable<ZodUnion<readonly [ZodNumber, ZodString]>>>;
|
|
166
|
-
bottom: ZodOptional<ZodNullable<ZodUnion<readonly [ZodNumber, ZodString]>>>;
|
|
167
|
-
left: ZodOptional<ZodNullable<ZodUnion<readonly [ZodNumber, ZodString]>>>;
|
|
168
|
-
}, $strict>>>;
|
|
169
|
-
}, $strict>>;
|
|
170
|
-
}, $strict>]>>>;
|
|
171
|
-
}, $strict>>;
|
|
172
|
-
app: ZodOptional<ZodObject<{
|
|
173
|
-
logLevel: ZodOptional<ZodEnum<{
|
|
174
|
-
debug: "debug";
|
|
175
|
-
error: "error";
|
|
176
|
-
info: "info";
|
|
177
|
-
warn: "warn";
|
|
178
|
-
}>>;
|
|
179
|
-
basePath: ZodOptional<ZodString>;
|
|
180
|
-
offline: ZodOptional<ZodBoolean>;
|
|
181
|
-
studioMode: ZodOptional<ZodBoolean>;
|
|
182
|
-
cookieBanner: ZodOptional<ZodBoolean>;
|
|
183
|
-
workflowsEnabled: ZodOptional<ZodBoolean>;
|
|
184
|
-
}, $strict>>;
|
|
185
|
-
ai: ZodOptional<ZodObject<{
|
|
186
|
-
assistantEnabled: ZodOptional<ZodBoolean>;
|
|
187
|
-
}, $strict>>;
|
|
188
|
-
packages: ZodOptional<ZodObject<{
|
|
189
|
-
externalEnabled: ZodOptional<ZodBoolean>;
|
|
190
|
-
liveReload: ZodOptional<ZodBoolean>;
|
|
191
|
-
}, $strict>>;
|
|
192
|
-
sentry: ZodOptional<ZodObject<{
|
|
193
|
-
dsn: ZodOptional<ZodNullable<ZodString>>;
|
|
194
|
-
env: ZodOptional<ZodString>;
|
|
195
|
-
tracing: ZodOptional<ZodBoolean>;
|
|
196
|
-
}, $strict>>;
|
|
197
|
-
openPanel: ZodOptional<ZodObject<{
|
|
198
|
-
clientId: ZodOptional<ZodString>;
|
|
199
|
-
apiUrl: ZodOptional<ZodString>;
|
|
200
|
-
trackUiEvents: ZodOptional<ZodBoolean>;
|
|
201
|
-
trackOperations: ZodOptional<ZodBoolean>;
|
|
202
|
-
}, $strict>>;
|
|
203
|
-
instance: ZodOptional<ZodObject<{
|
|
204
|
-
namespace: ZodNullable<ZodString>;
|
|
205
|
-
reactorWorker: ZodBoolean;
|
|
206
|
-
multiReactor: ZodOptional<ZodBoolean>;
|
|
207
|
-
}, $strict>>;
|
|
208
|
-
reactor: ZodOptional<ZodObject<{
|
|
209
|
-
featureFlags: ZodOptional<ZodObject<{
|
|
210
|
-
documentDecisions: ZodOptional<ZodBoolean>;
|
|
211
|
-
authEnforcement: ZodOptional<ZodBoolean>;
|
|
212
|
-
authGroups: ZodOptional<ZodBoolean>;
|
|
213
|
-
authConditions: ZodOptional<ZodBoolean>;
|
|
214
|
-
}, $strict>>;
|
|
215
|
-
createSignaturePolicy: ZodOptional<ZodEnum<{
|
|
216
|
-
legacy: "legacy";
|
|
217
|
-
"v2-required": "v2-required";
|
|
218
|
-
}>>;
|
|
219
|
-
unsupportedStoredDocuments: ZodOptional<ZodEnum<{
|
|
220
|
-
"read-only": "read-only";
|
|
221
|
-
refuse: "refuse";
|
|
222
|
-
}>>;
|
|
223
|
-
}, $strict>>;
|
|
224
|
-
pwa: ZodOptional<ZodObject<{
|
|
225
|
-
globPatterns: ZodOptional<ZodArray<ZodString>>;
|
|
226
|
-
globIgnores: ZodOptional<ZodArray<ZodString>>;
|
|
227
|
-
maximumFileSizeToCacheInBytes: ZodOptional<ZodNumber>;
|
|
228
|
-
runtimeCaching: ZodOptional<ZodArray<ZodObject<{
|
|
229
|
-
urlPattern: ZodUnion<readonly [ZodString, ZodObject<{
|
|
230
|
-
source: ZodString;
|
|
231
|
-
flags: ZodOptional<ZodString>;
|
|
232
|
-
}, $strict>]>;
|
|
233
|
-
handler: ZodEnum<{
|
|
234
|
-
CacheFirst: "CacheFirst";
|
|
235
|
-
CacheOnly: "CacheOnly";
|
|
236
|
-
NetworkFirst: "NetworkFirst";
|
|
237
|
-
NetworkOnly: "NetworkOnly";
|
|
238
|
-
StaleWhileRevalidate: "StaleWhileRevalidate";
|
|
239
|
-
}>;
|
|
240
|
-
method: ZodOptional<ZodEnum<{
|
|
241
|
-
DELETE: "DELETE";
|
|
242
|
-
GET: "GET";
|
|
243
|
-
HEAD: "HEAD";
|
|
244
|
-
PATCH: "PATCH";
|
|
245
|
-
POST: "POST";
|
|
246
|
-
PUT: "PUT";
|
|
247
|
-
}>>;
|
|
248
|
-
options: ZodOptional<ZodObject<{
|
|
249
|
-
cacheName: ZodOptional<ZodString>;
|
|
250
|
-
networkTimeoutSeconds: ZodOptional<ZodNumber>;
|
|
251
|
-
expiration: ZodOptional<ZodObject<{
|
|
252
|
-
maxEntries: ZodOptional<ZodNumber>;
|
|
253
|
-
maxAgeSeconds: ZodOptional<ZodNumber>;
|
|
254
|
-
}, $strict>>;
|
|
255
|
-
cacheableResponse: ZodOptional<ZodObject<{
|
|
256
|
-
statuses: ZodOptional<ZodArray<ZodNumber>>;
|
|
257
|
-
headers: ZodOptional<ZodRecord<ZodString, ZodString>>;
|
|
258
|
-
}, $strict>>;
|
|
259
|
-
}, $strict>>;
|
|
260
|
-
}, $strict>>>;
|
|
261
|
-
navigateFallbackDenylist: ZodOptional<ZodArray<ZodUnion<readonly [ZodString, ZodObject<{
|
|
262
|
-
source: ZodString;
|
|
263
|
-
flags: ZodOptional<ZodString>;
|
|
264
|
-
}, $strict>]>>>;
|
|
265
|
-
manifest: ZodOptional<ZodObject<{
|
|
266
|
-
name: ZodOptional<ZodString>;
|
|
267
|
-
short_name: ZodOptional<ZodString>;
|
|
268
|
-
description: ZodOptional<ZodString>;
|
|
269
|
-
theme_color: ZodOptional<ZodString>;
|
|
270
|
-
background_color: ZodOptional<ZodString>;
|
|
271
|
-
display: ZodOptional<ZodEnum<{
|
|
272
|
-
browser: "browser";
|
|
273
|
-
fullscreen: "fullscreen";
|
|
274
|
-
"minimal-ui": "minimal-ui";
|
|
275
|
-
standalone: "standalone";
|
|
276
|
-
}>>;
|
|
277
|
-
start_url: ZodOptional<ZodString>;
|
|
278
|
-
scope: ZodOptional<ZodString>;
|
|
279
|
-
icons: ZodOptional<ZodArray<ZodObject<{
|
|
280
|
-
src: ZodString;
|
|
281
|
-
sizes: ZodOptional<ZodString>;
|
|
282
|
-
type: ZodOptional<ZodString>;
|
|
283
|
-
purpose: ZodOptional<ZodString>;
|
|
284
|
-
}, $strict>>>;
|
|
285
|
-
file_handlers: ZodOptional<ZodArray<ZodObject<{
|
|
286
|
-
accept: ZodRecord<ZodString, ZodArray<ZodString>>;
|
|
287
|
-
icons: ZodOptional<ZodArray<ZodObject<{
|
|
288
|
-
src: ZodString;
|
|
289
|
-
sizes: ZodOptional<ZodString>;
|
|
290
|
-
type: ZodOptional<ZodString>;
|
|
291
|
-
purpose: ZodOptional<ZodString>;
|
|
292
|
-
}, $strict>>>;
|
|
293
|
-
launch_type: ZodOptional<ZodEnum<{
|
|
294
|
-
"multiple-clients": "multiple-clients";
|
|
295
|
-
"single-client": "single-client";
|
|
296
|
-
}>>;
|
|
297
|
-
}, $strict>>>;
|
|
298
|
-
launch_handler: ZodOptional<ZodObject<{
|
|
299
|
-
client_mode: ZodEnum<{
|
|
300
|
-
auto: "auto";
|
|
301
|
-
"focus-existing": "focus-existing";
|
|
302
|
-
"navigate-existing": "navigate-existing";
|
|
303
|
-
"navigate-new": "navigate-new";
|
|
304
|
-
}>;
|
|
305
|
-
}, $strict>>;
|
|
306
|
-
}, $strict>>;
|
|
307
|
-
}, $strict>>;
|
|
308
|
-
drives: ZodOptional<ZodObject<{
|
|
309
|
-
allowAddDrive: ZodOptional<ZodBoolean>;
|
|
310
|
-
preserveStrategy: ZodOptional<ZodEnum<{
|
|
311
|
-
"preserve-all": "preserve-all";
|
|
312
|
-
"preserve-by-url-and-detach": "preserve-by-url-and-detach";
|
|
313
|
-
}>>;
|
|
314
|
-
sections: ZodOptional<ZodObject<{
|
|
315
|
-
remote: ZodOptional<ZodObject<{
|
|
316
|
-
enabled: ZodOptional<ZodBoolean>;
|
|
317
|
-
allowAdd: ZodOptional<ZodBoolean>;
|
|
318
|
-
allowDelete: ZodOptional<ZodBoolean>;
|
|
319
|
-
}, $strict>>;
|
|
320
|
-
local: ZodOptional<ZodObject<{
|
|
321
|
-
enabled: ZodOptional<ZodBoolean>;
|
|
322
|
-
allowAdd: ZodOptional<ZodBoolean>;
|
|
323
|
-
allowDelete: ZodOptional<ZodBoolean>;
|
|
324
|
-
}, $strict>>;
|
|
325
|
-
}, $strict>>;
|
|
326
|
-
icons: ZodOptional<ZodNullable<ZodObject<{
|
|
327
|
-
localDrive: ZodOptional<ZodNullable<ZodString>>;
|
|
328
|
-
remoteDrive: ZodOptional<ZodNullable<ZodString>>;
|
|
329
|
-
folder: ZodOptional<ZodNullable<ZodString>>;
|
|
330
|
-
document: ZodOptional<ZodNullable<ZodString>>;
|
|
331
|
-
documents: ZodOptional<ZodNullable<ZodRecord<ZodString, ZodString>>>;
|
|
332
|
-
}, $strict>>>;
|
|
333
|
-
defaultDrives: ZodOptional<ZodArray<ZodUnion<readonly [ZodObject<{
|
|
334
|
-
name: ZodOptional<ZodNullable<ZodString>>;
|
|
335
|
-
icon: ZodOptional<ZodNullable<ZodString>>;
|
|
336
|
-
url: TokenableSchema<ZodString, ConcatToken | EnvToken | ItemToken<string> | OutputToken<string> | ({
|
|
337
|
-
$key: true;
|
|
338
|
-
} | {
|
|
339
|
-
$key: string;
|
|
340
|
-
})>;
|
|
341
|
-
}, $strict>, ZodObject<{
|
|
342
|
-
local: ZodLiteral<true>;
|
|
343
|
-
id: ZodString;
|
|
344
|
-
name: ZodOptional<ZodNullable<ZodString>>;
|
|
345
|
-
icon: ZodOptional<ZodNullable<ZodString>>;
|
|
346
|
-
app: ZodOptional<ZodString>;
|
|
347
|
-
}, $strict>]>>>;
|
|
348
|
-
}, $strict>>;
|
|
349
|
-
renown: ZodOptional<ZodObject<{
|
|
350
|
-
url: ZodOptional<ZodString>;
|
|
351
|
-
networkId: ZodOptional<ZodString>;
|
|
352
|
-
chainId: ZodOptional<ZodNumber>;
|
|
353
|
-
namespace: ZodOptional<ZodString>;
|
|
354
|
-
adapters: ZodOptional<ZodObject<{
|
|
355
|
-
rainbow: ZodOptional<ZodObject<{
|
|
356
|
-
walletConnectProjectId: ZodOptional<ZodString>;
|
|
357
|
-
infuraProjectId: ZodOptional<ZodString>;
|
|
358
|
-
}, $strict>>;
|
|
359
|
-
privy: ZodOptional<ZodObject<{
|
|
360
|
-
appId: ZodOptional<ZodString>;
|
|
361
|
-
clientId: ZodOptional<ZodString>;
|
|
362
|
-
methods: ZodOptional<ZodArray<ZodString>>;
|
|
363
|
-
}, $strict>>;
|
|
364
|
-
}, $strict>>;
|
|
365
|
-
switchboardUrl: ZodOptional<TokenableSchema<ZodString, ConcatToken | EnvToken | ItemToken<string> | OutputToken<string> | ({
|
|
366
|
-
$key: true;
|
|
367
|
-
} | {
|
|
368
|
-
$key: string;
|
|
369
|
-
})>>;
|
|
370
|
-
}, $strict>>;
|
|
371
|
-
}, $strict>>;
|
|
372
|
-
}, $strict>;
|
|
373
|
-
export declare const hostSchema: ZodObject<{
|
|
374
|
-
name: ZodString;
|
|
375
|
-
profile: ZodOptional<ZodObject<{
|
|
376
|
-
appId: ZodOptional<ZodString>;
|
|
377
|
-
name: ZodOptional<ZodString>;
|
|
378
|
-
description: ZodOptional<ZodString>;
|
|
379
|
-
icon: ZodOptional<ZodString>;
|
|
380
|
-
}, $strict>>;
|
|
381
|
-
reactor: ZodOptional<ZodObject<{
|
|
382
|
-
backends: ZodOptional<ZodRecord<ZodString, ZodObject<{
|
|
383
|
-
kind: ZodEnum<{
|
|
384
|
-
"in-process": "in-process";
|
|
385
|
-
remote: "remote";
|
|
386
|
-
worker: "worker";
|
|
387
|
-
}>;
|
|
388
|
-
storage: ZodOptional<ZodObject<{
|
|
389
|
-
kind: ZodEnum<{
|
|
390
|
-
idb: "idb";
|
|
391
|
-
memory: "memory";
|
|
392
|
-
path: "path";
|
|
393
|
-
postgres: "postgres";
|
|
394
|
-
}>;
|
|
395
|
-
dataDir: ZodOptional<TokenableSchema<ZodString, EnvToken>>;
|
|
396
|
-
url: ZodOptional<ZodString>;
|
|
397
|
-
}, $strict>>;
|
|
398
|
-
readModel: ZodOptional<ZodObject<{
|
|
399
|
-
url: ZodOptional<ZodString>;
|
|
400
|
-
}, $strict>>;
|
|
401
|
-
packages: ZodOptional<ZodObject<{
|
|
402
|
-
cdnUrl: ZodOptional<ZodString>;
|
|
403
|
-
specs: ZodOptional<ZodArray<ZodString>>;
|
|
404
|
-
dynamic: ZodOptional<ZodBoolean>;
|
|
405
|
-
}, $strict>>;
|
|
406
|
-
remote: ZodOptional<ZodObject<{
|
|
407
|
-
url: TokenableSchema<ZodUnion<readonly [ZodURL, ZodString]>>;
|
|
408
|
-
requestTimeoutMs: ZodOptional<ZodNumber>;
|
|
409
|
-
breaker: ZodOptional<ZodUnion<readonly [ZodLiteral<false>, ZodObject<{
|
|
410
|
-
failures: ZodOptional<ZodNumber>;
|
|
411
|
-
openMs: ZodOptional<ZodNumber>;
|
|
412
|
-
}, $strict>]>>;
|
|
413
|
-
realtime: ZodOptional<ZodBoolean>;
|
|
414
|
-
}, $strict>>;
|
|
415
|
-
}, $strict>>>;
|
|
416
|
-
placement: ZodOptional<ZodObject<{
|
|
417
|
-
primary: ZodOptional<ZodString>;
|
|
418
|
-
drives: ZodOptional<ZodRecord<ZodString, ZodString>>;
|
|
419
|
-
newDrives: ZodOptional<ZodString>;
|
|
420
|
-
}, $strict>>;
|
|
421
|
-
router: ZodOptional<ZodObject<{
|
|
422
|
-
probeTimeoutMs: ZodOptional<ZodNumber>;
|
|
423
|
-
provisionalRouteMs: ZodOptional<ZodNumber>;
|
|
424
|
-
}, $strict>>;
|
|
425
|
-
protocol: ZodOptional<ZodObject<{
|
|
426
|
-
featureFlags: ZodOptional<ZodObject<{
|
|
427
|
-
documentDecisions: ZodOptional<ZodBoolean>;
|
|
428
|
-
authEnforcement: ZodOptional<ZodBoolean>;
|
|
429
|
-
authGroups: ZodOptional<ZodBoolean>;
|
|
430
|
-
authConditions: ZodOptional<ZodBoolean>;
|
|
431
|
-
}, $strict>>;
|
|
432
|
-
createSignaturePolicy: ZodOptional<ZodEnum<{
|
|
433
|
-
legacy: "legacy";
|
|
434
|
-
"v2-required": "v2-required";
|
|
435
|
-
}>>;
|
|
436
|
-
unsupportedStoredDocuments: ZodOptional<ZodEnum<{
|
|
437
|
-
"read-only": "read-only";
|
|
438
|
-
refuse: "refuse";
|
|
439
|
-
}>>;
|
|
440
|
-
}, $strict>>;
|
|
441
|
-
workflows: ZodOptional<ZodBoolean>;
|
|
442
|
-
renown: ZodOptional<ZodObject<{
|
|
443
|
-
url: ZodOptional<ZodString>;
|
|
444
|
-
networkId: ZodOptional<ZodString>;
|
|
445
|
-
chainId: ZodOptional<ZodNumber>;
|
|
446
|
-
}, $strict>>;
|
|
447
|
-
namespace: ZodOptional<ZodString>;
|
|
448
|
-
drives: ZodOptional<TokenableSchema<ZodArray<ZodObject<{
|
|
449
|
-
slug: ZodString;
|
|
450
|
-
id: ZodOptional<ZodString>;
|
|
451
|
-
projectHash: ZodOptional<ZodUnion<readonly [ZodBoolean, ZodLiteral<"id">]>>;
|
|
452
|
-
name: ZodOptional<ZodString>;
|
|
453
|
-
icon: ZodOptional<ZodString>;
|
|
454
|
-
preferredEditor: ZodOptional<ZodString>;
|
|
455
|
-
sharingType: ZodOptional<ZodEnum<{
|
|
456
|
-
private: "private";
|
|
457
|
-
public: "public";
|
|
458
|
-
shared: "shared";
|
|
459
|
-
}>>;
|
|
460
|
-
availableOffline: ZodOptional<ZodBoolean>;
|
|
461
|
-
remote: ZodOptional<ZodObject<{
|
|
462
|
-
url: TokenableSchema<ZodString>;
|
|
463
|
-
}, $strict>>;
|
|
464
|
-
}, $strict>>>>;
|
|
465
|
-
}, $strict>>;
|
|
466
|
-
runner: ZodObject<{
|
|
467
|
-
module: ZodString;
|
|
468
|
-
defaultVerb: ZodOptional<ZodString>;
|
|
469
|
-
port: ZodOptional<ZodNumber>;
|
|
470
|
-
host: ZodOptional<ZodString>;
|
|
471
|
-
plugins: ZodOptional<ZodArray<ZodUnion<readonly [ZodString, ZodObject<{
|
|
472
|
-
module: ZodString;
|
|
473
|
-
enabled: ZodOptional<ZodBoolean>;
|
|
474
|
-
verbs: ZodOptional<ZodUnion<readonly [ZodLiteral<"*">, ZodArray<ZodString>]>>;
|
|
475
|
-
config: ZodOptional<ZodRecord<ZodString, ZodUnknown>>;
|
|
476
|
-
}, $strict>]>>>;
|
|
477
|
-
openBrowser: ZodOptional<ZodBoolean>;
|
|
478
|
-
strictPort: ZodOptional<ZodBoolean>;
|
|
479
|
-
outDir: ZodOptional<ZodString>;
|
|
480
|
-
cspRegistrySync: ZodOptional<ZodBoolean>;
|
|
481
|
-
routes: ZodOptional<ZodUnion<readonly [ZodString, ZodLiteral<false>]>>;
|
|
482
|
-
proxy: ZodOptional<ZodObject<{
|
|
483
|
-
target: TokenableSchema<ZodURL>;
|
|
484
|
-
}, $strict>>;
|
|
485
|
-
}, $strict>;
|
|
486
|
-
config: ZodOptional<ZodObject<{
|
|
487
|
-
branding: ZodOptional<ZodObject<{
|
|
488
|
-
appName: ZodOptional<ZodNullable<ZodString>>;
|
|
489
|
-
icon: ZodOptional<ZodNullable<ZodString>>;
|
|
490
|
-
favicon: ZodOptional<ZodNullable<ZodString>>;
|
|
491
|
-
loader: ZodOptional<ZodNullable<ZodUnion<readonly [ZodString, ZodObject<{
|
|
492
|
-
src: ZodString;
|
|
493
|
-
animation: ZodOptional<ZodNullable<ZodEnum<{
|
|
494
|
-
none: "none";
|
|
495
|
-
pulse: "pulse";
|
|
496
|
-
spin: "spin";
|
|
497
|
-
}>>>;
|
|
498
|
-
size: ZodOptional<ZodNullable<ZodNumber>>;
|
|
499
|
-
}, $strict>]>>>;
|
|
500
|
-
}, $strict>>;
|
|
501
|
-
home: ZodOptional<ZodObject<{
|
|
502
|
-
background: ZodOptional<ZodNullable<ZodUnion<readonly [ZodString, ZodObject<{
|
|
503
|
-
color: ZodOptional<ZodNullable<ZodUnion<readonly [ZodString, ZodObject<{
|
|
504
|
-
light: ZodString;
|
|
505
|
-
dark: ZodOptional<ZodNullable<ZodString>>;
|
|
506
|
-
}, $strict>]>>>;
|
|
507
|
-
layers: ZodArray<ZodObject<{
|
|
508
|
-
src: ZodUnion<readonly [ZodString, ZodObject<{
|
|
509
|
-
light: ZodString;
|
|
510
|
-
dark: ZodOptional<ZodNullable<ZodString>>;
|
|
511
|
-
}, $strict>]>;
|
|
512
|
-
position: ZodOptional<ZodNullable<ZodObject<{
|
|
513
|
-
top: ZodOptional<ZodNullable<ZodUnion<readonly [ZodNumber, ZodString]>>>;
|
|
514
|
-
right: ZodOptional<ZodNullable<ZodUnion<readonly [ZodNumber, ZodString]>>>;
|
|
515
|
-
bottom: ZodOptional<ZodNullable<ZodUnion<readonly [ZodNumber, ZodString]>>>;
|
|
516
|
-
left: ZodOptional<ZodNullable<ZodUnion<readonly [ZodNumber, ZodString]>>>;
|
|
517
|
-
}, $strict>>>;
|
|
518
|
-
width: ZodOptional<ZodNullable<ZodUnion<readonly [ZodNumber, ZodString]>>>;
|
|
519
|
-
height: ZodOptional<ZodNullable<ZodUnion<readonly [ZodNumber, ZodString]>>>;
|
|
520
|
-
minWidth: ZodOptional<ZodNullable<ZodUnion<readonly [ZodNumber, ZodString]>>>;
|
|
521
|
-
minHeight: ZodOptional<ZodNullable<ZodUnion<readonly [ZodNumber, ZodString]>>>;
|
|
522
|
-
maxWidth: ZodOptional<ZodNullable<ZodUnion<readonly [ZodNumber, ZodString]>>>;
|
|
523
|
-
maxHeight: ZodOptional<ZodNullable<ZodUnion<readonly [ZodNumber, ZodString]>>>;
|
|
524
|
-
opacity: ZodOptional<ZodNullable<ZodNumber>>;
|
|
525
|
-
fade: ZodOptional<ZodNullable<ZodObject<{
|
|
526
|
-
top: ZodOptional<ZodNullable<ZodUnion<readonly [ZodNumber, ZodString]>>>;
|
|
527
|
-
right: ZodOptional<ZodNullable<ZodUnion<readonly [ZodNumber, ZodString]>>>;
|
|
528
|
-
bottom: ZodOptional<ZodNullable<ZodUnion<readonly [ZodNumber, ZodString]>>>;
|
|
529
|
-
left: ZodOptional<ZodNullable<ZodUnion<readonly [ZodNumber, ZodString]>>>;
|
|
530
|
-
}, $strict>>>;
|
|
531
|
-
}, $strict>>;
|
|
532
|
-
}, $strict>]>>>;
|
|
533
|
-
}, $strict>>;
|
|
534
|
-
app: ZodOptional<ZodObject<{
|
|
535
|
-
logLevel: ZodOptional<ZodEnum<{
|
|
536
|
-
debug: "debug";
|
|
537
|
-
error: "error";
|
|
538
|
-
info: "info";
|
|
539
|
-
warn: "warn";
|
|
540
|
-
}>>;
|
|
541
|
-
basePath: ZodOptional<ZodString>;
|
|
542
|
-
offline: ZodOptional<ZodBoolean>;
|
|
543
|
-
studioMode: ZodOptional<ZodBoolean>;
|
|
544
|
-
cookieBanner: ZodOptional<ZodBoolean>;
|
|
545
|
-
workflowsEnabled: ZodOptional<ZodBoolean>;
|
|
546
|
-
}, $strict>>;
|
|
547
|
-
ai: ZodOptional<ZodObject<{
|
|
548
|
-
assistantEnabled: ZodOptional<ZodBoolean>;
|
|
549
|
-
}, $strict>>;
|
|
550
|
-
packages: ZodOptional<ZodObject<{
|
|
551
|
-
externalEnabled: ZodOptional<ZodBoolean>;
|
|
552
|
-
liveReload: ZodOptional<ZodBoolean>;
|
|
553
|
-
}, $strict>>;
|
|
554
|
-
sentry: ZodOptional<ZodObject<{
|
|
555
|
-
dsn: ZodOptional<ZodNullable<ZodString>>;
|
|
556
|
-
env: ZodOptional<ZodString>;
|
|
557
|
-
tracing: ZodOptional<ZodBoolean>;
|
|
558
|
-
}, $strict>>;
|
|
559
|
-
openPanel: ZodOptional<ZodObject<{
|
|
560
|
-
clientId: ZodOptional<ZodString>;
|
|
561
|
-
apiUrl: ZodOptional<ZodString>;
|
|
562
|
-
trackUiEvents: ZodOptional<ZodBoolean>;
|
|
563
|
-
trackOperations: ZodOptional<ZodBoolean>;
|
|
564
|
-
}, $strict>>;
|
|
565
|
-
instance: ZodOptional<ZodObject<{
|
|
566
|
-
namespace: ZodNullable<ZodString>;
|
|
567
|
-
reactorWorker: ZodBoolean;
|
|
568
|
-
multiReactor: ZodOptional<ZodBoolean>;
|
|
569
|
-
}, $strict>>;
|
|
570
|
-
reactor: ZodOptional<ZodObject<{
|
|
571
|
-
featureFlags: ZodOptional<ZodObject<{
|
|
572
|
-
documentDecisions: ZodOptional<ZodBoolean>;
|
|
573
|
-
authEnforcement: ZodOptional<ZodBoolean>;
|
|
574
|
-
authGroups: ZodOptional<ZodBoolean>;
|
|
575
|
-
authConditions: ZodOptional<ZodBoolean>;
|
|
576
|
-
}, $strict>>;
|
|
577
|
-
createSignaturePolicy: ZodOptional<ZodEnum<{
|
|
578
|
-
legacy: "legacy";
|
|
579
|
-
"v2-required": "v2-required";
|
|
580
|
-
}>>;
|
|
581
|
-
unsupportedStoredDocuments: ZodOptional<ZodEnum<{
|
|
582
|
-
"read-only": "read-only";
|
|
583
|
-
refuse: "refuse";
|
|
584
|
-
}>>;
|
|
585
|
-
}, $strict>>;
|
|
586
|
-
pwa: ZodOptional<ZodObject<{
|
|
587
|
-
globPatterns: ZodOptional<ZodArray<ZodString>>;
|
|
588
|
-
globIgnores: ZodOptional<ZodArray<ZodString>>;
|
|
589
|
-
maximumFileSizeToCacheInBytes: ZodOptional<ZodNumber>;
|
|
590
|
-
runtimeCaching: ZodOptional<ZodArray<ZodObject<{
|
|
591
|
-
urlPattern: ZodUnion<readonly [ZodString, ZodObject<{
|
|
592
|
-
source: ZodString;
|
|
593
|
-
flags: ZodOptional<ZodString>;
|
|
594
|
-
}, $strict>]>;
|
|
595
|
-
handler: ZodEnum<{
|
|
596
|
-
CacheFirst: "CacheFirst";
|
|
597
|
-
CacheOnly: "CacheOnly";
|
|
598
|
-
NetworkFirst: "NetworkFirst";
|
|
599
|
-
NetworkOnly: "NetworkOnly";
|
|
600
|
-
StaleWhileRevalidate: "StaleWhileRevalidate";
|
|
601
|
-
}>;
|
|
602
|
-
method: ZodOptional<ZodEnum<{
|
|
603
|
-
DELETE: "DELETE";
|
|
604
|
-
GET: "GET";
|
|
605
|
-
HEAD: "HEAD";
|
|
606
|
-
PATCH: "PATCH";
|
|
607
|
-
POST: "POST";
|
|
608
|
-
PUT: "PUT";
|
|
609
|
-
}>>;
|
|
610
|
-
options: ZodOptional<ZodObject<{
|
|
611
|
-
cacheName: ZodOptional<ZodString>;
|
|
612
|
-
networkTimeoutSeconds: ZodOptional<ZodNumber>;
|
|
613
|
-
expiration: ZodOptional<ZodObject<{
|
|
614
|
-
maxEntries: ZodOptional<ZodNumber>;
|
|
615
|
-
maxAgeSeconds: ZodOptional<ZodNumber>;
|
|
616
|
-
}, $strict>>;
|
|
617
|
-
cacheableResponse: ZodOptional<ZodObject<{
|
|
618
|
-
statuses: ZodOptional<ZodArray<ZodNumber>>;
|
|
619
|
-
headers: ZodOptional<ZodRecord<ZodString, ZodString>>;
|
|
620
|
-
}, $strict>>;
|
|
621
|
-
}, $strict>>;
|
|
622
|
-
}, $strict>>>;
|
|
623
|
-
navigateFallbackDenylist: ZodOptional<ZodArray<ZodUnion<readonly [ZodString, ZodObject<{
|
|
624
|
-
source: ZodString;
|
|
625
|
-
flags: ZodOptional<ZodString>;
|
|
626
|
-
}, $strict>]>>>;
|
|
627
|
-
manifest: ZodOptional<ZodObject<{
|
|
628
|
-
name: ZodOptional<ZodString>;
|
|
629
|
-
short_name: ZodOptional<ZodString>;
|
|
630
|
-
description: ZodOptional<ZodString>;
|
|
631
|
-
theme_color: ZodOptional<ZodString>;
|
|
632
|
-
background_color: ZodOptional<ZodString>;
|
|
633
|
-
display: ZodOptional<ZodEnum<{
|
|
634
|
-
browser: "browser";
|
|
635
|
-
fullscreen: "fullscreen";
|
|
636
|
-
"minimal-ui": "minimal-ui";
|
|
637
|
-
standalone: "standalone";
|
|
638
|
-
}>>;
|
|
639
|
-
start_url: ZodOptional<ZodString>;
|
|
640
|
-
scope: ZodOptional<ZodString>;
|
|
641
|
-
icons: ZodOptional<ZodArray<ZodObject<{
|
|
642
|
-
src: ZodString;
|
|
643
|
-
sizes: ZodOptional<ZodString>;
|
|
644
|
-
type: ZodOptional<ZodString>;
|
|
645
|
-
purpose: ZodOptional<ZodString>;
|
|
646
|
-
}, $strict>>>;
|
|
647
|
-
file_handlers: ZodOptional<ZodArray<ZodObject<{
|
|
648
|
-
accept: ZodRecord<ZodString, ZodArray<ZodString>>;
|
|
649
|
-
icons: ZodOptional<ZodArray<ZodObject<{
|
|
650
|
-
src: ZodString;
|
|
651
|
-
sizes: ZodOptional<ZodString>;
|
|
652
|
-
type: ZodOptional<ZodString>;
|
|
653
|
-
purpose: ZodOptional<ZodString>;
|
|
654
|
-
}, $strict>>>;
|
|
655
|
-
launch_type: ZodOptional<ZodEnum<{
|
|
656
|
-
"multiple-clients": "multiple-clients";
|
|
657
|
-
"single-client": "single-client";
|
|
658
|
-
}>>;
|
|
659
|
-
}, $strict>>>;
|
|
660
|
-
launch_handler: ZodOptional<ZodObject<{
|
|
661
|
-
client_mode: ZodEnum<{
|
|
662
|
-
auto: "auto";
|
|
663
|
-
"focus-existing": "focus-existing";
|
|
664
|
-
"navigate-existing": "navigate-existing";
|
|
665
|
-
"navigate-new": "navigate-new";
|
|
666
|
-
}>;
|
|
667
|
-
}, $strict>>;
|
|
668
|
-
}, $strict>>;
|
|
669
|
-
}, $strict>>;
|
|
670
|
-
drives: ZodOptional<ZodObject<{
|
|
671
|
-
allowAddDrive: ZodOptional<ZodBoolean>;
|
|
672
|
-
preserveStrategy: ZodOptional<ZodEnum<{
|
|
673
|
-
"preserve-all": "preserve-all";
|
|
674
|
-
"preserve-by-url-and-detach": "preserve-by-url-and-detach";
|
|
675
|
-
}>>;
|
|
676
|
-
sections: ZodOptional<ZodObject<{
|
|
677
|
-
remote: ZodOptional<ZodObject<{
|
|
678
|
-
enabled: ZodOptional<ZodBoolean>;
|
|
679
|
-
allowAdd: ZodOptional<ZodBoolean>;
|
|
680
|
-
allowDelete: ZodOptional<ZodBoolean>;
|
|
681
|
-
}, $strict>>;
|
|
682
|
-
local: ZodOptional<ZodObject<{
|
|
683
|
-
enabled: ZodOptional<ZodBoolean>;
|
|
684
|
-
allowAdd: ZodOptional<ZodBoolean>;
|
|
685
|
-
allowDelete: ZodOptional<ZodBoolean>;
|
|
686
|
-
}, $strict>>;
|
|
687
|
-
}, $strict>>;
|
|
688
|
-
icons: ZodOptional<ZodNullable<ZodObject<{
|
|
689
|
-
localDrive: ZodOptional<ZodNullable<ZodString>>;
|
|
690
|
-
remoteDrive: ZodOptional<ZodNullable<ZodString>>;
|
|
691
|
-
folder: ZodOptional<ZodNullable<ZodString>>;
|
|
692
|
-
document: ZodOptional<ZodNullable<ZodString>>;
|
|
693
|
-
documents: ZodOptional<ZodNullable<ZodRecord<ZodString, ZodString>>>;
|
|
694
|
-
}, $strict>>>;
|
|
695
|
-
defaultDrives: ZodOptional<ZodArray<ZodUnion<readonly [ZodObject<{
|
|
696
|
-
name: ZodOptional<ZodNullable<ZodString>>;
|
|
697
|
-
icon: ZodOptional<ZodNullable<ZodString>>;
|
|
698
|
-
url: TokenableSchema<ZodString, ConcatToken | EnvToken | ItemToken<string> | OutputToken<string> | ({
|
|
699
|
-
$key: true;
|
|
700
|
-
} | {
|
|
701
|
-
$key: string;
|
|
702
|
-
})>;
|
|
703
|
-
}, $strict>, ZodObject<{
|
|
704
|
-
local: ZodLiteral<true>;
|
|
705
|
-
id: ZodString;
|
|
706
|
-
name: ZodOptional<ZodNullable<ZodString>>;
|
|
707
|
-
icon: ZodOptional<ZodNullable<ZodString>>;
|
|
708
|
-
app: ZodOptional<ZodString>;
|
|
709
|
-
}, $strict>]>>>;
|
|
710
|
-
}, $strict>>;
|
|
711
|
-
renown: ZodOptional<ZodObject<{
|
|
712
|
-
url: ZodOptional<ZodString>;
|
|
713
|
-
networkId: ZodOptional<ZodString>;
|
|
714
|
-
chainId: ZodOptional<ZodNumber>;
|
|
715
|
-
namespace: ZodOptional<ZodString>;
|
|
716
|
-
adapters: ZodOptional<ZodObject<{
|
|
717
|
-
rainbow: ZodOptional<ZodObject<{
|
|
718
|
-
walletConnectProjectId: ZodOptional<ZodString>;
|
|
719
|
-
infuraProjectId: ZodOptional<ZodString>;
|
|
720
|
-
}, $strict>>;
|
|
721
|
-
privy: ZodOptional<ZodObject<{
|
|
722
|
-
appId: ZodOptional<ZodString>;
|
|
723
|
-
clientId: ZodOptional<ZodString>;
|
|
724
|
-
methods: ZodOptional<ZodArray<ZodString>>;
|
|
725
|
-
}, $strict>>;
|
|
726
|
-
}, $strict>>;
|
|
727
|
-
switchboardUrl: ZodOptional<TokenableSchema<ZodString, ConcatToken | EnvToken | ItemToken<string> | OutputToken<string> | ({
|
|
728
|
-
$key: true;
|
|
729
|
-
} | {
|
|
730
|
-
$key: string;
|
|
731
|
-
})>>;
|
|
732
|
-
}, $strict>>;
|
|
733
|
-
}, $strict>>;
|
|
734
|
-
}, $strict>;
|
|
735
|
-
/** What a connect host.js author writes. */
|
|
736
|
-
export type ConnectHost = input<typeof declaredHostSchema>;
|
|
737
|
-
/** What a verb receives (defaults applied). */
|
|
738
|
-
export type ConnectHostParsed = output<typeof hostSchema>;
|
|
739
|
-
/** What a started Connect (`dev`/`run`/`serve`) produces: the origin it
|
|
740
|
-
* actually listens on and the app URL (origin plus base path). */
|
|
741
|
-
export declare const outputsSchema: ZodObject<{
|
|
742
|
-
origin: ZodURL;
|
|
743
|
-
endpoints: ZodObject<{
|
|
744
|
-
connect: ZodURL;
|
|
745
|
-
}, $strict>;
|
|
746
|
-
}, $strict>;
|
|
747
|
-
export type ConnectOutputs = output$1<typeof outputsSchema>;
|
|
748
|
-
declare global {
|
|
749
|
-
interface PHHostRunners {
|
|
750
|
-
"@powerhousedao/ph-cli/runners/connect": {
|
|
751
|
-
host: ConnectHost;
|
|
752
|
-
outputs: ConnectOutputs;
|
|
753
|
-
};
|
|
754
|
-
}
|
|
755
|
-
}
|
|
756
|
-
export declare function withoutBuiltImages(config: PHConnectRuntimeConfig | undefined): {
|
|
757
|
-
branding?: {
|
|
758
|
-
appName?: string | null | undefined;
|
|
759
|
-
icon?: string | null | undefined;
|
|
760
|
-
favicon?: string | null | undefined;
|
|
761
|
-
loader?: string | {
|
|
762
|
-
src: string;
|
|
763
|
-
animation?: "none" | "pulse" | "spin" | null | undefined;
|
|
764
|
-
size?: number | null | undefined;
|
|
765
|
-
} | null | undefined;
|
|
766
|
-
} | undefined;
|
|
767
|
-
home?: {
|
|
768
|
-
background?: string | {
|
|
769
|
-
color?: string | {
|
|
770
|
-
light: string;
|
|
771
|
-
dark?: string | null | undefined;
|
|
772
|
-
} | null | undefined;
|
|
773
|
-
layers: {
|
|
774
|
-
src: string | {
|
|
775
|
-
light: string;
|
|
776
|
-
dark?: string | null | undefined;
|
|
777
|
-
};
|
|
778
|
-
position?: {
|
|
779
|
-
top?: string | number | null | undefined;
|
|
780
|
-
right?: string | number | null | undefined;
|
|
781
|
-
bottom?: string | number | null | undefined;
|
|
782
|
-
left?: string | number | null | undefined;
|
|
783
|
-
} | null | undefined;
|
|
784
|
-
width?: string | number | null | undefined;
|
|
785
|
-
height?: string | number | null | undefined;
|
|
786
|
-
minWidth?: string | number | null | undefined;
|
|
787
|
-
minHeight?: string | number | null | undefined;
|
|
788
|
-
maxWidth?: string | number | null | undefined;
|
|
789
|
-
maxHeight?: string | number | null | undefined;
|
|
790
|
-
opacity?: number | null | undefined;
|
|
791
|
-
fade?: {
|
|
792
|
-
top?: string | number | null | undefined;
|
|
793
|
-
right?: string | number | null | undefined;
|
|
794
|
-
bottom?: string | number | null | undefined;
|
|
795
|
-
left?: string | number | null | undefined;
|
|
796
|
-
} | null | undefined;
|
|
797
|
-
}[];
|
|
798
|
-
} | null | undefined;
|
|
799
|
-
} | undefined;
|
|
800
|
-
app?: {
|
|
801
|
-
logLevel?: "debug" | "error" | "info" | "warn" | undefined;
|
|
802
|
-
basePath?: string | undefined;
|
|
803
|
-
offline?: boolean | undefined;
|
|
804
|
-
studioMode?: boolean | undefined;
|
|
805
|
-
cookieBanner?: boolean | undefined;
|
|
806
|
-
workflowsEnabled?: boolean | undefined;
|
|
807
|
-
} | undefined;
|
|
808
|
-
ai?: {
|
|
809
|
-
assistantEnabled?: boolean | undefined;
|
|
810
|
-
} | undefined;
|
|
811
|
-
packages?: {
|
|
812
|
-
externalEnabled?: boolean | undefined;
|
|
813
|
-
liveReload?: boolean | undefined;
|
|
814
|
-
} | undefined;
|
|
815
|
-
renown?: {
|
|
816
|
-
url?: string | undefined;
|
|
817
|
-
networkId?: string | undefined;
|
|
818
|
-
chainId?: number | undefined;
|
|
819
|
-
namespace?: string | undefined;
|
|
820
|
-
switchboardUrl?: string | undefined;
|
|
821
|
-
adapters?: {
|
|
822
|
-
rainbow?: {
|
|
823
|
-
walletConnectProjectId?: string | undefined;
|
|
824
|
-
infuraProjectId?: string | undefined;
|
|
825
|
-
} | undefined;
|
|
826
|
-
privy?: {
|
|
827
|
-
appId?: string | undefined;
|
|
828
|
-
clientId?: string | undefined;
|
|
829
|
-
methods?: string[] | undefined;
|
|
830
|
-
} | undefined;
|
|
831
|
-
} | undefined;
|
|
832
|
-
} | undefined;
|
|
833
|
-
sentry?: {
|
|
834
|
-
dsn?: string | null | undefined;
|
|
835
|
-
env?: string | undefined;
|
|
836
|
-
tracing?: boolean | undefined;
|
|
837
|
-
} | undefined;
|
|
838
|
-
openPanel?: {
|
|
839
|
-
clientId?: string | undefined;
|
|
840
|
-
apiUrl?: string | undefined;
|
|
841
|
-
trackUiEvents?: boolean | undefined;
|
|
842
|
-
trackOperations?: boolean | undefined;
|
|
843
|
-
} | undefined;
|
|
844
|
-
reactor?: {
|
|
845
|
-
featureFlags?: {
|
|
846
|
-
documentDecisions?: boolean | undefined;
|
|
847
|
-
authEnforcement?: boolean | undefined;
|
|
848
|
-
authGroups?: boolean | undefined;
|
|
849
|
-
authConditions?: boolean | undefined;
|
|
850
|
-
} | undefined;
|
|
851
|
-
createSignaturePolicy?: "legacy" | "v2-required" | undefined;
|
|
852
|
-
unsupportedStoredDocuments?: "read-only" | "refuse" | undefined;
|
|
853
|
-
} | undefined;
|
|
854
|
-
composition?: {
|
|
855
|
-
module: string;
|
|
856
|
-
config?: Record<string, unknown> | undefined;
|
|
857
|
-
}[] | undefined;
|
|
858
|
-
drives?: {
|
|
859
|
-
allowAddDrive?: boolean | undefined;
|
|
860
|
-
preserveStrategy?: "preserve-all" | "preserve-by-url-and-detach" | undefined;
|
|
861
|
-
sections?: {
|
|
862
|
-
remote?: {
|
|
863
|
-
enabled?: boolean | undefined;
|
|
864
|
-
allowAdd?: boolean | undefined;
|
|
865
|
-
allowDelete?: boolean | undefined;
|
|
866
|
-
} | undefined;
|
|
867
|
-
local?: {
|
|
868
|
-
enabled?: boolean | undefined;
|
|
869
|
-
allowAdd?: boolean | undefined;
|
|
870
|
-
allowDelete?: boolean | undefined;
|
|
871
|
-
} | undefined;
|
|
872
|
-
} | undefined;
|
|
873
|
-
icons?: {
|
|
874
|
-
localDrive?: string | null | undefined;
|
|
875
|
-
remoteDrive?: string | null | undefined;
|
|
876
|
-
folder?: string | null | undefined;
|
|
877
|
-
document?: string | null | undefined;
|
|
878
|
-
documents?: Record<string, string> | null | undefined;
|
|
879
|
-
} | null | undefined;
|
|
880
|
-
defaultDrives?: ({
|
|
881
|
-
url: string;
|
|
882
|
-
name?: string | null | undefined;
|
|
883
|
-
icon?: string | null | undefined;
|
|
884
|
-
backend?: string | undefined;
|
|
885
|
-
sync?: boolean | undefined;
|
|
886
|
-
} | {
|
|
887
|
-
local: true;
|
|
888
|
-
id: string;
|
|
889
|
-
name?: string | null | undefined;
|
|
890
|
-
icon?: string | null | undefined;
|
|
891
|
-
app?: string | undefined;
|
|
892
|
-
})[] | undefined;
|
|
893
|
-
} | undefined;
|
|
894
|
-
instance?: {
|
|
895
|
-
namespace: string | null;
|
|
896
|
-
reactorWorker: boolean;
|
|
897
|
-
multiReactor?: boolean | undefined;
|
|
898
|
-
reactorClient?: "in-process" | "remote" | "router" | "worker" | undefined;
|
|
899
|
-
remoteBackends?: {
|
|
900
|
-
name: string;
|
|
901
|
-
url: string;
|
|
902
|
-
requestTimeoutMs?: number | undefined;
|
|
903
|
-
breaker?: false | {
|
|
904
|
-
failures?: number | undefined;
|
|
905
|
-
openMs?: number | undefined;
|
|
906
|
-
} | undefined;
|
|
907
|
-
realtime?: boolean | undefined;
|
|
908
|
-
}[] | undefined;
|
|
909
|
-
collections?: Record<string, {
|
|
910
|
-
backend: string;
|
|
911
|
-
sync?: boolean | undefined;
|
|
912
|
-
}> | undefined;
|
|
913
|
-
router?: {
|
|
914
|
-
newDrives?: string | undefined;
|
|
915
|
-
probeTimeoutMs?: number | undefined;
|
|
916
|
-
provisionalRouteMs?: number | undefined;
|
|
917
|
-
} | undefined;
|
|
918
|
-
} | undefined;
|
|
919
|
-
pwa?: {
|
|
920
|
-
globPatterns?: string[] | undefined;
|
|
921
|
-
globIgnores?: string[] | undefined;
|
|
922
|
-
maximumFileSizeToCacheInBytes?: number | undefined;
|
|
923
|
-
runtimeCaching?: {
|
|
924
|
-
urlPattern: string | {
|
|
925
|
-
source: string;
|
|
926
|
-
flags?: string | undefined;
|
|
927
|
-
};
|
|
928
|
-
handler: "CacheFirst" | "CacheOnly" | "NetworkFirst" | "NetworkOnly" | "StaleWhileRevalidate";
|
|
929
|
-
method?: "DELETE" | "GET" | "HEAD" | "PATCH" | "POST" | "PUT" | undefined;
|
|
930
|
-
options?: {
|
|
931
|
-
cacheName?: string | undefined;
|
|
932
|
-
networkTimeoutSeconds?: number | undefined;
|
|
933
|
-
expiration?: {
|
|
934
|
-
maxEntries?: number | undefined;
|
|
935
|
-
maxAgeSeconds?: number | undefined;
|
|
936
|
-
} | undefined;
|
|
937
|
-
cacheableResponse?: {
|
|
938
|
-
statuses?: number[] | undefined;
|
|
939
|
-
headers?: Record<string, string> | undefined;
|
|
940
|
-
} | undefined;
|
|
941
|
-
} | undefined;
|
|
942
|
-
}[] | undefined;
|
|
943
|
-
navigateFallbackDenylist?: (string | {
|
|
944
|
-
source: string;
|
|
945
|
-
flags?: string | undefined;
|
|
946
|
-
})[] | undefined;
|
|
947
|
-
manifest?: {
|
|
948
|
-
name?: string | undefined;
|
|
949
|
-
short_name?: string | undefined;
|
|
950
|
-
description?: string | undefined;
|
|
951
|
-
theme_color?: string | undefined;
|
|
952
|
-
background_color?: string | undefined;
|
|
953
|
-
display?: "browser" | "fullscreen" | "minimal-ui" | "standalone" | undefined;
|
|
954
|
-
start_url?: string | undefined;
|
|
955
|
-
scope?: string | undefined;
|
|
956
|
-
icons?: {
|
|
957
|
-
src: string;
|
|
958
|
-
sizes?: string | undefined;
|
|
959
|
-
type?: string | undefined;
|
|
960
|
-
purpose?: string | undefined;
|
|
961
|
-
}[] | undefined;
|
|
962
|
-
file_handlers?: {
|
|
963
|
-
accept: Record<string, string[]>;
|
|
964
|
-
icons?: {
|
|
965
|
-
src: string;
|
|
966
|
-
sizes?: string | undefined;
|
|
967
|
-
type?: string | undefined;
|
|
968
|
-
purpose?: string | undefined;
|
|
969
|
-
}[] | undefined;
|
|
970
|
-
launch_type?: "multiple-clients" | "single-client" | undefined;
|
|
971
|
-
}[] | undefined;
|
|
972
|
-
launch_handler?: {
|
|
973
|
-
client_mode: "auto" | "focus-existing" | "navigate-existing" | "navigate-new";
|
|
974
|
-
} | undefined;
|
|
975
|
-
categories?: string[] | undefined;
|
|
976
|
-
} | undefined;
|
|
977
|
-
} | undefined;
|
|
978
|
-
} | {
|
|
979
|
-
home?: {
|
|
980
|
-
background?: string | {
|
|
981
|
-
color?: string | {
|
|
982
|
-
light: string;
|
|
983
|
-
dark?: string | null | undefined;
|
|
984
|
-
} | null | undefined;
|
|
985
|
-
layers: {
|
|
986
|
-
src: string | {
|
|
987
|
-
light: string;
|
|
988
|
-
dark?: string | null | undefined;
|
|
989
|
-
};
|
|
990
|
-
position?: {
|
|
991
|
-
top?: string | number | null | undefined;
|
|
992
|
-
right?: string | number | null | undefined;
|
|
993
|
-
bottom?: string | number | null | undefined;
|
|
994
|
-
left?: string | number | null | undefined;
|
|
995
|
-
} | null | undefined;
|
|
996
|
-
width?: string | number | null | undefined;
|
|
997
|
-
height?: string | number | null | undefined;
|
|
998
|
-
minWidth?: string | number | null | undefined;
|
|
999
|
-
minHeight?: string | number | null | undefined;
|
|
1000
|
-
maxWidth?: string | number | null | undefined;
|
|
1001
|
-
maxHeight?: string | number | null | undefined;
|
|
1002
|
-
opacity?: number | null | undefined;
|
|
1003
|
-
fade?: {
|
|
1004
|
-
top?: string | number | null | undefined;
|
|
1005
|
-
right?: string | number | null | undefined;
|
|
1006
|
-
bottom?: string | number | null | undefined;
|
|
1007
|
-
left?: string | number | null | undefined;
|
|
1008
|
-
} | null | undefined;
|
|
1009
|
-
}[];
|
|
1010
|
-
} | null | undefined;
|
|
1011
|
-
} | undefined;
|
|
1012
|
-
app?: {
|
|
1013
|
-
logLevel?: "debug" | "error" | "info" | "warn" | undefined;
|
|
1014
|
-
basePath?: string | undefined;
|
|
1015
|
-
offline?: boolean | undefined;
|
|
1016
|
-
studioMode?: boolean | undefined;
|
|
1017
|
-
cookieBanner?: boolean | undefined;
|
|
1018
|
-
workflowsEnabled?: boolean | undefined;
|
|
1019
|
-
} | undefined;
|
|
1020
|
-
ai?: {
|
|
1021
|
-
assistantEnabled?: boolean | undefined;
|
|
1022
|
-
} | undefined;
|
|
1023
|
-
packages?: {
|
|
1024
|
-
externalEnabled?: boolean | undefined;
|
|
1025
|
-
liveReload?: boolean | undefined;
|
|
1026
|
-
} | undefined;
|
|
1027
|
-
renown?: {
|
|
1028
|
-
url?: string | undefined;
|
|
1029
|
-
networkId?: string | undefined;
|
|
1030
|
-
chainId?: number | undefined;
|
|
1031
|
-
namespace?: string | undefined;
|
|
1032
|
-
switchboardUrl?: string | undefined;
|
|
1033
|
-
adapters?: {
|
|
1034
|
-
rainbow?: {
|
|
1035
|
-
walletConnectProjectId?: string | undefined;
|
|
1036
|
-
infuraProjectId?: string | undefined;
|
|
1037
|
-
} | undefined;
|
|
1038
|
-
privy?: {
|
|
1039
|
-
appId?: string | undefined;
|
|
1040
|
-
clientId?: string | undefined;
|
|
1041
|
-
methods?: string[] | undefined;
|
|
1042
|
-
} | undefined;
|
|
1043
|
-
} | undefined;
|
|
1044
|
-
} | undefined;
|
|
1045
|
-
sentry?: {
|
|
1046
|
-
dsn?: string | null | undefined;
|
|
1047
|
-
env?: string | undefined;
|
|
1048
|
-
tracing?: boolean | undefined;
|
|
1049
|
-
} | undefined;
|
|
1050
|
-
openPanel?: {
|
|
1051
|
-
clientId?: string | undefined;
|
|
1052
|
-
apiUrl?: string | undefined;
|
|
1053
|
-
trackUiEvents?: boolean | undefined;
|
|
1054
|
-
trackOperations?: boolean | undefined;
|
|
1055
|
-
} | undefined;
|
|
1056
|
-
reactor?: {
|
|
1057
|
-
featureFlags?: {
|
|
1058
|
-
documentDecisions?: boolean | undefined;
|
|
1059
|
-
authEnforcement?: boolean | undefined;
|
|
1060
|
-
authGroups?: boolean | undefined;
|
|
1061
|
-
authConditions?: boolean | undefined;
|
|
1062
|
-
} | undefined;
|
|
1063
|
-
createSignaturePolicy?: "legacy" | "v2-required" | undefined;
|
|
1064
|
-
unsupportedStoredDocuments?: "read-only" | "refuse" | undefined;
|
|
1065
|
-
} | undefined;
|
|
1066
|
-
composition?: {
|
|
1067
|
-
module: string;
|
|
1068
|
-
config?: Record<string, unknown> | undefined;
|
|
1069
|
-
}[] | undefined;
|
|
1070
|
-
drives?: {
|
|
1071
|
-
allowAddDrive?: boolean | undefined;
|
|
1072
|
-
preserveStrategy?: "preserve-all" | "preserve-by-url-and-detach" | undefined;
|
|
1073
|
-
sections?: {
|
|
1074
|
-
remote?: {
|
|
1075
|
-
enabled?: boolean | undefined;
|
|
1076
|
-
allowAdd?: boolean | undefined;
|
|
1077
|
-
allowDelete?: boolean | undefined;
|
|
1078
|
-
} | undefined;
|
|
1079
|
-
local?: {
|
|
1080
|
-
enabled?: boolean | undefined;
|
|
1081
|
-
allowAdd?: boolean | undefined;
|
|
1082
|
-
allowDelete?: boolean | undefined;
|
|
1083
|
-
} | undefined;
|
|
1084
|
-
} | undefined;
|
|
1085
|
-
icons?: {
|
|
1086
|
-
localDrive?: string | null | undefined;
|
|
1087
|
-
remoteDrive?: string | null | undefined;
|
|
1088
|
-
folder?: string | null | undefined;
|
|
1089
|
-
document?: string | null | undefined;
|
|
1090
|
-
documents?: Record<string, string> | null | undefined;
|
|
1091
|
-
} | null | undefined;
|
|
1092
|
-
defaultDrives?: ({
|
|
1093
|
-
url: string;
|
|
1094
|
-
name?: string | null | undefined;
|
|
1095
|
-
icon?: string | null | undefined;
|
|
1096
|
-
backend?: string | undefined;
|
|
1097
|
-
sync?: boolean | undefined;
|
|
1098
|
-
} | {
|
|
1099
|
-
local: true;
|
|
1100
|
-
id: string;
|
|
1101
|
-
name?: string | null | undefined;
|
|
1102
|
-
icon?: string | null | undefined;
|
|
1103
|
-
app?: string | undefined;
|
|
1104
|
-
})[] | undefined;
|
|
1105
|
-
} | undefined;
|
|
1106
|
-
instance?: {
|
|
1107
|
-
namespace: string | null;
|
|
1108
|
-
reactorWorker: boolean;
|
|
1109
|
-
multiReactor?: boolean | undefined;
|
|
1110
|
-
reactorClient?: "in-process" | "remote" | "router" | "worker" | undefined;
|
|
1111
|
-
remoteBackends?: {
|
|
1112
|
-
name: string;
|
|
1113
|
-
url: string;
|
|
1114
|
-
requestTimeoutMs?: number | undefined;
|
|
1115
|
-
breaker?: false | {
|
|
1116
|
-
failures?: number | undefined;
|
|
1117
|
-
openMs?: number | undefined;
|
|
1118
|
-
} | undefined;
|
|
1119
|
-
realtime?: boolean | undefined;
|
|
1120
|
-
}[] | undefined;
|
|
1121
|
-
collections?: Record<string, {
|
|
1122
|
-
backend: string;
|
|
1123
|
-
sync?: boolean | undefined;
|
|
1124
|
-
}> | undefined;
|
|
1125
|
-
router?: {
|
|
1126
|
-
newDrives?: string | undefined;
|
|
1127
|
-
probeTimeoutMs?: number | undefined;
|
|
1128
|
-
provisionalRouteMs?: number | undefined;
|
|
1129
|
-
} | undefined;
|
|
1130
|
-
} | undefined;
|
|
1131
|
-
pwa?: {
|
|
1132
|
-
globPatterns?: string[] | undefined;
|
|
1133
|
-
globIgnores?: string[] | undefined;
|
|
1134
|
-
maximumFileSizeToCacheInBytes?: number | undefined;
|
|
1135
|
-
runtimeCaching?: {
|
|
1136
|
-
urlPattern: string | {
|
|
1137
|
-
source: string;
|
|
1138
|
-
flags?: string | undefined;
|
|
1139
|
-
};
|
|
1140
|
-
handler: "CacheFirst" | "CacheOnly" | "NetworkFirst" | "NetworkOnly" | "StaleWhileRevalidate";
|
|
1141
|
-
method?: "DELETE" | "GET" | "HEAD" | "PATCH" | "POST" | "PUT" | undefined;
|
|
1142
|
-
options?: {
|
|
1143
|
-
cacheName?: string | undefined;
|
|
1144
|
-
networkTimeoutSeconds?: number | undefined;
|
|
1145
|
-
expiration?: {
|
|
1146
|
-
maxEntries?: number | undefined;
|
|
1147
|
-
maxAgeSeconds?: number | undefined;
|
|
1148
|
-
} | undefined;
|
|
1149
|
-
cacheableResponse?: {
|
|
1150
|
-
statuses?: number[] | undefined;
|
|
1151
|
-
headers?: Record<string, string> | undefined;
|
|
1152
|
-
} | undefined;
|
|
1153
|
-
} | undefined;
|
|
1154
|
-
}[] | undefined;
|
|
1155
|
-
navigateFallbackDenylist?: (string | {
|
|
1156
|
-
source: string;
|
|
1157
|
-
flags?: string | undefined;
|
|
1158
|
-
})[] | undefined;
|
|
1159
|
-
manifest?: {
|
|
1160
|
-
name?: string | undefined;
|
|
1161
|
-
short_name?: string | undefined;
|
|
1162
|
-
description?: string | undefined;
|
|
1163
|
-
theme_color?: string | undefined;
|
|
1164
|
-
background_color?: string | undefined;
|
|
1165
|
-
display?: "browser" | "fullscreen" | "minimal-ui" | "standalone" | undefined;
|
|
1166
|
-
start_url?: string | undefined;
|
|
1167
|
-
scope?: string | undefined;
|
|
1168
|
-
icons?: {
|
|
1169
|
-
src: string;
|
|
1170
|
-
sizes?: string | undefined;
|
|
1171
|
-
type?: string | undefined;
|
|
1172
|
-
purpose?: string | undefined;
|
|
1173
|
-
}[] | undefined;
|
|
1174
|
-
file_handlers?: {
|
|
1175
|
-
accept: Record<string, string[]>;
|
|
1176
|
-
icons?: {
|
|
1177
|
-
src: string;
|
|
1178
|
-
sizes?: string | undefined;
|
|
1179
|
-
type?: string | undefined;
|
|
1180
|
-
purpose?: string | undefined;
|
|
1181
|
-
}[] | undefined;
|
|
1182
|
-
launch_type?: "multiple-clients" | "single-client" | undefined;
|
|
1183
|
-
}[] | undefined;
|
|
1184
|
-
launch_handler?: {
|
|
1185
|
-
client_mode: "auto" | "focus-existing" | "navigate-existing" | "navigate-new";
|
|
1186
|
-
} | undefined;
|
|
1187
|
-
categories?: string[] | undefined;
|
|
1188
|
-
} | undefined;
|
|
1189
|
-
} | undefined;
|
|
1190
|
-
branding: {
|
|
1191
|
-
appName?: string | null | undefined;
|
|
1192
|
-
icon?: string | null | undefined;
|
|
1193
|
-
loader?: string | {
|
|
1194
|
-
src: string;
|
|
1195
|
-
animation?: "none" | "pulse" | "spin" | null | undefined;
|
|
1196
|
-
size?: number | null | undefined;
|
|
1197
|
-
} | null | undefined;
|
|
1198
|
-
};
|
|
1199
|
-
} | undefined;
|
|
5
|
+
export declare const verbs: string[];
|
|
1200
6
|
export declare function dev(host: ConnectHostParsed, ctx: RunnerContext): Promise<RunnerHandle<ConnectOutputs>>;
|
|
1201
7
|
/** `run` is dev-studio until the plugin phases give hosts a production
|
|
1202
8
|
* runtime; `serve` (below) is the static production server. */
|
|
1203
9
|
export declare const run: typeof dev;
|
|
1204
10
|
/** P3.3 — `build`: the SAME service as classic `ph connect build`. */
|
|
1205
11
|
export declare function build(host: ConnectHostParsed, ctx: RunnerContext): Promise<void>;
|
|
1206
|
-
/**
|
|
1207
|
-
*
|
|
1208
|
-
* The host's connect config (including a supervising compound's projected
|
|
1209
|
-
* drives and the reactor projection) rides a serve override: the baked
|
|
1210
|
-
* powerhouse.config.json merges with it at request time, and
|
|
1211
|
-
* `runner.cspRegistrySync` (set by the compound's wiring) patches the baked
|
|
1212
|
-
* CSP's script-src for the runtime registry — together these replace the
|
|
1213
|
-
* ph-win-desktop sidecar's hand-rolled static server (desktop shape). */
|
|
12
|
+
/** Opening a browser is a developer's convenience, and vite's to give, which
|
|
13
|
+
* also takes over under PH_CONNECT_SERVER=vite. Anything else needs no vite. */
|
|
1214
14
|
export declare function serve(host: ConnectHostParsed, ctx: RunnerContext): Promise<RunnerHandle<ConnectOutputs>>;
|
|
1215
15
|
//#endregion
|
|
1216
16
|
export {};
|