mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-04-23 01:53:46 +01:00
25 lines
661 B
TypeScript
25 lines
661 B
TypeScript
import Explorer from "../../Explorer/Explorer";
|
|
import { AccountKind, DefaultAccountExperience, TagNames } from "../../Common/Constants";
|
|
|
|
export function initializeExplorer(): Explorer {
|
|
const explorer: Explorer = new Explorer();
|
|
explorer.databaseAccount({
|
|
name: "",
|
|
id: "",
|
|
location: "",
|
|
type: "",
|
|
kind: AccountKind.DocumentDB,
|
|
tags: {
|
|
[TagNames.defaultExperience]: DefaultAccountExperience.DocumentDB
|
|
},
|
|
properties: {
|
|
documentEndpoint: "",
|
|
tableEndpoint: "",
|
|
gremlinEndpoint: "",
|
|
cassandraEndpoint: ""
|
|
}
|
|
});
|
|
explorer.isAccountReady(true);
|
|
return explorer;
|
|
}
|