@mercurjs/cli 2.0.0-canary.3 → 2.0.0-canary.30
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/index.d.ts +22 -23
- package/dist/index.js +23 -23
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
declare const registryItemTypeSchema: z.ZodEnum<["registry:workflow", "registry:api", "registry:link", "registry:module", "registry:vendor", "registry:admin", "registry:lib"]>;
|
|
4
|
+
declare const registryItemTypeSchema: z.ZodEnum<["registry:api", "registry:vendor", "registry:admin"]>;
|
|
6
5
|
declare const registryItemFileSchema: z.ZodObject<{
|
|
7
6
|
path: z.ZodString;
|
|
8
7
|
content: z.ZodOptional<z.ZodString>;
|
|
9
|
-
type: z.ZodEnum<["registry:
|
|
8
|
+
type: z.ZodEnum<["registry:api", "registry:vendor", "registry:admin"]>;
|
|
10
9
|
target: z.ZodOptional<z.ZodString>;
|
|
11
10
|
}, "strip", z.ZodTypeAny, {
|
|
12
11
|
path: string;
|
|
13
|
-
type: "registry:
|
|
12
|
+
type: "registry:api" | "registry:vendor" | "registry:admin";
|
|
14
13
|
content?: string | undefined;
|
|
15
14
|
target?: string | undefined;
|
|
16
15
|
}, {
|
|
17
16
|
path: string;
|
|
18
|
-
type: "registry:
|
|
17
|
+
type: "registry:api" | "registry:vendor" | "registry:admin";
|
|
19
18
|
content?: string | undefined;
|
|
20
19
|
target?: string | undefined;
|
|
21
20
|
}>;
|
|
@@ -35,16 +34,16 @@ declare const registryItemSchema: z.ZodObject<{
|
|
|
35
34
|
files: z.ZodArray<z.ZodObject<{
|
|
36
35
|
path: z.ZodString;
|
|
37
36
|
content: z.ZodOptional<z.ZodString>;
|
|
38
|
-
type: z.ZodEnum<["registry:
|
|
37
|
+
type: z.ZodEnum<["registry:api", "registry:vendor", "registry:admin"]>;
|
|
39
38
|
target: z.ZodOptional<z.ZodString>;
|
|
40
39
|
}, "strip", z.ZodTypeAny, {
|
|
41
40
|
path: string;
|
|
42
|
-
type: "registry:
|
|
41
|
+
type: "registry:api" | "registry:vendor" | "registry:admin";
|
|
43
42
|
content?: string | undefined;
|
|
44
43
|
target?: string | undefined;
|
|
45
44
|
}, {
|
|
46
45
|
path: string;
|
|
47
|
-
type: "registry:
|
|
46
|
+
type: "registry:api" | "registry:vendor" | "registry:admin";
|
|
48
47
|
content?: string | undefined;
|
|
49
48
|
target?: string | undefined;
|
|
50
49
|
}>, "many">;
|
|
@@ -52,7 +51,7 @@ declare const registryItemSchema: z.ZodObject<{
|
|
|
52
51
|
name: string;
|
|
53
52
|
files: {
|
|
54
53
|
path: string;
|
|
55
|
-
type: "registry:
|
|
54
|
+
type: "registry:api" | "registry:vendor" | "registry:admin";
|
|
56
55
|
content?: string | undefined;
|
|
57
56
|
target?: string | undefined;
|
|
58
57
|
}[];
|
|
@@ -70,7 +69,7 @@ declare const registryItemSchema: z.ZodObject<{
|
|
|
70
69
|
name: string;
|
|
71
70
|
files: {
|
|
72
71
|
path: string;
|
|
73
|
-
type: "registry:
|
|
72
|
+
type: "registry:api" | "registry:vendor" | "registry:admin";
|
|
74
73
|
content?: string | undefined;
|
|
75
74
|
target?: string | undefined;
|
|
76
75
|
}[];
|
|
@@ -105,16 +104,16 @@ declare const registrySchema: z.ZodObject<{
|
|
|
105
104
|
files: z.ZodArray<z.ZodObject<{
|
|
106
105
|
path: z.ZodString;
|
|
107
106
|
content: z.ZodOptional<z.ZodString>;
|
|
108
|
-
type: z.ZodEnum<["registry:
|
|
107
|
+
type: z.ZodEnum<["registry:api", "registry:vendor", "registry:admin"]>;
|
|
109
108
|
target: z.ZodOptional<z.ZodString>;
|
|
110
109
|
}, "strip", z.ZodTypeAny, {
|
|
111
110
|
path: string;
|
|
112
|
-
type: "registry:
|
|
111
|
+
type: "registry:api" | "registry:vendor" | "registry:admin";
|
|
113
112
|
content?: string | undefined;
|
|
114
113
|
target?: string | undefined;
|
|
115
114
|
}, {
|
|
116
115
|
path: string;
|
|
117
|
-
type: "registry:
|
|
116
|
+
type: "registry:api" | "registry:vendor" | "registry:admin";
|
|
118
117
|
content?: string | undefined;
|
|
119
118
|
target?: string | undefined;
|
|
120
119
|
}>, "many">;
|
|
@@ -122,7 +121,7 @@ declare const registrySchema: z.ZodObject<{
|
|
|
122
121
|
name: string;
|
|
123
122
|
files: {
|
|
124
123
|
path: string;
|
|
125
|
-
type: "registry:
|
|
124
|
+
type: "registry:api" | "registry:vendor" | "registry:admin";
|
|
126
125
|
content?: string | undefined;
|
|
127
126
|
target?: string | undefined;
|
|
128
127
|
}[];
|
|
@@ -140,7 +139,7 @@ declare const registrySchema: z.ZodObject<{
|
|
|
140
139
|
name: string;
|
|
141
140
|
files: {
|
|
142
141
|
path: string;
|
|
143
|
-
type: "registry:
|
|
142
|
+
type: "registry:api" | "registry:vendor" | "registry:admin";
|
|
144
143
|
content?: string | undefined;
|
|
145
144
|
target?: string | undefined;
|
|
146
145
|
}[];
|
|
@@ -162,7 +161,7 @@ declare const registrySchema: z.ZodObject<{
|
|
|
162
161
|
name: string;
|
|
163
162
|
files: {
|
|
164
163
|
path: string;
|
|
165
|
-
type: "registry:
|
|
164
|
+
type: "registry:api" | "registry:vendor" | "registry:admin";
|
|
166
165
|
content?: string | undefined;
|
|
167
166
|
target?: string | undefined;
|
|
168
167
|
}[];
|
|
@@ -184,7 +183,7 @@ declare const registrySchema: z.ZodObject<{
|
|
|
184
183
|
name: string;
|
|
185
184
|
files: {
|
|
186
185
|
path: string;
|
|
187
|
-
type: "registry:
|
|
186
|
+
type: "registry:api" | "registry:vendor" | "registry:admin";
|
|
188
187
|
content?: string | undefined;
|
|
189
188
|
target?: string | undefined;
|
|
190
189
|
}[];
|
|
@@ -254,23 +253,23 @@ declare const registryResolvedItemsTreeSchema: z.ZodObject<Pick<{
|
|
|
254
253
|
files: z.ZodArray<z.ZodObject<{
|
|
255
254
|
path: z.ZodString;
|
|
256
255
|
content: z.ZodOptional<z.ZodString>;
|
|
257
|
-
type: z.ZodEnum<["registry:
|
|
256
|
+
type: z.ZodEnum<["registry:api", "registry:vendor", "registry:admin"]>;
|
|
258
257
|
target: z.ZodOptional<z.ZodString>;
|
|
259
258
|
}, "strip", z.ZodTypeAny, {
|
|
260
259
|
path: string;
|
|
261
|
-
type: "registry:
|
|
260
|
+
type: "registry:api" | "registry:vendor" | "registry:admin";
|
|
262
261
|
content?: string | undefined;
|
|
263
262
|
target?: string | undefined;
|
|
264
263
|
}, {
|
|
265
264
|
path: string;
|
|
266
|
-
type: "registry:
|
|
265
|
+
type: "registry:api" | "registry:vendor" | "registry:admin";
|
|
267
266
|
content?: string | undefined;
|
|
268
267
|
target?: string | undefined;
|
|
269
268
|
}>, "many">;
|
|
270
269
|
}, "dependencies" | "devDependencies" | "docs" | "files">, "strip", z.ZodTypeAny, {
|
|
271
270
|
files: {
|
|
272
271
|
path: string;
|
|
273
|
-
type: "registry:
|
|
272
|
+
type: "registry:api" | "registry:vendor" | "registry:admin";
|
|
274
273
|
content?: string | undefined;
|
|
275
274
|
target?: string | undefined;
|
|
276
275
|
}[];
|
|
@@ -280,7 +279,7 @@ declare const registryResolvedItemsTreeSchema: z.ZodObject<Pick<{
|
|
|
280
279
|
}, {
|
|
281
280
|
files: {
|
|
282
281
|
path: string;
|
|
283
|
-
type: "registry:
|
|
282
|
+
type: "registry:api" | "registry:vendor" | "registry:admin";
|
|
284
283
|
content?: string | undefined;
|
|
285
284
|
target?: string | undefined;
|
|
286
285
|
}[];
|
|
@@ -315,4 +314,4 @@ declare const registryConfigSchema: z.ZodRecord<z.ZodEffects<z.ZodString, string
|
|
|
315
314
|
headers?: Record<string, string> | undefined;
|
|
316
315
|
}>]>>;
|
|
317
316
|
|
|
318
|
-
export { type Registry, type RegistryItem,
|
|
317
|
+
export { type Registry, type RegistryItem, registryConfigItemSchema, registryConfigSchema, registryIndexSchema, registryItemFileSchema, registryItemSchema, registryItemTypeSchema, registryResolvedItemsTreeSchema, registrySchema };
|