@or-sdk/library-types-v2 7.0.0 → 7.0.1
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.
|
@@ -1273,10 +1273,6 @@ In case this error is unexpected for you, please report it in https://pris.ly/pr
|
|
|
1273
1273
|
error: "error",
|
|
1274
1274
|
pid: "pid"
|
|
1275
1275
|
};
|
|
1276
|
-
exports.Prisma.RelationLoadStrategy = {
|
|
1277
|
-
query: "query",
|
|
1278
|
-
join: "join"
|
|
1279
|
-
};
|
|
1280
1276
|
exports.Prisma.CreatedByScalarFieldEnum = {
|
|
1281
1277
|
id: "id",
|
|
1282
1278
|
accountId: "accountId",
|
|
@@ -11300,7 +11296,7 @@ var z = /* @__PURE__ */ Object.freeze({
|
|
|
11300
11296
|
|
|
11301
11297
|
// src/Packages/body.ts
|
|
11302
11298
|
var PackageMeta = z.object({
|
|
11303
|
-
categories: z.array(z.string()),
|
|
11299
|
+
categories: z.array(z.string()).default([]),
|
|
11304
11300
|
description: z.string().trim(),
|
|
11305
11301
|
version: z.string().trim(),
|
|
11306
11302
|
id: z.string().trim(),
|
|
@@ -11330,7 +11326,7 @@ var AddPackageReleasePartial = import_library_prisma.prismaZodGenerated._Package
|
|
|
11330
11326
|
fileNames: z.array(z.string()).describe(
|
|
11331
11327
|
"Custom field for files, will return signatures for upload them to S3, used in EXTERNAL packages types"
|
|
11332
11328
|
).optional(),
|
|
11333
|
-
categories: z.array(z.string()).describe("Category IDs"),
|
|
11329
|
+
categories: z.array(z.string()).describe("Category IDs").default([]),
|
|
11334
11330
|
statusDetailsSystem: import_library_prisma.prismaZodGenerated._PackageStatusDetailsSystemModel.pick({ status: true }).optional().describe(
|
|
11335
11331
|
`Default status, for example "${import_library_prisma.PackageStatusDetailsStatusEnum.UPLOADED}"`
|
|
11336
11332
|
),
|