@brimble/models 1.4.27 → 1.4.28

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,3 +1,3 @@
1
1
  yarn run v1.22.19
2
2
  $ tsc -p .
3
- Done in 1.63s.
3
+ Done in 1.70s.
@@ -16,7 +16,7 @@ const integrationSchema = new mongoose_1.Schema({
16
16
  },
17
17
  app_id: String,
18
18
  hook: String,
19
- scope_description: String,
19
+ scope_description: Array,
20
20
  reference: String,
21
21
  type: {
22
22
  type: String,
@@ -4,7 +4,7 @@ export interface IIntegration extends Document {
4
4
  user_id: string | null;
5
5
  app_id?: string;
6
6
  name: INTEGRATION_PROVIDERS;
7
- scope_description?: string;
7
+ scope_description?: string[];
8
8
  hook?: string;
9
9
  reference?: string;
10
10
  token?: string;
package/integration.ts CHANGED
@@ -17,7 +17,7 @@ const integrationSchema: Schema = new Schema(
17
17
  },
18
18
  app_id: String,
19
19
  hook: String,
20
- scope_description: String,
20
+ scope_description: Array,
21
21
  reference: String,
22
22
  type: {
23
23
  type: String,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brimble/models",
3
- "version": "1.4.27",
3
+ "version": "1.4.28",
4
4
  "description": "Brimble models",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -21,5 +21,5 @@
21
21
  "ts-node": "^8.10.2",
22
22
  "typescript": "^4.9.4"
23
23
  },
24
- "gitHead": "577cef73009553ff33d7e80a2e41784e9c7e1fac"
24
+ "gitHead": "fb234d86cb67ea50465c0575ffc165ecd12f3e58"
25
25
  }
@@ -8,7 +8,7 @@ export interface IIntegration extends Document {
8
8
 
9
9
  name: INTEGRATION_PROVIDERS;
10
10
 
11
- scope_description?: string;
11
+ scope_description?: string[];
12
12
 
13
13
  hook?: string;
14
14