Added power sum per distributionboard
This commit is contained in:
@@ -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>;
|
||||
|
||||
Reference in New Issue
Block a user