Create clean release database baseline
This commit is contained in:
parent
5bee3cb103
commit
734a2bcfc4
129 changed files with 2121 additions and 30607 deletions
|
|
@ -21,9 +21,6 @@ export interface CircuitSnapshot {
|
|||
equipmentIdentifier: string;
|
||||
displayName: string | null;
|
||||
sortOrder: number;
|
||||
protectionType: string | null;
|
||||
protectionRatedCurrent: number | null;
|
||||
protectionCharacteristic: string | null;
|
||||
cableType: string | null;
|
||||
cableCrossSection: string | null;
|
||||
cableLength: number | null;
|
||||
|
|
@ -115,8 +112,6 @@ export function assertCircuitInsertProjectCommand(
|
|||
assertNullableString(circuit.displayName, "circuit.displayName");
|
||||
assertFiniteNumber(circuit.sortOrder, "circuit.sortOrder");
|
||||
for (const field of [
|
||||
"protectionType",
|
||||
"protectionCharacteristic",
|
||||
"cableType",
|
||||
"cableCrossSection",
|
||||
"rcdAssignment",
|
||||
|
|
@ -127,10 +122,6 @@ export function assertCircuitInsertProjectCommand(
|
|||
] as const) {
|
||||
assertNullableString(circuit[field], `circuit.${field}`);
|
||||
}
|
||||
assertNullableNonNegativeNumber(
|
||||
circuit.protectionRatedCurrent,
|
||||
"circuit.protectionRatedCurrent"
|
||||
);
|
||||
assertNullableNonNegativeNumber(
|
||||
circuit.cableLength,
|
||||
"circuit.cableLength"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue