@zyacreatives/shared 2.0.49 → 2.0.50
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.
|
@@ -6,6 +6,7 @@ export declare const BaseDisciplineEntitySchema: z.ZodObject<{
|
|
|
6
6
|
export declare const TagEntitySchema: z.ZodObject<{
|
|
7
7
|
id: z.ZodInt;
|
|
8
8
|
name: z.ZodString;
|
|
9
|
+
disciplineSlug: z.ZodOptional<z.ZodString>;
|
|
9
10
|
}, z.core.$strip>;
|
|
10
11
|
export declare const DisciplineEntitySchema: z.ZodObject<{
|
|
11
12
|
slug: z.ZodString;
|
|
@@ -8,7 +8,8 @@ exports.BaseDisciplineEntitySchema = zod_openapi_1.z.object({
|
|
|
8
8
|
});
|
|
9
9
|
exports.TagEntitySchema = zod_openapi_1.z.object({
|
|
10
10
|
id: zod_openapi_1.z.int(),
|
|
11
|
-
name: zod_openapi_1.z.string()
|
|
11
|
+
name: zod_openapi_1.z.string(),
|
|
12
|
+
disciplineSlug: zod_openapi_1.z.string().optional(),
|
|
12
13
|
});
|
|
13
14
|
exports.DisciplineEntitySchema = exports.BaseDisciplineEntitySchema.extend({
|
|
14
15
|
tags: zod_openapi_1.z
|
package/package.json
CHANGED
|
@@ -7,8 +7,9 @@ export const BaseDisciplineEntitySchema = z.object({
|
|
|
7
7
|
|
|
8
8
|
export const TagEntitySchema = z.object({
|
|
9
9
|
id: z.int(),
|
|
10
|
-
name: z.string()
|
|
11
|
-
|
|
10
|
+
name: z.string(),
|
|
11
|
+
disciplineSlug: z.string().optional(),
|
|
12
|
+
});
|
|
12
13
|
|
|
13
14
|
export const DisciplineEntitySchema = BaseDisciplineEntitySchema.extend({
|
|
14
15
|
tags: z
|