@powerhousedao/shared 6.1.0 → 6.2.0-dev.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (92) hide show
  1. package/dist/analytics/index.d.ts +1 -1
  2. package/dist/clis/args/access-token.mjs +1 -1
  3. package/dist/clis/args/common-BQ2pvhCr.d.mts.map +1 -1
  4. package/dist/clis/args/{common-DPYlcz-d.mjs → common-fPNESurz.mjs} +4 -9
  5. package/dist/clis/args/{common-DPYlcz-d.mjs.map → common-fPNESurz.mjs.map} +1 -1
  6. package/dist/clis/args/common.mjs +1 -1
  7. package/dist/clis/args/connect.d.mts +219 -13
  8. package/dist/clis/args/connect.d.mts.map +1 -1
  9. package/dist/clis/args/connect.mjs +138 -4
  10. package/dist/clis/args/connect.mjs.map +1 -1
  11. package/dist/clis/args/{generate-BJPBa0mK.mjs → generate-CTTdiwMD.mjs} +2 -2
  12. package/dist/clis/args/{generate-BJPBa0mK.mjs.map → generate-CTTdiwMD.mjs.map} +1 -1
  13. package/dist/clis/args/generate.mjs +1 -1
  14. package/dist/clis/args/{help-rztSuf9S.mjs → help-CfBzQJpL.mjs} +3 -3
  15. package/dist/clis/args/{help-rztSuf9S.mjs.map → help-CfBzQJpL.mjs.map} +1 -1
  16. package/dist/clis/args/help.mjs +1 -1
  17. package/dist/clis/args/index.d.mts +3 -3
  18. package/dist/clis/args/index.mjs +5 -5
  19. package/dist/clis/args/init.mjs +1 -1
  20. package/dist/clis/args/inspect.mjs +1 -1
  21. package/dist/clis/args/install.mjs +1 -1
  22. package/dist/clis/args/list.mjs +1 -1
  23. package/dist/clis/args/login.mjs +1 -1
  24. package/dist/clis/args/migrate.mjs +1 -1
  25. package/dist/clis/args/publish.mjs +1 -1
  26. package/dist/clis/args/registry.mjs +1 -1
  27. package/dist/clis/args/{service-qS4yFF2I.d.mts → service-DbbCQSks.d.mts} +3 -3
  28. package/dist/clis/args/service-DbbCQSks.d.mts.map +1 -0
  29. package/dist/clis/args/service.d.mts +1 -1
  30. package/dist/clis/args/service.mjs +1 -1
  31. package/dist/clis/args/switchboard.mjs +1 -1
  32. package/dist/clis/args/uninstall.mjs +1 -1
  33. package/dist/clis/args/unpublish.mjs +1 -1
  34. package/dist/clis/args/vetra.mjs +1 -1
  35. package/dist/clis/constants.d.mts +54 -1
  36. package/dist/clis/constants.d.mts.map +1 -1
  37. package/dist/clis/index.d.mts +681 -15
  38. package/dist/clis/index.d.mts.map +1 -1
  39. package/dist/clis/index.mjs +534 -10
  40. package/dist/clis/index.mjs.map +1 -1
  41. package/dist/config-loader-DORViRnN.js +144 -0
  42. package/dist/config-loader-DORViRnN.js.map +1 -0
  43. package/dist/connect/config-loader.d.ts +78 -0
  44. package/dist/connect/config-loader.d.ts.map +1 -0
  45. package/dist/connect/config-loader.js +2 -0
  46. package/dist/connect/index.d.ts +287 -257
  47. package/dist/connect/index.d.ts.map +1 -1
  48. package/dist/connect/index.js +258 -106
  49. package/dist/connect/index.js.map +1 -1
  50. package/dist/connect/json-adapter.d.ts +24 -0
  51. package/dist/connect/json-adapter.d.ts.map +1 -0
  52. package/dist/connect/json-adapter.js +28 -0
  53. package/dist/connect/json-adapter.js.map +1 -0
  54. package/dist/{constants-xNwF0jSl.d.ts → constants-C_EQX4DY.d.ts} +1 -1
  55. package/dist/constants-C_EQX4DY.d.ts.map +1 -0
  56. package/dist/constants.d.ts +1 -1
  57. package/dist/document-drive/index.d.ts +2 -2
  58. package/dist/document-drive/index.d.ts.map +1 -1
  59. package/dist/document-model/index.d.ts +4 -4
  60. package/dist/document-model/index.js +1 -1
  61. package/dist/document-model/mock.d.ts +1 -1
  62. package/dist/document-model/utils.d.ts +2 -2
  63. package/dist/document-model/utils.js +1 -1
  64. package/dist/{index-C_iVZe7f.d.ts → index-CQDIrK1k.d.ts} +1 -1
  65. package/dist/index-CQDIrK1k.d.ts.map +1 -0
  66. package/dist/{index-C2dRwmuW.d.ts → index-DalC_-i7.d.ts} +2 -2
  67. package/dist/{index-C2dRwmuW.d.ts.map → index-DalC_-i7.d.ts.map} +1 -1
  68. package/dist/index.d.ts +7 -6
  69. package/dist/{mock-Cgn-VBF_.d.ts → mock-CbrXTFOF.d.ts} +1 -1
  70. package/dist/{mock-Cgn-VBF_.d.ts.map → mock-CbrXTFOF.d.ts.map} +1 -1
  71. package/dist/processors/index.d.ts +1 -1
  72. package/dist/registry/index.d.ts +2 -1
  73. package/dist/registry/index.d.ts.map +1 -1
  74. package/dist/{types-BFDlQkXZ.d.ts → types-C1in4fl3.d.ts} +1 -1
  75. package/dist/{types-BFDlQkXZ.d.ts.map → types-C1in4fl3.d.ts.map} +1 -1
  76. package/dist/{actions-BqyQ1_K7.d.ts → types-CC6ib3_2.d.ts} +1327 -1327
  77. package/dist/types-CC6ib3_2.d.ts.map +1 -0
  78. package/dist/{types-DA_0pilk.d.ts → types-CVqmv94G.d.ts} +3 -109
  79. package/dist/types-CVqmv94G.d.ts.map +1 -0
  80. package/dist/types-Daq_zHP_.d.ts +160 -0
  81. package/dist/types-Daq_zHP_.d.ts.map +1 -0
  82. package/dist/{utils-CJF4w5Bp.d.ts → utils-BEByNOHo.d.ts} +1 -1
  83. package/dist/utils-BEByNOHo.d.ts.map +1 -0
  84. package/dist/{utils-bCWnsmtD.js → utils-DKOFCM0Q.js} +1 -1
  85. package/dist/{utils-bCWnsmtD.js.map → utils-DKOFCM0Q.js.map} +1 -1
  86. package/package.json +5 -3
  87. package/dist/actions-BqyQ1_K7.d.ts.map +0 -1
  88. package/dist/clis/args/service-qS4yFF2I.d.mts.map +0 -1
  89. package/dist/constants-xNwF0jSl.d.ts.map +0 -1
  90. package/dist/index-C_iVZe7f.d.ts.map +0 -1
  91. package/dist/types-DA_0pilk.d.ts.map +0 -1
  92. package/dist/utils-CJF4w5Bp.d.ts.map +0 -1
