@brimble/models 3.6.1 → 3.7.0

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.
@@ -1,37 +1,37 @@
1
- export { IUser } from "./user";
2
- export { IGit } from "./git";
3
- export { IFollowing } from "./following";
4
- export { IProject } from "./project";
5
- export { IPreview } from "./project/preview";
6
- export { IProjectConnection } from "./project/connection";
7
- export { IIntegration } from "./integration";
8
- export { IEnv } from "./env";
9
- export { IDomain } from "./domain";
10
- export { IDns } from "./domain/dns";
11
- export { IToken } from "./token";
12
- export { ITeam } from "./team";
13
- export { IMember } from "./member";
14
- export { IInstalledIntegration } from "./installed_integration";
15
- export { ILog } from "./logs";
16
- export { ISubscription } from "./subscription";
17
- export { ICard } from "./card";
18
- export { IServer } from "./server";
19
- export { IPermission } from "./permission";
20
- export { IRole } from "./role";
21
- export { IMemberPermission } from "./member-permission";
22
- export { IWallet } from "./wallet";
23
- export { IDbImage } from "./db-image";
24
- export { IJob } from "./job";
25
- export { ILicense } from "./license";
26
- export { IPlanConfiguration } from "./plan_configuration";
27
- export { IAutoScalingGroup } from "./auto-scaling-group";
28
- export { IComputeChange } from "./compute";
29
- export { IRegion } from "./region";
30
- export { IVolume } from "./volume";
31
- export { IFramework, BrimbleFrameworkType } from "./framework";
32
- export { ISettings } from "./settings";
33
- export { ILoadBalancerPort } from "./load-balancer-port";
34
- export { IDomainRenewal } from "./domain/renewal";
35
- export { IWebhookSetting } from "./webhook-setting";
36
- export { IWebhookEvent } from "./webhook-event";
37
- export { IWebhookCategory } from "./webhook-category";
1
+ export type { IAutoScalingGroup } from "./auto-scaling-group";
2
+ export type { ICard } from "./card";
3
+ export type { IComputeChange } from "./compute";
4
+ export type { IDbImage } from "./db-image";
5
+ export type { IDomain } from "./domain";
6
+ export type { IDns } from "./domain/dns";
7
+ export type { IDomainRenewal } from "./domain/renewal";
8
+ export type { IEnv } from "./env";
9
+ export type { IFollowing } from "./following";
10
+ export type { BrimbleFrameworkType, IFramework } from "./framework";
11
+ export type { IGit } from "./git";
12
+ export type { IInstalledIntegration } from "./installed_integration";
13
+ export type { IIntegration } from "./integration";
14
+ export type { IJob } from "./job";
15
+ export type { ILicense } from "./license";
16
+ export type { ILoadBalancerPort } from "./load-balancer-port";
17
+ export type { ILog } from "./logs";
18
+ export type { IMember } from "./member";
19
+ export type { IMemberPermission } from "./member-permission";
20
+ export type { IPermission } from "./permission";
21
+ export type { IPlanConfiguration } from "./plan_configuration";
22
+ export type { IProject } from "./project";
23
+ export type { IProjectConnection } from "./project/connection";
24
+ export type { IPreview } from "./project/preview";
25
+ export type { IRegion } from "./region";
26
+ export type { IRole } from "./role";
27
+ export type { IServer } from "./server";
28
+ export type { ISettings } from "./settings";
29
+ export type { ISubscription } from "./subscription";
30
+ export type { ITeam } from "./team";
31
+ export type { IToken } from "./token";
32
+ export type { IUser } from "./user";
33
+ export type { IVolume } from "./volume";
34
+ export type { IWallet } from "./wallet";
35
+ export type { IWebhookCategory } from "./webhook-category";
36
+ export type { IWebhookEvent } from "./webhook-event";
37
+ export type { IWebhookSetting } from "./webhook-setting";
package/enum/index.ts CHANGED
@@ -68,9 +68,6 @@ export enum PROJECT_STATUS {
68
68
  CANCELLED = "CANCELLED",
69
69
  DEGRADED = "DEGRADED",
70
70
  PAYMENT = "PAYMENT DUE",
71
- NOMAD_SETUP = 'nomad_setup',
72
- NOMAD_READY = 'nomad_ready',
73
- NOMAD_FAILED = 'nomad_failed',
74
71
  }
75
72
 
