@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.
package/CHANGELOG.md
CHANGED
|
@@ -1278,10 +1278,6 @@ In case this error is unexpected for you, please report it in https://pris.ly/pr
|
|
|
1278
1278
|
error: "error",
|
|
1279
1279
|
pid: "pid"
|
|
1280
1280
|
};
|
|
1281
|
-
exports.Prisma.RelationLoadStrategy = {
|
|
1282
|
-
query: "query",
|
|
1283
|
-
join: "join"
|
|
1284
|
-
};
|
|
1285
1281
|
exports.Prisma.CreatedByScalarFieldEnum = {
|
|
1286
1282
|
id: "id",
|
|
1287
1283
|
accountId: "accountId",
|
|
@@ -11345,7 +11341,7 @@ var z = /* @__PURE__ */ Object.freeze({
|
|
|
11345
11341
|
|
|
11346
11342
|
// src/Packages/body.ts
|
|
11347
11343
|
var PackageMeta = z.object({
|
|
11348
|
-
categories: z.array(z.string()),
|
|
11344
|
+
categories: z.array(z.string()).default([]),
|
|
11349
11345
|
description: z.string().trim(),
|
|
11350
11346
|
version: z.string().trim(),
|
|
11351
11347
|
id: z.string().trim(),
|
|
@@ -11375,7 +11371,7 @@ var AddPackageReleasePartial = import_library_prisma.prismaZodGenerated._Package
|
|
|
11375
11371
|
fileNames: z.array(z.string()).describe(
|
|
11376
11372
|
"Custom field for files, will return signatures for upload them to S3, used in EXTERNAL packages types"
|
|
11377
11373
|
).optional(),
|
|
11378
|
-
categories: z.array(z.string()).describe("Category IDs"),
|
|
11374
|
+
categories: z.array(z.string()).describe("Category IDs").default([]),
|
|
11379
11375
|
statusDetailsSystem: import_library_prisma.prismaZodGenerated._PackageStatusDetailsSystemModel.pick({ status: true }).optional().describe(
|
|
11380
11376
|
`Default status, for example "${import_library_prisma.PackageStatusDetailsStatusEnum.UPLOADED}"`
|
|
11381
11377
|
),
|