@@ -1,3 +1,6 @@
1
+ import { b as PowerhousePackage, p as PHConnectRuntimeConfig, y as PowerhouseConfig } from "../types-Daq_zHP_.js";
2
+ import { ConfigAdapter, ConfigLoader, ConfigShape, DeepPartial, deepMerge } from "./config-loader.js";
3
+ import { JsonConfigAdapter, JsonConfigAdapterOptions } from "./json-adapter.js";
1
4
  import { z } from "zod";
2
5
 
3
6
  //#region connect/env-config.d.ts
@@ -5,121 +8,20 @@ import { z } from "zod";
5
8
  * Build-time configuration schema
6
9
  */
7
10
  declare const buildEnvSchema: z.ZodObject<{
8
- PH_CONFIG_PATH: z.ZodOptional<z.ZodString>;
9
11
  PH_PACKAGES: z.ZodOptional<z.ZodString>;
10
12
  PH_LOCAL_PACKAGE: z.ZodOptional<z.ZodString>;
11
- PH_DISABLE_LOCAL_PACKAGE: z.ZodDefault<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
12
- true: "true";
13
- false: "false";
14
- }>]>, z.ZodTransform<boolean, boolean | "true" | "false">>>;
15
- PH_WATCH_TIMEOUT: z.ZodDefault<z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>, z.ZodTransform<number, string | number>>>;
16
13
  PH_SENTRY_AUTH_TOKEN: z.ZodOptional<z.ZodString>;
17
14
  PH_SENTRY_ORG: z.ZodOptional<z.ZodString>;
18
15
  PH_SENTRY_PROJECT: z.ZodOptional<z.ZodString>;
19
16
  }, z.core.$strip>;
20
17
  /**
21
- * Complete runtime environment schema (all PH_CONNECT_* vars)
18
+ * Complete runtime environment schema (all PH_CONNECT_* vars). Only
19
+ * build-metadata + analytics-processor toggles live here; all Connect
20
+ * runtime config lives in `powerhouse.config.json`.
22
21
  */
23
22
  declare const runtimeEnvSchema: z.ZodObject<{
24
23
  PH_CONNECT_VERSION: z.ZodDefault<z.ZodString>;
25
- PH_CONNECT_LOG_LEVEL: z.ZodDefault<z.ZodEnum<{
26
- debug: "debug";
27
- info: "info";
28
- warn: "warn";
29
- error: "error";
30
- }>>;
31
- PH_CONNECT_REQUIRES_HARD_REFRESH: z.ZodDefault<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
32
- true: "true";
33
- false: "false";
34
- }>]>, z.ZodTransform<boolean, boolean | "true" | "false">>>;
35
- PH_CONNECT_WARN_OUTDATED_APP: z.ZodDefault<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
36
- true: "true";
37
- false: "false";
38
- }>]>, z.ZodTransform<boolean, boolean | "true" | "false">>>;
39
- PH_CONNECT_STUDIO_MODE: z.ZodDefault<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
40
- true: "true";
41
- false: "false";
42
- }>]>, z.ZodTransform<boolean, boolean | "true" | "false">>>;
43
- PH_CONNECT_BASE_PATH: z.ZodOptional<z.ZodString>;
44
- PH_CONNECT_DEFAULT_DRIVES_URL: z.ZodOptional<z.ZodString>;
45
- PH_CONNECT_PACKAGES: z.ZodOptional<z.ZodString>;
46
- PH_CONNECT_PACKAGES_REGISTRY: z.ZodOptional<z.ZodString>;
47
- PH_CONNECT_DRIVES_PRESERVE_STRATEGY: z.ZodOptional<z.ZodString>;
48
- PH_CONNECT_VERSION_CHECK_INTERVAL: z.ZodDefault<z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>, z.ZodTransform<number, string | number>>>;
49
24
  PH_CONNECT_CLI_VERSION: z.ZodOptional<z.ZodString>;
