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

Function getWorksheetId

frontend/src/store/modules/v1/common.ts:166–172  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

164};
165
166export const getWorksheetId = (name: string): string => {
167 const tokens = getNameParentTokens(name, [
168 projectNamePrefix,
169 worksheetNamePrefix,
170 ]);
171 return tokens[1] || "";
172};
173
174export const getInstanceId = (name: string): string[] => {
175 const tokens = getNameParentTokens(name, [instanceNamePrefix]);

Callers

nothing calls this directly

Calls 1

getNameParentTokensFunction · 0.85

Tested by

no test coverage detected