everything-dev 1.12.4 → 1.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app.cjs +17 -5
- package/dist/app.cjs.map +1 -1
- package/dist/app.mjs +17 -5
- package/dist/app.mjs.map +1 -1
- package/dist/cli/init.cjs +151 -74
- package/dist/cli/init.cjs.map +1 -1
- package/dist/cli/init.d.cts +1 -1
- package/dist/cli/init.d.cts.map +1 -1
- package/dist/cli/init.d.mts +1 -1
- package/dist/cli/init.d.mts.map +1 -1
- package/dist/cli/init.mjs +152 -75
- package/dist/cli/init.mjs.map +1 -1
- package/dist/cli/prompts.cjs +3 -3
- package/dist/cli/prompts.cjs.map +1 -1
- package/dist/cli/prompts.mjs +3 -3
- package/dist/cli/prompts.mjs.map +1 -1
- package/dist/cli/status.cjs +22 -0
- package/dist/cli/status.cjs.map +1 -1
- package/dist/cli/status.mjs +22 -0
- package/dist/cli/status.mjs.map +1 -1
- package/dist/cli/sync.cjs +15 -56
- package/dist/cli/sync.cjs.map +1 -1
- package/dist/cli/sync.mjs +15 -56
- package/dist/cli/sync.mjs.map +1 -1
- package/dist/cli/upgrade.cjs +59 -5
- package/dist/cli/upgrade.cjs.map +1 -1
- package/dist/cli/upgrade.mjs +59 -5
- package/dist/cli/upgrade.mjs.map +1 -1
- package/dist/cli.cjs +1 -1
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.mjs +1 -1
- package/dist/cli.mjs.map +1 -1
- package/dist/config.cjs +206 -69
- package/dist/config.cjs.map +1 -1
- package/dist/config.d.cts +13 -6
- package/dist/config.d.cts.map +1 -1
- package/dist/config.d.mts +13 -6
- package/dist/config.d.mts.map +1 -1
- package/dist/config.mjs +201 -71
- package/dist/config.mjs.map +1 -1
- package/dist/contract.d.cts +106 -10
- package/dist/contract.d.cts.map +1 -1
- package/dist/contract.d.mts +106 -10
- package/dist/contract.d.mts.map +1 -1
- package/dist/host.cjs +34 -1
- package/dist/host.cjs.map +1 -1
- package/dist/host.d.cts.map +1 -1
- package/dist/host.d.mts.map +1 -1
- package/dist/host.mjs +34 -1
- package/dist/host.mjs.map +1 -1
- package/dist/index.cjs +16 -0
- package/dist/index.d.cts +5 -3
- package/dist/index.d.mts +5 -3
- package/dist/index.mjs +5 -3
- package/dist/internal/manifest-normalizer.cjs +14 -1
- package/dist/internal/manifest-normalizer.cjs.map +1 -1
- package/dist/internal/manifest-normalizer.mjs +14 -1
- package/dist/internal/manifest-normalizer.mjs.map +1 -1
- package/dist/merge.cjs +113 -0
- package/dist/merge.cjs.map +1 -0
- package/dist/merge.d.cts +7 -0
- package/dist/merge.d.cts.map +1 -0
- package/dist/merge.d.mts +7 -0
- package/dist/merge.d.mts.map +1 -0
- package/dist/merge.mjs +107 -0
- package/dist/merge.mjs.map +1 -0
- package/dist/orchestrator.d.cts +1 -1
- package/dist/orchestrator.d.mts +1 -1
- package/dist/plugin.cjs +117 -105
- package/dist/plugin.cjs.map +1 -1
- package/dist/plugin.d.cts +115 -9
- package/dist/plugin.d.cts.map +1 -1
- package/dist/plugin.d.mts +115 -9
- package/dist/plugin.d.mts.map +1 -1
- package/dist/plugin.mjs +117 -105
- package/dist/plugin.mjs.map +1 -1
- package/dist/service-descriptor.cjs +21 -0
- package/dist/service-descriptor.cjs.map +1 -1
- package/dist/service-descriptor.d.cts +23 -1
- package/dist/service-descriptor.d.cts.map +1 -1
- package/dist/service-descriptor.d.mts +23 -1
- package/dist/service-descriptor.d.mts.map +1 -1
- package/dist/service-descriptor.mjs +21 -0
- package/dist/service-descriptor.mjs.map +1 -1
- package/dist/shared.cjs +24 -2
- package/dist/shared.cjs.map +1 -1
- package/dist/shared.d.cts +3 -0
- package/dist/shared.d.cts.map +1 -1
- package/dist/shared.d.mts +3 -0
- package/dist/shared.d.mts.map +1 -1
- package/dist/shared.mjs +25 -3
- package/dist/shared.mjs.map +1 -1
- package/dist/sidebar.cjs +124 -0
- package/dist/sidebar.cjs.map +1 -0
- package/dist/sidebar.d.cts +8 -0
- package/dist/sidebar.d.cts.map +1 -0
- package/dist/sidebar.d.mts +8 -0
- package/dist/sidebar.d.mts.map +1 -0
- package/dist/sidebar.mjs +122 -0
- package/dist/sidebar.mjs.map +1 -0
- package/dist/types.cjs +104 -10
- package/dist/types.cjs.map +1 -1
- package/dist/types.d.cts +256 -29
- package/dist/types.d.cts.map +1 -1
- package/dist/types.d.mts +256 -29
- package/dist/types.d.mts.map +1 -1
- package/dist/types.mjs +100 -11
- package/dist/types.mjs.map +1 -1
- package/dist/utils/path-match.cjs +18 -0
- package/dist/utils/path-match.cjs.map +1 -0
- package/dist/utils/path-match.mjs +17 -0
- package/dist/utils/path-match.mjs.map +1 -0
- package/dist/utils/save-config.cjs +19 -0
- package/dist/utils/save-config.cjs.map +1 -0
- package/dist/utils/save-config.mjs +18 -0
- package/dist/utils/save-config.mjs.map +1 -0
- package/package.json +6 -6
- package/skills/dev-workflow/SKILL.md +8 -0
- package/skills/extends-config/SKILL.md +132 -0
- package/skills/init-upgrade/SKILL.md +128 -0
- package/skills/publish-sync/SKILL.md +30 -0
- package/src/app.ts +15 -5
- package/src/cli/init.ts +207 -108
- package/src/cli/prompts.ts +2 -2
- package/src/cli/status.ts +20 -0
- package/src/cli/sync.ts +27 -96
- package/src/cli/upgrade.ts +65 -3
- package/src/cli.ts +1 -1
- package/src/config.ts +306 -119
- package/src/host.ts +45 -0
- package/src/index.ts +1 -0
- package/src/internal/manifest-normalizer.ts +16 -4
- package/src/merge.ts +198 -0
- package/src/plugin.ts +340 -318
- package/src/service-descriptor.ts +23 -0
- package/src/shared.ts +48 -5
- package/src/sidebar.ts +162 -0
- package/src/types.ts +134 -28
- package/src/utils/path-match.ts +16 -0
- package/src/utils/save-config.ts +20 -0
- package/cli.js +0 -10
package/dist/types.d.mts
CHANGED
|
@@ -1,29 +1,13 @@
|
|
|
1
1
|
import { z } from "./sdk.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/types.d.ts
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
development?: string;
|
|
12
|
-
production?: string;
|
|
13
|
-
account?: string;
|
|
14
|
-
};
|
|
15
|
-
development?: string;
|
|
16
|
-
production?: string;
|
|
17
|
-
integrity?: string;
|
|
18
|
-
name?: string;
|
|
19
|
-
version?: string;
|
|
20
|
-
proxy?: string;
|
|
21
|
-
variables?: Record<string, string>;
|
|
22
|
-
secrets?: string[];
|
|
23
|
-
app?: Record<string, Record<string, unknown>>;
|
|
24
|
-
shared?: Record<string, Record<string, Record<string, unknown>>>;
|
|
25
|
-
plugins?: Record<string, BosConfigInput>;
|
|
26
|
-
}
|
|
4
|
+
declare const ExtendsSchema: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
5
|
+
development: z.ZodOptional<z.ZodString>;
|
|
6
|
+
production: z.ZodOptional<z.ZodString>;
|
|
7
|
+
staging: z.ZodOptional<z.ZodString>;
|
|
8
|
+
}, z.core.$strip>]>;
|
|
9
|
+
type Extends = z.infer<typeof ExtendsSchema>;
|
|
10
|
+
type ExtendsConfig = Extract<Extends, Record<string, string | undefined>>;
|
|
27
11
|
declare const SourceModeSchema: z.ZodEnum<{
|
|
28
12
|
local: "local";
|
|
29
13
|
remote: "remote";
|
|
@@ -58,6 +42,23 @@ declare const FederationEntrySchema: z.ZodObject<{
|
|
|
58
42
|
integrity: z.ZodOptional<z.ZodString>;
|
|
59
43
|
}, z.core.$strip>;
|
|
60
44
|
type FederationEntry = z.infer<typeof FederationEntrySchema>;
|
|
45
|
+
declare const SidebarRoleSchema: z.ZodEnum<{
|
|
46
|
+
anon: "anon";
|
|
47
|
+
member: "member";
|
|
48
|
+
admin: "admin";
|
|
49
|
+
}>;
|
|
50
|
+
type SidebarRole = z.infer<typeof SidebarRoleSchema>;
|
|
51
|
+
declare const SidebarItemSchema: z.ZodObject<{
|
|
52
|
+
icon: z.ZodString;
|
|
53
|
+
label: z.ZodString;
|
|
54
|
+
to: z.ZodOptional<z.ZodString>;
|
|
55
|
+
roleRequired: z.ZodOptional<z.ZodEnum<{
|
|
56
|
+
anon: "anon";
|
|
57
|
+
member: "member";
|
|
58
|
+
admin: "admin";
|
|
59
|
+
}>>;
|
|
60
|
+
}, z.core.$strip>;
|
|
61
|
+
type SidebarItem = z.infer<typeof SidebarItemSchema>;
|
|
61
62
|
declare const ApiPluginConfigSchema: z.ZodObject<{
|
|
62
63
|
name: z.ZodString;
|
|
63
64
|
development: z.ZodOptional<z.ZodString>;
|
|
@@ -66,10 +67,31 @@ declare const ApiPluginConfigSchema: z.ZodObject<{
|
|
|
66
67
|
proxy: z.ZodOptional<z.ZodString>;
|
|
67
68
|
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
68
69
|
secrets: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
70
|
+
sidebar: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
71
|
+
icon: z.ZodString;
|
|
72
|
+
label: z.ZodString;
|
|
73
|
+
to: z.ZodOptional<z.ZodString>;
|
|
74
|
+
roleRequired: z.ZodOptional<z.ZodEnum<{
|
|
75
|
+
anon: "anon";
|
|
76
|
+
member: "member";
|
|
77
|
+
admin: "admin";
|
|
78
|
+
}>>;
|
|
79
|
+
}, z.core.$strip>>>;
|
|
69
80
|
}, z.core.$strip>;
|
|
70
81
|
type ApiPluginConfig = z.infer<typeof ApiPluginConfigSchema>;
|
|
82
|
+
declare const PluginUiConfigSchema: z.ZodObject<{
|
|
83
|
+
name: z.ZodString;
|
|
84
|
+
development: z.ZodOptional<z.ZodString>;
|
|
85
|
+
production: z.ZodOptional<z.ZodString>;
|
|
86
|
+
integrity: z.ZodOptional<z.ZodString>;
|
|
87
|
+
}, z.core.$strip>;
|
|
88
|
+
type PluginUiConfig = z.infer<typeof PluginUiConfigSchema>;
|
|
71
89
|
declare const BosPluginRefSchema: z.ZodObject<{
|
|
72
|
-
extends: z.ZodOptional<z.ZodString
|
|
90
|
+
extends: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
91
|
+
development: z.ZodOptional<z.ZodString>;
|
|
92
|
+
production: z.ZodOptional<z.ZodString>;
|
|
93
|
+
staging: z.ZodOptional<z.ZodString>;
|
|
94
|
+
}, z.core.$strip>]>>;
|
|
73
95
|
development: z.ZodOptional<z.ZodString>;
|
|
74
96
|
production: z.ZodOptional<z.ZodString>;
|
|
75
97
|
integrity: z.ZodOptional<z.ZodString>;
|
|
@@ -79,8 +101,43 @@ declare const BosPluginRefSchema: z.ZodObject<{
|
|
|
79
101
|
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
80
102
|
secrets: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
81
103
|
routes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
104
|
+
sidebar: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
105
|
+
icon: z.ZodString;
|
|
106
|
+
label: z.ZodString;
|
|
107
|
+
to: z.ZodOptional<z.ZodString>;
|
|
108
|
+
roleRequired: z.ZodOptional<z.ZodEnum<{
|
|
109
|
+
anon: "anon";
|
|
110
|
+
member: "member";
|
|
111
|
+
admin: "admin";
|
|
112
|
+
}>>;
|
|
113
|
+
}, z.core.$strip>>>;
|
|
114
|
+
app: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
115
|
+
shared: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
116
|
+
version: z.ZodString;
|
|
117
|
+
requiredVersion: z.ZodOptional<z.ZodString>;
|
|
118
|
+
singleton: z.ZodOptional<z.ZodBoolean>;
|
|
119
|
+
eager: z.ZodOptional<z.ZodBoolean>;
|
|
120
|
+
strictVersion: z.ZodOptional<z.ZodBoolean>;
|
|
121
|
+
shareScope: z.ZodOptional<z.ZodString>;
|
|
122
|
+
}, z.core.$strip>>>>;
|
|
123
|
+
plugins: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
82
124
|
}, z.core.$strip>;
|
|
83
125
|
type BosPluginRef = z.infer<typeof BosPluginRefSchema>;
|
|
126
|
+
type PluginEntryValue = string | BosPluginRef;
|
|
127
|
+
type PluginEntries = Record<string, PluginEntryValue>;
|
|
128
|
+
declare const PluginRuntimeUiSchema: z.ZodObject<{
|
|
129
|
+
name: z.ZodString;
|
|
130
|
+
url: z.ZodString;
|
|
131
|
+
entry: z.ZodString;
|
|
132
|
+
source: z.ZodEnum<{
|
|
133
|
+
local: "local";
|
|
134
|
+
remote: "remote";
|
|
135
|
+
}>;
|
|
136
|
+
localPath: z.ZodOptional<z.ZodString>;
|
|
137
|
+
port: z.ZodOptional<z.ZodNumber>;
|
|
138
|
+
integrity: z.ZodOptional<z.ZodString>;
|
|
139
|
+
}, z.core.$strip>;
|
|
140
|
+
type PluginRuntimeUi = z.infer<typeof PluginRuntimeUiSchema>;
|
|
84
141
|
declare const RuntimePluginConfigSchema: z.ZodObject<{
|
|
85
142
|
name: z.ZodString;
|
|
86
143
|
url: z.ZodString;
|
|
@@ -95,6 +152,29 @@ declare const RuntimePluginConfigSchema: z.ZodObject<{
|
|
|
95
152
|
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
96
153
|
secrets: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
97
154
|
integrity: z.ZodOptional<z.ZodString>;
|
|
155
|
+
ui: z.ZodOptional<z.ZodObject<{
|
|
156
|
+
name: z.ZodString;
|
|
157
|
+
url: z.ZodString;
|
|
158
|
+
entry: z.ZodString;
|
|
159
|
+
source: z.ZodEnum<{
|
|
160
|
+
local: "local";
|
|
161
|
+
remote: "remote";
|
|
162
|
+
}>;
|
|
163
|
+
localPath: z.ZodOptional<z.ZodString>;
|
|
164
|
+
port: z.ZodOptional<z.ZodNumber>;
|
|
165
|
+
integrity: z.ZodOptional<z.ZodString>;
|
|
166
|
+
}, z.core.$strip>>;
|
|
167
|
+
sidebar: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
168
|
+
icon: z.ZodString;
|
|
169
|
+
label: z.ZodString;
|
|
170
|
+
to: z.ZodOptional<z.ZodString>;
|
|
171
|
+
roleRequired: z.ZodOptional<z.ZodEnum<{
|
|
172
|
+
anon: "anon";
|
|
173
|
+
member: "member";
|
|
174
|
+
admin: "admin";
|
|
175
|
+
}>>;
|
|
176
|
+
}, z.core.$strip>>>;
|
|
177
|
+
routes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
98
178
|
}, z.core.$strip>;
|
|
99
179
|
type RuntimePluginConfig = z.infer<typeof RuntimePluginConfigSchema>;
|
|
100
180
|
declare const UiConfigSchema: z.ZodObject<{
|
|
@@ -125,9 +205,41 @@ declare const BosStagingSchema: z.ZodObject<{
|
|
|
125
205
|
domain: z.ZodString;
|
|
126
206
|
}, z.core.$strip>;
|
|
127
207
|
type BosStaging = z.infer<typeof BosStagingSchema>;
|
|
208
|
+
declare const BosConfigInputAppEntrySchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
209
|
+
type BosConfigInputAppEntry = z.infer<typeof BosConfigInputAppEntrySchema>;
|
|
210
|
+
declare const BosConfigInputSchema: z.ZodType<BosConfigInput>;
|
|
211
|
+
interface BosConfigInput {
|
|
212
|
+
extends?: string | ExtendsConfig;
|
|
213
|
+
account?: string;
|
|
214
|
+
domain?: string;
|
|
215
|
+
testnet?: string;
|
|
216
|
+
template?: string;
|
|
217
|
+
gateway?: {
|
|
218
|
+
development?: string;
|
|
219
|
+
production?: string;
|
|
220
|
+
account?: string;
|
|
221
|
+
};
|
|
222
|
+
development?: string;
|
|
223
|
+
production?: string;
|
|
224
|
+
integrity?: string;
|
|
225
|
+
name?: string;
|
|
226
|
+
version?: string;
|
|
227
|
+
proxy?: string;
|
|
228
|
+
variables?: Record<string, string>;
|
|
229
|
+
secrets?: string[];
|
|
230
|
+
routes?: string[];
|
|
231
|
+
sidebar?: SidebarItem[];
|
|
232
|
+
app?: Record<string, BosConfigInputAppEntry>;
|
|
233
|
+
shared?: Record<string, Record<string, SharedDepConfig>>;
|
|
234
|
+
plugins?: Record<string, string | BosConfigInput>;
|
|
235
|
+
}
|
|
128
236
|
declare const BosConfigSchema: z.ZodObject<{
|
|
129
237
|
account: z.ZodString;
|
|
130
|
-
extends: z.ZodOptional<z.ZodString
|
|
238
|
+
extends: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
239
|
+
development: z.ZodOptional<z.ZodString>;
|
|
240
|
+
production: z.ZodOptional<z.ZodString>;
|
|
241
|
+
staging: z.ZodOptional<z.ZodString>;
|
|
242
|
+
}, z.core.$strip>]>>;
|
|
131
243
|
domain: z.ZodOptional<z.ZodString>;
|
|
132
244
|
testnet: z.ZodOptional<z.ZodString>;
|
|
133
245
|
staging: z.ZodOptional<z.ZodObject<{
|
|
@@ -142,8 +254,12 @@ declare const BosConfigSchema: z.ZodObject<{
|
|
|
142
254
|
strictVersion: z.ZodOptional<z.ZodBoolean>;
|
|
143
255
|
shareScope: z.ZodOptional<z.ZodString>;
|
|
144
256
|
}, z.core.$strip>>>>;
|
|
145
|
-
plugins: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
146
|
-
extends: z.ZodOptional<z.ZodString
|
|
257
|
+
plugins: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
258
|
+
extends: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
259
|
+
development: z.ZodOptional<z.ZodString>;
|
|
260
|
+
production: z.ZodOptional<z.ZodString>;
|
|
261
|
+
staging: z.ZodOptional<z.ZodString>;
|
|
262
|
+
}, z.core.$strip>]>>;
|
|
147
263
|
development: z.ZodOptional<z.ZodString>;
|
|
148
264
|
production: z.ZodOptional<z.ZodString>;
|
|
149
265
|
integrity: z.ZodOptional<z.ZodString>;
|
|
@@ -153,7 +269,27 @@ declare const BosConfigSchema: z.ZodObject<{
|
|
|
153
269
|
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
154
270
|
secrets: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
155
271
|
routes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
156
|
-
|
|
272
|
+
sidebar: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
273
|
+
icon: z.ZodString;
|
|
274
|
+
label: z.ZodString;
|
|
275
|
+
to: z.ZodOptional<z.ZodString>;
|
|
276
|
+
roleRequired: z.ZodOptional<z.ZodEnum<{
|
|
277
|
+
anon: "anon";
|
|
278
|
+
member: "member";
|
|
279
|
+
admin: "admin";
|
|
280
|
+
}>>;
|
|
281
|
+
}, z.core.$strip>>>;
|
|
282
|
+
app: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
283
|
+
shared: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
284
|
+
version: z.ZodString;
|
|
285
|
+
requiredVersion: z.ZodOptional<z.ZodString>;
|
|
286
|
+
singleton: z.ZodOptional<z.ZodBoolean>;
|
|
287
|
+
eager: z.ZodOptional<z.ZodBoolean>;
|
|
288
|
+
strictVersion: z.ZodOptional<z.ZodBoolean>;
|
|
289
|
+
shareScope: z.ZodOptional<z.ZodString>;
|
|
290
|
+
}, z.core.$strip>>>>;
|
|
291
|
+
plugins: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
292
|
+
}, z.core.$strip>]>>>;
|
|
157
293
|
app: z.ZodObject<{
|
|
158
294
|
host: z.ZodObject<{
|
|
159
295
|
development: z.ZodString;
|
|
@@ -177,6 +313,16 @@ declare const BosConfigSchema: z.ZodObject<{
|
|
|
177
313
|
proxy: z.ZodOptional<z.ZodString>;
|
|
178
314
|
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
179
315
|
secrets: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
316
|
+
sidebar: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
317
|
+
icon: z.ZodString;
|
|
318
|
+
label: z.ZodString;
|
|
319
|
+
to: z.ZodOptional<z.ZodString>;
|
|
320
|
+
roleRequired: z.ZodOptional<z.ZodEnum<{
|
|
321
|
+
anon: "anon";
|
|
322
|
+
member: "member";
|
|
323
|
+
admin: "admin";
|
|
324
|
+
}>>;
|
|
325
|
+
}, z.core.$strip>>>;
|
|
180
326
|
}, z.core.$strip>;
|
|
181
327
|
auth: z.ZodOptional<z.ZodObject<{
|
|
182
328
|
name: z.ZodString;
|
|
@@ -186,6 +332,16 @@ declare const BosConfigSchema: z.ZodObject<{
|
|
|
186
332
|
proxy: z.ZodOptional<z.ZodString>;
|
|
187
333
|
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
188
334
|
secrets: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
335
|
+
sidebar: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
336
|
+
icon: z.ZodString;
|
|
337
|
+
label: z.ZodString;
|
|
338
|
+
to: z.ZodOptional<z.ZodString>;
|
|
339
|
+
roleRequired: z.ZodOptional<z.ZodEnum<{
|
|
340
|
+
anon: "anon";
|
|
341
|
+
member: "member";
|
|
342
|
+
admin: "admin";
|
|
343
|
+
}>>;
|
|
344
|
+
}, z.core.$strip>>>;
|
|
189
345
|
}, z.core.$strip>>;
|
|
190
346
|
}, z.core.$strip>;
|
|
191
347
|
}, z.core.$strip>;
|
|
@@ -194,6 +350,7 @@ declare const RuntimeConfigSchema: z.ZodObject<{
|
|
|
194
350
|
env: z.ZodEnum<{
|
|
195
351
|
development: "development";
|
|
196
352
|
production: "production";
|
|
353
|
+
staging: "staging";
|
|
197
354
|
}>;
|
|
198
355
|
account: z.ZodString;
|
|
199
356
|
domain: z.ZodOptional<z.ZodString>;
|
|
@@ -278,6 +435,16 @@ declare const RuntimeConfigSchema: z.ZodObject<{
|
|
|
278
435
|
proxy: z.ZodOptional<z.ZodString>;
|
|
279
436
|
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
280
437
|
secrets: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
438
|
+
sidebar: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
439
|
+
icon: z.ZodString;
|
|
440
|
+
label: z.ZodString;
|
|
441
|
+
to: z.ZodOptional<z.ZodString>;
|
|
442
|
+
roleRequired: z.ZodOptional<z.ZodEnum<{
|
|
443
|
+
anon: "anon";
|
|
444
|
+
member: "member";
|
|
445
|
+
admin: "admin";
|
|
446
|
+
}>>;
|
|
447
|
+
}, z.core.$strip>>>;
|
|
281
448
|
}, z.core.$strip>>;
|
|
282
449
|
plugins: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
283
450
|
name: z.ZodString;
|
|
@@ -293,6 +460,29 @@ declare const RuntimeConfigSchema: z.ZodObject<{
|
|
|
293
460
|
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
294
461
|
secrets: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
295
462
|
integrity: z.ZodOptional<z.ZodString>;
|
|
463
|
+
ui: z.ZodOptional<z.ZodObject<{
|
|
464
|
+
name: z.ZodString;
|
|
465
|
+
url: z.ZodString;
|
|
466
|
+
entry: z.ZodString;
|
|
467
|
+
source: z.ZodEnum<{
|
|
468
|
+
local: "local";
|
|
469
|
+
remote: "remote";
|
|
470
|
+
}>;
|
|
471
|
+
localPath: z.ZodOptional<z.ZodString>;
|
|
472
|
+
port: z.ZodOptional<z.ZodNumber>;
|
|
473
|
+
integrity: z.ZodOptional<z.ZodString>;
|
|
474
|
+
}, z.core.$strip>>;
|
|
475
|
+
sidebar: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
476
|
+
icon: z.ZodString;
|
|
477
|
+
label: z.ZodString;
|
|
478
|
+
to: z.ZodOptional<z.ZodString>;
|
|
479
|
+
roleRequired: z.ZodOptional<z.ZodEnum<{
|
|
480
|
+
anon: "anon";
|
|
481
|
+
member: "member";
|
|
482
|
+
admin: "admin";
|
|
483
|
+
}>>;
|
|
484
|
+
}, z.core.$strip>>>;
|
|
485
|
+
routes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
296
486
|
}, z.core.$strip>>>;
|
|
297
487
|
}, z.core.$strip>;
|
|
298
488
|
type RuntimeConfig = z.infer<typeof RuntimeConfigSchema>;
|
|
@@ -301,6 +491,7 @@ declare const ClientRuntimeConfigSchema: z.ZodObject<{
|
|
|
301
491
|
env: z.ZodEnum<{
|
|
302
492
|
development: "development";
|
|
303
493
|
production: "production";
|
|
494
|
+
staging: "staging";
|
|
304
495
|
}>;
|
|
305
496
|
account: z.ZodString;
|
|
306
497
|
networkId: z.ZodEnum<{
|
|
@@ -332,14 +523,50 @@ declare const ClientRuntimeConfigSchema: z.ZodObject<{
|
|
|
332
523
|
entry: z.ZodString;
|
|
333
524
|
integrity: z.ZodOptional<z.ZodString>;
|
|
334
525
|
}, z.core.$strip>>;
|
|
526
|
+
auth: z.ZodOptional<z.ZodObject<{
|
|
527
|
+
name: z.ZodString;
|
|
528
|
+
url: z.ZodString;
|
|
529
|
+
entry: z.ZodString;
|
|
530
|
+
integrity: z.ZodOptional<z.ZodString>;
|
|
531
|
+
sidebar: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
532
|
+
icon: z.ZodString;
|
|
533
|
+
label: z.ZodString;
|
|
534
|
+
to: z.ZodOptional<z.ZodString>;
|
|
535
|
+
roleRequired: z.ZodOptional<z.ZodEnum<{
|
|
536
|
+
anon: "anon";
|
|
537
|
+
member: "member";
|
|
538
|
+
admin: "admin";
|
|
539
|
+
}>>;
|
|
540
|
+
}, z.core.$strip>>>;
|
|
541
|
+
}, z.core.$strip>>;
|
|
335
542
|
plugins: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
336
543
|
name: z.ZodString;
|
|
337
544
|
url: z.ZodString;
|
|
338
545
|
entry: z.ZodString;
|
|
339
546
|
integrity: z.ZodOptional<z.ZodString>;
|
|
547
|
+
ui: z.ZodOptional<z.ZodObject<{
|
|
548
|
+
name: z.ZodString;
|
|
549
|
+
url: z.ZodString;
|
|
550
|
+
entry: z.ZodString;
|
|
551
|
+
source: z.ZodEnum<{
|
|
552
|
+
local: "local";
|
|
553
|
+
remote: "remote";
|
|
554
|
+
}>;
|
|
555
|
+
integrity: z.ZodOptional<z.ZodString>;
|
|
556
|
+
}, z.core.$strip>>;
|
|
557
|
+
sidebar: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
558
|
+
icon: z.ZodString;
|
|
559
|
+
label: z.ZodString;
|
|
560
|
+
to: z.ZodOptional<z.ZodString>;
|
|
561
|
+
roleRequired: z.ZodOptional<z.ZodEnum<{
|
|
562
|
+
anon: "anon";
|
|
563
|
+
member: "member";
|
|
564
|
+
admin: "admin";
|
|
565
|
+
}>>;
|
|
566
|
+
}, z.core.$strip>>>;
|
|
340
567
|
}, z.core.$strip>>>;
|
|
341
568
|
}, z.core.$strip>;
|
|
342
569
|
type ClientRuntimeConfig = z.infer<typeof ClientRuntimeConfigSchema>;
|
|
343
570
|
//#endregion
|
|
344
|
-
export { ApiPluginConfig, ApiPluginConfigSchema, BosConfig, BosConfigInput, BosConfigSchema, BosPluginRef, BosPluginRefSchema, BosStaging, BosStagingSchema, ClientRuntimeConfig, ClientRuntimeConfigSchema, ClientRuntimeInfo, ClientRuntimeInfoSchema, FederationEntry, FederationEntrySchema, HostConfig, HostConfigSchema, RuntimeConfig, RuntimeConfigSchema, RuntimePluginConfig, RuntimePluginConfigSchema, SharedConfig, SharedConfigSchema, SharedDepConfig, SharedDepConfigSchema, SourceMode, SourceModeSchema, UiConfig, UiConfigSchema };
|
|
571
|
+
export { ApiPluginConfig, ApiPluginConfigSchema, BosConfig, BosConfigInput, BosConfigInputAppEntry, BosConfigInputSchema, BosConfigSchema, BosPluginRef, BosPluginRefSchema, BosStaging, BosStagingSchema, ClientRuntimeConfig, ClientRuntimeConfigSchema, ClientRuntimeInfo, ClientRuntimeInfoSchema, Extends, ExtendsConfig, ExtendsSchema, FederationEntry, FederationEntrySchema, HostConfig, HostConfigSchema, PluginEntries, PluginEntryValue, PluginRuntimeUi, PluginUiConfig, PluginUiConfigSchema, RuntimeConfig, RuntimeConfigSchema, RuntimePluginConfig, RuntimePluginConfigSchema, SharedConfig, SharedConfigSchema, SharedDepConfig, SharedDepConfigSchema, SidebarItem, SidebarItemSchema, SidebarRole, SidebarRoleSchema, SourceMode, SourceModeSchema, UiConfig, UiConfigSchema };
|
|
345
572
|
//# sourceMappingURL=types.d.mts.map
|
package/dist/types.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.mts","names":[],"sources":["../src/types.ts"],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"types.d.mts","names":[],"sources":["../src/types.ts"],"mappings":";;;cAEa,aAAA,EAAa,CAAA,CAAA,QAAA,WAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,SAAA;;;;;KAQd,OAAA,GAAU,CAAA,CAAE,KAAA,QAAa,aAAA;AAAA,KACzB,aAAA,GAAgB,OAAA,CAAQ,OAAA,EAAS,MAAA;AAAA,cAEhC,gBAAA,EAAgB,CAAA,CAAA,OAAA;;;;KACjB,UAAA,GAAa,CAAA,CAAE,KAAA,QAAa,gBAAA;AAAA,cAE3B,kBAAA,EAAkB,CAAA,CAAA,SAAA;;;;;;;;KAQnB,YAAA,GAAe,CAAA,CAAE,KAAA,QAAa,kBAAA;AAAA,KAC9B,eAAA,GAAkB,YAAA;AAAA,cACjB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;cAErB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;KAOtB,eAAA,GAAkB,CAAA,CAAE,KAAA,QAAa,qBAAA;AAAA,cAEhC,iBAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KA2D1B,mBAAA,GAAsB,CAAA,CAAE,KAAA,QAAa,yBAAA"}
|
package/dist/types.mjs
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
import { z } from "./sdk.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/types.ts
|
|
4
|
+
const ExtendsSchema = z.union([z.string(), z.object({
|
|
5
|
+
development: z.string().optional(),
|
|
6
|
+
production: z.string().optional(),
|
|
7
|
+
staging: z.string().optional()
|
|
8
|
+
})]);
|
|
4
9
|
const SourceModeSchema = z.enum(["local", "remote"]);
|
|
5
10
|
const SharedConfigSchema = z.object({
|
|
6
11
|
version: z.string(),
|
|
@@ -18,6 +23,17 @@ const FederationEntrySchema = z.object({
|
|
|
18
23
|
source: SourceModeSchema,
|
|
19
24
|
integrity: z.string().optional()
|
|
20
25
|
});
|
|
26
|
+
const SidebarRoleSchema = z.enum([
|
|
27
|
+
"anon",
|
|
28
|
+
"member",
|
|
29
|
+
"admin"
|
|
30
|
+
]);
|
|
31
|
+
const SidebarItemSchema = z.object({
|
|
32
|
+
icon: z.string(),
|
|
33
|
+
label: z.string(),
|
|
34
|
+
to: z.string().optional(),
|
|
35
|
+
roleRequired: SidebarRoleSchema.optional()
|
|
36
|
+
});
|
|
21
37
|
const ApiPluginConfigSchema = z.object({
|
|
22
38
|
name: z.string(),
|
|
23
39
|
development: z.string().optional(),
|
|
@@ -25,10 +41,17 @@ const ApiPluginConfigSchema = z.object({
|
|
|
25
41
|
integrity: z.string().optional(),
|
|
26
42
|
proxy: z.string().optional(),
|
|
27
43
|
variables: z.record(z.string(), z.string()).optional(),
|
|
28
|
-
secrets: z.array(z.string()).optional()
|
|
44
|
+
secrets: z.array(z.string()).optional(),
|
|
45
|
+
sidebar: z.array(SidebarItemSchema).optional()
|
|
46
|
+
});
|
|
47
|
+
const PluginUiConfigSchema = z.object({
|
|
48
|
+
name: z.string(),
|
|
49
|
+
development: z.string().optional(),
|
|
50
|
+
production: z.string().optional(),
|
|
51
|
+
integrity: z.string().optional()
|
|
29
52
|
});
|
|
30
53
|
const BosPluginRefSchema = z.object({
|
|
31
|
-
extends:
|
|
54
|
+
extends: ExtendsSchema.optional(),
|
|
32
55
|
development: z.string().optional(),
|
|
33
56
|
production: z.string().optional(),
|
|
34
57
|
integrity: z.string().optional(),
|
|
@@ -37,7 +60,20 @@ const BosPluginRefSchema = z.object({
|
|
|
37
60
|
proxy: z.string().optional(),
|
|
38
61
|
variables: z.record(z.string(), z.string()).optional(),
|
|
39
62
|
secrets: z.array(z.string()).optional(),
|
|
40
|
-
routes: z.array(z.string()).optional()
|
|
63
|
+
routes: z.array(z.string()).optional(),
|
|
64
|
+
sidebar: z.array(SidebarItemSchema).optional(),
|
|
65
|
+
app: z.record(z.string(), z.unknown()).optional(),
|
|
66
|
+
shared: z.record(z.string(), z.record(z.string(), SharedConfigSchema)).optional(),
|
|
67
|
+
plugins: z.record(z.string(), z.unknown()).optional()
|
|
68
|
+
});
|
|
69
|
+
const PluginRuntimeUiSchema = z.object({
|
|
70
|
+
name: z.string(),
|
|
71
|
+
url: z.string(),
|
|
72
|
+
entry: z.string(),
|
|
73
|
+
source: SourceModeSchema,
|
|
74
|
+
localPath: z.string().optional(),
|
|
75
|
+
port: z.number().optional(),
|
|
76
|
+
integrity: z.string().optional()
|
|
41
77
|
});
|
|
42
78
|
const RuntimePluginConfigSchema = z.object({
|
|
43
79
|
name: z.string(),
|
|
@@ -49,7 +85,10 @@ const RuntimePluginConfigSchema = z.object({
|
|
|
49
85
|
proxy: z.string().optional(),
|
|
50
86
|
variables: z.record(z.string(), z.string()).optional(),
|
|
51
87
|
secrets: z.array(z.string()).optional(),
|
|
52
|
-
integrity: z.string().optional()
|
|
88
|
+
integrity: z.string().optional(),
|
|
89
|
+
ui: PluginRuntimeUiSchema.optional(),
|
|
90
|
+
sidebar: z.array(SidebarItemSchema).optional(),
|
|
91
|
+
routes: z.array(z.string()).optional()
|
|
53
92
|
});
|
|
54
93
|
const UiConfigSchema = z.object({
|
|
55
94
|
name: z.string(),
|
|
@@ -73,15 +112,41 @@ const ClientRuntimeInfoSchema = z.object({
|
|
|
73
112
|
hostUrl: z.string().nullable()
|
|
74
113
|
});
|
|
75
114
|
const BosStagingSchema = z.object({ domain: z.string() });
|
|
115
|
+
const BosConfigInputAppEntrySchema = z.record(z.string(), z.unknown());
|
|
116
|
+
const BosConfigInputSchema = z.lazy(() => z.object({
|
|
117
|
+
extends: ExtendsSchema.optional(),
|
|
118
|
+
account: z.string().optional(),
|
|
119
|
+
domain: z.string().optional(),
|
|
120
|
+
testnet: z.string().optional(),
|
|
121
|
+
template: z.string().optional(),
|
|
122
|
+
gateway: z.object({
|
|
123
|
+
development: z.string().optional(),
|
|
124
|
+
production: z.string().optional(),
|
|
125
|
+
account: z.string().optional()
|
|
126
|
+
}).optional(),
|
|
127
|
+
development: z.string().optional(),
|
|
128
|
+
production: z.string().optional(),
|
|
129
|
+
integrity: z.string().optional(),
|
|
130
|
+
name: z.string().optional(),
|
|
131
|
+
version: z.string().optional(),
|
|
132
|
+
proxy: z.string().optional(),
|
|
133
|
+
variables: z.record(z.string(), z.string()).optional(),
|
|
134
|
+
secrets: z.array(z.string()).optional(),
|
|
135
|
+
routes: z.array(z.string()).optional(),
|
|
136
|
+
sidebar: z.array(SidebarItemSchema).optional(),
|
|
137
|
+
app: z.record(z.string(), BosConfigInputAppEntrySchema).optional(),
|
|
138
|
+
shared: z.record(z.string(), z.record(z.string(), SharedConfigSchema)).optional(),
|
|
139
|
+
plugins: z.record(z.string(), z.union([z.string(), BosConfigInputSchema])).optional()
|
|
140
|
+
}));
|
|
76
141
|
const BosConfigSchema = z.object({
|
|
77
142
|
account: z.string(),
|
|
78
|
-
extends:
|
|
143
|
+
extends: ExtendsSchema.optional(),
|
|
79
144
|
domain: z.string().optional(),
|
|
80
145
|
testnet: z.string().optional(),
|
|
81
146
|
staging: BosStagingSchema.optional(),
|
|
82
147
|
repository: z.string().optional(),
|
|
83
148
|
shared: z.record(z.string(), z.record(z.string(), SharedConfigSchema)).optional(),
|
|
84
|
-
plugins: z.record(z.string(), BosPluginRefSchema).optional(),
|
|
149
|
+
plugins: z.record(z.string(), z.union([z.string(), BosPluginRefSchema])).optional(),
|
|
85
150
|
app: z.object({
|
|
86
151
|
host: HostConfigSchema,
|
|
87
152
|
ui: UiConfigSchema,
|
|
@@ -90,7 +155,11 @@ const BosConfigSchema = z.object({
|
|
|
90
155
|
})
|
|
91
156
|
});
|
|
92
157
|
const RuntimeConfigSchema = z.object({
|
|
93
|
-
env: z.enum([
|
|
158
|
+
env: z.enum([
|
|
159
|
+
"development",
|
|
160
|
+
"production",
|
|
161
|
+
"staging"
|
|
162
|
+
]),
|
|
94
163
|
account: z.string(),
|
|
95
164
|
domain: z.string().optional(),
|
|
96
165
|
networkId: z.enum(["mainnet", "testnet"]),
|
|
@@ -124,13 +193,18 @@ const RuntimeConfigSchema = z.object({
|
|
|
124
193
|
port: z.number().optional(),
|
|
125
194
|
proxy: z.string().optional(),
|
|
126
195
|
variables: z.record(z.string(), z.string()).optional(),
|
|
127
|
-
secrets: z.array(z.string()).optional()
|
|
196
|
+
secrets: z.array(z.string()).optional(),
|
|
197
|
+
sidebar: z.array(SidebarItemSchema).optional()
|
|
128
198
|
}).optional(),
|
|
129
199
|
plugins: z.record(z.string(), RuntimePluginConfigSchema).optional()
|
|
130
200
|
});
|
|
131
201
|
const ClientRuntimeConfigSchema = z.object({
|
|
132
202
|
cspNonce: z.string().optional(),
|
|
133
|
-
env: z.enum([
|
|
203
|
+
env: z.enum([
|
|
204
|
+
"development",
|
|
205
|
+
"production",
|
|
206
|
+
"staging"
|
|
207
|
+
]),
|
|
134
208
|
account: z.string(),
|
|
135
209
|
networkId: z.enum(["mainnet", "testnet"]),
|
|
136
210
|
hostUrl: z.string().optional(),
|
|
@@ -152,14 +226,29 @@ const ClientRuntimeConfigSchema = z.object({
|
|
|
152
226
|
entry: z.string(),
|
|
153
227
|
integrity: z.string().optional()
|
|
154
228
|
}).optional(),
|
|
229
|
+
auth: z.object({
|
|
230
|
+
name: z.string(),
|
|
231
|
+
url: z.string(),
|
|
232
|
+
entry: z.string(),
|
|
233
|
+
integrity: z.string().optional(),
|
|
234
|
+
sidebar: z.array(SidebarItemSchema).optional()
|
|
235
|
+
}).optional(),
|
|
155
236
|
plugins: z.record(z.string(), z.object({
|
|
156
237
|
name: z.string(),
|
|
157
238
|
url: z.string(),
|
|
158
239
|
entry: z.string(),
|
|
159
|
-
integrity: z.string().optional()
|
|
240
|
+
integrity: z.string().optional(),
|
|
241
|
+
ui: z.object({
|
|
242
|
+
name: z.string(),
|
|
243
|
+
url: z.string(),
|
|
244
|
+
entry: z.string(),
|
|
245
|
+
source: SourceModeSchema,
|
|
246
|
+
integrity: z.string().optional()
|
|
247
|
+
}).optional(),
|
|
248
|
+
sidebar: z.array(SidebarItemSchema).optional()
|
|
160
249
|
})).optional()
|
|
161
250
|
});
|
|
162
251
|
|
|
163
252
|
//#endregion
|
|
164
|
-
export { ApiPluginConfigSchema, BosConfigSchema, BosPluginRefSchema, BosStagingSchema, ClientRuntimeConfigSchema, ClientRuntimeInfoSchema, FederationEntrySchema, HostConfigSchema, RuntimeConfigSchema, RuntimePluginConfigSchema, SharedConfigSchema, SharedDepConfigSchema, SourceModeSchema, UiConfigSchema };
|
|
253
|
+
export { ApiPluginConfigSchema, BosConfigInputSchema, BosConfigSchema, BosPluginRefSchema, BosStagingSchema, ClientRuntimeConfigSchema, ClientRuntimeInfoSchema, ExtendsSchema, FederationEntrySchema, HostConfigSchema, PluginUiConfigSchema, RuntimeConfigSchema, RuntimePluginConfigSchema, SharedConfigSchema, SharedDepConfigSchema, SidebarItemSchema, SidebarRoleSchema, SourceModeSchema, UiConfigSchema };
|
|
165
254
|
//# sourceMappingURL=types.mjs.map
|
package/dist/types.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.mjs","names":[],"sources":["../src/types.ts"],"sourcesContent":["import { z } from \"./sdk\";\n\nexport interface BosConfigInput extends Record<string, unknown> {\n extends?: string;\n account?: string;\n domain?: string;\n testnet?: string;\n template?: string;\n gateway?: {\n development?: string;\n production?: string;\n account?: string;\n };\n development?: string;\n production?: string;\n integrity?: string;\n name?: string;\n version?: string;\n proxy?: string;\n variables?: Record<string, string>;\n secrets?: string[];\n app?: Record<string, Record<string, unknown>>;\n shared?: Record<string, Record<string, Record<string, unknown>>>;\n plugins?: Record<string, BosConfigInput>;\n}\n\nexport const SourceModeSchema = z.enum([\"local\", \"remote\"]);\nexport type SourceMode = z.infer<typeof SourceModeSchema>;\n\nexport const SharedConfigSchema = z.object({\n version: z.string(),\n requiredVersion: z.string().optional(),\n singleton: z.boolean().optional(),\n eager: z.boolean().optional(),\n strictVersion: z.boolean().optional(),\n shareScope: z.string().optional(),\n});\nexport type SharedConfig = z.infer<typeof SharedConfigSchema>;\nexport type SharedDepConfig = SharedConfig;\nexport const SharedDepConfigSchema = SharedConfigSchema;\n\nexport const FederationEntrySchema = z.object({\n name: z.string(),\n url: z.string(),\n entry: z.string(),\n source: SourceModeSchema,\n integrity: z.string().optional(),\n});\nexport type FederationEntry = z.infer<typeof FederationEntrySchema>;\n\nexport const ApiPluginConfigSchema = z.object({\n name: z.string(),\n development: z.string().optional(),\n production: z.string().optional(),\n integrity: z.string().optional(),\n proxy: z.string().optional(),\n variables: z.record(z.string(), z.string()).optional(),\n secrets: z.array(z.string()).optional(),\n});\nexport type ApiPluginConfig = z.infer<typeof ApiPluginConfigSchema>;\n\nexport const BosPluginRefSchema = z.object({\n extends: z.string().optional(),\n development: z.string().optional(),\n production: z.string().optional(),\n integrity: z.string().optional(),\n name: z.string().optional(),\n version: z.string().optional(),\n proxy: z.string().optional(),\n variables: z.record(z.string(), z.string()).optional(),\n secrets: z.array(z.string()).optional(),\n routes: z.array(z.string()).optional(),\n});\nexport type BosPluginRef = z.infer<typeof BosPluginRefSchema>;\n\nexport const RuntimePluginConfigSchema = z.object({\n name: z.string(),\n url: z.string(),\n entry: z.string(),\n source: SourceModeSchema,\n localPath: z.string().optional(),\n port: z.number().optional(),\n proxy: z.string().optional(),\n variables: z.record(z.string(), z.string()).optional(),\n secrets: z.array(z.string()).optional(),\n integrity: z.string().optional(),\n});\nexport type RuntimePluginConfig = z.infer<typeof RuntimePluginConfigSchema>;\n\nexport const UiConfigSchema = z.object({\n name: z.string(),\n development: z.string().optional(),\n production: z.string().optional(),\n integrity: z.string().optional(),\n ssr: z.string().optional(),\n ssrIntegrity: z.string().optional(),\n});\nexport type UiConfig = z.infer<typeof UiConfigSchema>;\n\nexport const HostConfigSchema = z.object({\n development: z.string(),\n production: z.string(),\n integrity: z.string().optional(),\n secrets: z.array(z.string()).optional(),\n});\nexport type HostConfig = z.infer<typeof HostConfigSchema>;\n\nexport const ClientRuntimeInfoSchema = z.object({\n accountId: z.string(),\n gatewayId: z.string(),\n runtimeBasePath: z.string(),\n title: z.string().nullable(),\n hostUrl: z.string().nullable(),\n});\nexport type ClientRuntimeInfo = z.infer<typeof ClientRuntimeInfoSchema>;\n\nexport const BosStagingSchema = z.object({\n domain: z.string(),\n});\nexport type BosStaging = z.infer<typeof BosStagingSchema>;\n\nexport const BosConfigSchema = z.object({\n account: z.string(),\n extends: z.string().optional(),\n domain: z.string().optional(),\n testnet: z.string().optional(),\n staging: BosStagingSchema.optional(),\n repository: z.string().optional(),\n shared: z.record(z.string(), z.record(z.string(), SharedConfigSchema)).optional(),\n plugins: z.record(z.string(), BosPluginRefSchema).optional(),\n app: z.object({\n host: HostConfigSchema,\n ui: UiConfigSchema,\n api: ApiPluginConfigSchema,\n auth: ApiPluginConfigSchema.optional(),\n }),\n});\nexport type BosConfig = z.infer<typeof BosConfigSchema>;\n\nexport const RuntimeConfigSchema = z.object({\n env: z.enum([\"development\", \"production\"]),\n account: z.string(),\n domain: z.string().optional(),\n networkId: z.enum([\"mainnet\", \"testnet\"]),\n title: z.string().optional(),\n repository: z.string().optional(),\n host: FederationEntrySchema.extend({\n localPath: z.string().optional(),\n port: z.number().optional(),\n secrets: z.array(z.string()).optional(),\n remoteUrl: z.string().optional(),\n }),\n shared: z\n .object({\n ui: z.record(z.string(), SharedConfigSchema).optional(),\n plugins: z.record(z.string(), SharedConfigSchema).optional(),\n })\n .optional(),\n ui: FederationEntrySchema.extend({\n localPath: z.string().optional(),\n port: z.number().optional(),\n ssrUrl: z.string().optional(),\n ssrIntegrity: z.string().optional(),\n }),\n api: FederationEntrySchema.extend({\n localPath: z.string().optional(),\n port: z.number().optional(),\n proxy: z.string().optional(),\n variables: z.record(z.string(), z.string()).optional(),\n secrets: z.array(z.string()).optional(),\n }),\n auth: FederationEntrySchema.extend({\n localPath: z.string().optional(),\n port: z.number().optional(),\n proxy: z.string().optional(),\n variables: z.record(z.string(), z.string()).optional(),\n secrets: z.array(z.string()).optional(),\n }).optional(),\n plugins: z.record(z.string(), RuntimePluginConfigSchema).optional(),\n});\nexport type RuntimeConfig = z.infer<typeof RuntimeConfigSchema>;\n\nexport const ClientRuntimeConfigSchema = z.object({\n cspNonce: z.string().optional(),\n env: z.enum([\"development\", \"production\"]),\n account: z.string(),\n networkId: z.enum([\"mainnet\", \"testnet\"]),\n hostUrl: z.string().optional(),\n assetsUrl: z.string(),\n apiBase: z.string(),\n rpcBase: z.string(),\n repository: z.string().optional(),\n authAvailable: z.boolean().optional(),\n runtime: ClientRuntimeInfoSchema.optional(),\n ui: z\n .object({\n name: z.string(),\n url: z.string(),\n entry: z.string(),\n integrity: z.string().optional(),\n })\n .optional(),\n api: z\n .object({\n name: z.string(),\n url: z.string(),\n entry: z.string(),\n integrity: z.string().optional(),\n })\n .optional(),\n plugins: z\n .record(\n z.string(),\n z.object({\n name: z.string(),\n url: z.string(),\n entry: z.string(),\n integrity: z.string().optional(),\n }),\n )\n .optional(),\n});\nexport type ClientRuntimeConfig = z.infer<typeof ClientRuntimeConfigSchema>;\n"],"mappings":";;;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AAM,EAAE,QAAQ;EAChB,KAAK,EAAE,QAAQ;EACf,OAAO,EAAE,QAAQ;EACjB,WAAW,EAAE,QAAQ,CAAC,UAAU;EACjC,CAAC,CACD,UAAU;CACb,KAAK,EACF,OAAO;EACN,MAAM,EAAE,QAAQ;EAChB,KAAK,EAAE,QAAQ;EACf,OAAO,EAAE,QAAQ;EACjB,WAAW,EAAE,QAAQ,CAAC,UAAU;EACjC,CAAC,CACD,UAAU;CACb,SAAS,EACN,OACC,EAAE,QAAQ,EACV,EAAE,OAAO;EACP,MAAM,EAAE,QAAQ;EAChB,KAAK,EAAE,QAAQ;EACf,OAAO,EAAE,QAAQ;EACjB,WAAW,EAAE,QAAQ,CAAC,UAAU;EACjC,CAAC,CACH,CACA,UAAU;CACd,CAAC"}
|
|
1
|
+
{"version":3,"file":"types.mjs","names":[],"sources":["../src/types.ts"],"sourcesContent":["import { z } from \"./sdk\";\n\nexport const ExtendsSchema = z.union([\n z.string(),\n z.object({\n development: z.string().optional(),\n production: z.string().optional(),\n staging: z.string().optional(),\n }),\n]);\nexport type Extends = z.infer<typeof ExtendsSchema>;\nexport type ExtendsConfig = Extract<Extends, Record<string, string | undefined>>;\n\nexport const SourceModeSchema = z.enum([\"local\", \"remote\"]);\nexport type SourceMode = z.infer<typeof SourceModeSchema>;\n\nexport const SharedConfigSchema = z.object({\n version: z.string(),\n requiredVersion: z.string().optional(),\n singleton: z.boolean().optional(),\n eager: z.boolean().optional(),\n strictVersion: z.boolean().optional(),\n shareScope: z.string().optional(),\n});\nexport type SharedConfig = z.infer<typeof SharedConfigSchema>;\nexport type SharedDepConfig = SharedConfig;\nexport const SharedDepConfigSchema = SharedConfigSchema;\n\nexport const FederationEntrySchema = z.object({\n name: z.string(),\n url: z.string(),\n entry: z.string(),\n source: SourceModeSchema,\n integrity: z.string().optional(),\n});\nexport type FederationEntry = z.infer<typeof FederationEntrySchema>;\n\nexport const SidebarRoleSchema = z.enum([\"anon\", \"member\", \"admin\"]);\nexport type SidebarRole = z.infer<typeof SidebarRoleSchema>;\n\nexport const SidebarItemSchema = z.object({\n icon: z.string(),\n label: z.string(),\n to: z.string().optional(),\n roleRequired: SidebarRoleSchema.optional(),\n});\nexport type SidebarItem = z.infer<typeof SidebarItemSchema>;\n\nexport const ApiPluginConfigSchema = z.object({\n name: z.string(),\n development: z.string().optional(),\n production: z.string().optional(),\n integrity: z.string().optional(),\n proxy: z.string().optional(),\n variables: z.record(z.string(), z.string()).optional(),\n secrets: z.array(z.string()).optional(),\n sidebar: z.array(SidebarItemSchema).optional(),\n});\nexport type ApiPluginConfig = z.infer<typeof ApiPluginConfigSchema>;\n\nexport const PluginUiConfigSchema = z.object({\n name: z.string(),\n development: z.string().optional(),\n production: z.string().optional(),\n integrity: z.string().optional(),\n});\nexport type PluginUiConfig = z.infer<typeof PluginUiConfigSchema>;\n\nexport const BosPluginRefSchema = z.object({\n extends: ExtendsSchema.optional(),\n development: z.string().optional(),\n production: z.string().optional(),\n integrity: z.string().optional(),\n name: z.string().optional(),\n version: z.string().optional(),\n proxy: z.string().optional(),\n variables: z.record(z.string(), z.string()).optional(),\n secrets: z.array(z.string()).optional(),\n routes: z.array(z.string()).optional(),\n sidebar: z.array(SidebarItemSchema).optional(),\n app: z.record(z.string(), z.unknown()).optional(),\n shared: z.record(z.string(), z.record(z.string(), SharedConfigSchema)).optional(),\n plugins: z.record(z.string(), z.unknown()).optional(),\n});\nexport type BosPluginRef = z.infer<typeof BosPluginRefSchema>;\nexport type PluginEntryValue = string | BosPluginRef;\nexport type PluginEntries = Record<string, PluginEntryValue>;\n\nconst PluginRuntimeUiSchema = z.object({\n name: z.string(),\n url: z.string(),\n entry: z.string(),\n source: SourceModeSchema,\n localPath: z.string().optional(),\n port: z.number().optional(),\n integrity: z.string().optional(),\n});\nexport type PluginRuntimeUi = z.infer<typeof PluginRuntimeUiSchema>;\n\nexport const RuntimePluginConfigSchema = z.object({\n name: z.string(),\n url: z.string(),\n entry: z.string(),\n source: SourceModeSchema,\n localPath: z.string().optional(),\n port: z.number().optional(),\n proxy: z.string().optional(),\n variables: z.record(z.string(), z.string()).optional(),\n secrets: z.array(z.string()).optional(),\n integrity: z.string().optional(),\n ui: PluginRuntimeUiSchema.optional(),\n sidebar: z.array(SidebarItemSchema).optional(),\n routes: z.array(z.string()).optional(),\n});\nexport type RuntimePluginConfig = z.infer<typeof RuntimePluginConfigSchema>;\n\nexport const UiConfigSchema = z.object({\n name: z.string(),\n development: z.string().optional(),\n production: z.string().optional(),\n integrity: z.string().optional(),\n ssr: z.string().optional(),\n ssrIntegrity: z.string().optional(),\n});\nexport type UiConfig = z.infer<typeof UiConfigSchema>;\n\nexport const HostConfigSchema = z.object({\n development: z.string(),\n production: z.string(),\n integrity: z.string().optional(),\n secrets: z.array(z.string()).optional(),\n});\nexport type HostConfig = z.infer<typeof HostConfigSchema>;\n\nexport const ClientRuntimeInfoSchema = z.object({\n accountId: z.string(),\n gatewayId: z.string(),\n runtimeBasePath: z.string(),\n title: z.string().nullable(),\n hostUrl: z.string().nullable(),\n});\nexport type ClientRuntimeInfo = z.infer<typeof ClientRuntimeInfoSchema>;\n\nexport const BosStagingSchema = z.object({\n domain: z.string(),\n});\nexport type BosStaging = z.infer<typeof BosStagingSchema>;\n\nconst BosConfigInputAppEntrySchema = z.record(z.string(), z.unknown());\nexport type BosConfigInputAppEntry = z.infer<typeof BosConfigInputAppEntrySchema>;\n\nexport const BosConfigInputSchema: z.ZodType<BosConfigInput> = z.lazy(() =>\n z.object({\n extends: ExtendsSchema.optional(),\n account: z.string().optional(),\n domain: z.string().optional(),\n testnet: z.string().optional(),\n template: z.string().optional(),\n gateway: z\n .object({\n development: z.string().optional(),\n production: z.string().optional(),\n account: z.string().optional(),\n })\n .optional(),\n development: z.string().optional(),\n production: z.string().optional(),\n integrity: z.string().optional(),\n name: z.string().optional(),\n version: z.string().optional(),\n proxy: z.string().optional(),\n variables: z.record(z.string(), z.string()).optional(),\n secrets: z.array(z.string()).optional(),\n routes: z.array(z.string()).optional(),\n sidebar: z.array(SidebarItemSchema).optional(),\n app: z.record(z.string(), BosConfigInputAppEntrySchema).optional(),\n shared: z.record(z.string(), z.record(z.string(), SharedConfigSchema)).optional(),\n plugins: z.record(z.string(), z.union([z.string(), BosConfigInputSchema])).optional(),\n }),\n);\n\nexport interface BosConfigInput {\n extends?: string | ExtendsConfig;\n account?: string;\n domain?: string;\n testnet?: string;\n template?: string;\n gateway?: {\n development?: string;\n production?: string;\n account?: string;\n };\n development?: string;\n production?: string;\n integrity?: string;\n name?: string;\n version?: string;\n proxy?: string;\n variables?: Record<string, string>;\n secrets?: string[];\n routes?: string[];\n sidebar?: SidebarItem[];\n app?: Record<string, BosConfigInputAppEntry>;\n shared?: Record<string, Record<string, SharedDepConfig>>;\n plugins?: Record<string, string | BosConfigInput>;\n}\n\nexport const BosConfigSchema = z.object({\n account: z.string(),\n extends: ExtendsSchema.optional(),\n domain: z.string().optional(),\n testnet: z.string().optional(),\n staging: BosStagingSchema.optional(),\n repository: z.string().optional(),\n shared: z.record(z.string(), z.record(z.string(), SharedConfigSchema)).optional(),\n plugins: z.record(z.string(), z.union([z.string(), BosPluginRefSchema])).optional(),\n app: z.object({\n host: HostConfigSchema,\n ui: UiConfigSchema,\n api: ApiPluginConfigSchema,\n auth: ApiPluginConfigSchema.optional(),\n }),\n});\nexport type BosConfig = z.infer<typeof BosConfigSchema>;\n\nexport const RuntimeConfigSchema = z.object({\n env: z.enum([\"development\", \"production\", \"staging\"]),\n account: z.string(),\n domain: z.string().optional(),\n networkId: z.enum([\"mainnet\", \"testnet\"]),\n title: z.string().optional(),\n repository: z.string().optional(),\n host: FederationEntrySchema.extend({\n localPath: z.string().optional(),\n port: z.number().optional(),\n secrets: z.array(z.string()).optional(),\n remoteUrl: z.string().optional(),\n }),\n shared: z\n .object({\n ui: z.record(z.string(), SharedConfigSchema).optional(),\n plugins: z.record(z.string(), SharedConfigSchema).optional(),\n })\n .optional(),\n ui: FederationEntrySchema.extend({\n localPath: z.string().optional(),\n port: z.number().optional(),\n ssrUrl: z.string().optional(),\n ssrIntegrity: z.string().optional(),\n }),\n api: FederationEntrySchema.extend({\n localPath: z.string().optional(),\n port: z.number().optional(),\n proxy: z.string().optional(),\n variables: z.record(z.string(), z.string()).optional(),\n secrets: z.array(z.string()).optional(),\n }),\n auth: FederationEntrySchema.extend({\n localPath: z.string().optional(),\n port: z.number().optional(),\n proxy: z.string().optional(),\n variables: z.record(z.string(), z.string()).optional(),\n secrets: z.array(z.string()).optional(),\n sidebar: z.array(SidebarItemSchema).optional(),\n }).optional(),\n plugins: z.record(z.string(), RuntimePluginConfigSchema).optional(),\n});\nexport type RuntimeConfig = z.infer<typeof RuntimeConfigSchema>;\n\nexport const ClientRuntimeConfigSchema = z.object({\n cspNonce: z.string().optional(),\n env: z.enum([\"development\", \"production\", \"staging\"]),\n account: z.string(),\n networkId: z.enum([\"mainnet\", \"testnet\"]),\n hostUrl: z.string().optional(),\n assetsUrl: z.string(),\n apiBase: z.string(),\n rpcBase: z.string(),\n repository: z.string().optional(),\n authAvailable: z.boolean().optional(),\n runtime: ClientRuntimeInfoSchema.optional(),\n ui: z\n .object({\n name: z.string(),\n url: z.string(),\n entry: z.string(),\n integrity: z.string().optional(),\n })\n .optional(),\n api: z\n .object({\n name: z.string(),\n url: z.string(),\n entry: z.string(),\n integrity: z.string().optional(),\n })\n .optional(),\n auth: z\n .object({\n name: z.string(),\n url: z.string(),\n entry: z.string(),\n integrity: z.string().optional(),\n sidebar: z.array(SidebarItemSchema).optional(),\n })\n .optional(),\n plugins: z\n .record(\n z.string(),\n z.object({\n name: z.string(),\n url: z.string(),\n entry: z.string(),\n integrity: z.string().optional(),\n ui: z\n .object({\n name: z.string(),\n url: z.string(),\n entry: z.string(),\n source: SourceModeSchema,\n integrity: z.string().optional(),\n })\n .optional(),\n sidebar: z.array(SidebarItemSchema).optional(),\n }),\n )\n .optional(),\n});\nexport type ClientRuntimeConfig = z.infer<typeof ClientRuntimeConfigSchema>;\n"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