@brimble/models 1.5.33 → 1.5.35
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.
- package/.turbo/turbo-build.log +0 -0
- package/brimble.json +3 -0
- package/dist/enum/index.d.ts +2 -1
- package/dist/enum/index.js +1 -0
- package/dist/project/index.js +4 -0
- package/dist/types/project/index.d.ts +2 -1
- package/dist/user.js +1 -1
- package/enum/index.ts +1 -0
- package/package.json +1 -1
- package/project/index.ts +4 -0
- package/types/project/index.ts +3 -2
- package/user.ts +1 -1
package/.turbo/turbo-build.log
CHANGED
|
File without changes
|
package/brimble.json
ADDED
package/dist/enum/index.d.ts
CHANGED
|
@@ -43,7 +43,8 @@ export declare enum PROJECT_STATUS {
|
|
|
43
43
|
INPROGRESS = "INPROGRESS",
|
|
44
44
|
FAILED = "FAILED",
|
|
45
45
|
PENDING = "PENDING",
|
|
46
|
-
CANCELLED = "CANCELLED"
|
|
46
|
+
CANCELLED = "CANCELLED",
|
|
47
|
+
PAYMENT = "PAYMENT DUE"
|
|
47
48
|
}
|
|
48
49
|
export declare enum SUBSCRIPTION_STATUS {
|
|
49
50
|
ACTIVE = "active",
|
package/dist/enum/index.js
CHANGED
|
@@ -54,6 +54,7 @@ var PROJECT_STATUS;
|
|
|
54
54
|
PROJECT_STATUS["FAILED"] = "FAILED";
|
|
55
55
|
PROJECT_STATUS["PENDING"] = "PENDING";
|
|
56
56
|
PROJECT_STATUS["CANCELLED"] = "CANCELLED";
|
|
57
|
+
PROJECT_STATUS["PAYMENT"] = "PAYMENT DUE";
|
|
57
58
|
})(PROJECT_STATUS = exports.PROJECT_STATUS || (exports.PROJECT_STATUS = {}));
|
|
58
59
|
var SUBSCRIPTION_STATUS;
|
|
59
60
|
(function (SUBSCRIPTION_STATUS) {
|
package/dist/project/index.js
CHANGED
|
@@ -40,6 +40,7 @@ export interface IProject extends Document {
|
|
|
40
40
|
log: ILog;
|
|
41
41
|
maintenance: boolean;
|
|
42
42
|
passwordEnabled: boolean;
|
|
43
|
+
disabled: boolean;
|
|
43
44
|
password: string | null;
|
|
44
45
|
screenshot: string;
|
|
45
46
|
createdAt: Date;
|
|
@@ -50,7 +51,7 @@ export interface IProject extends Document {
|
|
|
50
51
|
previews: IPreview[];
|
|
51
52
|
replicas: number;
|
|
52
53
|
specs: {
|
|
53
|
-
cpu: number;
|
|
54
54
|
memory: number;
|
|
55
|
+
cpu: number;
|
|
55
56
|
};
|
|
56
57
|
}
|
package/dist/user.js
CHANGED
|
@@ -32,7 +32,7 @@ const userSchema = new mongoose_1.Schema({
|
|
|
32
32
|
},
|
|
33
33
|
tenant: { type: mongoose_1.Schema.Types.ObjectId, ref: "Tenancy", required: false },
|
|
34
34
|
is_waitlist: { type: Boolean, default: true },
|
|
35
|
-
notifications: Object
|
|
35
|
+
notifications: Object,
|
|
36
36
|
}, {
|
|
37
37
|
timestamps: {
|
|
38
38
|
createdAt: "created_at",
|
package/enum/index.ts
CHANGED
package/package.json
CHANGED
package/project/index.ts
CHANGED
package/types/project/index.ts
CHANGED
|
@@ -41,6 +41,7 @@ export interface IProject extends Document {
|
|
|
41
41
|
log: ILog;
|
|
42
42
|
maintenance: boolean;
|
|
43
43
|
passwordEnabled: boolean;
|
|
44
|
+
disabled: boolean;
|
|
44
45
|
password: string | null;
|
|
45
46
|
screenshot: string;
|
|
46
47
|
createdAt: Date;
|
|
@@ -51,7 +52,7 @@ export interface IProject extends Document {
|
|
|
51
52
|
previews: IPreview[];
|
|
52
53
|
replicas: number;
|
|
53
54
|
specs: {
|
|
54
|
-
cpu: number;
|
|
55
55
|
memory: number;
|
|
56
|
-
|
|
56
|
+
cpu: number;
|
|
57
|
+
};
|
|
57
58
|
}
|
package/user.ts
CHANGED