11 lines
367 B
TypeScript
11 lines
367 B
TypeScript
import { z } from "zod/v4";
|
|
export const WorkstationInputSchema = z.strictObject({
|
|
name: z.string().min(1).max(100),
|
|
active: z.boolean(),
|
|
siteId: z.uuid().nullable(),
|
|
personId: z.uuid().nullable(),
|
|
assetIds: z.array(z.uuid()).max(200),
|
|
sharedAssetIds: z.array(z.uuid()).max(200),
|
|
});
|
|
export type WorkstationInput = z.infer<typeof WorkstationInputSchema>;
|