@commercetools-frontend/application-config 21.0.0 → 21.0.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.
@@ -166,12 +166,18 @@ var schemaJson = {
166
166
  },
167
167
  entryPointUriPath: {
168
168
  description: "See https://docs.commercetools.com/custom-applications/api-reference/application-config#entrypointuripath",
169
- type: "string",
170
- pattern: "^[^\\-_]([0-9a-z]|[\\-_](?![\\-_])){2,64}[^\\-_]$"
169
+ oneOf: [
170
+ {
171
+ type: "string",
172
+ pattern: "^[^\\-_]([0-9a-z]|[\\-_](?![\\-_])){2,64}[^\\-_]$"
173
+ },
174
+ {
175
+ $ref: "#/definitions/envVariablePlaceholder"
176
+ }
177
+ ]
171
178
  },
172
179
  cloudIdentifier: {
173
180
  description: "See https://docs.commercetools.com/custom-applications/api-reference/application-config#cloudidentifier",
174
- type: "string",
175
181
  oneOf: [
176
182
  {
177
183
  "enum": [
@@ -166,12 +166,18 @@ var schemaJson = {
166
166
  },
167
167
  entryPointUriPath: {
168
168
  description: "See https://docs.commercetools.com/custom-applications/api-reference/application-config#entrypointuripath",
169
- type: "string",
170
- pattern: "^[^\\-_]([0-9a-z]|[\\-_](?![\\-_])){2,64}[^\\-_]$"
169
+ oneOf: [
170
+ {
171
+ type: "string",
172
+ pattern: "^[^\\-_]([0-9a-z]|[\\-_](?![\\-_])){2,64}[^\\-_]$"
173
+ },
174
+ {
175
+ $ref: "#/definitions/envVariablePlaceholder"
176
+ }
177
+ ]
171
178
  },
172
179
  cloudIdentifier: {
173
180
  description: "See https://docs.commercetools.com/custom-applications/api-reference/application-config#cloudidentifier",
174
- type: "string",
175
181
  oneOf: [
176
182
  {
177
183
  "enum": [
@@ -138,12 +138,18 @@ var schemaJson = {
138
138
  },
139
139
  entryPointUriPath: {
140
140
  description: "See https://docs.commercetools.com/custom-applications/api-reference/application-config#entrypointuripath",
141
- type: "string",
142
- pattern: "^[^\\-_]([0-9a-z]|[\\-_](?![\\-_])){2,64}[^\\-_]$"
141
+ oneOf: [
142
+ {
143
+ type: "string",
144
+ pattern: "^[^\\-_]([0-9a-z]|[\\-_](?![\\-_])){2,64}[^\\-_]$"
145
+ },
146
+ {
147
+ $ref: "#/definitions/envVariablePlaceholder"
148
+ }
149
+ ]
143
150
  },
144
151
  cloudIdentifier: {
145
152
  description: "See https://docs.commercetools.com/custom-applications/api-reference/application-config#cloudidentifier",
146
- type: "string",
147
153
  oneOf: [
148
154
  {
149
155
  "enum": [
@@ -4,7 +4,7 @@ export interface JSONSchemaForCustomApplicationConfigurationFiles {
4
4
  name: string;
5
5
  description?: string;
6
6
  entryPointUriPath: string;
7
- cloudIdentifier: (('gcp-au' | 'gcp-eu' | 'gcp-us' | 'aws-fra' | 'aws-ohio') | EnvVariablePlaceholder) & string;
7
+ cloudIdentifier: ('gcp-au' | 'gcp-eu' | 'gcp-us' | 'aws-fra' | 'aws-ohio') | EnvVariablePlaceholder;
8
8
  mcApiUrl?: string;
9
9
  oAuthScopes: {
10
10
  view: string[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commercetools-frontend/application-config",
3
- "version": "21.0.0",
3
+ "version": "21.0.1",
4
4
  "description": "Configuration utilities for building Custom Applications",
5
5
  "bugs": "https://github.com/commercetools/merchant-center-application-kit/issues",
6
6
  "repository": {
package/schema.json CHANGED
@@ -27,12 +27,18 @@
27
27
  },
28
28
  "entryPointUriPath": {
29
29
  "description": "See https://docs.commercetools.com/custom-applications/api-reference/application-config#entrypointuripath",
30
- "type": "string",
31
- "pattern": "^[^\\-_]([0-9a-z]|[\\-_](?![\\-_])){2,64}[^\\-_]$"
30
+ "oneOf": [
31
+ {
32
+ "type": "string",
33
+ "pattern": "^[^\\-_]([0-9a-z]|[\\-_](?![\\-_])){2,64}[^\\-_]$"
34
+ },
35
+ {
36
+ "$ref": "#/definitions/envVariablePlaceholder"
37
+ }
38
+ ]
32
39
  },
33
40
  "cloudIdentifier": {
34
41
  "description": "See https://docs.commercetools.com/custom-applications/api-reference/application-config#cloudidentifier",
35
- "type": "string",
36
42
  "oneOf": [
37
43
  {
38
44
  "enum": ["gcp-au", "gcp-eu", "gcp-us", "aws-fra", "aws-ohio"]