Variable RoomIncludeSchemaConst
RoomIncludeSchema: ZodObject<
{
attributes: ZodOptional<
ZodUnion<
[
ZodCoercedBoolean<unknown>,
ZodObject<
{
distinct: ZodOptional<
ZodArray<
ZodEnum<{ attributeId: ...; id: ...; roomId: ...; value: ... }>,
>,
>;
where: ZodOptional<
ZodPipe<
ZodTransform<any, unknown>,
ZodObject<
{ attributeId: ...; id: ...; roomId: ...; value: ... },
$strip,
>,
>,
>;
},
$strip,
>,
],
>,
>;
building: ZodOptional<
ZodUnion<
[
ZodCoercedBoolean<unknown>,
ZodObject<
{
distinct: ZodOptional<
ZodArray<ZodEnum<{ code: ...; id: ...; name: ... }>>,
>;
where: ZodOptional<
ZodPipe<
ZodTransform<any, unknown>,
ZodObject<{ code: ...; id: ...; name: ... }, $strip>,
>,
>;
},
$strip,
>,
],
>,
>;
employeeRoomRequests: ZodOptional<
ZodUnion<
[
ZodCoercedBoolean<unknown>,
ZodObject<
{
distinct: ZodOptional<
ZodArray<
ZodEnum<
{
id: ...;
note: ...;
requestedAt: ...;
requestedById: ...;
resolvedAt: ...;
resolvedById: ...;
roomId: ...;
status: ...;
},
>,
>,
>;
where: ZodOptional<
ZodPipe<
ZodTransform<any, unknown>,
ZodObject<
{
id: ...;
note: ...;
requestedAt: ...;
requestedById: ...;
resolvedAt: ...;
resolvedById: ...;
roomId: ...;
status: ...;
},
$strip,
>,
>,
>;
},
$strip,
>,
],
>,
>;
employeeRooms: ZodOptional<
ZodUnion<
[
ZodCoercedBoolean<unknown>,
ZodObject<
{
distinct: ZodOptional<
ZodArray<
ZodEnum<
{
employeeId: ...;
givenAt: ...;
id: ...;
roomId: ...;
takenAt: ...;
},
>,
>,
>;
where: ZodOptional<
ZodPipe<
ZodTransform<any, unknown>,
ZodObject<
{
employeeId: ...;
givenAt: ...;
id: ...;
roomId: ...;
takenAt: ...;
},
$strip,
>,
>,
>;
},
$strip,
>,
],
>,
>;
quantities: ZodOptional<
ZodUnion<
[
ZodCoercedBoolean<unknown>,
ZodObject<
{
distinct: ZodOptional<
ZodArray<
ZodEnum<
{
id: ...;
itemId: ...;
minQuantity: ...;
quantity: ...;
roomId: ...;
},
>,
>,
>;
where: ZodOptional<
ZodPipe<
ZodTransform<any, unknown>,
ZodObject<
{
id: ...;
itemId: ...;
minQuantity: ...;
quantity: ...;
roomId: ...;
},
$strip,
>,
>,
>;
},
$strip,
>,
],
>,
>;
serials: ZodOptional<
ZodUnion<
[
ZodCoercedBoolean<unknown>,
ZodObject<
{
distinct: ZodOptional<
ZodArray<
ZodEnum<
{
id: ...;
itemId: ...;
roomId: ...;
serialNumber: ...;
uuid: ...;
},
>,
>,
>;
where: ZodOptional<
ZodPipe<
ZodTransform<any, unknown>,
ZodObject<
{
id: ...;
itemId: ...;
roomId: ...;
serialNumber: ...;
uuid: ...;
},
$strip,
>,
>,
>;
},
$strip,
>,
],
>,
>;
},
$strip,
> = ...