@ccci/micro-server 1.0.89 → 1.0.91

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
@@ -119689,7 +119689,7 @@ class BaseModel extends Model {
119689
119689
  sequelize: DatabaseConnector.getConnection(),
119690
119690
  tableName,
119691
119691
  schema: schema || process.env.DB_SCHEMA,
119692
- paranoid: true
119692
+ paranoid
119693
119693
  });
119694
119694
  }
119695
119695
  }
@@ -22,6 +22,13 @@ export default class BaseModel extends Model implements IBaseModel {
22
22
  };
23
23
  };
24
24
  static getCommonAssociations(): void;
25
+ /**
26
+ *
27
+ * @param {ModelAttributes} fields table columns
28
+ * @param {string} tableName name of the table
29
+ * @param {string} schema this will overwrite the default schema
30
+ * @param {boolean} paranoid paranoid option. defaults to true
31
+ */
25
32
  static initialize(fields: ModelAttributes, tableName: string, schema?: string, paranoid?: boolean): void;
26
33
  }
27
34
  //# sourceMappingURL=BaseModel.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ccci/micro-server",
3
- "version": "1.0.89",
3
+ "version": "1.0.91",
4
4
  "module": "index.ts",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",