@brimble/models 4.0.3 → 4.0.4

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.
@@ -17,6 +17,7 @@ const cashierSubscriptionSchema = new mongoose_1.Schema({
17
17
  team_id: { type: mongoose_1.Schema.Types.ObjectId, ref: "Team", default: null },
18
18
  plan_type: { type: String, default: null },
19
19
  domain_id: { type: mongoose_1.Schema.Types.ObjectId, ref: "Domain", default: null },
20
+ extra_build_minutes: { type: Number, default: 0, required: false },
20
21
  }, {
21
22
  timestamps: {
22
23
  createdAt: "created_at",
@@ -7,6 +7,7 @@ export interface ICashierSubscription extends Document {
7
7
  team_id: Ref<ITeam> | null;
8
8
  type: string;
9
9
  stripe_id: string;
10
+ extra_build_minutes: number;
10
11
  stripe_status: string;
11
12
  stripe_price: string | null;
12
13
  quantity: number | null;
@@ -5,7 +5,6 @@ import { IMemberPermission } from "./member-permission";
5
5
  import { IProjectEnvironment } from "./project-environment";
6
6
  import { Ref } from "./ref";
7
7
  export interface IMember extends Document {
8
- /** Absent until an invited member registers; `email` identifies them until then. */
9
8
  user: Ref<IUser>;
10
9
  team: Ref<ITeam>;
11
10
  role: ROLES;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brimble/models",
3
- "version": "4.0.3",
3
+ "version": "4.0.4",
4
4
  "description": "Brimble models",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",