@taiger-common/model 1.0.54 → 1.0.55
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/dist/cjs/api/programs.js
CHANGED
|
@@ -75,7 +75,7 @@ exports.GetProgramResponseSchema = zod_1.z.object({
|
|
|
75
75
|
success: zod_1.z.boolean(),
|
|
76
76
|
data: serialized_1.ProgramWithIdSchema,
|
|
77
77
|
students: zod_1.z.array(serialized_1.StudentResponseSchema).optional(),
|
|
78
|
-
vc: zod_1.z.array(zod_1.z.unknown()).optional()
|
|
78
|
+
vc: zod_1.z.union([zod_1.z.record(zod_1.z.unknown()), zod_1.z.array(zod_1.z.unknown())]).optional()
|
|
79
79
|
});
|
|
80
80
|
exports.CreateProgramResponseSchema = (0, common_1.createApiResponseSchema)(serialized_1.ProgramWithIdSchema);
|
|
81
81
|
exports.UpdateProgramResponseSchema = zod_1.z.object({
|
package/dist/esm/api/programs.js
CHANGED
|
@@ -72,7 +72,7 @@ export var GetProgramResponseSchema = z.object({
|
|
|
72
72
|
success: z.boolean(),
|
|
73
73
|
data: ProgramWithIdSchema,
|
|
74
74
|
students: z.array(StudentResponseSchema).optional(),
|
|
75
|
-
vc: z.array(z.unknown()).optional()
|
|
75
|
+
vc: z.union([z.record(z.unknown()), z.array(z.unknown())]).optional()
|
|
76
76
|
});
|
|
77
77
|
export var CreateProgramResponseSchema = createApiResponseSchema(ProgramWithIdSchema);
|
|
78
78
|
export var UpdateProgramResponseSchema = z.object({
|
|
@@ -1433,7 +1433,7 @@ export declare const GetProgramResponseSchema: z.ZodObject<{
|
|
|
1433
1433
|
vcId?: string | undefined;
|
|
1434
1434
|
}>;
|
|
1435
1435
|
students: z.ZodOptional<z.ZodArray<z.ZodType<import("..").IStudentResponseDef, z.ZodTypeDef, import("..").IStudentResponseDef>, "many">>;
|
|
1436
|
-
vc: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
|
|
1436
|
+
vc: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodUnknown, "many">]>>;
|
|
1437
1437
|
}, "strip", z.ZodTypeAny, {
|
|
1438
1438
|
data: {
|
|
1439
1439
|
school: string;
|
|
@@ -1518,7 +1518,7 @@ export declare const GetProgramResponseSchema: z.ZodObject<{
|
|
|
1518
1518
|
};
|
|
1519
1519
|
success: boolean;
|
|
1520
1520
|
students?: import("..").IStudentResponseDef[] | undefined;
|
|
1521
|
-
vc?: unknown[] | undefined;
|
|
1521
|
+
vc?: unknown[] | Record<string, unknown> | undefined;
|
|
1522
1522
|
}, {
|
|
1523
1523
|
data: {
|
|
1524
1524
|
school: string;
|
|
@@ -1603,7 +1603,7 @@ export declare const GetProgramResponseSchema: z.ZodObject<{
|
|
|
1603
1603
|
};
|
|
1604
1604
|
success: boolean;
|
|
1605
1605
|
students?: import("..").IStudentResponseDef[] | undefined;
|
|
1606
|
-
vc?: unknown[] | undefined;
|
|
1606
|
+
vc?: unknown[] | Record<string, unknown> | undefined;
|
|
1607
1607
|
}>;
|
|
1608
1608
|
export declare const CreateProgramResponseSchema: z.ZodObject<{
|
|
1609
1609
|
success: z.ZodBoolean;
|