@chevre/domain 26.0.0-alpha.37 → 26.0.0-alpha.38

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.
@@ -26,6 +26,7 @@ exports.AVAILABLE_PROJECT_FIELDS = [
26
26
  'cancelAction',
27
27
  'about',
28
28
  'identifier',
29
+ 'expires'
29
30
  ];
30
31
  const DEFAULT_EXPIRE_AFTER_SECONDS = 17280000; // 200 days
31
32
  const RECIPE_DEFAULT_EXPIRE_AFTER_SECONDS = 17280000; // 200 days
@@ -57,6 +57,16 @@ const schemaOptions = {
57
57
  }
58
58
  };
59
59
  const indexes = [
60
+ [
61
+ { expires: 1 },
62
+ {
63
+ name: 'expires',
64
+ expireAfterSeconds: 0,
65
+ partialFilterExpression: {
66
+ expires: { $exists: true }
67
+ }
68
+ }
69
+ ],
60
70
  [
61
71
  { startDate: 1 },
62
72
  {
@@ -57,6 +57,16 @@ const schemaOptions = {
57
57
  }
58
58
  };
59
59
  const indexes = [
60
+ [
61
+ { expires: 1 },
62
+ {
63
+ name: 'expires',
64
+ expireAfterSeconds: 0,
65
+ partialFilterExpression: {
66
+ expires: { $exists: true }
67
+ }
68
+ }
69
+ ],
60
70
  [
61
71
  { dateCreated: 1 },
62
72
  {
package/package.json CHANGED
@@ -88,5 +88,5 @@
88
88
  "postversion": "git push origin --tags",
89
89
  "prepublishOnly": "npm run clean && npm run build"
90
90
  },
91
- "version": "26.0.0-alpha.37"
91
+ "version": "26.0.0-alpha.38"
92
92
  }