From f8533abb6498980748f5890f21989d4903eb4a03 Mon Sep 17 00:00:00 2001 From: Sindhu Balasubramanian Date: Mon, 22 Dec 2025 07:08:30 -0800 Subject: [PATCH] Run npm format --- .../AddCollectionPanel/AddCollectionPanel.tsx | 30 +++++++++---------- .../scaleAndSettings/sharedThroughput.spec.ts | 4 +-- test/testData.ts | 2 +- 3 files changed, 18 insertions(+), 18 deletions(-) diff --git a/src/Explorer/Panes/AddCollectionPanel/AddCollectionPanel.tsx b/src/Explorer/Panes/AddCollectionPanel/AddCollectionPanel.tsx index b47588d3e..6ae00926c 100644 --- a/src/Explorer/Panes/AddCollectionPanel/AddCollectionPanel.tsx +++ b/src/Explorer/Panes/AddCollectionPanel/AddCollectionPanel.tsx @@ -721,8 +721,8 @@ export class AddCollectionPanel extends React.Component @@ -732,8 +732,8 @@ export class AddCollectionPanel extends React.Component @@ -912,8 +912,8 @@ export class AddCollectionPanel extends React.Component { scrollToSection("collapsibleFullTextPolicySectionContent"); }} - //TODO: uncomment when learn more text becomes available - // tooltipContent={this.getContainerFullTextPolicyTooltipContent()} + //TODO: uncomment when learn more text becomes available + // tooltipContent={this.getContainerFullTextPolicyTooltipContent()} > @@ -1341,15 +1341,15 @@ export class AddCollectionPanel extends React.Component 0 - ? this.state.subPartitionKeys - : []), - ], - kind: userContext.apiType === "SQL" && this.state.subPartitionKeys.length > 0 ? "MultiHash" : "Hash", - version: partitionKeyVersion, - } + paths: [ + partitionKeyString, + ...(userContext.apiType === "SQL" && this.state.subPartitionKeys.length > 0 + ? this.state.subPartitionKeys + : []), + ], + kind: userContext.apiType === "SQL" && this.state.subPartitionKeys.length > 0 ? "MultiHash" : "Hash", + version: partitionKeyVersion, + } : undefined; const indexingPolicy: DataModels.IndexingPolicy = this.state.enableIndexing diff --git a/test/sql/scaleAndSettings/sharedThroughput.spec.ts b/test/sql/scaleAndSettings/sharedThroughput.spec.ts index 89a98deaa..47f78ca4a 100644 --- a/test/sql/scaleAndSettings/sharedThroughput.spec.ts +++ b/test/sql/scaleAndSettings/sharedThroughput.spec.ts @@ -114,7 +114,7 @@ test.describe("Database with Shared Throughput", () => { test("Add container to shared database without dedicated throughput", async () => { // Create database with shared manual throughput dbContext = await createTestDB({ throughput: 400 }); - + // Wait for the database to appear in the tree await explorer.waitForNode(dbContext.database.id); @@ -285,4 +285,4 @@ test.describe("Database with Shared Throughput", () => { ); }); }); -}); \ No newline at end of file +}); diff --git a/test/testData.ts b/test/testData.ts index 4e283f50e..97d4d94f5 100644 --- a/test/testData.ts +++ b/test/testData.ts @@ -116,7 +116,7 @@ export async function createTestDB(options?: CreateTestDBOptions): Promise