diff --git a/src/Contracts/DataModels.ts b/src/Contracts/DataModels.ts index 5a25a6416..2a5749ff9 100644 --- a/src/Contracts/DataModels.ts +++ b/src/Contracts/DataModels.ts @@ -273,7 +273,7 @@ export interface AutoPilotOfferSettings { } export interface CreateDatabaseParams { - autoPilotMaxThroughput?: string; + autoPilotMaxThroughput?: number; databaseId: string; databaseLevelThroughput?: boolean; offerThroughput?: number; diff --git a/src/Explorer/ComponentRegisterer.ts b/src/Explorer/ComponentRegisterer.ts index d0210e4ec..c33e0f6b6 100644 --- a/src/Explorer/ComponentRegisterer.ts +++ b/src/Explorer/ComponentRegisterer.ts @@ -26,7 +26,6 @@ import TerminalTab from "./Tabs/TerminalTab"; import TriggerTab from "./Tabs/TriggerTab"; import UserDefinedFunctionTab from "./Tabs/UserDefinedFunctionTab"; - ko.components.register("input-typeahead", new InputTypeaheadComponent()); ko.components.register("new-vertex-form", NewVertexComponent); ko.components.register("error-display", new ErrorDisplayComponent()); diff --git a/src/Explorer/Panes/AddDatabasePane/index.tsx b/src/Explorer/Panes/AddDatabasePane/index.tsx index 916bef9f4..add73fac4 100644 --- a/src/Explorer/Panes/AddDatabasePane/index.tsx +++ b/src/Explorer/Panes/AddDatabasePane/index.tsx @@ -180,7 +180,7 @@ export const AddDatabasePane: FunctionComponent = ({ }; if (isAutoPilotSelected) { - createDatabaseParams.autoPilotMaxThroughput = "" + maxAutoPilotThroughputSet; + createDatabaseParams.autoPilotMaxThroughput = maxAutoPilotThroughputSet; } else { createDatabaseParams.offerThroughput = addDatabasePaneStartMessage.offerThroughput; } diff --git a/src/Explorer/Panes/PaneComponents.ts b/src/Explorer/Panes/PaneComponents.ts index d71e12905..e37b1d390 100644 --- a/src/Explorer/Panes/PaneComponents.ts +++ b/src/Explorer/Panes/PaneComponents.ts @@ -25,7 +25,6 @@ export class PaneComponent { } } - export class AddCollectionPaneComponent { constructor() { return {