Updates
This commit is contained in:
Vendored
+1
@@ -44,6 +44,7 @@ function default_1() {
|
||||
(0, schema_to_typedef_1.default)({
|
||||
dbSchema: finaldbSchema,
|
||||
dst_file: out_file,
|
||||
config,
|
||||
});
|
||||
}
|
||||
console.log(`${chalk_1.default.bold(chalk_1.default.green(`DB Schema setup success!`))}`);
|
||||
|
||||
Vendored
+2
-1
@@ -25,7 +25,7 @@ function default_1() {
|
||||
.description("Build DB From Schema")
|
||||
.action((opts) => __awaiter(this, void 0, void 0, function* () {
|
||||
console.log(`Creating Type Definition From DB Schema ...`);
|
||||
const { config, dbSchema } = yield (0, init_1.default)();
|
||||
const { config, dbSchema } = (0, init_1.default)();
|
||||
const { ROOT_DIR } = (0, grab_dir_names_1.default)();
|
||||
const finaldbSchema = (0, append_default_fields_to_db_schema_1.default)({ dbSchema });
|
||||
if (config.typedef_file_path) {
|
||||
@@ -33,6 +33,7 @@ function default_1() {
|
||||
(0, schema_to_typedef_1.default)({
|
||||
dbSchema: finaldbSchema,
|
||||
dst_file: out_file,
|
||||
config,
|
||||
});
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user