@brimble/models 1.3.25 → 1.3.27

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,2 +1,2 @@
1
- @brimble/models:build: cache hit, replaying output b985931a71ed5fe9
1
+ @brimble/models:build: cache hit, replaying output 6ba08027564f93f9
2
2
  @brimble/models:build: $ tsc -p .
File without changes
File without changes
package/dist/member.d.ts CHANGED
File without changes
package/dist/member.js CHANGED
File without changes
package/dist/team.d.ts CHANGED
File without changes
package/dist/team.js CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -6,4 +6,5 @@ export interface ITeam extends Document {
6
6
  projects: Array<IProject>;
7
7
  invitations: Array<IInvitation>;
8
8
  avatar: string;
9
+ isCreator: boolean;
9
10
  }
File without changes
package/dist/user.js CHANGED
@@ -4,6 +4,7 @@ const mongoose_1 = require("mongoose");
4
4
  const userSchema = new mongoose_1.Schema({
5
5
  first_name: String,
6
6
  last_name: String,
7
+ username: String,
7
8
  email: {
8
9
  type: String,
9
10
  required: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brimble/models",
3
- "version": "1.3.25",
3
+ "version": "1.3.27",
4
4
  "description": "Brimble models",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/types/team.ts CHANGED
@@ -7,4 +7,5 @@ export interface ITeam extends Document {
7
7
  projects: Array<IProject>;
8
8
  invitations: Array<IInvitation>;
9
9
  avatar: string;
10
+ isCreator: boolean;
10
11
  }
package/user.ts CHANGED
@@ -6,6 +6,7 @@ const userSchema: Schema = new Schema(
6
6
  {
7
7
  first_name: String,
8
8
  last_name: String,
9
+ username: String,
9
10
  email: {
10
11
  type: String,
11
12
  required: true,