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

Function defaultProjectName

frontend/src/react/stores/app/utils.ts:195–197  ·  view source on GitHub ↗
(get: () => AppStoreState)

Source from the content-addressed store, hash-verified

193}
194
195export function defaultProjectName(get: () => AppStoreState) {
196 return get().serverInfo?.defaultProject ?? "";
197}
198
199export function isConnectAlreadyExists(error: unknown): error is ConnectError {
200 return error instanceof ConnectError && error.code === Code.AlreadyExists;

Callers 1

createProjectSliceFunction · 0.90

Calls 1

getFunction · 0.85

Tested by

no test coverage detected