Added power sum per distributionboard
This commit is contained in:
parent
245a5b1485
commit
81d47ce16f
9 changed files with 501 additions and 31 deletions
|
|
@ -14,6 +14,8 @@ export const createConsumerSchema = z.object({
|
|||
note: z.string().optional(),
|
||||
});
|
||||
|
||||
export const updateConsumerSchema = createConsumerSchema;
|
||||
|
||||
export const createProjectSchema = z.object({
|
||||
name: z.string().min(1),
|
||||
});
|
||||
|
|
@ -25,3 +27,4 @@ export const createDistributionBoardSchema = z.object({
|
|||
export type CreateConsumerInput = z.infer<typeof createConsumerSchema>;
|
||||
export type CreateProjectInput = z.infer<typeof createProjectSchema>;
|
||||
export type CreateDistributionBoardInput = z.infer<typeof createDistributionBoardSchema>;
|
||||
export type UpdateConsumerInput = z.infer<typeof updateConsumerSchema>;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue