Add configurable distribution supply types
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user