@resolveio/server-lib 12.0.34 → 12.0.36

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 (78) hide show
  1. package/collections/app-status.collection.d.ts +2 -2
  2. package/collections/app-status.collection.js +1 -1
  3. package/collections/app-status.collection.js.map +1 -1
  4. package/collections/app-version.collection.d.ts +2 -2
  5. package/collections/app-version.collection.js +1 -1
  6. package/collections/app-version.collection.js.map +1 -1
  7. package/collections/counter.collection.d.ts +2 -2
  8. package/collections/counter.collection.js +1 -1
  9. package/collections/counter.collection.js.map +1 -1
  10. package/collections/cron-job-history.collection.d.ts +2 -2
  11. package/collections/cron-job-history.collection.js +1 -1
  12. package/collections/cron-job-history.collection.js.map +1 -1
  13. package/collections/cron-job.collection.d.ts +2 -2
  14. package/collections/cron-job.collection.js +1 -1
  15. package/collections/cron-job.collection.js.map +1 -1
  16. package/collections/email-history.collection.d.ts +2 -2
  17. package/collections/email-history.collection.js +1 -1
  18. package/collections/email-history.collection.js.map +1 -1
  19. package/collections/email-verified.collection.d.ts +2 -2
  20. package/collections/email-verified.collection.js +1 -1
  21. package/collections/email-verified.collection.js.map +1 -1
  22. package/collections/file.collection.d.ts +2 -2
  23. package/collections/file.collection.js +1 -1
  24. package/collections/file.collection.js.map +1 -1
  25. package/collections/flag.collection.d.ts +2 -2
  26. package/collections/flag.collection.js +1 -1
  27. package/collections/flag.collection.js.map +1 -1
  28. package/collections/log-method-latency.collection.d.ts +2 -2
  29. package/collections/log-method-latency.collection.js +1 -1
  30. package/collections/log-method-latency.collection.js.map +1 -1
  31. package/collections/log-subscription.collection.d.ts +2 -2
  32. package/collections/log-subscription.collection.js +1 -1
  33. package/collections/log-subscription.collection.js.map +1 -1
  34. package/collections/log.collection.d.ts +2 -2
  35. package/collections/log.collection.js +1 -1
  36. package/collections/log.collection.js.map +1 -1
  37. package/collections/logged-in-users.collection.d.ts +2 -2
  38. package/collections/logged-in-users.collection.js +1 -1
  39. package/collections/logged-in-users.collection.js.map +1 -1
  40. package/collections/method-response.collection.d.ts +2 -2
  41. package/collections/method-response.collection.js +1 -1
  42. package/collections/method-response.collection.js.map +1 -1
  43. package/collections/monitor-cpu.collection.d.ts +2 -2
  44. package/collections/monitor-cpu.collection.js +2 -2
  45. package/collections/monitor-cpu.collection.js.map +1 -1
  46. package/collections/monitor-memory.collection.d.ts +2 -2
  47. package/collections/monitor-memory.collection.js +2 -2
  48. package/collections/monitor-memory.collection.js.map +1 -1
  49. package/collections/monitor-mongo.collection.d.ts +2 -2
  50. package/collections/monitor-mongo.collection.js +2 -2
  51. package/collections/monitor-mongo.collection.js.map +1 -1
  52. package/collections/notification.collection.d.ts +2 -2
  53. package/collections/notification.collection.js +1 -1
  54. package/collections/notification.collection.js.map +1 -1
  55. package/collections/report-builder-dashboard-builder.collection.d.ts +2 -2
  56. package/collections/report-builder-dashboard-builder.collection.js +1 -1
  57. package/collections/report-builder-dashboard-builder.collection.js.map +1 -1
  58. package/collections/report-builder-library.collection.d.ts +2 -2
  59. package/collections/report-builder-library.collection.js +1 -1
  60. package/collections/report-builder-library.collection.js.map +1 -1
  61. package/collections/report-builder-report.collection.d.ts +3 -3
  62. package/collections/report-builder-report.collection.js +1 -1
  63. package/collections/report-builder-report.collection.js.map +1 -1
  64. package/collections/user-group.collection.d.ts +3 -3
  65. package/collections/user-group.collection.js +1 -1
  66. package/collections/user-group.collection.js.map +1 -1
  67. package/collections/user-guide.collection.d.ts +2 -2
  68. package/collections/user-guide.collection.js +1 -1
  69. package/collections/user-guide.collection.js.map +1 -1
  70. package/collections/user.collection.d.ts +3 -3
  71. package/collections/user.collection.js +1 -1
  72. package/collections/user.collection.js.map +1 -1
  73. package/managers/mongo.manager.d.ts +46 -31
  74. package/managers/mongo.manager.js +142 -143
  75. package/managers/mongo.manager.js.map +1 -1
  76. package/models/collection-document.model.d.ts +14 -2
  77. package/models/collection-document.model.js.map +1 -1
  78. package/package.json +1 -1
@@ -1,7 +1,19 @@
1
- import { Document } from 'mongodb';
1
+ export declare interface Document {
2
+ [key: string]: any;
3
+ }
2
4
  export interface CollectionDocument extends Document {
3
- _id?: any;
5
+ _id?: string;
4
6
  __v?: number;
5
7
  createdAt?: Date;
6
8
  updatedAt?: Date;
7
9
  }
10
+ export interface CollectionDocumentVersion extends Document {
11
+ _id?: CollectionDocumentVersionIdModel;
12
+ __v?: number;
13
+ createdAt?: Date;
14
+ updatedAt?: Date;
15
+ }
16
+ export interface CollectionDocumentVersionIdModel {
17
+ _id?: string;
18
+ __v?: number;
19
+ }
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/models/collection-document.model.ts"],"names":[],"mappings":"","file":"collection-document.model.js","sourcesContent":["import { Document } from 'mongodb';\n\nexport interface CollectionDocument extends Document {\n\t_id?: any;\n\t__v?: number;\n\tcreatedAt?: Date;\n\tupdatedAt?: Date;\n}"]}
1
+ {"version":3,"sources":["../../src/models/collection-document.model.ts"],"names":[],"mappings":"","file":"collection-document.model.js","sourcesContent":["export declare interface Document {\n [key: string]: any;\n}\n\nexport interface CollectionDocument extends Document {\n\t_id?: string;\n\t__v?: number;\n\tcreatedAt?: Date;\n\tupdatedAt?: Date;\n}\n\nexport interface CollectionDocumentVersion extends Document {\n\t_id?: CollectionDocumentVersionIdModel;\n\t__v?: number;\n\tcreatedAt?: Date;\n\tupdatedAt?: Date;\n}\n\nexport interface CollectionDocumentVersionIdModel {\n\t_id?: string;\n\t__v?: number;\n}"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@resolveio/server-lib",
3
- "version": "12.0.34",
3
+ "version": "12.0.36",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "package": "npm run build-prod && npm pack ./dist",