Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion forward_engineering/api.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/**
* @import { ContainerLevelScriptFEData, Logger, GenerateContainerLevelScriptCallback } from "./types/types"
* @import { ContainerLevelScriptFEData, GenerateContainerLevelScriptCallback } from "./types/types"
* @import { Logger } from "../shared/types/types"
*/

const validationHelper = require('./helpers/schemaValidationHelper');
Expand Down
4 changes: 0 additions & 4 deletions forward_engineering/types/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -207,10 +207,6 @@ export type ContainerLevelScriptFEData = {
}
};

export type Logger = {
log: (logType: string, logData: object, logMessage: string) => void;
};

export type GenerateContainerLevelScriptCallback = (error: Error | null, script?: string) => void;

export type ValidationResponseItem = {
Expand Down
14 changes: 7 additions & 7 deletions localization/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"MAIN_MENU___ADD_ATTRIBUTE": "Add Field",
"MAIN_MENU___INSERT_FIELD": "Insert Field",
"MAIN_MENU___APPEND_FIELD": "Append Field",
"MAIN_MENU___REVERSE_DB_COLLECTIONS": "GraphQL File...",
"MAIN_MENU___REVERSE_DB_COLLECTIONS": "GraphQL Server...",
"MAIN_MENU___FORWARD_MODEL_COLLECTIONS": "GraphQL Schema...",
"MAIN_MENU___FORWARD_DB_BUCKETS": "GraphQL Schema...",
"TOOLBAR___ADD_BUCKET": "Add graph",
Expand Down Expand Up @@ -83,9 +83,9 @@
"MODAL_WINDOW___EMPTY_MODEL_MESSAGE": "The Model does not contain any operations.",
"MODAL_WINDOW___FIELD_INFERENCE": "Field Inference",
"MODAL_WINDOW___KEEP_FIELD_ORDER": "Keep field order",
"MODAL_WINDOW___CANNOT_CONNECT_TO_DB": "Cannot connect to REST",
"MODAL_WINDOW___SUCCESSFULLY_CONNECT_TO_DB": "Successfully connected to REST",
"MODAL_WINDOW___UNABLE_CONNECT_TO_DB": "Unable to connect to REST",
"MODAL_WINDOW___CANNOT_CONNECT_TO_DB": "Cannot connect to the GraphQL server",
"MODAL_WINDOW___SUCCESSFULLY_CONNECT_TO_DB": "Successfully connected to the GraphQL server",
"MODAL_WINDOW___UNABLE_CONNECT_TO_DB": "Unable to connect to the GraphQL server",
"MODAL_WINDOW___DB_ENTITIES_SELECTION_TITLE": "Operation selection",
"MODAL_WINDOW___RECORDS_MAX": "Documents max",
"MODAL_WINDOW___SUBDOCUMENT_IN_CHILD": "Sub-document in child",
Expand All @@ -94,13 +94,13 @@
"MODAL_WINDOW___CREATE_COLLECTION": "Create request",
"MODAL_WINDOW___CREATE_BUCKET": "Create operations",
"MODAL_WINDOW___ALL_COLLECTIONS": "and all nested operations",
"MODAL_WINDOW___CONNENTION_ERROR": "The REST instance you are connected to does not contain any operations.",
"MODAL_WINDOW___CONNENTION_ERROR": "The GraphQL server instance you are connected to does not contain any operations.",
"MODAL_WINDOW___CONTAIN_BUCKETS": "graphs",
"MODAL_WINDOW___CONTAIN_COLLECTIONS": "operations",
"MODAL_WINDOW___CONTAIN_BUCKET": "graphs",
"MODAL_WINDOW___CONTAIN_COLLECTION": "operations",
"MODAL_WINDOW___DB_CONNECTION_PROCESS": "REST Reverse-Engineering Process",
"MODAL_WINDOW___DB_CONNECTIONS_LIST_TITLE": "REST Connections",
"MODAL_WINDOW___DB_CONNECTION_PROCESS": "GraphQL server Reverse-Engineering Process",
"MODAL_WINDOW___DB_CONNECTIONS_LIST_TITLE": "GraphQL Connections",
"PROGRESS_BAR___DATABASE": "Operation",
"PROGRESS_BAR___COLLECTION": "Request",
"PROGRESS_BAR___PROCESS": "Process",
Expand Down
Loading