@brimble/models 1.5.0 → 1.5.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.
@@ -1,6 +1,4 @@
1
1
  import { Document } from "mongoose";
2
- interface IProject {
3
- }
4
2
  export interface IDomain extends Document {
5
3
  name: string;
6
4
  project: IProject;
@@ -14,4 +12,6 @@ export interface IDomain extends Document {
14
12
  expiry: Date;
15
13
  };
16
14
  }
15
+ interface IProject {
16
+ }
17
17
  export {};
@@ -1,8 +1,6 @@
1
1
  import { Document } from "mongoose";
2
2
  import { ENVIRONMENT } from "../enum";
3
3
  import { IUser } from "./user";
4
- interface IProject {
5
- }
6
4
  export interface IEnv extends Document {
7
5
  name: string;
8
6
  value: string;
@@ -10,4 +8,6 @@ export interface IEnv extends Document {
10
8
  user: IUser;
11
9
  environment: ENVIRONMENT;
12
10
  }
11
+ interface IProject {
12
+ }
13
13
  export {};
@@ -1,8 +1,6 @@
1
1
  import { Document } from "mongoose";
2
2
  import { PROJECT_STATUS } from "../enum";
3
3
  import { IUser } from "./user";
4
- interface IProject {
5
- }
6
4
  export interface ILog extends Document {
7
5
  logFile: string;
8
6
  name: string;
@@ -28,4 +26,6 @@ export interface ILog extends Document {
28
26
  createdAt: Date | string;
29
27
  updatedAt: Date | string;
30
28
  }
29
+ interface IProject {
30
+ }
31
31
  export {};
@@ -2,8 +2,6 @@ import { Document } from "mongoose";
2
2
  import { IMember } from "./member";
3
3
  import { ITenancy } from "./tenancy";
4
4
  import { ISubscription } from "./subscription";
5
- interface IProject {
6
- }
7
5
  export interface ITeam extends Document {
8
6
  name: string;
9
7
  description: string;
@@ -14,4 +12,6 @@ export interface ITeam extends Document {
14
12
  tenant: ITenancy;
15
13
  subscription: ISubscription;
16
14
  }
15
+ interface IProject {
16
+ }
17
17
  export {};
@@ -3,8 +3,6 @@ import { IGit } from "./git";
3
3
  import { IFollowing } from "./following";
4
4
  import { ITeam } from "./team";
5
5
  import { ITenancy } from "./tenancy";
6
- interface IProject {
7
- }
8
6
  export interface IUser extends Document {
9
7
  first_name: string;
10
8
  last_name: string;
@@ -29,4 +27,6 @@ export interface IUser extends Document {
29
27
  tenant: ITenancy;
30
28
  is_waitlist: boolean;
31
29
  }
30
+ interface IProject {
31
+ }
32
32
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brimble/models",
3
- "version": "1.5.0",
3
+ "version": "1.5.2",
4
4
  "description": "Brimble models",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/types/domain.ts CHANGED
@@ -1,6 +1,5 @@
1
1
  import { Document } from "mongoose";
2
2
 
3
- interface IProject {}
4
3
  export interface IDomain extends Document {
5
4
  name: string;
6
5
  project: IProject;
@@ -14,3 +13,5 @@ export interface IDomain extends Document {
14
13
  expiry: Date;
15
14
  };
16
15
  }
16
+
17
+ interface IProject {}
package/types/env.ts CHANGED
@@ -2,7 +2,6 @@ import { Document } from "mongoose";
2
2
  import { ENVIRONMENT } from "../enum";
3
3
  import { IUser } from "./user";
4
4
 
5
- interface IProject {}
6
5
  export interface IEnv extends Document {
7
6
  name: string;
8
7
  value: string;
@@ -10,3 +9,4 @@ export interface IEnv extends Document {
10
9
  user: IUser;
11
10
  environment: ENVIRONMENT;
12
11
  }
12
+ interface IProject {}
package/types/logs.ts CHANGED
@@ -2,7 +2,6 @@ import { Document } from "mongoose";
2
2
  import { PROJECT_STATUS } from "../enum";
3
3
  import { IUser } from "./user";
4
4
 
5
- interface IProject {}
6
5
  export interface ILog extends Document {
7
6
  logFile: string;
8
7
  name: string;
@@ -28,3 +27,5 @@ export interface ILog extends Document {
28
27
  createdAt: Date | string;
29
28
  updatedAt: Date | string;
30
29
  }
30
+
31
+ interface IProject {}
package/types/team.ts CHANGED
@@ -3,7 +3,6 @@ import { IMember } from "./member";
3
3
  import { ITenancy } from "./tenancy";
4
4
  import { ISubscription } from "./subscription";
5
5
 
6
- interface IProject {}
7
6
  export interface ITeam extends Document {
8
7
  name: string;
9
8
  description: string;
@@ -14,3 +13,4 @@ export interface ITeam extends Document {
14
13
  tenant: ITenancy;
15
14
  subscription: ISubscription;
16
15
  }
16
+ interface IProject {}
package/types/user.ts CHANGED
@@ -4,7 +4,6 @@ import { IFollowing } from "./following";
4
4
  import { ITeam } from "./team";
5
5
  import { ITenancy } from "./tenancy";
6
6
 
7
- interface IProject {}
8
7
  export interface IUser extends Document {
9
8
  first_name: string;
10
9
  last_name: string;
@@ -29,3 +28,4 @@ export interface IUser extends Document {
29
28
  tenant: ITenancy;
30
29
  is_waitlist: boolean;
31
30
  }
31
+ interface IProject {}