MCPcopy Create free account
hub / github.com/bytebase/bytebase / createSheet

Method createSheet

frontend/tests/e2e/framework/api-client.ts:464–470  ·  view source on GitHub ↗
(project: string, content: string)

Source from the content-addressed store, hash-verified

462
463 // Sheets
464 async createSheet(project: string, content: string): Promise<string> {
465 const b64 = Buffer.from(content).toString("base64");
466 const resp = await this.request<{ name: string }>(
467 "POST", `/v1/${project}/sheets`, { content: b64 }
468 );
469 return resp.name;
470 }
471
472 // Worksheets — distinct from Sheets. SQL Editor's left sidebar tree shows
473 // Worksheets, identified by `projects/{project}/worksheets/{uuid}`. The

Callers 15

createSheetSliceFunction · 0.45
ImportRevisionSheetFunction · 0.45
handleSaveFunction · 0.45
createSheetsFunction · 0.45
PlanDetailRollbackSheetFunction · 0.45
handleSaveFunction · 0.45
createPlanAndNavigateFunction · 0.45

Calls 1

toStringMethod · 0.65

Tested by 3

createPlanAndNavigateFunction · 0.36
createIssueWithChecksFunction · 0.36