@powerhousedao/builder-tools 6.0.0-dev.57 → 6.0.0-dev.59
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/connect-utils/helpers.js +1 -1
- package/dist/connect-utils/helpers.js.map +1 -1
- package/dist/connect-utils/index.d.ts +0 -1
- package/dist/connect-utils/index.d.ts.map +1 -1
- package/dist/connect-utils/index.js +0 -1
- package/dist/connect-utils/index.js.map +1 -1
- package/dist/connect-utils/types.d.ts +0 -1
- package/dist/connect-utils/types.d.ts.map +1 -1
- package/dist/connect-utils/vite-config.js +1 -1
- package/dist/connect-utils/vite-config.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +13 -34
- package/dist/browser.d.ts +0 -2
- package/dist/browser.d.ts.map +0 -1
- package/dist/browser.js +0 -2
- package/dist/browser.js.map +0 -1
- package/dist/connect-utils/env-config.d.ts +0 -844
- package/dist/connect-utils/env-config.d.ts.map +0 -1
- package/dist/connect-utils/env-config.js +0 -518
- package/dist/connect-utils/env-config.js.map +0 -1
|
@@ -1,844 +0,0 @@
|
|
|
1
|
-
import { z } from "zod/v3";
|
|
2
|
-
/**
|
|
3
|
-
* Build-time configuration schema
|
|
4
|
-
*/
|
|
5
|
-
declare const buildEnvSchema: z.ZodObject<{
|
|
6
|
-
/**
|
|
7
|
-
* Path to powerhouse config file
|
|
8
|
-
* @default "powerhouse.config.json"
|
|
9
|
-
*/
|
|
10
|
-
PH_CONFIG_PATH: z.ZodOptional<z.ZodString>;
|
|
11
|
-
/**
|
|
12
|
-
* Comma-separated list of package names to load
|
|
13
|
-
* @example "package1,package2"
|
|
14
|
-
*/
|
|
15
|
-
PH_PACKAGES: z.ZodOptional<z.ZodString>;
|
|
16
|
-
/**
|
|
17
|
-
* Path to local package to load during development
|
|
18
|
-
*/
|
|
19
|
-
PH_LOCAL_PACKAGE: z.ZodOptional<z.ZodString>;
|
|
20
|
-
/**
|
|
21
|
-
* Disable loading of local package
|
|
22
|
-
* @default false
|
|
23
|
-
*/
|
|
24
|
-
PH_DISABLE_LOCAL_PACKAGE: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["true", "false"]>]>, boolean, boolean | "true" | "false">>;
|
|
25
|
-
/**
|
|
26
|
-
* Amount of time to wait before a file is considered changed
|
|
27
|
-
* @default 300
|
|
28
|
-
*/
|
|
29
|
-
PH_WATCH_TIMEOUT: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>>;
|
|
30
|
-
/**
|
|
31
|
-
* Sentry authentication token for uploading source maps
|
|
32
|
-
*/
|
|
33
|
-
PH_SENTRY_AUTH_TOKEN: z.ZodOptional<z.ZodString>;
|
|
34
|
-
/**
|
|
35
|
-
* Sentry organization slug
|
|
36
|
-
*/
|
|
37
|
-
PH_SENTRY_ORG: z.ZodOptional<z.ZodString>;
|
|
38
|
-
/**
|
|
39
|
-
* Sentry project slug
|
|
40
|
-
*/
|
|
41
|
-
PH_SENTRY_PROJECT: z.ZodOptional<z.ZodString>;
|
|
42
|
-
}, "strip", z.ZodTypeAny, {
|
|
43
|
-
PH_DISABLE_LOCAL_PACKAGE: boolean;
|
|
44
|
-
PH_WATCH_TIMEOUT: number;
|
|
45
|
-
PH_CONFIG_PATH?: string | undefined;
|
|
46
|
-
PH_PACKAGES?: string | undefined;
|
|
47
|
-
PH_LOCAL_PACKAGE?: string | undefined;
|
|
48
|
-
PH_SENTRY_AUTH_TOKEN?: string | undefined;
|
|
49
|
-
PH_SENTRY_ORG?: string | undefined;
|
|
50
|
-
PH_SENTRY_PROJECT?: string | undefined;
|
|
51
|
-
}, {
|
|
52
|
-
PH_CONFIG_PATH?: string | undefined;
|
|
53
|
-
PH_PACKAGES?: string | undefined;
|
|
54
|
-
PH_LOCAL_PACKAGE?: string | undefined;
|
|
55
|
-
PH_DISABLE_LOCAL_PACKAGE?: boolean | "true" | "false" | undefined;
|
|
56
|
-
PH_WATCH_TIMEOUT?: string | number | undefined;
|
|
57
|
-
PH_SENTRY_AUTH_TOKEN?: string | undefined;
|
|
58
|
-
PH_SENTRY_ORG?: string | undefined;
|
|
59
|
-
PH_SENTRY_PROJECT?: string | undefined;
|
|
60
|
-
}>;
|
|
61
|
-
/**
|
|
62
|
-
* Complete runtime environment schema (all PH_CONNECT_* vars)
|
|
63
|
-
*/
|
|
64
|
-
export declare const runtimeEnvSchema: z.ZodObject<{
|
|
65
|
-
/**
|
|
66
|
-
* Application version number
|
|
67
|
-
* @default "unknown"
|
|
68
|
-
*/
|
|
69
|
-
PH_CONNECT_VERSION: z.ZodDefault<z.ZodString>;
|
|
70
|
-
/**
|
|
71
|
-
* Log level for the application
|
|
72
|
-
* @default "info"
|
|
73
|
-
*/
|
|
74
|
-
PH_CONNECT_LOG_LEVEL: z.ZodDefault<z.ZodEnum<["debug", "info", "warn", "error"]>>;
|
|
75
|
-
/**
|
|
76
|
-
* Whether app requires hard refresh on updates
|
|
77
|
-
* @default true
|
|
78
|
-
*/
|
|
79
|
-
PH_CONNECT_REQUIRES_HARD_REFRESH: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["true", "false"]>]>, boolean, boolean | "true" | "false">>;
|
|
80
|
-
/**
|
|
81
|
-
* Show warning when app version is outdated
|
|
82
|
-
* @default false
|
|
83
|
-
*/
|
|
84
|
-
PH_CONNECT_WARN_OUTDATED_APP: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["true", "false"]>]>, boolean, boolean | "true" | "false">>;
|
|
85
|
-
/**
|
|
86
|
-
* Enable studio mode features
|
|
87
|
-
* @default false
|
|
88
|
-
*/
|
|
89
|
-
PH_CONNECT_STUDIO_MODE: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["true", "false"]>]>, boolean, boolean | "true" | "false">>;
|
|
90
|
-
/**
|
|
91
|
-
* Base path for the Connect router, defaults to import.meta.env.BASE_URL
|
|
92
|
-
*/
|
|
93
|
-
PH_CONNECT_BASE_PATH: z.ZodOptional<z.ZodString>;
|
|
94
|
-
/**
|
|
95
|
-
* Default drives URL to load on startup
|
|
96
|
-
*/
|
|
97
|
-
PH_CONNECT_DEFAULT_DRIVES_URL: z.ZodOptional<z.ZodString>;
|
|
98
|
-
/**
|
|
99
|
-
* Strategy for preserving drives
|
|
100
|
-
*/
|
|
101
|
-
PH_CONNECT_DRIVES_PRESERVE_STRATEGY: z.ZodOptional<z.ZodString>;
|
|
102
|
-
/**
|
|
103
|
-
* Interval in milliseconds to check for version updates
|
|
104
|
-
* @default 3600000 (1 hour)
|
|
105
|
-
*/
|
|
106
|
-
PH_CONNECT_VERSION_CHECK_INTERVAL: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>>;
|
|
107
|
-
/**
|
|
108
|
-
* CLI version number
|
|
109
|
-
*/
|
|
110
|
-
PH_CONNECT_CLI_VERSION: z.ZodOptional<z.ZodString>;
|
|
111
|
-
/**
|
|
112
|
-
* Chunk size for file upload operations
|
|
113
|
-
* @default 50
|
|
114
|
-
*/
|
|
115
|
-
PH_CONNECT_FILE_UPLOAD_OPERATIONS_CHUNK_SIZE: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>>;
|
|
116
|
-
} & {
|
|
117
|
-
/**
|
|
118
|
-
* Hide the "Add Drive" button completely
|
|
119
|
-
* @default false
|
|
120
|
-
*/
|
|
121
|
-
PH_CONNECT_DISABLE_ADD_DRIVE: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["true", "false"]>]>, boolean, boolean | "true" | "false">>;
|
|
122
|
-
/**
|
|
123
|
-
* Show search bar in the UI
|
|
124
|
-
* @default false
|
|
125
|
-
*/
|
|
126
|
-
PH_CONNECT_SEARCH_BAR_ENABLED: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["true", "false"]>]>, boolean, boolean | "true" | "false">>;
|
|
127
|
-
/**
|
|
128
|
-
* Show inspector button in the sidebar
|
|
129
|
-
* @default false
|
|
130
|
-
*/
|
|
131
|
-
PH_CONNECT_INSPECTOR_ENABLED: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["true", "false"]>]>, boolean, boolean | "true" | "false">>;
|
|
132
|
-
/**
|
|
133
|
-
* Hide document model selection in settings
|
|
134
|
-
* @default true
|
|
135
|
-
*/
|
|
136
|
-
PH_CONNECT_HIDE_DOCUMENT_MODEL_SELECTION_SETTINGS: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["true", "false"]>]>, boolean, boolean | "true" | "false">>;
|
|
137
|
-
/**
|
|
138
|
-
* Comma-separated list of enabled editor types
|
|
139
|
-
* Use "*" to enable all editors
|
|
140
|
-
* @example "editor1,editor2" or "*"
|
|
141
|
-
*/
|
|
142
|
-
PH_CONNECT_ENABLED_EDITORS: z.ZodOptional<z.ZodString>;
|
|
143
|
-
/**
|
|
144
|
-
* Comma-separated list of disabled editor types
|
|
145
|
-
* @default "powerhouse/document-drive"
|
|
146
|
-
*/
|
|
147
|
-
PH_CONNECT_DISABLED_EDITORS: z.ZodDefault<z.ZodString>;
|
|
148
|
-
/**
|
|
149
|
-
* Google Analytics tracking ID
|
|
150
|
-
*/
|
|
151
|
-
PH_CONNECT_GA_TRACKING_ID: z.ZodOptional<z.ZodString>;
|
|
152
|
-
/**
|
|
153
|
-
* Disable loading of external packages
|
|
154
|
-
* @default false
|
|
155
|
-
*/
|
|
156
|
-
PH_CONNECT_EXTERNAL_PACKAGES_DISABLED: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["true", "false"]>]>, boolean, boolean | "true" | "false">>;
|
|
157
|
-
} & {
|
|
158
|
-
/**
|
|
159
|
-
* Enable public drives section
|
|
160
|
-
* @default true
|
|
161
|
-
*/
|
|
162
|
-
PH_CONNECT_PUBLIC_DRIVES_ENABLED: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["true", "false"]>]>, boolean, boolean | "true" | "false">>;
|
|
163
|
-
/**
|
|
164
|
-
* Allow adding public drives
|
|
165
|
-
* @default true
|
|
166
|
-
*/
|
|
167
|
-
PH_CONNECT_DISABLE_ADD_PUBLIC_DRIVES: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["true", "false"]>]>, boolean, boolean | "true" | "false">>;
|
|
168
|
-
/**
|
|
169
|
-
* Allow deleting public drives
|
|
170
|
-
* @default true
|
|
171
|
-
*/
|
|
172
|
-
PH_CONNECT_DISABLE_DELETE_PUBLIC_DRIVES: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["true", "false"]>]>, boolean, boolean | "true" | "false">>;
|
|
173
|
-
/**
|
|
174
|
-
* Enable cloud drives section
|
|
175
|
-
* @default true
|
|
176
|
-
*/
|
|
177
|
-
PH_CONNECT_CLOUD_DRIVES_ENABLED: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["true", "false"]>]>, boolean, boolean | "true" | "false">>;
|
|
178
|
-
/**
|
|
179
|
-
* Allow adding cloud drives
|
|
180
|
-
* @default true
|
|
181
|
-
*/
|
|
182
|
-
PH_CONNECT_DISABLE_ADD_CLOUD_DRIVES: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["true", "false"]>]>, boolean, boolean | "true" | "false">>;
|
|
183
|
-
/**
|
|
184
|
-
* Allow deleting cloud drives
|
|
185
|
-
* @default true
|
|
186
|
-
*/
|
|
187
|
-
PH_CONNECT_DISABLE_DELETE_CLOUD_DRIVES: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["true", "false"]>]>, boolean, boolean | "true" | "false">>;
|
|
188
|
-
/**
|
|
189
|
-
* Enable local drives section
|
|
190
|
-
* @default true
|
|
191
|
-
*/
|
|
192
|
-
PH_CONNECT_LOCAL_DRIVES_ENABLED: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["true", "false"]>]>, boolean, boolean | "true" | "false">>;
|
|
193
|
-
/**
|
|
194
|
-
* Allow adding local drives
|
|
195
|
-
* @default true
|
|
196
|
-
*/
|
|
197
|
-
PH_CONNECT_DISABLE_ADD_LOCAL_DRIVES: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["true", "false"]>]>, boolean, boolean | "true" | "false">>;
|
|
198
|
-
/**
|
|
199
|
-
* Allow deleting local drives
|
|
200
|
-
* @default true
|
|
201
|
-
*/
|
|
202
|
-
PH_CONNECT_DISABLE_DELETE_LOCAL_DRIVES: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["true", "false"]>]>, boolean, boolean | "true" | "false">>;
|
|
203
|
-
} & {
|
|
204
|
-
/**
|
|
205
|
-
* Enable processors
|
|
206
|
-
* @default true
|
|
207
|
-
*/
|
|
208
|
-
PH_CONNECT_PROCESSORS_ENABLED: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["true", "false"]>]>, boolean, boolean | "true" | "false">>;
|
|
209
|
-
/**
|
|
210
|
-
* Enable external processors
|
|
211
|
-
* @default true
|
|
212
|
-
*/
|
|
213
|
-
PH_CONNECT_EXTERNAL_PROCESSORS_ENABLED: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["true", "false"]>]>, boolean, boolean | "true" | "false">>;
|
|
214
|
-
} & {
|
|
215
|
-
/**
|
|
216
|
-
* Enable analytics
|
|
217
|
-
* @default true
|
|
218
|
-
*/
|
|
219
|
-
PH_CONNECT_ANALYTICS_ENABLED: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["true", "false"]>]>, boolean, boolean | "true" | "false">>;
|
|
220
|
-
/**
|
|
221
|
-
* Name of the analytics database
|
|
222
|
-
* Defaults to basename + ":analytics"
|
|
223
|
-
*/
|
|
224
|
-
PH_CONNECT_ANALYTICS_DATABASE_NAME: z.ZodOptional<z.ZodString>;
|
|
225
|
-
/**
|
|
226
|
-
* Disable analytics database worker
|
|
227
|
-
* @default false
|
|
228
|
-
*/
|
|
229
|
-
PH_CONNECT_ANALYTICS_DATABASE_WORKER_DISABLED: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["true", "false"]>]>, boolean, boolean | "true" | "false">>;
|
|
230
|
-
/**
|
|
231
|
-
* Enable diff analytics tracking
|
|
232
|
-
* @default false
|
|
233
|
-
*/
|
|
234
|
-
PH_CONNECT_DIFF_ANALYTICS_ENABLED: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["true", "false"]>]>, boolean, boolean | "true" | "false">>;
|
|
235
|
-
/**
|
|
236
|
-
* Enable drive analytics tracking
|
|
237
|
-
* @default true
|
|
238
|
-
*/
|
|
239
|
-
PH_CONNECT_DRIVE_ANALYTICS_ENABLED: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["true", "false"]>]>, boolean, boolean | "true" | "false">>;
|
|
240
|
-
/**
|
|
241
|
-
* Enable external analytics processors
|
|
242
|
-
* @default true
|
|
243
|
-
*/
|
|
244
|
-
PH_CONNECT_EXTERNAL_ANALYTICS_PROCESSORS_ENABLED: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["true", "false"]>]>, boolean, boolean | "true" | "false">>;
|
|
245
|
-
} & {
|
|
246
|
-
/**
|
|
247
|
-
* Enable relational processors
|
|
248
|
-
* @default true
|
|
249
|
-
*/
|
|
250
|
-
PH_CONNECT_RELATIONAL_PROCESSORS_ENABLED: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["true", "false"]>]>, boolean, boolean | "true" | "false">>;
|
|
251
|
-
/**
|
|
252
|
-
* Enable external relational processors
|
|
253
|
-
* @default true
|
|
254
|
-
*/
|
|
255
|
-
PH_CONNECT_EXTERNAL_RELATIONAL_PROCESSORS_ENABLED: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["true", "false"]>]>, boolean, boolean | "true" | "false">>;
|
|
256
|
-
} & {
|
|
257
|
-
/**
|
|
258
|
-
* Sentry release identifier
|
|
259
|
-
* Defaults to app version
|
|
260
|
-
*/
|
|
261
|
-
PH_CONNECT_SENTRY_RELEASE: z.ZodOptional<z.ZodString>;
|
|
262
|
-
/**
|
|
263
|
-
* Sentry DSN for error reporting
|
|
264
|
-
*/
|
|
265
|
-
PH_CONNECT_SENTRY_DSN: z.ZodOptional<z.ZodString>;
|
|
266
|
-
/**
|
|
267
|
-
* Sentry environment name
|
|
268
|
-
* @default "prod"
|
|
269
|
-
*/
|
|
270
|
-
PH_CONNECT_SENTRY_ENV: z.ZodDefault<z.ZodString>;
|
|
271
|
-
/**
|
|
272
|
-
* Enable Sentry performance tracing
|
|
273
|
-
* @default false
|
|
274
|
-
*/
|
|
275
|
-
PH_CONNECT_SENTRY_TRACING_ENABLED: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["true", "false"]>]>, boolean, boolean | "true" | "false">>;
|
|
276
|
-
} & {
|
|
277
|
-
/**
|
|
278
|
-
* Renown authentication service URL
|
|
279
|
-
* @default "https://www.renown.id"
|
|
280
|
-
*/
|
|
281
|
-
PH_CONNECT_RENOWN_URL: z.ZodDefault<z.ZodString>;
|
|
282
|
-
/**
|
|
283
|
-
* Renown network ID
|
|
284
|
-
* @default "eip155"
|
|
285
|
-
*/
|
|
286
|
-
PH_CONNECT_RENOWN_NETWORK_ID: z.ZodDefault<z.ZodString>;
|
|
287
|
-
/**
|
|
288
|
-
* Renown chain ID
|
|
289
|
-
* @default 1
|
|
290
|
-
*/
|
|
291
|
-
PH_CONNECT_RENOWN_CHAIN_ID: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>>;
|
|
292
|
-
}, "strip", z.ZodTypeAny, {
|
|
293
|
-
PH_CONNECT_VERSION: string;
|
|
294
|
-
PH_CONNECT_LOG_LEVEL: "debug" | "info" | "warn" | "error";
|
|
295
|
-
PH_CONNECT_REQUIRES_HARD_REFRESH: boolean;
|
|
296
|
-
PH_CONNECT_WARN_OUTDATED_APP: boolean;
|
|
297
|
-
PH_CONNECT_STUDIO_MODE: boolean;
|
|
298
|
-
PH_CONNECT_VERSION_CHECK_INTERVAL: number;
|
|
299
|
-
PH_CONNECT_FILE_UPLOAD_OPERATIONS_CHUNK_SIZE: number;
|
|
300
|
-
PH_CONNECT_DISABLE_ADD_DRIVE: boolean;
|
|
301
|
-
PH_CONNECT_SEARCH_BAR_ENABLED: boolean;
|
|
302
|
-
PH_CONNECT_INSPECTOR_ENABLED: boolean;
|
|
303
|
-
PH_CONNECT_HIDE_DOCUMENT_MODEL_SELECTION_SETTINGS: boolean;
|
|
304
|
-
PH_CONNECT_DISABLED_EDITORS: string;
|
|
305
|
-
PH_CONNECT_EXTERNAL_PACKAGES_DISABLED: boolean;
|
|
306
|
-
PH_CONNECT_PUBLIC_DRIVES_ENABLED: boolean;
|
|
307
|
-
PH_CONNECT_DISABLE_ADD_PUBLIC_DRIVES: boolean;
|
|
308
|
-
PH_CONNECT_DISABLE_DELETE_PUBLIC_DRIVES: boolean;
|
|
309
|
-
PH_CONNECT_CLOUD_DRIVES_ENABLED: boolean;
|
|
310
|
-
PH_CONNECT_DISABLE_ADD_CLOUD_DRIVES: boolean;
|
|
311
|
-
PH_CONNECT_DISABLE_DELETE_CLOUD_DRIVES: boolean;
|
|
312
|
-
PH_CONNECT_LOCAL_DRIVES_ENABLED: boolean;
|
|
313
|
-
PH_CONNECT_DISABLE_ADD_LOCAL_DRIVES: boolean;
|
|
314
|
-
PH_CONNECT_DISABLE_DELETE_LOCAL_DRIVES: boolean;
|
|
315
|
-
PH_CONNECT_ANALYTICS_ENABLED: boolean;
|
|
316
|
-
PH_CONNECT_ANALYTICS_DATABASE_WORKER_DISABLED: boolean;
|
|
317
|
-
PH_CONNECT_DIFF_ANALYTICS_ENABLED: boolean;
|
|
318
|
-
PH_CONNECT_DRIVE_ANALYTICS_ENABLED: boolean;
|
|
319
|
-
PH_CONNECT_EXTERNAL_ANALYTICS_PROCESSORS_ENABLED: boolean;
|
|
320
|
-
PH_CONNECT_RELATIONAL_PROCESSORS_ENABLED: boolean;
|
|
321
|
-
PH_CONNECT_EXTERNAL_RELATIONAL_PROCESSORS_ENABLED: boolean;
|
|
322
|
-
PH_CONNECT_PROCESSORS_ENABLED: boolean;
|
|
323
|
-
PH_CONNECT_EXTERNAL_PROCESSORS_ENABLED: boolean;
|
|
324
|
-
PH_CONNECT_SENTRY_ENV: string;
|
|
325
|
-
PH_CONNECT_SENTRY_TRACING_ENABLED: boolean;
|
|
326
|
-
PH_CONNECT_RENOWN_URL: string;
|
|
327
|
-
PH_CONNECT_RENOWN_NETWORK_ID: string;
|
|
328
|
-
PH_CONNECT_RENOWN_CHAIN_ID: number;
|
|
329
|
-
PH_CONNECT_BASE_PATH?: string | undefined;
|
|
330
|
-
PH_CONNECT_DEFAULT_DRIVES_URL?: string | undefined;
|
|
331
|
-
PH_CONNECT_DRIVES_PRESERVE_STRATEGY?: string | undefined;
|
|
332
|
-
PH_CONNECT_CLI_VERSION?: string | undefined;
|
|
333
|
-
PH_CONNECT_ENABLED_EDITORS?: string | undefined;
|
|
334
|
-
PH_CONNECT_GA_TRACKING_ID?: string | undefined;
|
|
335
|
-
PH_CONNECT_ANALYTICS_DATABASE_NAME?: string | undefined;
|
|
336
|
-
PH_CONNECT_SENTRY_RELEASE?: string | undefined;
|
|
337
|
-
PH_CONNECT_SENTRY_DSN?: string | undefined;
|
|
338
|
-
}, {
|
|
339
|
-
PH_CONNECT_VERSION?: string | undefined;
|
|
340
|
-
PH_CONNECT_LOG_LEVEL?: "debug" | "info" | "warn" | "error" | undefined;
|
|
341
|
-
PH_CONNECT_REQUIRES_HARD_REFRESH?: boolean | "true" | "false" | undefined;
|
|
342
|
-
PH_CONNECT_WARN_OUTDATED_APP?: boolean | "true" | "false" | undefined;
|
|
343
|
-
PH_CONNECT_STUDIO_MODE?: boolean | "true" | "false" | undefined;
|
|
344
|
-
PH_CONNECT_BASE_PATH?: string | undefined;
|
|
345
|
-
PH_CONNECT_DEFAULT_DRIVES_URL?: string | undefined;
|
|
346
|
-
PH_CONNECT_DRIVES_PRESERVE_STRATEGY?: string | undefined;
|
|
347
|
-
PH_CONNECT_VERSION_CHECK_INTERVAL?: string | number | undefined;
|
|
348
|
-
PH_CONNECT_CLI_VERSION?: string | undefined;
|
|
349
|
-
PH_CONNECT_FILE_UPLOAD_OPERATIONS_CHUNK_SIZE?: string | number | undefined;
|
|
350
|
-
PH_CONNECT_DISABLE_ADD_DRIVE?: boolean | "true" | "false" | undefined;
|
|
351
|
-
PH_CONNECT_SEARCH_BAR_ENABLED?: boolean | "true" | "false" | undefined;
|
|
352
|
-
PH_CONNECT_INSPECTOR_ENABLED?: boolean | "true" | "false" | undefined;
|
|
353
|
-
PH_CONNECT_HIDE_DOCUMENT_MODEL_SELECTION_SETTINGS?: boolean | "true" | "false" | undefined;
|
|
354
|
-
PH_CONNECT_ENABLED_EDITORS?: string | undefined;
|
|
355
|
-
PH_CONNECT_DISABLED_EDITORS?: string | undefined;
|
|
356
|
-
PH_CONNECT_GA_TRACKING_ID?: string | undefined;
|
|
357
|
-
PH_CONNECT_EXTERNAL_PACKAGES_DISABLED?: boolean | "true" | "false" | undefined;
|
|
358
|
-
PH_CONNECT_PUBLIC_DRIVES_ENABLED?: boolean | "true" | "false" | undefined;
|
|
359
|
-
PH_CONNECT_DISABLE_ADD_PUBLIC_DRIVES?: boolean | "true" | "false" | undefined;
|
|
360
|
-
PH_CONNECT_DISABLE_DELETE_PUBLIC_DRIVES?: boolean | "true" | "false" | undefined;
|
|
361
|
-
PH_CONNECT_CLOUD_DRIVES_ENABLED?: boolean | "true" | "false" | undefined;
|
|
362
|
-
PH_CONNECT_DISABLE_ADD_CLOUD_DRIVES?: boolean | "true" | "false" | undefined;
|
|
363
|
-
PH_CONNECT_DISABLE_DELETE_CLOUD_DRIVES?: boolean | "true" | "false" | undefined;
|
|
364
|
-
PH_CONNECT_LOCAL_DRIVES_ENABLED?: boolean | "true" | "false" | undefined;
|
|
365
|
-
PH_CONNECT_DISABLE_ADD_LOCAL_DRIVES?: boolean | "true" | "false" | undefined;
|
|
366
|
-
PH_CONNECT_DISABLE_DELETE_LOCAL_DRIVES?: boolean | "true" | "false" | undefined;
|
|
367
|
-
PH_CONNECT_ANALYTICS_ENABLED?: boolean | "true" | "false" | undefined;
|
|
368
|
-
PH_CONNECT_ANALYTICS_DATABASE_NAME?: string | undefined;
|
|
369
|
-
PH_CONNECT_ANALYTICS_DATABASE_WORKER_DISABLED?: boolean | "true" | "false" | undefined;
|
|
370
|
-
PH_CONNECT_DIFF_ANALYTICS_ENABLED?: boolean | "true" | "false" | undefined;
|
|
371
|
-
PH_CONNECT_DRIVE_ANALYTICS_ENABLED?: boolean | "true" | "false" | undefined;
|
|
372
|
-
PH_CONNECT_EXTERNAL_ANALYTICS_PROCESSORS_ENABLED?: boolean | "true" | "false" | undefined;
|
|
373
|
-
PH_CONNECT_RELATIONAL_PROCESSORS_ENABLED?: boolean | "true" | "false" | undefined;
|
|
374
|
-
PH_CONNECT_EXTERNAL_RELATIONAL_PROCESSORS_ENABLED?: boolean | "true" | "false" | undefined;
|
|
375
|
-
PH_CONNECT_PROCESSORS_ENABLED?: boolean | "true" | "false" | undefined;
|
|
376
|
-
PH_CONNECT_EXTERNAL_PROCESSORS_ENABLED?: boolean | "true" | "false" | undefined;
|
|
377
|
-
PH_CONNECT_SENTRY_RELEASE?: string | undefined;
|
|
378
|
-
PH_CONNECT_SENTRY_DSN?: string | undefined;
|
|
379
|
-
PH_CONNECT_SENTRY_ENV?: string | undefined;
|
|
380
|
-
PH_CONNECT_SENTRY_TRACING_ENABLED?: boolean | "true" | "false" | undefined;
|
|
381
|
-
PH_CONNECT_RENOWN_URL?: string | undefined;
|
|
382
|
-
PH_CONNECT_RENOWN_NETWORK_ID?: string | undefined;
|
|
383
|
-
PH_CONNECT_RENOWN_CHAIN_ID?: string | number | undefined;
|
|
384
|
-
}>;
|
|
385
|
-
/**
|
|
386
|
-
* Complete environment schema (build + runtime)
|
|
387
|
-
*/
|
|
388
|
-
export declare const connectEnvSchema: z.ZodObject<{
|
|
389
|
-
/**
|
|
390
|
-
* Path to powerhouse config file
|
|
391
|
-
* @default "powerhouse.config.json"
|
|
392
|
-
*/
|
|
393
|
-
PH_CONFIG_PATH: z.ZodOptional<z.ZodString>;
|
|
394
|
-
/**
|
|
395
|
-
* Comma-separated list of package names to load
|
|
396
|
-
* @example "package1,package2"
|
|
397
|
-
*/
|
|
398
|
-
PH_PACKAGES: z.ZodOptional<z.ZodString>;
|
|
399
|
-
/**
|
|
400
|
-
* Path to local package to load during development
|
|
401
|
-
*/
|
|
402
|
-
PH_LOCAL_PACKAGE: z.ZodOptional<z.ZodString>;
|
|
403
|
-
/**
|
|
404
|
-
* Disable loading of local package
|
|
405
|
-
* @default false
|
|
406
|
-
*/
|
|
407
|
-
PH_DISABLE_LOCAL_PACKAGE: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["true", "false"]>]>, boolean, boolean | "true" | "false">>;
|
|
408
|
-
/**
|
|
409
|
-
* Amount of time to wait before a file is considered changed
|
|
410
|
-
* @default 300
|
|
411
|
-
*/
|
|
412
|
-
PH_WATCH_TIMEOUT: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>>;
|
|
413
|
-
/**
|
|
414
|
-
* Sentry authentication token for uploading source maps
|
|
415
|
-
*/
|
|
416
|
-
PH_SENTRY_AUTH_TOKEN: z.ZodOptional<z.ZodString>;
|
|
417
|
-
/**
|
|
418
|
-
* Sentry organization slug
|
|
419
|
-
*/
|
|
420
|
-
PH_SENTRY_ORG: z.ZodOptional<z.ZodString>;
|
|
421
|
-
/**
|
|
422
|
-
* Sentry project slug
|
|
423
|
-
*/
|
|
424
|
-
PH_SENTRY_PROJECT: z.ZodOptional<z.ZodString>;
|
|
425
|
-
} & {
|
|
426
|
-
/**
|
|
427
|
-
* Application version number
|
|
428
|
-
* @default "unknown"
|
|
429
|
-
*/
|
|
430
|
-
PH_CONNECT_VERSION: z.ZodDefault<z.ZodString>;
|
|
431
|
-
/**
|
|
432
|
-
* Log level for the application
|
|
433
|
-
* @default "info"
|
|
434
|
-
*/
|
|
435
|
-
PH_CONNECT_LOG_LEVEL: z.ZodDefault<z.ZodEnum<["debug", "info", "warn", "error"]>>;
|
|
436
|
-
/**
|
|
437
|
-
* Whether app requires hard refresh on updates
|
|
438
|
-
* @default true
|
|
439
|
-
*/
|
|
440
|
-
PH_CONNECT_REQUIRES_HARD_REFRESH: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["true", "false"]>]>, boolean, boolean | "true" | "false">>;
|
|
441
|
-
/**
|
|
442
|
-
* Show warning when app version is outdated
|
|
443
|
-
* @default false
|
|
444
|
-
*/
|
|
445
|
-
PH_CONNECT_WARN_OUTDATED_APP: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["true", "false"]>]>, boolean, boolean | "true" | "false">>;
|
|
446
|
-
/**
|
|
447
|
-
* Enable studio mode features
|
|
448
|
-
* @default false
|
|
449
|
-
*/
|
|
450
|
-
PH_CONNECT_STUDIO_MODE: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["true", "false"]>]>, boolean, boolean | "true" | "false">>;
|
|
451
|
-
/**
|
|
452
|
-
* Base path for the Connect router, defaults to import.meta.env.BASE_URL
|
|
453
|
-
*/
|
|
454
|
-
PH_CONNECT_BASE_PATH: z.ZodOptional<z.ZodString>;
|
|
455
|
-
/**
|
|
456
|
-
* Default drives URL to load on startup
|
|
457
|
-
*/
|
|
458
|
-
PH_CONNECT_DEFAULT_DRIVES_URL: z.ZodOptional<z.ZodString>;
|
|
459
|
-
/**
|
|
460
|
-
* Strategy for preserving drives
|
|
461
|
-
*/
|
|
462
|
-
PH_CONNECT_DRIVES_PRESERVE_STRATEGY: z.ZodOptional<z.ZodString>;
|
|
463
|
-
/**
|
|
464
|
-
* Interval in milliseconds to check for version updates
|
|
465
|
-
* @default 3600000 (1 hour)
|
|
466
|
-
*/
|
|
467
|
-
PH_CONNECT_VERSION_CHECK_INTERVAL: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>>;
|
|
468
|
-
/**
|
|
469
|
-
* CLI version number
|
|
470
|
-
*/
|
|
471
|
-
PH_CONNECT_CLI_VERSION: z.ZodOptional<z.ZodString>;
|
|
472
|
-
/**
|
|
473
|
-
* Chunk size for file upload operations
|
|
474
|
-
* @default 50
|
|
475
|
-
*/
|
|
476
|
-
PH_CONNECT_FILE_UPLOAD_OPERATIONS_CHUNK_SIZE: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>>;
|
|
477
|
-
} & {
|
|
478
|
-
/**
|
|
479
|
-
* Hide the "Add Drive" button completely
|
|
480
|
-
* @default false
|
|
481
|
-
*/
|
|
482
|
-
PH_CONNECT_DISABLE_ADD_DRIVE: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["true", "false"]>]>, boolean, boolean | "true" | "false">>;
|
|
483
|
-
/**
|
|
484
|
-
* Show search bar in the UI
|
|
485
|
-
* @default false
|
|
486
|
-
*/
|
|
487
|
-
PH_CONNECT_SEARCH_BAR_ENABLED: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["true", "false"]>]>, boolean, boolean | "true" | "false">>;
|
|
488
|
-
/**
|
|
489
|
-
* Show inspector button in the sidebar
|
|
490
|
-
* @default false
|
|
491
|
-
*/
|
|
492
|
-
PH_CONNECT_INSPECTOR_ENABLED: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["true", "false"]>]>, boolean, boolean | "true" | "false">>;
|
|
493
|
-
/**
|
|
494
|
-
* Hide document model selection in settings
|
|
495
|
-
* @default true
|
|
496
|
-
*/
|
|
497
|
-
PH_CONNECT_HIDE_DOCUMENT_MODEL_SELECTION_SETTINGS: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["true", "false"]>]>, boolean, boolean | "true" | "false">>;
|
|
498
|
-
/**
|
|
499
|
-
* Comma-separated list of enabled editor types
|
|
500
|
-
* Use "*" to enable all editors
|
|
501
|
-
* @example "editor1,editor2" or "*"
|
|
502
|
-
*/
|
|
503
|
-
PH_CONNECT_ENABLED_EDITORS: z.ZodOptional<z.ZodString>;
|
|
504
|
-
/**
|
|
505
|
-
* Comma-separated list of disabled editor types
|
|
506
|
-
* @default "powerhouse/document-drive"
|
|
507
|
-
*/
|
|
508
|
-
PH_CONNECT_DISABLED_EDITORS: z.ZodDefault<z.ZodString>;
|
|
509
|
-
/**
|
|
510
|
-
* Google Analytics tracking ID
|
|
511
|
-
*/
|
|
512
|
-
PH_CONNECT_GA_TRACKING_ID: z.ZodOptional<z.ZodString>;
|
|
513
|
-
/**
|
|
514
|
-
* Disable loading of external packages
|
|
515
|
-
* @default false
|
|
516
|
-
*/
|
|
517
|
-
PH_CONNECT_EXTERNAL_PACKAGES_DISABLED: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["true", "false"]>]>, boolean, boolean | "true" | "false">>;
|
|
518
|
-
} & {
|
|
519
|
-
/**
|
|
520
|
-
* Enable public drives section
|
|
521
|
-
* @default true
|
|
522
|
-
*/
|
|
523
|
-
PH_CONNECT_PUBLIC_DRIVES_ENABLED: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["true", "false"]>]>, boolean, boolean | "true" | "false">>;
|
|
524
|
-
/**
|
|
525
|
-
* Allow adding public drives
|
|
526
|
-
* @default true
|
|
527
|
-
*/
|
|
528
|
-
PH_CONNECT_DISABLE_ADD_PUBLIC_DRIVES: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["true", "false"]>]>, boolean, boolean | "true" | "false">>;
|
|
529
|
-
/**
|
|
530
|
-
* Allow deleting public drives
|
|
531
|
-
* @default true
|
|
532
|
-
*/
|
|
533
|
-
PH_CONNECT_DISABLE_DELETE_PUBLIC_DRIVES: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["true", "false"]>]>, boolean, boolean | "true" | "false">>;
|
|
534
|
-
/**
|
|
535
|
-
* Enable cloud drives section
|
|
536
|
-
* @default true
|
|
537
|
-
*/
|
|
538
|
-
PH_CONNECT_CLOUD_DRIVES_ENABLED: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["true", "false"]>]>, boolean, boolean | "true" | "false">>;
|
|
539
|
-
/**
|
|
540
|
-
* Allow adding cloud drives
|
|
541
|
-
* @default true
|
|
542
|
-
*/
|
|
543
|
-
PH_CONNECT_DISABLE_ADD_CLOUD_DRIVES: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["true", "false"]>]>, boolean, boolean | "true" | "false">>;
|
|
544
|
-
/**
|
|
545
|
-
* Allow deleting cloud drives
|
|
546
|
-
* @default true
|
|
547
|
-
*/
|
|
548
|
-
PH_CONNECT_DISABLE_DELETE_CLOUD_DRIVES: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["true", "false"]>]>, boolean, boolean | "true" | "false">>;
|
|
549
|
-
/**
|
|
550
|
-
* Enable local drives section
|
|
551
|
-
* @default true
|
|
552
|
-
*/
|
|
553
|
-
PH_CONNECT_LOCAL_DRIVES_ENABLED: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["true", "false"]>]>, boolean, boolean | "true" | "false">>;
|
|
554
|
-
/**
|
|
555
|
-
* Allow adding local drives
|
|
556
|
-
* @default true
|
|
557
|
-
*/
|
|
558
|
-
PH_CONNECT_DISABLE_ADD_LOCAL_DRIVES: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["true", "false"]>]>, boolean, boolean | "true" | "false">>;
|
|
559
|
-
/**
|
|
560
|
-
* Allow deleting local drives
|
|
561
|
-
* @default true
|
|
562
|
-
*/
|
|
563
|
-
PH_CONNECT_DISABLE_DELETE_LOCAL_DRIVES: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["true", "false"]>]>, boolean, boolean | "true" | "false">>;
|
|
564
|
-
} & {
|
|
565
|
-
/**
|
|
566
|
-
* Enable processors
|
|
567
|
-
* @default true
|
|
568
|
-
*/
|
|
569
|
-
PH_CONNECT_PROCESSORS_ENABLED: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["true", "false"]>]>, boolean, boolean | "true" | "false">>;
|
|
570
|
-
/**
|
|
571
|
-
* Enable external processors
|
|
572
|
-
* @default true
|
|
573
|
-
*/
|
|
574
|
-
PH_CONNECT_EXTERNAL_PROCESSORS_ENABLED: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["true", "false"]>]>, boolean, boolean | "true" | "false">>;
|
|
575
|
-
} & {
|
|
576
|
-
/**
|
|
577
|
-
* Enable analytics
|
|
578
|
-
* @default true
|
|
579
|
-
*/
|
|
580
|
-
PH_CONNECT_ANALYTICS_ENABLED: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["true", "false"]>]>, boolean, boolean | "true" | "false">>;
|
|
581
|
-
/**
|
|
582
|
-
* Name of the analytics database
|
|
583
|
-
* Defaults to basename + ":analytics"
|
|
584
|
-
*/
|
|
585
|
-
PH_CONNECT_ANALYTICS_DATABASE_NAME: z.ZodOptional<z.ZodString>;
|
|
586
|
-
/**
|
|
587
|
-
* Disable analytics database worker
|
|
588
|
-
* @default false
|
|
589
|
-
*/
|
|
590
|
-
PH_CONNECT_ANALYTICS_DATABASE_WORKER_DISABLED: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["true", "false"]>]>, boolean, boolean | "true" | "false">>;
|
|
591
|
-
/**
|
|
592
|
-
* Enable diff analytics tracking
|
|
593
|
-
* @default false
|
|
594
|
-
*/
|
|
595
|
-
PH_CONNECT_DIFF_ANALYTICS_ENABLED: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["true", "false"]>]>, boolean, boolean | "true" | "false">>;
|
|
596
|
-
/**
|
|
597
|
-
* Enable drive analytics tracking
|
|
598
|
-
* @default true
|
|
599
|
-
*/
|
|
600
|
-
PH_CONNECT_DRIVE_ANALYTICS_ENABLED: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["true", "false"]>]>, boolean, boolean | "true" | "false">>;
|
|
601
|
-
/**
|
|
602
|
-
* Enable external analytics processors
|
|
603
|
-
* @default true
|
|
604
|
-
*/
|
|
605
|
-
PH_CONNECT_EXTERNAL_ANALYTICS_PROCESSORS_ENABLED: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["true", "false"]>]>, boolean, boolean | "true" | "false">>;
|
|
606
|
-
} & {
|
|
607
|
-
/**
|
|
608
|
-
* Enable relational processors
|
|
609
|
-
* @default true
|
|
610
|
-
*/
|
|
611
|
-
PH_CONNECT_RELATIONAL_PROCESSORS_ENABLED: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["true", "false"]>]>, boolean, boolean | "true" | "false">>;
|
|
612
|
-
/**
|
|
613
|
-
* Enable external relational processors
|
|
614
|
-
* @default true
|
|
615
|
-
*/
|
|
616
|
-
PH_CONNECT_EXTERNAL_RELATIONAL_PROCESSORS_ENABLED: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["true", "false"]>]>, boolean, boolean | "true" | "false">>;
|
|
617
|
-
} & {
|
|
618
|
-
/**
|
|
619
|
-
* Sentry release identifier
|
|
620
|
-
* Defaults to app version
|
|
621
|
-
*/
|
|
622
|
-
PH_CONNECT_SENTRY_RELEASE: z.ZodOptional<z.ZodString>;
|
|
623
|
-
/**
|
|
624
|
-
* Sentry DSN for error reporting
|
|
625
|
-
*/
|
|
626
|
-
PH_CONNECT_SENTRY_DSN: z.ZodOptional<z.ZodString>;
|
|
627
|
-
/**
|
|
628
|
-
* Sentry environment name
|
|
629
|
-
* @default "prod"
|
|
630
|
-
*/
|
|
631
|
-
PH_CONNECT_SENTRY_ENV: z.ZodDefault<z.ZodString>;
|
|
632
|
-
/**
|
|
633
|
-
* Enable Sentry performance tracing
|
|
634
|
-
* @default false
|
|
635
|
-
*/
|
|
636
|
-
PH_CONNECT_SENTRY_TRACING_ENABLED: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["true", "false"]>]>, boolean, boolean | "true" | "false">>;
|
|
637
|
-
} & {
|
|
638
|
-
/**
|
|
639
|
-
* Renown authentication service URL
|
|
640
|
-
* @default "https://www.renown.id"
|
|
641
|
-
*/
|
|
642
|
-
PH_CONNECT_RENOWN_URL: z.ZodDefault<z.ZodString>;
|
|
643
|
-
/**
|
|
644
|
-
* Renown network ID
|
|
645
|
-
* @default "eip155"
|
|
646
|
-
*/
|
|
647
|
-
PH_CONNECT_RENOWN_NETWORK_ID: z.ZodDefault<z.ZodString>;
|
|
648
|
-
/**
|
|
649
|
-
* Renown chain ID
|
|
650
|
-
* @default 1
|
|
651
|
-
*/
|
|
652
|
-
PH_CONNECT_RENOWN_CHAIN_ID: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>>;
|
|
653
|
-
}, "strip", z.ZodTypeAny, {
|
|
654
|
-
PH_DISABLE_LOCAL_PACKAGE: boolean;
|
|
655
|
-
PH_WATCH_TIMEOUT: number;
|
|
656
|
-
PH_CONNECT_VERSION: string;
|
|
657
|
-
PH_CONNECT_LOG_LEVEL: "debug" | "info" | "warn" | "error";
|
|
658
|
-
PH_CONNECT_REQUIRES_HARD_REFRESH: boolean;
|
|
659
|
-
PH_CONNECT_WARN_OUTDATED_APP: boolean;
|
|
660
|
-
PH_CONNECT_STUDIO_MODE: boolean;
|
|
661
|
-
PH_CONNECT_VERSION_CHECK_INTERVAL: number;
|
|
662
|
-
PH_CONNECT_FILE_UPLOAD_OPERATIONS_CHUNK_SIZE: number;
|
|
663
|
-
PH_CONNECT_DISABLE_ADD_DRIVE: boolean;
|
|
664
|
-
PH_CONNECT_SEARCH_BAR_ENABLED: boolean;
|
|
665
|
-
PH_CONNECT_INSPECTOR_ENABLED: boolean;
|
|
666
|
-
PH_CONNECT_HIDE_DOCUMENT_MODEL_SELECTION_SETTINGS: boolean;
|
|
667
|
-
PH_CONNECT_DISABLED_EDITORS: string;
|
|
668
|
-
PH_CONNECT_EXTERNAL_PACKAGES_DISABLED: boolean;
|
|
669
|
-
PH_CONNECT_PUBLIC_DRIVES_ENABLED: boolean;
|
|
670
|
-
PH_CONNECT_DISABLE_ADD_PUBLIC_DRIVES: boolean;
|
|
671
|
-
PH_CONNECT_DISABLE_DELETE_PUBLIC_DRIVES: boolean;
|
|
672
|
-
PH_CONNECT_CLOUD_DRIVES_ENABLED: boolean;
|
|
673
|
-
PH_CONNECT_DISABLE_ADD_CLOUD_DRIVES: boolean;
|
|
674
|
-
PH_CONNECT_DISABLE_DELETE_CLOUD_DRIVES: boolean;
|
|
675
|
-
PH_CONNECT_LOCAL_DRIVES_ENABLED: boolean;
|
|
676
|
-
PH_CONNECT_DISABLE_ADD_LOCAL_DRIVES: boolean;
|
|
677
|
-
PH_CONNECT_DISABLE_DELETE_LOCAL_DRIVES: boolean;
|
|
678
|
-
PH_CONNECT_ANALYTICS_ENABLED: boolean;
|
|
679
|
-
PH_CONNECT_ANALYTICS_DATABASE_WORKER_DISABLED: boolean;
|
|
680
|
-
PH_CONNECT_DIFF_ANALYTICS_ENABLED: boolean;
|
|
681
|
-
PH_CONNECT_DRIVE_ANALYTICS_ENABLED: boolean;
|
|
682
|
-
PH_CONNECT_EXTERNAL_ANALYTICS_PROCESSORS_ENABLED: boolean;
|
|
683
|
-
PH_CONNECT_RELATIONAL_PROCESSORS_ENABLED: boolean;
|
|
684
|
-
PH_CONNECT_EXTERNAL_RELATIONAL_PROCESSORS_ENABLED: boolean;
|
|
685
|
-
PH_CONNECT_PROCESSORS_ENABLED: boolean;
|
|
686
|
-
PH_CONNECT_EXTERNAL_PROCESSORS_ENABLED: boolean;
|
|
687
|
-
PH_CONNECT_SENTRY_ENV: string;
|
|
688
|
-
PH_CONNECT_SENTRY_TRACING_ENABLED: boolean;
|
|
689
|
-
PH_CONNECT_RENOWN_URL: string;
|
|
690
|
-
PH_CONNECT_RENOWN_NETWORK_ID: string;
|
|
691
|
-
PH_CONNECT_RENOWN_CHAIN_ID: number;
|
|
692
|
-
PH_CONFIG_PATH?: string | undefined;
|
|
693
|
-
PH_PACKAGES?: string | undefined;
|
|
694
|
-
PH_LOCAL_PACKAGE?: string | undefined;
|
|
695
|
-
PH_SENTRY_AUTH_TOKEN?: string | undefined;
|
|
696
|
-
PH_SENTRY_ORG?: string | undefined;
|
|
697
|
-
PH_SENTRY_PROJECT?: string | undefined;
|
|
698
|
-
PH_CONNECT_BASE_PATH?: string | undefined;
|
|
699
|
-
PH_CONNECT_DEFAULT_DRIVES_URL?: string | undefined;
|
|
700
|
-
PH_CONNECT_DRIVES_PRESERVE_STRATEGY?: string | undefined;
|
|
701
|
-
PH_CONNECT_CLI_VERSION?: string | undefined;
|
|
702
|
-
PH_CONNECT_ENABLED_EDITORS?: string | undefined;
|
|
703
|
-
PH_CONNECT_GA_TRACKING_ID?: string | undefined;
|
|
704
|
-
PH_CONNECT_ANALYTICS_DATABASE_NAME?: string | undefined;
|
|
705
|
-
PH_CONNECT_SENTRY_RELEASE?: string | undefined;
|
|
706
|
-
PH_CONNECT_SENTRY_DSN?: string | undefined;
|
|
707
|
-
}, {
|
|
708
|
-
PH_CONFIG_PATH?: string | undefined;
|
|
709
|
-
PH_PACKAGES?: string | undefined;
|
|
710
|
-
PH_LOCAL_PACKAGE?: string | undefined;
|
|
711
|
-
PH_DISABLE_LOCAL_PACKAGE?: boolean | "true" | "false" | undefined;
|
|
712
|
-
PH_WATCH_TIMEOUT?: string | number | undefined;
|
|
713
|
-
PH_SENTRY_AUTH_TOKEN?: string | undefined;
|
|
714
|
-
PH_SENTRY_ORG?: string | undefined;
|
|
715
|
-
PH_SENTRY_PROJECT?: string | undefined;
|
|
716
|
-
PH_CONNECT_VERSION?: string | undefined;
|
|
717
|
-
PH_CONNECT_LOG_LEVEL?: "debug" | "info" | "warn" | "error" | undefined;
|
|
718
|
-
PH_CONNECT_REQUIRES_HARD_REFRESH?: boolean | "true" | "false" | undefined;
|
|
719
|
-
PH_CONNECT_WARN_OUTDATED_APP?: boolean | "true" | "false" | undefined;
|
|
720
|
-
PH_CONNECT_STUDIO_MODE?: boolean | "true" | "false" | undefined;
|
|
721
|
-
PH_CONNECT_BASE_PATH?: string | undefined;
|
|
722
|
-
PH_CONNECT_DEFAULT_DRIVES_URL?: string | undefined;
|
|
723
|
-
PH_CONNECT_DRIVES_PRESERVE_STRATEGY?: string | undefined;
|
|
724
|
-
PH_CONNECT_VERSION_CHECK_INTERVAL?: string | number | undefined;
|
|
725
|
-
PH_CONNECT_CLI_VERSION?: string | undefined;
|
|
726
|
-
PH_CONNECT_FILE_UPLOAD_OPERATIONS_CHUNK_SIZE?: string | number | undefined;
|
|
727
|
-
PH_CONNECT_DISABLE_ADD_DRIVE?: boolean | "true" | "false" | undefined;
|
|
728
|
-
PH_CONNECT_SEARCH_BAR_ENABLED?: boolean | "true" | "false" | undefined;
|
|
729
|
-
PH_CONNECT_INSPECTOR_ENABLED?: boolean | "true" | "false" | undefined;
|
|
730
|
-
PH_CONNECT_HIDE_DOCUMENT_MODEL_SELECTION_SETTINGS?: boolean | "true" | "false" | undefined;
|
|
731
|
-
PH_CONNECT_ENABLED_EDITORS?: string | undefined;
|
|
732
|
-
PH_CONNECT_DISABLED_EDITORS?: string | undefined;
|
|
733
|
-
PH_CONNECT_GA_TRACKING_ID?: string | undefined;
|
|
734
|
-
PH_CONNECT_EXTERNAL_PACKAGES_DISABLED?: boolean | "true" | "false" | undefined;
|
|
735
|
-
PH_CONNECT_PUBLIC_DRIVES_ENABLED?: boolean | "true" | "false" | undefined;
|
|
736
|
-
PH_CONNECT_DISABLE_ADD_PUBLIC_DRIVES?: boolean | "true" | "false" | undefined;
|
|
737
|
-
PH_CONNECT_DISABLE_DELETE_PUBLIC_DRIVES?: boolean | "true" | "false" | undefined;
|
|
738
|
-
PH_CONNECT_CLOUD_DRIVES_ENABLED?: boolean | "true" | "false" | undefined;
|
|
739
|
-
PH_CONNECT_DISABLE_ADD_CLOUD_DRIVES?: boolean | "true" | "false" | undefined;
|
|
740
|
-
PH_CONNECT_DISABLE_DELETE_CLOUD_DRIVES?: boolean | "true" | "false" | undefined;
|
|
741
|
-
PH_CONNECT_LOCAL_DRIVES_ENABLED?: boolean | "true" | "false" | undefined;
|
|
742
|
-
PH_CONNECT_DISABLE_ADD_LOCAL_DRIVES?: boolean | "true" | "false" | undefined;
|
|
743
|
-
PH_CONNECT_DISABLE_DELETE_LOCAL_DRIVES?: boolean | "true" | "false" | undefined;
|
|
744
|
-
PH_CONNECT_ANALYTICS_ENABLED?: boolean | "true" | "false" | undefined;
|
|
745
|
-
PH_CONNECT_ANALYTICS_DATABASE_NAME?: string | undefined;
|
|
746
|
-
PH_CONNECT_ANALYTICS_DATABASE_WORKER_DISABLED?: boolean | "true" | "false" | undefined;
|
|
747
|
-
PH_CONNECT_DIFF_ANALYTICS_ENABLED?: boolean | "true" | "false" | undefined;
|
|
748
|
-
PH_CONNECT_DRIVE_ANALYTICS_ENABLED?: boolean | "true" | "false" | undefined;
|
|
749
|
-
PH_CONNECT_EXTERNAL_ANALYTICS_PROCESSORS_ENABLED?: boolean | "true" | "false" | undefined;
|
|
750
|
-
PH_CONNECT_RELATIONAL_PROCESSORS_ENABLED?: boolean | "true" | "false" | undefined;
|
|
751
|
-
PH_CONNECT_EXTERNAL_RELATIONAL_PROCESSORS_ENABLED?: boolean | "true" | "false" | undefined;
|
|
752
|
-
PH_CONNECT_PROCESSORS_ENABLED?: boolean | "true" | "false" | undefined;
|
|
753
|
-
PH_CONNECT_EXTERNAL_PROCESSORS_ENABLED?: boolean | "true" | "false" | undefined;
|
|
754
|
-
PH_CONNECT_SENTRY_RELEASE?: string | undefined;
|
|
755
|
-
PH_CONNECT_SENTRY_DSN?: string | undefined;
|
|
756
|
-
PH_CONNECT_SENTRY_ENV?: string | undefined;
|
|
757
|
-
PH_CONNECT_SENTRY_TRACING_ENABLED?: boolean | "true" | "false" | undefined;
|
|
758
|
-
PH_CONNECT_RENOWN_URL?: string | undefined;
|
|
759
|
-
PH_CONNECT_RENOWN_NETWORK_ID?: string | undefined;
|
|
760
|
-
PH_CONNECT_RENOWN_CHAIN_ID?: string | number | undefined;
|
|
761
|
-
}>;
|
|
762
|
-
/**
|
|
763
|
-
* Inferred TypeScript types from schemas
|
|
764
|
-
*/
|
|
765
|
-
export type ConnectBuildEnv = z.infer<typeof buildEnvSchema>;
|
|
766
|
-
export type ConnectRuntimeEnv = z.infer<typeof runtimeEnvSchema>;
|
|
767
|
-
export type ConnectEnv = z.infer<typeof connectEnvSchema>;
|
|
768
|
-
/**
|
|
769
|
-
* Options for loading environment variables
|
|
770
|
-
*/
|
|
771
|
-
export interface LoadEnvOptions {
|
|
772
|
-
/**
|
|
773
|
-
* Environment variables from process.env (highest priority)
|
|
774
|
-
*/
|
|
775
|
-
processEnv?: Record<string, string | undefined>;
|
|
776
|
-
/**
|
|
777
|
-
* Environment variables from options (medium priority)
|
|
778
|
-
*/
|
|
779
|
-
optionsEnv?: Partial<ConnectEnv>;
|
|
780
|
-
/**
|
|
781
|
-
* Environment variables from .env file (lowest priority)
|
|
782
|
-
*/
|
|
783
|
-
fileEnv?: Record<string, string | undefined>;
|
|
784
|
-
}
|
|
785
|
-
/**
|
|
786
|
-
* Loads and validates environment variables with priority:
|
|
787
|
-
* 1. process.env (highest)
|
|
788
|
-
* 2. options
|
|
789
|
-
* 3. fileEnv
|
|
790
|
-
* 4. defaults from schema (lowest)
|
|
791
|
-
*
|
|
792
|
-
* @param options - Environment sources in priority order
|
|
793
|
-
* @returns Validated and typed environment configuration
|
|
794
|
-
*/
|
|
795
|
-
export declare function loadConnectEnv(options?: LoadEnvOptions): ConnectEnv;
|
|
796
|
-
/**
|
|
797
|
-
* Loads only runtime environment variables
|
|
798
|
-
*
|
|
799
|
-
* @param options - Environment sources in priority order
|
|
800
|
-
* @returns Validated runtime environment configuration
|
|
801
|
-
*/
|
|
802
|
-
export declare function loadRuntimeEnv(options?: LoadEnvOptions): ConnectRuntimeEnv;
|
|
803
|
-
/**
|
|
804
|
-
* Loads only build-time environment variables
|
|
805
|
-
*
|
|
806
|
-
* @param options - Environment sources in priority order
|
|
807
|
-
* @returns Validated build environment configuration
|
|
808
|
-
*/
|
|
809
|
-
export declare function loadBuildEnv(options?: LoadEnvOptions): ConnectBuildEnv;
|
|
810
|
-
/**
|
|
811
|
-
* Safely sets Connect environment variables with validation.
|
|
812
|
-
* Invalid values will log a warning and be skipped.
|
|
813
|
-
*
|
|
814
|
-
* @param values - Type-safe object with key-value pairs to set
|
|
815
|
-
*
|
|
816
|
-
* @example
|
|
817
|
-
* ```ts
|
|
818
|
-
* setConnectEnv({
|
|
819
|
-
* PH_CONNECT_LOG_LEVEL: "debug",
|
|
820
|
-
* PH_CONNECT_VERSION: "1.2.3",
|
|
821
|
-
* PH_CONNECT_STUDIO_MODE: true,
|
|
822
|
-
* });
|
|
823
|
-
* ```
|
|
824
|
-
*/
|
|
825
|
-
export declare function setConnectEnv(values: Partial<ConnectEnv>): void;
|
|
826
|
-
/**
|
|
827
|
-
* Normalizes a base path to ensure it:
|
|
828
|
-
* - Starts with a forward slash (/)
|
|
829
|
-
* - Ends with a forward slash (/)
|
|
830
|
-
* - Has no relative path prefix (.)
|
|
831
|
-
*
|
|
832
|
-
* @param basePath - The base path to normalize
|
|
833
|
-
* @returns The normalized base path
|
|
834
|
-
*
|
|
835
|
-
* @example
|
|
836
|
-
* normalizeBasePath('/app') // '/app/'
|
|
837
|
-
* normalizeBasePath('./app/') // '/app/'
|
|
838
|
-
* normalizeBasePath('app') // '/app/'
|
|
839
|
-
* normalizeBasePath('/') // '/'
|
|
840
|
-
* normalizeBasePath('') // '/'
|
|
841
|
-
*/
|
|
842
|
-
export declare function normalizeBasePath(basePath: string): string;
|
|
843
|
-
export {};
|
|
844
|
-
//# sourceMappingURL=env-config.d.ts.map
|