Updates
This commit is contained in:
@@ -6,7 +6,10 @@ import dbSchemaToType from "../package-shared/functions/dsql/db-schema-to-type";
|
||||
import path from "path";
|
||||
import debugLog from "../package-shared/utils/logging/debug-log";
|
||||
import { AppNames } from "../package-shared/dict/app-names";
|
||||
import { APIConnectionOptions } from "../package-shared/types";
|
||||
import {
|
||||
APIConnectionOptions,
|
||||
DSQL_DatabaseSchemaType,
|
||||
} from "../package-shared/types";
|
||||
|
||||
type Config = {
|
||||
database?: string;
|
||||
@@ -83,7 +86,9 @@ if (!config.apiConnectionConfig.apiKey) {
|
||||
apiConnectionConfig: config.apiConnectionConfig,
|
||||
});
|
||||
|
||||
const dbSchema = schemaRes.payload;
|
||||
const dbSchema = schemaRes.singleRes as
|
||||
| DSQL_DatabaseSchemaType
|
||||
| undefined;
|
||||
|
||||
if (config.debug) {
|
||||
debugLog({
|
||||
|
||||
Reference in New Issue
Block a user