forked from jappel/leistungsbilanz-ts
Add versioned project settings modal
This commit is contained in:
parent
e1fc81a083
commit
d77cfbeb49
22 changed files with 2563 additions and 111 deletions
|
|
@ -210,7 +210,15 @@ export function createProject(name: string) {
|
|||
export function updateProjectSettings(
|
||||
projectId: string,
|
||||
expectedRevision: number,
|
||||
input: { singlePhaseVoltageV: number; threePhaseVoltageV: number }
|
||||
input: {
|
||||
name: string;
|
||||
internalProjectNumber: string | null;
|
||||
externalProjectNumber: string | null;
|
||||
buildingOwner: string | null;
|
||||
description: string | null;
|
||||
singlePhaseVoltageV: number;
|
||||
threePhaseVoltageV: number;
|
||||
}
|
||||
) {
|
||||
return request<ProjectSettingsCommandResultDto>(
|
||||
`/api/projects/${projectId}`,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue