@spicemod/creator 0.0.22 → 0.0.23
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/client.d.ts +47 -0
- package/dist/bin.mjs +684 -245
- package/dist/index.d.mts +697 -0
- package/dist/{client/index.mjs → index.mjs} +1 -1
- package/dist/templates/custom-app/js/react/eslint.config.ts +29 -0
- package/dist/templates/custom-app/js/react/src/app.jsx +22 -0
- package/dist/templates/custom-app/js/react/src/components/Onboarding.jsx +82 -0
- package/dist/templates/custom-app/js/react/src/extension/index.jsx +23 -0
- package/dist/templates/custom-app/meta.json +4 -0
- package/dist/templates/custom-app/shared/DOT-gitignore +34 -0
- package/dist/templates/custom-app/shared/DOT-oxlintrc.json +36 -0
- package/dist/templates/custom-app/shared/README.template.md +53 -0
- package/dist/templates/custom-app/shared/app.css +163 -0
- package/dist/templates/custom-app/shared/biome.json +36 -0
- package/dist/templates/custom-app/shared/css/app.module.scss +58 -0
- package/dist/templates/custom-app/shared/icon-active.svg +7 -0
- package/dist/templates/custom-app/shared/icon.svg +7 -0
- package/dist/templates/custom-app/shared/jsconfig.json +32 -0
- package/dist/templates/custom-app/shared/spice.config.js +9 -0
- package/dist/templates/custom-app/shared/spice.config.ts +9 -0
- package/dist/templates/custom-app/shared/tsconfig.json +32 -0
- package/dist/templates/custom-app/ts/react/eslint.config.ts +29 -0
- package/dist/templates/custom-app/ts/react/src/app.tsx +23 -0
- package/dist/templates/custom-app/ts/react/src/components/Onboarding.tsx +105 -0
- package/dist/templates/custom-app/ts/react/src/extension/index.tsx +27 -0
- package/dist/templates/extension/js/vanilla/src/components/Onboarding.js +71 -0
- package/dist/templates/extension/shared/DOT-gitignore +34 -0
- package/dist/templates/extension/shared/DOT-oxlintrc.json +36 -0
- package/dist/templates/extension/shared/spice.config.js +1 -1
- package/dist/templates/extension/shared/spice.config.ts +1 -1
- package/dist/templates/liveReload.js +0 -1
- package/dist/templates/theme/shared/DOT-gitignore +34 -0
- package/dist/templates/theme/shared/DOT-oxlintrc.json +36 -0
- package/dist/templates/theme/shared/spice.config.js +1 -1
- package/dist/templates/theme/shared/spice.config.ts +1 -1
- package/dist/templates/wrapper.js +6 -9
- package/package.json +7 -3
- package/templates/custom-app/js/react/eslint.config.ts +29 -0
- package/templates/custom-app/js/react/src/app.jsx +22 -0
- package/templates/custom-app/js/react/src/components/Onboarding.jsx +82 -0
- package/templates/custom-app/js/react/src/extension/index.jsx +23 -0
- package/templates/custom-app/meta.json +4 -0
- package/templates/custom-app/shared/DOT-gitignore +34 -0
- package/templates/custom-app/shared/DOT-oxlintrc.json +36 -0
- package/templates/custom-app/shared/README.template.md +53 -0
- package/templates/custom-app/shared/app.css +163 -0
- package/templates/custom-app/shared/biome.json +36 -0
- package/templates/custom-app/shared/css/app.module.scss +58 -0
- package/templates/custom-app/shared/icon-active.svg +7 -0
- package/templates/custom-app/shared/icon.svg +7 -0
- package/templates/custom-app/shared/jsconfig.json +32 -0
- package/templates/custom-app/shared/spice.config.js +9 -0
- package/templates/custom-app/shared/spice.config.ts +9 -0
- package/templates/custom-app/shared/tsconfig.json +32 -0
- package/templates/custom-app/ts/react/eslint.config.ts +29 -0
- package/templates/custom-app/ts/react/src/app.tsx +23 -0
- package/templates/custom-app/ts/react/src/components/Onboarding.tsx +105 -0
- package/templates/custom-app/ts/react/src/extension/index.tsx +27 -0
- package/templates/extension/js/vanilla/src/components/Onboarding.js +71 -0
- package/templates/extension/shared/DOT-gitignore +34 -0
- package/templates/extension/shared/DOT-oxlintrc.json +36 -0
- package/templates/extension/shared/spice.config.js +1 -1
- package/templates/extension/shared/spice.config.ts +1 -1
- package/templates/liveReload.js +0 -1
- package/templates/theme/shared/DOT-gitignore +34 -0
- package/templates/theme/shared/DOT-oxlintrc.json +36 -0
- package/templates/theme/shared/spice.config.js +1 -1
- package/templates/theme/shared/spice.config.ts +1 -1
- package/templates/wrapper.js +6 -9
- package/dist/client/index.d.mts +0 -2183
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,697 @@
|
|
|
1
|
+
import * as v from "valibot";
|
|
2
|
+
import { BuildOptions } from "esbuild";
|
|
3
|
+
|
|
4
|
+
//#region src/utils/package-manager.d.ts
|
|
5
|
+
type PackageManagerType = "npm" | "pnpm" | "yarn" | "bun";
|
|
6
|
+
//#endregion
|
|
7
|
+
//#region src/config/schema.d.ts
|
|
8
|
+
type EsBuildOmitted = "bundle" | "entryPoints";
|
|
9
|
+
type ESBuildOptions = Omit<BuildOptions, EsBuildOmitted>;
|
|
10
|
+
declare const FileOptionsSchema: v.IntersectSchema<[Omit<v.ObjectSchema<{
|
|
11
|
+
readonly outDir: v.StringSchema<undefined>;
|
|
12
|
+
readonly linter: v.PicklistSchema<readonly ["biome", "eslint", "oxlint", "none"], undefined>;
|
|
13
|
+
readonly framework: v.PicklistSchema<readonly ["react", "vanilla"], undefined>;
|
|
14
|
+
readonly packageManager: v.PicklistSchema<PackageManagerType[], undefined>;
|
|
15
|
+
readonly esbuildOptions: v.GenericSchema<ESBuildOptions>;
|
|
16
|
+
readonly serverConfig: Omit<v.ObjectSchema<{
|
|
17
|
+
readonly port: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
18
|
+
readonly serveDir: v.StringSchema<undefined>;
|
|
19
|
+
readonly hmrPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
20
|
+
}, undefined>, "~types" | "~run" | "~standard" | "entries"> & {
|
|
21
|
+
readonly entries: {
|
|
22
|
+
readonly port: v.OptionalSchema<v.OptionalSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
23
|
+
readonly serveDir: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
24
|
+
readonly hmrPath: v.OptionalSchema<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
25
|
+
};
|
|
26
|
+
readonly "~standard": v.StandardProps<{
|
|
27
|
+
port?: number | undefined;
|
|
28
|
+
serveDir?: string | undefined;
|
|
29
|
+
hmrPath?: string | undefined;
|
|
30
|
+
}, {
|
|
31
|
+
port?: number | undefined;
|
|
32
|
+
serveDir?: string | undefined;
|
|
33
|
+
hmrPath?: string | undefined;
|
|
34
|
+
}>;
|
|
35
|
+
readonly "~run": (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
|
|
36
|
+
port?: number | undefined;
|
|
37
|
+
serveDir?: string | undefined;
|
|
38
|
+
hmrPath?: string | undefined;
|
|
39
|
+
}, v.NumberIssue | v.StringIssue | v.ObjectIssue>;
|
|
40
|
+
readonly "~types"?: {
|
|
41
|
+
readonly input: {
|
|
42
|
+
port?: number | undefined;
|
|
43
|
+
serveDir?: string | undefined;
|
|
44
|
+
hmrPath?: string | undefined;
|
|
45
|
+
};
|
|
46
|
+
readonly output: {
|
|
47
|
+
port?: number | undefined;
|
|
48
|
+
serveDir?: string | undefined;
|
|
49
|
+
hmrPath?: string | undefined;
|
|
50
|
+
};
|
|
51
|
+
readonly issue: v.NumberIssue | v.StringIssue | v.ObjectIssue;
|
|
52
|
+
} | undefined;
|
|
53
|
+
};
|
|
54
|
+
readonly version: v.StringSchema<undefined>;
|
|
55
|
+
}, undefined>, "~types" | "~run" | "~standard" | "entries"> & {
|
|
56
|
+
readonly entries: {
|
|
57
|
+
readonly outDir: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
58
|
+
readonly linter: v.OptionalSchema<v.PicklistSchema<readonly ["biome", "eslint", "oxlint", "none"], undefined>, undefined>;
|
|
59
|
+
readonly framework: v.OptionalSchema<v.PicklistSchema<readonly ["react", "vanilla"], undefined>, undefined>;
|
|
60
|
+
readonly packageManager: v.OptionalSchema<v.PicklistSchema<PackageManagerType[], undefined>, undefined>;
|
|
61
|
+
readonly esbuildOptions: v.OptionalSchema<v.GenericSchema<ESBuildOptions>, undefined>;
|
|
62
|
+
readonly serverConfig: v.OptionalSchema<Omit<v.ObjectSchema<{
|
|
63
|
+
readonly port: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
64
|
+
readonly serveDir: v.StringSchema<undefined>;
|
|
65
|
+
readonly hmrPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
66
|
+
}, undefined>, "~types" | "~run" | "~standard" | "entries"> & {
|
|
67
|
+
readonly entries: {
|
|
68
|
+
readonly port: v.OptionalSchema<v.OptionalSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
69
|
+
readonly serveDir: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
70
|
+
readonly hmrPath: v.OptionalSchema<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
71
|
+
};
|
|
72
|
+
readonly "~standard": v.StandardProps<{
|
|
73
|
+
port?: number | undefined;
|
|
74
|
+
serveDir?: string | undefined;
|
|
75
|
+
hmrPath?: string | undefined;
|
|
76
|
+
}, {
|
|
77
|
+
port?: number | undefined;
|
|
78
|
+
serveDir?: string | undefined;
|
|
79
|
+
hmrPath?: string | undefined;
|
|
80
|
+
}>;
|
|
81
|
+
readonly "~run": (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
|
|
82
|
+
port?: number | undefined;
|
|
83
|
+
serveDir?: string | undefined;
|
|
84
|
+
hmrPath?: string | undefined;
|
|
85
|
+
}, v.NumberIssue | v.StringIssue | v.ObjectIssue>;
|
|
86
|
+
readonly "~types"?: {
|
|
87
|
+
readonly input: {
|
|
88
|
+
port?: number | undefined;
|
|
89
|
+
serveDir?: string | undefined;
|
|
90
|
+
hmrPath?: string | undefined;
|
|
91
|
+
};
|
|
92
|
+
readonly output: {
|
|
93
|
+
port?: number | undefined;
|
|
94
|
+
serveDir?: string | undefined;
|
|
95
|
+
hmrPath?: string | undefined;
|
|
96
|
+
};
|
|
97
|
+
readonly issue: v.NumberIssue | v.StringIssue | v.ObjectIssue;
|
|
98
|
+
} | undefined;
|
|
99
|
+
}, undefined>;
|
|
100
|
+
readonly version: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
101
|
+
};
|
|
102
|
+
readonly "~standard": v.StandardProps<{
|
|
103
|
+
outDir?: string | undefined;
|
|
104
|
+
linter?: "biome" | "eslint" | "oxlint" | "none" | undefined;
|
|
105
|
+
framework?: "react" | "vanilla" | undefined;
|
|
106
|
+
packageManager?: PackageManagerType | undefined;
|
|
107
|
+
esbuildOptions?: ESBuildOptions | undefined;
|
|
108
|
+
serverConfig?: {
|
|
109
|
+
port?: number | undefined;
|
|
110
|
+
serveDir?: string | undefined;
|
|
111
|
+
hmrPath?: string | undefined;
|
|
112
|
+
} | undefined;
|
|
113
|
+
version?: string | undefined;
|
|
114
|
+
}, {
|
|
115
|
+
outDir?: string | undefined;
|
|
116
|
+
linter?: "biome" | "eslint" | "oxlint" | "none" | undefined;
|
|
117
|
+
framework?: "react" | "vanilla" | undefined;
|
|
118
|
+
packageManager?: PackageManagerType | undefined;
|
|
119
|
+
esbuildOptions?: ESBuildOptions | undefined;
|
|
120
|
+
serverConfig?: {
|
|
121
|
+
port?: number | undefined;
|
|
122
|
+
serveDir?: string | undefined;
|
|
123
|
+
hmrPath?: string | undefined;
|
|
124
|
+
} | undefined;
|
|
125
|
+
version?: string | undefined;
|
|
126
|
+
}>;
|
|
127
|
+
readonly "~run": (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
|
|
128
|
+
outDir?: string | undefined;
|
|
129
|
+
linter?: "biome" | "eslint" | "oxlint" | "none" | undefined;
|
|
130
|
+
framework?: "react" | "vanilla" | undefined;
|
|
131
|
+
packageManager?: PackageManagerType | undefined;
|
|
132
|
+
esbuildOptions?: ESBuildOptions | undefined;
|
|
133
|
+
serverConfig?: {
|
|
134
|
+
port?: number | undefined;
|
|
135
|
+
serveDir?: string | undefined;
|
|
136
|
+
hmrPath?: string | undefined;
|
|
137
|
+
} | undefined;
|
|
138
|
+
version?: string | undefined;
|
|
139
|
+
}, v.BaseIssue<unknown> | v.NumberIssue | v.StringIssue | v.ObjectIssue | v.PicklistIssue>;
|
|
140
|
+
readonly "~types"?: {
|
|
141
|
+
readonly input: {
|
|
142
|
+
outDir?: string | undefined;
|
|
143
|
+
linter?: "biome" | "eslint" | "oxlint" | "none" | undefined;
|
|
144
|
+
framework?: "react" | "vanilla" | undefined;
|
|
145
|
+
packageManager?: PackageManagerType | undefined;
|
|
146
|
+
esbuildOptions?: ESBuildOptions | undefined;
|
|
147
|
+
serverConfig?: {
|
|
148
|
+
port?: number | undefined;
|
|
149
|
+
serveDir?: string | undefined;
|
|
150
|
+
hmrPath?: string | undefined;
|
|
151
|
+
} | undefined;
|
|
152
|
+
version?: string | undefined;
|
|
153
|
+
};
|
|
154
|
+
readonly output: {
|
|
155
|
+
outDir?: string | undefined;
|
|
156
|
+
linter?: "biome" | "eslint" | "oxlint" | "none" | undefined;
|
|
157
|
+
framework?: "react" | "vanilla" | undefined;
|
|
158
|
+
packageManager?: PackageManagerType | undefined;
|
|
159
|
+
esbuildOptions?: ESBuildOptions | undefined;
|
|
160
|
+
serverConfig?: {
|
|
161
|
+
port?: number | undefined;
|
|
162
|
+
serveDir?: string | undefined;
|
|
163
|
+
hmrPath?: string | undefined;
|
|
164
|
+
} | undefined;
|
|
165
|
+
version?: string | undefined;
|
|
166
|
+
};
|
|
167
|
+
readonly issue: v.BaseIssue<unknown> | v.NumberIssue | v.StringIssue | v.ObjectIssue | v.PicklistIssue;
|
|
168
|
+
} | undefined;
|
|
169
|
+
}, v.ObjectSchema<{
|
|
170
|
+
readonly devModeVarName: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
171
|
+
}, undefined>, v.VariantSchema<"template", [Omit<v.ObjectSchema<{
|
|
172
|
+
readonly name: v.StringSchema<undefined>;
|
|
173
|
+
readonly template: v.LiteralSchema<"extension", undefined>;
|
|
174
|
+
readonly entry: v.StringSchema<undefined>;
|
|
175
|
+
}, undefined>, "~types" | "~run" | "~standard" | "entries"> & {
|
|
176
|
+
readonly entries: {
|
|
177
|
+
readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
178
|
+
readonly template: v.OptionalSchema<v.LiteralSchema<"extension", undefined>, undefined>;
|
|
179
|
+
readonly entry: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
180
|
+
};
|
|
181
|
+
readonly "~standard": v.StandardProps<{
|
|
182
|
+
name?: string | undefined;
|
|
183
|
+
template?: "extension" | undefined;
|
|
184
|
+
entry?: string | undefined;
|
|
185
|
+
}, {
|
|
186
|
+
name?: string | undefined;
|
|
187
|
+
template?: "extension" | undefined;
|
|
188
|
+
entry?: string | undefined;
|
|
189
|
+
}>;
|
|
190
|
+
readonly "~run": (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
|
|
191
|
+
name?: string | undefined;
|
|
192
|
+
template?: "extension" | undefined;
|
|
193
|
+
entry?: string | undefined;
|
|
194
|
+
}, v.StringIssue | v.ObjectIssue | v.LiteralIssue>;
|
|
195
|
+
readonly "~types"?: {
|
|
196
|
+
readonly input: {
|
|
197
|
+
name?: string | undefined;
|
|
198
|
+
template?: "extension" | undefined;
|
|
199
|
+
entry?: string | undefined;
|
|
200
|
+
};
|
|
201
|
+
readonly output: {
|
|
202
|
+
name?: string | undefined;
|
|
203
|
+
template?: "extension" | undefined;
|
|
204
|
+
entry?: string | undefined;
|
|
205
|
+
};
|
|
206
|
+
readonly issue: v.StringIssue | v.ObjectIssue | v.LiteralIssue;
|
|
207
|
+
} | undefined;
|
|
208
|
+
}, Omit<v.ObjectSchema<{
|
|
209
|
+
readonly name: v.StringSchema<undefined>;
|
|
210
|
+
readonly template: v.LiteralSchema<"theme", undefined>;
|
|
211
|
+
readonly entry: v.ObjectSchema<{
|
|
212
|
+
readonly js: v.StringSchema<undefined>;
|
|
213
|
+
readonly css: v.StringSchema<undefined>;
|
|
214
|
+
}, undefined>;
|
|
215
|
+
}, undefined>, "~types" | "~run" | "~standard" | "entries"> & {
|
|
216
|
+
readonly entries: {
|
|
217
|
+
readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
218
|
+
readonly template: v.OptionalSchema<v.LiteralSchema<"theme", undefined>, undefined>;
|
|
219
|
+
readonly entry: v.OptionalSchema<v.ObjectSchema<{
|
|
220
|
+
readonly js: v.StringSchema<undefined>;
|
|
221
|
+
readonly css: v.StringSchema<undefined>;
|
|
222
|
+
}, undefined>, undefined>;
|
|
223
|
+
};
|
|
224
|
+
readonly "~standard": v.StandardProps<{
|
|
225
|
+
name?: string | undefined;
|
|
226
|
+
template?: "theme" | undefined;
|
|
227
|
+
entry?: {
|
|
228
|
+
js: string;
|
|
229
|
+
css: string;
|
|
230
|
+
} | undefined;
|
|
231
|
+
}, {
|
|
232
|
+
name?: string | undefined;
|
|
233
|
+
template?: "theme" | undefined;
|
|
234
|
+
entry?: {
|
|
235
|
+
js: string;
|
|
236
|
+
css: string;
|
|
237
|
+
} | undefined;
|
|
238
|
+
}>;
|
|
239
|
+
readonly "~run": (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
|
|
240
|
+
name?: string | undefined;
|
|
241
|
+
template?: "theme" | undefined;
|
|
242
|
+
entry?: {
|
|
243
|
+
js: string;
|
|
244
|
+
css: string;
|
|
245
|
+
} | undefined;
|
|
246
|
+
}, v.StringIssue | v.ObjectIssue | v.LiteralIssue>;
|
|
247
|
+
readonly "~types"?: {
|
|
248
|
+
readonly input: {
|
|
249
|
+
name?: string | undefined;
|
|
250
|
+
template?: "theme" | undefined;
|
|
251
|
+
entry?: {
|
|
252
|
+
js: string;
|
|
253
|
+
css: string;
|
|
254
|
+
} | undefined;
|
|
255
|
+
};
|
|
256
|
+
readonly output: {
|
|
257
|
+
name?: string | undefined;
|
|
258
|
+
template?: "theme" | undefined;
|
|
259
|
+
entry?: {
|
|
260
|
+
js: string;
|
|
261
|
+
css: string;
|
|
262
|
+
} | undefined;
|
|
263
|
+
};
|
|
264
|
+
readonly issue: v.StringIssue | v.ObjectIssue | v.LiteralIssue;
|
|
265
|
+
} | undefined;
|
|
266
|
+
}, Omit<v.ObjectSchema<{
|
|
267
|
+
readonly name: v.UnionSchema<[v.StringSchema<undefined>, v.IntersectSchema<[v.ObjectSchema<{
|
|
268
|
+
readonly en: v.StringSchema<undefined>;
|
|
269
|
+
}, undefined>, v.RecordSchema<v.PicklistSchema<readonly ["ms", "gu", "ko", "pa-IN", "az", "ru", "uk", "nb", "sv", "sw", "ur", "bho", "pa-PK", "te", "ro", "vi", "am", "bn", "en", "id", "bg", "da", "es-419", "mr", "ml", "th", "tr", "is", "fa", "or", "he", "hi", "zh-TW", "sr", "pt-BR", "zu", "nl", "es", "lt", "ja", "st", "it", "el", "pt-PT", "kn", "de", "fr", "ne", "ar", "af", "et", "pl", "ta", "sl", "pk", "hr", "sk", "fi", "lv", "fil", "fr-CA", "cs", "zh-CN", "hu"], undefined>, v.StringSchema<undefined>, undefined>], undefined>], undefined>;
|
|
270
|
+
readonly icon: v.ObjectSchema<{
|
|
271
|
+
readonly default: v.StringSchema<undefined>;
|
|
272
|
+
readonly active: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
273
|
+
}, undefined>;
|
|
274
|
+
readonly template: v.LiteralSchema<"custom-app", undefined>;
|
|
275
|
+
readonly entry: v.ObjectSchema<{
|
|
276
|
+
readonly extension: v.StringSchema<undefined>;
|
|
277
|
+
readonly app: v.StringSchema<undefined>;
|
|
278
|
+
}, undefined>;
|
|
279
|
+
}, undefined>, "~types" | "~run" | "~standard" | "entries"> & {
|
|
280
|
+
readonly entries: {
|
|
281
|
+
readonly name: v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.IntersectSchema<[v.ObjectSchema<{
|
|
282
|
+
readonly en: v.StringSchema<undefined>;
|
|
283
|
+
}, undefined>, v.RecordSchema<v.PicklistSchema<readonly ["ms", "gu", "ko", "pa-IN", "az", "ru", "uk", "nb", "sv", "sw", "ur", "bho", "pa-PK", "te", "ro", "vi", "am", "bn", "en", "id", "bg", "da", "es-419", "mr", "ml", "th", "tr", "is", "fa", "or", "he", "hi", "zh-TW", "sr", "pt-BR", "zu", "nl", "es", "lt", "ja", "st", "it", "el", "pt-PT", "kn", "de", "fr", "ne", "ar", "af", "et", "pl", "ta", "sl", "pk", "hr", "sk", "fi", "lv", "fil", "fr-CA", "cs", "zh-CN", "hu"], undefined>, v.StringSchema<undefined>, undefined>], undefined>], undefined>, undefined>;
|
|
284
|
+
readonly icon: v.OptionalSchema<v.ObjectSchema<{
|
|
285
|
+
readonly default: v.StringSchema<undefined>;
|
|
286
|
+
readonly active: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
287
|
+
}, undefined>, undefined>;
|
|
288
|
+
readonly template: v.OptionalSchema<v.LiteralSchema<"custom-app", undefined>, undefined>;
|
|
289
|
+
readonly entry: v.OptionalSchema<v.ObjectSchema<{
|
|
290
|
+
readonly extension: v.StringSchema<undefined>;
|
|
291
|
+
readonly app: v.StringSchema<undefined>;
|
|
292
|
+
}, undefined>, undefined>;
|
|
293
|
+
};
|
|
294
|
+
readonly "~standard": v.StandardProps<{
|
|
295
|
+
name?: string | ({
|
|
296
|
+
en: string;
|
|
297
|
+
} & {
|
|
298
|
+
en?: string | undefined;
|
|
299
|
+
ms?: string | undefined;
|
|
300
|
+
gu?: string | undefined;
|
|
301
|
+
ko?: string | undefined;
|
|
302
|
+
"pa-IN"?: string | undefined;
|
|
303
|
+
az?: string | undefined;
|
|
304
|
+
ru?: string | undefined;
|
|
305
|
+
uk?: string | undefined;
|
|
306
|
+
nb?: string | undefined;
|
|
307
|
+
sv?: string | undefined;
|
|
308
|
+
sw?: string | undefined;
|
|
309
|
+
ur?: string | undefined;
|
|
310
|
+
bho?: string | undefined;
|
|
311
|
+
"pa-PK"?: string | undefined;
|
|
312
|
+
te?: string | undefined;
|
|
313
|
+
ro?: string | undefined;
|
|
314
|
+
vi?: string | undefined;
|
|
315
|
+
am?: string | undefined;
|
|
316
|
+
bn?: string | undefined;
|
|
317
|
+
id?: string | undefined;
|
|
318
|
+
bg?: string | undefined;
|
|
319
|
+
da?: string | undefined;
|
|
320
|
+
"es-419"?: string | undefined;
|
|
321
|
+
mr?: string | undefined;
|
|
322
|
+
ml?: string | undefined;
|
|
323
|
+
th?: string | undefined;
|
|
324
|
+
tr?: string | undefined;
|
|
325
|
+
is?: string | undefined;
|
|
326
|
+
fa?: string | undefined;
|
|
327
|
+
or?: string | undefined;
|
|
328
|
+
he?: string | undefined;
|
|
329
|
+
hi?: string | undefined;
|
|
330
|
+
"zh-TW"?: string | undefined;
|
|
331
|
+
sr?: string | undefined;
|
|
332
|
+
"pt-BR"?: string | undefined;
|
|
333
|
+
zu?: string | undefined;
|
|
334
|
+
nl?: string | undefined;
|
|
335
|
+
es?: string | undefined;
|
|
336
|
+
lt?: string | undefined;
|
|
337
|
+
ja?: string | undefined;
|
|
338
|
+
st?: string | undefined;
|
|
339
|
+
it?: string | undefined;
|
|
340
|
+
el?: string | undefined;
|
|
341
|
+
"pt-PT"?: string | undefined;
|
|
342
|
+
kn?: string | undefined;
|
|
343
|
+
de?: string | undefined;
|
|
344
|
+
fr?: string | undefined;
|
|
345
|
+
ne?: string | undefined;
|
|
346
|
+
ar?: string | undefined;
|
|
347
|
+
af?: string | undefined;
|
|
348
|
+
et?: string | undefined;
|
|
349
|
+
pl?: string | undefined;
|
|
350
|
+
ta?: string | undefined;
|
|
351
|
+
sl?: string | undefined;
|
|
352
|
+
pk?: string | undefined;
|
|
353
|
+
hr?: string | undefined;
|
|
354
|
+
sk?: string | undefined;
|
|
355
|
+
fi?: string | undefined;
|
|
356
|
+
lv?: string | undefined;
|
|
357
|
+
fil?: string | undefined;
|
|
358
|
+
"fr-CA"?: string | undefined;
|
|
359
|
+
cs?: string | undefined;
|
|
360
|
+
"zh-CN"?: string | undefined;
|
|
361
|
+
hu?: string | undefined;
|
|
362
|
+
}) | undefined;
|
|
363
|
+
icon?: {
|
|
364
|
+
default: string;
|
|
365
|
+
active?: string | undefined;
|
|
366
|
+
} | undefined;
|
|
367
|
+
template?: "custom-app" | undefined;
|
|
368
|
+
entry?: {
|
|
369
|
+
extension: string;
|
|
370
|
+
app: string;
|
|
371
|
+
} | undefined;
|
|
372
|
+
}, {
|
|
373
|
+
name?: string | ({
|
|
374
|
+
en: string;
|
|
375
|
+
} & {
|
|
376
|
+
en?: string | undefined;
|
|
377
|
+
ms?: string | undefined;
|
|
378
|
+
gu?: string | undefined;
|
|
379
|
+
ko?: string | undefined;
|
|
380
|
+
"pa-IN"?: string | undefined;
|
|
381
|
+
az?: string | undefined;
|
|
382
|
+
ru?: string | undefined;
|
|
383
|
+
uk?: string | undefined;
|
|
384
|
+
nb?: string | undefined;
|
|
385
|
+
sv?: string | undefined;
|
|
386
|
+
sw?: string | undefined;
|
|
387
|
+
ur?: string | undefined;
|
|
388
|
+
bho?: string | undefined;
|
|
389
|
+
"pa-PK"?: string | undefined;
|
|
390
|
+
te?: string | undefined;
|
|
391
|
+
ro?: string | undefined;
|
|
392
|
+
vi?: string | undefined;
|
|
393
|
+
am?: string | undefined;
|
|
394
|
+
bn?: string | undefined;
|
|
395
|
+
id?: string | undefined;
|
|
396
|
+
bg?: string | undefined;
|
|
397
|
+
da?: string | undefined;
|
|
398
|
+
"es-419"?: string | undefined;
|
|
399
|
+
mr?: string | undefined;
|
|
400
|
+
ml?: string | undefined;
|
|
401
|
+
th?: string | undefined;
|
|
402
|
+
tr?: string | undefined;
|
|
403
|
+
is?: string | undefined;
|
|
404
|
+
fa?: string | undefined;
|
|
405
|
+
or?: string | undefined;
|
|
406
|
+
he?: string | undefined;
|
|
407
|
+
hi?: string | undefined;
|
|
408
|
+
"zh-TW"?: string | undefined;
|
|
409
|
+
sr?: string | undefined;
|
|
410
|
+
"pt-BR"?: string | undefined;
|
|
411
|
+
zu?: string | undefined;
|
|
412
|
+
nl?: string | undefined;
|
|
413
|
+
es?: string | undefined;
|
|
414
|
+
lt?: string | undefined;
|
|
415
|
+
ja?: string | undefined;
|
|
416
|
+
st?: string | undefined;
|
|
417
|
+
it?: string | undefined;
|
|
418
|
+
el?: string | undefined;
|
|
419
|
+
"pt-PT"?: string | undefined;
|
|
420
|
+
kn?: string | undefined;
|
|
421
|
+
de?: string | undefined;
|
|
422
|
+
fr?: string | undefined;
|
|
423
|
+
ne?: string | undefined;
|
|
424
|
+
ar?: string | undefined;
|
|
425
|
+
af?: string | undefined;
|
|
426
|
+
et?: string | undefined;
|
|
427
|
+
pl?: string | undefined;
|
|
428
|
+
ta?: string | undefined;
|
|
429
|
+
sl?: string | undefined;
|
|
430
|
+
pk?: string | undefined;
|
|
431
|
+
hr?: string | undefined;
|
|
432
|
+
sk?: string | undefined;
|
|
433
|
+
fi?: string | undefined;
|
|
434
|
+
lv?: string | undefined;
|
|
435
|
+
fil?: string | undefined;
|
|
436
|
+
"fr-CA"?: string | undefined;
|
|
437
|
+
cs?: string | undefined;
|
|
438
|
+
"zh-CN"?: string | undefined;
|
|
439
|
+
hu?: string | undefined;
|
|
440
|
+
}) | undefined;
|
|
441
|
+
icon?: {
|
|
442
|
+
default: string;
|
|
443
|
+
active?: string | undefined;
|
|
444
|
+
} | undefined;
|
|
445
|
+
template?: "custom-app" | undefined;
|
|
446
|
+
entry?: {
|
|
447
|
+
extension: string;
|
|
448
|
+
app: string;
|
|
449
|
+
} | undefined;
|
|
450
|
+
}>;
|
|
451
|
+
readonly "~run": (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
|
|
452
|
+
name?: string | ({
|
|
453
|
+
en: string;
|
|
454
|
+
} & {
|
|
455
|
+
en?: string | undefined;
|
|
456
|
+
ms?: string | undefined;
|
|
457
|
+
gu?: string | undefined;
|
|
458
|
+
ko?: string | undefined;
|
|
459
|
+
"pa-IN"?: string | undefined;
|
|
460
|
+
az?: string | undefined;
|
|
461
|
+
ru?: string | undefined;
|
|
462
|
+
uk?: string | undefined;
|
|
463
|
+
nb?: string | undefined;
|
|
464
|
+
sv?: string | undefined;
|
|
465
|
+
sw?: string | undefined;
|
|
466
|
+
ur?: string | undefined;
|
|
467
|
+
bho?: string | undefined;
|
|
468
|
+
"pa-PK"?: string | undefined;
|
|
469
|
+
te?: string | undefined;
|
|
470
|
+
ro?: string | undefined;
|
|
471
|
+
vi?: string | undefined;
|
|
472
|
+
am?: string | undefined;
|
|
473
|
+
bn?: string | undefined;
|
|
474
|
+
id?: string | undefined;
|
|
475
|
+
bg?: string | undefined;
|
|
476
|
+
da?: string | undefined;
|
|
477
|
+
"es-419"?: string | undefined;
|
|
478
|
+
mr?: string | undefined;
|
|
479
|
+
ml?: string | undefined;
|
|
480
|
+
th?: string | undefined;
|
|
481
|
+
tr?: string | undefined;
|
|
482
|
+
is?: string | undefined;
|
|
483
|
+
fa?: string | undefined;
|
|
484
|
+
or?: string | undefined;
|
|
485
|
+
he?: string | undefined;
|
|
486
|
+
hi?: string | undefined;
|
|
487
|
+
"zh-TW"?: string | undefined;
|
|
488
|
+
sr?: string | undefined;
|
|
489
|
+
"pt-BR"?: string | undefined;
|
|
490
|
+
zu?: string | undefined;
|
|
491
|
+
nl?: string | undefined;
|
|
492
|
+
es?: string | undefined;
|
|
493
|
+
lt?: string | undefined;
|
|
494
|
+
ja?: string | undefined;
|
|
495
|
+
st?: string | undefined;
|
|
496
|
+
it?: string | undefined;
|
|
497
|
+
el?: string | undefined;
|
|
498
|
+
"pt-PT"?: string | undefined;
|
|
499
|
+
kn?: string | undefined;
|
|
500
|
+
de?: string | undefined;
|
|
501
|
+
fr?: string | undefined;
|
|
502
|
+
ne?: string | undefined;
|
|
503
|
+
ar?: string | undefined;
|
|
504
|
+
af?: string | undefined;
|
|
505
|
+
et?: string | undefined;
|
|
506
|
+
pl?: string | undefined;
|
|
507
|
+
ta?: string | undefined;
|
|
508
|
+
sl?: string | undefined;
|
|
509
|
+
pk?: string | undefined;
|
|
510
|
+
hr?: string | undefined;
|
|
511
|
+
sk?: string | undefined;
|
|
512
|
+
fi?: string | undefined;
|
|
513
|
+
lv?: string | undefined;
|
|
514
|
+
fil?: string | undefined;
|
|
515
|
+
"fr-CA"?: string | undefined;
|
|
516
|
+
cs?: string | undefined;
|
|
517
|
+
"zh-CN"?: string | undefined;
|
|
518
|
+
hu?: string | undefined;
|
|
519
|
+
}) | undefined;
|
|
520
|
+
icon?: {
|
|
521
|
+
default: string;
|
|
522
|
+
active?: string | undefined;
|
|
523
|
+
} | undefined;
|
|
524
|
+
template?: "custom-app" | undefined;
|
|
525
|
+
entry?: {
|
|
526
|
+
extension: string;
|
|
527
|
+
app: string;
|
|
528
|
+
} | undefined;
|
|
529
|
+
}, v.StringIssue | v.ObjectIssue | v.PicklistIssue | v.RecordIssue | v.LiteralIssue | v.IntersectIssue | v.UnionIssue<v.StringIssue | v.ObjectIssue | v.PicklistIssue | v.RecordIssue | v.IntersectIssue>>;
|
|
530
|
+
readonly "~types"?: {
|
|
531
|
+
readonly input: {
|
|
532
|
+
name?: string | ({
|
|
533
|
+
en: string;
|
|
534
|
+
} & {
|
|
535
|
+
en?: string | undefined;
|
|
536
|
+
ms?: string | undefined;
|
|
537
|
+
gu?: string | undefined;
|
|
538
|
+
ko?: string | undefined;
|
|
539
|
+
"pa-IN"?: string | undefined;
|
|
540
|
+
az?: string | undefined;
|
|
541
|
+
ru?: string | undefined;
|
|
542
|
+
uk?: string | undefined;
|
|
543
|
+
nb?: string | undefined;
|
|
544
|
+
sv?: string | undefined;
|
|
545
|
+
sw?: string | undefined;
|
|
546
|
+
ur?: string | undefined;
|
|
547
|
+
bho?: string | undefined;
|
|
548
|
+
"pa-PK"?: string | undefined;
|
|
549
|
+
te?: string | undefined;
|
|
550
|
+
ro?: string | undefined;
|
|
551
|
+
vi?: string | undefined;
|
|
552
|
+
am?: string | undefined;
|
|
553
|
+
bn?: string | undefined;
|
|
554
|
+
id?: string | undefined;
|
|
555
|
+
bg?: string | undefined;
|
|
556
|
+
da?: string | undefined;
|
|
557
|
+
"es-419"?: string | undefined;
|
|
558
|
+
mr?: string | undefined;
|
|
559
|
+
ml?: string | undefined;
|
|
560
|
+
th?: string | undefined;
|
|
561
|
+
tr?: string | undefined;
|
|
562
|
+
is?: string | undefined;
|
|
563
|
+
fa?: string | undefined;
|
|
564
|
+
or?: string | undefined;
|
|
565
|
+
he?: string | undefined;
|
|
566
|
+
hi?: string | undefined;
|
|
567
|
+
"zh-TW"?: string | undefined;
|
|
568
|
+
sr?: string | undefined;
|
|
569
|
+
"pt-BR"?: string | undefined;
|
|
570
|
+
zu?: string | undefined;
|
|
571
|
+
nl?: string | undefined;
|
|
572
|
+
es?: string | undefined;
|
|
573
|
+
lt?: string | undefined;
|
|
574
|
+
ja?: string | undefined;
|
|
575
|
+
st?: string | undefined;
|
|
576
|
+
it?: string | undefined;
|
|
577
|
+
el?: string | undefined;
|
|
578
|
+
"pt-PT"?: string | undefined;
|
|
579
|
+
kn?: string | undefined;
|
|
580
|
+
de?: string | undefined;
|
|
581
|
+
fr?: string | undefined;
|
|
582
|
+
ne?: string | undefined;
|
|
583
|
+
ar?: string | undefined;
|
|
584
|
+
af?: string | undefined;
|
|
585
|
+
et?: string | undefined;
|
|
586
|
+
pl?: string | undefined;
|
|
587
|
+
ta?: string | undefined;
|
|
588
|
+
sl?: string | undefined;
|
|
589
|
+
pk?: string | undefined;
|
|
590
|
+
hr?: string | undefined;
|
|
591
|
+
sk?: string | undefined;
|
|
592
|
+
fi?: string | undefined;
|
|
593
|
+
lv?: string | undefined;
|
|
594
|
+
fil?: string | undefined;
|
|
595
|
+
"fr-CA"?: string | undefined;
|
|
596
|
+
cs?: string | undefined;
|
|
597
|
+
"zh-CN"?: string | undefined;
|
|
598
|
+
hu?: string | undefined;
|
|
599
|
+
}) | undefined;
|
|
600
|
+
icon?: {
|
|
601
|
+
default: string;
|
|
602
|
+
active?: string | undefined;
|
|
603
|
+
} | undefined;
|
|
604
|
+
template?: "custom-app" | undefined;
|
|
605
|
+
entry?: {
|
|
606
|
+
extension: string;
|
|
607
|
+
app: string;
|
|
608
|
+
} | undefined;
|
|
609
|
+
};
|
|
610
|
+
readonly output: {
|
|
611
|
+
name?: string | ({
|
|
612
|
+
en: string;
|
|
613
|
+
} & {
|
|
614
|
+
en?: string | undefined;
|
|
615
|
+
ms?: string | undefined;
|
|
616
|
+
gu?: string | undefined;
|
|
617
|
+
ko?: string | undefined;
|
|
618
|
+
"pa-IN"?: string | undefined;
|
|
619
|
+
az?: string | undefined;
|
|
620
|
+
ru?: string | undefined;
|
|
621
|
+
uk?: string | undefined;
|
|
622
|
+
nb?: string | undefined;
|
|
623
|
+
sv?: string | undefined;
|
|
624
|
+
sw?: string | undefined;
|
|
625
|
+
ur?: string | undefined;
|
|
626
|
+
bho?: string | undefined;
|
|
627
|
+
"pa-PK"?: string | undefined;
|
|
628
|
+
te?: string | undefined;
|
|
629
|
+
ro?: string | undefined;
|
|
630
|
+
vi?: string | undefined;
|
|
631
|
+
am?: string | undefined;
|
|
632
|
+
bn?: string | undefined;
|
|
633
|
+
id?: string | undefined;
|
|
634
|
+
bg?: string | undefined;
|
|
635
|
+
da?: string | undefined;
|
|
636
|
+
"es-419"?: string | undefined;
|
|
637
|
+
mr?: string | undefined;
|
|
638
|
+
ml?: string | undefined;
|
|
639
|
+
th?: string | undefined;
|
|
640
|
+
tr?: string | undefined;
|
|
641
|
+
is?: string | undefined;
|
|
642
|
+
fa?: string | undefined;
|
|
643
|
+
or?: string | undefined;
|
|
644
|
+
he?: string | undefined;
|
|
645
|
+
hi?: string | undefined;
|
|
646
|
+
"zh-TW"?: string | undefined;
|
|
647
|
+
sr?: string | undefined;
|
|
648
|
+
"pt-BR"?: string | undefined;
|
|
649
|
+
zu?: string | undefined;
|
|
650
|
+
nl?: string | undefined;
|
|
651
|
+
es?: string | undefined;
|
|
652
|
+
lt?: string | undefined;
|
|
653
|
+
ja?: string | undefined;
|
|
654
|
+
st?: string | undefined;
|
|
655
|
+
it?: string | undefined;
|
|
656
|
+
el?: string | undefined;
|
|
657
|
+
"pt-PT"?: string | undefined;
|
|
658
|
+
kn?: string | undefined;
|
|
659
|
+
de?: string | undefined;
|
|
660
|
+
fr?: string | undefined;
|
|
661
|
+
ne?: string | undefined;
|
|
662
|
+
ar?: string | undefined;
|
|
663
|
+
af?: string | undefined;
|
|
664
|
+
et?: string | undefined;
|
|
665
|
+
pl?: string | undefined;
|
|
666
|
+
ta?: string | undefined;
|
|
667
|
+
sl?: string | undefined;
|
|
668
|
+
pk?: string | undefined;
|
|
669
|
+
hr?: string | undefined;
|
|
670
|
+
sk?: string | undefined;
|
|
671
|
+
fi?: string | undefined;
|
|
672
|
+
lv?: string | undefined;
|
|
673
|
+
fil?: string | undefined;
|
|
674
|
+
"fr-CA"?: string | undefined;
|
|
675
|
+
cs?: string | undefined;
|
|
676
|
+
"zh-CN"?: string | undefined;
|
|
677
|
+
hu?: string | undefined;
|
|
678
|
+
}) | undefined;
|
|
679
|
+
icon?: {
|
|
680
|
+
default: string;
|
|
681
|
+
active?: string | undefined;
|
|
682
|
+
} | undefined;
|
|
683
|
+
template?: "custom-app" | undefined;
|
|
684
|
+
entry?: {
|
|
685
|
+
extension: string;
|
|
686
|
+
app: string;
|
|
687
|
+
} | undefined;
|
|
688
|
+
};
|
|
689
|
+
readonly issue: v.StringIssue | v.ObjectIssue | v.PicklistIssue | v.RecordIssue | v.LiteralIssue | v.IntersectIssue | v.UnionIssue<v.StringIssue | v.ObjectIssue | v.PicklistIssue | v.RecordIssue | v.IntersectIssue>;
|
|
690
|
+
} | undefined;
|
|
691
|
+
}], undefined>], undefined>;
|
|
692
|
+
type FileConfig = v.InferOutput<typeof FileOptionsSchema>;
|
|
693
|
+
//#endregion
|
|
694
|
+
//#region src/index.d.ts
|
|
695
|
+
declare function defineConfig(config: FileConfig): FileConfig;
|
|
696
|
+
//#endregion
|
|
697
|
+
export { defineConfig };
|