@usefragments/core 2.0.2 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/codes/index.d.ts +1 -1
- package/dist/compiled-types/index.d.ts +1 -1
- package/dist/generate/index.d.ts +1 -1
- package/dist/{index-C8bcXVav.d.ts → index-xn5CNdf4.d.ts} +451 -451
- package/dist/index.d.ts +1433 -1423
- package/dist/index.js +5028 -4564
- package/dist/index.js.map +1 -1
- package/dist/manifest.d.ts +24 -24
- package/dist/preview-runtime.d.ts +1 -1
- package/dist/react-types.d.ts +1 -1
- package/dist/registry.d.ts +380 -380
- package/dist/schemas/index.d.ts +1 -1
- package/dist/{governance-hOPXGbbs.d.ts → source-identity-DvOBz2yJ.d.ts} +675 -610
- package/dist/storyAdapter.d.ts +1 -1
- package/dist/test-utils.d.ts +1 -1
- package/package.json +1 -1
- package/src/conform.ts +10 -0
- package/src/contract/index.ts +24 -0
- package/src/contract/preimage.ts +17 -3
- package/src/contract/source-identity.test.ts +167 -0
- package/src/contract/source-identity.ts +303 -0
- package/src/evaluation/canonical-facts-trust.test.ts +67 -6
- package/src/evaluation/evaluate.ts +19 -3
- package/src/evaluation/evaluation-v2-receipt-v1.test.ts +27 -1
- package/src/evaluation/index.ts +7 -1
- package/src/evaluation/receipt.ts +17 -2
- package/src/evaluation/types.ts +14 -1
- package/src/index.ts +28 -0
- package/src/rules/components-prefer-library-classnames.test.ts +354 -0
- package/src/rules/components-prefer-library.test.ts +246 -0
- package/src/rules/components-prefer-library.ts +340 -61
package/dist/registry.d.ts
CHANGED
|
@@ -10,13 +10,13 @@ declare const registryDependencySchema: z.ZodObject<{
|
|
|
10
10
|
type: z.ZodEnum<["runtime", "peer", "dev", "optional"]>;
|
|
11
11
|
optional: z.ZodOptional<z.ZodBoolean>;
|
|
12
12
|
}, "strip", z.ZodTypeAny, {
|
|
13
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
14
13
|
name: string;
|
|
14
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
15
15
|
versionRange: string;
|
|
16
16
|
optional?: boolean | undefined;
|
|
17
17
|
}, {
|
|
18
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
19
18
|
name: string;
|
|
19
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
20
20
|
versionRange: string;
|
|
21
21
|
optional?: boolean | undefined;
|
|
22
22
|
}>;
|
|
@@ -29,16 +29,16 @@ declare const registryFileSchema: z.ZodObject<{
|
|
|
29
29
|
contentType: z.ZodString;
|
|
30
30
|
contentRef: z.ZodString;
|
|
31
31
|
}, "strip", z.ZodTypeAny, {
|
|
32
|
-
path: string;
|
|
33
32
|
size: number;
|
|
34
|
-
|
|
33
|
+
path: string;
|
|
34
|
+
role: "source" | "style" | "contract" | "token" | "metadata" | "example" | "test" | "story" | "asset" | "barrel";
|
|
35
35
|
contentType: string;
|
|
36
36
|
sha256: string;
|
|
37
37
|
contentRef: string;
|
|
38
38
|
}, {
|
|
39
|
-
path: string;
|
|
40
39
|
size: number;
|
|
41
|
-
|
|
40
|
+
path: string;
|
|
41
|
+
role: "source" | "style" | "contract" | "token" | "metadata" | "example" | "test" | "story" | "asset" | "barrel";
|
|
42
42
|
contentType: string;
|
|
43
43
|
sha256: string;
|
|
44
44
|
contentRef: string;
|
|
@@ -50,14 +50,14 @@ declare const registryFileContentSchema: z.ZodObject<{
|
|
|
50
50
|
size: z.ZodNumber;
|
|
51
51
|
contentType: z.ZodString;
|
|
52
52
|
}, "strip", z.ZodTypeAny, {
|
|
53
|
-
path: string;
|
|
54
53
|
size: number;
|
|
54
|
+
path: string;
|
|
55
55
|
content: string;
|
|
56
56
|
contentType: string;
|
|
57
57
|
sha256: string;
|
|
58
58
|
}, {
|
|
59
|
-
path: string;
|
|
60
59
|
size: number;
|
|
60
|
+
path: string;
|
|
61
61
|
content: string;
|
|
62
62
|
contentType: string;
|
|
63
63
|
sha256: string;
|
|
@@ -122,13 +122,13 @@ declare const registryComponentExportSchema: z.ZodObject<{
|
|
|
122
122
|
kind: z.ZodDefault<z.ZodEnum<["component", "hook", "utility", "type", "style"]>>;
|
|
123
123
|
path: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
124
124
|
}, "strip", z.ZodTypeAny, {
|
|
125
|
-
kind: "hook" | "
|
|
125
|
+
kind: "hook" | "style" | "type" | "component" | "utility";
|
|
126
126
|
name: string;
|
|
127
127
|
path?: string | undefined;
|
|
128
128
|
}, {
|
|
129
129
|
name: string;
|
|
130
|
+
kind?: "hook" | "style" | "type" | "component" | "utility" | undefined;
|
|
130
131
|
path?: string | undefined;
|
|
131
|
-
kind?: "hook" | "type" | "component" | "style" | "utility" | undefined;
|
|
132
132
|
}>;
|
|
133
133
|
declare const registryComponentSchema: z.ZodObject<{
|
|
134
134
|
componentId: z.ZodString;
|
|
@@ -145,16 +145,16 @@ declare const registryComponentSchema: z.ZodObject<{
|
|
|
145
145
|
contentType: z.ZodString;
|
|
146
146
|
contentRef: z.ZodString;
|
|
147
147
|
}, "strip", z.ZodTypeAny, {
|
|
148
|
-
path: string;
|
|
149
148
|
size: number;
|
|
150
|
-
|
|
149
|
+
path: string;
|
|
150
|
+
role: "source" | "style" | "contract" | "token" | "metadata" | "example" | "test" | "story" | "asset" | "barrel";
|
|
151
151
|
contentType: string;
|
|
152
152
|
sha256: string;
|
|
153
153
|
contentRef: string;
|
|
154
154
|
}, {
|
|
155
|
-
path: string;
|
|
156
155
|
size: number;
|
|
157
|
-
|
|
156
|
+
path: string;
|
|
157
|
+
role: "source" | "style" | "contract" | "token" | "metadata" | "example" | "test" | "story" | "asset" | "barrel";
|
|
158
158
|
contentType: string;
|
|
159
159
|
sha256: string;
|
|
160
160
|
contentRef: string;
|
|
@@ -167,13 +167,13 @@ declare const registryComponentSchema: z.ZodObject<{
|
|
|
167
167
|
type: z.ZodEnum<["runtime", "peer", "dev", "optional"]>;
|
|
168
168
|
optional: z.ZodOptional<z.ZodBoolean>;
|
|
169
169
|
}, "strip", z.ZodTypeAny, {
|
|
170
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
171
170
|
name: string;
|
|
171
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
172
172
|
versionRange: string;
|
|
173
173
|
optional?: boolean | undefined;
|
|
174
174
|
}, {
|
|
175
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
176
175
|
name: string;
|
|
176
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
177
177
|
versionRange: string;
|
|
178
178
|
optional?: boolean | undefined;
|
|
179
179
|
}>, "many">>;
|
|
@@ -183,13 +183,13 @@ declare const registryComponentSchema: z.ZodObject<{
|
|
|
183
183
|
type: z.ZodEnum<["runtime", "peer", "dev", "optional"]>;
|
|
184
184
|
optional: z.ZodOptional<z.ZodBoolean>;
|
|
185
185
|
}, "strip", z.ZodTypeAny, {
|
|
186
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
187
186
|
name: string;
|
|
187
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
188
188
|
versionRange: string;
|
|
189
189
|
optional?: boolean | undefined;
|
|
190
190
|
}, {
|
|
191
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
192
191
|
name: string;
|
|
192
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
193
193
|
versionRange: string;
|
|
194
194
|
optional?: boolean | undefined;
|
|
195
195
|
}>, "many">>;
|
|
@@ -199,13 +199,13 @@ declare const registryComponentSchema: z.ZodObject<{
|
|
|
199
199
|
kind: z.ZodDefault<z.ZodEnum<["component", "hook", "utility", "type", "style"]>>;
|
|
200
200
|
path: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
201
201
|
}, "strip", z.ZodTypeAny, {
|
|
202
|
-
kind: "hook" | "
|
|
202
|
+
kind: "hook" | "style" | "type" | "component" | "utility";
|
|
203
203
|
name: string;
|
|
204
204
|
path?: string | undefined;
|
|
205
205
|
}, {
|
|
206
206
|
name: string;
|
|
207
|
+
kind?: "hook" | "style" | "type" | "component" | "utility" | undefined;
|
|
207
208
|
path?: string | undefined;
|
|
208
|
-
kind?: "hook" | "type" | "component" | "style" | "utility" | undefined;
|
|
209
209
|
}>, "many">>;
|
|
210
210
|
contract: z.ZodOptional<z.ZodUnknown>;
|
|
211
211
|
examples: z.ZodDefault<z.ZodArray<z.ZodUnknown, "many">>;
|
|
@@ -216,12 +216,12 @@ declare const registryComponentSchema: z.ZodObject<{
|
|
|
216
216
|
componentId: string;
|
|
217
217
|
publicRef: string;
|
|
218
218
|
provenance: Record<string, unknown>;
|
|
219
|
-
tier: "
|
|
219
|
+
tier: "core" | "custom" | "composition" | "utility";
|
|
220
220
|
examples: unknown[];
|
|
221
221
|
files: {
|
|
222
|
-
path: string;
|
|
223
222
|
size: number;
|
|
224
|
-
|
|
223
|
+
path: string;
|
|
224
|
+
role: "source" | "style" | "contract" | "token" | "metadata" | "example" | "test" | "story" | "asset" | "barrel";
|
|
225
225
|
contentType: string;
|
|
226
226
|
sha256: string;
|
|
227
227
|
contentRef: string;
|
|
@@ -229,62 +229,62 @@ declare const registryComponentSchema: z.ZodObject<{
|
|
|
229
229
|
styleFiles: string[];
|
|
230
230
|
tokenDependencies: string[];
|
|
231
231
|
runtimeDependencies: {
|
|
232
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
233
232
|
name: string;
|
|
233
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
234
234
|
versionRange: string;
|
|
235
235
|
optional?: boolean | undefined;
|
|
236
236
|
}[];
|
|
237
237
|
peerDependencies: {
|
|
238
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
239
238
|
name: string;
|
|
239
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
240
240
|
versionRange: string;
|
|
241
241
|
optional?: boolean | undefined;
|
|
242
242
|
}[];
|
|
243
243
|
internalDependencies: string[];
|
|
244
244
|
exports: {
|
|
245
|
-
kind: "hook" | "
|
|
245
|
+
kind: "hook" | "style" | "type" | "component" | "utility";
|
|
246
246
|
name: string;
|
|
247
247
|
path?: string | undefined;
|
|
248
248
|
}[];
|
|
249
|
-
category?: string | undefined;
|
|
250
249
|
contract?: unknown;
|
|
250
|
+
category?: string | undefined;
|
|
251
251
|
}, {
|
|
252
252
|
name: string;
|
|
253
253
|
componentId: string;
|
|
254
254
|
publicRef: string;
|
|
255
255
|
files: {
|
|
256
|
-
path: string;
|
|
257
256
|
size: number;
|
|
258
|
-
|
|
257
|
+
path: string;
|
|
258
|
+
role: "source" | "style" | "contract" | "token" | "metadata" | "example" | "test" | "story" | "asset" | "barrel";
|
|
259
259
|
contentType: string;
|
|
260
260
|
sha256: string;
|
|
261
261
|
contentRef: string;
|
|
262
262
|
}[];
|
|
263
263
|
status?: string | undefined;
|
|
264
|
-
category?: string | undefined;
|
|
265
264
|
contract?: unknown;
|
|
266
265
|
provenance?: Record<string, unknown> | undefined;
|
|
267
|
-
|
|
266
|
+
category?: string | undefined;
|
|
267
|
+
tier?: "core" | "custom" | "composition" | "utility" | undefined;
|
|
268
268
|
examples?: unknown[] | undefined;
|
|
269
269
|
styleFiles?: string[] | undefined;
|
|
270
270
|
tokenDependencies?: string[] | undefined;
|
|
271
271
|
runtimeDependencies?: {
|
|
272
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
273
272
|
name: string;
|
|
273
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
274
274
|
versionRange: string;
|
|
275
275
|
optional?: boolean | undefined;
|
|
276
276
|
}[] | undefined;
|
|
277
277
|
peerDependencies?: {
|
|
278
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
279
278
|
name: string;
|
|
279
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
280
280
|
versionRange: string;
|
|
281
281
|
optional?: boolean | undefined;
|
|
282
282
|
}[] | undefined;
|
|
283
283
|
internalDependencies?: string[] | undefined;
|
|
284
284
|
exports?: {
|
|
285
285
|
name: string;
|
|
286
|
+
kind?: "hook" | "style" | "type" | "component" | "utility" | undefined;
|
|
286
287
|
path?: string | undefined;
|
|
287
|
-
kind?: "hook" | "type" | "component" | "style" | "utility" | undefined;
|
|
288
288
|
}[] | undefined;
|
|
289
289
|
}>;
|
|
290
290
|
declare const registryEntrypointSchema: z.ZodObject<{
|
|
@@ -388,16 +388,16 @@ declare const registryManifestDraftSchema: z.ZodObject<{
|
|
|
388
388
|
contentType: z.ZodString;
|
|
389
389
|
contentRef: z.ZodString;
|
|
390
390
|
}, "strip", z.ZodTypeAny, {
|
|
391
|
-
path: string;
|
|
392
391
|
size: number;
|
|
393
|
-
|
|
392
|
+
path: string;
|
|
393
|
+
role: "source" | "style" | "contract" | "token" | "metadata" | "example" | "test" | "story" | "asset" | "barrel";
|
|
394
394
|
contentType: string;
|
|
395
395
|
sha256: string;
|
|
396
396
|
contentRef: string;
|
|
397
397
|
}, {
|
|
398
|
-
path: string;
|
|
399
398
|
size: number;
|
|
400
|
-
|
|
399
|
+
path: string;
|
|
400
|
+
role: "source" | "style" | "contract" | "token" | "metadata" | "example" | "test" | "story" | "asset" | "barrel";
|
|
401
401
|
contentType: string;
|
|
402
402
|
sha256: string;
|
|
403
403
|
contentRef: string;
|
|
@@ -411,16 +411,16 @@ declare const registryManifestDraftSchema: z.ZodObject<{
|
|
|
411
411
|
contentType: z.ZodString;
|
|
412
412
|
contentRef: z.ZodString;
|
|
413
413
|
}, "strip", z.ZodTypeAny, {
|
|
414
|
-
path: string;
|
|
415
414
|
size: number;
|
|
416
|
-
|
|
415
|
+
path: string;
|
|
416
|
+
role: "source" | "style" | "contract" | "token" | "metadata" | "example" | "test" | "story" | "asset" | "barrel";
|
|
417
417
|
contentType: string;
|
|
418
418
|
sha256: string;
|
|
419
419
|
contentRef: string;
|
|
420
420
|
}, {
|
|
421
|
-
path: string;
|
|
422
421
|
size: number;
|
|
423
|
-
|
|
422
|
+
path: string;
|
|
423
|
+
role: "source" | "style" | "contract" | "token" | "metadata" | "example" | "test" | "story" | "asset" | "barrel";
|
|
424
424
|
contentType: string;
|
|
425
425
|
sha256: string;
|
|
426
426
|
contentRef: string;
|
|
@@ -450,16 +450,16 @@ declare const registryManifestDraftSchema: z.ZodObject<{
|
|
|
450
450
|
contentType: z.ZodString;
|
|
451
451
|
contentRef: z.ZodString;
|
|
452
452
|
}, "strip", z.ZodTypeAny, {
|
|
453
|
-
path: string;
|
|
454
453
|
size: number;
|
|
455
|
-
|
|
454
|
+
path: string;
|
|
455
|
+
role: "source" | "style" | "contract" | "token" | "metadata" | "example" | "test" | "story" | "asset" | "barrel";
|
|
456
456
|
contentType: string;
|
|
457
457
|
sha256: string;
|
|
458
458
|
contentRef: string;
|
|
459
459
|
}, {
|
|
460
|
-
path: string;
|
|
461
460
|
size: number;
|
|
462
|
-
|
|
461
|
+
path: string;
|
|
462
|
+
role: "source" | "style" | "contract" | "token" | "metadata" | "example" | "test" | "story" | "asset" | "barrel";
|
|
463
463
|
contentType: string;
|
|
464
464
|
sha256: string;
|
|
465
465
|
contentRef: string;
|
|
@@ -472,13 +472,13 @@ declare const registryManifestDraftSchema: z.ZodObject<{
|
|
|
472
472
|
type: z.ZodEnum<["runtime", "peer", "dev", "optional"]>;
|
|
473
473
|
optional: z.ZodOptional<z.ZodBoolean>;
|
|
474
474
|
}, "strip", z.ZodTypeAny, {
|
|
475
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
476
475
|
name: string;
|
|
476
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
477
477
|
versionRange: string;
|
|
478
478
|
optional?: boolean | undefined;
|
|
479
479
|
}, {
|
|
480
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
481
480
|
name: string;
|
|
481
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
482
482
|
versionRange: string;
|
|
483
483
|
optional?: boolean | undefined;
|
|
484
484
|
}>, "many">>;
|
|
@@ -488,13 +488,13 @@ declare const registryManifestDraftSchema: z.ZodObject<{
|
|
|
488
488
|
type: z.ZodEnum<["runtime", "peer", "dev", "optional"]>;
|
|
489
489
|
optional: z.ZodOptional<z.ZodBoolean>;
|
|
490
490
|
}, "strip", z.ZodTypeAny, {
|
|
491
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
492
491
|
name: string;
|
|
492
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
493
493
|
versionRange: string;
|
|
494
494
|
optional?: boolean | undefined;
|
|
495
495
|
}, {
|
|
496
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
497
496
|
name: string;
|
|
497
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
498
498
|
versionRange: string;
|
|
499
499
|
optional?: boolean | undefined;
|
|
500
500
|
}>, "many">>;
|
|
@@ -504,13 +504,13 @@ declare const registryManifestDraftSchema: z.ZodObject<{
|
|
|
504
504
|
kind: z.ZodDefault<z.ZodEnum<["component", "hook", "utility", "type", "style"]>>;
|
|
505
505
|
path: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
506
506
|
}, "strip", z.ZodTypeAny, {
|
|
507
|
-
kind: "hook" | "
|
|
507
|
+
kind: "hook" | "style" | "type" | "component" | "utility";
|
|
508
508
|
name: string;
|
|
509
509
|
path?: string | undefined;
|
|
510
510
|
}, {
|
|
511
511
|
name: string;
|
|
512
|
+
kind?: "hook" | "style" | "type" | "component" | "utility" | undefined;
|
|
512
513
|
path?: string | undefined;
|
|
513
|
-
kind?: "hook" | "type" | "component" | "style" | "utility" | undefined;
|
|
514
514
|
}>, "many">>;
|
|
515
515
|
contract: z.ZodOptional<z.ZodUnknown>;
|
|
516
516
|
examples: z.ZodDefault<z.ZodArray<z.ZodUnknown, "many">>;
|
|
@@ -521,12 +521,12 @@ declare const registryManifestDraftSchema: z.ZodObject<{
|
|
|
521
521
|
componentId: string;
|
|
522
522
|
publicRef: string;
|
|
523
523
|
provenance: Record<string, unknown>;
|
|
524
|
-
tier: "
|
|
524
|
+
tier: "core" | "custom" | "composition" | "utility";
|
|
525
525
|
examples: unknown[];
|
|
526
526
|
files: {
|
|
527
|
-
path: string;
|
|
528
527
|
size: number;
|
|
529
|
-
|
|
528
|
+
path: string;
|
|
529
|
+
role: "source" | "style" | "contract" | "token" | "metadata" | "example" | "test" | "story" | "asset" | "barrel";
|
|
530
530
|
contentType: string;
|
|
531
531
|
sha256: string;
|
|
532
532
|
contentRef: string;
|
|
@@ -534,62 +534,62 @@ declare const registryManifestDraftSchema: z.ZodObject<{
|
|
|
534
534
|
styleFiles: string[];
|
|
535
535
|
tokenDependencies: string[];
|
|
536
536
|
runtimeDependencies: {
|
|
537
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
538
537
|
name: string;
|
|
538
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
539
539
|
versionRange: string;
|
|
540
540
|
optional?: boolean | undefined;
|
|
541
541
|
}[];
|
|
542
542
|
peerDependencies: {
|
|
543
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
544
543
|
name: string;
|
|
544
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
545
545
|
versionRange: string;
|
|
546
546
|
optional?: boolean | undefined;
|
|
547
547
|
}[];
|
|
548
548
|
internalDependencies: string[];
|
|
549
549
|
exports: {
|
|
550
|
-
kind: "hook" | "
|
|
550
|
+
kind: "hook" | "style" | "type" | "component" | "utility";
|
|
551
551
|
name: string;
|
|
552
552
|
path?: string | undefined;
|
|
553
553
|
}[];
|
|
554
|
-
category?: string | undefined;
|
|
555
554
|
contract?: unknown;
|
|
555
|
+
category?: string | undefined;
|
|
556
556
|
}, {
|
|
557
557
|
name: string;
|
|
558
558
|
componentId: string;
|
|
559
559
|
publicRef: string;
|
|
560
560
|
files: {
|
|
561
|
-
path: string;
|
|
562
561
|
size: number;
|
|
563
|
-
|
|
562
|
+
path: string;
|
|
563
|
+
role: "source" | "style" | "contract" | "token" | "metadata" | "example" | "test" | "story" | "asset" | "barrel";
|
|
564
564
|
contentType: string;
|
|
565
565
|
sha256: string;
|
|
566
566
|
contentRef: string;
|
|
567
567
|
}[];
|
|
568
568
|
status?: string | undefined;
|
|
569
|
-
category?: string | undefined;
|
|
570
569
|
contract?: unknown;
|
|
571
570
|
provenance?: Record<string, unknown> | undefined;
|
|
572
|
-
|
|
571
|
+
category?: string | undefined;
|
|
572
|
+
tier?: "core" | "custom" | "composition" | "utility" | undefined;
|
|
573
573
|
examples?: unknown[] | undefined;
|
|
574
574
|
styleFiles?: string[] | undefined;
|
|
575
575
|
tokenDependencies?: string[] | undefined;
|
|
576
576
|
runtimeDependencies?: {
|
|
577
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
578
577
|
name: string;
|
|
578
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
579
579
|
versionRange: string;
|
|
580
580
|
optional?: boolean | undefined;
|
|
581
581
|
}[] | undefined;
|
|
582
582
|
peerDependencies?: {
|
|
583
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
584
583
|
name: string;
|
|
584
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
585
585
|
versionRange: string;
|
|
586
586
|
optional?: boolean | undefined;
|
|
587
587
|
}[] | undefined;
|
|
588
588
|
internalDependencies?: string[] | undefined;
|
|
589
589
|
exports?: {
|
|
590
590
|
name: string;
|
|
591
|
+
kind?: "hook" | "style" | "type" | "component" | "utility" | undefined;
|
|
591
592
|
path?: string | undefined;
|
|
592
|
-
kind?: "hook" | "type" | "component" | "style" | "utility" | undefined;
|
|
593
593
|
}[] | undefined;
|
|
594
594
|
}>>;
|
|
595
595
|
dependencies: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -598,13 +598,13 @@ declare const registryManifestDraftSchema: z.ZodObject<{
|
|
|
598
598
|
type: z.ZodEnum<["runtime", "peer", "dev", "optional"]>;
|
|
599
599
|
optional: z.ZodOptional<z.ZodBoolean>;
|
|
600
600
|
}, "strip", z.ZodTypeAny, {
|
|
601
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
602
601
|
name: string;
|
|
602
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
603
603
|
versionRange: string;
|
|
604
604
|
optional?: boolean | undefined;
|
|
605
605
|
}, {
|
|
606
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
607
606
|
name: string;
|
|
607
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
608
608
|
versionRange: string;
|
|
609
609
|
optional?: boolean | undefined;
|
|
610
610
|
}>, "many">>;
|
|
@@ -634,12 +634,12 @@ declare const registryManifestDraftSchema: z.ZodObject<{
|
|
|
634
634
|
componentId: string;
|
|
635
635
|
publicRef: string;
|
|
636
636
|
provenance: Record<string, unknown>;
|
|
637
|
-
tier: "
|
|
637
|
+
tier: "core" | "custom" | "composition" | "utility";
|
|
638
638
|
examples: unknown[];
|
|
639
639
|
files: {
|
|
640
|
-
path: string;
|
|
641
640
|
size: number;
|
|
642
|
-
|
|
641
|
+
path: string;
|
|
642
|
+
role: "source" | "style" | "contract" | "token" | "metadata" | "example" | "test" | "story" | "asset" | "barrel";
|
|
643
643
|
contentType: string;
|
|
644
644
|
sha256: string;
|
|
645
645
|
contentRef: string;
|
|
@@ -647,25 +647,25 @@ declare const registryManifestDraftSchema: z.ZodObject<{
|
|
|
647
647
|
styleFiles: string[];
|
|
648
648
|
tokenDependencies: string[];
|
|
649
649
|
runtimeDependencies: {
|
|
650
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
651
650
|
name: string;
|
|
651
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
652
652
|
versionRange: string;
|
|
653
653
|
optional?: boolean | undefined;
|
|
654
654
|
}[];
|
|
655
655
|
peerDependencies: {
|
|
656
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
657
656
|
name: string;
|
|
657
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
658
658
|
versionRange: string;
|
|
659
659
|
optional?: boolean | undefined;
|
|
660
660
|
}[];
|
|
661
661
|
internalDependencies: string[];
|
|
662
662
|
exports: {
|
|
663
|
-
kind: "hook" | "
|
|
663
|
+
kind: "hook" | "style" | "type" | "component" | "utility";
|
|
664
664
|
name: string;
|
|
665
665
|
path?: string | undefined;
|
|
666
666
|
}[];
|
|
667
|
-
category?: string | undefined;
|
|
668
667
|
contract?: unknown;
|
|
668
|
+
category?: string | undefined;
|
|
669
669
|
}>;
|
|
670
670
|
schemaVersion: "fragments.registry.v1";
|
|
671
671
|
generatedAt: string;
|
|
@@ -692,24 +692,24 @@ declare const registryManifestDraftSchema: z.ZodObject<{
|
|
|
692
692
|
registryId: string;
|
|
693
693
|
version: string;
|
|
694
694
|
dependencies: {
|
|
695
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
696
695
|
name: string;
|
|
696
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
697
697
|
versionRange: string;
|
|
698
698
|
optional?: boolean | undefined;
|
|
699
699
|
}[];
|
|
700
700
|
channel: string;
|
|
701
701
|
packageFiles: {
|
|
702
|
-
path: string;
|
|
703
702
|
size: number;
|
|
704
|
-
|
|
703
|
+
path: string;
|
|
704
|
+
role: "source" | "style" | "contract" | "token" | "metadata" | "example" | "test" | "story" | "asset" | "barrel";
|
|
705
705
|
contentType: string;
|
|
706
706
|
sha256: string;
|
|
707
707
|
contentRef: string;
|
|
708
708
|
}[];
|
|
709
709
|
baseFiles: {
|
|
710
|
-
path: string;
|
|
711
710
|
size: number;
|
|
712
|
-
|
|
711
|
+
path: string;
|
|
712
|
+
role: "source" | "style" | "contract" | "token" | "metadata" | "example" | "test" | "story" | "asset" | "barrel";
|
|
713
713
|
contentType: string;
|
|
714
714
|
sha256: string;
|
|
715
715
|
contentRef: string;
|
|
@@ -733,38 +733,38 @@ declare const registryManifestDraftSchema: z.ZodObject<{
|
|
|
733
733
|
componentId: string;
|
|
734
734
|
publicRef: string;
|
|
735
735
|
files: {
|
|
736
|
-
path: string;
|
|
737
736
|
size: number;
|
|
738
|
-
|
|
737
|
+
path: string;
|
|
738
|
+
role: "source" | "style" | "contract" | "token" | "metadata" | "example" | "test" | "story" | "asset" | "barrel";
|
|
739
739
|
contentType: string;
|
|
740
740
|
sha256: string;
|
|
741
741
|
contentRef: string;
|
|
742
742
|
}[];
|
|
743
743
|
status?: string | undefined;
|
|
744
|
-
category?: string | undefined;
|
|
745
744
|
contract?: unknown;
|
|
746
745
|
provenance?: Record<string, unknown> | undefined;
|
|
747
|
-
|
|
746
|
+
category?: string | undefined;
|
|
747
|
+
tier?: "core" | "custom" | "composition" | "utility" | undefined;
|
|
748
748
|
examples?: unknown[] | undefined;
|
|
749
749
|
styleFiles?: string[] | undefined;
|
|
750
750
|
tokenDependencies?: string[] | undefined;
|
|
751
751
|
runtimeDependencies?: {
|
|
752
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
753
752
|
name: string;
|
|
753
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
754
754
|
versionRange: string;
|
|
755
755
|
optional?: boolean | undefined;
|
|
756
756
|
}[] | undefined;
|
|
757
757
|
peerDependencies?: {
|
|
758
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
759
758
|
name: string;
|
|
759
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
760
760
|
versionRange: string;
|
|
761
761
|
optional?: boolean | undefined;
|
|
762
762
|
}[] | undefined;
|
|
763
763
|
internalDependencies?: string[] | undefined;
|
|
764
764
|
exports?: {
|
|
765
765
|
name: string;
|
|
766
|
+
kind?: "hook" | "style" | "type" | "component" | "utility" | undefined;
|
|
766
767
|
path?: string | undefined;
|
|
767
|
-
kind?: "hook" | "type" | "component" | "style" | "utility" | undefined;
|
|
768
768
|
}[] | undefined;
|
|
769
769
|
}>;
|
|
770
770
|
schemaVersion: "fragments.registry.v1";
|
|
@@ -794,24 +794,24 @@ declare const registryManifestDraftSchema: z.ZodObject<{
|
|
|
794
794
|
channel: string;
|
|
795
795
|
fcid?: string | undefined;
|
|
796
796
|
dependencies?: {
|
|
797
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
798
797
|
name: string;
|
|
798
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
799
799
|
versionRange: string;
|
|
800
800
|
optional?: boolean | undefined;
|
|
801
801
|
}[] | undefined;
|
|
802
802
|
contractVersionId?: string | undefined;
|
|
803
803
|
packageFiles?: {
|
|
804
|
-
path: string;
|
|
805
804
|
size: number;
|
|
806
|
-
|
|
805
|
+
path: string;
|
|
806
|
+
role: "source" | "style" | "contract" | "token" | "metadata" | "example" | "test" | "story" | "asset" | "barrel";
|
|
807
807
|
contentType: string;
|
|
808
808
|
sha256: string;
|
|
809
809
|
contentRef: string;
|
|
810
810
|
}[] | undefined;
|
|
811
811
|
baseFiles?: {
|
|
812
|
-
path: string;
|
|
813
812
|
size: number;
|
|
814
|
-
|
|
813
|
+
path: string;
|
|
814
|
+
role: "source" | "style" | "contract" | "token" | "metadata" | "example" | "test" | "story" | "asset" | "barrel";
|
|
815
815
|
contentType: string;
|
|
816
816
|
sha256: string;
|
|
817
817
|
contentRef: string;
|
|
@@ -900,16 +900,16 @@ declare const registryManifestSchema: z.ZodObject<{
|
|
|
900
900
|
contentType: z.ZodString;
|
|
901
901
|
contentRef: z.ZodString;
|
|
902
902
|
}, "strip", z.ZodTypeAny, {
|
|
903
|
-
path: string;
|
|
904
903
|
size: number;
|
|
905
|
-
|
|
904
|
+
path: string;
|
|
905
|
+
role: "source" | "style" | "contract" | "token" | "metadata" | "example" | "test" | "story" | "asset" | "barrel";
|
|
906
906
|
contentType: string;
|
|
907
907
|
sha256: string;
|
|
908
908
|
contentRef: string;
|
|
909
909
|
}, {
|
|
910
|
-
path: string;
|
|
911
910
|
size: number;
|
|
912
|
-
|
|
911
|
+
path: string;
|
|
912
|
+
role: "source" | "style" | "contract" | "token" | "metadata" | "example" | "test" | "story" | "asset" | "barrel";
|
|
913
913
|
contentType: string;
|
|
914
914
|
sha256: string;
|
|
915
915
|
contentRef: string;
|
|
@@ -923,16 +923,16 @@ declare const registryManifestSchema: z.ZodObject<{
|
|
|
923
923
|
contentType: z.ZodString;
|
|
924
924
|
contentRef: z.ZodString;
|
|
925
925
|
}, "strip", z.ZodTypeAny, {
|
|
926
|
-
path: string;
|
|
927
926
|
size: number;
|
|
928
|
-
|
|
927
|
+
path: string;
|
|
928
|
+
role: "source" | "style" | "contract" | "token" | "metadata" | "example" | "test" | "story" | "asset" | "barrel";
|
|
929
929
|
contentType: string;
|
|
930
930
|
sha256: string;
|
|
931
931
|
contentRef: string;
|
|
932
932
|
}, {
|
|
933
|
-
path: string;
|
|
934
933
|
size: number;
|
|
935
|
-
|
|
934
|
+
path: string;
|
|
935
|
+
role: "source" | "style" | "contract" | "token" | "metadata" | "example" | "test" | "story" | "asset" | "barrel";
|
|
936
936
|
contentType: string;
|
|
937
937
|
sha256: string;
|
|
938
938
|
contentRef: string;
|
|
@@ -962,16 +962,16 @@ declare const registryManifestSchema: z.ZodObject<{
|
|
|
962
962
|
contentType: z.ZodString;
|
|
963
963
|
contentRef: z.ZodString;
|
|
964
964
|
}, "strip", z.ZodTypeAny, {
|
|
965
|
-
path: string;
|
|
966
965
|
size: number;
|
|
967
|
-
|
|
966
|
+
path: string;
|
|
967
|
+
role: "source" | "style" | "contract" | "token" | "metadata" | "example" | "test" | "story" | "asset" | "barrel";
|
|
968
968
|
contentType: string;
|
|
969
969
|
sha256: string;
|
|
970
970
|
contentRef: string;
|
|
971
971
|
}, {
|
|
972
|
-
path: string;
|
|
973
972
|
size: number;
|
|
974
|
-
|
|
973
|
+
path: string;
|
|
974
|
+
role: "source" | "style" | "contract" | "token" | "metadata" | "example" | "test" | "story" | "asset" | "barrel";
|
|
975
975
|
contentType: string;
|
|
976
976
|
sha256: string;
|
|
977
977
|
contentRef: string;
|
|
@@ -984,13 +984,13 @@ declare const registryManifestSchema: z.ZodObject<{
|
|
|
984
984
|
type: z.ZodEnum<["runtime", "peer", "dev", "optional"]>;
|
|
985
985
|
optional: z.ZodOptional<z.ZodBoolean>;
|
|
986
986
|
}, "strip", z.ZodTypeAny, {
|
|
987
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
988
987
|
name: string;
|
|
988
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
989
989
|
versionRange: string;
|
|
990
990
|
optional?: boolean | undefined;
|
|
991
991
|
}, {
|
|
992
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
993
992
|
name: string;
|
|
993
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
994
994
|
versionRange: string;
|
|
995
995
|
optional?: boolean | undefined;
|
|
996
996
|
}>, "many">>;
|
|
@@ -1000,13 +1000,13 @@ declare const registryManifestSchema: z.ZodObject<{
|
|
|
1000
1000
|
type: z.ZodEnum<["runtime", "peer", "dev", "optional"]>;
|
|
1001
1001
|
optional: z.ZodOptional<z.ZodBoolean>;
|
|
1002
1002
|
}, "strip", z.ZodTypeAny, {
|
|
1003
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
1004
1003
|
name: string;
|
|
1004
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
1005
1005
|
versionRange: string;
|
|
1006
1006
|
optional?: boolean | undefined;
|
|
1007
1007
|
}, {
|
|
1008
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
1009
1008
|
name: string;
|
|
1009
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
1010
1010
|
versionRange: string;
|
|
1011
1011
|
optional?: boolean | undefined;
|
|
1012
1012
|
}>, "many">>;
|
|
@@ -1016,13 +1016,13 @@ declare const registryManifestSchema: z.ZodObject<{
|
|
|
1016
1016
|
kind: z.ZodDefault<z.ZodEnum<["component", "hook", "utility", "type", "style"]>>;
|
|
1017
1017
|
path: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
1018
1018
|
}, "strip", z.ZodTypeAny, {
|
|
1019
|
-
kind: "hook" | "
|
|
1019
|
+
kind: "hook" | "style" | "type" | "component" | "utility";
|
|
1020
1020
|
name: string;
|
|
1021
1021
|
path?: string | undefined;
|
|
1022
1022
|
}, {
|
|
1023
1023
|
name: string;
|
|
1024
|
+
kind?: "hook" | "style" | "type" | "component" | "utility" | undefined;
|
|
1024
1025
|
path?: string | undefined;
|
|
1025
|
-
kind?: "hook" | "type" | "component" | "style" | "utility" | undefined;
|
|
1026
1026
|
}>, "many">>;
|
|
1027
1027
|
contract: z.ZodOptional<z.ZodUnknown>;
|
|
1028
1028
|
examples: z.ZodDefault<z.ZodArray<z.ZodUnknown, "many">>;
|
|
@@ -1033,12 +1033,12 @@ declare const registryManifestSchema: z.ZodObject<{
|
|
|
1033
1033
|
componentId: string;
|
|
1034
1034
|
publicRef: string;
|
|
1035
1035
|
provenance: Record<string, unknown>;
|
|
1036
|
-
tier: "
|
|
1036
|
+
tier: "core" | "custom" | "composition" | "utility";
|
|
1037
1037
|
examples: unknown[];
|
|
1038
1038
|
files: {
|
|
1039
|
-
path: string;
|
|
1040
1039
|
size: number;
|
|
1041
|
-
|
|
1040
|
+
path: string;
|
|
1041
|
+
role: "source" | "style" | "contract" | "token" | "metadata" | "example" | "test" | "story" | "asset" | "barrel";
|
|
1042
1042
|
contentType: string;
|
|
1043
1043
|
sha256: string;
|
|
1044
1044
|
contentRef: string;
|
|
@@ -1046,62 +1046,62 @@ declare const registryManifestSchema: z.ZodObject<{
|
|
|
1046
1046
|
styleFiles: string[];
|
|
1047
1047
|
tokenDependencies: string[];
|
|
1048
1048
|
runtimeDependencies: {
|
|
1049
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
1050
1049
|
name: string;
|
|
1050
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
1051
1051
|
versionRange: string;
|
|
1052
1052
|
optional?: boolean | undefined;
|
|
1053
1053
|
}[];
|
|
1054
1054
|
peerDependencies: {
|
|
1055
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
1056
1055
|
name: string;
|
|
1056
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
1057
1057
|
versionRange: string;
|
|
1058
1058
|
optional?: boolean | undefined;
|
|
1059
1059
|
}[];
|
|
1060
1060
|
internalDependencies: string[];
|
|
1061
1061
|
exports: {
|
|
1062
|
-
kind: "hook" | "
|
|
1062
|
+
kind: "hook" | "style" | "type" | "component" | "utility";
|
|
1063
1063
|
name: string;
|
|
1064
1064
|
path?: string | undefined;
|
|
1065
1065
|
}[];
|
|
1066
|
-
category?: string | undefined;
|
|
1067
1066
|
contract?: unknown;
|
|
1067
|
+
category?: string | undefined;
|
|
1068
1068
|
}, {
|
|
1069
1069
|
name: string;
|
|
1070
1070
|
componentId: string;
|
|
1071
1071
|
publicRef: string;
|
|
1072
1072
|
files: {
|
|
1073
|
-
path: string;
|
|
1074
1073
|
size: number;
|
|
1075
|
-
|
|
1074
|
+
path: string;
|
|
1075
|
+
role: "source" | "style" | "contract" | "token" | "metadata" | "example" | "test" | "story" | "asset" | "barrel";
|
|
1076
1076
|
contentType: string;
|
|
1077
1077
|
sha256: string;
|
|
1078
1078
|
contentRef: string;
|
|
1079
1079
|
}[];
|
|
1080
1080
|
status?: string | undefined;
|
|
1081
|
-
category?: string | undefined;
|
|
1082
1081
|
contract?: unknown;
|
|
1083
1082
|
provenance?: Record<string, unknown> | undefined;
|
|
1084
|
-
|
|
1083
|
+
category?: string | undefined;
|
|
1084
|
+
tier?: "core" | "custom" | "composition" | "utility" | undefined;
|
|
1085
1085
|
examples?: unknown[] | undefined;
|
|
1086
1086
|
styleFiles?: string[] | undefined;
|
|
1087
1087
|
tokenDependencies?: string[] | undefined;
|
|
1088
1088
|
runtimeDependencies?: {
|
|
1089
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
1090
1089
|
name: string;
|
|
1090
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
1091
1091
|
versionRange: string;
|
|
1092
1092
|
optional?: boolean | undefined;
|
|
1093
1093
|
}[] | undefined;
|
|
1094
1094
|
peerDependencies?: {
|
|
1095
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
1096
1095
|
name: string;
|
|
1096
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
1097
1097
|
versionRange: string;
|
|
1098
1098
|
optional?: boolean | undefined;
|
|
1099
1099
|
}[] | undefined;
|
|
1100
1100
|
internalDependencies?: string[] | undefined;
|
|
1101
1101
|
exports?: {
|
|
1102
1102
|
name: string;
|
|
1103
|
+
kind?: "hook" | "style" | "type" | "component" | "utility" | undefined;
|
|
1103
1104
|
path?: string | undefined;
|
|
1104
|
-
kind?: "hook" | "type" | "component" | "style" | "utility" | undefined;
|
|
1105
1105
|
}[] | undefined;
|
|
1106
1106
|
}>>;
|
|
1107
1107
|
dependencies: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -1110,13 +1110,13 @@ declare const registryManifestSchema: z.ZodObject<{
|
|
|
1110
1110
|
type: z.ZodEnum<["runtime", "peer", "dev", "optional"]>;
|
|
1111
1111
|
optional: z.ZodOptional<z.ZodBoolean>;
|
|
1112
1112
|
}, "strip", z.ZodTypeAny, {
|
|
1113
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
1114
1113
|
name: string;
|
|
1114
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
1115
1115
|
versionRange: string;
|
|
1116
1116
|
optional?: boolean | undefined;
|
|
1117
1117
|
}, {
|
|
1118
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
1119
1118
|
name: string;
|
|
1119
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
1120
1120
|
versionRange: string;
|
|
1121
1121
|
optional?: boolean | undefined;
|
|
1122
1122
|
}>, "many">>;
|
|
@@ -1148,12 +1148,12 @@ declare const registryManifestSchema: z.ZodObject<{
|
|
|
1148
1148
|
componentId: string;
|
|
1149
1149
|
publicRef: string;
|
|
1150
1150
|
provenance: Record<string, unknown>;
|
|
1151
|
-
tier: "
|
|
1151
|
+
tier: "core" | "custom" | "composition" | "utility";
|
|
1152
1152
|
examples: unknown[];
|
|
1153
1153
|
files: {
|
|
1154
|
-
path: string;
|
|
1155
1154
|
size: number;
|
|
1156
|
-
|
|
1155
|
+
path: string;
|
|
1156
|
+
role: "source" | "style" | "contract" | "token" | "metadata" | "example" | "test" | "story" | "asset" | "barrel";
|
|
1157
1157
|
contentType: string;
|
|
1158
1158
|
sha256: string;
|
|
1159
1159
|
contentRef: string;
|
|
@@ -1161,25 +1161,25 @@ declare const registryManifestSchema: z.ZodObject<{
|
|
|
1161
1161
|
styleFiles: string[];
|
|
1162
1162
|
tokenDependencies: string[];
|
|
1163
1163
|
runtimeDependencies: {
|
|
1164
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
1165
1164
|
name: string;
|
|
1165
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
1166
1166
|
versionRange: string;
|
|
1167
1167
|
optional?: boolean | undefined;
|
|
1168
1168
|
}[];
|
|
1169
1169
|
peerDependencies: {
|
|
1170
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
1171
1170
|
name: string;
|
|
1171
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
1172
1172
|
versionRange: string;
|
|
1173
1173
|
optional?: boolean | undefined;
|
|
1174
1174
|
}[];
|
|
1175
1175
|
internalDependencies: string[];
|
|
1176
1176
|
exports: {
|
|
1177
|
-
kind: "hook" | "
|
|
1177
|
+
kind: "hook" | "style" | "type" | "component" | "utility";
|
|
1178
1178
|
name: string;
|
|
1179
1179
|
path?: string | undefined;
|
|
1180
1180
|
}[];
|
|
1181
|
-
category?: string | undefined;
|
|
1182
1181
|
contract?: unknown;
|
|
1182
|
+
category?: string | undefined;
|
|
1183
1183
|
}>;
|
|
1184
1184
|
schemaVersion: "fragments.registry.v1";
|
|
1185
1185
|
generatedAt: string;
|
|
@@ -1207,24 +1207,24 @@ declare const registryManifestSchema: z.ZodObject<{
|
|
|
1207
1207
|
registryHash: string;
|
|
1208
1208
|
version: string;
|
|
1209
1209
|
dependencies: {
|
|
1210
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
1211
1210
|
name: string;
|
|
1211
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
1212
1212
|
versionRange: string;
|
|
1213
1213
|
optional?: boolean | undefined;
|
|
1214
1214
|
}[];
|
|
1215
1215
|
channel: string;
|
|
1216
1216
|
packageFiles: {
|
|
1217
|
-
path: string;
|
|
1218
1217
|
size: number;
|
|
1219
|
-
|
|
1218
|
+
path: string;
|
|
1219
|
+
role: "source" | "style" | "contract" | "token" | "metadata" | "example" | "test" | "story" | "asset" | "barrel";
|
|
1220
1220
|
contentType: string;
|
|
1221
1221
|
sha256: string;
|
|
1222
1222
|
contentRef: string;
|
|
1223
1223
|
}[];
|
|
1224
1224
|
baseFiles: {
|
|
1225
|
-
path: string;
|
|
1226
1225
|
size: number;
|
|
1227
|
-
|
|
1226
|
+
path: string;
|
|
1227
|
+
role: "source" | "style" | "contract" | "token" | "metadata" | "example" | "test" | "story" | "asset" | "barrel";
|
|
1228
1228
|
contentType: string;
|
|
1229
1229
|
sha256: string;
|
|
1230
1230
|
contentRef: string;
|
|
@@ -1248,38 +1248,38 @@ declare const registryManifestSchema: z.ZodObject<{
|
|
|
1248
1248
|
componentId: string;
|
|
1249
1249
|
publicRef: string;
|
|
1250
1250
|
files: {
|
|
1251
|
-
path: string;
|
|
1252
1251
|
size: number;
|
|
1253
|
-
|
|
1252
|
+
path: string;
|
|
1253
|
+
role: "source" | "style" | "contract" | "token" | "metadata" | "example" | "test" | "story" | "asset" | "barrel";
|
|
1254
1254
|
contentType: string;
|
|
1255
1255
|
sha256: string;
|
|
1256
1256
|
contentRef: string;
|
|
1257
1257
|
}[];
|
|
1258
1258
|
status?: string | undefined;
|
|
1259
|
-
category?: string | undefined;
|
|
1260
1259
|
contract?: unknown;
|
|
1261
1260
|
provenance?: Record<string, unknown> | undefined;
|
|
1262
|
-
|
|
1261
|
+
category?: string | undefined;
|
|
1262
|
+
tier?: "core" | "custom" | "composition" | "utility" | undefined;
|
|
1263
1263
|
examples?: unknown[] | undefined;
|
|
1264
1264
|
styleFiles?: string[] | undefined;
|
|
1265
1265
|
tokenDependencies?: string[] | undefined;
|
|
1266
1266
|
runtimeDependencies?: {
|
|
1267
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
1268
1267
|
name: string;
|
|
1268
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
1269
1269
|
versionRange: string;
|
|
1270
1270
|
optional?: boolean | undefined;
|
|
1271
1271
|
}[] | undefined;
|
|
1272
1272
|
peerDependencies?: {
|
|
1273
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
1274
1273
|
name: string;
|
|
1274
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
1275
1275
|
versionRange: string;
|
|
1276
1276
|
optional?: boolean | undefined;
|
|
1277
1277
|
}[] | undefined;
|
|
1278
1278
|
internalDependencies?: string[] | undefined;
|
|
1279
1279
|
exports?: {
|
|
1280
1280
|
name: string;
|
|
1281
|
+
kind?: "hook" | "style" | "type" | "component" | "utility" | undefined;
|
|
1281
1282
|
path?: string | undefined;
|
|
1282
|
-
kind?: "hook" | "type" | "component" | "style" | "utility" | undefined;
|
|
1283
1283
|
}[] | undefined;
|
|
1284
1284
|
}>;
|
|
1285
1285
|
schemaVersion: "fragments.registry.v1";
|
|
@@ -1310,24 +1310,24 @@ declare const registryManifestSchema: z.ZodObject<{
|
|
|
1310
1310
|
channel: string;
|
|
1311
1311
|
fcid?: string | undefined;
|
|
1312
1312
|
dependencies?: {
|
|
1313
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
1314
1313
|
name: string;
|
|
1314
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
1315
1315
|
versionRange: string;
|
|
1316
1316
|
optional?: boolean | undefined;
|
|
1317
1317
|
}[] | undefined;
|
|
1318
1318
|
contractVersionId?: string | undefined;
|
|
1319
1319
|
packageFiles?: {
|
|
1320
|
-
path: string;
|
|
1321
1320
|
size: number;
|
|
1322
|
-
|
|
1321
|
+
path: string;
|
|
1322
|
+
role: "source" | "style" | "contract" | "token" | "metadata" | "example" | "test" | "story" | "asset" | "barrel";
|
|
1323
1323
|
contentType: string;
|
|
1324
1324
|
sha256: string;
|
|
1325
1325
|
contentRef: string;
|
|
1326
1326
|
}[] | undefined;
|
|
1327
1327
|
baseFiles?: {
|
|
1328
|
-
path: string;
|
|
1329
1328
|
size: number;
|
|
1330
|
-
|
|
1329
|
+
path: string;
|
|
1330
|
+
role: "source" | "style" | "contract" | "token" | "metadata" | "example" | "test" | "story" | "asset" | "barrel";
|
|
1331
1331
|
contentType: string;
|
|
1332
1332
|
sha256: string;
|
|
1333
1333
|
contentRef: string;
|
|
@@ -1418,16 +1418,16 @@ declare const registryArtifactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1418
1418
|
contentType: z.ZodString;
|
|
1419
1419
|
contentRef: z.ZodString;
|
|
1420
1420
|
}, "strip", z.ZodTypeAny, {
|
|
1421
|
-
path: string;
|
|
1422
1421
|
size: number;
|
|
1423
|
-
|
|
1422
|
+
path: string;
|
|
1423
|
+
role: "source" | "style" | "contract" | "token" | "metadata" | "example" | "test" | "story" | "asset" | "barrel";
|
|
1424
1424
|
contentType: string;
|
|
1425
1425
|
sha256: string;
|
|
1426
1426
|
contentRef: string;
|
|
1427
1427
|
}, {
|
|
1428
|
-
path: string;
|
|
1429
1428
|
size: number;
|
|
1430
|
-
|
|
1429
|
+
path: string;
|
|
1430
|
+
role: "source" | "style" | "contract" | "token" | "metadata" | "example" | "test" | "story" | "asset" | "barrel";
|
|
1431
1431
|
contentType: string;
|
|
1432
1432
|
sha256: string;
|
|
1433
1433
|
contentRef: string;
|
|
@@ -1441,16 +1441,16 @@ declare const registryArtifactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1441
1441
|
contentType: z.ZodString;
|
|
1442
1442
|
contentRef: z.ZodString;
|
|
1443
1443
|
}, "strip", z.ZodTypeAny, {
|
|
1444
|
-
path: string;
|
|
1445
1444
|
size: number;
|
|
1446
|
-
|
|
1445
|
+
path: string;
|
|
1446
|
+
role: "source" | "style" | "contract" | "token" | "metadata" | "example" | "test" | "story" | "asset" | "barrel";
|
|
1447
1447
|
contentType: string;
|
|
1448
1448
|
sha256: string;
|
|
1449
1449
|
contentRef: string;
|
|
1450
1450
|
}, {
|
|
1451
|
-
path: string;
|
|
1452
1451
|
size: number;
|
|
1453
|
-
|
|
1452
|
+
path: string;
|
|
1453
|
+
role: "source" | "style" | "contract" | "token" | "metadata" | "example" | "test" | "story" | "asset" | "barrel";
|
|
1454
1454
|
contentType: string;
|
|
1455
1455
|
sha256: string;
|
|
1456
1456
|
contentRef: string;
|
|
@@ -1480,16 +1480,16 @@ declare const registryArtifactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1480
1480
|
contentType: z.ZodString;
|
|
1481
1481
|
contentRef: z.ZodString;
|
|
1482
1482
|
}, "strip", z.ZodTypeAny, {
|
|
1483
|
-
path: string;
|
|
1484
1483
|
size: number;
|
|
1485
|
-
|
|
1484
|
+
path: string;
|
|
1485
|
+
role: "source" | "style" | "contract" | "token" | "metadata" | "example" | "test" | "story" | "asset" | "barrel";
|
|
1486
1486
|
contentType: string;
|
|
1487
1487
|
sha256: string;
|
|
1488
1488
|
contentRef: string;
|
|
1489
1489
|
}, {
|
|
1490
|
-
path: string;
|
|
1491
1490
|
size: number;
|
|
1492
|
-
|
|
1491
|
+
path: string;
|
|
1492
|
+
role: "source" | "style" | "contract" | "token" | "metadata" | "example" | "test" | "story" | "asset" | "barrel";
|
|
1493
1493
|
contentType: string;
|
|
1494
1494
|
sha256: string;
|
|
1495
1495
|
contentRef: string;
|
|
@@ -1502,13 +1502,13 @@ declare const registryArtifactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1502
1502
|
type: z.ZodEnum<["runtime", "peer", "dev", "optional"]>;
|
|
1503
1503
|
optional: z.ZodOptional<z.ZodBoolean>;
|
|
1504
1504
|
}, "strip", z.ZodTypeAny, {
|
|
1505
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
1506
1505
|
name: string;
|
|
1506
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
1507
1507
|
versionRange: string;
|
|
1508
1508
|
optional?: boolean | undefined;
|
|
1509
1509
|
}, {
|
|
1510
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
1511
1510
|
name: string;
|
|
1511
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
1512
1512
|
versionRange: string;
|
|
1513
1513
|
optional?: boolean | undefined;
|
|
1514
1514
|
}>, "many">>;
|
|
@@ -1518,13 +1518,13 @@ declare const registryArtifactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1518
1518
|
type: z.ZodEnum<["runtime", "peer", "dev", "optional"]>;
|
|
1519
1519
|
optional: z.ZodOptional<z.ZodBoolean>;
|
|
1520
1520
|
}, "strip", z.ZodTypeAny, {
|
|
1521
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
1522
1521
|
name: string;
|
|
1522
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
1523
1523
|
versionRange: string;
|
|
1524
1524
|
optional?: boolean | undefined;
|
|
1525
1525
|
}, {
|
|
1526
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
1527
1526
|
name: string;
|
|
1527
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
1528
1528
|
versionRange: string;
|
|
1529
1529
|
optional?: boolean | undefined;
|
|
1530
1530
|
}>, "many">>;
|
|
@@ -1534,13 +1534,13 @@ declare const registryArtifactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1534
1534
|
kind: z.ZodDefault<z.ZodEnum<["component", "hook", "utility", "type", "style"]>>;
|
|
1535
1535
|
path: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
1536
1536
|
}, "strip", z.ZodTypeAny, {
|
|
1537
|
-
kind: "hook" | "
|
|
1537
|
+
kind: "hook" | "style" | "type" | "component" | "utility";
|
|
1538
1538
|
name: string;
|
|
1539
1539
|
path?: string | undefined;
|
|
1540
1540
|
}, {
|
|
1541
1541
|
name: string;
|
|
1542
|
+
kind?: "hook" | "style" | "type" | "component" | "utility" | undefined;
|
|
1542
1543
|
path?: string | undefined;
|
|
1543
|
-
kind?: "hook" | "type" | "component" | "style" | "utility" | undefined;
|
|
1544
1544
|
}>, "many">>;
|
|
1545
1545
|
contract: z.ZodOptional<z.ZodUnknown>;
|
|
1546
1546
|
examples: z.ZodDefault<z.ZodArray<z.ZodUnknown, "many">>;
|
|
@@ -1551,12 +1551,12 @@ declare const registryArtifactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1551
1551
|
componentId: string;
|
|
1552
1552
|
publicRef: string;
|
|
1553
1553
|
provenance: Record<string, unknown>;
|
|
1554
|
-
tier: "
|
|
1554
|
+
tier: "core" | "custom" | "composition" | "utility";
|
|
1555
1555
|
examples: unknown[];
|
|
1556
1556
|
files: {
|
|
1557
|
-
path: string;
|
|
1558
1557
|
size: number;
|
|
1559
|
-
|
|
1558
|
+
path: string;
|
|
1559
|
+
role: "source" | "style" | "contract" | "token" | "metadata" | "example" | "test" | "story" | "asset" | "barrel";
|
|
1560
1560
|
contentType: string;
|
|
1561
1561
|
sha256: string;
|
|
1562
1562
|
contentRef: string;
|
|
@@ -1564,62 +1564,62 @@ declare const registryArtifactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1564
1564
|
styleFiles: string[];
|
|
1565
1565
|
tokenDependencies: string[];
|
|
1566
1566
|
runtimeDependencies: {
|
|
1567
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
1568
1567
|
name: string;
|
|
1568
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
1569
1569
|
versionRange: string;
|
|
1570
1570
|
optional?: boolean | undefined;
|
|
1571
1571
|
}[];
|
|
1572
1572
|
peerDependencies: {
|
|
1573
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
1574
1573
|
name: string;
|
|
1574
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
1575
1575
|
versionRange: string;
|
|
1576
1576
|
optional?: boolean | undefined;
|
|
1577
1577
|
}[];
|
|
1578
1578
|
internalDependencies: string[];
|
|
1579
1579
|
exports: {
|
|
1580
|
-
kind: "hook" | "
|
|
1580
|
+
kind: "hook" | "style" | "type" | "component" | "utility";
|
|
1581
1581
|
name: string;
|
|
1582
1582
|
path?: string | undefined;
|
|
1583
1583
|
}[];
|
|
1584
|
-
category?: string | undefined;
|
|
1585
1584
|
contract?: unknown;
|
|
1585
|
+
category?: string | undefined;
|
|
1586
1586
|
}, {
|
|
1587
1587
|
name: string;
|
|
1588
1588
|
componentId: string;
|
|
1589
1589
|
publicRef: string;
|
|
1590
1590
|
files: {
|
|
1591
|
-
path: string;
|
|
1592
1591
|
size: number;
|
|
1593
|
-
|
|
1592
|
+
path: string;
|
|
1593
|
+
role: "source" | "style" | "contract" | "token" | "metadata" | "example" | "test" | "story" | "asset" | "barrel";
|
|
1594
1594
|
contentType: string;
|
|
1595
1595
|
sha256: string;
|
|
1596
1596
|
contentRef: string;
|
|
1597
1597
|
}[];
|
|
1598
1598
|
status?: string | undefined;
|
|
1599
|
-
category?: string | undefined;
|
|
1600
1599
|
contract?: unknown;
|
|
1601
1600
|
provenance?: Record<string, unknown> | undefined;
|
|
1602
|
-
|
|
1601
|
+
category?: string | undefined;
|
|
1602
|
+
tier?: "core" | "custom" | "composition" | "utility" | undefined;
|
|
1603
1603
|
examples?: unknown[] | undefined;
|
|
1604
1604
|
styleFiles?: string[] | undefined;
|
|
1605
1605
|
tokenDependencies?: string[] | undefined;
|
|
1606
1606
|
runtimeDependencies?: {
|
|
1607
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
1608
1607
|
name: string;
|
|
1608
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
1609
1609
|
versionRange: string;
|
|
1610
1610
|
optional?: boolean | undefined;
|
|
1611
1611
|
}[] | undefined;
|
|
1612
1612
|
peerDependencies?: {
|
|
1613
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
1614
1613
|
name: string;
|
|
1614
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
1615
1615
|
versionRange: string;
|
|
1616
1616
|
optional?: boolean | undefined;
|
|
1617
1617
|
}[] | undefined;
|
|
1618
1618
|
internalDependencies?: string[] | undefined;
|
|
1619
1619
|
exports?: {
|
|
1620
1620
|
name: string;
|
|
1621
|
+
kind?: "hook" | "style" | "type" | "component" | "utility" | undefined;
|
|
1621
1622
|
path?: string | undefined;
|
|
1622
|
-
kind?: "hook" | "type" | "component" | "style" | "utility" | undefined;
|
|
1623
1623
|
}[] | undefined;
|
|
1624
1624
|
}>>;
|
|
1625
1625
|
dependencies: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -1628,13 +1628,13 @@ declare const registryArtifactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1628
1628
|
type: z.ZodEnum<["runtime", "peer", "dev", "optional"]>;
|
|
1629
1629
|
optional: z.ZodOptional<z.ZodBoolean>;
|
|
1630
1630
|
}, "strip", z.ZodTypeAny, {
|
|
1631
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
1632
1631
|
name: string;
|
|
1632
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
1633
1633
|
versionRange: string;
|
|
1634
1634
|
optional?: boolean | undefined;
|
|
1635
1635
|
}, {
|
|
1636
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
1637
1636
|
name: string;
|
|
1637
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
1638
1638
|
versionRange: string;
|
|
1639
1639
|
optional?: boolean | undefined;
|
|
1640
1640
|
}>, "many">>;
|
|
@@ -1666,12 +1666,12 @@ declare const registryArtifactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1666
1666
|
componentId: string;
|
|
1667
1667
|
publicRef: string;
|
|
1668
1668
|
provenance: Record<string, unknown>;
|
|
1669
|
-
tier: "
|
|
1669
|
+
tier: "core" | "custom" | "composition" | "utility";
|
|
1670
1670
|
examples: unknown[];
|
|
1671
1671
|
files: {
|
|
1672
|
-
path: string;
|
|
1673
1672
|
size: number;
|
|
1674
|
-
|
|
1673
|
+
path: string;
|
|
1674
|
+
role: "source" | "style" | "contract" | "token" | "metadata" | "example" | "test" | "story" | "asset" | "barrel";
|
|
1675
1675
|
contentType: string;
|
|
1676
1676
|
sha256: string;
|
|
1677
1677
|
contentRef: string;
|
|
@@ -1679,25 +1679,25 @@ declare const registryArtifactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1679
1679
|
styleFiles: string[];
|
|
1680
1680
|
tokenDependencies: string[];
|
|
1681
1681
|
runtimeDependencies: {
|
|
1682
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
1683
1682
|
name: string;
|
|
1683
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
1684
1684
|
versionRange: string;
|
|
1685
1685
|
optional?: boolean | undefined;
|
|
1686
1686
|
}[];
|
|
1687
1687
|
peerDependencies: {
|
|
1688
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
1689
1688
|
name: string;
|
|
1689
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
1690
1690
|
versionRange: string;
|
|
1691
1691
|
optional?: boolean | undefined;
|
|
1692
1692
|
}[];
|
|
1693
1693
|
internalDependencies: string[];
|
|
1694
1694
|
exports: {
|
|
1695
|
-
kind: "hook" | "
|
|
1695
|
+
kind: "hook" | "style" | "type" | "component" | "utility";
|
|
1696
1696
|
name: string;
|
|
1697
1697
|
path?: string | undefined;
|
|
1698
1698
|
}[];
|
|
1699
|
-
category?: string | undefined;
|
|
1700
1699
|
contract?: unknown;
|
|
1700
|
+
category?: string | undefined;
|
|
1701
1701
|
}>;
|
|
1702
1702
|
schemaVersion: "fragments.registry.v1";
|
|
1703
1703
|
generatedAt: string;
|
|
@@ -1725,24 +1725,24 @@ declare const registryArtifactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1725
1725
|
registryHash: string;
|
|
1726
1726
|
version: string;
|
|
1727
1727
|
dependencies: {
|
|
1728
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
1729
1728
|
name: string;
|
|
1729
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
1730
1730
|
versionRange: string;
|
|
1731
1731
|
optional?: boolean | undefined;
|
|
1732
1732
|
}[];
|
|
1733
1733
|
channel: string;
|
|
1734
1734
|
packageFiles: {
|
|
1735
|
-
path: string;
|
|
1736
1735
|
size: number;
|
|
1737
|
-
|
|
1736
|
+
path: string;
|
|
1737
|
+
role: "source" | "style" | "contract" | "token" | "metadata" | "example" | "test" | "story" | "asset" | "barrel";
|
|
1738
1738
|
contentType: string;
|
|
1739
1739
|
sha256: string;
|
|
1740
1740
|
contentRef: string;
|
|
1741
1741
|
}[];
|
|
1742
1742
|
baseFiles: {
|
|
1743
|
-
path: string;
|
|
1744
1743
|
size: number;
|
|
1745
|
-
|
|
1744
|
+
path: string;
|
|
1745
|
+
role: "source" | "style" | "contract" | "token" | "metadata" | "example" | "test" | "story" | "asset" | "barrel";
|
|
1746
1746
|
contentType: string;
|
|
1747
1747
|
sha256: string;
|
|
1748
1748
|
contentRef: string;
|
|
@@ -1766,38 +1766,38 @@ declare const registryArtifactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1766
1766
|
componentId: string;
|
|
1767
1767
|
publicRef: string;
|
|
1768
1768
|
files: {
|
|
1769
|
-
path: string;
|
|
1770
1769
|
size: number;
|
|
1771
|
-
|
|
1770
|
+
path: string;
|
|
1771
|
+
role: "source" | "style" | "contract" | "token" | "metadata" | "example" | "test" | "story" | "asset" | "barrel";
|
|
1772
1772
|
contentType: string;
|
|
1773
1773
|
sha256: string;
|
|
1774
1774
|
contentRef: string;
|
|
1775
1775
|
}[];
|
|
1776
1776
|
status?: string | undefined;
|
|
1777
|
-
category?: string | undefined;
|
|
1778
1777
|
contract?: unknown;
|
|
1779
1778
|
provenance?: Record<string, unknown> | undefined;
|
|
1780
|
-
|
|
1779
|
+
category?: string | undefined;
|
|
1780
|
+
tier?: "core" | "custom" | "composition" | "utility" | undefined;
|
|
1781
1781
|
examples?: unknown[] | undefined;
|
|
1782
1782
|
styleFiles?: string[] | undefined;
|
|
1783
1783
|
tokenDependencies?: string[] | undefined;
|
|
1784
1784
|
runtimeDependencies?: {
|
|
1785
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
1786
1785
|
name: string;
|
|
1786
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
1787
1787
|
versionRange: string;
|
|
1788
1788
|
optional?: boolean | undefined;
|
|
1789
1789
|
}[] | undefined;
|
|
1790
1790
|
peerDependencies?: {
|
|
1791
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
1792
1791
|
name: string;
|
|
1792
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
1793
1793
|
versionRange: string;
|
|
1794
1794
|
optional?: boolean | undefined;
|
|
1795
1795
|
}[] | undefined;
|
|
1796
1796
|
internalDependencies?: string[] | undefined;
|
|
1797
1797
|
exports?: {
|
|
1798
1798
|
name: string;
|
|
1799
|
+
kind?: "hook" | "style" | "type" | "component" | "utility" | undefined;
|
|
1799
1800
|
path?: string | undefined;
|
|
1800
|
-
kind?: "hook" | "type" | "component" | "style" | "utility" | undefined;
|
|
1801
1801
|
}[] | undefined;
|
|
1802
1802
|
}>;
|
|
1803
1803
|
schemaVersion: "fragments.registry.v1";
|
|
@@ -1828,24 +1828,24 @@ declare const registryArtifactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1828
1828
|
channel: string;
|
|
1829
1829
|
fcid?: string | undefined;
|
|
1830
1830
|
dependencies?: {
|
|
1831
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
1832
1831
|
name: string;
|
|
1832
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
1833
1833
|
versionRange: string;
|
|
1834
1834
|
optional?: boolean | undefined;
|
|
1835
1835
|
}[] | undefined;
|
|
1836
1836
|
contractVersionId?: string | undefined;
|
|
1837
1837
|
packageFiles?: {
|
|
1838
|
-
path: string;
|
|
1839
1838
|
size: number;
|
|
1840
|
-
|
|
1839
|
+
path: string;
|
|
1840
|
+
role: "source" | "style" | "contract" | "token" | "metadata" | "example" | "test" | "story" | "asset" | "barrel";
|
|
1841
1841
|
contentType: string;
|
|
1842
1842
|
sha256: string;
|
|
1843
1843
|
contentRef: string;
|
|
1844
1844
|
}[] | undefined;
|
|
1845
1845
|
baseFiles?: {
|
|
1846
|
-
path: string;
|
|
1847
1846
|
size: number;
|
|
1848
|
-
|
|
1847
|
+
path: string;
|
|
1848
|
+
role: "source" | "style" | "contract" | "token" | "metadata" | "example" | "test" | "story" | "asset" | "barrel";
|
|
1849
1849
|
contentType: string;
|
|
1850
1850
|
sha256: string;
|
|
1851
1851
|
contentRef: string;
|
|
@@ -1869,14 +1869,14 @@ declare const registryArtifactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1869
1869
|
size: z.ZodNumber;
|
|
1870
1870
|
contentType: z.ZodString;
|
|
1871
1871
|
}, "strip", z.ZodTypeAny, {
|
|
1872
|
-
path: string;
|
|
1873
1872
|
size: number;
|
|
1873
|
+
path: string;
|
|
1874
1874
|
content: string;
|
|
1875
1875
|
contentType: string;
|
|
1876
1876
|
sha256: string;
|
|
1877
1877
|
}, {
|
|
1878
|
-
path: string;
|
|
1879
1878
|
size: number;
|
|
1879
|
+
path: string;
|
|
1880
1880
|
content: string;
|
|
1881
1881
|
contentType: string;
|
|
1882
1882
|
sha256: string;
|
|
@@ -1890,12 +1890,12 @@ declare const registryArtifactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1890
1890
|
componentId: string;
|
|
1891
1891
|
publicRef: string;
|
|
1892
1892
|
provenance: Record<string, unknown>;
|
|
1893
|
-
tier: "
|
|
1893
|
+
tier: "core" | "custom" | "composition" | "utility";
|
|
1894
1894
|
examples: unknown[];
|
|
1895
1895
|
files: {
|
|
1896
|
-
path: string;
|
|
1897
1896
|
size: number;
|
|
1898
|
-
|
|
1897
|
+
path: string;
|
|
1898
|
+
role: "source" | "style" | "contract" | "token" | "metadata" | "example" | "test" | "story" | "asset" | "barrel";
|
|
1899
1899
|
contentType: string;
|
|
1900
1900
|
sha256: string;
|
|
1901
1901
|
contentRef: string;
|
|
@@ -1903,25 +1903,25 @@ declare const registryArtifactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1903
1903
|
styleFiles: string[];
|
|
1904
1904
|
tokenDependencies: string[];
|
|
1905
1905
|
runtimeDependencies: {
|
|
1906
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
1907
1906
|
name: string;
|
|
1907
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
1908
1908
|
versionRange: string;
|
|
1909
1909
|
optional?: boolean | undefined;
|
|
1910
1910
|
}[];
|
|
1911
1911
|
peerDependencies: {
|
|
1912
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
1913
1912
|
name: string;
|
|
1913
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
1914
1914
|
versionRange: string;
|
|
1915
1915
|
optional?: boolean | undefined;
|
|
1916
1916
|
}[];
|
|
1917
1917
|
internalDependencies: string[];
|
|
1918
1918
|
exports: {
|
|
1919
|
-
kind: "hook" | "
|
|
1919
|
+
kind: "hook" | "style" | "type" | "component" | "utility";
|
|
1920
1920
|
name: string;
|
|
1921
1921
|
path?: string | undefined;
|
|
1922
1922
|
}[];
|
|
1923
|
-
category?: string | undefined;
|
|
1924
1923
|
contract?: unknown;
|
|
1924
|
+
category?: string | undefined;
|
|
1925
1925
|
}>;
|
|
1926
1926
|
schemaVersion: "fragments.registry.v1";
|
|
1927
1927
|
generatedAt: string;
|
|
@@ -1949,24 +1949,24 @@ declare const registryArtifactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1949
1949
|
registryHash: string;
|
|
1950
1950
|
version: string;
|
|
1951
1951
|
dependencies: {
|
|
1952
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
1953
1952
|
name: string;
|
|
1953
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
1954
1954
|
versionRange: string;
|
|
1955
1955
|
optional?: boolean | undefined;
|
|
1956
1956
|
}[];
|
|
1957
1957
|
channel: string;
|
|
1958
1958
|
packageFiles: {
|
|
1959
|
-
path: string;
|
|
1960
1959
|
size: number;
|
|
1961
|
-
|
|
1960
|
+
path: string;
|
|
1961
|
+
role: "source" | "style" | "contract" | "token" | "metadata" | "example" | "test" | "story" | "asset" | "barrel";
|
|
1962
1962
|
contentType: string;
|
|
1963
1963
|
sha256: string;
|
|
1964
1964
|
contentRef: string;
|
|
1965
1965
|
}[];
|
|
1966
1966
|
baseFiles: {
|
|
1967
|
-
path: string;
|
|
1968
1967
|
size: number;
|
|
1969
|
-
|
|
1968
|
+
path: string;
|
|
1969
|
+
role: "source" | "style" | "contract" | "token" | "metadata" | "example" | "test" | "story" | "asset" | "barrel";
|
|
1970
1970
|
contentType: string;
|
|
1971
1971
|
sha256: string;
|
|
1972
1972
|
contentRef: string;
|
|
@@ -1986,8 +1986,8 @@ declare const registryArtifactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1986
1986
|
contractVersionId?: string | undefined;
|
|
1987
1987
|
};
|
|
1988
1988
|
files: Record<string, {
|
|
1989
|
-
path: string;
|
|
1990
1989
|
size: number;
|
|
1990
|
+
path: string;
|
|
1991
1991
|
content: string;
|
|
1992
1992
|
contentType: string;
|
|
1993
1993
|
sha256: string;
|
|
@@ -2000,38 +2000,38 @@ declare const registryArtifactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2000
2000
|
componentId: string;
|
|
2001
2001
|
publicRef: string;
|
|
2002
2002
|
files: {
|
|
2003
|
-
path: string;
|
|
2004
2003
|
size: number;
|
|
2005
|
-
|
|
2004
|
+
path: string;
|
|
2005
|
+
role: "source" | "style" | "contract" | "token" | "metadata" | "example" | "test" | "story" | "asset" | "barrel";
|
|
2006
2006
|
contentType: string;
|
|
2007
2007
|
sha256: string;
|
|
2008
2008
|
contentRef: string;
|
|
2009
2009
|
}[];
|
|
2010
2010
|
status?: string | undefined;
|
|
2011
|
-
category?: string | undefined;
|
|
2012
2011
|
contract?: unknown;
|
|
2013
2012
|
provenance?: Record<string, unknown> | undefined;
|
|
2014
|
-
|
|
2013
|
+
category?: string | undefined;
|
|
2014
|
+
tier?: "core" | "custom" | "composition" | "utility" | undefined;
|
|
2015
2015
|
examples?: unknown[] | undefined;
|
|
2016
2016
|
styleFiles?: string[] | undefined;
|
|
2017
2017
|
tokenDependencies?: string[] | undefined;
|
|
2018
2018
|
runtimeDependencies?: {
|
|
2019
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
2020
2019
|
name: string;
|
|
2020
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
2021
2021
|
versionRange: string;
|
|
2022
2022
|
optional?: boolean | undefined;
|
|
2023
2023
|
}[] | undefined;
|
|
2024
2024
|
peerDependencies?: {
|
|
2025
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
2026
2025
|
name: string;
|
|
2026
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
2027
2027
|
versionRange: string;
|
|
2028
2028
|
optional?: boolean | undefined;
|
|
2029
2029
|
}[] | undefined;
|
|
2030
2030
|
internalDependencies?: string[] | undefined;
|
|
2031
2031
|
exports?: {
|
|
2032
2032
|
name: string;
|
|
2033
|
+
kind?: "hook" | "style" | "type" | "component" | "utility" | undefined;
|
|
2033
2034
|
path?: string | undefined;
|
|
2034
|
-
kind?: "hook" | "type" | "component" | "style" | "utility" | undefined;
|
|
2035
2035
|
}[] | undefined;
|
|
2036
2036
|
}>;
|
|
2037
2037
|
schemaVersion: "fragments.registry.v1";
|
|
@@ -2062,24 +2062,24 @@ declare const registryArtifactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2062
2062
|
channel: string;
|
|
2063
2063
|
fcid?: string | undefined;
|
|
2064
2064
|
dependencies?: {
|
|
2065
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
2066
2065
|
name: string;
|
|
2066
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
2067
2067
|
versionRange: string;
|
|
2068
2068
|
optional?: boolean | undefined;
|
|
2069
2069
|
}[] | undefined;
|
|
2070
2070
|
contractVersionId?: string | undefined;
|
|
2071
2071
|
packageFiles?: {
|
|
2072
|
-
path: string;
|
|
2073
2072
|
size: number;
|
|
2074
|
-
|
|
2073
|
+
path: string;
|
|
2074
|
+
role: "source" | "style" | "contract" | "token" | "metadata" | "example" | "test" | "story" | "asset" | "barrel";
|
|
2075
2075
|
contentType: string;
|
|
2076
2076
|
sha256: string;
|
|
2077
2077
|
contentRef: string;
|
|
2078
2078
|
}[] | undefined;
|
|
2079
2079
|
baseFiles?: {
|
|
2080
|
-
path: string;
|
|
2081
2080
|
size: number;
|
|
2082
|
-
|
|
2081
|
+
path: string;
|
|
2082
|
+
role: "source" | "style" | "contract" | "token" | "metadata" | "example" | "test" | "story" | "asset" | "barrel";
|
|
2083
2083
|
contentType: string;
|
|
2084
2084
|
sha256: string;
|
|
2085
2085
|
contentRef: string;
|
|
@@ -2097,8 +2097,8 @@ declare const registryArtifactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2097
2097
|
}[] | undefined;
|
|
2098
2098
|
};
|
|
2099
2099
|
files: Record<string, {
|
|
2100
|
-
path: string;
|
|
2101
2100
|
size: number;
|
|
2101
|
+
path: string;
|
|
2102
2102
|
content: string;
|
|
2103
2103
|
contentType: string;
|
|
2104
2104
|
sha256: string;
|
|
@@ -2112,12 +2112,12 @@ declare const registryArtifactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2112
2112
|
componentId: string;
|
|
2113
2113
|
publicRef: string;
|
|
2114
2114
|
provenance: Record<string, unknown>;
|
|
2115
|
-
tier: "
|
|
2115
|
+
tier: "core" | "custom" | "composition" | "utility";
|
|
2116
2116
|
examples: unknown[];
|
|
2117
2117
|
files: {
|
|
2118
|
-
path: string;
|
|
2119
2118
|
size: number;
|
|
2120
|
-
|
|
2119
|
+
path: string;
|
|
2120
|
+
role: "source" | "style" | "contract" | "token" | "metadata" | "example" | "test" | "story" | "asset" | "barrel";
|
|
2121
2121
|
contentType: string;
|
|
2122
2122
|
sha256: string;
|
|
2123
2123
|
contentRef: string;
|
|
@@ -2125,25 +2125,25 @@ declare const registryArtifactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2125
2125
|
styleFiles: string[];
|
|
2126
2126
|
tokenDependencies: string[];
|
|
2127
2127
|
runtimeDependencies: {
|
|
2128
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
2129
2128
|
name: string;
|
|
2129
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
2130
2130
|
versionRange: string;
|
|
2131
2131
|
optional?: boolean | undefined;
|
|
2132
2132
|
}[];
|
|
2133
2133
|
peerDependencies: {
|
|
2134
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
2135
2134
|
name: string;
|
|
2135
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
2136
2136
|
versionRange: string;
|
|
2137
2137
|
optional?: boolean | undefined;
|
|
2138
2138
|
}[];
|
|
2139
2139
|
internalDependencies: string[];
|
|
2140
2140
|
exports: {
|
|
2141
|
-
kind: "hook" | "
|
|
2141
|
+
kind: "hook" | "style" | "type" | "component" | "utility";
|
|
2142
2142
|
name: string;
|
|
2143
2143
|
path?: string | undefined;
|
|
2144
2144
|
}[];
|
|
2145
|
-
category?: string | undefined;
|
|
2146
2145
|
contract?: unknown;
|
|
2146
|
+
category?: string | undefined;
|
|
2147
2147
|
}>;
|
|
2148
2148
|
schemaVersion: "fragments.registry.v1";
|
|
2149
2149
|
generatedAt: string;
|
|
@@ -2171,24 +2171,24 @@ declare const registryArtifactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2171
2171
|
registryHash: string;
|
|
2172
2172
|
version: string;
|
|
2173
2173
|
dependencies: {
|
|
2174
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
2175
2174
|
name: string;
|
|
2175
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
2176
2176
|
versionRange: string;
|
|
2177
2177
|
optional?: boolean | undefined;
|
|
2178
2178
|
}[];
|
|
2179
2179
|
channel: string;
|
|
2180
2180
|
packageFiles: {
|
|
2181
|
-
path: string;
|
|
2182
2181
|
size: number;
|
|
2183
|
-
|
|
2182
|
+
path: string;
|
|
2183
|
+
role: "source" | "style" | "contract" | "token" | "metadata" | "example" | "test" | "story" | "asset" | "barrel";
|
|
2184
2184
|
contentType: string;
|
|
2185
2185
|
sha256: string;
|
|
2186
2186
|
contentRef: string;
|
|
2187
2187
|
}[];
|
|
2188
2188
|
baseFiles: {
|
|
2189
|
-
path: string;
|
|
2190
2189
|
size: number;
|
|
2191
|
-
|
|
2190
|
+
path: string;
|
|
2191
|
+
role: "source" | "style" | "contract" | "token" | "metadata" | "example" | "test" | "story" | "asset" | "barrel";
|
|
2192
2192
|
contentType: string;
|
|
2193
2193
|
sha256: string;
|
|
2194
2194
|
contentRef: string;
|
|
@@ -2208,8 +2208,8 @@ declare const registryArtifactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2208
2208
|
contractVersionId?: string | undefined;
|
|
2209
2209
|
};
|
|
2210
2210
|
files: Record<string, {
|
|
2211
|
-
path: string;
|
|
2212
2211
|
size: number;
|
|
2212
|
+
path: string;
|
|
2213
2213
|
content: string;
|
|
2214
2214
|
contentType: string;
|
|
2215
2215
|
sha256: string;
|
|
@@ -2222,38 +2222,38 @@ declare const registryArtifactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2222
2222
|
componentId: string;
|
|
2223
2223
|
publicRef: string;
|
|
2224
2224
|
files: {
|
|
2225
|
-
path: string;
|
|
2226
2225
|
size: number;
|
|
2227
|
-
|
|
2226
|
+
path: string;
|
|
2227
|
+
role: "source" | "style" | "contract" | "token" | "metadata" | "example" | "test" | "story" | "asset" | "barrel";
|
|
2228
2228
|
contentType: string;
|
|
2229
2229
|
sha256: string;
|
|
2230
2230
|
contentRef: string;
|
|
2231
2231
|
}[];
|
|
2232
2232
|
status?: string | undefined;
|
|
2233
|
-
category?: string | undefined;
|
|
2234
2233
|
contract?: unknown;
|
|
2235
2234
|
provenance?: Record<string, unknown> | undefined;
|
|
2236
|
-
|
|
2235
|
+
category?: string | undefined;
|
|
2236
|
+
tier?: "core" | "custom" | "composition" | "utility" | undefined;
|
|
2237
2237
|
examples?: unknown[] | undefined;
|
|
2238
2238
|
styleFiles?: string[] | undefined;
|
|
2239
2239
|
tokenDependencies?: string[] | undefined;
|
|
2240
2240
|
runtimeDependencies?: {
|
|
2241
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
2242
2241
|
name: string;
|
|
2242
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
2243
2243
|
versionRange: string;
|
|
2244
2244
|
optional?: boolean | undefined;
|
|
2245
2245
|
}[] | undefined;
|
|
2246
2246
|
peerDependencies?: {
|
|
2247
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
2248
2247
|
name: string;
|
|
2248
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
2249
2249
|
versionRange: string;
|
|
2250
2250
|
optional?: boolean | undefined;
|
|
2251
2251
|
}[] | undefined;
|
|
2252
2252
|
internalDependencies?: string[] | undefined;
|
|
2253
2253
|
exports?: {
|
|
2254
2254
|
name: string;
|
|
2255
|
+
kind?: "hook" | "style" | "type" | "component" | "utility" | undefined;
|
|
2255
2256
|
path?: string | undefined;
|
|
2256
|
-
kind?: "hook" | "type" | "component" | "style" | "utility" | undefined;
|
|
2257
2257
|
}[] | undefined;
|
|
2258
2258
|
}>;
|
|
2259
2259
|
schemaVersion: "fragments.registry.v1";
|
|
@@ -2284,24 +2284,24 @@ declare const registryArtifactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2284
2284
|
channel: string;
|
|
2285
2285
|
fcid?: string | undefined;
|
|
2286
2286
|
dependencies?: {
|
|
2287
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
2288
2287
|
name: string;
|
|
2288
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
2289
2289
|
versionRange: string;
|
|
2290
2290
|
optional?: boolean | undefined;
|
|
2291
2291
|
}[] | undefined;
|
|
2292
2292
|
contractVersionId?: string | undefined;
|
|
2293
2293
|
packageFiles?: {
|
|
2294
|
-
path: string;
|
|
2295
2294
|
size: number;
|
|
2296
|
-
|
|
2295
|
+
path: string;
|
|
2296
|
+
role: "source" | "style" | "contract" | "token" | "metadata" | "example" | "test" | "story" | "asset" | "barrel";
|
|
2297
2297
|
contentType: string;
|
|
2298
2298
|
sha256: string;
|
|
2299
2299
|
contentRef: string;
|
|
2300
2300
|
}[] | undefined;
|
|
2301
2301
|
baseFiles?: {
|
|
2302
|
-
path: string;
|
|
2303
2302
|
size: number;
|
|
2304
|
-
|
|
2303
|
+
path: string;
|
|
2304
|
+
role: "source" | "style" | "contract" | "token" | "metadata" | "example" | "test" | "story" | "asset" | "barrel";
|
|
2305
2305
|
contentType: string;
|
|
2306
2306
|
sha256: string;
|
|
2307
2307
|
contentRef: string;
|
|
@@ -2319,8 +2319,8 @@ declare const registryArtifactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2319
2319
|
}[] | undefined;
|
|
2320
2320
|
};
|
|
2321
2321
|
files: Record<string, {
|
|
2322
|
-
path: string;
|
|
2323
2322
|
size: number;
|
|
2323
|
+
path: string;
|
|
2324
2324
|
content: string;
|
|
2325
2325
|
contentType: string;
|
|
2326
2326
|
sha256: string;
|
|
@@ -2405,13 +2405,13 @@ declare const registryInstallReceiptSchema: z.ZodObject<{
|
|
|
2405
2405
|
type: z.ZodEnum<["runtime", "peer", "dev", "optional"]>;
|
|
2406
2406
|
optional: z.ZodOptional<z.ZodBoolean>;
|
|
2407
2407
|
}, "strip", z.ZodTypeAny, {
|
|
2408
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
2409
2408
|
name: string;
|
|
2409
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
2410
2410
|
versionRange: string;
|
|
2411
2411
|
optional?: boolean | undefined;
|
|
2412
2412
|
}, {
|
|
2413
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
2414
2413
|
name: string;
|
|
2414
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
2415
2415
|
versionRange: string;
|
|
2416
2416
|
optional?: boolean | undefined;
|
|
2417
2417
|
}>, "many">>;
|
|
@@ -2422,8 +2422,8 @@ declare const registryInstallReceiptSchema: z.ZodObject<{
|
|
|
2422
2422
|
registryId: string;
|
|
2423
2423
|
registryHash: string;
|
|
2424
2424
|
dependencies: {
|
|
2425
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
2426
2425
|
name: string;
|
|
2426
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
2427
2427
|
versionRange: string;
|
|
2428
2428
|
optional?: boolean | undefined;
|
|
2429
2429
|
}[];
|
|
@@ -2466,8 +2466,8 @@ declare const registryInstallReceiptSchema: z.ZodObject<{
|
|
|
2466
2466
|
installedAt: string;
|
|
2467
2467
|
fcid?: string | undefined;
|
|
2468
2468
|
dependencies?: {
|
|
2469
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
2470
2469
|
name: string;
|
|
2470
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
2471
2471
|
versionRange: string;
|
|
2472
2472
|
optional?: boolean | undefined;
|
|
2473
2473
|
}[] | undefined;
|
|
@@ -2523,14 +2523,14 @@ declare const registryShardSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2523
2523
|
size: z.ZodNumber;
|
|
2524
2524
|
contentType: z.ZodString;
|
|
2525
2525
|
}, "strip", z.ZodTypeAny, {
|
|
2526
|
-
path: string;
|
|
2527
2526
|
size: number;
|
|
2527
|
+
path: string;
|
|
2528
2528
|
content: string;
|
|
2529
2529
|
contentType: string;
|
|
2530
2530
|
sha256: string;
|
|
2531
2531
|
}, {
|
|
2532
|
-
path: string;
|
|
2533
2532
|
size: number;
|
|
2533
|
+
path: string;
|
|
2534
2534
|
content: string;
|
|
2535
2535
|
contentType: string;
|
|
2536
2536
|
sha256: string;
|
|
@@ -2538,8 +2538,8 @@ declare const registryShardSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2538
2538
|
}, "strip", z.ZodTypeAny, {
|
|
2539
2539
|
schemaVersion: "fragments.registry-shard.v2";
|
|
2540
2540
|
files: Record<string, {
|
|
2541
|
-
path: string;
|
|
2542
2541
|
size: number;
|
|
2542
|
+
path: string;
|
|
2543
2543
|
content: string;
|
|
2544
2544
|
contentType: string;
|
|
2545
2545
|
sha256: string;
|
|
@@ -2547,8 +2547,8 @@ declare const registryShardSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2547
2547
|
}, {
|
|
2548
2548
|
schemaVersion: "fragments.registry-shard.v2";
|
|
2549
2549
|
files: Record<string, {
|
|
2550
|
-
path: string;
|
|
2551
2550
|
size: number;
|
|
2551
|
+
path: string;
|
|
2552
2552
|
content: string;
|
|
2553
2553
|
contentType: string;
|
|
2554
2554
|
sha256: string;
|
|
@@ -2556,8 +2556,8 @@ declare const registryShardSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2556
2556
|
}>, {
|
|
2557
2557
|
schemaVersion: "fragments.registry-shard.v2";
|
|
2558
2558
|
files: Record<string, {
|
|
2559
|
-
path: string;
|
|
2560
2559
|
size: number;
|
|
2560
|
+
path: string;
|
|
2561
2561
|
content: string;
|
|
2562
2562
|
contentType: string;
|
|
2563
2563
|
sha256: string;
|
|
@@ -2565,8 +2565,8 @@ declare const registryShardSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2565
2565
|
}, {
|
|
2566
2566
|
schemaVersion: "fragments.registry-shard.v2";
|
|
2567
2567
|
files: Record<string, {
|
|
2568
|
-
path: string;
|
|
2569
2568
|
size: number;
|
|
2569
|
+
path: string;
|
|
2570
2570
|
content: string;
|
|
2571
2571
|
contentType: string;
|
|
2572
2572
|
sha256: string;
|
|
@@ -2646,16 +2646,16 @@ declare const registryIndexSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2646
2646
|
contentType: z.ZodString;
|
|
2647
2647
|
contentRef: z.ZodString;
|
|
2648
2648
|
}, "strip", z.ZodTypeAny, {
|
|
2649
|
-
path: string;
|
|
2650
2649
|
size: number;
|
|
2651
|
-
|
|
2650
|
+
path: string;
|
|
2651
|
+
role: "source" | "style" | "contract" | "token" | "metadata" | "example" | "test" | "story" | "asset" | "barrel";
|
|
2652
2652
|
contentType: string;
|
|
2653
2653
|
sha256: string;
|
|
2654
2654
|
contentRef: string;
|
|
2655
2655
|
}, {
|
|
2656
|
-
path: string;
|
|
2657
2656
|
size: number;
|
|
2658
|
-
|
|
2657
|
+
path: string;
|
|
2658
|
+
role: "source" | "style" | "contract" | "token" | "metadata" | "example" | "test" | "story" | "asset" | "barrel";
|
|
2659
2659
|
contentType: string;
|
|
2660
2660
|
sha256: string;
|
|
2661
2661
|
contentRef: string;
|
|
@@ -2669,16 +2669,16 @@ declare const registryIndexSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2669
2669
|
contentType: z.ZodString;
|
|
2670
2670
|
contentRef: z.ZodString;
|
|
2671
2671
|
}, "strip", z.ZodTypeAny, {
|
|
2672
|
-
path: string;
|
|
2673
2672
|
size: number;
|
|
2674
|
-
|
|
2673
|
+
path: string;
|
|
2674
|
+
role: "source" | "style" | "contract" | "token" | "metadata" | "example" | "test" | "story" | "asset" | "barrel";
|
|
2675
2675
|
contentType: string;
|
|
2676
2676
|
sha256: string;
|
|
2677
2677
|
contentRef: string;
|
|
2678
2678
|
}, {
|
|
2679
|
-
path: string;
|
|
2680
2679
|
size: number;
|
|
2681
|
-
|
|
2680
|
+
path: string;
|
|
2681
|
+
role: "source" | "style" | "contract" | "token" | "metadata" | "example" | "test" | "story" | "asset" | "barrel";
|
|
2682
2682
|
contentType: string;
|
|
2683
2683
|
sha256: string;
|
|
2684
2684
|
contentRef: string;
|
|
@@ -2708,16 +2708,16 @@ declare const registryIndexSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2708
2708
|
contentType: z.ZodString;
|
|
2709
2709
|
contentRef: z.ZodString;
|
|
2710
2710
|
}, "strip", z.ZodTypeAny, {
|
|
2711
|
-
path: string;
|
|
2712
2711
|
size: number;
|
|
2713
|
-
|
|
2712
|
+
path: string;
|
|
2713
|
+
role: "source" | "style" | "contract" | "token" | "metadata" | "example" | "test" | "story" | "asset" | "barrel";
|
|
2714
2714
|
contentType: string;
|
|
2715
2715
|
sha256: string;
|
|
2716
2716
|
contentRef: string;
|
|
2717
2717
|
}, {
|
|
2718
|
-
path: string;
|
|
2719
2718
|
size: number;
|
|
2720
|
-
|
|
2719
|
+
path: string;
|
|
2720
|
+
role: "source" | "style" | "contract" | "token" | "metadata" | "example" | "test" | "story" | "asset" | "barrel";
|
|
2721
2721
|
contentType: string;
|
|
2722
2722
|
sha256: string;
|
|
2723
2723
|
contentRef: string;
|
|
@@ -2730,13 +2730,13 @@ declare const registryIndexSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2730
2730
|
type: z.ZodEnum<["runtime", "peer", "dev", "optional"]>;
|
|
2731
2731
|
optional: z.ZodOptional<z.ZodBoolean>;
|
|
2732
2732
|
}, "strip", z.ZodTypeAny, {
|
|
2733
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
2734
2733
|
name: string;
|
|
2734
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
2735
2735
|
versionRange: string;
|
|
2736
2736
|
optional?: boolean | undefined;
|
|
2737
2737
|
}, {
|
|
2738
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
2739
2738
|
name: string;
|
|
2739
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
2740
2740
|
versionRange: string;
|
|
2741
2741
|
optional?: boolean | undefined;
|
|
2742
2742
|
}>, "many">>;
|
|
@@ -2746,13 +2746,13 @@ declare const registryIndexSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2746
2746
|
type: z.ZodEnum<["runtime", "peer", "dev", "optional"]>;
|
|
2747
2747
|
optional: z.ZodOptional<z.ZodBoolean>;
|
|
2748
2748
|
}, "strip", z.ZodTypeAny, {
|
|
2749
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
2750
2749
|
name: string;
|
|
2750
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
2751
2751
|
versionRange: string;
|
|
2752
2752
|
optional?: boolean | undefined;
|
|
2753
2753
|
}, {
|
|
2754
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
2755
2754
|
name: string;
|
|
2755
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
2756
2756
|
versionRange: string;
|
|
2757
2757
|
optional?: boolean | undefined;
|
|
2758
2758
|
}>, "many">>;
|
|
@@ -2762,13 +2762,13 @@ declare const registryIndexSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2762
2762
|
kind: z.ZodDefault<z.ZodEnum<["component", "hook", "utility", "type", "style"]>>;
|
|
2763
2763
|
path: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
2764
2764
|
}, "strip", z.ZodTypeAny, {
|
|
2765
|
-
kind: "hook" | "
|
|
2765
|
+
kind: "hook" | "style" | "type" | "component" | "utility";
|
|
2766
2766
|
name: string;
|
|
2767
2767
|
path?: string | undefined;
|
|
2768
2768
|
}, {
|
|
2769
2769
|
name: string;
|
|
2770
|
+
kind?: "hook" | "style" | "type" | "component" | "utility" | undefined;
|
|
2770
2771
|
path?: string | undefined;
|
|
2771
|
-
kind?: "hook" | "type" | "component" | "style" | "utility" | undefined;
|
|
2772
2772
|
}>, "many">>;
|
|
2773
2773
|
contract: z.ZodOptional<z.ZodUnknown>;
|
|
2774
2774
|
examples: z.ZodDefault<z.ZodArray<z.ZodUnknown, "many">>;
|
|
@@ -2779,12 +2779,12 @@ declare const registryIndexSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2779
2779
|
componentId: string;
|
|
2780
2780
|
publicRef: string;
|
|
2781
2781
|
provenance: Record<string, unknown>;
|
|
2782
|
-
tier: "
|
|
2782
|
+
tier: "core" | "custom" | "composition" | "utility";
|
|
2783
2783
|
examples: unknown[];
|
|
2784
2784
|
files: {
|
|
2785
|
-
path: string;
|
|
2786
2785
|
size: number;
|
|
2787
|
-
|
|
2786
|
+
path: string;
|
|
2787
|
+
role: "source" | "style" | "contract" | "token" | "metadata" | "example" | "test" | "story" | "asset" | "barrel";
|
|
2788
2788
|
contentType: string;
|
|
2789
2789
|
sha256: string;
|
|
2790
2790
|
contentRef: string;
|
|
@@ -2792,62 +2792,62 @@ declare const registryIndexSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2792
2792
|
styleFiles: string[];
|
|
2793
2793
|
tokenDependencies: string[];
|
|
2794
2794
|
runtimeDependencies: {
|
|
2795
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
2796
2795
|
name: string;
|
|
2796
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
2797
2797
|
versionRange: string;
|
|
2798
2798
|
optional?: boolean | undefined;
|
|
2799
2799
|
}[];
|
|
2800
2800
|
peerDependencies: {
|
|
2801
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
2802
2801
|
name: string;
|
|
2802
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
2803
2803
|
versionRange: string;
|
|
2804
2804
|
optional?: boolean | undefined;
|
|
2805
2805
|
}[];
|
|
2806
2806
|
internalDependencies: string[];
|
|
2807
2807
|
exports: {
|
|
2808
|
-
kind: "hook" | "
|
|
2808
|
+
kind: "hook" | "style" | "type" | "component" | "utility";
|
|
2809
2809
|
name: string;
|
|
2810
2810
|
path?: string | undefined;
|
|
2811
2811
|
}[];
|
|
2812
|
-
category?: string | undefined;
|
|
2813
2812
|
contract?: unknown;
|
|
2813
|
+
category?: string | undefined;
|
|
2814
2814
|
}, {
|
|
2815
2815
|
name: string;
|
|
2816
2816
|
componentId: string;
|
|
2817
2817
|
publicRef: string;
|
|
2818
2818
|
files: {
|
|
2819
|
-
path: string;
|
|
2820
2819
|
size: number;
|
|
2821
|
-
|
|
2820
|
+
path: string;
|
|
2821
|
+
role: "source" | "style" | "contract" | "token" | "metadata" | "example" | "test" | "story" | "asset" | "barrel";
|
|
2822
2822
|
contentType: string;
|
|
2823
2823
|
sha256: string;
|
|
2824
2824
|
contentRef: string;
|
|
2825
2825
|
}[];
|
|
2826
2826
|
status?: string | undefined;
|
|
2827
|
-
category?: string | undefined;
|
|
2828
2827
|
contract?: unknown;
|
|
2829
2828
|
provenance?: Record<string, unknown> | undefined;
|
|
2830
|
-
|
|
2829
|
+
category?: string | undefined;
|
|
2830
|
+
tier?: "core" | "custom" | "composition" | "utility" | undefined;
|
|
2831
2831
|
examples?: unknown[] | undefined;
|
|
2832
2832
|
styleFiles?: string[] | undefined;
|
|
2833
2833
|
tokenDependencies?: string[] | undefined;
|
|
2834
2834
|
runtimeDependencies?: {
|
|
2835
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
2836
2835
|
name: string;
|
|
2836
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
2837
2837
|
versionRange: string;
|
|
2838
2838
|
optional?: boolean | undefined;
|
|
2839
2839
|
}[] | undefined;
|
|
2840
2840
|
peerDependencies?: {
|
|
2841
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
2842
2841
|
name: string;
|
|
2842
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
2843
2843
|
versionRange: string;
|
|
2844
2844
|
optional?: boolean | undefined;
|
|
2845
2845
|
}[] | undefined;
|
|
2846
2846
|
internalDependencies?: string[] | undefined;
|
|
2847
2847
|
exports?: {
|
|
2848
2848
|
name: string;
|
|
2849
|
+
kind?: "hook" | "style" | "type" | "component" | "utility" | undefined;
|
|
2849
2850
|
path?: string | undefined;
|
|
2850
|
-
kind?: "hook" | "type" | "component" | "style" | "utility" | undefined;
|
|
2851
2851
|
}[] | undefined;
|
|
2852
2852
|
}>>;
|
|
2853
2853
|
dependencies: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -2856,13 +2856,13 @@ declare const registryIndexSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2856
2856
|
type: z.ZodEnum<["runtime", "peer", "dev", "optional"]>;
|
|
2857
2857
|
optional: z.ZodOptional<z.ZodBoolean>;
|
|
2858
2858
|
}, "strip", z.ZodTypeAny, {
|
|
2859
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
2860
2859
|
name: string;
|
|
2860
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
2861
2861
|
versionRange: string;
|
|
2862
2862
|
optional?: boolean | undefined;
|
|
2863
2863
|
}, {
|
|
2864
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
2865
2864
|
name: string;
|
|
2865
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
2866
2866
|
versionRange: string;
|
|
2867
2867
|
optional?: boolean | undefined;
|
|
2868
2868
|
}>, "many">>;
|
|
@@ -2894,12 +2894,12 @@ declare const registryIndexSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2894
2894
|
componentId: string;
|
|
2895
2895
|
publicRef: string;
|
|
2896
2896
|
provenance: Record<string, unknown>;
|
|
2897
|
-
tier: "
|
|
2897
|
+
tier: "core" | "custom" | "composition" | "utility";
|
|
2898
2898
|
examples: unknown[];
|
|
2899
2899
|
files: {
|
|
2900
|
-
path: string;
|
|
2901
2900
|
size: number;
|
|
2902
|
-
|
|
2901
|
+
path: string;
|
|
2902
|
+
role: "source" | "style" | "contract" | "token" | "metadata" | "example" | "test" | "story" | "asset" | "barrel";
|
|
2903
2903
|
contentType: string;
|
|
2904
2904
|
sha256: string;
|
|
2905
2905
|
contentRef: string;
|
|
@@ -2907,25 +2907,25 @@ declare const registryIndexSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2907
2907
|
styleFiles: string[];
|
|
2908
2908
|
tokenDependencies: string[];
|
|
2909
2909
|
runtimeDependencies: {
|
|
2910
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
2911
2910
|
name: string;
|
|
2911
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
2912
2912
|
versionRange: string;
|
|
2913
2913
|
optional?: boolean | undefined;
|
|
2914
2914
|
}[];
|
|
2915
2915
|
peerDependencies: {
|
|
2916
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
2917
2916
|
name: string;
|
|
2917
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
2918
2918
|
versionRange: string;
|
|
2919
2919
|
optional?: boolean | undefined;
|
|
2920
2920
|
}[];
|
|
2921
2921
|
internalDependencies: string[];
|
|
2922
2922
|
exports: {
|
|
2923
|
-
kind: "hook" | "
|
|
2923
|
+
kind: "hook" | "style" | "type" | "component" | "utility";
|
|
2924
2924
|
name: string;
|
|
2925
2925
|
path?: string | undefined;
|
|
2926
2926
|
}[];
|
|
2927
|
-
category?: string | undefined;
|
|
2928
2927
|
contract?: unknown;
|
|
2928
|
+
category?: string | undefined;
|
|
2929
2929
|
}>;
|
|
2930
2930
|
schemaVersion: "fragments.registry.v1";
|
|
2931
2931
|
generatedAt: string;
|
|
@@ -2953,24 +2953,24 @@ declare const registryIndexSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2953
2953
|
registryHash: string;
|
|
2954
2954
|
version: string;
|
|
2955
2955
|
dependencies: {
|
|
2956
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
2957
2956
|
name: string;
|
|
2957
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
2958
2958
|
versionRange: string;
|
|
2959
2959
|
optional?: boolean | undefined;
|
|
2960
2960
|
}[];
|
|
2961
2961
|
channel: string;
|
|
2962
2962
|
packageFiles: {
|
|
2963
|
-
path: string;
|
|
2964
2963
|
size: number;
|
|
2965
|
-
|
|
2964
|
+
path: string;
|
|
2965
|
+
role: "source" | "style" | "contract" | "token" | "metadata" | "example" | "test" | "story" | "asset" | "barrel";
|
|
2966
2966
|
contentType: string;
|
|
2967
2967
|
sha256: string;
|
|
2968
2968
|
contentRef: string;
|
|
2969
2969
|
}[];
|
|
2970
2970
|
baseFiles: {
|
|
2971
|
-
path: string;
|
|
2972
2971
|
size: number;
|
|
2973
|
-
|
|
2972
|
+
path: string;
|
|
2973
|
+
role: "source" | "style" | "contract" | "token" | "metadata" | "example" | "test" | "story" | "asset" | "barrel";
|
|
2974
2974
|
contentType: string;
|
|
2975
2975
|
sha256: string;
|
|
2976
2976
|
contentRef: string;
|
|
@@ -2994,38 +2994,38 @@ declare const registryIndexSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2994
2994
|
componentId: string;
|
|
2995
2995
|
publicRef: string;
|
|
2996
2996
|
files: {
|
|
2997
|
-
path: string;
|
|
2998
2997
|
size: number;
|
|
2999
|
-
|
|
2998
|
+
path: string;
|
|
2999
|
+
role: "source" | "style" | "contract" | "token" | "metadata" | "example" | "test" | "story" | "asset" | "barrel";
|
|
3000
3000
|
contentType: string;
|
|
3001
3001
|
sha256: string;
|
|
3002
3002
|
contentRef: string;
|
|
3003
3003
|
}[];
|
|
3004
3004
|
status?: string | undefined;
|
|
3005
|
-
category?: string | undefined;
|
|
3006
3005
|
contract?: unknown;
|
|
3007
3006
|
provenance?: Record<string, unknown> | undefined;
|
|
3008
|
-
|
|
3007
|
+
category?: string | undefined;
|
|
3008
|
+
tier?: "core" | "custom" | "composition" | "utility" | undefined;
|
|
3009
3009
|
examples?: unknown[] | undefined;
|
|
3010
3010
|
styleFiles?: string[] | undefined;
|
|
3011
3011
|
tokenDependencies?: string[] | undefined;
|
|
3012
3012
|
runtimeDependencies?: {
|
|
3013
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
3014
3013
|
name: string;
|
|
3014
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
3015
3015
|
versionRange: string;
|
|
3016
3016
|
optional?: boolean | undefined;
|
|
3017
3017
|
}[] | undefined;
|
|
3018
3018
|
peerDependencies?: {
|
|
3019
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
3020
3019
|
name: string;
|
|
3020
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
3021
3021
|
versionRange: string;
|
|
3022
3022
|
optional?: boolean | undefined;
|
|
3023
3023
|
}[] | undefined;
|
|
3024
3024
|
internalDependencies?: string[] | undefined;
|
|
3025
3025
|
exports?: {
|
|
3026
3026
|
name: string;
|
|
3027
|
+
kind?: "hook" | "style" | "type" | "component" | "utility" | undefined;
|
|
3027
3028
|
path?: string | undefined;
|
|
3028
|
-
kind?: "hook" | "type" | "component" | "style" | "utility" | undefined;
|
|
3029
3029
|
}[] | undefined;
|
|
3030
3030
|
}>;
|
|
3031
3031
|
schemaVersion: "fragments.registry.v1";
|
|
@@ -3056,24 +3056,24 @@ declare const registryIndexSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3056
3056
|
channel: string;
|
|
3057
3057
|
fcid?: string | undefined;
|
|
3058
3058
|
dependencies?: {
|
|
3059
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
3060
3059
|
name: string;
|
|
3060
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
3061
3061
|
versionRange: string;
|
|
3062
3062
|
optional?: boolean | undefined;
|
|
3063
3063
|
}[] | undefined;
|
|
3064
3064
|
contractVersionId?: string | undefined;
|
|
3065
3065
|
packageFiles?: {
|
|
3066
|
-
path: string;
|
|
3067
3066
|
size: number;
|
|
3068
|
-
|
|
3067
|
+
path: string;
|
|
3068
|
+
role: "source" | "style" | "contract" | "token" | "metadata" | "example" | "test" | "story" | "asset" | "barrel";
|
|
3069
3069
|
contentType: string;
|
|
3070
3070
|
sha256: string;
|
|
3071
3071
|
contentRef: string;
|
|
3072
3072
|
}[] | undefined;
|
|
3073
3073
|
baseFiles?: {
|
|
3074
|
-
path: string;
|
|
3075
3074
|
size: number;
|
|
3076
|
-
|
|
3075
|
+
path: string;
|
|
3076
|
+
role: "source" | "style" | "contract" | "token" | "metadata" | "example" | "test" | "story" | "asset" | "barrel";
|
|
3077
3077
|
contentType: string;
|
|
3078
3078
|
sha256: string;
|
|
3079
3079
|
contentRef: string;
|
|
@@ -3101,12 +3101,12 @@ declare const registryIndexSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3101
3101
|
componentId: string;
|
|
3102
3102
|
publicRef: string;
|
|
3103
3103
|
provenance: Record<string, unknown>;
|
|
3104
|
-
tier: "
|
|
3104
|
+
tier: "core" | "custom" | "composition" | "utility";
|
|
3105
3105
|
examples: unknown[];
|
|
3106
3106
|
files: {
|
|
3107
|
-
path: string;
|
|
3108
3107
|
size: number;
|
|
3109
|
-
|
|
3108
|
+
path: string;
|
|
3109
|
+
role: "source" | "style" | "contract" | "token" | "metadata" | "example" | "test" | "story" | "asset" | "barrel";
|
|
3110
3110
|
contentType: string;
|
|
3111
3111
|
sha256: string;
|
|
3112
3112
|
contentRef: string;
|
|
@@ -3114,25 +3114,25 @@ declare const registryIndexSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3114
3114
|
styleFiles: string[];
|
|
3115
3115
|
tokenDependencies: string[];
|
|
3116
3116
|
runtimeDependencies: {
|
|
3117
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
3118
3117
|
name: string;
|
|
3118
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
3119
3119
|
versionRange: string;
|
|
3120
3120
|
optional?: boolean | undefined;
|
|
3121
3121
|
}[];
|
|
3122
3122
|
peerDependencies: {
|
|
3123
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
3124
3123
|
name: string;
|
|
3124
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
3125
3125
|
versionRange: string;
|
|
3126
3126
|
optional?: boolean | undefined;
|
|
3127
3127
|
}[];
|
|
3128
3128
|
internalDependencies: string[];
|
|
3129
3129
|
exports: {
|
|
3130
|
-
kind: "hook" | "
|
|
3130
|
+
kind: "hook" | "style" | "type" | "component" | "utility";
|
|
3131
3131
|
name: string;
|
|
3132
3132
|
path?: string | undefined;
|
|
3133
3133
|
}[];
|
|
3134
|
-
category?: string | undefined;
|
|
3135
3134
|
contract?: unknown;
|
|
3135
|
+
category?: string | undefined;
|
|
3136
3136
|
}>;
|
|
3137
3137
|
schemaVersion: "fragments.registry.v1";
|
|
3138
3138
|
generatedAt: string;
|
|
@@ -3160,24 +3160,24 @@ declare const registryIndexSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3160
3160
|
registryHash: string;
|
|
3161
3161
|
version: string;
|
|
3162
3162
|
dependencies: {
|
|
3163
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
3164
3163
|
name: string;
|
|
3164
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
3165
3165
|
versionRange: string;
|
|
3166
3166
|
optional?: boolean | undefined;
|
|
3167
3167
|
}[];
|
|
3168
3168
|
channel: string;
|
|
3169
3169
|
packageFiles: {
|
|
3170
|
-
path: string;
|
|
3171
3170
|
size: number;
|
|
3172
|
-
|
|
3171
|
+
path: string;
|
|
3172
|
+
role: "source" | "style" | "contract" | "token" | "metadata" | "example" | "test" | "story" | "asset" | "barrel";
|
|
3173
3173
|
contentType: string;
|
|
3174
3174
|
sha256: string;
|
|
3175
3175
|
contentRef: string;
|
|
3176
3176
|
}[];
|
|
3177
3177
|
baseFiles: {
|
|
3178
|
-
path: string;
|
|
3179
3178
|
size: number;
|
|
3180
|
-
|
|
3179
|
+
path: string;
|
|
3180
|
+
role: "source" | "style" | "contract" | "token" | "metadata" | "example" | "test" | "story" | "asset" | "barrel";
|
|
3181
3181
|
contentType: string;
|
|
3182
3182
|
sha256: string;
|
|
3183
3183
|
contentRef: string;
|
|
@@ -3205,38 +3205,38 @@ declare const registryIndexSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3205
3205
|
componentId: string;
|
|
3206
3206
|
publicRef: string;
|
|
3207
3207
|
files: {
|
|
3208
|
-
path: string;
|
|
3209
3208
|
size: number;
|
|
3210
|
-
|
|
3209
|
+
path: string;
|
|
3210
|
+
role: "source" | "style" | "contract" | "token" | "metadata" | "example" | "test" | "story" | "asset" | "barrel";
|
|
3211
3211
|
contentType: string;
|
|
3212
3212
|
sha256: string;
|
|
3213
3213
|
contentRef: string;
|
|
3214
3214
|
}[];
|
|
3215
3215
|
status?: string | undefined;
|
|
3216
|
-
category?: string | undefined;
|
|
3217
3216
|
contract?: unknown;
|
|
3218
3217
|
provenance?: Record<string, unknown> | undefined;
|
|
3219
|
-
|
|
3218
|
+
category?: string | undefined;
|
|
3219
|
+
tier?: "core" | "custom" | "composition" | "utility" | undefined;
|
|
3220
3220
|
examples?: unknown[] | undefined;
|
|
3221
3221
|
styleFiles?: string[] | undefined;
|
|
3222
3222
|
tokenDependencies?: string[] | undefined;
|
|
3223
3223
|
runtimeDependencies?: {
|
|
3224
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
3225
3224
|
name: string;
|
|
3225
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
3226
3226
|
versionRange: string;
|
|
3227
3227
|
optional?: boolean | undefined;
|
|
3228
3228
|
}[] | undefined;
|
|
3229
3229
|
peerDependencies?: {
|
|
3230
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
3231
3230
|
name: string;
|
|
3231
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
3232
3232
|
versionRange: string;
|
|
3233
3233
|
optional?: boolean | undefined;
|
|
3234
3234
|
}[] | undefined;
|
|
3235
3235
|
internalDependencies?: string[] | undefined;
|
|
3236
3236
|
exports?: {
|
|
3237
3237
|
name: string;
|
|
3238
|
+
kind?: "hook" | "style" | "type" | "component" | "utility" | undefined;
|
|
3238
3239
|
path?: string | undefined;
|
|
3239
|
-
kind?: "hook" | "type" | "component" | "style" | "utility" | undefined;
|
|
3240
3240
|
}[] | undefined;
|
|
3241
3241
|
}>;
|
|
3242
3242
|
schemaVersion: "fragments.registry.v1";
|
|
@@ -3267,24 +3267,24 @@ declare const registryIndexSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3267
3267
|
channel: string;
|
|
3268
3268
|
fcid?: string | undefined;
|
|
3269
3269
|
dependencies?: {
|
|
3270
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
3271
3270
|
name: string;
|
|
3271
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
3272
3272
|
versionRange: string;
|
|
3273
3273
|
optional?: boolean | undefined;
|
|
3274
3274
|
}[] | undefined;
|
|
3275
3275
|
contractVersionId?: string | undefined;
|
|
3276
3276
|
packageFiles?: {
|
|
3277
|
-
path: string;
|
|
3278
3277
|
size: number;
|
|
3279
|
-
|
|
3278
|
+
path: string;
|
|
3279
|
+
role: "source" | "style" | "contract" | "token" | "metadata" | "example" | "test" | "story" | "asset" | "barrel";
|
|
3280
3280
|
contentType: string;
|
|
3281
3281
|
sha256: string;
|
|
3282
3282
|
contentRef: string;
|
|
3283
3283
|
}[] | undefined;
|
|
3284
3284
|
baseFiles?: {
|
|
3285
|
-
path: string;
|
|
3286
3285
|
size: number;
|
|
3287
|
-
|
|
3286
|
+
path: string;
|
|
3287
|
+
role: "source" | "style" | "contract" | "token" | "metadata" | "example" | "test" | "story" | "asset" | "barrel";
|
|
3288
3288
|
contentType: string;
|
|
3289
3289
|
sha256: string;
|
|
3290
3290
|
contentRef: string;
|
|
@@ -3311,12 +3311,12 @@ declare const registryIndexSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3311
3311
|
componentId: string;
|
|
3312
3312
|
publicRef: string;
|
|
3313
3313
|
provenance: Record<string, unknown>;
|
|
3314
|
-
tier: "
|
|
3314
|
+
tier: "core" | "custom" | "composition" | "utility";
|
|
3315
3315
|
examples: unknown[];
|
|
3316
3316
|
files: {
|
|
3317
|
-
path: string;
|
|
3318
3317
|
size: number;
|
|
3319
|
-
|
|
3318
|
+
path: string;
|
|
3319
|
+
role: "source" | "style" | "contract" | "token" | "metadata" | "example" | "test" | "story" | "asset" | "barrel";
|
|
3320
3320
|
contentType: string;
|
|
3321
3321
|
sha256: string;
|
|
3322
3322
|
contentRef: string;
|
|
@@ -3324,25 +3324,25 @@ declare const registryIndexSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3324
3324
|
styleFiles: string[];
|
|
3325
3325
|
tokenDependencies: string[];
|
|
3326
3326
|
runtimeDependencies: {
|
|
3327
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
3328
3327
|
name: string;
|
|
3328
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
3329
3329
|
versionRange: string;
|
|
3330
3330
|
optional?: boolean | undefined;
|
|
3331
3331
|
}[];
|
|
3332
3332
|
peerDependencies: {
|
|
3333
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
3334
3333
|
name: string;
|
|
3334
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
3335
3335
|
versionRange: string;
|
|
3336
3336
|
optional?: boolean | undefined;
|
|
3337
3337
|
}[];
|
|
3338
3338
|
internalDependencies: string[];
|
|
3339
3339
|
exports: {
|
|
3340
|
-
kind: "hook" | "
|
|
3340
|
+
kind: "hook" | "style" | "type" | "component" | "utility";
|
|
3341
3341
|
name: string;
|
|
3342
3342
|
path?: string | undefined;
|
|
3343
3343
|
}[];
|
|
3344
|
-
category?: string | undefined;
|
|
3345
3344
|
contract?: unknown;
|
|
3345
|
+
category?: string | undefined;
|
|
3346
3346
|
}>;
|
|
3347
3347
|
schemaVersion: "fragments.registry.v1";
|
|
3348
3348
|
generatedAt: string;
|
|
@@ -3370,24 +3370,24 @@ declare const registryIndexSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3370
3370
|
registryHash: string;
|
|
3371
3371
|
version: string;
|
|
3372
3372
|
dependencies: {
|
|
3373
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
3374
3373
|
name: string;
|
|
3374
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
3375
3375
|
versionRange: string;
|
|
3376
3376
|
optional?: boolean | undefined;
|
|
3377
3377
|
}[];
|
|
3378
3378
|
channel: string;
|
|
3379
3379
|
packageFiles: {
|
|
3380
|
-
path: string;
|
|
3381
3380
|
size: number;
|
|
3382
|
-
|
|
3381
|
+
path: string;
|
|
3382
|
+
role: "source" | "style" | "contract" | "token" | "metadata" | "example" | "test" | "story" | "asset" | "barrel";
|
|
3383
3383
|
contentType: string;
|
|
3384
3384
|
sha256: string;
|
|
3385
3385
|
contentRef: string;
|
|
3386
3386
|
}[];
|
|
3387
3387
|
baseFiles: {
|
|
3388
|
-
path: string;
|
|
3389
3388
|
size: number;
|
|
3390
|
-
|
|
3389
|
+
path: string;
|
|
3390
|
+
role: "source" | "style" | "contract" | "token" | "metadata" | "example" | "test" | "story" | "asset" | "barrel";
|
|
3391
3391
|
contentType: string;
|
|
3392
3392
|
sha256: string;
|
|
3393
3393
|
contentRef: string;
|
|
@@ -3415,38 +3415,38 @@ declare const registryIndexSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3415
3415
|
componentId: string;
|
|
3416
3416
|
publicRef: string;
|
|
3417
3417
|
files: {
|
|
3418
|
-
path: string;
|
|
3419
3418
|
size: number;
|
|
3420
|
-
|
|
3419
|
+
path: string;
|
|
3420
|
+
role: "source" | "style" | "contract" | "token" | "metadata" | "example" | "test" | "story" | "asset" | "barrel";
|
|
3421
3421
|
contentType: string;
|
|
3422
3422
|
sha256: string;
|
|
3423
3423
|
contentRef: string;
|
|
3424
3424
|
}[];
|
|
3425
3425
|
status?: string | undefined;
|
|
3426
|
-
category?: string | undefined;
|
|
3427
3426
|
contract?: unknown;
|
|
3428
3427
|
provenance?: Record<string, unknown> | undefined;
|
|
3429
|
-
|
|
3428
|
+
category?: string | undefined;
|
|
3429
|
+
tier?: "core" | "custom" | "composition" | "utility" | undefined;
|
|
3430
3430
|
examples?: unknown[] | undefined;
|
|
3431
3431
|
styleFiles?: string[] | undefined;
|
|
3432
3432
|
tokenDependencies?: string[] | undefined;
|
|
3433
3433
|
runtimeDependencies?: {
|
|
3434
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
3435
3434
|
name: string;
|
|
3435
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
3436
3436
|
versionRange: string;
|
|
3437
3437
|
optional?: boolean | undefined;
|
|
3438
3438
|
}[] | undefined;
|
|
3439
3439
|
peerDependencies?: {
|
|
3440
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
3441
3440
|
name: string;
|
|
3441
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
3442
3442
|
versionRange: string;
|
|
3443
3443
|
optional?: boolean | undefined;
|
|
3444
3444
|
}[] | undefined;
|
|
3445
3445
|
internalDependencies?: string[] | undefined;
|
|
3446
3446
|
exports?: {
|
|
3447
3447
|
name: string;
|
|
3448
|
+
kind?: "hook" | "style" | "type" | "component" | "utility" | undefined;
|
|
3448
3449
|
path?: string | undefined;
|
|
3449
|
-
kind?: "hook" | "type" | "component" | "style" | "utility" | undefined;
|
|
3450
3450
|
}[] | undefined;
|
|
3451
3451
|
}>;
|
|
3452
3452
|
schemaVersion: "fragments.registry.v1";
|
|
@@ -3477,24 +3477,24 @@ declare const registryIndexSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3477
3477
|
channel: string;
|
|
3478
3478
|
fcid?: string | undefined;
|
|
3479
3479
|
dependencies?: {
|
|
3480
|
-
type: "runtime" | "peer" | "dev" | "optional";
|
|
3481
3480
|
name: string;
|
|
3481
|
+
type: "runtime" | "peer" | "dev" | "optional";
|
|
3482
3482
|
versionRange: string;
|
|
3483
3483
|
optional?: boolean | undefined;
|
|
3484
3484
|
}[] | undefined;
|
|
3485
3485
|
contractVersionId?: string | undefined;
|
|
3486
3486
|
packageFiles?: {
|
|
3487
|
-
path: string;
|
|
3488
3487
|
size: number;
|
|
3489
|
-
|
|
3488
|
+
path: string;
|
|
3489
|
+
role: "source" | "style" | "contract" | "token" | "metadata" | "example" | "test" | "story" | "asset" | "barrel";
|
|
3490
3490
|
contentType: string;
|
|
3491
3491
|
sha256: string;
|
|
3492
3492
|
contentRef: string;
|
|
3493
3493
|
}[] | undefined;
|
|
3494
3494
|
baseFiles?: {
|
|
3495
|
-
path: string;
|
|
3496
3495
|
size: number;
|
|
3497
|
-
|
|
3496
|
+
path: string;
|
|
3497
|
+
role: "source" | "style" | "contract" | "token" | "metadata" | "example" | "test" | "story" | "asset" | "barrel";
|
|
3498
3498
|
contentType: string;
|
|
3499
3499
|
sha256: string;
|
|
3500
3500
|
contentRef: string;
|
|
@@ -3528,17 +3528,17 @@ declare const registryPointerSchema: z.ZodObject<{
|
|
|
3528
3528
|
}, "strip", z.ZodTypeAny, {
|
|
3529
3529
|
schemaVersion: "fragments.registry-pointer.v1";
|
|
3530
3530
|
generatedAt: string;
|
|
3531
|
-
index: string;
|
|
3532
3531
|
registryId: string;
|
|
3533
3532
|
registryHash: string;
|
|
3534
3533
|
version: string;
|
|
3534
|
+
index: string;
|
|
3535
3535
|
}, {
|
|
3536
3536
|
schemaVersion: "fragments.registry-pointer.v1";
|
|
3537
3537
|
generatedAt: string;
|
|
3538
|
-
index: string;
|
|
3539
3538
|
registryId: string;
|
|
3540
3539
|
registryHash: string;
|
|
3541
3540
|
version: string;
|
|
3541
|
+
index: string;
|
|
3542
3542
|
}>;
|
|
3543
3543
|
type RegistryShard = z.infer<typeof registryShardSchema>;
|
|
3544
3544
|
type RegistryIndex = z.infer<typeof registryIndexSchema>;
|