@resolveio/server-lib 8.1.5 → 8.1.6

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.
@@ -38,6 +38,9 @@ var schema = {
38
38
  date_created: {
39
39
  type: Date
40
40
  },
41
+ id_user_created: {
42
+ type: String
43
+ },
41
44
  user_created: {
42
45
  type: String
43
46
  },
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/collections/report-builder-dashboard-builder.collection.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qCAAmD;AACnD,6CAAwC;AACxC,kCAA2C;AAG3C,IAAI,MAAM,GAAQ;IACjB,GAAG,EAAE;QACJ,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAE,IAAI;KACd;IACD,GAAG,EAAE;QACJ,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAE,IAAI;KACd;IACD,SAAS,EAAE;QACV,IAAI,EAAE,IAAI;QACV,QAAQ,EAAE,IAAI;KACd;IACD,SAAS,EAAE;QACV,IAAI,EAAE,IAAI;QACV,QAAQ,EAAE,IAAI;KACd;IACD,IAAI,EAAE;QACL,IAAI,EAAE,MAAM;KACZ;IACD,YAAY,EAAE;QACb,IAAI,EAAE,IAAI;KACV;IACD,YAAY,EAAE;QACb,IAAI,EAAE,MAAM;KACZ;IACD,QAAQ,EAAE;QACT,IAAI,EAAE,MAAM;KACZ;IACD,WAAW,EAAE;QACZ,IAAI,EAAE,MAAM;KACZ;IACD,WAAW,EAAE;QACZ,IAAI,EAAE,KAAK;KACX;IACD,eAAe,EAAE;QAChB,IAAI,EAAE,MAAM;KACZ;IACD,8BAA8B,EAAE;QAC/B,IAAI,EAAE,KAAK;KACX;IACD,gCAAgC,EAAE;QACjC,IAAI,EAAE,MAAM;KACZ;IACD,0CAA0C,EAAE;QAC3C,IAAI,EAAE,MAAM;KACZ;IACD,4CAA4C,EAAE;QAC7C,IAAI,EAAE,MAAM;KACZ;IACD,4CAA4C,EAAE;QAC7C,IAA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GAAG,IAAI,sBAAY,CAAC,MAAM,CAAC,CAAC;KACzE;SACI;QACJ,UAAU,CAAC;YACV,oBAAoB,EAAE,CAAC;QACxB,CAAC,EAAE,CAAC,CAAC,CAAC;KACN;AACF,CAAC","file":"report-builder-dashboard-builder.collection.js","sourcesContent":["import { Schema, Model, Document } from 'mongoose';\nimport SimpleSchema from 'simpl-schema';\nimport { ResolveIOServer } from '../index';\nimport { ReportBuilderDashboardBuilderModel } from '../models/report-builder-dashboard-builder.model';\n\nlet schema: any = {\n\t_id: {\n\t\ttype: String,\n\t\toptional: true\n\t},\n\t__v: {\n\t\ttype: Number,\n\t\toptional: true\n\t},\n\tupdatedAt: {\n\t\ttype: Date,\n\t\toptional: true\n\t},\n\tcreatedAt: {\n\t\ttype: Date,\n\t\toptional: true\n\t},\n\tname: {\n\t\ttype: String\n\t},\n\tdate_created: {\n\t\ttype: Date\n\t},\n\tuser_created: {\n\t\ttype: String\n\t},\n\tnum_rows: {\n\t\ttype: Number\n\t},\n\tnum_columns: {\n\t\ttype: Number\n\t},\n\treport_rows: {\n\t\ttype: Array\n\t},\n\t'report_rows.$': {\n\t\ttype: Object\n\t},\n\t'report_rows.$.report_columns': {\n\t\ttype: Array\n\t},\n\t'report_rows.$.report_columns.$': {\n\t\ttype: Object\n\t},\n\t'report_rows.$.report_columns.$.id_report': {\n\t\ttype: String\n\t},\n\t'report_rows.$.report_columns.$.report_name': {\n\t\ttype: String\n\t},\n\t'report_rows.$.report_columns.$.report_type': {\n\t\ttype: String\n\t},\n\t'report_rows.$.report_columns.$.display_type': {\n\t\ttype: String\n\t},\n\t'report_rows.$.report_columns.$.display_values': {\n\t\ttype: Array\n\t},\n\t'report_rows.$.report_columns.$.display_values.$': {\n\t\ttype: String\n\t},\n};\n\nconst DefaultSchema = new Schema(schema, {\n\tskipVersioning: true,\n\tversionKey: false,\n\ttimestamps: true\n});\n\nDefaultSchema.index({name: 1});\nDefaultSchema.index({date_created: 1});\n\ninterface ResolveIOModel extends ReportBuilderDashboardBuilderModel, Document {}\n\nexport let ReportBuilderDashboardBuilders: Model<ResolveIOModel> = null;\nexport let ReportBuilderDashboardBuilderVersions: Model<ResolveIOModel> = null;\n\ninitializeCollection();\n\nfunction initializeCollection() {\n\tif (ResolveIOServer.getMainDB()) {\n\t\tReportBuilderDashboardBuilders = ResolveIOServer.getMainDB().model('report-builder-dashboard-builders', DefaultSchema);\n\n\t\tlet vSchema = { ...schema };\n\t\tvSchema._id = {\n\t\t\ttype: Schema.Types.Mixed\n\t\t};\n\n\t\tlet VersionSchema = new Schema(vSchema, {\n\t\t\tskipVersioning: true,\n\t\t\tversionKey: false,\n\t\t\ttimestamps: true\n\t\t});\n\n\t\tReportBuilderDashboardBuilders['versionCollection'] = 'report-builder-dashboard-builders.versions';\n\n\t\tReportBuilderDashboardBuilderVersions = ResolveIOServer.getMainDB().model(ReportBuilderDashboardBuilders['versionCollection'], VersionSchema);\n\n\t\tReportBuilderDashboardBuilders['simplschema'] = new SimpleSchema(schema);\n\t}\n\telse {\n\t\tsetTimeout(() => {\n\t\t\tinitializeCollection();\n\t\t}, 0);\n\t}\n}"]}
1
+ {"version":3,"sources":["../../src/collections/report-builder-dashboard-builder.collection.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qCAAmD;AACnD,6CAAwC;AACxC,kCAA2C;AAG3C,IAAI,MAAM,GAAQ;IACjB,GAAG,EAAE;QACJ,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAE,IAAI;KACd;IACD,GAAG,EAAE;QACJ,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAE,IAAI;KACd;IACD,SAAS,EAAE;QACV,IAAI,EAAE,IAAI;QACV,QAAQ,EAAE,IAAI;KACd;IACD,SAAS,EAAE;QACV,IAAI,EAAE,IAAI;QACV,QAAQ,EAAE,IAAI;KACd;IACD,IAAI,EAAE;QACL,IAAI,EAAE,MAAM;KACZ;IACD,YAAY,EAAE;QACb,IAAI,EAAE,IAAI;KACV;IACD,eAAe,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C,CAAC;QAEvH,IAAI,OAAO,gBAAQ,MAAM,CAAE,CAAC;QAC5B,OAAO,CAAC,GAAG,GAAG;YACb,IAAI,EAAE,iBAAM,CAAC,KAAK,CAAC,KAAK;SACxB,CAAC;QAEF,IAAI,aAAa,GAAG,IAAI,iBAAM,CAAC,OAAO,EAAE;YACvC,cAAc,EAAE,IAAI;YACpB,UAAU,EAAE,KAAK;YACjB,UAAU,EAAE,IAAI;SAChB,CAAC,CAAC;QAEH,sCAA8B,CAAC,mBAAmB,CAAC,GAAG,4CAA4C,CAAC;QAEnG,6CAAqC,GAAG,uBAAe,CAAC,SAAS,EAAE,CAAC,KAAK,CAAC,sCAA8B,CAAC,mBAAmB,CAAC,EAAE,aAAa,CAAC,CAAC;QAE9I,sCAA8B,CAAC,aAAa,CAAC,GAAG,IAAI,sBAAY,CAAC,MAAM,CAAC,CAAC;KACzE;SACI;QACJ,UAAU,CAAC;YACV,oBAAoB,EAAE,CAAC;QACxB,CAAC,EAAE,CAAC,CAAC,CAAC;KACN;AACF,CAAC","file":"report-builder-dashboard-builder.collection.js","sourcesContent":["import { Schema, Model, Document } from 'mongoose';\nimport SimpleSchema from 'simpl-schema';\nimport { ResolveIOServer } from '../index';\nimport { ReportBuilderDashboardBuilderModel } from '../models/report-builder-dashboard-builder.model';\n\nlet schema: any = {\n\t_id: {\n\t\ttype: String,\n\t\toptional: true\n\t},\n\t__v: {\n\t\ttype: Number,\n\t\toptional: true\n\t},\n\tupdatedAt: {\n\t\ttype: Date,\n\t\toptional: true\n\t},\n\tcreatedAt: {\n\t\ttype: Date,\n\t\toptional: true\n\t},\n\tname: {\n\t\ttype: String\n\t},\n\tdate_created: {\n\t\ttype: Date\n\t},\n\tid_user_created: {\n\t\ttype: String\n\t},\n\tuser_created: {\n\t\ttype: String\n\t},\n\tnum_rows: {\n\t\ttype: Number\n\t},\n\tnum_columns: {\n\t\ttype: Number\n\t},\n\treport_rows: {\n\t\ttype: Array\n\t},\n\t'report_rows.$': {\n\t\ttype: Object\n\t},\n\t'report_rows.$.report_columns': {\n\t\ttype: Array\n\t},\n\t'report_rows.$.report_columns.$': {\n\t\ttype: Object\n\t},\n\t'report_rows.$.report_columns.$.id_report': {\n\t\ttype: String\n\t},\n\t'report_rows.$.report_columns.$.report_name': {\n\t\ttype: String\n\t},\n\t'report_rows.$.report_columns.$.report_type': {\n\t\ttype: String\n\t},\n\t'report_rows.$.report_columns.$.display_type': {\n\t\ttype: String\n\t},\n\t'report_rows.$.report_columns.$.display_values': {\n\t\ttype: Array\n\t},\n\t'report_rows.$.report_columns.$.display_values.$': {\n\t\ttype: String\n\t},\n};\n\nconst DefaultSchema = new Schema(schema, {\n\tskipVersioning: true,\n\tversionKey: false,\n\ttimestamps: true\n});\n\nDefaultSchema.index({name: 1});\nDefaultSchema.index({date_created: 1});\n\ninterface ResolveIOModel extends ReportBuilderDashboardBuilderModel, Document {}\n\nexport let ReportBuilderDashboardBuilders: Model<ResolveIOModel> = null;\nexport let ReportBuilderDashboardBuilderVersions: Model<ResolveIOModel> = null;\n\ninitializeCollection();\n\nfunction initializeCollection() {\n\tif (ResolveIOServer.getMainDB()) {\n\t\tReportBuilderDashboardBuilders = ResolveIOServer.getMainDB().model('report-builder-dashboard-builders', DefaultSchema);\n\n\t\tlet vSchema = { ...schema };\n\t\tvSchema._id = {\n\t\t\ttype: Schema.Types.Mixed\n\t\t};\n\n\t\tlet VersionSchema = new Schema(vSchema, {\n\t\t\tskipVersioning: true,\n\t\t\tversionKey: false,\n\t\t\ttimestamps: true\n\t\t});\n\n\t\tReportBuilderDashboardBuilders['versionCollection'] = 'report-builder-dashboard-builders.versions';\n\n\t\tReportBuilderDashboardBuilderVersions = ResolveIOServer.getMainDB().model(ReportBuilderDashboardBuilders['versionCollection'], VersionSchema);\n\n\t\tReportBuilderDashboardBuilders['simplschema'] = new SimpleSchema(schema);\n\t}\n\telse {\n\t\tsetTimeout(() => {\n\t\t\tinitializeCollection();\n\t\t}, 0);\n\t}\n}"]}
@@ -3,6 +3,7 @@ import { ReportBuilderReportType } from './report-builder-report.model';
3
3
  export interface ReportBuilderDashboardBuilderModel extends CollectionDocument {
4
4
  name: string;
5
5
  date_created: Date;
6
+ id_user_created: string;
6
7
  user_created: string;
7
8
  num_rows: number;
8
9
  num_columns: number;
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/models/report-builder-dashboard-builder.model.ts"],"names":[],"mappings":"","file":"report-builder-dashboard-builder.model.js","sourcesContent":["import { CollectionDocument } from './collection-document.model';\nimport { ReportBuilderReportType } from './report-builder-report.model';\n\nexport interface ReportBuilderDashboardBuilderModel extends CollectionDocument {\n\tname: string;\n\tdate_created: Date;\n\tuser_created: string;\n\tnum_rows: number;\n\tnum_columns: number;\n\treport_rows: ReportBuilderDashboardBuilderReportRowModel[];\n}\n\nexport interface ReportBuilderDashboardBuilderReportRowModel {\n\treport_columns: ReportBuilderDashboardBuilderReportModel[];\n}\n\nexport interface ReportBuilderDashboardBuilderReportModel {\n\tid_report: string;\n\treport_name: string;\n\treport_type: ReportBuilderReportType;\n\tdisplay_type: ReportBuilderDashboardBuilderReportDisplayType;\n\tdisplay_values: string[];\n}\n\nexport type ReportBuilderDashboardBuilderReportDisplayType = 'Data' | 'Bar' | 'Line' | 'Pie';"]}
1
+ {"version":3,"sources":["../../src/models/report-builder-dashboard-builder.model.ts"],"names":[],"mappings":"","file":"report-builder-dashboard-builder.model.js","sourcesContent":["import { CollectionDocument } from './collection-document.model';\nimport { ReportBuilderReportType } from './report-builder-report.model';\n\nexport interface ReportBuilderDashboardBuilderModel extends CollectionDocument {\n\tname: string;\n\tdate_created: Date;\n\tid_user_created: string;\n\tuser_created: string;\n\tnum_rows: number;\n\tnum_columns: number;\n\treport_rows: ReportBuilderDashboardBuilderReportRowModel[];\n}\n\nexport interface ReportBuilderDashboardBuilderReportRowModel {\n\treport_columns: ReportBuilderDashboardBuilderReportModel[];\n}\n\nexport interface ReportBuilderDashboardBuilderReportModel {\n\tid_report: string;\n\treport_name: string;\n\treport_type: ReportBuilderReportType;\n\tdisplay_type: ReportBuilderDashboardBuilderReportDisplayType;\n\tdisplay_values: string[];\n}\n\nexport type ReportBuilderDashboardBuilderReportDisplayType = 'Data' | 'Bar' | 'Line' | 'Pie';"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@resolveio/server-lib",
3
- "version": "8.1.5",
3
+ "version": "8.1.6",
4
4
  "description": "",
5
5
  "main": "index.ts",
6
6
  "scripts": {