forked from jappel/leistungsbilanz-ts
Add configurable distribution supply types
This commit is contained in:
parent
194bc9c0b1
commit
b1a11397b3
43 changed files with 5697 additions and 126 deletions
|
|
@ -1,3 +1,5 @@
|
|||
import type { DistributionBoardSupplyType } from "../shared/constants/distribution-board";
|
||||
|
||||
export interface ProjectDto {
|
||||
id: string;
|
||||
name: string;
|
||||
|
|
@ -7,6 +9,7 @@ export interface ProjectDto {
|
|||
description: string | null;
|
||||
singlePhaseVoltageV: number;
|
||||
threePhaseVoltageV: number;
|
||||
enabledDistributionBoardSupplyTypes: DistributionBoardSupplyType[];
|
||||
currentRevision: number;
|
||||
}
|
||||
|
||||
|
|
@ -89,6 +92,8 @@ export interface DistributionBoardDto {
|
|||
id: string;
|
||||
projectId: string;
|
||||
name: string;
|
||||
floorId: string | null;
|
||||
supplyType: DistributionBoardSupplyType | null;
|
||||
}
|
||||
|
||||
export interface DistributionBoardCommandResultDto
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue