@or-sdk/library-types-v2 6.0.19 → 6.0.21
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/CHANGELOG.md +12 -0
- package/dist/cjs/index.js +26 -12
- package/dist/cjs/index.js.map +2 -2
- package/dist/esm/index.js +26 -12
- package/dist/esm/index.js.map +2 -2
- package/dist/types/Packages/body.d.ts +68 -2
- package/dist/types/Packages/response.d.ts +0 -3
- package/package.json +2 -2
|
@@ -33,7 +33,7 @@ export declare const PackageMeta: z.ZodObject<{
|
|
|
33
33
|
shape: z.ZodOptional<z.ZodString>;
|
|
34
34
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
35
35
|
}, z.ZodTypeAny, "passthrough">>;
|
|
36
|
-
export declare const AddPackageBody: z.ZodObject<{
|
|
36
|
+
export declare const AddPackageBody: z.ZodEffects<z.ZodObject<{
|
|
37
37
|
type: z.ZodNativeEnum<typeof import("@or-sdk/library-prisma/dist/generated/zod/enums").PackageTypeEnum>;
|
|
38
38
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
39
|
version: z.ZodString;
|
|
@@ -79,7 +79,7 @@ export declare const AddPackageBody: z.ZodObject<{
|
|
|
79
79
|
shape: z.ZodOptional<z.ZodString>;
|
|
80
80
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
81
81
|
}, z.ZodTypeAny, "passthrough">>;
|
|
82
|
-
fileNames: z.ZodArray<z.ZodString, "many"
|
|
82
|
+
fileNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
83
83
|
categories: z.ZodArray<z.ZodString, "many">;
|
|
84
84
|
statusDetailsSystem: z.ZodOptional<z.ZodObject<Pick<{
|
|
85
85
|
id: z.ZodNumber;
|
|
@@ -176,6 +176,72 @@ export declare const AddPackageBody: z.ZodObject<{
|
|
|
176
176
|
status?: import("@or-sdk/library-prisma/dist/generated/zod/enums").PackageStatusDetailsStatusEnum;
|
|
177
177
|
level?: import("@or-sdk/library-prisma/dist/generated/zod/enums").PackageStatusDetailsLevelEnum;
|
|
178
178
|
};
|
|
179
|
+
}>, {
|
|
180
|
+
type?: import("@or-sdk/library-prisma/dist/generated/zod/enums").PackageTypeEnum;
|
|
181
|
+
description?: string;
|
|
182
|
+
version?: string;
|
|
183
|
+
id?: string;
|
|
184
|
+
label?: string;
|
|
185
|
+
revisionId?: string;
|
|
186
|
+
membersAccountIds?: string[];
|
|
187
|
+
membersUserIds?: string[];
|
|
188
|
+
releaseNotesMarkdown?: string;
|
|
189
|
+
schemaType?: import("@or-sdk/library-prisma/dist/generated/zod/enums").PackageSchemaTypeEnum;
|
|
190
|
+
data?: any;
|
|
191
|
+
meta?: z.objectOutputType<{
|
|
192
|
+
categories: z.ZodArray<z.ZodString, "many">;
|
|
193
|
+
description: z.ZodString;
|
|
194
|
+
version: z.ZodString;
|
|
195
|
+
id: z.ZodString;
|
|
196
|
+
label: z.ZodString;
|
|
197
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
198
|
+
iconType: z.ZodOptional<z.ZodString>;
|
|
199
|
+
recommendedSteps: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
200
|
+
shape: z.ZodOptional<z.ZodString>;
|
|
201
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
202
|
+
}, z.ZodTypeAny, "passthrough">;
|
|
203
|
+
fileNames?: string[];
|
|
204
|
+
categories?: string[];
|
|
205
|
+
statusDetailsSystem?: {
|
|
206
|
+
status?: import("@or-sdk/library-prisma/dist/generated/zod/enums").PackageStatusDetailsStatusEnum;
|
|
207
|
+
};
|
|
208
|
+
statusDetailsRelease?: {
|
|
209
|
+
status?: import("@or-sdk/library-prisma/dist/generated/zod/enums").PackageStatusDetailsStatusEnum;
|
|
210
|
+
level?: import("@or-sdk/library-prisma/dist/generated/zod/enums").PackageStatusDetailsLevelEnum;
|
|
211
|
+
};
|
|
212
|
+
}, {
|
|
213
|
+
type?: import("@or-sdk/library-prisma/dist/generated/zod/enums").PackageTypeEnum;
|
|
214
|
+
description?: string;
|
|
215
|
+
version?: string;
|
|
216
|
+
id?: string;
|
|
217
|
+
label?: string;
|
|
218
|
+
revisionId?: string;
|
|
219
|
+
membersAccountIds?: string[];
|
|
220
|
+
membersUserIds?: string[];
|
|
221
|
+
releaseNotesMarkdown?: string;
|
|
222
|
+
schemaType?: import("@or-sdk/library-prisma/dist/generated/zod/enums").PackageSchemaTypeEnum;
|
|
223
|
+
data?: any;
|
|
224
|
+
meta?: z.objectInputType<{
|
|
225
|
+
categories: z.ZodArray<z.ZodString, "many">;
|
|
226
|
+
description: z.ZodString;
|
|
227
|
+
version: z.ZodString;
|
|
228
|
+
id: z.ZodString;
|
|
229
|
+
label: z.ZodString;
|
|
230
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
231
|
+
iconType: z.ZodOptional<z.ZodString>;
|
|
232
|
+
recommendedSteps: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
233
|
+
shape: z.ZodOptional<z.ZodString>;
|
|
234
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
235
|
+
}, z.ZodTypeAny, "passthrough">;
|
|
236
|
+
fileNames?: string[];
|
|
237
|
+
categories?: string[];
|
|
238
|
+
statusDetailsSystem?: {
|
|
239
|
+
status?: import("@or-sdk/library-prisma/dist/generated/zod/enums").PackageStatusDetailsStatusEnum;
|
|
240
|
+
};
|
|
241
|
+
statusDetailsRelease?: {
|
|
242
|
+
status?: import("@or-sdk/library-prisma/dist/generated/zod/enums").PackageStatusDetailsStatusEnum;
|
|
243
|
+
level?: import("@or-sdk/library-prisma/dist/generated/zod/enums").PackageStatusDetailsLevelEnum;
|
|
244
|
+
};
|
|
179
245
|
}>;
|
|
180
246
|
export declare const UpdatePackageByRevisionBody: z.ZodObject<{
|
|
181
247
|
categories: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -564,7 +564,6 @@ export declare const AddPackageResponse: z.ZodObject<{
|
|
|
564
564
|
isPlayground?: boolean;
|
|
565
565
|
baseUrl?: string;
|
|
566
566
|
}>;
|
|
567
|
-
baseUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
568
567
|
uploadSignature: z.ZodArray<z.ZodObject<{
|
|
569
568
|
fileName: z.ZodString;
|
|
570
569
|
url: z.ZodString;
|
|
@@ -619,7 +618,6 @@ export declare const AddPackageResponse: z.ZodObject<{
|
|
|
619
618
|
isPlayground?: boolean;
|
|
620
619
|
baseUrl?: string;
|
|
621
620
|
};
|
|
622
|
-
baseUrl?: string;
|
|
623
621
|
uploadSignature?: {
|
|
624
622
|
fileName?: string;
|
|
625
623
|
url?: string;
|
|
@@ -666,7 +664,6 @@ export declare const AddPackageResponse: z.ZodObject<{
|
|
|
666
664
|
isPlayground?: boolean;
|
|
667
665
|
baseUrl?: string;
|
|
668
666
|
};
|
|
669
|
-
baseUrl?: string;
|
|
670
667
|
uploadSignature?: {
|
|
671
668
|
fileName?: string;
|
|
672
669
|
url?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@or-sdk/library-types-v2",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.21",
|
|
4
4
|
"description": "Request/response v2 types for the OR SDK",
|
|
5
5
|
"files": [
|
|
6
6
|
"./dist",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"devDependencies": {
|
|
21
21
|
"nestjs-zod": "3.0.0",
|
|
22
22
|
"zod": "3.22.4",
|
|
23
|
-
"@or-sdk/library-prisma": "6.0.
|
|
23
|
+
"@or-sdk/library-prisma": "6.0.13"
|
|
24
24
|
},
|
|
25
25
|
"scripts": {
|
|
26
26
|
"build:nest": "npx ts-node ./esbuild.nest.ts",
|