@chevre/domain 21.0.0-alpha.3 → 21.0.0-alpha.5

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.
@@ -218,13 +218,3 @@ schema.index({ 'project.id': 1, status: 1, expires: 1 }, {
218
218
  'project.id': { $exists: true }
219
219
  }
220
220
  });
221
- (0, mongoose_1.model)(modelName, schema)
222
- .on('index',
223
- // tslint:disable-next-line:no-single-line-block-comment
224
- /* istanbul ignore next */
225
- (error) => {
226
- if (error !== undefined) {
227
- // tslint:disable-next-line:no-console
228
- console.error(error);
229
- }
230
- });
@@ -0,0 +1,3 @@
1
+ import { WriteConcern } from 'mongoose';
2
+ declare const writeConcern: WriteConcern;
3
+ export { writeConcern };
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.writeConcern = void 0;
4
+ const writeConcern = { j: true, w: 'majority', wtimeout: 10000 };
5
+ exports.writeConcern = writeConcern;
package/package.json CHANGED
@@ -119,5 +119,5 @@
119
119
  "postversion": "git push origin --tags",
120
120
  "prepublishOnly": "npm run clean && npm run build && npm test && npm run doc"
121
121
  },
122
- "version": "21.0.0-alpha.3"
122
+ "version": "21.0.0-alpha.5"
123
123
  }