@platforma-sdk/block-tools 2.1.5 → 2.1.7
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/cli.js +1 -756
- package/dist/cli.js.map +1 -1
- package/dist/cli.mjs +187 -0
- package/dist/cli.mjs.map +1 -0
- package/dist/cmd/build-meta.d.ts +10 -0
- package/dist/cmd/build-meta.d.ts.map +1 -0
- package/dist/cmd/build-model.d.ts +11 -0
- package/dist/cmd/build-model.d.ts.map +1 -0
- package/dist/cmd/index.d.ts +11 -0
- package/dist/cmd/index.d.ts.map +1 -0
- package/dist/cmd/pack-block.d.ts +10 -0
- package/dist/cmd/pack-block.d.ts.map +1 -0
- package/dist/cmd/upload-package-v1.d.ts +15 -0
- package/dist/cmd/upload-package-v1.d.ts.map +1 -0
- package/dist/common_types.d.ts +3 -0
- package/dist/common_types.d.ts.map +1 -0
- package/dist/config-BJognM_j.mjs +536 -0
- package/dist/config-BJognM_j.mjs.map +1 -0
- package/dist/config-CfA0Dj6h.js +3 -0
- package/dist/config-CfA0Dj6h.js.map +1 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +43 -0
- package/dist/index.mjs.map +1 -0
- package/dist/lib/storage.d.ts +29 -0
- package/dist/lib/storage.d.ts.map +1 -0
- package/dist/lib.d.ts +3 -2637
- package/dist/lib.d.ts.map +1 -0
- package/dist/registry_v1/config.d.ts +12 -0
- package/dist/registry_v1/config.d.ts.map +1 -0
- package/dist/registry_v1/config_schema.d.ts +94 -0
- package/dist/registry_v1/config_schema.d.ts.map +1 -0
- package/dist/registry_v1/flags.d.ts +9 -0
- package/dist/registry_v1/flags.d.ts.map +1 -0
- package/dist/registry_v1/index.d.ts +4 -0
- package/dist/registry_v1/index.d.ts.map +1 -0
- package/dist/registry_v1/registry.d.ts +46 -0
- package/dist/registry_v1/registry.d.ts.map +1 -0
- package/dist/registry_v1/v1_repo_schema.d.ts +25 -0
- package/dist/registry_v1/v1_repo_schema.d.ts.map +1 -0
- package/dist/util.d.ts +4 -0
- package/dist/util.d.ts.map +1 -0
- package/dist/v2/build_dist.d.ts +3 -0
- package/dist/v2/build_dist.d.ts.map +1 -0
- package/dist/v2/index.d.ts +4 -0
- package/dist/v2/index.d.ts.map +1 -0
- package/dist/v2/model/block_components.d.ts +384 -0
- package/dist/v2/model/block_components.d.ts.map +1 -0
- package/dist/v2/model/common.d.ts +3 -0
- package/dist/v2/model/common.d.ts.map +1 -0
- package/dist/v2/model/content_conversion.d.ts +35 -0
- package/dist/v2/model/content_conversion.d.ts.map +1 -0
- package/dist/v2/model/content_types.d.ts +478 -0
- package/dist/v2/model/content_types.d.ts.map +1 -0
- package/dist/{lib.d.cts → v2/model/index.d.ts} +449 -1005
- package/dist/v2/model/index.d.ts.map +1 -0
- package/dist/v2/model/meta.d.ts +805 -0
- package/dist/v2/model/meta.d.ts.map +1 -0
- package/dist/v2/registry/schema.d.ts +15 -0
- package/dist/v2/registry/schema.d.ts.map +1 -0
- package/dist/v2/source_package.d.ts +8 -0
- package/dist/v2/source_package.d.ts.map +1 -0
- package/package.json +24 -17
- package/src/cmd/build-meta.ts +38 -0
- package/src/cmd/build-model.ts +76 -0
- package/src/cmd/index.ts +12 -0
- package/src/cmd/pack-block.ts +32 -0
- package/src/cmd/upload-package-v1.ts +105 -0
- package/src/common_types.ts +3 -0
- package/src/lib/storage.test.ts +91 -0
- package/src/lib/storage.ts +140 -0
- package/src/lib.ts +2 -0
- package/src/registry_v1/config.ts +90 -0
- package/src/registry_v1/config_schema.ts +30 -0
- package/src/registry_v1/flags.ts +23 -0
- package/src/registry_v1/index.ts +3 -0
- package/src/registry_v1/registry.test.ts +122 -0
- package/src/registry_v1/registry.ts +253 -0
- package/src/registry_v1/v1_repo_schema.ts +42 -0
- package/src/util.ts +25 -0
- package/src/v2/build_dist.test.ts +16 -0
- package/src/v2/build_dist.ts +29 -0
- package/src/v2/index.ts +3 -0
- package/src/v2/model/block_components.ts +32 -0
- package/src/v2/model/common.ts +2 -0
- package/src/v2/model/content_conversion.ts +178 -0
- package/src/v2/model/content_types.ts +233 -0
- package/src/v2/model/index.ts +46 -0
- package/src/v2/model/meta.ts +36 -0
- package/src/v2/registry/schema.ts +29 -0
- package/src/v2/source_package.test.ts +27 -0
- package/src/v2/source_package.ts +82 -0
- package/dist/cli.cjs +0 -786
- package/dist/cli.cjs.map +0 -1
- package/dist/cli.d.cts +0 -58
- package/dist/cli.d.ts +0 -58
- package/dist/lib.cjs +0 -629
- package/dist/lib.cjs.map +0 -1
- package/dist/lib.js +0 -577
- package/dist/lib.js.map +0 -1
|
@@ -1,664 +1,50 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
interface FullBlockPackageName {
|
|
6
|
-
organization: string;
|
|
7
|
-
package: string;
|
|
8
|
-
version: string;
|
|
9
|
-
}
|
|
10
|
-
declare function packageContentPrefix(bp: FullBlockPackageName): string;
|
|
11
|
-
declare function payloadFilePath(bp: FullBlockPackageName, file: string): string;
|
|
12
|
-
type BlockPackageNameWithoutVersion = Pick<FullBlockPackageName, 'organization' | 'package'>;
|
|
13
|
-
declare function packageOverviewPath(bp: BlockPackageNameWithoutVersion): string;
|
|
14
|
-
declare const GlobalOverviewPath = "v1/overview.json";
|
|
15
|
-
declare const MetaFile = "meta.json";
|
|
16
|
-
interface PackageOverviewEntry {
|
|
17
|
-
version: string;
|
|
18
|
-
meta: object;
|
|
19
|
-
}
|
|
20
|
-
type PackageOverview = PackageOverviewEntry[];
|
|
21
|
-
interface GlobalOverviewEntry {
|
|
22
|
-
organization: string;
|
|
23
|
-
package: string;
|
|
24
|
-
allVersions: string[];
|
|
25
|
-
latestVersion: string;
|
|
26
|
-
latestMeta: object;
|
|
27
|
-
}
|
|
28
|
-
type GlobalOverview = GlobalOverviewEntry[];
|
|
29
|
-
|
|
30
|
-
declare const PlPackageConfigData: z.ZodObject<{
|
|
31
|
-
organization: z.ZodString;
|
|
32
|
-
package: z.ZodString;
|
|
33
|
-
version: z.ZodOptional<z.ZodString>;
|
|
34
|
-
files: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
35
|
-
meta: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
36
|
-
}, "strip", z.ZodTypeAny, {
|
|
37
|
-
organization: string;
|
|
38
|
-
meta: {} & {
|
|
39
|
-
[k: string]: unknown;
|
|
40
|
-
};
|
|
41
|
-
files: Record<string, string>;
|
|
42
|
-
package: string;
|
|
43
|
-
version?: string | undefined;
|
|
44
|
-
}, {
|
|
45
|
-
organization: string;
|
|
46
|
-
meta: {} & {
|
|
47
|
-
[k: string]: unknown;
|
|
48
|
-
};
|
|
49
|
-
package: string;
|
|
50
|
-
version?: string | undefined;
|
|
51
|
-
files?: Record<string, string> | undefined;
|
|
52
|
-
}>;
|
|
53
|
-
declare const PlRegCommonConfigData: z.ZodObject<{
|
|
54
|
-
registries: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
55
|
-
registry: z.ZodOptional<z.ZodString>;
|
|
56
|
-
}, "strip", z.ZodTypeAny, {
|
|
57
|
-
registries: Record<string, string>;
|
|
58
|
-
registry?: string | undefined;
|
|
59
|
-
}, {
|
|
60
|
-
registries?: Record<string, string> | undefined;
|
|
61
|
-
registry?: string | undefined;
|
|
62
|
-
}>;
|
|
63
|
-
type PlRegCommonConfigData = z.infer<typeof PlRegCommonConfigData>;
|
|
64
|
-
declare const PlRegFullPackageConfigData: z.ZodObject<{
|
|
65
|
-
organization: z.ZodString;
|
|
66
|
-
version: z.ZodString;
|
|
67
|
-
meta: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
|
68
|
-
files: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
69
|
-
package: z.ZodString;
|
|
70
|
-
registries: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
71
|
-
registry: z.ZodString;
|
|
72
|
-
}, "strip", z.ZodTypeAny, {
|
|
73
|
-
organization: string;
|
|
74
|
-
version: string;
|
|
75
|
-
meta: {} & {
|
|
76
|
-
[k: string]: unknown;
|
|
77
|
-
};
|
|
78
|
-
files: Record<string, string>;
|
|
79
|
-
package: string;
|
|
80
|
-
registries: Record<string, string>;
|
|
81
|
-
registry: string;
|
|
82
|
-
}, {
|
|
83
|
-
organization: string;
|
|
84
|
-
version: string;
|
|
85
|
-
meta: {} & {
|
|
86
|
-
[k: string]: unknown;
|
|
87
|
-
};
|
|
88
|
-
package: string;
|
|
89
|
-
registry: string;
|
|
90
|
-
files?: Record<string, string> | undefined;
|
|
91
|
-
registries?: Record<string, string> | undefined;
|
|
92
|
-
}>;
|
|
93
|
-
type PlRegFullPackageConfigData = z.infer<typeof PlRegFullPackageConfigData>;
|
|
94
|
-
declare const PlRegPackageConfigDataShard: z.ZodObject<{
|
|
95
|
-
organization: z.ZodOptional<z.ZodString>;
|
|
96
|
-
version: z.ZodOptional<z.ZodString>;
|
|
97
|
-
meta: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
98
|
-
files: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
99
|
-
package: z.ZodOptional<z.ZodString>;
|
|
100
|
-
registries: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
101
|
-
registry: z.ZodOptional<z.ZodString>;
|
|
102
|
-
}, "strip", z.ZodTypeAny, {
|
|
103
|
-
files: Record<string, string>;
|
|
104
|
-
registries: Record<string, string>;
|
|
105
|
-
organization?: string | undefined;
|
|
106
|
-
version?: string | undefined;
|
|
107
|
-
meta?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
108
|
-
package?: string | undefined;
|
|
109
|
-
registry?: string | undefined;
|
|
110
|
-
}, {
|
|
111
|
-
organization?: string | undefined;
|
|
112
|
-
version?: string | undefined;
|
|
113
|
-
meta?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
114
|
-
files?: Record<string, string> | undefined;
|
|
115
|
-
package?: string | undefined;
|
|
116
|
-
registries?: Record<string, string> | undefined;
|
|
117
|
-
registry?: string | undefined;
|
|
118
|
-
}>;
|
|
119
|
-
type PlRegPackageConfigDataShard = z.infer<typeof PlRegPackageConfigDataShard>;
|
|
120
|
-
declare const PlPackageJsonConfigFile = "pl.package.json";
|
|
121
|
-
declare const PlPackageYamlConfigFile = "pl.package.yaml";
|
|
122
|
-
|
|
123
|
-
interface RegistryStorage {
|
|
124
|
-
putFile(file: string, buffer: Buffer): Promise<void>;
|
|
125
|
-
getFile(file: string): Promise<Buffer | undefined>;
|
|
126
|
-
listFiles(prefix: string): Promise<string[]>;
|
|
127
|
-
deleteFiles(...files: string[]): Promise<void>;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
/**
|
|
131
|
-
* Layout:
|
|
132
|
-
*
|
|
133
|
-
* _updates_v1/per_package/
|
|
134
|
-
* organisationA/package1/1.2.3/seedABC <-- Tells that change happened for organisationA/package1 version 1.2.3, and reassembly of package1 overview is required
|
|
135
|
-
* organisationA/package1/1.2.3/seedCDE
|
|
136
|
-
* organisationB/package2/1.4.3/seedFGH
|
|
137
|
-
*
|
|
138
|
-
* _updates_v1/_global_update_in <-- Anybody who changes contents writes a random seed in this file
|
|
139
|
-
* _updates_v1/_global_update_out <-- Update process writes update seed from the _global_update_in here after successful update.
|
|
140
|
-
* Mismatch between contents of those files is a sign that another update should be performed.
|
|
141
|
-
*
|
|
142
|
-
* v1/ <-- Actual block packages content
|
|
143
|
-
* organisationA/package2/1.2.3/meta.json
|
|
144
|
-
* organisationA/package2/1.2.3/main.template.plj.gz
|
|
145
|
-
* organisationA/package2/1.2.3/...
|
|
146
|
-
* organisationA/package2/overview.json <-- Per-package aggregated meta-data over all available versions
|
|
147
|
-
* ...
|
|
148
|
-
*
|
|
149
|
-
* v1/overview.json <-- aggregated information about all packages
|
|
150
|
-
*
|
|
151
|
-
*/
|
|
152
|
-
declare class BlockRegistry {
|
|
153
|
-
private readonly storage;
|
|
154
|
-
private readonly logger?;
|
|
155
|
-
constructor(storage: RegistryStorage, logger?: MiLogger | undefined);
|
|
156
|
-
constructNewPackage(pack: FullBlockPackageName): BlockRegistryPackConstructor;
|
|
157
|
-
private updateRegistry;
|
|
158
|
-
updateIfNeeded(force?: boolean): Promise<void>;
|
|
159
|
-
getPackageOverview(name: BlockPackageNameWithoutVersion): Promise<undefined | PackageOverview>;
|
|
160
|
-
getGlobalOverview(): Promise<undefined | GlobalOverview>;
|
|
161
|
-
}
|
|
162
|
-
declare class BlockRegistryPackConstructor {
|
|
163
|
-
private readonly storage;
|
|
164
|
-
readonly name: FullBlockPackageName;
|
|
165
|
-
private metaAdded;
|
|
166
|
-
readonly seed: `${string}-${string}-${string}-${string}-${string}`;
|
|
167
|
-
constructor(storage: RegistryStorage, name: FullBlockPackageName);
|
|
168
|
-
addFile(file: string, content: Buffer): Promise<void>;
|
|
169
|
-
writeMeta(meta: object): Promise<void>;
|
|
170
|
-
finish(): Promise<void>;
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
declare class PlRegPackageConfig {
|
|
174
|
-
readonly conf: PlRegFullPackageConfigData;
|
|
175
|
-
constructor(conf: PlRegFullPackageConfigData);
|
|
176
|
-
createRegistry(logger?: MiLogger): BlockRegistry;
|
|
177
|
-
get fullPackageName(): FullBlockPackageName;
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
type index_BlockPackageNameWithoutVersion = BlockPackageNameWithoutVersion;
|
|
181
|
-
type index_FullBlockPackageName = FullBlockPackageName;
|
|
182
|
-
type index_GlobalOverview = GlobalOverview;
|
|
183
|
-
type index_GlobalOverviewEntry = GlobalOverviewEntry;
|
|
184
|
-
declare const index_GlobalOverviewPath: typeof GlobalOverviewPath;
|
|
185
|
-
declare const index_MetaFile: typeof MetaFile;
|
|
186
|
-
type index_PackageOverview = PackageOverview;
|
|
187
|
-
type index_PackageOverviewEntry = PackageOverviewEntry;
|
|
188
|
-
declare const index_PlPackageConfigData: typeof PlPackageConfigData;
|
|
189
|
-
declare const index_PlPackageJsonConfigFile: typeof PlPackageJsonConfigFile;
|
|
190
|
-
declare const index_PlPackageYamlConfigFile: typeof PlPackageYamlConfigFile;
|
|
191
|
-
type index_PlRegCommonConfigData = PlRegCommonConfigData;
|
|
192
|
-
type index_PlRegFullPackageConfigData = PlRegFullPackageConfigData;
|
|
193
|
-
type index_PlRegPackageConfig = PlRegPackageConfig;
|
|
194
|
-
declare const index_PlRegPackageConfig: typeof PlRegPackageConfig;
|
|
195
|
-
type index_PlRegPackageConfigDataShard = PlRegPackageConfigDataShard;
|
|
196
|
-
declare const index_packageContentPrefix: typeof packageContentPrefix;
|
|
197
|
-
declare const index_packageOverviewPath: typeof packageOverviewPath;
|
|
198
|
-
declare const index_payloadFilePath: typeof payloadFilePath;
|
|
199
|
-
declare namespace index {
|
|
200
|
-
export { type index_BlockPackageNameWithoutVersion as BlockPackageNameWithoutVersion, type index_FullBlockPackageName as FullBlockPackageName, type index_GlobalOverview as GlobalOverview, type index_GlobalOverviewEntry as GlobalOverviewEntry, index_GlobalOverviewPath as GlobalOverviewPath, index_MetaFile as MetaFile, type index_PackageOverview as PackageOverview, type index_PackageOverviewEntry as PackageOverviewEntry, index_PlPackageConfigData as PlPackageConfigData, index_PlPackageJsonConfigFile as PlPackageJsonConfigFile, index_PlPackageYamlConfigFile as PlPackageYamlConfigFile, type index_PlRegCommonConfigData as PlRegCommonConfigData, type index_PlRegFullPackageConfigData as PlRegFullPackageConfigData, index_PlRegPackageConfig as PlRegPackageConfig, type index_PlRegPackageConfigDataShard as PlRegPackageConfigDataShard, index_packageContentPrefix as packageContentPrefix, index_packageOverviewPath as packageOverviewPath, index_payloadFilePath as payloadFilePath };
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
declare function BlockComponentsDescription(moduleRoot: string): z.ZodObject<{
|
|
204
|
-
workflow: z.ZodEffects<z.ZodString, {
|
|
205
|
-
file: string;
|
|
206
|
-
type: "absolute-file";
|
|
207
|
-
}, string>;
|
|
208
|
-
model: z.ZodEffects<z.ZodString, {
|
|
209
|
-
file: string;
|
|
210
|
-
type: "absolute-file";
|
|
211
|
-
}, string>;
|
|
212
|
-
ui: z.ZodEffects<z.ZodString, {
|
|
213
|
-
type: "absolute-folder";
|
|
214
|
-
folder: string;
|
|
215
|
-
}, string>;
|
|
216
|
-
}, "strip", z.ZodTypeAny, {
|
|
217
|
-
ui: {
|
|
218
|
-
type: "absolute-folder";
|
|
219
|
-
folder: string;
|
|
220
|
-
};
|
|
221
|
-
workflow: {
|
|
222
|
-
file: string;
|
|
223
|
-
type: "absolute-file";
|
|
224
|
-
};
|
|
225
|
-
model: {
|
|
226
|
-
file: string;
|
|
227
|
-
type: "absolute-file";
|
|
228
|
-
};
|
|
229
|
-
}, {
|
|
230
|
-
ui: string;
|
|
231
|
-
workflow: string;
|
|
232
|
-
model: string;
|
|
233
|
-
}>;
|
|
234
|
-
type BlockComponentsDescription = z.infer<ReturnType<typeof BlockComponentsDescription>>;
|
|
235
|
-
declare function BlockComponentsConsolidate(dstFolder: string, fileAccumulator?: string[]): z.ZodPipeline<z.ZodObject<{
|
|
236
|
-
workflow: z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
237
|
-
type: z.ZodLiteral<"explicit-base64">;
|
|
238
|
-
mimeType: z.ZodString;
|
|
239
|
-
content: z.ZodString;
|
|
240
|
-
}, "strict", z.ZodTypeAny, {
|
|
241
|
-
type: "explicit-base64";
|
|
242
|
-
content: string;
|
|
243
|
-
mimeType: string;
|
|
244
|
-
}, {
|
|
245
|
-
type: "explicit-base64";
|
|
246
|
-
content: string;
|
|
247
|
-
mimeType: string;
|
|
248
|
-
}>, z.ZodObject<{
|
|
249
|
-
type: z.ZodLiteral<"absolute-file">;
|
|
250
|
-
file: z.ZodString;
|
|
251
|
-
}, "strict", z.ZodTypeAny, {
|
|
252
|
-
file: string;
|
|
253
|
-
type: "absolute-file";
|
|
254
|
-
}, {
|
|
255
|
-
file: string;
|
|
256
|
-
type: "absolute-file";
|
|
257
|
-
}>]>, {
|
|
258
|
-
type: "explicit-base64";
|
|
259
|
-
content: string;
|
|
260
|
-
mimeType: string;
|
|
261
|
-
} | {
|
|
262
|
-
path: string;
|
|
263
|
-
type: "relative";
|
|
264
|
-
}, {
|
|
265
|
-
type: "explicit-base64";
|
|
266
|
-
content: string;
|
|
267
|
-
mimeType: string;
|
|
268
|
-
} | {
|
|
269
|
-
file: string;
|
|
270
|
-
type: "absolute-file";
|
|
271
|
-
}>;
|
|
272
|
-
model: z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
273
|
-
type: z.ZodLiteral<"explicit-base64">;
|
|
274
|
-
mimeType: z.ZodString;
|
|
275
|
-
content: z.ZodString;
|
|
276
|
-
}, "strict", z.ZodTypeAny, {
|
|
277
|
-
type: "explicit-base64";
|
|
278
|
-
content: string;
|
|
279
|
-
mimeType: string;
|
|
280
|
-
}, {
|
|
281
|
-
type: "explicit-base64";
|
|
282
|
-
content: string;
|
|
283
|
-
mimeType: string;
|
|
284
|
-
}>, z.ZodObject<{
|
|
285
|
-
type: z.ZodLiteral<"absolute-file">;
|
|
286
|
-
file: z.ZodString;
|
|
287
|
-
}, "strict", z.ZodTypeAny, {
|
|
288
|
-
file: string;
|
|
289
|
-
type: "absolute-file";
|
|
290
|
-
}, {
|
|
291
|
-
file: string;
|
|
292
|
-
type: "absolute-file";
|
|
293
|
-
}>]>, {
|
|
294
|
-
type: "explicit-base64";
|
|
295
|
-
content: string;
|
|
296
|
-
mimeType: string;
|
|
297
|
-
} | {
|
|
298
|
-
path: string;
|
|
299
|
-
type: "relative";
|
|
300
|
-
}, {
|
|
301
|
-
type: "explicit-base64";
|
|
302
|
-
content: string;
|
|
303
|
-
mimeType: string;
|
|
304
|
-
} | {
|
|
305
|
-
file: string;
|
|
306
|
-
type: "absolute-file";
|
|
307
|
-
}>;
|
|
308
|
-
ui: z.ZodEffects<z.ZodObject<{
|
|
309
|
-
type: z.ZodLiteral<"absolute-folder">;
|
|
310
|
-
folder: z.ZodString;
|
|
311
|
-
}, "strict", z.ZodTypeAny, {
|
|
312
|
-
type: "absolute-folder";
|
|
313
|
-
folder: string;
|
|
314
|
-
}, {
|
|
315
|
-
type: "absolute-folder";
|
|
316
|
-
folder: string;
|
|
317
|
-
}>, {
|
|
318
|
-
path: string;
|
|
319
|
-
type: "relative";
|
|
320
|
-
}, {
|
|
321
|
-
type: "absolute-folder";
|
|
322
|
-
folder: string;
|
|
323
|
-
}>;
|
|
324
|
-
}, "strip", z.ZodTypeAny, {
|
|
325
|
-
ui: {
|
|
326
|
-
path: string;
|
|
327
|
-
type: "relative";
|
|
328
|
-
};
|
|
329
|
-
workflow: {
|
|
330
|
-
type: "explicit-base64";
|
|
331
|
-
content: string;
|
|
332
|
-
mimeType: string;
|
|
333
|
-
} | {
|
|
334
|
-
path: string;
|
|
335
|
-
type: "relative";
|
|
336
|
-
};
|
|
337
|
-
model: {
|
|
338
|
-
type: "explicit-base64";
|
|
339
|
-
content: string;
|
|
340
|
-
mimeType: string;
|
|
341
|
-
} | {
|
|
342
|
-
path: string;
|
|
343
|
-
type: "relative";
|
|
344
|
-
};
|
|
345
|
-
}, {
|
|
346
|
-
ui: {
|
|
347
|
-
type: "absolute-folder";
|
|
348
|
-
folder: string;
|
|
349
|
-
};
|
|
350
|
-
workflow: {
|
|
351
|
-
type: "explicit-base64";
|
|
352
|
-
content: string;
|
|
353
|
-
mimeType: string;
|
|
354
|
-
} | {
|
|
355
|
-
file: string;
|
|
356
|
-
type: "absolute-file";
|
|
357
|
-
};
|
|
358
|
-
model: {
|
|
359
|
-
type: "explicit-base64";
|
|
360
|
-
content: string;
|
|
361
|
-
mimeType: string;
|
|
362
|
-
} | {
|
|
363
|
-
file: string;
|
|
364
|
-
type: "absolute-file";
|
|
365
|
-
};
|
|
366
|
-
}>, z.ZodObject<{
|
|
367
|
-
workflow: z.ZodObject<{
|
|
368
|
-
type: z.ZodLiteral<"relative">;
|
|
369
|
-
path: z.ZodString;
|
|
370
|
-
}, "strict", z.ZodTypeAny, {
|
|
371
|
-
path: string;
|
|
372
|
-
type: "relative";
|
|
373
|
-
}, {
|
|
374
|
-
path: string;
|
|
375
|
-
type: "relative";
|
|
376
|
-
}>;
|
|
377
|
-
model: z.ZodObject<{
|
|
378
|
-
type: z.ZodLiteral<"relative">;
|
|
379
|
-
path: z.ZodString;
|
|
380
|
-
}, "strict", z.ZodTypeAny, {
|
|
381
|
-
path: string;
|
|
382
|
-
type: "relative";
|
|
383
|
-
}, {
|
|
384
|
-
path: string;
|
|
385
|
-
type: "relative";
|
|
386
|
-
}>;
|
|
387
|
-
ui: z.ZodObject<{
|
|
388
|
-
type: z.ZodLiteral<"relative">;
|
|
389
|
-
path: z.ZodString;
|
|
390
|
-
}, "strict", z.ZodTypeAny, {
|
|
391
|
-
path: string;
|
|
392
|
-
type: "relative";
|
|
393
|
-
}, {
|
|
394
|
-
path: string;
|
|
395
|
-
type: "relative";
|
|
396
|
-
}>;
|
|
397
|
-
}, "strip", z.ZodTypeAny, {
|
|
398
|
-
ui: {
|
|
399
|
-
path: string;
|
|
400
|
-
type: "relative";
|
|
401
|
-
};
|
|
402
|
-
workflow: {
|
|
403
|
-
path: string;
|
|
404
|
-
type: "relative";
|
|
405
|
-
};
|
|
406
|
-
model: {
|
|
407
|
-
path: string;
|
|
408
|
-
type: "relative";
|
|
409
|
-
};
|
|
410
|
-
}, {
|
|
411
|
-
ui: {
|
|
412
|
-
path: string;
|
|
413
|
-
type: "relative";
|
|
414
|
-
};
|
|
415
|
-
workflow: {
|
|
416
|
-
path: string;
|
|
417
|
-
type: "relative";
|
|
418
|
-
};
|
|
419
|
-
model: {
|
|
420
|
-
path: string;
|
|
421
|
-
type: "relative";
|
|
422
|
-
};
|
|
423
|
-
}>>;
|
|
424
|
-
declare function BlockComponentsAbsoluteUrl(prefix: string): z.ZodObject<{
|
|
425
|
-
workflow: z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
426
|
-
type: z.ZodLiteral<"explicit-base64">;
|
|
427
|
-
mimeType: z.ZodString;
|
|
428
|
-
content: z.ZodString;
|
|
429
|
-
}, "strict", z.ZodTypeAny, {
|
|
430
|
-
type: "explicit-base64";
|
|
431
|
-
content: string;
|
|
432
|
-
mimeType: string;
|
|
433
|
-
}, {
|
|
434
|
-
type: "explicit-base64";
|
|
435
|
-
content: string;
|
|
436
|
-
mimeType: string;
|
|
437
|
-
}>, z.ZodObject<{
|
|
438
|
-
type: z.ZodLiteral<"relative">;
|
|
439
|
-
path: z.ZodString;
|
|
440
|
-
}, "strict", z.ZodTypeAny, {
|
|
441
|
-
path: string;
|
|
442
|
-
type: "relative";
|
|
443
|
-
}, {
|
|
444
|
-
path: string;
|
|
445
|
-
type: "relative";
|
|
446
|
-
}>]>, {
|
|
447
|
-
type: "explicit-base64";
|
|
448
|
-
content: string;
|
|
449
|
-
mimeType: string;
|
|
450
|
-
} | {
|
|
451
|
-
type: "absolute-url";
|
|
452
|
-
url: string;
|
|
453
|
-
}, {
|
|
454
|
-
type: "explicit-base64";
|
|
455
|
-
content: string;
|
|
456
|
-
mimeType: string;
|
|
457
|
-
} | {
|
|
458
|
-
path: string;
|
|
459
|
-
type: "relative";
|
|
460
|
-
}>;
|
|
461
|
-
model: z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
462
|
-
type: z.ZodLiteral<"explicit-base64">;
|
|
463
|
-
mimeType: z.ZodString;
|
|
464
|
-
content: z.ZodString;
|
|
465
|
-
}, "strict", z.ZodTypeAny, {
|
|
466
|
-
type: "explicit-base64";
|
|
467
|
-
content: string;
|
|
468
|
-
mimeType: string;
|
|
469
|
-
}, {
|
|
470
|
-
type: "explicit-base64";
|
|
471
|
-
content: string;
|
|
472
|
-
mimeType: string;
|
|
473
|
-
}>, z.ZodObject<{
|
|
474
|
-
type: z.ZodLiteral<"relative">;
|
|
475
|
-
path: z.ZodString;
|
|
476
|
-
}, "strict", z.ZodTypeAny, {
|
|
477
|
-
path: string;
|
|
478
|
-
type: "relative";
|
|
479
|
-
}, {
|
|
480
|
-
path: string;
|
|
481
|
-
type: "relative";
|
|
482
|
-
}>]>, {
|
|
483
|
-
type: "explicit-base64";
|
|
484
|
-
content: string;
|
|
485
|
-
mimeType: string;
|
|
486
|
-
} | {
|
|
487
|
-
type: "absolute-url";
|
|
488
|
-
url: string;
|
|
489
|
-
}, {
|
|
490
|
-
type: "explicit-base64";
|
|
491
|
-
content: string;
|
|
492
|
-
mimeType: string;
|
|
493
|
-
} | {
|
|
494
|
-
path: string;
|
|
495
|
-
type: "relative";
|
|
496
|
-
}>;
|
|
497
|
-
ui: z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
498
|
-
type: z.ZodLiteral<"explicit-base64">;
|
|
499
|
-
mimeType: z.ZodString;
|
|
500
|
-
content: z.ZodString;
|
|
501
|
-
}, "strict", z.ZodTypeAny, {
|
|
502
|
-
type: "explicit-base64";
|
|
503
|
-
content: string;
|
|
504
|
-
mimeType: string;
|
|
505
|
-
}, {
|
|
506
|
-
type: "explicit-base64";
|
|
507
|
-
content: string;
|
|
508
|
-
mimeType: string;
|
|
509
|
-
}>, z.ZodObject<{
|
|
510
|
-
type: z.ZodLiteral<"relative">;
|
|
511
|
-
path: z.ZodString;
|
|
512
|
-
}, "strict", z.ZodTypeAny, {
|
|
513
|
-
path: string;
|
|
514
|
-
type: "relative";
|
|
515
|
-
}, {
|
|
516
|
-
path: string;
|
|
517
|
-
type: "relative";
|
|
518
|
-
}>]>, {
|
|
519
|
-
type: "explicit-base64";
|
|
520
|
-
content: string;
|
|
521
|
-
mimeType: string;
|
|
522
|
-
} | {
|
|
523
|
-
type: "absolute-url";
|
|
524
|
-
url: string;
|
|
525
|
-
}, {
|
|
526
|
-
type: "explicit-base64";
|
|
527
|
-
content: string;
|
|
528
|
-
mimeType: string;
|
|
529
|
-
} | {
|
|
530
|
-
path: string;
|
|
531
|
-
type: "relative";
|
|
532
|
-
}>;
|
|
533
|
-
}, "strip", z.ZodTypeAny, {
|
|
534
|
-
ui: {
|
|
535
|
-
type: "explicit-base64";
|
|
536
|
-
content: string;
|
|
537
|
-
mimeType: string;
|
|
538
|
-
} | {
|
|
539
|
-
type: "absolute-url";
|
|
540
|
-
url: string;
|
|
541
|
-
};
|
|
542
|
-
workflow: {
|
|
543
|
-
type: "explicit-base64";
|
|
544
|
-
content: string;
|
|
545
|
-
mimeType: string;
|
|
546
|
-
} | {
|
|
547
|
-
type: "absolute-url";
|
|
548
|
-
url: string;
|
|
549
|
-
};
|
|
550
|
-
model: {
|
|
551
|
-
type: "explicit-base64";
|
|
552
|
-
content: string;
|
|
553
|
-
mimeType: string;
|
|
554
|
-
} | {
|
|
555
|
-
type: "absolute-url";
|
|
556
|
-
url: string;
|
|
557
|
-
};
|
|
558
|
-
}, {
|
|
559
|
-
ui: {
|
|
560
|
-
type: "explicit-base64";
|
|
561
|
-
content: string;
|
|
562
|
-
mimeType: string;
|
|
563
|
-
} | {
|
|
564
|
-
path: string;
|
|
565
|
-
type: "relative";
|
|
566
|
-
};
|
|
567
|
-
workflow: {
|
|
568
|
-
type: "explicit-base64";
|
|
569
|
-
content: string;
|
|
570
|
-
mimeType: string;
|
|
571
|
-
} | {
|
|
572
|
-
path: string;
|
|
573
|
-
type: "relative";
|
|
574
|
-
};
|
|
575
|
-
model: {
|
|
576
|
-
type: "explicit-base64";
|
|
577
|
-
content: string;
|
|
578
|
-
mimeType: string;
|
|
579
|
-
} | {
|
|
580
|
-
path: string;
|
|
581
|
-
type: "relative";
|
|
582
|
-
};
|
|
583
|
-
}>;
|
|
584
|
-
type BlockComponentsAbsolute = z.infer<ReturnType<typeof BlockComponentsAbsoluteUrl>>;
|
|
585
|
-
|
|
586
|
-
type ContentCtxFs = {
|
|
587
|
-
type: 'local';
|
|
588
|
-
/** Folder relative to which content should be resolved */
|
|
589
|
-
path: string;
|
|
590
|
-
};
|
|
591
|
-
type ContentCtxUrl = {
|
|
592
|
-
type: 'remote';
|
|
593
|
-
/** URL prefix from which content should be resolved */
|
|
594
|
-
url: string;
|
|
595
|
-
};
|
|
596
|
-
/** Describes a place relative to which any content references should be interpreted */
|
|
597
|
-
type ContentCtx = ContentCtxFs | ContentCtxUrl;
|
|
598
|
-
/** Zod type that resolves node module request into absolute content */
|
|
599
|
-
declare function ResolvedModuleFile(moduleRoot: string): z.ZodEffects<z.ZodString, {
|
|
600
|
-
file: string;
|
|
601
|
-
type: "absolute-file";
|
|
602
|
-
}, string>;
|
|
603
|
-
/**
|
|
604
|
-
* Zod type that resolves node module request for folder into absolute folder,
|
|
605
|
-
* given a list of expected index files in that folder
|
|
606
|
-
* */
|
|
607
|
-
declare function ResolvedModuleFolder(moduleRoot: string, ...indexFilesToLookFor: [string, ...string[]]): z.ZodEffects<z.ZodString, {
|
|
608
|
-
type: "absolute-folder";
|
|
609
|
-
folder: string;
|
|
610
|
-
}, string>;
|
|
611
|
-
declare function mapLocalToAbsolute(root: string): <T extends ContentAnyLocal>(value: T) => Exclude<T, ContentRelative> | ContentAbsoluteFile;
|
|
612
|
-
declare function absoluteToString(): (value: ContentAbsoluteTextLocal) => Promise<string>;
|
|
613
|
-
declare function absoluteToBase64(): (value: ContentAbsoluteBinaryLocal) => Promise<ContentExplicitBase64>;
|
|
614
|
-
declare function cpAbsoluteToRelative(dstFolder: string, fileAccumulator?: string[]): <T extends Exclude<ContentAnyLocal, ContentRelative>>(value: T) => Promise<Exclude<T, ContentAbsoluteFile> | ContentRelative>;
|
|
615
|
-
declare function packFolderToRelativeTgz(dstFolder: string, tgzName: string, fileAccumulator?: string[]): (value: ContentAbsoluteFolder) => Promise<ContentRelative>;
|
|
616
|
-
declare function mapRemoteToAbsolute(rootUrl: string): <T extends ContentAnyLocal>(value: T) => Exclude<T, ContentRelative> | ContentAbsoluteUrl;
|
|
617
|
-
|
|
618
|
-
declare function ResolvedBlockPackDescriptionFromPackageJson(root: string): z.ZodObject<{
|
|
2
|
+
export * from './block_components';
|
|
3
|
+
export * from './content_conversion';
|
|
4
|
+
export declare function ResolvedBlockPackDescriptionFromPackageJson(root: string): z.ZodObject<{
|
|
619
5
|
id: z.ZodObject<{
|
|
620
6
|
organization: z.ZodString;
|
|
621
7
|
name: z.ZodString;
|
|
622
8
|
version: z.ZodString;
|
|
623
9
|
}, "strict", z.ZodTypeAny, {
|
|
624
|
-
name: string;
|
|
625
10
|
organization: string;
|
|
11
|
+
name: string;
|
|
626
12
|
version: string;
|
|
627
13
|
}, {
|
|
628
|
-
name: string;
|
|
629
14
|
organization: string;
|
|
15
|
+
name: string;
|
|
630
16
|
version: string;
|
|
631
17
|
}>;
|
|
632
18
|
components: z.ZodObject<{
|
|
633
19
|
workflow: z.ZodEffects<z.ZodString, {
|
|
634
|
-
file: string;
|
|
635
20
|
type: "absolute-file";
|
|
21
|
+
file: string;
|
|
636
22
|
}, string>;
|
|
637
23
|
model: z.ZodEffects<z.ZodString, {
|
|
638
|
-
file: string;
|
|
639
24
|
type: "absolute-file";
|
|
25
|
+
file: string;
|
|
640
26
|
}, string>;
|
|
641
27
|
ui: z.ZodEffects<z.ZodString, {
|
|
642
28
|
type: "absolute-folder";
|
|
643
29
|
folder: string;
|
|
644
30
|
}, string>;
|
|
645
31
|
}, "strip", z.ZodTypeAny, {
|
|
646
|
-
ui: {
|
|
647
|
-
type: "absolute-folder";
|
|
648
|
-
folder: string;
|
|
649
|
-
};
|
|
650
32
|
workflow: {
|
|
651
|
-
file: string;
|
|
652
33
|
type: "absolute-file";
|
|
34
|
+
file: string;
|
|
653
35
|
};
|
|
654
36
|
model: {
|
|
655
|
-
file: string;
|
|
656
37
|
type: "absolute-file";
|
|
38
|
+
file: string;
|
|
39
|
+
};
|
|
40
|
+
ui: {
|
|
41
|
+
type: "absolute-folder";
|
|
42
|
+
folder: string;
|
|
657
43
|
};
|
|
658
44
|
}, {
|
|
659
|
-
ui: string;
|
|
660
45
|
workflow: string;
|
|
661
46
|
model: string;
|
|
47
|
+
ui: string;
|
|
662
48
|
}>;
|
|
663
49
|
meta: z.ZodObject<{
|
|
664
50
|
title: z.ZodString;
|
|
@@ -667,8 +53,8 @@ declare function ResolvedBlockPackDescriptionFromPackageJson(root: string): z.Zo
|
|
|
667
53
|
type: "explicit-string";
|
|
668
54
|
content: string;
|
|
669
55
|
} | {
|
|
670
|
-
path: string;
|
|
671
56
|
type: "relative";
|
|
57
|
+
path: string;
|
|
672
58
|
}, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
673
59
|
type: z.ZodLiteral<"explicit-string">;
|
|
674
60
|
content: z.ZodString;
|
|
@@ -682,43 +68,49 @@ declare function ResolvedBlockPackDescriptionFromPackageJson(root: string): z.Zo
|
|
|
682
68
|
type: z.ZodLiteral<"relative">;
|
|
683
69
|
path: z.ZodString;
|
|
684
70
|
}, "strict", z.ZodTypeAny, {
|
|
685
|
-
path: string;
|
|
686
71
|
type: "relative";
|
|
687
|
-
}, {
|
|
688
72
|
path: string;
|
|
73
|
+
}, {
|
|
689
74
|
type: "relative";
|
|
75
|
+
path: string;
|
|
690
76
|
}>, z.ZodObject<{
|
|
691
77
|
type: z.ZodLiteral<"absolute-file">;
|
|
692
78
|
file: z.ZodString;
|
|
693
79
|
}, "strict", z.ZodTypeAny, {
|
|
694
|
-
file: string;
|
|
695
80
|
type: "absolute-file";
|
|
696
|
-
}, {
|
|
697
81
|
file: string;
|
|
82
|
+
}, {
|
|
698
83
|
type: "absolute-file";
|
|
84
|
+
file: string;
|
|
699
85
|
}>]>]>, {
|
|
86
|
+
type: "absolute-file";
|
|
87
|
+
file: string;
|
|
88
|
+
} | {
|
|
89
|
+
type: "explicit-string";
|
|
90
|
+
content: string;
|
|
91
|
+
} | {
|
|
700
92
|
type: "explicit-string";
|
|
701
93
|
content: string;
|
|
702
94
|
} | {
|
|
703
|
-
file: string;
|
|
704
95
|
type: "absolute-file";
|
|
96
|
+
file: string;
|
|
705
97
|
}, string | {
|
|
706
98
|
type: "explicit-string";
|
|
707
99
|
content: string;
|
|
708
100
|
} | {
|
|
709
|
-
path: string;
|
|
710
101
|
type: "relative";
|
|
102
|
+
path: string;
|
|
711
103
|
} | {
|
|
712
|
-
file: string;
|
|
713
104
|
type: "absolute-file";
|
|
105
|
+
file: string;
|
|
714
106
|
}>>;
|
|
715
107
|
logo: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, {
|
|
716
108
|
type: "explicit-base64";
|
|
717
109
|
content: string;
|
|
718
110
|
mimeType: string;
|
|
719
111
|
} | {
|
|
720
|
-
path: string;
|
|
721
112
|
type: "relative";
|
|
113
|
+
path: string;
|
|
722
114
|
}, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
723
115
|
type: z.ZodLiteral<"explicit-base64">;
|
|
724
116
|
mimeType: z.ZodString;
|
|
@@ -735,37 +127,44 @@ declare function ResolvedBlockPackDescriptionFromPackageJson(root: string): z.Zo
|
|
|
735
127
|
type: z.ZodLiteral<"relative">;
|
|
736
128
|
path: z.ZodString;
|
|
737
129
|
}, "strict", z.ZodTypeAny, {
|
|
738
|
-
path: string;
|
|
739
130
|
type: "relative";
|
|
740
|
-
}, {
|
|
741
131
|
path: string;
|
|
132
|
+
}, {
|
|
742
133
|
type: "relative";
|
|
134
|
+
path: string;
|
|
743
135
|
}>, z.ZodObject<{
|
|
744
136
|
type: z.ZodLiteral<"absolute-file">;
|
|
745
137
|
file: z.ZodString;
|
|
746
138
|
}, "strict", z.ZodTypeAny, {
|
|
747
|
-
file: string;
|
|
748
139
|
type: "absolute-file";
|
|
749
|
-
}, {
|
|
750
140
|
file: string;
|
|
141
|
+
}, {
|
|
751
142
|
type: "absolute-file";
|
|
143
|
+
file: string;
|
|
752
144
|
}>]>]>, {
|
|
145
|
+
type: "absolute-file";
|
|
146
|
+
file: string;
|
|
147
|
+
} | {
|
|
148
|
+
type: "explicit-base64";
|
|
149
|
+
content: string;
|
|
150
|
+
mimeType: string;
|
|
151
|
+
} | {
|
|
753
152
|
type: "explicit-base64";
|
|
754
153
|
content: string;
|
|
755
154
|
mimeType: string;
|
|
756
155
|
} | {
|
|
757
|
-
file: string;
|
|
758
156
|
type: "absolute-file";
|
|
157
|
+
file: string;
|
|
759
158
|
}, string | {
|
|
760
159
|
type: "explicit-base64";
|
|
761
160
|
content: string;
|
|
762
161
|
mimeType: string;
|
|
763
162
|
} | {
|
|
764
|
-
path: string;
|
|
765
163
|
type: "relative";
|
|
164
|
+
path: string;
|
|
766
165
|
} | {
|
|
767
|
-
file: string;
|
|
768
166
|
type: "absolute-file";
|
|
167
|
+
file: string;
|
|
769
168
|
}>>;
|
|
770
169
|
url: z.ZodOptional<z.ZodString>;
|
|
771
170
|
docs: z.ZodOptional<z.ZodString>;
|
|
@@ -779,8 +178,8 @@ declare function ResolvedBlockPackDescriptionFromPackageJson(root: string): z.Zo
|
|
|
779
178
|
content: string;
|
|
780
179
|
mimeType: string;
|
|
781
180
|
} | {
|
|
782
|
-
path: string;
|
|
783
181
|
type: "relative";
|
|
182
|
+
path: string;
|
|
784
183
|
}, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
785
184
|
type: z.ZodLiteral<"explicit-base64">;
|
|
786
185
|
mimeType: z.ZodString;
|
|
@@ -797,266 +196,320 @@ declare function ResolvedBlockPackDescriptionFromPackageJson(root: string): z.Zo
|
|
|
797
196
|
type: z.ZodLiteral<"relative">;
|
|
798
197
|
path: z.ZodString;
|
|
799
198
|
}, "strict", z.ZodTypeAny, {
|
|
800
|
-
path: string;
|
|
801
199
|
type: "relative";
|
|
802
|
-
}, {
|
|
803
200
|
path: string;
|
|
201
|
+
}, {
|
|
804
202
|
type: "relative";
|
|
203
|
+
path: string;
|
|
805
204
|
}>, z.ZodObject<{
|
|
806
205
|
type: z.ZodLiteral<"absolute-file">;
|
|
807
206
|
file: z.ZodString;
|
|
808
207
|
}, "strict", z.ZodTypeAny, {
|
|
809
|
-
file: string;
|
|
810
208
|
type: "absolute-file";
|
|
811
|
-
}, {
|
|
812
209
|
file: string;
|
|
210
|
+
}, {
|
|
813
211
|
type: "absolute-file";
|
|
212
|
+
file: string;
|
|
814
213
|
}>]>]>, {
|
|
214
|
+
type: "absolute-file";
|
|
215
|
+
file: string;
|
|
216
|
+
} | {
|
|
217
|
+
type: "explicit-base64";
|
|
218
|
+
content: string;
|
|
219
|
+
mimeType: string;
|
|
220
|
+
} | {
|
|
815
221
|
type: "explicit-base64";
|
|
816
222
|
content: string;
|
|
817
223
|
mimeType: string;
|
|
818
224
|
} | {
|
|
819
|
-
file: string;
|
|
820
225
|
type: "absolute-file";
|
|
226
|
+
file: string;
|
|
821
227
|
}, string | {
|
|
822
228
|
type: "explicit-base64";
|
|
823
229
|
content: string;
|
|
824
230
|
mimeType: string;
|
|
825
231
|
} | {
|
|
826
|
-
path: string;
|
|
827
232
|
type: "relative";
|
|
233
|
+
path: string;
|
|
828
234
|
} | {
|
|
829
|
-
file: string;
|
|
830
235
|
type: "absolute-file";
|
|
236
|
+
file: string;
|
|
831
237
|
}>>;
|
|
832
238
|
}, "strip", z.ZodTypeAny, {
|
|
833
|
-
name: string;
|
|
834
239
|
url: string;
|
|
240
|
+
name: string;
|
|
835
241
|
logo?: {
|
|
242
|
+
type: "absolute-file";
|
|
243
|
+
file: string;
|
|
244
|
+
} | {
|
|
245
|
+
type: "explicit-base64";
|
|
246
|
+
content: string;
|
|
247
|
+
mimeType: string;
|
|
248
|
+
} | {
|
|
836
249
|
type: "explicit-base64";
|
|
837
250
|
content: string;
|
|
838
251
|
mimeType: string;
|
|
839
252
|
} | {
|
|
840
|
-
file: string;
|
|
841
253
|
type: "absolute-file";
|
|
254
|
+
file: string;
|
|
842
255
|
} | undefined;
|
|
843
256
|
}, {
|
|
844
|
-
name: string;
|
|
845
257
|
url: string;
|
|
258
|
+
name: string;
|
|
846
259
|
logo?: string | {
|
|
847
260
|
type: "explicit-base64";
|
|
848
261
|
content: string;
|
|
849
262
|
mimeType: string;
|
|
850
263
|
} | {
|
|
851
|
-
path: string;
|
|
852
264
|
type: "relative";
|
|
265
|
+
path: string;
|
|
853
266
|
} | {
|
|
854
|
-
file: string;
|
|
855
267
|
type: "absolute-file";
|
|
268
|
+
file: string;
|
|
856
269
|
} | undefined;
|
|
857
270
|
}>;
|
|
858
271
|
}, "strip", z.ZodTypeAny, {
|
|
272
|
+
title: string;
|
|
273
|
+
description: string;
|
|
859
274
|
organization: {
|
|
860
|
-
name: string;
|
|
861
275
|
url: string;
|
|
276
|
+
name: string;
|
|
862
277
|
logo?: {
|
|
278
|
+
type: "absolute-file";
|
|
279
|
+
file: string;
|
|
280
|
+
} | {
|
|
281
|
+
type: "explicit-base64";
|
|
282
|
+
content: string;
|
|
283
|
+
mimeType: string;
|
|
284
|
+
} | {
|
|
863
285
|
type: "explicit-base64";
|
|
864
286
|
content: string;
|
|
865
287
|
mimeType: string;
|
|
866
288
|
} | {
|
|
867
|
-
file: string;
|
|
868
289
|
type: "absolute-file";
|
|
290
|
+
file: string;
|
|
869
291
|
} | undefined;
|
|
870
292
|
};
|
|
871
|
-
title: string;
|
|
872
|
-
description: string;
|
|
873
|
-
url?: string | undefined;
|
|
874
293
|
longDescription?: {
|
|
294
|
+
type: "absolute-file";
|
|
295
|
+
file: string;
|
|
296
|
+
} | {
|
|
297
|
+
type: "explicit-string";
|
|
298
|
+
content: string;
|
|
299
|
+
} | {
|
|
875
300
|
type: "explicit-string";
|
|
876
301
|
content: string;
|
|
877
302
|
} | {
|
|
878
|
-
file: string;
|
|
879
303
|
type: "absolute-file";
|
|
304
|
+
file: string;
|
|
880
305
|
} | undefined;
|
|
881
306
|
logo?: {
|
|
307
|
+
type: "absolute-file";
|
|
308
|
+
file: string;
|
|
309
|
+
} | {
|
|
310
|
+
type: "explicit-base64";
|
|
311
|
+
content: string;
|
|
312
|
+
mimeType: string;
|
|
313
|
+
} | {
|
|
882
314
|
type: "explicit-base64";
|
|
883
315
|
content: string;
|
|
884
316
|
mimeType: string;
|
|
885
317
|
} | {
|
|
886
|
-
file: string;
|
|
887
318
|
type: "absolute-file";
|
|
319
|
+
file: string;
|
|
888
320
|
} | undefined;
|
|
321
|
+
url?: string | undefined;
|
|
889
322
|
docs?: string | undefined;
|
|
890
323
|
support?: string | undefined;
|
|
891
324
|
tags?: string[] | undefined;
|
|
892
325
|
}, {
|
|
326
|
+
title: string;
|
|
327
|
+
description: string;
|
|
893
328
|
organization: {
|
|
894
|
-
name: string;
|
|
895
329
|
url: string;
|
|
330
|
+
name: string;
|
|
896
331
|
logo?: string | {
|
|
897
332
|
type: "explicit-base64";
|
|
898
333
|
content: string;
|
|
899
334
|
mimeType: string;
|
|
900
335
|
} | {
|
|
901
|
-
path: string;
|
|
902
336
|
type: "relative";
|
|
337
|
+
path: string;
|
|
903
338
|
} | {
|
|
904
|
-
file: string;
|
|
905
339
|
type: "absolute-file";
|
|
340
|
+
file: string;
|
|
906
341
|
} | undefined;
|
|
907
342
|
};
|
|
908
|
-
title: string;
|
|
909
|
-
description: string;
|
|
910
|
-
url?: string | undefined;
|
|
911
343
|
longDescription?: string | {
|
|
912
344
|
type: "explicit-string";
|
|
913
345
|
content: string;
|
|
914
346
|
} | {
|
|
915
|
-
path: string;
|
|
916
347
|
type: "relative";
|
|
348
|
+
path: string;
|
|
917
349
|
} | {
|
|
918
|
-
file: string;
|
|
919
350
|
type: "absolute-file";
|
|
351
|
+
file: string;
|
|
920
352
|
} | undefined;
|
|
921
353
|
logo?: string | {
|
|
922
354
|
type: "explicit-base64";
|
|
923
355
|
content: string;
|
|
924
356
|
mimeType: string;
|
|
925
357
|
} | {
|
|
926
|
-
path: string;
|
|
927
358
|
type: "relative";
|
|
359
|
+
path: string;
|
|
928
360
|
} | {
|
|
929
|
-
file: string;
|
|
930
361
|
type: "absolute-file";
|
|
362
|
+
file: string;
|
|
931
363
|
} | undefined;
|
|
364
|
+
url?: string | undefined;
|
|
932
365
|
docs?: string | undefined;
|
|
933
366
|
support?: string | undefined;
|
|
934
367
|
tags?: string[] | undefined;
|
|
935
368
|
}>;
|
|
936
369
|
}, "strip", z.ZodTypeAny, {
|
|
370
|
+
id: {
|
|
371
|
+
organization: string;
|
|
372
|
+
name: string;
|
|
373
|
+
version: string;
|
|
374
|
+
};
|
|
937
375
|
components: {
|
|
938
|
-
ui: {
|
|
939
|
-
type: "absolute-folder";
|
|
940
|
-
folder: string;
|
|
941
|
-
};
|
|
942
376
|
workflow: {
|
|
943
|
-
file: string;
|
|
944
377
|
type: "absolute-file";
|
|
378
|
+
file: string;
|
|
945
379
|
};
|
|
946
380
|
model: {
|
|
947
|
-
file: string;
|
|
948
381
|
type: "absolute-file";
|
|
382
|
+
file: string;
|
|
383
|
+
};
|
|
384
|
+
ui: {
|
|
385
|
+
type: "absolute-folder";
|
|
386
|
+
folder: string;
|
|
949
387
|
};
|
|
950
388
|
};
|
|
951
389
|
meta: {
|
|
390
|
+
title: string;
|
|
391
|
+
description: string;
|
|
952
392
|
organization: {
|
|
953
|
-
name: string;
|
|
954
393
|
url: string;
|
|
394
|
+
name: string;
|
|
955
395
|
logo?: {
|
|
396
|
+
type: "absolute-file";
|
|
397
|
+
file: string;
|
|
398
|
+
} | {
|
|
399
|
+
type: "explicit-base64";
|
|
400
|
+
content: string;
|
|
401
|
+
mimeType: string;
|
|
402
|
+
} | {
|
|
956
403
|
type: "explicit-base64";
|
|
957
404
|
content: string;
|
|
958
405
|
mimeType: string;
|
|
959
406
|
} | {
|
|
960
|
-
file: string;
|
|
961
407
|
type: "absolute-file";
|
|
408
|
+
file: string;
|
|
962
409
|
} | undefined;
|
|
963
410
|
};
|
|
964
|
-
title: string;
|
|
965
|
-
description: string;
|
|
966
|
-
url?: string | undefined;
|
|
967
411
|
longDescription?: {
|
|
412
|
+
type: "absolute-file";
|
|
413
|
+
file: string;
|
|
414
|
+
} | {
|
|
415
|
+
type: "explicit-string";
|
|
416
|
+
content: string;
|
|
417
|
+
} | {
|
|
968
418
|
type: "explicit-string";
|
|
969
419
|
content: string;
|
|
970
420
|
} | {
|
|
971
|
-
file: string;
|
|
972
421
|
type: "absolute-file";
|
|
422
|
+
file: string;
|
|
973
423
|
} | undefined;
|
|
974
424
|
logo?: {
|
|
425
|
+
type: "absolute-file";
|
|
426
|
+
file: string;
|
|
427
|
+
} | {
|
|
428
|
+
type: "explicit-base64";
|
|
429
|
+
content: string;
|
|
430
|
+
mimeType: string;
|
|
431
|
+
} | {
|
|
975
432
|
type: "explicit-base64";
|
|
976
433
|
content: string;
|
|
977
434
|
mimeType: string;
|
|
978
435
|
} | {
|
|
979
|
-
file: string;
|
|
980
436
|
type: "absolute-file";
|
|
437
|
+
file: string;
|
|
981
438
|
} | undefined;
|
|
439
|
+
url?: string | undefined;
|
|
982
440
|
docs?: string | undefined;
|
|
983
441
|
support?: string | undefined;
|
|
984
442
|
tags?: string[] | undefined;
|
|
985
443
|
};
|
|
444
|
+
}, {
|
|
986
445
|
id: {
|
|
987
|
-
name: string;
|
|
988
446
|
organization: string;
|
|
447
|
+
name: string;
|
|
989
448
|
version: string;
|
|
990
449
|
};
|
|
991
|
-
}, {
|
|
992
450
|
components: {
|
|
993
|
-
ui: string;
|
|
994
451
|
workflow: string;
|
|
995
452
|
model: string;
|
|
453
|
+
ui: string;
|
|
996
454
|
};
|
|
997
455
|
meta: {
|
|
456
|
+
title: string;
|
|
457
|
+
description: string;
|
|
998
458
|
organization: {
|
|
999
|
-
name: string;
|
|
1000
459
|
url: string;
|
|
460
|
+
name: string;
|
|
1001
461
|
logo?: string | {
|
|
1002
462
|
type: "explicit-base64";
|
|
1003
463
|
content: string;
|
|
1004
464
|
mimeType: string;
|
|
1005
465
|
} | {
|
|
1006
|
-
path: string;
|
|
1007
466
|
type: "relative";
|
|
467
|
+
path: string;
|
|
1008
468
|
} | {
|
|
1009
|
-
file: string;
|
|
1010
469
|
type: "absolute-file";
|
|
470
|
+
file: string;
|
|
1011
471
|
} | undefined;
|
|
1012
472
|
};
|
|
1013
|
-
title: string;
|
|
1014
|
-
description: string;
|
|
1015
|
-
url?: string | undefined;
|
|
1016
473
|
longDescription?: string | {
|
|
1017
474
|
type: "explicit-string";
|
|
1018
475
|
content: string;
|
|
1019
476
|
} | {
|
|
1020
|
-
path: string;
|
|
1021
477
|
type: "relative";
|
|
478
|
+
path: string;
|
|
1022
479
|
} | {
|
|
1023
|
-
file: string;
|
|
1024
480
|
type: "absolute-file";
|
|
481
|
+
file: string;
|
|
1025
482
|
} | undefined;
|
|
1026
483
|
logo?: string | {
|
|
1027
484
|
type: "explicit-base64";
|
|
1028
485
|
content: string;
|
|
1029
486
|
mimeType: string;
|
|
1030
487
|
} | {
|
|
1031
|
-
path: string;
|
|
1032
488
|
type: "relative";
|
|
489
|
+
path: string;
|
|
1033
490
|
} | {
|
|
1034
|
-
file: string;
|
|
1035
491
|
type: "absolute-file";
|
|
492
|
+
file: string;
|
|
1036
493
|
} | undefined;
|
|
494
|
+
url?: string | undefined;
|
|
1037
495
|
docs?: string | undefined;
|
|
1038
496
|
support?: string | undefined;
|
|
1039
497
|
tags?: string[] | undefined;
|
|
1040
498
|
};
|
|
1041
|
-
id: {
|
|
1042
|
-
name: string;
|
|
1043
|
-
organization: string;
|
|
1044
|
-
version: string;
|
|
1045
|
-
};
|
|
1046
499
|
}>;
|
|
1047
|
-
type BlockPackDescriptionAbsolute = z.infer<ReturnType<typeof ResolvedBlockPackDescriptionFromPackageJson>>;
|
|
1048
|
-
declare function BlockPackDescriptionConsolidateToFolder(dstFolder: string, fileAccumulator?: string[]): z.ZodPipeline<z.ZodObject<{
|
|
500
|
+
export type BlockPackDescriptionAbsolute = z.infer<ReturnType<typeof ResolvedBlockPackDescriptionFromPackageJson>>;
|
|
501
|
+
export declare function BlockPackDescriptionConsolidateToFolder(dstFolder: string, fileAccumulator?: string[]): z.ZodPipeline<z.ZodObject<{
|
|
1049
502
|
id: z.ZodObject<{
|
|
1050
503
|
organization: z.ZodString;
|
|
1051
504
|
name: z.ZodString;
|
|
1052
505
|
version: z.ZodString;
|
|
1053
506
|
}, "strict", z.ZodTypeAny, {
|
|
1054
|
-
name: string;
|
|
1055
507
|
organization: string;
|
|
508
|
+
name: string;
|
|
1056
509
|
version: string;
|
|
1057
510
|
}, {
|
|
1058
|
-
name: string;
|
|
1059
511
|
organization: string;
|
|
512
|
+
name: string;
|
|
1060
513
|
version: string;
|
|
1061
514
|
}>;
|
|
1062
515
|
components: z.ZodPipeline<z.ZodObject<{
|
|
@@ -1076,25 +529,25 @@ declare function BlockPackDescriptionConsolidateToFolder(dstFolder: string, file
|
|
|
1076
529
|
type: z.ZodLiteral<"absolute-file">;
|
|
1077
530
|
file: z.ZodString;
|
|
1078
531
|
}, "strict", z.ZodTypeAny, {
|
|
1079
|
-
file: string;
|
|
1080
532
|
type: "absolute-file";
|
|
1081
|
-
}, {
|
|
1082
533
|
file: string;
|
|
534
|
+
}, {
|
|
1083
535
|
type: "absolute-file";
|
|
536
|
+
file: string;
|
|
1084
537
|
}>]>, {
|
|
538
|
+
type: "relative";
|
|
539
|
+
path: string;
|
|
540
|
+
} | {
|
|
1085
541
|
type: "explicit-base64";
|
|
1086
542
|
content: string;
|
|
1087
543
|
mimeType: string;
|
|
1088
|
-
} | {
|
|
1089
|
-
path: string;
|
|
1090
|
-
type: "relative";
|
|
1091
544
|
}, {
|
|
1092
545
|
type: "explicit-base64";
|
|
1093
546
|
content: string;
|
|
1094
547
|
mimeType: string;
|
|
1095
548
|
} | {
|
|
1096
|
-
file: string;
|
|
1097
549
|
type: "absolute-file";
|
|
550
|
+
file: string;
|
|
1098
551
|
}>;
|
|
1099
552
|
model: z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1100
553
|
type: z.ZodLiteral<"explicit-base64">;
|
|
@@ -1112,25 +565,25 @@ declare function BlockPackDescriptionConsolidateToFolder(dstFolder: string, file
|
|
|
1112
565
|
type: z.ZodLiteral<"absolute-file">;
|
|
1113
566
|
file: z.ZodString;
|
|
1114
567
|
}, "strict", z.ZodTypeAny, {
|
|
1115
|
-
file: string;
|
|
1116
568
|
type: "absolute-file";
|
|
1117
|
-
}, {
|
|
1118
569
|
file: string;
|
|
570
|
+
}, {
|
|
1119
571
|
type: "absolute-file";
|
|
572
|
+
file: string;
|
|
1120
573
|
}>]>, {
|
|
574
|
+
type: "relative";
|
|
575
|
+
path: string;
|
|
576
|
+
} | {
|
|
1121
577
|
type: "explicit-base64";
|
|
1122
578
|
content: string;
|
|
1123
579
|
mimeType: string;
|
|
1124
|
-
} | {
|
|
1125
|
-
path: string;
|
|
1126
|
-
type: "relative";
|
|
1127
580
|
}, {
|
|
1128
581
|
type: "explicit-base64";
|
|
1129
582
|
content: string;
|
|
1130
583
|
mimeType: string;
|
|
1131
584
|
} | {
|
|
1132
|
-
file: string;
|
|
1133
585
|
type: "absolute-file";
|
|
586
|
+
file: string;
|
|
1134
587
|
}>;
|
|
1135
588
|
ui: z.ZodEffects<z.ZodObject<{
|
|
1136
589
|
type: z.ZodLiteral<"absolute-folder">;
|
|
@@ -1142,110 +595,110 @@ declare function BlockPackDescriptionConsolidateToFolder(dstFolder: string, file
|
|
|
1142
595
|
type: "absolute-folder";
|
|
1143
596
|
folder: string;
|
|
1144
597
|
}>, {
|
|
1145
|
-
path: string;
|
|
1146
598
|
type: "relative";
|
|
599
|
+
path: string;
|
|
1147
600
|
}, {
|
|
1148
601
|
type: "absolute-folder";
|
|
1149
602
|
folder: string;
|
|
1150
603
|
}>;
|
|
1151
604
|
}, "strip", z.ZodTypeAny, {
|
|
1152
|
-
ui: {
|
|
1153
|
-
path: string;
|
|
1154
|
-
type: "relative";
|
|
1155
|
-
};
|
|
1156
605
|
workflow: {
|
|
606
|
+
type: "relative";
|
|
607
|
+
path: string;
|
|
608
|
+
} | {
|
|
1157
609
|
type: "explicit-base64";
|
|
1158
610
|
content: string;
|
|
1159
611
|
mimeType: string;
|
|
1160
|
-
} | {
|
|
1161
|
-
path: string;
|
|
1162
|
-
type: "relative";
|
|
1163
612
|
};
|
|
1164
613
|
model: {
|
|
614
|
+
type: "relative";
|
|
615
|
+
path: string;
|
|
616
|
+
} | {
|
|
1165
617
|
type: "explicit-base64";
|
|
1166
618
|
content: string;
|
|
1167
619
|
mimeType: string;
|
|
1168
|
-
} | {
|
|
1169
|
-
path: string;
|
|
1170
|
-
type: "relative";
|
|
1171
620
|
};
|
|
1172
|
-
}, {
|
|
1173
621
|
ui: {
|
|
1174
|
-
type: "
|
|
1175
|
-
|
|
622
|
+
type: "relative";
|
|
623
|
+
path: string;
|
|
1176
624
|
};
|
|
625
|
+
}, {
|
|
1177
626
|
workflow: {
|
|
1178
627
|
type: "explicit-base64";
|
|
1179
628
|
content: string;
|
|
1180
629
|
mimeType: string;
|
|
1181
630
|
} | {
|
|
1182
|
-
file: string;
|
|
1183
631
|
type: "absolute-file";
|
|
632
|
+
file: string;
|
|
1184
633
|
};
|
|
1185
634
|
model: {
|
|
1186
635
|
type: "explicit-base64";
|
|
1187
636
|
content: string;
|
|
1188
637
|
mimeType: string;
|
|
1189
638
|
} | {
|
|
1190
|
-
file: string;
|
|
1191
639
|
type: "absolute-file";
|
|
640
|
+
file: string;
|
|
641
|
+
};
|
|
642
|
+
ui: {
|
|
643
|
+
type: "absolute-folder";
|
|
644
|
+
folder: string;
|
|
1192
645
|
};
|
|
1193
646
|
}>, z.ZodObject<{
|
|
1194
647
|
workflow: z.ZodObject<{
|
|
1195
648
|
type: z.ZodLiteral<"relative">;
|
|
1196
649
|
path: z.ZodString;
|
|
1197
650
|
}, "strict", z.ZodTypeAny, {
|
|
1198
|
-
path: string;
|
|
1199
651
|
type: "relative";
|
|
1200
|
-
}, {
|
|
1201
652
|
path: string;
|
|
653
|
+
}, {
|
|
1202
654
|
type: "relative";
|
|
655
|
+
path: string;
|
|
1203
656
|
}>;
|
|
1204
657
|
model: z.ZodObject<{
|
|
1205
658
|
type: z.ZodLiteral<"relative">;
|
|
1206
659
|
path: z.ZodString;
|
|
1207
660
|
}, "strict", z.ZodTypeAny, {
|
|
1208
|
-
path: string;
|
|
1209
661
|
type: "relative";
|
|
1210
|
-
}, {
|
|
1211
662
|
path: string;
|
|
663
|
+
}, {
|
|
1212
664
|
type: "relative";
|
|
665
|
+
path: string;
|
|
1213
666
|
}>;
|
|
1214
667
|
ui: z.ZodObject<{
|
|
1215
668
|
type: z.ZodLiteral<"relative">;
|
|
1216
669
|
path: z.ZodString;
|
|
1217
670
|
}, "strict", z.ZodTypeAny, {
|
|
1218
|
-
path: string;
|
|
1219
671
|
type: "relative";
|
|
1220
|
-
}, {
|
|
1221
672
|
path: string;
|
|
673
|
+
}, {
|
|
1222
674
|
type: "relative";
|
|
675
|
+
path: string;
|
|
1223
676
|
}>;
|
|
1224
677
|
}, "strip", z.ZodTypeAny, {
|
|
1225
678
|
ui: {
|
|
1226
|
-
path: string;
|
|
1227
679
|
type: "relative";
|
|
680
|
+
path: string;
|
|
1228
681
|
};
|
|
1229
682
|
workflow: {
|
|
1230
|
-
path: string;
|
|
1231
683
|
type: "relative";
|
|
684
|
+
path: string;
|
|
1232
685
|
};
|
|
1233
686
|
model: {
|
|
1234
|
-
path: string;
|
|
1235
687
|
type: "relative";
|
|
688
|
+
path: string;
|
|
1236
689
|
};
|
|
1237
690
|
}, {
|
|
1238
691
|
ui: {
|
|
1239
|
-
path: string;
|
|
1240
692
|
type: "relative";
|
|
693
|
+
path: string;
|
|
1241
694
|
};
|
|
1242
695
|
workflow: {
|
|
1243
|
-
path: string;
|
|
1244
696
|
type: "relative";
|
|
697
|
+
path: string;
|
|
1245
698
|
};
|
|
1246
699
|
model: {
|
|
1247
|
-
path: string;
|
|
1248
700
|
type: "relative";
|
|
701
|
+
path: string;
|
|
1249
702
|
};
|
|
1250
703
|
}>>;
|
|
1251
704
|
meta: z.ZodObject<{
|
|
@@ -1264,23 +717,23 @@ declare function BlockPackDescriptionConsolidateToFolder(dstFolder: string, file
|
|
|
1264
717
|
type: z.ZodLiteral<"absolute-file">;
|
|
1265
718
|
file: z.ZodString;
|
|
1266
719
|
}, "strict", z.ZodTypeAny, {
|
|
1267
|
-
file: string;
|
|
1268
720
|
type: "absolute-file";
|
|
1269
|
-
}, {
|
|
1270
721
|
file: string;
|
|
722
|
+
}, {
|
|
1271
723
|
type: "absolute-file";
|
|
724
|
+
file: string;
|
|
1272
725
|
}>]>, {
|
|
726
|
+
type: "relative";
|
|
727
|
+
path: string;
|
|
728
|
+
} | {
|
|
1273
729
|
type: "explicit-string";
|
|
1274
730
|
content: string;
|
|
1275
|
-
} | {
|
|
1276
|
-
path: string;
|
|
1277
|
-
type: "relative";
|
|
1278
731
|
}, {
|
|
1279
732
|
type: "explicit-string";
|
|
1280
733
|
content: string;
|
|
1281
734
|
} | {
|
|
1282
|
-
file: string;
|
|
1283
735
|
type: "absolute-file";
|
|
736
|
+
file: string;
|
|
1284
737
|
}>>;
|
|
1285
738
|
logo: z.ZodOptional<z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1286
739
|
type: z.ZodLiteral<"explicit-base64">;
|
|
@@ -1298,25 +751,25 @@ declare function BlockPackDescriptionConsolidateToFolder(dstFolder: string, file
|
|
|
1298
751
|
type: z.ZodLiteral<"absolute-file">;
|
|
1299
752
|
file: z.ZodString;
|
|
1300
753
|
}, "strict", z.ZodTypeAny, {
|
|
1301
|
-
file: string;
|
|
1302
754
|
type: "absolute-file";
|
|
1303
|
-
}, {
|
|
1304
755
|
file: string;
|
|
756
|
+
}, {
|
|
1305
757
|
type: "absolute-file";
|
|
758
|
+
file: string;
|
|
1306
759
|
}>]>, {
|
|
760
|
+
type: "relative";
|
|
761
|
+
path: string;
|
|
762
|
+
} | {
|
|
1307
763
|
type: "explicit-base64";
|
|
1308
764
|
content: string;
|
|
1309
765
|
mimeType: string;
|
|
1310
|
-
} | {
|
|
1311
|
-
path: string;
|
|
1312
|
-
type: "relative";
|
|
1313
766
|
}, {
|
|
1314
767
|
type: "explicit-base64";
|
|
1315
768
|
content: string;
|
|
1316
769
|
mimeType: string;
|
|
1317
770
|
} | {
|
|
1318
|
-
file: string;
|
|
1319
771
|
type: "absolute-file";
|
|
772
|
+
file: string;
|
|
1320
773
|
}>>;
|
|
1321
774
|
url: z.ZodOptional<z.ZodString>;
|
|
1322
775
|
docs: z.ZodOptional<z.ZodString>;
|
|
@@ -1341,248 +794,248 @@ declare function BlockPackDescriptionConsolidateToFolder(dstFolder: string, file
|
|
|
1341
794
|
type: z.ZodLiteral<"absolute-file">;
|
|
1342
795
|
file: z.ZodString;
|
|
1343
796
|
}, "strict", z.ZodTypeAny, {
|
|
1344
|
-
file: string;
|
|
1345
797
|
type: "absolute-file";
|
|
1346
|
-
}, {
|
|
1347
798
|
file: string;
|
|
799
|
+
}, {
|
|
1348
800
|
type: "absolute-file";
|
|
801
|
+
file: string;
|
|
1349
802
|
}>]>, {
|
|
803
|
+
type: "relative";
|
|
804
|
+
path: string;
|
|
805
|
+
} | {
|
|
1350
806
|
type: "explicit-base64";
|
|
1351
807
|
content: string;
|
|
1352
808
|
mimeType: string;
|
|
1353
|
-
} | {
|
|
1354
|
-
path: string;
|
|
1355
|
-
type: "relative";
|
|
1356
809
|
}, {
|
|
1357
810
|
type: "explicit-base64";
|
|
1358
811
|
content: string;
|
|
1359
812
|
mimeType: string;
|
|
1360
813
|
} | {
|
|
1361
|
-
file: string;
|
|
1362
814
|
type: "absolute-file";
|
|
815
|
+
file: string;
|
|
1363
816
|
}>>;
|
|
1364
817
|
}, "strip", z.ZodTypeAny, {
|
|
1365
|
-
name: string;
|
|
1366
818
|
url: string;
|
|
819
|
+
name: string;
|
|
1367
820
|
logo?: {
|
|
821
|
+
type: "relative";
|
|
822
|
+
path: string;
|
|
823
|
+
} | {
|
|
1368
824
|
type: "explicit-base64";
|
|
1369
825
|
content: string;
|
|
1370
826
|
mimeType: string;
|
|
1371
|
-
} | {
|
|
1372
|
-
path: string;
|
|
1373
|
-
type: "relative";
|
|
1374
827
|
} | undefined;
|
|
1375
828
|
}, {
|
|
1376
|
-
name: string;
|
|
1377
829
|
url: string;
|
|
830
|
+
name: string;
|
|
1378
831
|
logo?: {
|
|
1379
832
|
type: "explicit-base64";
|
|
1380
833
|
content: string;
|
|
1381
834
|
mimeType: string;
|
|
1382
835
|
} | {
|
|
1383
|
-
file: string;
|
|
1384
836
|
type: "absolute-file";
|
|
837
|
+
file: string;
|
|
1385
838
|
} | undefined;
|
|
1386
839
|
}>;
|
|
1387
840
|
}, "strip", z.ZodTypeAny, {
|
|
841
|
+
title: string;
|
|
842
|
+
description: string;
|
|
1388
843
|
organization: {
|
|
1389
|
-
name: string;
|
|
1390
844
|
url: string;
|
|
845
|
+
name: string;
|
|
1391
846
|
logo?: {
|
|
847
|
+
type: "relative";
|
|
848
|
+
path: string;
|
|
849
|
+
} | {
|
|
1392
850
|
type: "explicit-base64";
|
|
1393
851
|
content: string;
|
|
1394
852
|
mimeType: string;
|
|
1395
|
-
} | {
|
|
1396
|
-
path: string;
|
|
1397
|
-
type: "relative";
|
|
1398
853
|
} | undefined;
|
|
1399
854
|
};
|
|
1400
|
-
title: string;
|
|
1401
|
-
description: string;
|
|
1402
|
-
url?: string | undefined;
|
|
1403
855
|
longDescription?: {
|
|
856
|
+
type: "relative";
|
|
857
|
+
path: string;
|
|
858
|
+
} | {
|
|
1404
859
|
type: "explicit-string";
|
|
1405
860
|
content: string;
|
|
1406
|
-
} | {
|
|
1407
|
-
path: string;
|
|
1408
|
-
type: "relative";
|
|
1409
861
|
} | undefined;
|
|
1410
862
|
logo?: {
|
|
863
|
+
type: "relative";
|
|
864
|
+
path: string;
|
|
865
|
+
} | {
|
|
1411
866
|
type: "explicit-base64";
|
|
1412
867
|
content: string;
|
|
1413
868
|
mimeType: string;
|
|
1414
|
-
} | {
|
|
1415
|
-
path: string;
|
|
1416
|
-
type: "relative";
|
|
1417
869
|
} | undefined;
|
|
870
|
+
url?: string | undefined;
|
|
1418
871
|
docs?: string | undefined;
|
|
1419
872
|
support?: string | undefined;
|
|
1420
873
|
tags?: string[] | undefined;
|
|
1421
874
|
}, {
|
|
875
|
+
title: string;
|
|
876
|
+
description: string;
|
|
1422
877
|
organization: {
|
|
1423
|
-
name: string;
|
|
1424
878
|
url: string;
|
|
879
|
+
name: string;
|
|
1425
880
|
logo?: {
|
|
1426
881
|
type: "explicit-base64";
|
|
1427
882
|
content: string;
|
|
1428
883
|
mimeType: string;
|
|
1429
884
|
} | {
|
|
1430
|
-
file: string;
|
|
1431
885
|
type: "absolute-file";
|
|
886
|
+
file: string;
|
|
1432
887
|
} | undefined;
|
|
1433
888
|
};
|
|
1434
|
-
title: string;
|
|
1435
|
-
description: string;
|
|
1436
|
-
url?: string | undefined;
|
|
1437
889
|
longDescription?: {
|
|
1438
890
|
type: "explicit-string";
|
|
1439
891
|
content: string;
|
|
1440
892
|
} | {
|
|
1441
|
-
file: string;
|
|
1442
893
|
type: "absolute-file";
|
|
894
|
+
file: string;
|
|
1443
895
|
} | undefined;
|
|
1444
896
|
logo?: {
|
|
1445
897
|
type: "explicit-base64";
|
|
1446
898
|
content: string;
|
|
1447
899
|
mimeType: string;
|
|
1448
900
|
} | {
|
|
1449
|
-
file: string;
|
|
1450
901
|
type: "absolute-file";
|
|
902
|
+
file: string;
|
|
1451
903
|
} | undefined;
|
|
904
|
+
url?: string | undefined;
|
|
1452
905
|
docs?: string | undefined;
|
|
1453
906
|
support?: string | undefined;
|
|
1454
907
|
tags?: string[] | undefined;
|
|
1455
908
|
}>;
|
|
1456
909
|
}, "strip", z.ZodTypeAny, {
|
|
910
|
+
id: {
|
|
911
|
+
organization: string;
|
|
912
|
+
name: string;
|
|
913
|
+
version: string;
|
|
914
|
+
};
|
|
1457
915
|
components: {
|
|
1458
916
|
ui: {
|
|
1459
|
-
path: string;
|
|
1460
917
|
type: "relative";
|
|
918
|
+
path: string;
|
|
1461
919
|
};
|
|
1462
920
|
workflow: {
|
|
1463
|
-
path: string;
|
|
1464
921
|
type: "relative";
|
|
922
|
+
path: string;
|
|
1465
923
|
};
|
|
1466
924
|
model: {
|
|
1467
|
-
path: string;
|
|
1468
925
|
type: "relative";
|
|
926
|
+
path: string;
|
|
1469
927
|
};
|
|
1470
928
|
};
|
|
1471
929
|
meta: {
|
|
930
|
+
title: string;
|
|
931
|
+
description: string;
|
|
1472
932
|
organization: {
|
|
1473
|
-
name: string;
|
|
1474
933
|
url: string;
|
|
934
|
+
name: string;
|
|
1475
935
|
logo?: {
|
|
936
|
+
type: "relative";
|
|
937
|
+
path: string;
|
|
938
|
+
} | {
|
|
1476
939
|
type: "explicit-base64";
|
|
1477
940
|
content: string;
|
|
1478
941
|
mimeType: string;
|
|
1479
|
-
} | {
|
|
1480
|
-
path: string;
|
|
1481
|
-
type: "relative";
|
|
1482
942
|
} | undefined;
|
|
1483
943
|
};
|
|
1484
|
-
title: string;
|
|
1485
|
-
description: string;
|
|
1486
|
-
url?: string | undefined;
|
|
1487
944
|
longDescription?: {
|
|
945
|
+
type: "relative";
|
|
946
|
+
path: string;
|
|
947
|
+
} | {
|
|
1488
948
|
type: "explicit-string";
|
|
1489
949
|
content: string;
|
|
1490
|
-
} | {
|
|
1491
|
-
path: string;
|
|
1492
|
-
type: "relative";
|
|
1493
950
|
} | undefined;
|
|
1494
951
|
logo?: {
|
|
952
|
+
type: "relative";
|
|
953
|
+
path: string;
|
|
954
|
+
} | {
|
|
1495
955
|
type: "explicit-base64";
|
|
1496
956
|
content: string;
|
|
1497
957
|
mimeType: string;
|
|
1498
|
-
} | {
|
|
1499
|
-
path: string;
|
|
1500
|
-
type: "relative";
|
|
1501
958
|
} | undefined;
|
|
959
|
+
url?: string | undefined;
|
|
1502
960
|
docs?: string | undefined;
|
|
1503
961
|
support?: string | undefined;
|
|
1504
962
|
tags?: string[] | undefined;
|
|
1505
963
|
};
|
|
964
|
+
}, {
|
|
1506
965
|
id: {
|
|
1507
|
-
name: string;
|
|
1508
966
|
organization: string;
|
|
967
|
+
name: string;
|
|
1509
968
|
version: string;
|
|
1510
969
|
};
|
|
1511
|
-
}, {
|
|
1512
970
|
components: {
|
|
1513
|
-
ui: {
|
|
1514
|
-
type: "absolute-folder";
|
|
1515
|
-
folder: string;
|
|
1516
|
-
};
|
|
1517
971
|
workflow: {
|
|
1518
972
|
type: "explicit-base64";
|
|
1519
973
|
content: string;
|
|
1520
974
|
mimeType: string;
|
|
1521
975
|
} | {
|
|
1522
|
-
file: string;
|
|
1523
976
|
type: "absolute-file";
|
|
977
|
+
file: string;
|
|
1524
978
|
};
|
|
1525
979
|
model: {
|
|
1526
980
|
type: "explicit-base64";
|
|
1527
981
|
content: string;
|
|
1528
982
|
mimeType: string;
|
|
1529
983
|
} | {
|
|
1530
|
-
file: string;
|
|
1531
984
|
type: "absolute-file";
|
|
985
|
+
file: string;
|
|
986
|
+
};
|
|
987
|
+
ui: {
|
|
988
|
+
type: "absolute-folder";
|
|
989
|
+
folder: string;
|
|
1532
990
|
};
|
|
1533
991
|
};
|
|
1534
992
|
meta: {
|
|
993
|
+
title: string;
|
|
994
|
+
description: string;
|
|
1535
995
|
organization: {
|
|
1536
|
-
name: string;
|
|
1537
996
|
url: string;
|
|
997
|
+
name: string;
|
|
1538
998
|
logo?: {
|
|
1539
999
|
type: "explicit-base64";
|
|
1540
1000
|
content: string;
|
|
1541
1001
|
mimeType: string;
|
|
1542
1002
|
} | {
|
|
1543
|
-
file: string;
|
|
1544
1003
|
type: "absolute-file";
|
|
1004
|
+
file: string;
|
|
1545
1005
|
} | undefined;
|
|
1546
1006
|
};
|
|
1547
|
-
title: string;
|
|
1548
|
-
description: string;
|
|
1549
|
-
url?: string | undefined;
|
|
1550
1007
|
longDescription?: {
|
|
1551
1008
|
type: "explicit-string";
|
|
1552
1009
|
content: string;
|
|
1553
1010
|
} | {
|
|
1554
|
-
file: string;
|
|
1555
1011
|
type: "absolute-file";
|
|
1012
|
+
file: string;
|
|
1556
1013
|
} | undefined;
|
|
1557
1014
|
logo?: {
|
|
1558
1015
|
type: "explicit-base64";
|
|
1559
1016
|
content: string;
|
|
1560
1017
|
mimeType: string;
|
|
1561
1018
|
} | {
|
|
1562
|
-
file: string;
|
|
1563
1019
|
type: "absolute-file";
|
|
1020
|
+
file: string;
|
|
1564
1021
|
} | undefined;
|
|
1022
|
+
url?: string | undefined;
|
|
1565
1023
|
docs?: string | undefined;
|
|
1566
1024
|
support?: string | undefined;
|
|
1567
1025
|
tags?: string[] | undefined;
|
|
1568
1026
|
};
|
|
1569
|
-
id: {
|
|
1570
|
-
name: string;
|
|
1571
|
-
organization: string;
|
|
1572
|
-
version: string;
|
|
1573
|
-
};
|
|
1574
1027
|
}>, z.ZodObject<{
|
|
1575
1028
|
id: z.ZodObject<{
|
|
1576
1029
|
organization: z.ZodString;
|
|
1577
1030
|
name: z.ZodString;
|
|
1578
1031
|
version: z.ZodString;
|
|
1579
1032
|
}, "strict", z.ZodTypeAny, {
|
|
1580
|
-
name: string;
|
|
1581
1033
|
organization: string;
|
|
1034
|
+
name: string;
|
|
1582
1035
|
version: string;
|
|
1583
1036
|
}, {
|
|
1584
|
-
name: string;
|
|
1585
1037
|
organization: string;
|
|
1038
|
+
name: string;
|
|
1586
1039
|
version: string;
|
|
1587
1040
|
}>;
|
|
1588
1041
|
components: z.ZodObject<{
|
|
@@ -1590,57 +1043,57 @@ declare function BlockPackDescriptionConsolidateToFolder(dstFolder: string, file
|
|
|
1590
1043
|
type: z.ZodLiteral<"relative">;
|
|
1591
1044
|
path: z.ZodString;
|
|
1592
1045
|
}, "strict", z.ZodTypeAny, {
|
|
1593
|
-
path: string;
|
|
1594
1046
|
type: "relative";
|
|
1595
|
-
}, {
|
|
1596
1047
|
path: string;
|
|
1048
|
+
}, {
|
|
1597
1049
|
type: "relative";
|
|
1050
|
+
path: string;
|
|
1598
1051
|
}>;
|
|
1599
1052
|
model: z.ZodObject<{
|
|
1600
1053
|
type: z.ZodLiteral<"relative">;
|
|
1601
1054
|
path: z.ZodString;
|
|
1602
1055
|
}, "strict", z.ZodTypeAny, {
|
|
1603
|
-
path: string;
|
|
1604
1056
|
type: "relative";
|
|
1605
|
-
}, {
|
|
1606
1057
|
path: string;
|
|
1058
|
+
}, {
|
|
1607
1059
|
type: "relative";
|
|
1060
|
+
path: string;
|
|
1608
1061
|
}>;
|
|
1609
1062
|
ui: z.ZodObject<{
|
|
1610
1063
|
type: z.ZodLiteral<"relative">;
|
|
1611
1064
|
path: z.ZodString;
|
|
1612
1065
|
}, "strict", z.ZodTypeAny, {
|
|
1613
|
-
path: string;
|
|
1614
1066
|
type: "relative";
|
|
1615
|
-
}, {
|
|
1616
1067
|
path: string;
|
|
1068
|
+
}, {
|
|
1617
1069
|
type: "relative";
|
|
1070
|
+
path: string;
|
|
1618
1071
|
}>;
|
|
1619
1072
|
}, "strip", z.ZodTypeAny, {
|
|
1620
1073
|
ui: {
|
|
1621
|
-
path: string;
|
|
1622
1074
|
type: "relative";
|
|
1075
|
+
path: string;
|
|
1623
1076
|
};
|
|
1624
1077
|
workflow: {
|
|
1625
|
-
path: string;
|
|
1626
1078
|
type: "relative";
|
|
1079
|
+
path: string;
|
|
1627
1080
|
};
|
|
1628
1081
|
model: {
|
|
1629
|
-
path: string;
|
|
1630
1082
|
type: "relative";
|
|
1083
|
+
path: string;
|
|
1631
1084
|
};
|
|
1632
1085
|
}, {
|
|
1633
1086
|
ui: {
|
|
1634
|
-
path: string;
|
|
1635
1087
|
type: "relative";
|
|
1088
|
+
path: string;
|
|
1636
1089
|
};
|
|
1637
1090
|
workflow: {
|
|
1638
|
-
path: string;
|
|
1639
1091
|
type: "relative";
|
|
1092
|
+
path: string;
|
|
1640
1093
|
};
|
|
1641
1094
|
model: {
|
|
1642
|
-
path: string;
|
|
1643
1095
|
type: "relative";
|
|
1096
|
+
path: string;
|
|
1644
1097
|
};
|
|
1645
1098
|
}>;
|
|
1646
1099
|
meta: z.ZodObject<{
|
|
@@ -1659,11 +1112,11 @@ declare function BlockPackDescriptionConsolidateToFolder(dstFolder: string, file
|
|
|
1659
1112
|
type: z.ZodLiteral<"relative">;
|
|
1660
1113
|
path: z.ZodString;
|
|
1661
1114
|
}, "strict", z.ZodTypeAny, {
|
|
1662
|
-
path: string;
|
|
1663
1115
|
type: "relative";
|
|
1664
|
-
}, {
|
|
1665
1116
|
path: string;
|
|
1117
|
+
}, {
|
|
1666
1118
|
type: "relative";
|
|
1119
|
+
path: string;
|
|
1667
1120
|
}>]>>;
|
|
1668
1121
|
logo: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1669
1122
|
type: z.ZodLiteral<"explicit-base64">;
|
|
@@ -1681,11 +1134,11 @@ declare function BlockPackDescriptionConsolidateToFolder(dstFolder: string, file
|
|
|
1681
1134
|
type: z.ZodLiteral<"relative">;
|
|
1682
1135
|
path: z.ZodString;
|
|
1683
1136
|
}, "strict", z.ZodTypeAny, {
|
|
1684
|
-
path: string;
|
|
1685
1137
|
type: "relative";
|
|
1686
|
-
}, {
|
|
1687
1138
|
path: string;
|
|
1139
|
+
}, {
|
|
1688
1140
|
type: "relative";
|
|
1141
|
+
path: string;
|
|
1689
1142
|
}>]>>;
|
|
1690
1143
|
url: z.ZodOptional<z.ZodString>;
|
|
1691
1144
|
docs: z.ZodOptional<z.ZodString>;
|
|
@@ -1710,46 +1163,46 @@ declare function BlockPackDescriptionConsolidateToFolder(dstFolder: string, file
|
|
|
1710
1163
|
type: z.ZodLiteral<"relative">;
|
|
1711
1164
|
path: z.ZodString;
|
|
1712
1165
|
}, "strict", z.ZodTypeAny, {
|
|
1713
|
-
path: string;
|
|
1714
1166
|
type: "relative";
|
|
1715
|
-
}, {
|
|
1716
1167
|
path: string;
|
|
1168
|
+
}, {
|
|
1717
1169
|
type: "relative";
|
|
1170
|
+
path: string;
|
|
1718
1171
|
}>]>>;
|
|
1719
1172
|
}, "strip", z.ZodTypeAny, {
|
|
1720
|
-
name: string;
|
|
1721
1173
|
url: string;
|
|
1174
|
+
name: string;
|
|
1722
1175
|
logo?: {
|
|
1723
1176
|
type: "explicit-base64";
|
|
1724
1177
|
content: string;
|
|
1725
1178
|
mimeType: string;
|
|
1726
1179
|
} | {
|
|
1727
|
-
path: string;
|
|
1728
1180
|
type: "relative";
|
|
1181
|
+
path: string;
|
|
1729
1182
|
} | undefined;
|
|
1730
1183
|
}, {
|
|
1731
|
-
name: string;
|
|
1732
1184
|
url: string;
|
|
1185
|
+
name: string;
|
|
1733
1186
|
logo?: {
|
|
1734
1187
|
type: "explicit-base64";
|
|
1735
1188
|
content: string;
|
|
1736
1189
|
mimeType: string;
|
|
1737
1190
|
} | {
|
|
1738
|
-
path: string;
|
|
1739
1191
|
type: "relative";
|
|
1192
|
+
path: string;
|
|
1740
1193
|
} | undefined;
|
|
1741
1194
|
}>;
|
|
1742
1195
|
}, "strip", z.ZodTypeAny, {
|
|
1743
1196
|
organization: {
|
|
1744
|
-
name: string;
|
|
1745
1197
|
url: string;
|
|
1198
|
+
name: string;
|
|
1746
1199
|
logo?: {
|
|
1747
1200
|
type: "explicit-base64";
|
|
1748
1201
|
content: string;
|
|
1749
1202
|
mimeType: string;
|
|
1750
1203
|
} | {
|
|
1751
|
-
path: string;
|
|
1752
1204
|
type: "relative";
|
|
1205
|
+
path: string;
|
|
1753
1206
|
} | undefined;
|
|
1754
1207
|
};
|
|
1755
1208
|
title: string;
|
|
@@ -1759,31 +1212,31 @@ declare function BlockPackDescriptionConsolidateToFolder(dstFolder: string, file
|
|
|
1759
1212
|
type: "explicit-string";
|
|
1760
1213
|
content: string;
|
|
1761
1214
|
} | {
|
|
1762
|
-
path: string;
|
|
1763
1215
|
type: "relative";
|
|
1216
|
+
path: string;
|
|
1764
1217
|
} | undefined;
|
|
1765
1218
|
logo?: {
|
|
1766
1219
|
type: "explicit-base64";
|
|
1767
1220
|
content: string;
|
|
1768
1221
|
mimeType: string;
|
|
1769
1222
|
} | {
|
|
1770
|
-
path: string;
|
|
1771
1223
|
type: "relative";
|
|
1224
|
+
path: string;
|
|
1772
1225
|
} | undefined;
|
|
1773
1226
|
docs?: string | undefined;
|
|
1774
1227
|
support?: string | undefined;
|
|
1775
1228
|
tags?: string[] | undefined;
|
|
1776
1229
|
}, {
|
|
1777
1230
|
organization: {
|
|
1778
|
-
name: string;
|
|
1779
1231
|
url: string;
|
|
1232
|
+
name: string;
|
|
1780
1233
|
logo?: {
|
|
1781
1234
|
type: "explicit-base64";
|
|
1782
1235
|
content: string;
|
|
1783
1236
|
mimeType: string;
|
|
1784
1237
|
} | {
|
|
1785
|
-
path: string;
|
|
1786
1238
|
type: "relative";
|
|
1239
|
+
path: string;
|
|
1787
1240
|
} | undefined;
|
|
1788
1241
|
};
|
|
1789
1242
|
title: string;
|
|
@@ -1793,47 +1246,52 @@ declare function BlockPackDescriptionConsolidateToFolder(dstFolder: string, file
|
|
|
1793
1246
|
type: "explicit-string";
|
|
1794
1247
|
content: string;
|
|
1795
1248
|
} | {
|
|
1796
|
-
path: string;
|
|
1797
1249
|
type: "relative";
|
|
1250
|
+
path: string;
|
|
1798
1251
|
} | undefined;
|
|
1799
1252
|
logo?: {
|
|
1800
1253
|
type: "explicit-base64";
|
|
1801
1254
|
content: string;
|
|
1802
1255
|
mimeType: string;
|
|
1803
1256
|
} | {
|
|
1804
|
-
path: string;
|
|
1805
1257
|
type: "relative";
|
|
1258
|
+
path: string;
|
|
1806
1259
|
} | undefined;
|
|
1807
1260
|
docs?: string | undefined;
|
|
1808
1261
|
support?: string | undefined;
|
|
1809
1262
|
tags?: string[] | undefined;
|
|
1810
1263
|
}>;
|
|
1811
1264
|
}, "strip", z.ZodTypeAny, {
|
|
1265
|
+
id: {
|
|
1266
|
+
organization: string;
|
|
1267
|
+
name: string;
|
|
1268
|
+
version: string;
|
|
1269
|
+
};
|
|
1812
1270
|
components: {
|
|
1813
1271
|
ui: {
|
|
1814
|
-
path: string;
|
|
1815
1272
|
type: "relative";
|
|
1273
|
+
path: string;
|
|
1816
1274
|
};
|
|
1817
1275
|
workflow: {
|
|
1818
|
-
path: string;
|
|
1819
1276
|
type: "relative";
|
|
1277
|
+
path: string;
|
|
1820
1278
|
};
|
|
1821
1279
|
model: {
|
|
1822
|
-
path: string;
|
|
1823
1280
|
type: "relative";
|
|
1281
|
+
path: string;
|
|
1824
1282
|
};
|
|
1825
1283
|
};
|
|
1826
1284
|
meta: {
|
|
1827
1285
|
organization: {
|
|
1828
|
-
name: string;
|
|
1829
1286
|
url: string;
|
|
1287
|
+
name: string;
|
|
1830
1288
|
logo?: {
|
|
1831
1289
|
type: "explicit-base64";
|
|
1832
1290
|
content: string;
|
|
1833
1291
|
mimeType: string;
|
|
1834
1292
|
} | {
|
|
1835
|
-
path: string;
|
|
1836
1293
|
type: "relative";
|
|
1294
|
+
path: string;
|
|
1837
1295
|
} | undefined;
|
|
1838
1296
|
};
|
|
1839
1297
|
title: string;
|
|
@@ -1843,52 +1301,52 @@ declare function BlockPackDescriptionConsolidateToFolder(dstFolder: string, file
|
|
|
1843
1301
|
type: "explicit-string";
|
|
1844
1302
|
content: string;
|
|
1845
1303
|
} | {
|
|
1846
|
-
path: string;
|
|
1847
1304
|
type: "relative";
|
|
1305
|
+
path: string;
|
|
1848
1306
|
} | undefined;
|
|
1849
1307
|
logo?: {
|
|
1850
1308
|
type: "explicit-base64";
|
|
1851
1309
|
content: string;
|
|
1852
1310
|
mimeType: string;
|
|
1853
1311
|
} | {
|
|
1854
|
-
path: string;
|
|
1855
1312
|
type: "relative";
|
|
1313
|
+
path: string;
|
|
1856
1314
|
} | undefined;
|
|
1857
1315
|
docs?: string | undefined;
|
|
1858
1316
|
support?: string | undefined;
|
|
1859
1317
|
tags?: string[] | undefined;
|
|
1860
1318
|
};
|
|
1319
|
+
}, {
|
|
1861
1320
|
id: {
|
|
1862
|
-
name: string;
|
|
1863
1321
|
organization: string;
|
|
1322
|
+
name: string;
|
|
1864
1323
|
version: string;
|
|
1865
1324
|
};
|
|
1866
|
-
}, {
|
|
1867
1325
|
components: {
|
|
1868
1326
|
ui: {
|
|
1869
|
-
path: string;
|
|
1870
1327
|
type: "relative";
|
|
1328
|
+
path: string;
|
|
1871
1329
|
};
|
|
1872
1330
|
workflow: {
|
|
1873
|
-
path: string;
|
|
1874
1331
|
type: "relative";
|
|
1332
|
+
path: string;
|
|
1875
1333
|
};
|
|
1876
1334
|
model: {
|
|
1877
|
-
path: string;
|
|
1878
1335
|
type: "relative";
|
|
1336
|
+
path: string;
|
|
1879
1337
|
};
|
|
1880
1338
|
};
|
|
1881
1339
|
meta: {
|
|
1882
1340
|
organization: {
|
|
1883
|
-
name: string;
|
|
1884
1341
|
url: string;
|
|
1342
|
+
name: string;
|
|
1885
1343
|
logo?: {
|
|
1886
1344
|
type: "explicit-base64";
|
|
1887
1345
|
content: string;
|
|
1888
1346
|
mimeType: string;
|
|
1889
1347
|
} | {
|
|
1890
|
-
path: string;
|
|
1891
1348
|
type: "relative";
|
|
1349
|
+
path: string;
|
|
1892
1350
|
} | undefined;
|
|
1893
1351
|
};
|
|
1894
1352
|
title: string;
|
|
@@ -1898,39 +1356,34 @@ declare function BlockPackDescriptionConsolidateToFolder(dstFolder: string, file
|
|
|
1898
1356
|
type: "explicit-string";
|
|
1899
1357
|
content: string;
|
|
1900
1358
|
} | {
|
|
1901
|
-
path: string;
|
|
1902
1359
|
type: "relative";
|
|
1360
|
+
path: string;
|
|
1903
1361
|
} | undefined;
|
|
1904
1362
|
logo?: {
|
|
1905
1363
|
type: "explicit-base64";
|
|
1906
1364
|
content: string;
|
|
1907
1365
|
mimeType: string;
|
|
1908
1366
|
} | {
|
|
1909
|
-
path: string;
|
|
1910
1367
|
type: "relative";
|
|
1368
|
+
path: string;
|
|
1911
1369
|
} | undefined;
|
|
1912
1370
|
docs?: string | undefined;
|
|
1913
1371
|
support?: string | undefined;
|
|
1914
1372
|
tags?: string[] | undefined;
|
|
1915
1373
|
};
|
|
1916
|
-
id: {
|
|
1917
|
-
name: string;
|
|
1918
|
-
organization: string;
|
|
1919
|
-
version: string;
|
|
1920
|
-
};
|
|
1921
1374
|
}>>;
|
|
1922
|
-
declare const BlockPackDescriptionManifest: z.ZodObject<{
|
|
1375
|
+
export declare const BlockPackDescriptionManifest: z.ZodObject<{
|
|
1923
1376
|
id: z.ZodObject<{
|
|
1924
1377
|
organization: z.ZodString;
|
|
1925
1378
|
name: z.ZodString;
|
|
1926
1379
|
version: z.ZodString;
|
|
1927
1380
|
}, "strict", z.ZodTypeAny, {
|
|
1928
|
-
name: string;
|
|
1929
1381
|
organization: string;
|
|
1382
|
+
name: string;
|
|
1930
1383
|
version: string;
|
|
1931
1384
|
}, {
|
|
1932
|
-
name: string;
|
|
1933
1385
|
organization: string;
|
|
1386
|
+
name: string;
|
|
1934
1387
|
version: string;
|
|
1935
1388
|
}>;
|
|
1936
1389
|
components: z.ZodObject<{
|
|
@@ -1938,57 +1391,57 @@ declare const BlockPackDescriptionManifest: z.ZodObject<{
|
|
|
1938
1391
|
type: z.ZodLiteral<"relative">;
|
|
1939
1392
|
path: z.ZodString;
|
|
1940
1393
|
}, "strict", z.ZodTypeAny, {
|
|
1941
|
-
path: string;
|
|
1942
1394
|
type: "relative";
|
|
1943
|
-
}, {
|
|
1944
1395
|
path: string;
|
|
1396
|
+
}, {
|
|
1945
1397
|
type: "relative";
|
|
1398
|
+
path: string;
|
|
1946
1399
|
}>;
|
|
1947
1400
|
model: z.ZodObject<{
|
|
1948
1401
|
type: z.ZodLiteral<"relative">;
|
|
1949
1402
|
path: z.ZodString;
|
|
1950
1403
|
}, "strict", z.ZodTypeAny, {
|
|
1951
|
-
path: string;
|
|
1952
1404
|
type: "relative";
|
|
1953
|
-
}, {
|
|
1954
1405
|
path: string;
|
|
1406
|
+
}, {
|
|
1955
1407
|
type: "relative";
|
|
1408
|
+
path: string;
|
|
1956
1409
|
}>;
|
|
1957
1410
|
ui: z.ZodObject<{
|
|
1958
1411
|
type: z.ZodLiteral<"relative">;
|
|
1959
1412
|
path: z.ZodString;
|
|
1960
1413
|
}, "strict", z.ZodTypeAny, {
|
|
1961
|
-
path: string;
|
|
1962
1414
|
type: "relative";
|
|
1963
|
-
}, {
|
|
1964
1415
|
path: string;
|
|
1416
|
+
}, {
|
|
1965
1417
|
type: "relative";
|
|
1418
|
+
path: string;
|
|
1966
1419
|
}>;
|
|
1967
1420
|
}, "strip", z.ZodTypeAny, {
|
|
1968
1421
|
ui: {
|
|
1969
|
-
path: string;
|
|
1970
1422
|
type: "relative";
|
|
1423
|
+
path: string;
|
|
1971
1424
|
};
|
|
1972
1425
|
workflow: {
|
|
1973
|
-
path: string;
|
|
1974
1426
|
type: "relative";
|
|
1427
|
+
path: string;
|
|
1975
1428
|
};
|
|
1976
1429
|
model: {
|
|
1977
|
-
path: string;
|
|
1978
1430
|
type: "relative";
|
|
1431
|
+
path: string;
|
|
1979
1432
|
};
|
|
1980
1433
|
}, {
|
|
1981
1434
|
ui: {
|
|
1982
|
-
path: string;
|
|
1983
1435
|
type: "relative";
|
|
1436
|
+
path: string;
|
|
1984
1437
|
};
|
|
1985
1438
|
workflow: {
|
|
1986
|
-
path: string;
|
|
1987
1439
|
type: "relative";
|
|
1440
|
+
path: string;
|
|
1988
1441
|
};
|
|
1989
1442
|
model: {
|
|
1990
|
-
path: string;
|
|
1991
1443
|
type: "relative";
|
|
1444
|
+
path: string;
|
|
1992
1445
|
};
|
|
1993
1446
|
}>;
|
|
1994
1447
|
meta: z.ZodObject<{
|
|
@@ -2007,11 +1460,11 @@ declare const BlockPackDescriptionManifest: z.ZodObject<{
|
|
|
2007
1460
|
type: z.ZodLiteral<"relative">;
|
|
2008
1461
|
path: z.ZodString;
|
|
2009
1462
|
}, "strict", z.ZodTypeAny, {
|
|
2010
|
-
path: string;
|
|
2011
1463
|
type: "relative";
|
|
2012
|
-
}, {
|
|
2013
1464
|
path: string;
|
|
1465
|
+
}, {
|
|
2014
1466
|
type: "relative";
|
|
1467
|
+
path: string;
|
|
2015
1468
|
}>]>>;
|
|
2016
1469
|
logo: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
2017
1470
|
type: z.ZodLiteral<"explicit-base64">;
|
|
@@ -2029,11 +1482,11 @@ declare const BlockPackDescriptionManifest: z.ZodObject<{
|
|
|
2029
1482
|
type: z.ZodLiteral<"relative">;
|
|
2030
1483
|
path: z.ZodString;
|
|
2031
1484
|
}, "strict", z.ZodTypeAny, {
|
|
2032
|
-
path: string;
|
|
2033
1485
|
type: "relative";
|
|
2034
|
-
}, {
|
|
2035
1486
|
path: string;
|
|
1487
|
+
}, {
|
|
2036
1488
|
type: "relative";
|
|
1489
|
+
path: string;
|
|
2037
1490
|
}>]>>;
|
|
2038
1491
|
url: z.ZodOptional<z.ZodString>;
|
|
2039
1492
|
docs: z.ZodOptional<z.ZodString>;
|
|
@@ -2058,46 +1511,46 @@ declare const BlockPackDescriptionManifest: z.ZodObject<{
|
|
|
2058
1511
|
type: z.ZodLiteral<"relative">;
|
|
2059
1512
|
path: z.ZodString;
|
|
2060
1513
|
}, "strict", z.ZodTypeAny, {
|
|
2061
|
-
path: string;
|
|
2062
1514
|
type: "relative";
|
|
2063
|
-
}, {
|
|
2064
1515
|
path: string;
|
|
1516
|
+
}, {
|
|
2065
1517
|
type: "relative";
|
|
1518
|
+
path: string;
|
|
2066
1519
|
}>]>>;
|
|
2067
1520
|
}, "strip", z.ZodTypeAny, {
|
|
2068
|
-
name: string;
|
|
2069
1521
|
url: string;
|
|
1522
|
+
name: string;
|
|
2070
1523
|
logo?: {
|
|
2071
1524
|
type: "explicit-base64";
|
|
2072
1525
|
content: string;
|
|
2073
1526
|
mimeType: string;
|
|
2074
1527
|
} | {
|
|
2075
|
-
path: string;
|
|
2076
1528
|
type: "relative";
|
|
1529
|
+
path: string;
|
|
2077
1530
|
} | undefined;
|
|
2078
1531
|
}, {
|
|
2079
|
-
name: string;
|
|
2080
1532
|
url: string;
|
|
1533
|
+
name: string;
|
|
2081
1534
|
logo?: {
|
|
2082
1535
|
type: "explicit-base64";
|
|
2083
1536
|
content: string;
|
|
2084
1537
|
mimeType: string;
|
|
2085
1538
|
} | {
|
|
2086
|
-
path: string;
|
|
2087
1539
|
type: "relative";
|
|
1540
|
+
path: string;
|
|
2088
1541
|
} | undefined;
|
|
2089
1542
|
}>;
|
|
2090
1543
|
}, "strip", z.ZodTypeAny, {
|
|
2091
1544
|
organization: {
|
|
2092
|
-
name: string;
|
|
2093
1545
|
url: string;
|
|
1546
|
+
name: string;
|
|
2094
1547
|
logo?: {
|
|
2095
1548
|
type: "explicit-base64";
|
|
2096
1549
|
content: string;
|
|
2097
1550
|
mimeType: string;
|
|
2098
1551
|
} | {
|
|
2099
|
-
path: string;
|
|
2100
1552
|
type: "relative";
|
|
1553
|
+
path: string;
|
|
2101
1554
|
} | undefined;
|
|
2102
1555
|
};
|
|
2103
1556
|
title: string;
|
|
@@ -2107,31 +1560,31 @@ declare const BlockPackDescriptionManifest: z.ZodObject<{
|
|
|
2107
1560
|
type: "explicit-string";
|
|
2108
1561
|
content: string;
|
|
2109
1562
|
} | {
|
|
2110
|
-
path: string;
|
|
2111
1563
|
type: "relative";
|
|
1564
|
+
path: string;
|
|
2112
1565
|
} | undefined;
|
|
2113
1566
|
logo?: {
|
|
2114
1567
|
type: "explicit-base64";
|
|
2115
1568
|
content: string;
|
|
2116
1569
|
mimeType: string;
|
|
2117
1570
|
} | {
|
|
2118
|
-
path: string;
|
|
2119
1571
|
type: "relative";
|
|
1572
|
+
path: string;
|
|
2120
1573
|
} | undefined;
|
|
2121
1574
|
docs?: string | undefined;
|
|
2122
1575
|
support?: string | undefined;
|
|
2123
1576
|
tags?: string[] | undefined;
|
|
2124
1577
|
}, {
|
|
2125
1578
|
organization: {
|
|
2126
|
-
name: string;
|
|
2127
1579
|
url: string;
|
|
1580
|
+
name: string;
|
|
2128
1581
|
logo?: {
|
|
2129
1582
|
type: "explicit-base64";
|
|
2130
1583
|
content: string;
|
|
2131
1584
|
mimeType: string;
|
|
2132
1585
|
} | {
|
|
2133
|
-
path: string;
|
|
2134
1586
|
type: "relative";
|
|
1587
|
+
path: string;
|
|
2135
1588
|
} | undefined;
|
|
2136
1589
|
};
|
|
2137
1590
|
title: string;
|
|
@@ -2141,47 +1594,52 @@ declare const BlockPackDescriptionManifest: z.ZodObject<{
|
|
|
2141
1594
|
type: "explicit-string";
|
|
2142
1595
|
content: string;
|
|
2143
1596
|
} | {
|
|
2144
|
-
path: string;
|
|
2145
1597
|
type: "relative";
|
|
1598
|
+
path: string;
|
|
2146
1599
|
} | undefined;
|
|
2147
1600
|
logo?: {
|
|
2148
1601
|
type: "explicit-base64";
|
|
2149
1602
|
content: string;
|
|
2150
1603
|
mimeType: string;
|
|
2151
1604
|
} | {
|
|
2152
|
-
path: string;
|
|
2153
1605
|
type: "relative";
|
|
1606
|
+
path: string;
|
|
2154
1607
|
} | undefined;
|
|
2155
1608
|
docs?: string | undefined;
|
|
2156
1609
|
support?: string | undefined;
|
|
2157
1610
|
tags?: string[] | undefined;
|
|
2158
1611
|
}>;
|
|
2159
1612
|
}, "strip", z.ZodTypeAny, {
|
|
1613
|
+
id: {
|
|
1614
|
+
organization: string;
|
|
1615
|
+
name: string;
|
|
1616
|
+
version: string;
|
|
1617
|
+
};
|
|
2160
1618
|
components: {
|
|
2161
1619
|
ui: {
|
|
2162
|
-
path: string;
|
|
2163
1620
|
type: "relative";
|
|
1621
|
+
path: string;
|
|
2164
1622
|
};
|
|
2165
1623
|
workflow: {
|
|
2166
|
-
path: string;
|
|
2167
1624
|
type: "relative";
|
|
1625
|
+
path: string;
|
|
2168
1626
|
};
|
|
2169
1627
|
model: {
|
|
2170
|
-
path: string;
|
|
2171
1628
|
type: "relative";
|
|
1629
|
+
path: string;
|
|
2172
1630
|
};
|
|
2173
1631
|
};
|
|
2174
1632
|
meta: {
|
|
2175
1633
|
organization: {
|
|
2176
|
-
name: string;
|
|
2177
1634
|
url: string;
|
|
1635
|
+
name: string;
|
|
2178
1636
|
logo?: {
|
|
2179
1637
|
type: "explicit-base64";
|
|
2180
1638
|
content: string;
|
|
2181
1639
|
mimeType: string;
|
|
2182
1640
|
} | {
|
|
2183
|
-
path: string;
|
|
2184
1641
|
type: "relative";
|
|
1642
|
+
path: string;
|
|
2185
1643
|
} | undefined;
|
|
2186
1644
|
};
|
|
2187
1645
|
title: string;
|
|
@@ -2191,52 +1649,52 @@ declare const BlockPackDescriptionManifest: z.ZodObject<{
|
|
|
2191
1649
|
type: "explicit-string";
|
|
2192
1650
|
content: string;
|
|
2193
1651
|
} | {
|
|
2194
|
-
path: string;
|
|
2195
1652
|
type: "relative";
|
|
1653
|
+
path: string;
|
|
2196
1654
|
} | undefined;
|
|
2197
1655
|
logo?: {
|
|
2198
1656
|
type: "explicit-base64";
|
|
2199
1657
|
content: string;
|
|
2200
1658
|
mimeType: string;
|
|
2201
1659
|
} | {
|
|
2202
|
-
path: string;
|
|
2203
1660
|
type: "relative";
|
|
1661
|
+
path: string;
|
|
2204
1662
|
} | undefined;
|
|
2205
1663
|
docs?: string | undefined;
|
|
2206
1664
|
support?: string | undefined;
|
|
2207
1665
|
tags?: string[] | undefined;
|
|
2208
1666
|
};
|
|
1667
|
+
}, {
|
|
2209
1668
|
id: {
|
|
2210
|
-
name: string;
|
|
2211
1669
|
organization: string;
|
|
1670
|
+
name: string;
|
|
2212
1671
|
version: string;
|
|
2213
1672
|
};
|
|
2214
|
-
}, {
|
|
2215
1673
|
components: {
|
|
2216
1674
|
ui: {
|
|
2217
|
-
path: string;
|
|
2218
1675
|
type: "relative";
|
|
1676
|
+
path: string;
|
|
2219
1677
|
};
|
|
2220
1678
|
workflow: {
|
|
2221
|
-
path: string;
|
|
2222
1679
|
type: "relative";
|
|
1680
|
+
path: string;
|
|
2223
1681
|
};
|
|
2224
1682
|
model: {
|
|
2225
|
-
path: string;
|
|
2226
1683
|
type: "relative";
|
|
1684
|
+
path: string;
|
|
2227
1685
|
};
|
|
2228
1686
|
};
|
|
2229
1687
|
meta: {
|
|
2230
1688
|
organization: {
|
|
2231
|
-
name: string;
|
|
2232
1689
|
url: string;
|
|
1690
|
+
name: string;
|
|
2233
1691
|
logo?: {
|
|
2234
1692
|
type: "explicit-base64";
|
|
2235
1693
|
content: string;
|
|
2236
1694
|
mimeType: string;
|
|
2237
1695
|
} | {
|
|
2238
|
-
path: string;
|
|
2239
1696
|
type: "relative";
|
|
1697
|
+
path: string;
|
|
2240
1698
|
} | undefined;
|
|
2241
1699
|
};
|
|
2242
1700
|
title: string;
|
|
@@ -2246,40 +1704,35 @@ declare const BlockPackDescriptionManifest: z.ZodObject<{
|
|
|
2246
1704
|
type: "explicit-string";
|
|
2247
1705
|
content: string;
|
|
2248
1706
|
} | {
|
|
2249
|
-
path: string;
|
|
2250
1707
|
type: "relative";
|
|
1708
|
+
path: string;
|
|
2251
1709
|
} | undefined;
|
|
2252
1710
|
logo?: {
|
|
2253
1711
|
type: "explicit-base64";
|
|
2254
1712
|
content: string;
|
|
2255
1713
|
mimeType: string;
|
|
2256
1714
|
} | {
|
|
2257
|
-
path: string;
|
|
2258
1715
|
type: "relative";
|
|
1716
|
+
path: string;
|
|
2259
1717
|
} | undefined;
|
|
2260
1718
|
docs?: string | undefined;
|
|
2261
1719
|
support?: string | undefined;
|
|
2262
1720
|
tags?: string[] | undefined;
|
|
2263
1721
|
};
|
|
2264
|
-
id: {
|
|
2265
|
-
name: string;
|
|
2266
|
-
organization: string;
|
|
2267
|
-
version: string;
|
|
2268
|
-
};
|
|
2269
1722
|
}>;
|
|
2270
|
-
type BlockPackDescriptionManifest = z.infer<typeof BlockPackDescriptionManifest>;
|
|
2271
|
-
declare const BlockPackManifest: z.ZodObject<z.objectUtil.extendShape<{
|
|
1723
|
+
export type BlockPackDescriptionManifest = z.infer<typeof BlockPackDescriptionManifest>;
|
|
1724
|
+
export declare const BlockPackManifest: z.ZodObject<z.objectUtil.extendShape<{
|
|
2272
1725
|
id: z.ZodObject<{
|
|
2273
1726
|
organization: z.ZodString;
|
|
2274
1727
|
name: z.ZodString;
|
|
2275
1728
|
version: z.ZodString;
|
|
2276
1729
|
}, "strict", z.ZodTypeAny, {
|
|
2277
|
-
name: string;
|
|
2278
1730
|
organization: string;
|
|
1731
|
+
name: string;
|
|
2279
1732
|
version: string;
|
|
2280
1733
|
}, {
|
|
2281
|
-
name: string;
|
|
2282
1734
|
organization: string;
|
|
1735
|
+
name: string;
|
|
2283
1736
|
version: string;
|
|
2284
1737
|
}>;
|
|
2285
1738
|
components: z.ZodObject<{
|
|
@@ -2287,57 +1740,57 @@ declare const BlockPackManifest: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2287
1740
|
type: z.ZodLiteral<"relative">;
|
|
2288
1741
|
path: z.ZodString;
|
|
2289
1742
|
}, "strict", z.ZodTypeAny, {
|
|
2290
|
-
path: string;
|
|
2291
1743
|
type: "relative";
|
|
2292
|
-
}, {
|
|
2293
1744
|
path: string;
|
|
1745
|
+
}, {
|
|
2294
1746
|
type: "relative";
|
|
1747
|
+
path: string;
|
|
2295
1748
|
}>;
|
|
2296
1749
|
model: z.ZodObject<{
|
|
2297
1750
|
type: z.ZodLiteral<"relative">;
|
|
2298
1751
|
path: z.ZodString;
|
|
2299
1752
|
}, "strict", z.ZodTypeAny, {
|
|
2300
|
-
path: string;
|
|
2301
1753
|
type: "relative";
|
|
2302
|
-
}, {
|
|
2303
1754
|
path: string;
|
|
1755
|
+
}, {
|
|
2304
1756
|
type: "relative";
|
|
1757
|
+
path: string;
|
|
2305
1758
|
}>;
|
|
2306
1759
|
ui: z.ZodObject<{
|
|
2307
1760
|
type: z.ZodLiteral<"relative">;
|
|
2308
1761
|
path: z.ZodString;
|
|
2309
1762
|
}, "strict", z.ZodTypeAny, {
|
|
2310
|
-
path: string;
|
|
2311
1763
|
type: "relative";
|
|
2312
|
-
}, {
|
|
2313
1764
|
path: string;
|
|
1765
|
+
}, {
|
|
2314
1766
|
type: "relative";
|
|
1767
|
+
path: string;
|
|
2315
1768
|
}>;
|
|
2316
1769
|
}, "strip", z.ZodTypeAny, {
|
|
2317
1770
|
ui: {
|
|
2318
|
-
path: string;
|
|
2319
1771
|
type: "relative";
|
|
1772
|
+
path: string;
|
|
2320
1773
|
};
|
|
2321
1774
|
workflow: {
|
|
2322
|
-
path: string;
|
|
2323
1775
|
type: "relative";
|
|
1776
|
+
path: string;
|
|
2324
1777
|
};
|
|
2325
1778
|
model: {
|
|
2326
|
-
path: string;
|
|
2327
1779
|
type: "relative";
|
|
1780
|
+
path: string;
|
|
2328
1781
|
};
|
|
2329
1782
|
}, {
|
|
2330
1783
|
ui: {
|
|
2331
|
-
path: string;
|
|
2332
1784
|
type: "relative";
|
|
1785
|
+
path: string;
|
|
2333
1786
|
};
|
|
2334
1787
|
workflow: {
|
|
2335
|
-
path: string;
|
|
2336
1788
|
type: "relative";
|
|
1789
|
+
path: string;
|
|
2337
1790
|
};
|
|
2338
1791
|
model: {
|
|
2339
|
-
path: string;
|
|
2340
1792
|
type: "relative";
|
|
1793
|
+
path: string;
|
|
2341
1794
|
};
|
|
2342
1795
|
}>;
|
|
2343
1796
|
meta: z.ZodObject<{
|
|
@@ -2356,11 +1809,11 @@ declare const BlockPackManifest: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2356
1809
|
type: z.ZodLiteral<"relative">;
|
|
2357
1810
|
path: z.ZodString;
|
|
2358
1811
|
}, "strict", z.ZodTypeAny, {
|
|
2359
|
-
path: string;
|
|
2360
1812
|
type: "relative";
|
|
2361
|
-
}, {
|
|
2362
1813
|
path: string;
|
|
1814
|
+
}, {
|
|
2363
1815
|
type: "relative";
|
|
1816
|
+
path: string;
|
|
2364
1817
|
}>]>>;
|
|
2365
1818
|
logo: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
2366
1819
|
type: z.ZodLiteral<"explicit-base64">;
|
|
@@ -2378,11 +1831,11 @@ declare const BlockPackManifest: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2378
1831
|
type: z.ZodLiteral<"relative">;
|
|
2379
1832
|
path: z.ZodString;
|
|
2380
1833
|
}, "strict", z.ZodTypeAny, {
|
|
2381
|
-
path: string;
|
|
2382
1834
|
type: "relative";
|
|
2383
|
-
}, {
|
|
2384
1835
|
path: string;
|
|
1836
|
+
}, {
|
|
2385
1837
|
type: "relative";
|
|
1838
|
+
path: string;
|
|
2386
1839
|
}>]>>;
|
|
2387
1840
|
url: z.ZodOptional<z.ZodString>;
|
|
2388
1841
|
docs: z.ZodOptional<z.ZodString>;
|
|
@@ -2407,46 +1860,46 @@ declare const BlockPackManifest: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2407
1860
|
type: z.ZodLiteral<"relative">;
|
|
2408
1861
|
path: z.ZodString;
|
|
2409
1862
|
}, "strict", z.ZodTypeAny, {
|
|
2410
|
-
path: string;
|
|
2411
1863
|
type: "relative";
|
|
2412
|
-
}, {
|
|
2413
1864
|
path: string;
|
|
1865
|
+
}, {
|
|
2414
1866
|
type: "relative";
|
|
1867
|
+
path: string;
|
|
2415
1868
|
}>]>>;
|
|
2416
1869
|
}, "strip", z.ZodTypeAny, {
|
|
2417
|
-
name: string;
|
|
2418
1870
|
url: string;
|
|
1871
|
+
name: string;
|
|
2419
1872
|
logo?: {
|
|
2420
1873
|
type: "explicit-base64";
|
|
2421
1874
|
content: string;
|
|
2422
1875
|
mimeType: string;
|
|
2423
1876
|
} | {
|
|
2424
|
-
path: string;
|
|
2425
1877
|
type: "relative";
|
|
1878
|
+
path: string;
|
|
2426
1879
|
} | undefined;
|
|
2427
1880
|
}, {
|
|
2428
|
-
name: string;
|
|
2429
1881
|
url: string;
|
|
1882
|
+
name: string;
|
|
2430
1883
|
logo?: {
|
|
2431
1884
|
type: "explicit-base64";
|
|
2432
1885
|
content: string;
|
|
2433
1886
|
mimeType: string;
|
|
2434
1887
|
} | {
|
|
2435
|
-
path: string;
|
|
2436
1888
|
type: "relative";
|
|
1889
|
+
path: string;
|
|
2437
1890
|
} | undefined;
|
|
2438
1891
|
}>;
|
|
2439
1892
|
}, "strip", z.ZodTypeAny, {
|
|
2440
1893
|
organization: {
|
|
2441
|
-
name: string;
|
|
2442
1894
|
url: string;
|
|
1895
|
+
name: string;
|
|
2443
1896
|
logo?: {
|
|
2444
1897
|
type: "explicit-base64";
|
|
2445
1898
|
content: string;
|
|
2446
1899
|
mimeType: string;
|
|
2447
1900
|
} | {
|
|
2448
|
-
path: string;
|
|
2449
1901
|
type: "relative";
|
|
1902
|
+
path: string;
|
|
2450
1903
|
} | undefined;
|
|
2451
1904
|
};
|
|
2452
1905
|
title: string;
|
|
@@ -2456,31 +1909,31 @@ declare const BlockPackManifest: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2456
1909
|
type: "explicit-string";
|
|
2457
1910
|
content: string;
|
|
2458
1911
|
} | {
|
|
2459
|
-
path: string;
|
|
2460
1912
|
type: "relative";
|
|
1913
|
+
path: string;
|
|
2461
1914
|
} | undefined;
|
|
2462
1915
|
logo?: {
|
|
2463
1916
|
type: "explicit-base64";
|
|
2464
1917
|
content: string;
|
|
2465
1918
|
mimeType: string;
|
|
2466
1919
|
} | {
|
|
2467
|
-
path: string;
|
|
2468
1920
|
type: "relative";
|
|
1921
|
+
path: string;
|
|
2469
1922
|
} | undefined;
|
|
2470
1923
|
docs?: string | undefined;
|
|
2471
1924
|
support?: string | undefined;
|
|
2472
1925
|
tags?: string[] | undefined;
|
|
2473
1926
|
}, {
|
|
2474
1927
|
organization: {
|
|
2475
|
-
name: string;
|
|
2476
1928
|
url: string;
|
|
1929
|
+
name: string;
|
|
2477
1930
|
logo?: {
|
|
2478
1931
|
type: "explicit-base64";
|
|
2479
1932
|
content: string;
|
|
2480
1933
|
mimeType: string;
|
|
2481
1934
|
} | {
|
|
2482
|
-
path: string;
|
|
2483
1935
|
type: "relative";
|
|
1936
|
+
path: string;
|
|
2484
1937
|
} | undefined;
|
|
2485
1938
|
};
|
|
2486
1939
|
title: string;
|
|
@@ -2490,16 +1943,16 @@ declare const BlockPackManifest: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2490
1943
|
type: "explicit-string";
|
|
2491
1944
|
content: string;
|
|
2492
1945
|
} | {
|
|
2493
|
-
path: string;
|
|
2494
1946
|
type: "relative";
|
|
1947
|
+
path: string;
|
|
2495
1948
|
} | undefined;
|
|
2496
1949
|
logo?: {
|
|
2497
1950
|
type: "explicit-base64";
|
|
2498
1951
|
content: string;
|
|
2499
1952
|
mimeType: string;
|
|
2500
1953
|
} | {
|
|
2501
|
-
path: string;
|
|
2502
1954
|
type: "relative";
|
|
1955
|
+
path: string;
|
|
2503
1956
|
} | undefined;
|
|
2504
1957
|
docs?: string | undefined;
|
|
2505
1958
|
support?: string | undefined;
|
|
@@ -2509,31 +1962,36 @@ declare const BlockPackManifest: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2509
1962
|
schema: z.ZodLiteral<"v1">;
|
|
2510
1963
|
files: z.ZodArray<z.ZodString, "many">;
|
|
2511
1964
|
}>, "strip", z.ZodTypeAny, {
|
|
1965
|
+
id: {
|
|
1966
|
+
organization: string;
|
|
1967
|
+
name: string;
|
|
1968
|
+
version: string;
|
|
1969
|
+
};
|
|
2512
1970
|
components: {
|
|
2513
1971
|
ui: {
|
|
2514
|
-
path: string;
|
|
2515
1972
|
type: "relative";
|
|
1973
|
+
path: string;
|
|
2516
1974
|
};
|
|
2517
1975
|
workflow: {
|
|
2518
|
-
path: string;
|
|
2519
1976
|
type: "relative";
|
|
1977
|
+
path: string;
|
|
2520
1978
|
};
|
|
2521
1979
|
model: {
|
|
2522
|
-
path: string;
|
|
2523
1980
|
type: "relative";
|
|
1981
|
+
path: string;
|
|
2524
1982
|
};
|
|
2525
1983
|
};
|
|
2526
1984
|
meta: {
|
|
2527
1985
|
organization: {
|
|
2528
|
-
name: string;
|
|
2529
1986
|
url: string;
|
|
1987
|
+
name: string;
|
|
2530
1988
|
logo?: {
|
|
2531
1989
|
type: "explicit-base64";
|
|
2532
1990
|
content: string;
|
|
2533
1991
|
mimeType: string;
|
|
2534
1992
|
} | {
|
|
2535
|
-
path: string;
|
|
2536
1993
|
type: "relative";
|
|
1994
|
+
path: string;
|
|
2537
1995
|
} | undefined;
|
|
2538
1996
|
};
|
|
2539
1997
|
title: string;
|
|
@@ -2543,54 +2001,54 @@ declare const BlockPackManifest: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2543
2001
|
type: "explicit-string";
|
|
2544
2002
|
content: string;
|
|
2545
2003
|
} | {
|
|
2546
|
-
path: string;
|
|
2547
2004
|
type: "relative";
|
|
2005
|
+
path: string;
|
|
2548
2006
|
} | undefined;
|
|
2549
2007
|
logo?: {
|
|
2550
2008
|
type: "explicit-base64";
|
|
2551
2009
|
content: string;
|
|
2552
2010
|
mimeType: string;
|
|
2553
2011
|
} | {
|
|
2554
|
-
path: string;
|
|
2555
2012
|
type: "relative";
|
|
2013
|
+
path: string;
|
|
2556
2014
|
} | undefined;
|
|
2557
2015
|
docs?: string | undefined;
|
|
2558
2016
|
support?: string | undefined;
|
|
2559
2017
|
tags?: string[] | undefined;
|
|
2560
2018
|
};
|
|
2019
|
+
schema: "v1";
|
|
2020
|
+
files: string[];
|
|
2021
|
+
}, {
|
|
2561
2022
|
id: {
|
|
2562
|
-
name: string;
|
|
2563
2023
|
organization: string;
|
|
2024
|
+
name: string;
|
|
2564
2025
|
version: string;
|
|
2565
2026
|
};
|
|
2566
|
-
schema: "v1";
|
|
2567
|
-
files: string[];
|
|
2568
|
-
}, {
|
|
2569
2027
|
components: {
|
|
2570
2028
|
ui: {
|
|
2571
|
-
path: string;
|
|
2572
2029
|
type: "relative";
|
|
2030
|
+
path: string;
|
|
2573
2031
|
};
|
|
2574
2032
|
workflow: {
|
|
2575
|
-
path: string;
|
|
2576
2033
|
type: "relative";
|
|
2034
|
+
path: string;
|
|
2577
2035
|
};
|
|
2578
2036
|
model: {
|
|
2579
|
-
path: string;
|
|
2580
2037
|
type: "relative";
|
|
2038
|
+
path: string;
|
|
2581
2039
|
};
|
|
2582
2040
|
};
|
|
2583
2041
|
meta: {
|
|
2584
2042
|
organization: {
|
|
2585
|
-
name: string;
|
|
2586
2043
|
url: string;
|
|
2044
|
+
name: string;
|
|
2587
2045
|
logo?: {
|
|
2588
2046
|
type: "explicit-base64";
|
|
2589
2047
|
content: string;
|
|
2590
2048
|
mimeType: string;
|
|
2591
2049
|
} | {
|
|
2592
|
-
path: string;
|
|
2593
2050
|
type: "relative";
|
|
2051
|
+
path: string;
|
|
2594
2052
|
} | undefined;
|
|
2595
2053
|
};
|
|
2596
2054
|
title: string;
|
|
@@ -2600,38 +2058,24 @@ declare const BlockPackManifest: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2600
2058
|
type: "explicit-string";
|
|
2601
2059
|
content: string;
|
|
2602
2060
|
} | {
|
|
2603
|
-
path: string;
|
|
2604
2061
|
type: "relative";
|
|
2062
|
+
path: string;
|
|
2605
2063
|
} | undefined;
|
|
2606
2064
|
logo?: {
|
|
2607
2065
|
type: "explicit-base64";
|
|
2608
2066
|
content: string;
|
|
2609
2067
|
mimeType: string;
|
|
2610
2068
|
} | {
|
|
2611
|
-
path: string;
|
|
2612
2069
|
type: "relative";
|
|
2070
|
+
path: string;
|
|
2613
2071
|
} | undefined;
|
|
2614
2072
|
docs?: string | undefined;
|
|
2615
2073
|
support?: string | undefined;
|
|
2616
2074
|
tags?: string[] | undefined;
|
|
2617
2075
|
};
|
|
2618
|
-
id: {
|
|
2619
|
-
name: string;
|
|
2620
|
-
organization: string;
|
|
2621
|
-
version: string;
|
|
2622
|
-
};
|
|
2623
2076
|
schema: "v1";
|
|
2624
2077
|
files: string[];
|
|
2625
2078
|
}>;
|
|
2626
|
-
type BlockPackManifest = z.infer<typeof BlockPackManifest>;
|
|
2627
|
-
declare const BlockPackManifestFile = "manifest.json";
|
|
2628
|
-
|
|
2629
|
-
declare function buildBlockPackDist(description: BlockPackDescriptionAbsolute, dst: string): Promise<BlockPackManifest>;
|
|
2630
|
-
|
|
2631
|
-
declare const BlockDescriptionPackageJsonField = "block";
|
|
2632
|
-
declare function parsePackageName(packageName: string): Pick<BlockPackId, 'organization' | 'name'>;
|
|
2633
|
-
declare function tryLoadPackDescription(moduleRoot: string): Promise<BlockPackDescriptionAbsolute | undefined>;
|
|
2634
|
-
declare function loadPackDescriptionRaw(moduleRoot: string): Promise<BlockPackDescriptionRaw>;
|
|
2635
|
-
declare function loadPackDescription(moduleRoot: string): Promise<BlockPackDescriptionAbsolute>;
|
|
2636
|
-
|
|
2637
|
-
export { type BlockComponentsAbsolute, BlockComponentsAbsoluteUrl, BlockComponentsConsolidate, BlockComponentsDescription, BlockDescriptionPackageJsonField, type BlockPackDescriptionAbsolute, BlockPackDescriptionConsolidateToFolder, BlockPackDescriptionManifest, BlockPackManifest, BlockPackManifestFile, type ContentCtx, index as RegistryV1, ResolvedBlockPackDescriptionFromPackageJson, ResolvedModuleFile, ResolvedModuleFolder, absoluteToBase64, absoluteToString, buildBlockPackDist, cpAbsoluteToRelative, loadPackDescription, loadPackDescriptionRaw, mapLocalToAbsolute, mapRemoteToAbsolute, packFolderToRelativeTgz, parsePackageName, tryLoadPackDescription };
|
|
2079
|
+
export type BlockPackManifest = z.infer<typeof BlockPackManifest>;
|
|
2080
|
+
export declare const BlockPackManifestFile = "manifest.json";
|
|
2081
|
+
//# sourceMappingURL=index.d.ts.map
|