@adobe/aio-cli-plugin-app 10.2.1 → 10.2.2

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/README.md CHANGED
@@ -71,7 +71,7 @@ DESCRIPTION
71
71
  Create, run, test, and deploy Adobe I/O Apps
72
72
  ```
73
73
 
74
- _See code: [src/commands/app/index.js](https://github.com/adobe/aio-cli-plugin-app/blob/10.2.1/src/commands/app/index.js)_
74
+ _See code: [src/commands/app/index.js](https://github.com/adobe/aio-cli-plugin-app/blob/10.2.2/src/commands/app/index.js)_
75
75
 
76
76
  ## `aio app add`
77
77
 
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "10.2.1",
2
+ "version": "10.2.2",
3
3
  "commands": {
4
4
  "app:build": {
5
5
  "id": "app:build",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@adobe/aio-cli-plugin-app",
3
3
  "description": "Create, Build and Deploy Adobe I/O Applications",
4
- "version": "10.2.1",
4
+ "version": "10.2.2",
5
5
  "author": "Adobe Inc.",
6
6
  "bugs": "https://github.com/adobe/aio-cli-plugin-app/issues",
7
7
  "dependencies": {
@@ -125,7 +125,8 @@
125
125
  "apikey",
126
126
  "oauthwebapp",
127
127
  "oauthnativeapp",
128
- "oauthsinglepageapp"
128
+ "oauthsinglepageapp",
129
+ "oauth_server_to_server"
129
130
  ]
130
131
  },
131
132
  "jwt": { "$ref": "#/definitions/jwt" },
@@ -138,7 +139,9 @@
138
139
  "oneOf": [
139
140
  { "required": ["oauth2"] },
140
141
  { "required": ["jwt"] },
141
- { "required": ["api_key"] }
142
+ { "required": ["api_key"] },
143
+ { "required": ["oauth_server_to_server"] }
144
+
142
145
  ]
143
146
  },
144
147
  "service": {
@@ -176,6 +179,26 @@
176
179
  },
177
180
  "required": [ "client_id", "client_secret", "redirect_uri", "defaultRedirectUri" ]
178
181
  },
182
+ "oauth_server_to_server": {
183
+ "properties": {
184
+ "client_id": { "type": "string" },
185
+ "client_secrets": { "type": "array" },
186
+ "technical_account_email": {
187
+ "type": "string",
188
+ "format": "email"
189
+ },
190
+ "technical_account_id": {
191
+ "type": "string",
192
+ "format": "email"
193
+ },
194
+ "scopes": {
195
+ "type": "array",
196
+ "items": { "type": "string" },
197
+ "default": []
198
+ }
199
+ },
200
+ "required": [ "client_id", "client_secrets", "technical_account_email", "technical_account_id", "scopes" ]
201
+ },
179
202
  "oauthsinglepageapp": {
180
203
  "type": "object",
181
204
  "properties": {
@@ -13,7 +13,7 @@
13
13
  "default": true
14
14
  }
15
15
  },
16
- "required": ["application", "workspaces", "runtime"],
16
+ "required": ["application", "runtime"],
17
17
  "definitions": {
18
18
  "application": {
19
19
  "type": "object",