50
- PH_CONNECT_FILE_UPLOAD_OPERATIONS_CHUNK_SIZE: z.ZodDefault<z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>, z.ZodTransform<number, string | number>>>;
51
- PH_CONNECT_DISABLE_ADD_DRIVE: z.ZodDefault<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
52
- true: "true";
53
- false: "false";
54
- }>]>, z.ZodTransform<boolean, boolean | "true" | "false">>>;
55
- PH_CONNECT_SEARCH_BAR_ENABLED: z.ZodDefault<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
56
- true: "true";
57
- false: "false";
58
- }>]>, z.ZodTransform<boolean, boolean | "true" | "false">>>;
59
- PH_CONNECT_HIDE_DOCUMENT_MODEL_SELECTION_SETTINGS: z.ZodDefault<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
60
- true: "true";
61
- false: "false";
62
- }>]>, z.ZodTransform<boolean, boolean | "true" | "false">>>;
63
- PH_CONNECT_ENABLED_EDITORS: z.ZodOptional<z.ZodString>;
64
- PH_CONNECT_DISABLED_EDITORS: z.ZodDefault<z.ZodString>;
65
- PH_CONNECT_GA_TRACKING_ID: z.ZodOptional<z.ZodString>;
66
- PH_CONNECT_EXTERNAL_PACKAGES_DISABLED: z.ZodDefault<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
67
- true: "true";
68
- false: "false";
69
- }>]>, z.ZodTransform<boolean, boolean | "true" | "false">>>;
70
- PH_CONNECT_PUBLIC_DRIVES_ENABLED: z.ZodDefault<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
71
- true: "true";
72
- false: "false";
73
- }>]>, z.ZodTransform<boolean, boolean | "true" | "false">>>;
74
- PH_CONNECT_DISABLE_ADD_PUBLIC_DRIVES: z.ZodDefault<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
75
- true: "true";
76
- false: "false";
77
- }>]>, z.ZodTransform<boolean, boolean | "true" | "false">>>;
78
- PH_CONNECT_DISABLE_DELETE_PUBLIC_DRIVES: z.ZodDefault<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
79
- true: "true";
80
- false: "false";
81
- }>]>, z.ZodTransform<boolean, boolean | "true" | "false">>>;
82
- PH_CONNECT_CLOUD_DRIVES_ENABLED: z.ZodDefault<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
83
- true: "true";
84
- false: "false";
85
- }>]>, z.ZodTransform<boolean, boolean | "true" | "false">>>;
86
- PH_CONNECT_DISABLE_ADD_CLOUD_DRIVES: z.ZodDefault<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
87
- true: "true";
88
- false: "false";
89
- }>]>, z.ZodTransform<boolean, boolean | "true" | "false">>>;
90
- PH_CONNECT_DISABLE_DELETE_CLOUD_DRIVES: z.ZodDefault<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
91
- true: "true";
92
- false: "false";
93
- }>]>, z.ZodTransform<boolean, boolean | "true" | "false">>>;
94
- PH_CONNECT_LOCAL_DRIVES_ENABLED: z.ZodDefault<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
95
- true: "true";
96
- false: "false";
97
- }>]>, z.ZodTransform<boolean, boolean | "true" | "false">>>;
98
- PH_CONNECT_DISABLE_ADD_LOCAL_DRIVES: z.ZodDefault<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
99
- true: "true";
100
- false: "false";
101
- }>]>, z.ZodTransform<boolean, boolean | "true" | "false">>>;
102
- PH_CONNECT_DISABLE_DELETE_LOCAL_DRIVES: z.ZodDefault<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
103
- true: "true";
104
- false: "false";
105
- }>]>, z.ZodTransform<boolean, boolean | "true" | "false">>>;
106
- PH_CONNECT_PROCESSORS_ENABLED: z.ZodDefault<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
107
- true: "true";
108
- false: "false";
109
- }>]>, z.ZodTransform<boolean, boolean | "true" | "false">>>;
110
- PH_CONNECT_EXTERNAL_PROCESSORS_ENABLED: z.ZodDefault<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
111
- true: "true";
112
- false: "false";
113
- }>]>, z.ZodTransform<boolean, boolean | "true" | "false">>>;
114
- PH_CONNECT_ANALYTICS_ENABLED: z.ZodDefault<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
115
- true: "true";
116
- false: "false";
117
- }>]>, z.ZodTransform<boolean, boolean | "true" | "false">>>;
118
- PH_CONNECT_ANALYTICS_DATABASE_NAME: z.ZodOptional<z.ZodString>;
119
- PH_CONNECT_ANALYTICS_DATABASE_WORKER_DISABLED: z.ZodDefault<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
120
- true: "true";
121
- false: "false";
122
- }>]>, z.ZodTransform<boolean, boolean | "true" | "false">>>;
123
25
  PH_CONNECT_DIFF_ANALYTICS_ENABLED: z.ZodDefault<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
124
26
  true: "true";
125
27
  false: "false";
@@ -132,14 +34,6 @@ declare const runtimeEnvSchema: z.ZodObject<{
132
34
  true: "true";
133
35
  false: "false";
134
36
  }>]>, z.ZodTransform<boolean, boolean | "true" | "false">>>;
135
- PH_CONNECT_RELATIONAL_PROCESSORS_ENABLED: z.ZodDefault<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
136
- true: "true";
137
- false: "false";
138
- }>]>, z.ZodTransform<boolean, boolean | "true" | "false">>>;
139
- PH_CONNECT_EXTERNAL_RELATIONAL_PROCESSORS_ENABLED: z.ZodDefault<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
140
- true: "true";
141
- false: "false";
142
- }>]>, z.ZodTransform<boolean, boolean | "true" | "false">>>;
143
37
  PH_CONNECT_OPENPANEL_CLIENT_ID: z.ZodOptional<z.ZodString>;
144
38
  PH_CONNECT_OPENPANEL_API_URL: z.ZodOptional<z.ZodString>;
145
39
  PH_CONNECT_OPENPANEL_TRACK_UI_EVENTS: z.ZodDefault<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
@@ -150,131 +44,18 @@ declare const runtimeEnvSchema: z.ZodObject<{
150
44
  true: "true";
151
45
  false: "false";
152
46
  }>]>, z.ZodTransform<boolean, boolean | "true" | "false">>>;
153
- PH_CONNECT_SENTRY_RELEASE: z.ZodOptional<z.ZodString>;
154
- PH_CONNECT_SENTRY_DSN: z.ZodOptional<z.ZodString>;
155
- PH_CONNECT_SENTRY_ENV: z.ZodDefault<z.ZodString>;
156
- PH_CONNECT_SENTRY_TRACING_ENABLED: z.ZodDefault<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
157
- true: "true";
158
- false: "false";
159
- }>]>, z.ZodTransform<boolean, boolean | "true" | "false">>>;
160
- PH_CONNECT_RENOWN_URL: z.ZodDefault<z.ZodString>;
161
- PH_CONNECT_RENOWN_NETWORK_ID: z.ZodDefault<z.ZodString>;
162
- PH_CONNECT_RENOWN_CHAIN_ID: z.ZodDefault<z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>, z.ZodTransform<number, string | number>>>;
163
47
  }, z.core.$strip>;
164
48
  /**
165
49
  * Complete environment schema (build + runtime)
166
50
  */
167
51
  declare const connectEnvSchema: z.ZodObject<{
168
- PH_CONFIG_PATH: z.ZodOptional<z.ZodString>;
169
52
  PH_PACKAGES: z.ZodOptional<z.ZodString>;
170
53
  PH_LOCAL_PACKAGE: z.ZodOptional<z.ZodString>;
171
- PH_DISABLE_LOCAL_PACKAGE: z.ZodDefault<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
172
- true: "true";
173
- false: "false";
174
- }>]>, z.ZodTransform<boolean, boolean | "true" | "false">>>;
175
- PH_WATCH_TIMEOUT: z.ZodDefault<z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>, z.ZodTransform<number, string | number>>>;
176
54
  PH_SENTRY_AUTH_TOKEN: z.ZodOptional<z.ZodString>;
177
55
  PH_SENTRY_ORG: z.ZodOptional<z.ZodString>;
178
56
  PH_SENTRY_PROJECT: z.ZodOptional<z.ZodString>;
179
57
  PH_CONNECT_VERSION: z.ZodDefault<z.ZodString>;
180
- PH_CONNECT_LOG_LEVEL: z.ZodDefault<z.ZodEnum<{
181
- debug: "debug";
182
- info: "info";
183
- warn: "warn";
184
- error: "error";
185
- }>>;
186
- PH_CONNECT_REQUIRES_HARD_REFRESH: z.ZodDefault<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
187
- true: "true";
188
- false: "false";
189
- }>]>, z.ZodTransform<boolean, boolean | "true" | "false">>>;
190
- PH_CONNECT_WARN_OUTDATED_APP: z.ZodDefault<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
191
- true: "true";
192
- false: "false";
193
- }>]>, z.ZodTransform<boolean, boolean | "true" | "false">>>;
194
- PH_CONNECT_STUDIO_MODE: z.ZodDefault<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
195
- true: "true";
196
- false: "false";
197
- }>]>, z.ZodTransform<boolean, boolean | "true" | "false">>>;
198
- PH_CONNECT_BASE_PATH: z.ZodOptional<z.ZodString>;
199
- PH_CONNECT_DEFAULT_DRIVES_URL: z.ZodOptional<z.ZodString>;
200
- PH_CONNECT_PACKAGES: z.ZodOptional<z.ZodString>;
201
- PH_CONNECT_PACKAGES_REGISTRY: z.ZodOptional<z.ZodString>;
202
- PH_CONNECT_DRIVES_PRESERVE_STRATEGY: z.ZodOptional<z.ZodString>;
203
- PH_CONNECT_VERSION_CHECK_INTERVAL: z.ZodDefault<z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>, z.ZodTransform<number, string | number>>>;
204
58
  PH_CONNECT_CLI_VERSION: z.ZodOptional<z.ZodString>;
205
- PH_CONNECT_FILE_UPLOAD_OPERATIONS_CHUNK_SIZE: z.ZodDefault<z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>, z.ZodTransform<number, string | number>>>;
206
- PH_CONNECT_DISABLE_ADD_DRIVE: z.ZodDefault<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
207
- true: "true";
208
- false: "false";
209
- }>]>, z.ZodTransform<boolean, boolean | "true" | "false">>>;
210
- PH_CONNECT_SEARCH_BAR_ENABLED: z.ZodDefault<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
211
- true: "true";
212
- false: "false";
213
- }>]>, z.ZodTransform<boolean, boolean | "true" | "false">>>;
214
- PH_CONNECT_HIDE_DOCUMENT_MODEL_SELECTION_SETTINGS: z.ZodDefault<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
215
- true: "true";
216
- false: "false";
217
- }>]>, z.ZodTransform<boolean, boolean | "true" | "false">>>;
218
- PH_CONNECT_ENABLED_EDITORS: z.ZodOptional<z.ZodString>;
219
- PH_CONNECT_DISABLED_EDITORS: z.ZodDefault<z.ZodString>;
220
- PH_CONNECT_GA_TRACKING_ID: z.ZodOptional<z.ZodString>;
221
- PH_CONNECT_EXTERNAL_PACKAGES_DISABLED: z.ZodDefault<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
222
- true: "true";
223
- false: "false";
224
- }>]>, z.ZodTransform<boolean, boolean | "true" | "false">>>;
225
- PH_CONNECT_PUBLIC_DRIVES_ENABLED: z.ZodDefault<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
226
- true: "true";
227
- false: "false";
228
- }>]>, z.ZodTransform<boolean, boolean | "true" | "false">>>;
229
- PH_CONNECT_DISABLE_ADD_PUBLIC_DRIVES: z.ZodDefault<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
230
- true: "true";
231
- false: "false";
232
- }>]>, z.ZodTransform<boolean, boolean | "true" | "false">>>;
233
- PH_CONNECT_DISABLE_DELETE_PUBLIC_DRIVES: z.ZodDefault<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
234
- true: "true";
235
- false: "false";
236
- }>]>, z.ZodTransform<boolean, boolean | "true" | "false">>>;
237
- PH_CONNECT_CLOUD_DRIVES_ENABLED: z.ZodDefault<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
238
- true: "true";
239
- false: "false";
240
- }>]>, z.ZodTransform<boolean, boolean | "true" | "false">>>;
241
- PH_CONNECT_DISABLE_ADD_CLOUD_DRIVES: z.ZodDefault<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
242
- true: "true";
243
- false: "false";
244
- }>]>, z.ZodTransform<boolean, boolean | "true" | "false">>>;
245
- PH_CONNECT_DISABLE_DELETE_CLOUD_DRIVES: z.ZodDefault<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
246
- true: "true";
247
- false: "false";
248
- }>]>, z.ZodTransform<boolean, boolean | "true" | "false">>>;
249
- PH_CONNECT_LOCAL_DRIVES_ENABLED: z.ZodDefault<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
250
- true: "true";
251
- false: "false";
252
- }>]>, z.ZodTransform<boolean, boolean | "true" | "false">>>;
253
- PH_CONNECT_DISABLE_ADD_LOCAL_DRIVES: z.ZodDefault<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
254
- true: "true";
255
- false: "false";
256
- }>]>, z.ZodTransform<boolean, boolean | "true" | "false">>>;
257
- PH_CONNECT_DISABLE_DELETE_LOCAL_DRIVES: z.ZodDefault<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
258
- true: "true";
259
- false: "false";
260
- }>]>, z.ZodTransform<boolean, boolean | "true" | "false">>>;
261
- PH_CONNECT_PROCESSORS_ENABLED: z.ZodDefault<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
262
- true: "true";
263
- false: "false";
264
- }>]>, z.ZodTransform<boolean, boolean | "true" | "false">>>;
265
- PH_CONNECT_EXTERNAL_PROCESSORS_ENABLED: z.ZodDefault<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
266
- true: "true";
267
- false: "false";
268
- }>]>, z.ZodTransform<boolean, boolean | "true" | "false">>>;
269
- PH_CONNECT_ANALYTICS_ENABLED: z.ZodDefault<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
270
- true: "true";
271
- false: "false";
272
- }>]>, z.ZodTransform<boolean, boolean | "true" | "false">>>;
273
- PH_CONNECT_ANALYTICS_DATABASE_NAME: z.ZodOptional<z.ZodString>;
274
- PH_CONNECT_ANALYTICS_DATABASE_WORKER_DISABLED: z.ZodDefault<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
275
- true: "true";
276
- false: "false";
277
- }>]>, z.ZodTransform<boolean, boolean | "true" | "false">>>;
278
59
  PH_CONNECT_DIFF_ANALYTICS_ENABLED: z.ZodDefault<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
279
60
  true: "true";
280
61
  false: "false";
@@ -287,14 +68,6 @@ declare const connectEnvSchema: z.ZodObject<{
287
68
  true: "true";
288
69
  false: "false";
289
70
  }>]>, z.ZodTransform<boolean, boolean | "true" | "false">>>;
290
- PH_CONNECT_RELATIONAL_PROCESSORS_ENABLED: z.ZodDefault<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
291
- true: "true";
292
- false: "false";
293
- }>]>, z.ZodTransform<boolean, boolean | "true" | "false">>>;
294
- PH_CONNECT_EXTERNAL_RELATIONAL_PROCESSORS_ENABLED: z.ZodDefault<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
295
- true: "true";
296
- false: "false";
297
- }>]>, z.ZodTransform<boolean, boolean | "true" | "false">>>;
298
71
  PH_CONNECT_OPENPANEL_CLIENT_ID: z.ZodOptional<z.ZodString>;
299
72
  PH_CONNECT_OPENPANEL_API_URL: z.ZodOptional<z.ZodString>;
300
73
  PH_CONNECT_OPENPANEL_TRACK_UI_EVENTS: z.ZodDefault<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
@@ -305,16 +78,6 @@ declare const connectEnvSchema: z.ZodObject<{
305
78
  true: "true";
306
79
  false: "false";
307
80
  }>]>, z.ZodTransform<boolean, boolean | "true" | "false">>>;
308
- PH_CONNECT_SENTRY_RELEASE: z.ZodOptional<z.ZodString>;
309
- PH_CONNECT_SENTRY_DSN: z.ZodOptional<z.ZodString>;
310
- PH_CONNECT_SENTRY_ENV: z.ZodDefault<z.ZodString>;
311
- PH_CONNECT_SENTRY_TRACING_ENABLED: z.ZodDefault<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
312
- true: "true";
313
- false: "false";
314
- }>]>, z.ZodTransform<boolean, boolean | "true" | "false">>>;
315
- PH_CONNECT_RENOWN_URL: z.ZodDefault<z.ZodString>;
316
- PH_CONNECT_RENOWN_NETWORK_ID: z.ZodDefault<z.ZodString>;
317
- PH_CONNECT_RENOWN_CHAIN_ID: z.ZodDefault<z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>, z.ZodTransform<number, string | number>>>;
318
81
  }, z.core.$strip>;
319
82
  /**
320
83
  * Inferred TypeScript types from schemas
@@ -338,28 +101,22 @@ interface LoadEnvOptions {
338
101
  /**
339
102
  * Loads and validates environment variables with priority:
340
103
  * 1. process.env (highest)
341
- * 2. options
342
- * 3. fileEnv
343
- * 4. defaults from schema (lowest)
104
+ * 2. fileEnv
105
+ * 3. defaults from schema (lowest)
344
106
  *
345
107
  * @param options - Environment sources in priority order
346
108
  * @returns Validated and typed environment configuration
347
109
  */
348
110
  declare function loadConnectEnv(options?: LoadEnvOptions): ConnectEnv;
349
111
  /**
350
- * Loads only runtime environment variables
112
+ * Loads only runtime environment variables (build metadata + Sentry +
113
+ * analytics-processor toggles — everything in the Connect runtime schema
114
+ * is sourced from powerhouse.config.json, not env).
351
115
  *
352
116
  * @param options - Environment sources in priority order
353
117
  * @returns Validated runtime environment configuration
354
118
  */
355
119
  declare function loadRuntimeEnv(options?: LoadEnvOptions): ConnectRuntimeEnv;
