format and compile

This commit is contained in:
hardiknai-techm
2021-03-31 18:24:25 +05:30
parent 3b09a19ce5
commit 6a1f8ce822
4 changed files with 2 additions and 4 deletions

View File

@@ -273,7 +273,7 @@ export interface AutoPilotOfferSettings {
}
export interface CreateDatabaseParams {
autoPilotMaxThroughput?: string;
autoPilotMaxThroughput?: number;
databaseId: string;
databaseLevelThroughput?: boolean;
offerThroughput?: number;

View File

@@ -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());

View File

@@ -180,7 +180,7 @@ export const AddDatabasePane: FunctionComponent<AddDatabasePaneProps> = ({
};
if (isAutoPilotSelected) {
createDatabaseParams.autoPilotMaxThroughput = "" + maxAutoPilotThroughputSet;
createDatabaseParams.autoPilotMaxThroughput = maxAutoPilotThroughputSet;
} else {
createDatabaseParams.offerThroughput = addDatabasePaneStartMessage.offerThroughput;
}

View File

@@ -25,7 +25,6 @@ export class PaneComponent {
}
}
export class AddCollectionPaneComponent {
constructor() {
return {