@dnax/core 0.15.0 → 0.15.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/types/index.ts +2 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dnax/core",
3
- "version": "0.15.0",
3
+ "version": "0.15.1",
4
4
  "module": "index.ts",
5
5
  "type": "module",
6
6
  "bin": {
package/types/index.ts CHANGED
@@ -102,7 +102,7 @@ export type Field = {
102
102
  nullable?: boolean;
103
103
  defaultValue?: any;
104
104
  unique?: boolean;
105
- index?: boolean | "text" | "2dsphere";
105
+ index?: boolean | "text" | "2dsphere" | "2d" | -1 | 1;
106
106
  description?: string;
107
107
  relation?: {
108
108
  to: string; // collection name
@@ -296,6 +296,7 @@ export type Collection = {
296
296
  [key: string]: any;
297
297
  unique?: Boolean;
298
298
  expireAfterSeconds?: number;
299
+ partialFilterExpression?: any;
299
300
  }>;
300
301
  autoRemoveIndexes?: Array<{
301
302
  [key: string]: any;