356
- /**
357
- * Loads only build-time environment variables
358
- *
359
- * @param options - Environment sources in priority order
360
- * @returns Validated build environment configuration
361
- */
362
- declare function loadBuildEnv(options?: LoadEnvOptions): ConnectBuildEnv;
363
120
  /**
364
121
  * Safely sets Connect environment variables with validation.
365
122
  * Invalid values will log a warning and be skipped.
@@ -369,9 +126,8 @@ declare function loadBuildEnv(options?: LoadEnvOptions): ConnectBuildEnv;
369
126
  * @example
370
127
  * ```ts
371
128
  * setConnectEnv({
372
- * PH_CONNECT_LOG_LEVEL: "debug",
373
129
  * PH_CONNECT_VERSION: "1.2.3",
374
- * PH_CONNECT_STUDIO_MODE: true,
130
+ * PH_CONNECT_SENTRY_DSN: "https://…",
375
131
  * });
376
132
  * ```
377
133
  */
@@ -393,6 +149,280 @@ declare function setConnectEnv(values: Partial<ConnectEnv>): void;
393
149
  * normalizeBasePath('') // '/'
394
150
  */
395
151
  declare function normalizeBasePath(basePath: string): string;
152
+ /**
153
+ * Base storage namespace for a Connect instance served at the root of an
154
+ * origin. Kept as a literal so root deployments resolve to a byte-identical
155
+ * value with no migration.
156
+ */
157
+ declare const ROOT_STORAGE_NAMESPACE = "reactor";
158
+ /**
159
+ * Derives the origin-scoped storage namespace from a Connect base path.
160
+ *
161
+ * Connect instances served under different path prefixes of the same origin
162
+ * (e.g. behind a reverse proxy) otherwise share all origin-scoped browser
163
+ * storage (PGlite data dirs, IndexedDB). This produces a deterministic,
164
+ * collision-free namespace per distinct prefix that is valid as an
165
+ * IndexedDB database name.
166
+ *
167
+ * - root base path ("/" or unset) -> "reactor" (byte-identical to the legacy
168
+ * key, so existing root deployments keep their data with zero migration)
169
+ * - any non-root base path -> "reactor--<slug>", e.g.
170
+ * "/reactor-project/vetra-studio/" -> "reactor--reactor-project-vetra-studio"
171
+ *
172
+ * @param basePath - The Connect base path (env.PH_CONNECT_BASE_PATH ||
173
+ * import.meta.env.BASE_URL); normalized internally.
174
+ * @returns The storage namespace.
175
+ *
176
+ * @example
177
+ * getStorageNamespace('/') // 'reactor'
178
+ * getStorageNamespace('/reactor-project/vetra-studio/') // 'reactor--reactor-project-vetra-studio'
179
+ */
180
+ declare function getStorageNamespace(basePath: string): string;
181
+ //#endregion
182
+ //#region connect/runtime-config.d.ts
183
+ type RuntimePowerhouseConfig = {
184
+ schemaVersion: 2;
185
+ packages: PowerhousePackage[];
186
+ packageRegistryUrl?: string;
187
+ localPackage: {
188
+ name: string;
189
+ version: string;
190
+ } | null;
191
+ connect: PHConnectRuntimeConfig;
192
+ };
193
+ /**
194
+ * Default values for every Connect-relevant field. Merged with the
195
+ * `connect.*` block of whatever `powerhouse.config.json` Connect is pointed
196
+ * at, so the SPA never has to guard against undefined fields.
197
+ *
198
+ * Scoped to fields Connect actually reads at runtime — build-time concerns
199
+ * (studio port, switchboard port, reactor.*, auth.*) live in the source
200
+ * config but are not Connect's business and not represented here.
201
+ *
202
+ * Single source of truth for defaults across Connect's runtime read (via
203
+ * ConfigLoader merge), the dist emitter, and the codegen scaffold template.
204
+ */
205
+ declare const DEFAULT_CONNECT_CONFIG: PHConnectRuntimeConfig;
206
+ declare function buildRuntimeConfig(source: Pick<PowerhouseConfig, "packages" | "connect" | "packageRegistryUrl">, projectInfo: {
207
+ name: string;
208
+ version: string;
209
+ } | null): RuntimePowerhouseConfig;
210
+ //#endregion
211
+ //#region connect/schema-fragments.d.ts
212
+ declare const powerhousePackageSchema: {
213
+ readonly type: "object";
214
+ readonly additionalProperties: false;
215
+ readonly required: readonly ["packageName"];
216
+ readonly properties: {
217
+ readonly packageName: {
218
+ readonly type: "string";
219
+ readonly description: "Fully qualified npm package name (e.g. @scope/name).";
220
+ };
221
+ readonly version: {
222
+ readonly type: "string";
223
+ readonly description: "Exact version (registry providers) or omit to take latest.";
224
+ };
225
+ readonly provider: {
226
+ readonly type: "string";
227
+ readonly enum: readonly ["npm", "github", "local", "registry"];
228
+ readonly description: "Where Connect should resolve the package from at runtime.";
229
+ };
230
+ readonly url: {
231
+ readonly type: "string";
232
+ readonly description: "Override URL for non-registry providers (e.g. github tarball).";
233
+ };
234
+ };
235
+ };
236
+ declare const phConnectRuntimeConfigSchema: {
237
+ readonly type: "object";
238
+ readonly additionalProperties: false;
239
+ readonly description: "Connect-specific UI customisations. All fields optional; omit the section entirely for default behaviour.";
240
+ readonly properties: {
241
+ readonly branding: {
242
+ readonly type: "object";
243
+ readonly additionalProperties: false;
244
+ readonly description: "App identity and visual branding.";
245
+ readonly properties: {
246
+ readonly appName: {
247
+ readonly type: "string";
248
+ readonly description: "Browser tab title and any in-app brand text. Defaults to 'Powerhouse Connect'.";
249
+ };
250
+ readonly homeBackground: {
251
+ readonly type: readonly ["string", "null"];
252
+ readonly description: "Hero image on the empty home screen. URL or path to override; null or omitted uses the bundled default image.";
253
+ };
254
+ };
255
+ };
256
+ readonly app: {
257
+ readonly type: "object";
258
+ readonly additionalProperties: false;
259
+ readonly description: "Top-level Connect application behaviour.";
260
+ readonly properties: {
261
+ readonly logLevel: {
262
+ readonly type: "string";
263
+ readonly enum: readonly ["debug", "info", "warn", "error"];
264
+ readonly description: "Log level applied by Connect's logger at boot. Affects browser-side output only.";
265
+ readonly default: "info";
266
+ };
267
+ readonly basePath: {
268
+ readonly type: "string";
269
+ readonly description: "Base path Connect is mounted under (e.g. '/connect' for subpath deploys). Normalised at runtime to start and end with '/'. Defaults to the build-time BASE_URL.";
270
+ readonly default: "/";
271
+ };
272
+ };
273
+ };
274
+ readonly packages: {
275
+ readonly type: "object";
276
+ readonly additionalProperties: false;
277
+ readonly description: "Runtime behaviour for the Connect package manager (separate from top-level `packages[]`, which lists which packages to load).";
278
+ readonly properties: {
279
+ readonly externalEnabled: {
280
+ readonly type: "boolean";
281
+ readonly description: "When false, Connect refuses to load any package that wasn't bundled at build time. Affirmative replacement for the legacy PH_CONNECT_EXTERNAL_PACKAGES_DISABLED env var.";
282
+ readonly default: true;
283
+ };
284
+ readonly liveReload: {
285
+ readonly type: "boolean";
286
+ readonly description: "When true, Connect subscribes to the static-mode `/__packages` SSE channel so live publishes flow into the running tab without a page reload. Only works under hosting that serves this channel (e.g. ph-clint static mode).";
287
+ readonly default: false;
288
+ };
289
+ };
290
+ };
291
+ readonly drives: {
292
+ readonly type: "object";
293
+ readonly additionalProperties: false;
294
+ readonly description: "Default-drive and add-drive UI behaviour.";
295
+ readonly properties: {
296
+ readonly allowAddDrive: {
297
+ readonly type: "boolean";
298
+ readonly description: "When false, the SPA hides the 'add drive' affordance entirely (top-level). Per-section overrides live in `sections.{remote,local}.allowAdd`.";
299
+ readonly default: true;
300
+ };
301
+ readonly defaultDrives: {
302
+ readonly type: "array";
303
+ readonly description: "Drives the SPA auto-connects to on first load. Each must specify a URL; name and icon are optional overrides.";
304
+ readonly default: readonly [];
305
+ readonly items: {
306
+ readonly type: "object";
307
+ readonly additionalProperties: false;
308
+ readonly required: readonly ["url"];
309
+ readonly properties: {
310
+ readonly url: {
311
+ readonly type: "string";
312
+ };
313
+ readonly name: {
314
+ readonly type: readonly ["string", "null"];
315
+ };
316
+ readonly icon: {
317
+ readonly type: readonly ["string", "null"];
318
+ };
319
+ };
320
+ };
321
+ };
322
+ readonly preserveStrategy: {
323
+ readonly type: "string";
324
+ readonly enum: readonly ["preserve-all", "preserve-by-url-and-detach"];
325
+ readonly description: "Strategy applied when defaultDrives change between deploys. 'preserve-all' keeps user-added drives untouched; 'preserve-by-url-and-detach' detaches removed default drives. No schema default — opt-in only.";
326
+ };
327
+ readonly sections: {
328
+ readonly type: "object";
329
+ readonly additionalProperties: false;
330
+ readonly description: "Per-section visibility and affordance toggles. `remote` covers what was historically split into 'public' + 'cloud'; `local` is browser-local drives.";
331
+ readonly properties: {
332
+ readonly remote: {
333
+ readonly type: "object";
334
+ readonly additionalProperties: false;
335
+ readonly description: "Visibility and add/delete affordances for a drive section in the sidebar.";
336
+ readonly properties: {
337
+ readonly enabled: {
338
+ readonly type: "boolean";
339
+ readonly description: "When false, the section is hidden in the sidebar.";
340
+ readonly default: true;
341
+ };
342
+ readonly allowAdd: {
343
+ readonly type: "boolean";
344
+ readonly description: "When false, the section's 'add drive' affordance is hidden.";
345
+ readonly default: true;
346
+ };
347
+ readonly allowDelete: {
348
+ readonly type: "boolean";
349
+ readonly description: "When false, drives in this section cannot be deleted from the UI.";
350
+ readonly default: true;
351
+ };
352
+ };
353
+ };
354
+ readonly local: {
355
+ readonly type: "object";
356
+ readonly additionalProperties: false;
357
+ readonly description: "Visibility and add/delete affordances for a drive section in the sidebar.";
358
+ readonly properties: {
359
+ readonly enabled: {
360
+ readonly type: "boolean";
361
+ readonly description: "When false, the section is hidden in the sidebar.";
362
+ readonly default: true;
363
+ };
364
+ readonly allowAdd: {
365
+ readonly type: "boolean";
366
+ readonly description: "When false, the section's 'add drive' affordance is hidden.";
367
+ readonly default: true;
368
+ };
369
+ readonly allowDelete: {
370
+ readonly type: "boolean";
371
+ readonly description: "When false, drives in this section cannot be deleted from the UI.";
372
+ readonly default: true;
373
+ };
374
+ };
375
+ };
376
+ };
377
+ };
378
+ };
379
+ };
380
+ readonly renown: {
381
+ readonly type: "object";
382
+ readonly additionalProperties: false;
383
+ readonly description: "Renown identity / authentication coordinates.";
384
+ readonly properties: {
385
+ readonly url: {
386
+ readonly type: "string";
387
+ readonly description: "Renown auth service URL.";
388
+ readonly default: "https://www.renown.id";
389
+ };
390
+ readonly networkId: {
391
+ readonly type: "string";
392
+ readonly description: "CAIP-2 network namespace (e.g. 'eip155').";
393
+ readonly default: "eip155";
394
+ };
395
+ readonly chainId: {
396
+ readonly type: "number";
397
+ readonly description: "CAIP-2 chain reference within the network namespace.";
398
+ readonly default: 1;
399
+ };
400
+ };
401
+ };
402
+ readonly sentry: {
403
+ readonly type: "object";
404
+ readonly additionalProperties: false;
405
+ readonly description: "Sentry error-tracking coordinates. Set `dsn` to enable Sentry; leave `dsn` null to disable. The Sentry release tag stays build-time (stamped via Vite's `define` from WORKSPACE_VERSION) so it always matches the sourcemaps uploaded by CI.";
406
+ readonly properties: {
407
+ readonly dsn: {
408
+ readonly type: readonly ["string", "null"];
409
+ readonly description: "Sentry DSN URL. `null` disables Sentry entirely; the SPA never loads the Sentry SDK chunk.";
410
+ readonly default: null;
411
+ };
412
+ readonly env: {
413
+ readonly type: "string";
414
+ readonly description: "Sentry environment label, surfaced as the `environment` tag on every event.";
415
+ readonly default: "dev";
416
+ };
417
+ readonly tracing: {
418
+ readonly type: "boolean";
419
+ readonly description: "Enable Sentry performance tracing.";
420
+ readonly default: false;
421
+ };
422
+ };
423
+ };
424
+ };
425
+ };
396
426
  //#endregion
