@or-sdk/library-types-v2 7.0.1 → 7.0.3
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/browser/cjs/index.js +252 -149
- package/dist/browser/cjs/index.js.map +4 -4
- package/dist/browser/esm/index.js +252 -149
- package/dist/browser/esm/index.js.map +4 -4
- package/dist/browser/types/index.d.ts +31 -0
- package/package.json +2 -2
|
@@ -413,6 +413,32 @@ export declare const AddPackageDependenciesBody: z.ZodObject<{
|
|
|
413
413
|
value: string;
|
|
414
414
|
id?: string | undefined;
|
|
415
415
|
}>;
|
|
416
|
+
export declare const AddSuggestionBody: z.ZodObject<{
|
|
417
|
+
id: z.ZodString;
|
|
418
|
+
text: z.ZodString;
|
|
419
|
+
type: z.ZodString;
|
|
420
|
+
}, "strip", z.ZodTypeAny, {
|
|
421
|
+
type: string;
|
|
422
|
+
id: string;
|
|
423
|
+
text: string;
|
|
424
|
+
}, {
|
|
425
|
+
type: string;
|
|
426
|
+
id: string;
|
|
427
|
+
text: string;
|
|
428
|
+
}>;
|
|
429
|
+
export declare const SearchableEntityParam: z.ZodObject<{
|
|
430
|
+
id: z.ZodString;
|
|
431
|
+
text: z.ZodString;
|
|
432
|
+
type: z.ZodString;
|
|
433
|
+
}, "strip", z.ZodTypeAny, {
|
|
434
|
+
type: string;
|
|
435
|
+
id: string;
|
|
436
|
+
text: string;
|
|
437
|
+
}, {
|
|
438
|
+
type: string;
|
|
439
|
+
id: string;
|
|
440
|
+
text: string;
|
|
441
|
+
}>;
|
|
416
442
|
export declare enum PackageSchemaServingType {
|
|
417
443
|
JSON = "JSON",
|
|
418
444
|
STATIC = "STATIC"
|
|
@@ -3220,6 +3246,7 @@ export declare const GetPackagesParams: z.ZodObject<{
|
|
|
3220
3246
|
} | undefined;
|
|
3221
3247
|
}>>;
|
|
3222
3248
|
query: z.ZodOptional<z.ZodString>;
|
|
3249
|
+
includeSkip: z.ZodOptional<z.ZodBoolean>;
|
|
3223
3250
|
}, "strip", z.ZodTypeAny, {
|
|
3224
3251
|
skip?: number | undefined;
|
|
3225
3252
|
take?: number | undefined;
|
|
@@ -3279,6 +3306,7 @@ export declare const GetPackagesParams: z.ZodObject<{
|
|
|
3279
3306
|
} | undefined;
|
|
3280
3307
|
} | undefined;
|
|
3281
3308
|
query?: string | undefined;
|
|
3309
|
+
includeSkip?: boolean | undefined;
|
|
3282
3310
|
}, {
|
|
3283
3311
|
skip?: any;
|
|
3284
3312
|
take?: any;
|
|
@@ -3338,6 +3366,7 @@ export declare const GetPackagesParams: z.ZodObject<{
|
|
|
3338
3366
|
} | undefined;
|
|
3339
3367
|
} | undefined;
|
|
3340
3368
|
query?: string | undefined;
|
|
3369
|
+
includeSkip?: boolean | undefined;
|
|
3341
3370
|
}>;
|
|
3342
3371
|
export declare const GetPackageParams: z.ZodObject<Pick<{
|
|
3343
3372
|
prerelease: z.ZodOptional<z.ZodEffects<z.ZodAny, boolean, any>>;
|
|
@@ -3895,6 +3924,8 @@ export type PackageMetaDTO = z.infer<typeof PackageMeta>;
|
|
|
3895
3924
|
export type AddPackageBodyDTO = z.infer<typeof AddPackageBody>;
|
|
3896
3925
|
export type UpdatePackageByRevisionBodyDTO = z.infer<typeof UpdatePackageByRevisionBody>;
|
|
3897
3926
|
export type AddPackageDependenciesBodyDTO = z.infer<typeof AddPackageDependenciesBody>;
|
|
3927
|
+
export type AddSuggestionBodyDTO = z.infer<typeof AddSuggestionBody>;
|
|
3928
|
+
export type SearchableEntityParamDTO = z.infer<typeof SearchableEntityParam>;
|
|
3898
3929
|
export type PackageModelResponseDTO = z.infer<typeof PackageModelResponse>;
|
|
3899
3930
|
export type PackageReleaseModelResponseDTO = z.infer<typeof PackageReleaseModelResponse>;
|
|
3900
3931
|
export type AddPackageResponseDTO = z.infer<typeof AddPackageResponse>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@or-sdk/library-types-v2",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.3",
|
|
4
4
|
"description": "Request/response v2 types for the OR SDK",
|
|
5
5
|
"files": [
|
|
6
6
|
"./dist/browser",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"zod": "3.22.4"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@or-sdk/library-prisma": "7.0.
|
|
38
|
+
"@or-sdk/library-prisma": "7.0.8"
|
|
39
39
|
},
|
|
40
40
|
"scripts": {
|
|
41
41
|
"build": "pnpm run build:nest && pnpm run build:browser",
|