@brimble/models 2.3.0 → 2.3.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.
@@ -66,7 +66,7 @@ export declare enum OAUTH_PERMISSIONS {
66
66
  }
67
67
  export declare enum SERVER_STATUS {
68
68
  Active = "active",
69
- InProgress = "in-progres",
69
+ InProgress = "in-progress",
70
70
  InActive = "in-active"
71
71
  }
72
72
  export declare enum DNS_TYPE {
@@ -80,7 +80,7 @@ var OAUTH_PERMISSIONS;
80
80
  var SERVER_STATUS;
81
81
  (function (SERVER_STATUS) {
82
82
  SERVER_STATUS["Active"] = "active";
83
- SERVER_STATUS["InProgress"] = "in-progres";
83
+ SERVER_STATUS["InProgress"] = "in-progress";
84
84
  SERVER_STATUS["InActive"] = "in-active";
85
85
  })(SERVER_STATUS = exports.SERVER_STATUS || (exports.SERVER_STATUS = {}));
86
86
  var DNS_TYPE;
package/dist/license.js CHANGED
@@ -59,8 +59,8 @@ const licenseSchema = new mongoose_1.Schema({
59
59
  default: 1
60
60
  }
61
61
  }, { timestamps: true });
62
- licenseSchema.index({ userId: 1, status: 1 });
63
- licenseSchema.index({ licenseKey: 1 });
62
+ // licenseSchema.index({ userId: 1, status: 1 });
63
+ // licenseSchema.index({ licenseKey: 1 });
64
64
  licenseSchema.methods.cleanupInactiveDevices = function () {
65
65
  return __awaiter(this, void 0, void 0, function* () {
66
66
  const thirtyDaysAgo = new Date();
package/enum/index.ts CHANGED
@@ -76,7 +76,7 @@ export enum OAUTH_PERMISSIONS {
76
76
 
77
77
  export enum SERVER_STATUS {
78
78
  Active = "active",
79
- InProgress = "in-progres",
79
+ InProgress = "in-progress",
80
80
  InActive = "in-active",
81
81
  }
82
82
 
package/license.ts CHANGED
@@ -51,8 +51,8 @@ const licenseSchema: Schema = new Schema({
51
51
  }
52
52
  }, { timestamps: true });
53
53
 
54
- licenseSchema.index({ userId: 1, status: 1 });
55
- licenseSchema.index({ licenseKey: 1 });
54
+ // licenseSchema.index({ userId: 1, status: 1 });
55
+ // licenseSchema.index({ licenseKey: 1 });
56
56
 
57
57
  licenseSchema.methods.cleanupInactiveDevices = async function() {
58
58
  const thirtyDaysAgo = new Date();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brimble/models",
3
- "version": "2.3.0",
3
+ "version": "2.3.2",
4
4
  "description": "Brimble models",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",