forked from jappel/leistungsbilanz-ts
Standardize phase type labels
This commit is contained in:
parent
084103bf54
commit
096ba8aa1c
23 changed files with 6117 additions and 52 deletions
|
|
@ -7,7 +7,7 @@ export const createGlobalDeviceSchema = z.object({
|
|||
quantity: z.number().min(0),
|
||||
installedPowerPerUnitKw: z.number().min(0),
|
||||
demandFactor: z.number().min(0).max(1),
|
||||
phaseCount: z.union([z.literal(1), z.literal(3)]).optional(),
|
||||
phaseCount: z.union([z.literal(1), z.literal(3)]),
|
||||
powerFactor: z.number().min(0).max(1).optional(),
|
||||
note: z.string().optional(),
|
||||
}).strict();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue