@brimble/models 2.6.9 → 2.7.1
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/db-image.ts +5 -0
- package/dist/db-image.js +5 -0
- package/dist/enum/index.d.ts +4 -0
- package/dist/enum/index.js +6 -1
- package/dist/types/compute.d.ts +1 -0
- package/dist/types/db-image.d.ts +5 -0
- package/dist/types/team.d.ts +3 -0
- package/dist/types/user.d.ts +2 -1
- package/enum/index.ts +5 -0
- package/package.json +1 -1
- package/types/compute.ts +1 -0
- package/types/db-image.ts +1 -0
- package/types/team.ts +3 -0
- package/types/user.ts +2 -1
package/db-image.ts
CHANGED
package/dist/db-image.js
CHANGED
|
@@ -45,5 +45,10 @@ const dbImageSchema = new mongoose_1.Schema({
|
|
|
45
45
|
required: true,
|
|
46
46
|
default: "/data"
|
|
47
47
|
},
|
|
48
|
+
recommendations: {
|
|
49
|
+
required: false,
|
|
50
|
+
type: Array,
|
|
51
|
+
default: []
|
|
52
|
+
}
|
|
48
53
|
}, { timestamps: true });
|
|
49
54
|
exports.default = (0, mongoose_1.model)("DbImage", dbImageSchema);
|
package/dist/enum/index.d.ts
CHANGED
package/dist/enum/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SCALING_METRIC = exports.SCALING_STRATEGY = exports.LicenseStatus = exports.JobStatus = exports.DatabaseEngine = exports.ServiceType = exports.REGION_CONTINENT = exports.PERMISSION_TYPE = exports.ROLES = exports.DNS_TYPE = exports.SERVER_STATUS = exports.OAUTH_PERMISSIONS = exports.SUBSCRIPTION_PLAN_TYPE = exports.SUBSCRIPTION_STATUS = exports.PROJECT_STATUS = exports.CARD_TYPES = exports.INTEGRATION_PROVIDERS = exports.INTEGRATION_TYPES = exports.ENVIRONMENT = exports.REQUEST_TYPE = exports.GIT_TYPE = void 0;
|
|
3
|
+
exports.SCALING_METRIC = exports.SCALING_STRATEGY = exports.LicenseStatus = exports.JobStatus = exports.DatabaseEngine = exports.ServiceType = exports.REGION_CONTINENT = exports.PERMISSION_TYPE = exports.ROLES = exports.DNS_TYPE = exports.SERVER_STATUS = exports.OAUTH_PERMISSIONS = exports.SUBSCRIPTION_PLAN_TYPE = exports.SUBSCRIPTION_STATUS = exports.PROJECT_STATUS = exports.CARD_TYPES = exports.INTEGRATION_PROVIDERS = exports.INTEGRATION_TYPES = exports.ENVIRONMENT = exports.REQUEST_TYPE = exports.BUILD_DISABLED_BY = exports.GIT_TYPE = void 0;
|
|
4
4
|
var GIT_TYPE;
|
|
5
5
|
(function (GIT_TYPE) {
|
|
6
6
|
GIT_TYPE["GITHUB"] = "GITHUB";
|
|
@@ -9,6 +9,11 @@ var GIT_TYPE;
|
|
|
9
9
|
GIT_TYPE["DOCKER"] = "DOCKER";
|
|
10
10
|
GIT_TYPE["HUGGING_FACE"] = "HUGGINGFACE";
|
|
11
11
|
})(GIT_TYPE = exports.GIT_TYPE || (exports.GIT_TYPE = {}));
|
|
12
|
+
var BUILD_DISABLED_BY;
|
|
13
|
+
(function (BUILD_DISABLED_BY) {
|
|
14
|
+
BUILD_DISABLED_BY["System"] = "system";
|
|
15
|
+
BUILD_DISABLED_BY["User"] = "user";
|
|
16
|
+
})(BUILD_DISABLED_BY = exports.BUILD_DISABLED_BY || (exports.BUILD_DISABLED_BY = {}));
|
|
12
17
|
var REQUEST_TYPE;
|
|
13
18
|
(function (REQUEST_TYPE) {
|
|
14
19
|
REQUEST_TYPE["GET"] = "GET";
|
package/dist/types/compute.d.ts
CHANGED
package/dist/types/db-image.d.ts
CHANGED
package/dist/types/team.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Document } from "mongoose";
|
|
2
2
|
import { IMember, IProject, ISubscription } from "./";
|
|
3
|
+
import { BUILD_DISABLED_BY } from "../enum";
|
|
3
4
|
export interface ITeam extends Document {
|
|
4
5
|
name: string;
|
|
5
6
|
description: string;
|
|
@@ -7,5 +8,7 @@ export interface ITeam extends Document {
|
|
|
7
8
|
projects: IProject[];
|
|
8
9
|
image: string;
|
|
9
10
|
isCreator: boolean;
|
|
11
|
+
build_disabled?: boolean;
|
|
12
|
+
build_disabled_by?: BUILD_DISABLED_BY;
|
|
10
13
|
subscription: ISubscription;
|
|
11
14
|
}
|
package/dist/types/user.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Document } from "mongoose";
|
|
2
2
|
import { IGit } from ".";
|
|
3
3
|
import { IFollowing, IProject, ITeam } from "./";
|
|
4
|
+
import { BUILD_DISABLED_BY } from "../enum";
|
|
4
5
|
export interface IUser extends Document {
|
|
5
6
|
first_name: string;
|
|
6
7
|
last_name: string;
|
|
@@ -24,7 +25,7 @@ export interface IUser extends Document {
|
|
|
24
25
|
activated: boolean;
|
|
25
26
|
is_waitlist: boolean;
|
|
26
27
|
build_disabled: boolean;
|
|
27
|
-
build_disabled_by:
|
|
28
|
+
build_disabled_by: BUILD_DISABLED_BY;
|
|
28
29
|
spending_limit: number;
|
|
29
30
|
disabled: boolean;
|
|
30
31
|
disabled_at: Date;
|
package/enum/index.ts
CHANGED
package/package.json
CHANGED
package/types/compute.ts
CHANGED
package/types/db-image.ts
CHANGED
package/types/team.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Document } from "mongoose";
|
|
2
2
|
import { IMember, IProject, ISubscription } from "./";
|
|
3
|
+
import { BUILD_DISABLED_BY } from "../enum";
|
|
3
4
|
|
|
4
5
|
export interface ITeam extends Document {
|
|
5
6
|
name: string;
|
|
@@ -8,5 +9,7 @@ export interface ITeam extends Document {
|
|
|
8
9
|
projects: IProject[];
|
|
9
10
|
image: string;
|
|
10
11
|
isCreator: boolean;
|
|
12
|
+
build_disabled?: boolean;
|
|
13
|
+
build_disabled_by?: BUILD_DISABLED_BY;
|
|
11
14
|
subscription: ISubscription;
|
|
12
15
|
}
|
package/types/user.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Document } from "mongoose";
|
|
2
2
|
import { IGit } from ".";
|
|
3
3
|
import { IFollowing, IProject, ITeam } from "./";
|
|
4
|
+
import { BUILD_DISABLED_BY } from "../enum";
|
|
4
5
|
|
|
5
6
|
export interface IUser extends Document {
|
|
6
7
|
first_name: string;
|
|
@@ -25,7 +26,7 @@ export interface IUser extends Document {
|
|
|
25
26
|
activated: boolean;
|
|
26
27
|
is_waitlist: boolean;
|
|
27
28
|
build_disabled: boolean;
|
|
28
|
-
build_disabled_by:
|
|
29
|
+
build_disabled_by: BUILD_DISABLED_BY;
|
|
29
30
|
spending_limit: number;
|
|
30
31
|
disabled: boolean;
|
|
31
32
|
disabled_at: Date;
|