@resolveio/server-lib 20.14.18 → 20.14.19

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.
@@ -6,5 +6,6 @@ export interface PaginationOptions {
6
6
  fields?: {
7
7
  [key: string]: number;
8
8
  };
9
+ includeCount?: boolean;
9
10
  }
10
11
  export declare const PaginationOptionsSchema: any;
@@ -18,6 +18,10 @@ exports.PaginationOptionsSchema = new simpl_schema_1.default({
18
18
  type: Object,
19
19
  optional: true,
20
20
  blackbox: true
21
+ },
22
+ includeCount: {
23
+ type: Boolean,
24
+ optional: true
21
25
  }
22
26
  });
23
27
 
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/models/pagination.model.ts"],"names":[],"mappings":";;;AAAA,6CAAwC;AAY3B,QAAA,uBAAuB,GAAG,IAAI,sBAAY,CAAE;IACxD,KAAK,EAAE;QACN,IAAI,EAAE,MAAM;KACZ;IACD,IAAI,EAAE;QACL,IAAI,EAAE,MAAM;KACZ;IACD,IAAI,EAAE;QACL,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAE,IAAI;QACd,QAAQ,EAAE,IAAI;KACd;IACD,MAAM,EAAE;QACP,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAE,IAAI;QACd,QAAQ,EAAE,IAAI;KACd;CACD,CAAC,CAAC","file":"pagination.model.js","sourcesContent":["import SimpleSchema from 'simpl-schema';\nimport { Sort } from 'mongodb';\n\nexport interface PaginationOptions {\n\tlimit?: number;\n\tskip?: number;\n\tsort?: Sort;\n\tfields?: {\n\t\t[key: string]: number;\n\t};\n}\n\nexport const PaginationOptionsSchema = new SimpleSchema ({\n\tlimit: {\n\t\ttype: Number\n\t},\n\tskip: {\n\t\ttype: Number\n\t},\n\tsort: {\n\t\ttype: Object,\n\t\tblackbox: true,\n\t\toptional: true\n\t},\n\tfields: {\n\t\ttype: Object,\n\t\toptional: true,\n\t\tblackbox: true\n\t}\n});"]}
1
+ {"version":3,"sources":["../../src/models/pagination.model.ts"],"names":[],"mappings":";;;AAAA,6CAAwC;AAa3B,QAAA,uBAAuB,GAAG,IAAI,sBAAY,CAAE;IACxD,KAAK,EAAE;QACN,IAAI,EAAE,MAAM;KACZ;IACD,IAAI,EAAE;QACL,IAAI,EAAE,MAAM;KACZ;IACD,IAAI,EAAE;QACL,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAE,IAAI;QACd,QAAQ,EAAE,IAAI;KACd;IACD,MAAM,EAAE;QACP,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAE,IAAI;QACd,QAAQ,EAAE,IAAI;KACd;IACD,YAAY,EAAE;QACb,IAAI,EAAE,OAAO;QACb,QAAQ,EAAE,IAAI;KACd;CACD,CAAC,CAAC","file":"pagination.model.js","sourcesContent":["import SimpleSchema from 'simpl-schema';\nimport { Sort } from 'mongodb';\n\nexport interface PaginationOptions {\n\tlimit?: number;\n\tskip?: number;\n\tsort?: Sort;\n\tfields?: {\n\t\t[key: string]: number;\n\t};\n\tincludeCount?: boolean;\n}\n\nexport const PaginationOptionsSchema = new SimpleSchema ({\n\tlimit: {\n\t\ttype: Number\n\t},\n\tskip: {\n\t\ttype: Number\n\t},\n\tsort: {\n\t\ttype: Object,\n\t\tblackbox: true,\n\t\toptional: true\n\t},\n\tfields: {\n\t\ttype: Object,\n\t\toptional: true,\n\t\tblackbox: true\n\t},\n\tincludeCount: {\n\t\ttype: Boolean,\n\t\toptional: true\n\t}\n});\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@resolveio/server-lib",
3
- "version": "20.14.18",
3
+ "version": "20.14.19",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "package": "./build_package.sh",