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

Function unknownInstance

frontend/src/types/v1/instance.ts:15–21  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13export const UNKNOWN_INSTANCE_NAME = `instances/${UNKNOWN_ID}`;
14
15export const unknownInstance = (): Instance => {
16 return create(InstanceSchema, {
17 name: UNKNOWN_INSTANCE_NAME,
18 state: State.ACTIVE,
19 engine: Engine.MYSQL,
20 });
21};
22
23export const unknownInstanceResource = (): InstanceResource => {
24 return create(InstanceResourceSchema, {

Callers 7

mapGroupNodeFunction · 0.90
InstanceDetailPageFunction · 0.90
database.tsFile · 0.90
instanceV1NameFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected