@brimble/models 2.5.5 → 2.5.7

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.
@@ -166,6 +166,10 @@ const projectSchema = new mongoose_1.Schema({
166
166
  type: Array,
167
167
  required: false,
168
168
  },
169
+ vaultPath: {
170
+ type: String,
171
+ default: null,
172
+ },
169
173
  }, { timestamps: true });
170
174
  exports.default = (0, mongoose_1.model)("Project", projectSchema);
171
175
  exports.DeletedProject = (0, mongoose_1.model)("DeletedProject", projectSchema);
@@ -3,6 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const mongoose_1 = require("mongoose");
4
4
  const enum_1 = require("./enum");
5
5
  const subscriptionSchema = new mongoose_1.Schema({
6
+ initial_start_date: {
7
+ type: String,
8
+ required: true,
9
+ },
6
10
  team_id: {
7
11
  type: mongoose_1.Schema.Types.ObjectId,
8
12
  ref: "Team",
@@ -62,6 +62,7 @@ export interface IProject extends Document {
62
62
  from: string;
63
63
  previews: IPreview[];
64
64
  replicas: number;
65
+ vaultPath: string | null;
65
66
  specs: {
66
67
  memory: number;
67
68
  cpu: number;
@@ -4,6 +4,7 @@ import { IUser } from "./user";
4
4
  import { ITeam } from "./team";
5
5
  import { IProject } from "./project";
6
6
  export interface ISubscription extends Document {
7
+ initial_start_date: string;
7
8
  team_id: ITeam;
8
9
  admin_id: IUser;
9
10
  billable_id: IUser;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brimble/models",
3
- "version": "2.5.5",
3
+ "version": "2.5.7",
4
4
  "description": "Brimble models",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/project/index.ts CHANGED
@@ -166,6 +166,10 @@ const projectSchema = new Schema(
166
166
  type: Array,
167
167
  required: false,
168
168
  },
169
+ vaultPath: {
170
+ type: String,
171
+ default: null,
172
+ },
169
173
  },
170
174
  { timestamps: true },
171
175
  );
package/subscription.ts CHANGED
@@ -4,6 +4,10 @@ import { ISubscription } from "./types";
4
4
 
5
5
  const subscriptionSchema: Schema = new Schema(
6
6
  {
7
+ initial_start_date: {
8
+ type: String,
9
+ required: true,
10
+ },
7
11
  team_id: {
8
12
  type: Schema.Types.ObjectId,
9
13
  ref: "Team",
@@ -63,6 +63,7 @@ export interface IProject extends Document {
63
63
  from: string;
64
64
  previews: IPreview[];
65
65
  replicas: number;
66
+ vaultPath: string | null;
66
67
  specs: {
67
68
  memory: number;
68
69
  cpu: number;
@@ -5,6 +5,7 @@ import { ITeam } from "./team";
5
5
  import { IProject } from "./project";
6
6
 
7
7
  export interface ISubscription extends Document {
8
+ initial_start_date: string;
8
9
  team_id: ITeam;
9
10
  admin_id: IUser;
10
11
  billable_id: IUser;