@or-sdk/library-types-v1 5.0.4 → 6.0.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@or-sdk/library-types-v1",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "6.0.0",
|
|
4
4
|
"description": "Request/response v1 legacy types for the OR SDK",
|
|
5
5
|
"files": [
|
|
6
6
|
"./dist",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"nestjs-zod": "3.0.0",
|
|
28
28
|
"zod": "3.22.2",
|
|
29
|
-
"@or-sdk/library-prisma": "
|
|
29
|
+
"@or-sdk/library-prisma": "6.0.0"
|
|
30
30
|
},
|
|
31
31
|
"scripts": {
|
|
32
32
|
"build:lib:node": "tsc -p tsconfig.build.json",
|
package/src/Packages/response.ts
CHANGED
|
@@ -19,7 +19,8 @@ export const GetPackagesResponseEntity = z.object({
|
|
|
19
19
|
createdAt: z.date().or(z.string()).optional(),
|
|
20
20
|
id: z.string(),
|
|
21
21
|
isExternal: z.boolean().optional(),
|
|
22
|
-
isSandbox: z.boolean().optional(),
|
|
22
|
+
isSandbox: z.boolean().optional(), // TODO: remove this after frontend will be updated #SA-32
|
|
23
|
+
isPlayground: z.boolean().optional(),
|
|
23
24
|
latest: PackageMeta,
|
|
24
25
|
latestVersion: z.string().optional(),
|
|
25
26
|
level: z.nativeEnum(PackageStatusDetailsLevelEnum).optional(),
|
package/src/Sources/response.ts
CHANGED
|
@@ -82,7 +82,8 @@ export const GetSourceRevisionResponse = z.object({
|
|
|
82
82
|
version: z.string(),
|
|
83
83
|
})
|
|
84
84
|
.optional(),
|
|
85
|
-
sandboxUploaded: z.boolean().optional(),
|
|
85
|
+
sandboxUploaded: z.boolean().optional(), // TODO: remove this after frontend will be updated #SA-32
|
|
86
|
+
playgroundUploaded: z.boolean().optional(),
|
|
86
87
|
sourceMeta: z
|
|
87
88
|
.any()
|
|
88
89
|
.or(
|