Add atomic device row updates
This commit is contained in:
parent
296cb0f1c4
commit
2d0aa11d9c
14 changed files with 918 additions and 53 deletions
|
|
@ -20,9 +20,26 @@ export interface CircuitDeviceRowUpdateInput {
|
|||
overriddenFields?: string;
|
||||
}
|
||||
|
||||
export type CircuitDeviceRowPatchInput = Partial<CircuitDeviceRowUpdateInput> & {
|
||||
export interface CircuitDeviceRowPatchInput {
|
||||
linkedProjectDeviceId?: string | null;
|
||||
sortOrder?: number;
|
||||
};
|
||||
name?: string;
|
||||
displayName?: string;
|
||||
phaseType?: string | null;
|
||||
connectionKind?: string | null;
|
||||
costGroup?: string | null;
|
||||
category?: string | null;
|
||||
level?: string | null;
|
||||
roomId?: string | null;
|
||||
roomNumberSnapshot?: string | null;
|
||||
roomNameSnapshot?: string | null;
|
||||
quantity?: number;
|
||||
powerPerUnit?: number;
|
||||
simultaneityFactor?: number;
|
||||
cosPhi?: number | null;
|
||||
remark?: string | null;
|
||||
overriddenFields?: string | null;
|
||||
}
|
||||
|
||||
export interface CircuitDeviceRowCreateInput extends CircuitDeviceRowUpdateInput {
|
||||
circuitId: string;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue