expresso-macchiato 0.3.8-dev.6 → 0.3.9-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -94,7 +94,7 @@ var _DbConnector = class _DbConnector {
94
94
  for (let migration of migrations) {
95
95
  if (executedMigrationNames.includes(migration)) log.gray(`- Migration ${migration} already executed, skipping.`);
96
96
  else {
97
- log.yellow(`- Executing migration ${migration}`);
97
+ log.gray(`- Executing migration ${migration}`);
98
98
  await AppDataSource.runMigrations();
99
99
  }
100
100
  }
@@ -550,7 +550,7 @@ _DynamicDbRouter.addDbRouterSwagger = (options) => {
550
550
  const avoidList = _nullishCoalesce(options.avoid, () => ( []));
551
551
  try {
552
552
  let schemaProperties = {};
553
- if (options.bodyParameters && options.bodyParameters) {
553
+ if (options.bodyParameters) {
554
554
  const defaultOverridingSchema = options.bodyParameters;
555
555
  for (const param in defaultOverridingSchema.properties) {
556
556
  const paramValue = defaultOverridingSchema.properties[param];
package/dist/index.mjs CHANGED
@@ -94,7 +94,7 @@ var _DbConnector = class _DbConnector {
94
94
  for (let migration of migrations) {
95
95
  if (executedMigrationNames.includes(migration)) log.gray(`- Migration ${migration} already executed, skipping.`);
96
96
  else {
97
- log.yellow(`- Executing migration ${migration}`);
97
+ log.gray(`- Executing migration ${migration}`);
98
98
  await AppDataSource.runMigrations();
99
99
  }
100
100
  }
@@ -550,7 +550,7 @@ _DynamicDbRouter.addDbRouterSwagger = (options) => {
550
550
  const avoidList = options.avoid ?? [];
551
551
  try {
552
552
  let schemaProperties = {};
553
- if (options.bodyParameters && options.bodyParameters) {
553
+ if (options.bodyParameters) {
554
554
  const defaultOverridingSchema = options.bodyParameters;
555
555
  for (const param in defaultOverridingSchema.properties) {
556
556
  const paramValue = defaultOverridingSchema.properties[param];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expresso-macchiato",
3
- "version": "0.3.8-dev.6",
3
+ "version": "0.3.9-beta.1",
4
4
  "author": "Alessio Velluso",
5
5
  "license": "MIT",
6
6
  "description": "Description",