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

Function isValidProjectName

frontend/src/types/v1/project.ts:37–41  ·  view source on GitHub ↗
(name: string | undefined)

Source from the content-addressed store, hash-verified

35};
36
37export const isValidProjectName = (name: string | undefined) => {
38 return (
39 !!name && name.startsWith("projects/") && name !== UNKNOWN_PROJECT_NAME
40 );
41};

Callers 14

ProjectSelectFunction · 0.90
QuickstartFunction · 0.90
CreateDatabaseSheetFunction · 0.90
SQLEditorRouteShellFunction · 0.90
syncURLFunction · 0.90
AsidePanelFunction · 0.90
ConnectionPaneInnerFunction · 0.90
getQueryHistoryCacheKeyFunction · 0.90
createWorksheetSaveSliceFunction · 0.90
buildUserFilterFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected