@resolveio/server-lib 4.4.1 → 4.4.2

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.
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  var mongoose_1 = require("mongoose");
4
4
  var simpl_schema_1 = require("simpl-schema");
5
5
  var index_1 = require("../index");
6
+ var schema_report_builder_1 = require("../util/schema-report-builder");
6
7
  var schema = {
7
8
  _id: {
8
9
  type: String,
@@ -71,3 +72,7 @@ exports.SupportFileVersions = null;
71
72
  if (index_1.ResolveIOServer.getSupportDB()) {
72
73
  exports.SupportFileVersions = index_1.ResolveIOServer.getSupportDB().model(exports.Files['versionCollection'], VersionSchema);
73
74
  }
75
+ //------------- Report Builder Schema
76
+ var rbLookups = [];
77
+ var rbSchema = Object.assign(schema, schema_report_builder_1.buildRbLookups(rbLookups, DefaultSchema, []));
78
+ exports.Files['rbSchema'] = schema_report_builder_1.buildRbSchema(rbSchema);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@resolveio/server-lib",
3
- "version": "4.4.1",
3
+ "version": "4.4.2",
4
4
  "description": "",
5
5
  "main": "index.ts",
6
6
  "scripts": {