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

Function defaultProject

frontend/src/types/v1/project.ts:29–35  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

27};
28
29export const defaultProject = (name: string): Project => {
30 return {
31 ...unknownProject(),
32 name,
33 title: "Default project",
34 };
35};
36
37export const isValidProjectName = (name: string | undefined) => {
38 return (

Callers 2

AsidePanelFunction · 0.90
DatabaseSQLEditorButtonFunction · 0.90

Calls 1

unknownProjectFunction · 0.85

Tested by

no test coverage detected