Skip to content

frontends-web-frontend


Function: createWorkbook()

createWorkbook(projectId, 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:46

Parameters

projectId

string

payload

elementCode

string = ...

name

string = ...

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; }>