Skip to content

frontends-web-frontend


Function: updateWorkbook()

updateWorkbook(projectId, id, payload): Promise<{ createdAt: string; elementCode: string; id: string; name: string; ownerFullName: string; ownerInitials: string; ownerUsername: string; projectId: string; status: "complete" | "in-progress" | "draft"; updatedAt: string; version: number; }>

Defined in: frontends/web-frontend/src/workbooks/workbookApi.ts:51

Parameters

projectId

string

id

string

payload

name?

string = ...

status?

"complete" | "in-progress" | "draft" = ...

Returns

Promise<{ createdAt: string; elementCode: string; id: string; name: string; ownerFullName: string; ownerInitials: string; ownerUsername: string; projectId: string; status: "complete" | "in-progress" | "draft"; updatedAt: string; version: number; }>