@brimble/models 3.4.4 → 3.5.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.
package/dist/region.d.ts
CHANGED
|
@@ -21,10 +21,10 @@
|
|
|
21
21
|
/// <reference types="mongoose/types/utility" />
|
|
22
22
|
/// <reference types="mongoose/types/validation" />
|
|
23
23
|
/// <reference types="mongoose/types/virtuals" />
|
|
24
|
-
/// <reference types="mongoose" />
|
|
25
24
|
/// <reference types="mongoose/types/inferschematype" />
|
|
25
|
+
import { Schema } from "mongoose";
|
|
26
26
|
import { IRegion } from "./types/region";
|
|
27
|
-
declare const _default: import("mongoose").Model<IRegion, {}, {}, {}, import("mongoose").Document<unknown, {}, IRegion> & IRegion & {
|
|
28
|
-
_id:
|
|
29
|
-
}
|
|
27
|
+
declare const _default: import("mongoose").Model<IRegion, {}, {}, {}, import("mongoose").Document<unknown, {}, IRegion> & IRegion & Required<{
|
|
28
|
+
_id: Schema.Types.ObjectId;
|
|
29
|
+
}>, any>;
|
|
30
30
|
export default _default;
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
import { Types } from "mongoose";
|
|
2
|
+
import { IUser } from "./user";
|
|
3
|
+
import { ISubscription } from "./subscription";
|
|
4
|
+
import { ITeam } from "./team";
|
|
2
5
|
export interface IAutoScalingGroup extends Document {
|
|
3
6
|
_id: Types.ObjectId;
|
|
4
7
|
name: string;
|
|
5
8
|
replicas: number;
|
|
6
|
-
user_id?:
|
|
7
|
-
team_id?:
|
|
8
|
-
subscription_id:
|
|
9
|
+
user_id?: IUser;
|
|
10
|
+
team_id?: ITeam;
|
|
11
|
+
subscription_id: ISubscription;
|
|
9
12
|
min_containers: number;
|
|
10
13
|
max_containers: number;
|
|
11
14
|
active: boolean;
|
package/dist/types/region.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
import { Types } from "mongoose";
|
|
2
|
+
import { IUser } from "./user";
|
|
3
|
+
import { ISubscription } from "./subscription";
|
|
4
|
+
import { ITeam } from "./team";
|
|
2
5
|
|
|
3
6
|
export interface IAutoScalingGroup extends Document {
|
|
4
7
|
_id: Types.ObjectId;
|
|
5
8
|
name: string;
|
|
6
9
|
replicas: number;
|
|
7
|
-
user_id?:
|
|
8
|
-
team_id?:
|
|
9
|
-
subscription_id:
|
|
10
|
+
user_id?: IUser;
|
|
11
|
+
team_id?: ITeam;
|
|
12
|
+
subscription_id: ISubscription;
|
|
10
13
|
min_containers: number;
|
|
11
14
|
max_containers: number;
|
|
12
15
|
active: boolean;
|