@giteeteam/apps-manifest 0.9.0 → 0.9.1

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.
@@ -3,31 +3,26 @@
3
3
  "type": "array",
4
4
  "minItems": 1,
5
5
  "uniqueItems": true,
6
- "uniqueItemProperties": [
7
- "key"
8
- ],
6
+ "uniqueItemProperties": ["key"],
9
7
  "items": {
10
8
  "type": "object",
9
+ "additionalProperties": true,
11
10
  "properties": {
12
11
  "key": {
13
12
  "type": "string"
14
13
  },
15
14
  "type": {
16
15
  "type": "string",
17
- "enum": [
18
- "object",
19
- "String",
20
- "Number",
21
- "Boolean"
22
- ]
16
+ "enum": ["object", "string", "number", "boolean"]
23
17
  },
24
18
  "required": {
25
19
  "type": "boolean"
20
+ },
21
+ "description": {
22
+ "type": "string"
26
23
  }
27
24
  },
28
- "required": [
29
- "key"
30
- ]
25
+ "required": ["key"]
31
26
  },
32
27
  "errorMessage": {
33
28
  "uniqueItemProperties": "key must be unique"
package/lib/types.d.ts CHANGED
@@ -131,8 +131,10 @@ export interface IMessageQueue {
131
131
  }
132
132
  export interface IEnvVariable {
133
133
  key: string;
134
- type?: string;
134
+ type: string;
135
135
  required?: boolean;
136
+ description?: string;
137
+ defaultValue?: any;
136
138
  }
137
139
  export interface IManifest {
138
140
  app: IManifestApp;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@giteeteam/apps-manifest",
3
- "version": "0.9.0",
3
+ "version": "0.9.1",
4
4
  "description": "Giteeteam Apps Manifest",
5
5
  "keywords": [
6
6
  "typescript",