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

Function databaseV1Url

frontend/src/utils/v1/database.ts:23–25  ·  view source on GitHub ↗
(db: Database)

Source from the content-addressed store, hash-verified

21import { extractProjectResourceName } from "./project";
22
23export const databaseV1Url = (db: Database) => {
24 return databaseV1UrlWithProject(db.project, db.name);
25};
26
27const databaseV1UrlWithProject = (project: string, database: string) => {
28 const projectId = extractProjectResourceName(project);

Callers 4

SourceSchemaInfoFunction · 0.90
changelogLinkFunction · 0.90
revisionLinkFunction · 0.90

Calls 1

databaseV1UrlWithProjectFunction · 0.85

Tested by

no test coverage detected