@chevre/domain 21.30.0-alpha.43 → 21.30.0-alpha.44

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.
@@ -150,9 +150,9 @@ class AuthorizationRepo {
150
150
  return __awaiter(this, void 0, void 0, function* () {
151
151
  const conditions = AuthorizationRepo.CREATE_MONGO_CONDITIONS(params);
152
152
  const query = this.authorizationModel.find((conditions.length > 0) ? { $and: conditions } : {}, {
153
- __v: 0,
154
- createdAt: 0,
155
- updatedAt: 0
153
+ // __v: 0,
154
+ // createdAt: 0,
155
+ // updatedAt: 0
156
156
  });
157
157
  if (typeof params.limit === 'number' && params.limit > 0) {
158
158
  const page = (typeof params.page === 'number' && params.page > 0) ? params.page : 1;
@@ -41,10 +41,8 @@ const schemaOptions = {
41
41
  writeConcern: writeConcern_1.writeConcern,
42
42
  strict: true,
43
43
  strictQuery: false,
44
- timestamps: {
45
- createdAt: 'createdAt',
46
- updatedAt: 'updatedAt'
47
- },
44
+ timestamps: false,
45
+ versionKey: false,
48
46
  toJSON: {
49
47
  getters: false,
50
48
  virtuals: false,
package/package.json CHANGED
@@ -110,5 +110,5 @@
110
110
  "postversion": "git push origin --tags",
111
111
  "prepublishOnly": "npm run clean && npm run build && npm test && npm run doc"
112
112
  },
113
- "version": "21.30.0-alpha.43"
113
+ "version": "21.30.0-alpha.44"
114
114
  }