76
73
  export enum SUBSCRIPTION_STATUS {
@@ -187,4 +184,10 @@ export enum DomainRenewalStatus {
187
184
  Pending = "pending",
188
185
  Completed = "completed",
189
186
  Failed = "failed",
187
+ }
188
+
189
+ export enum NomadDeploymentStatus {
190
+ NOMAD_SETUP = 'nomad_setup',
191
+ NOMAD_READY = 'nomad_ready',
192
+ NOMAD_FAILED = 'nomad_failed',
190
193
  }
package/index.ts CHANGED
@@ -97,7 +97,8 @@ export {
97
97
  BUILD_DISABLED_BY,
98
98
  SERVER_PROTOCOL,
99
99
  FrameworkApplicationType,
100
- DomainRenewalStatus
100
+ DomainRenewalStatus,
101
+ NomadDeploymentStatus
101
102
  } from "./enum";
102
103
 
103
104
  import mongoose from "mongoose";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brimble/models",
3
- "version": "3.6.1",
3
+ "version": "3.7.0",
4
4
  "description": "Brimble models",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/types/index.ts CHANGED
@@ -1,37 +1,37 @@
1
- export { IUser } from "./user";
2
- export { IGit } from "./git";
3
- export { IFollowing } from "./following";
4
- export { IProject } from "./project";
5
- export { IPreview } from "./project/preview";
6
- export { IProjectConnection } from "./project/connection";
7
- export { IIntegration } from "./integration";
8
- export { IEnv } from "./env";
9
- export { IDomain } from "./domain";
10
- export { IDns } from "./domain/dns";
11
- export { IToken } from "./token";
12
- export { ITeam } from "./team";
13
- export { IMember } from "./member";
14
- export { IInstalledIntegration } from "./installed_integration";
15
- export { ILog } from "./logs";
16
- export { ISubscription } from "./subscription";
17
- export { ICard } from "./card";
18
- export { IServer } from "./server";
19
- export { IPermission } from "./permission";
20
- export { IRole } from "./role";
21
- export { IMemberPermission } from "./member-permission";
22
- export { IWallet } from "./wallet";
23
- export { IDbImage } from "./db-image";
24
- export { IJob } from "./job";
25
- export { ILicense } from "./license";
26
- export { IPlanConfiguration } from "./plan_configuration";
27
- export { IAutoScalingGroup } from "./auto-scaling-group";
28
- export { IComputeChange } from "./compute";
29
- export { IRegion } from "./region";
30
- export { IVolume } from "./volume";
31
- export { IFramework, BrimbleFrameworkType } from "./framework";
32
- export { ISettings } from "./settings";
33
- export { ILoadBalancerPort } from "./load-balancer-port";
34
- export { IDomainRenewal } from "./domain/renewal";
35
- export { IWebhookSetting } from "./webhook-setting";
36
- export { IWebhookEvent } from "./webhook-event";
37
- export { IWebhookCategory } from "./webhook-category";
1
+ export type { IAutoScalingGroup } from "./auto-scaling-group";
2
+ export type { ICard } from "./card";
3
+ export type { IComputeChange } from "./compute";
4
+ export type { IDbImage } from "./db-image";
5
+ export type { IDomain } from "./domain";
6
+ export type { IDns } from "./domain/dns";
7
+ export type { IDomainRenewal } from "./domain/renewal";
8
+ export type { IEnv } from "./env";
9
+ export type { IFollowing } from "./following";
10
+ export type { BrimbleFrameworkType, IFramework } from "./framework";
11
+ export type { IGit } from "./git";
12
+ export type { IInstalledIntegration } from "./installed_integration";
13
+ export type { IIntegration } from "./integration";
14
+ export type { IJob } from "./job";
15
+ export type { ILicense } from "./license";
16
+ export type { ILoadBalancerPort } from "./load-balancer-port";
17
+ export type { ILog } from "./logs";
18
+ export type { IMember } from "./member";
19
+ export type { IMemberPermission } from "./member-permission";
20
+ export type { IPermission } from "./permission";
21
+ export type { IPlanConfiguration } from "./plan_configuration";
22
+ export type { IProject } from "./project";
23
+ export type { IProjectConnection } from "./project/connection";
24
+ export type { IPreview } from "./project/preview";
25
+ export type { IRegion } from "./region";
26
+ export type { IRole } from "./role";
27
+ export type { IServer } from "./server";
28
+ export type { ISettings } from "./settings";
29
+ export type { ISubscription } from "./subscription";
30
+ export type { ITeam } from "./team";
31
+ export type { IToken } from "./token";
32
+ export type { IUser } from "./user";
33
+ export type { IVolume } from "./volume";
34
+ export type { IWallet } from "./wallet";
35
+ export type { IWebhookCategory } from "./webhook-category";
36
+ export type { IWebhookEvent } from "./webhook-event";
37
+ export type { IWebhookSetting } from "./webhook-setting";