forked from jappel/leistungsbilanz-ts
Persist section renumbering
This commit is contained in:
parent
abcb468807
commit
c45afd0981
24 changed files with 317 additions and 638 deletions
|
|
@ -1,14 +0,0 @@
|
|||
import { z } from "zod";
|
||||
|
||||
export const updateSectionEquipmentIdentifiersSchema = z.object({
|
||||
identifiers: z
|
||||
.array(
|
||||
z.object({
|
||||
circuitId: z.string().min(1),
|
||||
equipmentIdentifier: z.string().min(1),
|
||||
})
|
||||
)
|
||||
.min(1),
|
||||
});
|
||||
|
||||
export type UpdateSectionEquipmentIdentifiersInput = z.infer<typeof updateSectionEquipmentIdentifiersSchema>;
|
||||
Loading…
Add table
Add a link
Reference in a new issue