@forge/manifest 4.14.0-next.3 → 4.14.0-next.5

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/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @forge/manifest
2
2
 
3
+ ## 4.14.0-next.5
4
+
5
+ ### Minor Changes
6
+
7
+ - 9477f538: Allowing app to opt-in for auto-consent
8
+
9
+ ## 4.14.0-next.4
10
+
11
+ ### Patch Changes
12
+
13
+ - 00f194a: Update manifest definitions
14
+
3
15
  ## 4.14.0-next.3
4
16
 
5
17
  ### Patch Changes
@@ -31,7 +31,10 @@
31
31
  "description": "Name of the runtime to use for app execution.",
32
32
  "title": "name",
33
33
  "type": "string",
34
- "enum": ["sandbox", "nodejs18.x"]
34
+ "enum": [
35
+ "sandbox",
36
+ "nodejs18.x"
37
+ ]
35
38
  }
36
39
  },
37
40
  "title": "runtime",
@@ -54,6 +57,20 @@
54
57
  }
55
58
  }
56
59
  },
60
+ "features": {
61
+ "additionalProperties": false,
62
+ "type": "object",
63
+ "title": "features",
64
+ "description": "Features related to app",
65
+ "properties": {
66
+ "autoUserConsent": {
67
+ "type": "boolean",
68
+ "default": false,
69
+ "title": "autoUserConsent",
70
+ "description": "Whether user consent should be automatic. If set to false or no value is specified for this property in the manifest, user consent will be interactive."
71
+ }
72
+ }
73
+ },
57
74
  "connect": {
58
75
  "additionalProperties": false,
59
76
  "required": [
@@ -25,6 +25,10 @@ export type Name = 'sandbox' | 'nodejs18.x';
25
25
  * Whether to enable paid app licensing for production installations of this app. Default value of false.
26
26
  */
27
27
  export type Enabled = boolean;
28
+ /**
29
+ * Whether user consent should be automatic. If set to false or no value is specified for this property in the manifest, user consent will be interactive.
30
+ */
31
+ export type AutoUserConsent = boolean;
28
32
  /**
29
33
  * The app's connect key
30
34
  */
@@ -39,6 +43,7 @@ export interface App {
39
43
  id: Id;
40
44
  runtime?: Runtime;
41
45
  licensing?: Licensing;
46
+ features?: Features;
42
47
  connect?: Connect;
43
48
  /**
44
49
  * Options related to hosted storage
@@ -156,6 +161,12 @@ export interface Runtime {
156
161
  export interface Licensing {
157
162
  enabled: Enabled;
158
163
  }
164
+ /**
165
+ * Features related to app
166
+ */
167
+ export interface Features {
168
+ autoUserConsent?: AutoUserConsent;
169
+ }
159
170
  /**
160
171
  * Connect Configuration for the forge app.
161
172
  */
@@ -31,7 +31,10 @@
31
31
  "description": "Name of the runtime to use for app execution.",
32
32
  "title": "name",
33
33
  "type": "string",
34
- "enum": ["sandbox", "nodejs18.x"]
34
+ "enum": [
35
+ "sandbox",
36
+ "nodejs18.x"
37
+ ]
35
38
  }
36
39
  },
37
40
  "title": "runtime",
@@ -54,6 +57,20 @@
54
57
  }
55
58
  }
56
59
  },
60
+ "features": {
61
+ "additionalProperties": false,
62
+ "type": "object",
63
+ "title": "features",
64
+ "description": "Features related to app",
65
+ "properties": {
66
+ "autoUserConsent": {
67
+ "type": "boolean",
68
+ "default": false,
69
+ "title": "autoUserConsent",
70
+ "description": "Whether user consent should be automatic. If set to false or no value is specified for this property in the manifest, user consent will be interactive."
71
+ }
72
+ }
73
+ },
57
74
  "connect": {
58
75
  "additionalProperties": false,
59
76
  "required": [
@@ -25,6 +25,10 @@ export type Name = 'sandbox' | 'nodejs18.x';
25
25
  * Whether to enable paid app licensing for production installations of this app. Default value of false.
26
26
  */
27
27
  export type Enabled = boolean;
28
+ /**
29
+ * Whether user consent should be automatic. If set to false or no value is specified for this property in the manifest, user consent will be interactive.
30
+ */
31
+ export type AutoUserConsent = boolean;
28
32
  /**
29
33
  * The app's connect key
30
34
  */
@@ -219,6 +223,7 @@ export interface App {
219
223
  id: Id;
220
224
  runtime?: Runtime;
221
225
  licensing?: Licensing;
226
+ features?: Features;
222
227
  connect?: Connect;
223
228
  /**
224
229
  * Options related to hosted storage
@@ -336,6 +341,12 @@ export interface Runtime {
336
341
  export interface Licensing {
337
342
  enabled: Enabled;
338
343
  }
344
+ /**
345
+ * Features related to app
346
+ */
347
+ export interface Features {
348
+ autoUserConsent?: AutoUserConsent;
349
+ }
339
350
  /**
340
351
  * Connect Configuration for the forge app.
341
352
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forge/manifest",
3
- "version": "4.14.0-next.3",
3
+ "version": "4.14.0-next.5",
4
4
  "description": "Definitions and validations of the Forge manifest",
5
5
  "main": "out/index.js",
6
6
  "scripts": {