397
- export { ConnectBuildEnv, ConnectEnv, ConnectRuntimeEnv, LoadEnvOptions, connectEnvSchema, loadBuildEnv, loadConnectEnv, loadRuntimeEnv, normalizeBasePath, runtimeEnvSchema, setConnectEnv };
427
+ export { ConfigAdapter, ConfigLoader, ConfigShape, ConnectBuildEnv, ConnectEnv, ConnectRuntimeEnv, DEFAULT_CONNECT_CONFIG, DeepPartial, JsonConfigAdapter, JsonConfigAdapterOptions, LoadEnvOptions, ROOT_STORAGE_NAMESPACE, RuntimePowerhouseConfig, buildRuntimeConfig, connectEnvSchema, deepMerge, getStorageNamespace, loadConnectEnv, loadRuntimeEnv, normalizeBasePath, phConnectRuntimeConfigSchema, powerhousePackageSchema, runtimeEnvSchema, setConnectEnv };
398
428
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../../connect/env-config.ts"],"mappings":";;;;;AAAwB;cA4BlB,cAAA,EAAc,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cA0aP,gBAAA,EAAgB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAWhB,gBAAA,EAAgB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAKjB,eAAA,GAAkB,CAAA,CAAE,KAAA,QAAa,cAAA;AAAA,KACjC,iBAAA,GAAoB,CAAA,CAAE,KAAA,QAAa,gBAAA;AAAA,KACnC,UAAA,GAAa,CAAA,CAAE,KAAA,QAAa,gBAAA;;;;UASvB,cAAA;;;;EAIf,UAAA,GAAa,MAAA;EA/Bc;;;EAmC3B,OAAA,GAAU,MAAA;AAAA;;;;;;;;;;;iBAmEI,cAAA,CAAe,OAAA,GAAS,cAAA,GAAsB,UAAA;;;;;;;iBAgB9C,cAAA,CACd,OAAA,GAAS,cAAA,GACR,iBAAA;;;;;;;iBAYa,YAAA,CAAa,OAAA,GAAS,cAAA,GAAsB,eAAA;;;;;;;;;;;;;;;;iBAqB5C,aAAA,CAAc,MAAA,EAAQ,OAAA,CAAQ,UAAA;;;;;;;;;;;;;;;;;iBA4C9B,iBAAA,CAAkB,QAAA"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../../connect/env-config.ts","../../connect/runtime-config.ts","../../connect/schema-fragments.ts"],"mappings":";;;;;;;;;cAoBM,cAAA,EAAc,CAAA,CAAA,SAAA;;;;;;;;;;;;cA2HP,gBAAA,EAAgB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAOhB,gBAAA,EAAgB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAKjB,eAAA,GAAkB,CAAA,CAAE,KAAA,QAAa,cAAA;AAAA,KACjC,iBAAA,GAAoB,CAAA,CAAE,KAAA,QAAa,gBAAA;AAAA,KACnC,UAAA,GAAa,CAAA,CAAE,KAAA,QAAa,gBAAA;;;;UASvB,cAAA;;;;EAIf,UAAA,GAAa,MAAA;;;;EAIb,OAAA,GAAU,MAAA;AAAA;;;;;;;;;;iBAkEI,cAAA,CAAe,OAAA,GAAS,cAAA,GAAsB,UAAA;;;;;;;;;iBAkB9C,cAAA,CACd,OAAA,GAAS,cAAA,GACR,iBAAA;;;;;;;;;;;;;;;iBAoBa,aAAA,CAAc,MAAA,EAAQ,OAAA,CAAQ,UAAA;;;;;;;;;;;;;;;;;iBA4C9B,iBAAA,CAAkB,QAAA;;;;;;cA8BrB,sBAAA;;;;;;;;;;;;;;;;;;;;;;;iBAwBG,mBAAA,CAAoB,QAAA;;;KCpXxB,uBAAA;EACV,aAAA;EACA,QAAA,EAAU,iBAAA;EACV,kBAAA;EACA,YAAA;IAAgB,IAAA;IAAc,OAAA;EAAA;EAC9B,OAAA,EAAS,sBAAA;AAAA;;;;;;;;;;;;;cAeE,sBAAA,EAAwB,sBAAA;AAAA,iBAoCrB,kBAAA,CACd,MAAA,EAAQ,IAAA,CAAK,gBAAA,kDACb,WAAA;EAAe,IAAA;EAAc,OAAA;AAAA,WAC5B,uBAAA;;;cC1DU,uBAAA;EAAA;;;;;;;;;;;;;;;;;;;;;;;cAuDA,4BAAA;EAAA"}