@brimble/models 3.0.8 → 3.1.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.
package/dist/framework.js CHANGED
@@ -18,6 +18,11 @@ const frameworkSchema = new mongoose_1.Schema({
18
18
  type: String,
19
19
  required: true,
20
20
  },
21
+ supported: {
22
+ type: Boolean,
23
+ required: false,
24
+ default: true
25
+ },
21
26
  tagline: {
22
27
  type: String,
23
28
  required: false,
@@ -55,6 +60,14 @@ const frameworkSchema = new mongoose_1.Schema({
55
60
  type: String,
56
61
  required: true,
57
62
  },
63
+ manager: {
64
+ type: String,
65
+ required: false,
66
+ },
67
+ startCommand: {
68
+ type: String,
69
+ required: false,
70
+ },
58
71
  },
59
72
  }, { timestamps: true });
60
73
  exports.default = (0, mongoose_1.model)("Framework", frameworkSchema, "frameworks");
@@ -12,8 +12,10 @@ export interface IFramework extends Document {
12
12
  file_detectors: string[];
13
13
  settings: {
14
14
  installCommand?: string;
15
+ startCommand?: string;
15
16
  buildCommand: string;
16
17
  outputDirectory: string;
18
+ manager?: string;
17
19
  };
18
20
  createdAt?: Date;
19
21
  updatedAt?: Date;
package/framework.ts CHANGED
@@ -19,6 +19,11 @@ const frameworkSchema: Schema = new Schema(
19
19
  type: String,
20
20
  required: true,
21
21
  },
22
+ supported: {
23
+ type: Boolean,
24
+ required: false,
25
+ default: true
26
+ },
22
27
  tagline: {
23
28
  type: String,
24
29
  required: false,
@@ -56,6 +61,14 @@ const frameworkSchema: Schema = new Schema(
56
61
  type: String,
57
62
  required: true,
58
63
  },
64
+ manager: {
65
+ type: String,
66
+ required: false,
67
+ },
68
+ startCommand: {
69
+ type: String,
70
+ required: false,
71
+ },
59
72
  },
60
73
  },
61
74
  { timestamps: true },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brimble/models",
3
- "version": "3.0.8",
3
+ "version": "3.1.0",
4
4
  "description": "Brimble models",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -13,8 +13,10 @@ export interface IFramework extends Document {
13
13
  file_detectors: string[];
14
14
  settings: {
15
15
  installCommand?: string;
16
+ startCommand?: string;
16
17
  buildCommand: string;
17
18
  outputDirectory: string;
19
+ manager?: string;
18
20
  };
19
21
  createdAt?: Date;
20
22
  updatedAt?: Date;