mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2026-04-19 21:09:46 +01:00
Fix the keys blade links to point to the common connection strings (#2417)
blade.
This commit is contained in:
@@ -37,7 +37,7 @@ const connectionStringValue: Description = {
|
|||||||
textTKey: "ConnectionStringText",
|
textTKey: "ConnectionStringText",
|
||||||
type: DescriptionType.Text,
|
type: DescriptionType.Text,
|
||||||
link: {
|
link: {
|
||||||
href: generateBladeLink(BladeType.SqlKeys),
|
href: generateBladeLink(BladeType.ConnectionStrings),
|
||||||
textTKey: "KeysBlade",
|
textTKey: "KeysBlade",
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -41,27 +41,10 @@ export enum SelfServeType {
|
|||||||
*/
|
*/
|
||||||
export enum BladeType {
|
export enum BladeType {
|
||||||
/**
|
/**
|
||||||
* Keys blade of a Azure Cosmos DB for NoSQL account.
|
* Connection Strings blade of a Azure Cosmos DB account.
|
||||||
*/
|
*/
|
||||||
SqlKeys = "keys",
|
ConnectionStrings = "Connection%20strings",
|
||||||
/**
|
|
||||||
* Keys blade of a Azure Cosmos DB for MongoDB account.
|
|
||||||
*/
|
|
||||||
MongoKeys = "mongoDbKeys",
|
|
||||||
/**
|
|
||||||
* Keys blade of a Azure Cosmos DB for Apache Cassandra account.
|
|
||||||
*/
|
|
||||||
CassandraKeys = "cassandraDbKeys",
|
|
||||||
/**
|
|
||||||
* Keys blade of a Azure Cosmos DB for Apache Gremlin account.
|
|
||||||
*/
|
|
||||||
// TODO This is a obviously a bug, but for now, let's ignore the eslint error
|
|
||||||
// eslint-disable-next-line @typescript-eslint/no-duplicate-enum-values
|
|
||||||
GremlinKeys = "keys",
|
|
||||||
/**
|
|
||||||
* Keys blade of a Azure Cosmos DB for Table account.
|
|
||||||
*/
|
|
||||||
TableKeys = "tableKeys",
|
|
||||||
/**
|
/**
|
||||||
* Metrics blade of an Azure Cosmos DB account.
|
* Metrics blade of an Azure Cosmos DB account.
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ const connectionStringValue: Description = {
|
|||||||
textTKey: "ConnectionStringText",
|
textTKey: "ConnectionStringText",
|
||||||
type: DescriptionType.Text,
|
type: DescriptionType.Text,
|
||||||
link: {
|
link: {
|
||||||
href: generateBladeLink(BladeType.SqlKeys),
|
href: generateBladeLink(BladeType.ConnectionStrings),
|
||||||
textTKey: "KeysBlade",
|
textTKey: "KeysBlade",
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user