@adobe/helix-admin-support 2.1.20 → 2.1.22
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 +14 -0
- package/docs/README.md +8 -0
- package/docs/helix-config-properties-content-properties-data-patternproperties--properties-contentbusid.md +15 -0
- package/docs/helix-config-properties-content-properties-data-patternproperties-.md +39 -0
- package/docs/helix-config-properties-content-properties-data-patternproperties.md +15 -0
- package/docs/helix-config-properties-content-properties-data.md +39 -0
- package/docs/helix-config-properties-content-properties-lastmodified.md +15 -0
- package/docs/helix-config-properties-content.md +58 -0
- package/docs/helix-config.md +23 -4
- package/docs/helix-config.schema.json +1 -1
- package/docs/project-config-cdn-properties-live-properties-host.md +22 -0
- package/docs/{project-config-all-properties-projectconfigentry-properties-data.md → project-config-cdn-properties-live-properties.md} +5 -5
- package/docs/project-config-cdn-properties-live.md +46 -0
- package/docs/project-config-cdn-properties-preview-properties-host.md +22 -0
- package/docs/{project-config-all-properties-projectconfigentry-properties-lastmodified.md → project-config-cdn-properties-preview-properties.md} +5 -5
- package/docs/project-config-cdn-properties-preview.md +46 -0
- package/docs/project-config-cdn.md +41 -3
- package/docs/project-config-cdn.schema.json +1 -1
- package/docs/project-config-properties-siteaccessconfig-properties-apikeyid-oneof-0.md +15 -0
- package/docs/project-config-properties-siteaccessconfig-properties-apikeyid-oneof-1-items.md +15 -0
- package/docs/project-config-properties-siteaccessconfig-properties-apikeyid-oneof-1.md +15 -0
- package/docs/project-config-properties-siteaccessconfig-properties-apikeyid.md +21 -0
- package/docs/project-config-properties-siteaccessconfig.md +29 -4
- package/docs/project-config.schema.json +1 -1
- package/package.json +8 -8
- package/src/schemas/project-config-cdn.schema.json +22 -0
- package/src/schemas/project-config.schema.json +14 -0
- package/types/project-config.d.ts +16 -0
- package/docs/project-config-all-properties-projectconfigentry.md +0 -58
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [2.1.22](https://github.com/adobe/helix-admin-support/compare/v2.1.21...v2.1.22) (2023-06-10)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **deps:** update external fixes ([48d9a1a](https://github.com/adobe/helix-admin-support/commit/48d9a1a471b129a526e742d8a065df57b2665e1a))
|
|
7
|
+
|
|
8
|
+
## [2.1.21](https://github.com/adobe/helix-admin-support/compare/v2.1.20...v2.1.21) (2023-06-03)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* **deps:** update dependency @adobe/helix-shared-config to v10.2.3 ([07ee52c](https://github.com/adobe/helix-admin-support/commit/07ee52c73dbf735774ca23beb64a9033b75386ed))
|
|
14
|
+
|
|
1
15
|
## [2.1.20](https://github.com/adobe/helix-admin-support/compare/v2.1.19...v2.1.20) (2023-06-03)
|
|
2
16
|
|
|
3
17
|
|
package/docs/README.md
CHANGED
|
@@ -36,6 +36,12 @@
|
|
|
36
36
|
|
|
37
37
|
* [Untitled object in HelixConfig](./helix-config-properties-fstab.md "The embedded fstab") – `https://ns.adobe.com/helix/config/helix#/properties/fstab`
|
|
38
38
|
|
|
39
|
+
* [Untitled object in HelixConfig](./helix-config-properties-content.md "Content information") – `https://ns.adobe.com/helix/config/helix#/properties/content`
|
|
40
|
+
|
|
41
|
+
* [Untitled object in HelixConfig](./helix-config-properties-content-properties-data.md) – `https://ns.adobe.com/helix/config/helix#/properties/content/properties/data`
|
|
42
|
+
|
|
43
|
+
* [Untitled object in HelixConfig](./helix-config-properties-content-properties-data-patternproperties-.md) – `https://ns.adobe.com/helix/config/helix#/properties/content/properties/data/patternProperties/^/.*[^/]$`
|
|
44
|
+
|
|
39
45
|
* [Untitled object in HelixConfig](./helix-config-properties-head.md "The embedded head") – `https://ns.adobe.com/helix/config/helix#/properties/head`
|
|
40
46
|
|
|
41
47
|
* [Untitled object in HelixConfig](./helix-config-properties-head-properties-data.md) – `https://ns.adobe.com/helix/config/helix#/properties/head/properties/data`
|
|
@@ -50,6 +56,8 @@
|
|
|
50
56
|
|
|
51
57
|
* [Untitled array in ProjectConfig](./project-config-properties-slack-oneof-1.md) – `https://ns.adobe.com/helix/config/project#/properties/slack/oneOf/1`
|
|
52
58
|
|
|
59
|
+
* [Untitled array in ProjectConfig](./project-config-properties-siteaccessconfig-properties-apikeyid-oneof-1.md) – `https://ns.adobe.com/helix/config/project#/properties/access/properties/apiKeyId/oneOf/1`
|
|
60
|
+
|
|
53
61
|
## Version Note
|
|
54
62
|
|
|
55
63
|
The schemas linked above follow the JSON Schema Spec version: `http://json-schema.org/draft-07/schema#`
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# Untitled string in HelixConfig Schema
|
|
2
|
+
|
|
3
|
+
```txt
|
|
4
|
+
https://ns.adobe.com/helix/config/helix#/properties/content/properties/data/patternProperties/^/.*[^/]$/properties/contentBusId
|
|
5
|
+
```
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
|
|
10
|
+
| :------------------ | :--------- | :------------- | :---------------------- | :---------------- | :-------------------- | :------------------ | :---------------------------------------------------------------------------- |
|
|
11
|
+
| Can be instantiated | No | Unknown status | Unknown identifiability | Forbidden | Allowed | none | [helix-config.schema.json\*](helix-config.schema.json "open original schema") |
|
|
12
|
+
|
|
13
|
+
## contentBusId Type
|
|
14
|
+
|
|
15
|
+
`string`
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# Untitled object in HelixConfig Schema
|
|
2
|
+
|
|
3
|
+
```txt
|
|
4
|
+
https://ns.adobe.com/helix/config/helix#/properties/content/properties/data/patternProperties/^/.*[^/]$
|
|
5
|
+
```
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
|
|
10
|
+
| :------------------ | :--------- | :------------- | :----------- | :---------------- | :-------------------- | :------------------ | :---------------------------------------------------------------------------- |
|
|
11
|
+
| Can be instantiated | No | Unknown status | No | Forbidden | Forbidden | none | [helix-config.schema.json\*](helix-config.schema.json "open original schema") |
|
|
12
|
+
|
|
13
|
+
## ]$ Type
|
|
14
|
+
|
|
15
|
+
`object` ([Details](helix-config-properties-content-properties-data-patternproperties-.md))
|
|
16
|
+
|
|
17
|
+
# ]$ Properties
|
|
18
|
+
|
|
19
|
+
| Property | Type | Required | Nullable | Defined by |
|
|
20
|
+
| :---------------------------- | :------- | :------- | :------------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
21
|
+
| [contentBusId](#contentbusid) | `string` | Optional | cannot be null | [HelixConfig](helix-config-properties-content-properties-data-patternproperties--properties-contentbusid.md "https://ns.adobe.com/helix/config/helix#/properties/content/properties/data/patternProperties/^/.*\[^/]$/properties/contentBusId") |
|
|
22
|
+
|
|
23
|
+
## contentBusId
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
`contentBusId`
|
|
28
|
+
|
|
29
|
+
* is optional
|
|
30
|
+
|
|
31
|
+
* Type: `string`
|
|
32
|
+
|
|
33
|
+
* cannot be null
|
|
34
|
+
|
|
35
|
+
* defined in: [HelixConfig](helix-config-properties-content-properties-data-patternproperties--properties-contentbusid.md "https://ns.adobe.com/helix/config/helix#/properties/content/properties/data/patternProperties/^/.*\[^/]$/properties/contentBusId")
|
|
36
|
+
|
|
37
|
+
### contentBusId Type
|
|
38
|
+
|
|
39
|
+
`string`
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# Untitled undefined type in HelixConfig Schema
|
|
2
|
+
|
|
3
|
+
```txt
|
|
4
|
+
https://ns.adobe.com/helix/config/helix#/properties/content/properties/data/patternProperties
|
|
5
|
+
```
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
|
|
10
|
+
| :------------------ | :--------- | :------------- | :---------------------- | :---------------- | :-------------------- | :------------------ | :---------------------------------------------------------------------------- |
|
|
11
|
+
| Can be instantiated | No | Unknown status | Unknown identifiability | Forbidden | Allowed | none | [helix-config.schema.json\*](helix-config.schema.json "open original schema") |
|
|
12
|
+
|
|
13
|
+
## patternProperties Type
|
|
14
|
+
|
|
15
|
+
unknown
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# Untitled object in HelixConfig Schema
|
|
2
|
+
|
|
3
|
+
```txt
|
|
4
|
+
https://ns.adobe.com/helix/config/helix#/properties/content/properties/data
|
|
5
|
+
```
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
|
|
10
|
+
| :------------------ | :--------- | :------------- | :---------------------- | :---------------- | :-------------------- | :------------------ | :---------------------------------------------------------------------------- |
|
|
11
|
+
| Can be instantiated | No | Unknown status | Unknown identifiability | Forbidden | Forbidden | none | [helix-config.schema.json\*](helix-config.schema.json "open original schema") |
|
|
12
|
+
|
|
13
|
+
## data Type
|
|
14
|
+
|
|
15
|
+
`object` ([Details](helix-config-properties-content-properties-data.md))
|
|
16
|
+
|
|
17
|
+
# data Properties
|
|
18
|
+
|
|
19
|
+
| Property | Type | Required | Nullable | Defined by |
|
|
20
|
+
| :---------- | :------- | :------- | :------------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
21
|
+
| `^/.*[^/]$` | `object` | Optional | cannot be null | [HelixConfig](helix-config-properties-content-properties-data-patternproperties-.md "https://ns.adobe.com/helix/config/helix#/properties/content/properties/data/patternProperties/^/.*\[^/]$") |
|
|
22
|
+
|
|
23
|
+
## Pattern: `^/.*[^/]$`
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
`^/.*[^/]$`
|
|
28
|
+
|
|
29
|
+
* is optional
|
|
30
|
+
|
|
31
|
+
* Type: `object` ([Details](helix-config-properties-content-properties-data-patternproperties-.md))
|
|
32
|
+
|
|
33
|
+
* cannot be null
|
|
34
|
+
|
|
35
|
+
* defined in: [HelixConfig](helix-config-properties-content-properties-data-patternproperties-.md "https://ns.adobe.com/helix/config/helix#/properties/content/properties/data/patternProperties/^/.*\[^/]$")
|
|
36
|
+
|
|
37
|
+
### ]$ Type
|
|
38
|
+
|
|
39
|
+
`object` ([Details](helix-config-properties-content-properties-data-patternproperties-.md))
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# Untitled string in HelixConfig Schema
|
|
2
|
+
|
|
3
|
+
```txt
|
|
4
|
+
https://ns.adobe.com/helix/config/helix#/properties/content/properties/lastModified
|
|
5
|
+
```
|
|
6
|
+
|
|
7
|
+
The last modified date
|
|
8
|
+
|
|
9
|
+
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
|
|
10
|
+
| :------------------ | :--------- | :------------- | :---------------------- | :---------------- | :-------------------- | :------------------ | :---------------------------------------------------------------------------- |
|
|
11
|
+
| Can be instantiated | No | Unknown status | Unknown identifiability | Forbidden | Allowed | none | [helix-config.schema.json\*](helix-config.schema.json "open original schema") |
|
|
12
|
+
|
|
13
|
+
## lastModified Type
|
|
14
|
+
|
|
15
|
+
`string`
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
# Untitled object in HelixConfig Schema
|
|
2
|
+
|
|
3
|
+
```txt
|
|
4
|
+
https://ns.adobe.com/helix/config/helix#/properties/content
|
|
5
|
+
```
|
|
6
|
+
|
|
7
|
+
Content information
|
|
8
|
+
|
|
9
|
+
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
|
|
10
|
+
| :------------------ | :--------- | :------------- | :----------- | :---------------- | :-------------------- | :------------------ | :---------------------------------------------------------------------------- |
|
|
11
|
+
| Can be instantiated | No | Unknown status | No | Forbidden | Allowed | none | [helix-config.schema.json\*](helix-config.schema.json "open original schema") |
|
|
12
|
+
|
|
13
|
+
## content Type
|
|
14
|
+
|
|
15
|
+
`object` ([Details](helix-config-properties-content.md))
|
|
16
|
+
|
|
17
|
+
# content Properties
|
|
18
|
+
|
|
19
|
+
| Property | Type | Required | Nullable | Defined by |
|
|
20
|
+
| :---------------------------- | :------- | :------- | :------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
21
|
+
| [lastModified](#lastmodified) | `string` | Required | cannot be null | [HelixConfig](helix-config-properties-content-properties-lastmodified.md "https://ns.adobe.com/helix/config/helix#/properties/content/properties/lastModified") |
|
|
22
|
+
| [data](#data) | `object` | Required | cannot be null | [HelixConfig](helix-config-properties-content-properties-data.md "https://ns.adobe.com/helix/config/helix#/properties/content/properties/data") |
|
|
23
|
+
|
|
24
|
+
## lastModified
|
|
25
|
+
|
|
26
|
+
The last modified date
|
|
27
|
+
|
|
28
|
+
`lastModified`
|
|
29
|
+
|
|
30
|
+
* is required
|
|
31
|
+
|
|
32
|
+
* Type: `string`
|
|
33
|
+
|
|
34
|
+
* cannot be null
|
|
35
|
+
|
|
36
|
+
* defined in: [HelixConfig](helix-config-properties-content-properties-lastmodified.md "https://ns.adobe.com/helix/config/helix#/properties/content/properties/lastModified")
|
|
37
|
+
|
|
38
|
+
### lastModified Type
|
|
39
|
+
|
|
40
|
+
`string`
|
|
41
|
+
|
|
42
|
+
## data
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
`data`
|
|
47
|
+
|
|
48
|
+
* is required
|
|
49
|
+
|
|
50
|
+
* Type: `object` ([Details](helix-config-properties-content-properties-data.md))
|
|
51
|
+
|
|
52
|
+
* cannot be null
|
|
53
|
+
|
|
54
|
+
* defined in: [HelixConfig](helix-config-properties-content-properties-data.md "https://ns.adobe.com/helix/config/helix#/properties/content/properties/data")
|
|
55
|
+
|
|
56
|
+
### data Type
|
|
57
|
+
|
|
58
|
+
`object` ([Details](helix-config-properties-content-properties-data.md))
|
package/docs/helix-config.md
CHANGED
|
@@ -16,10 +16,11 @@ Internal configuration aggregate consisting of fstab.yaml and head.html
|
|
|
16
16
|
|
|
17
17
|
# HelixConfig Properties
|
|
18
18
|
|
|
19
|
-
| Property
|
|
20
|
-
|
|
|
21
|
-
| [fstab](#fstab)
|
|
22
|
-
| [
|
|
19
|
+
| Property | Type | Required | Nullable | Defined by |
|
|
20
|
+
| :------------------ | :------- | :------- | :------------- | :-------------------------------------------------------------------------------------------------------------- |
|
|
21
|
+
| [fstab](#fstab) | `object` | Optional | cannot be null | [HelixConfig](helix-config-properties-fstab.md "https://ns.adobe.com/helix/config/helix#/properties/fstab") |
|
|
22
|
+
| [content](#content) | `object` | Optional | cannot be null | [HelixConfig](helix-config-properties-content.md "https://ns.adobe.com/helix/config/helix#/properties/content") |
|
|
23
|
+
| [head](#head) | `object` | Optional | cannot be null | [HelixConfig](helix-config-properties-head.md "https://ns.adobe.com/helix/config/helix#/properties/head") |
|
|
23
24
|
|
|
24
25
|
## fstab
|
|
25
26
|
|
|
@@ -39,6 +40,24 @@ The embedded fstab.yaml
|
|
|
39
40
|
|
|
40
41
|
`object` ([Details](helix-config-properties-fstab.md))
|
|
41
42
|
|
|
43
|
+
## content
|
|
44
|
+
|
|
45
|
+
Content information
|
|
46
|
+
|
|
47
|
+
`content`
|
|
48
|
+
|
|
49
|
+
* is optional
|
|
50
|
+
|
|
51
|
+
* Type: `object` ([Details](helix-config-properties-content.md))
|
|
52
|
+
|
|
53
|
+
* cannot be null
|
|
54
|
+
|
|
55
|
+
* defined in: [HelixConfig](helix-config-properties-content.md "https://ns.adobe.com/helix/config/helix#/properties/content")
|
|
56
|
+
|
|
57
|
+
### content Type
|
|
58
|
+
|
|
59
|
+
`object` ([Details](helix-config-properties-content.md))
|
|
60
|
+
|
|
42
61
|
## head
|
|
43
62
|
|
|
44
63
|
The embedded head.html
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"meta:license":["Copyright 2023 Adobe. All rights reserved.","This file is licensed to you under the Apache License, Version 2.0 (the \"License\");","you may not use this file except in compliance with the License. You may obtain a copy","of the License at http://www.apache.org/licenses/LICENSE-2.0","","Unless required by applicable law or agreed to in writing, software distributed under","the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS","OF ANY KIND, either express or implied. See the License for the specific language","governing permissions and limitations under the License."],"$id":"https://ns.adobe.com/helix/config/helix","$schema":"http://json-schema.org/draft-07/schema#","title":"HelixConfig","description":"Internal configuration aggregate consisting of fstab.yaml and head.html","type":"object","properties":{"fstab":{"type":"object","description":"The embedded fstab.yaml","properties":{"lastModified":{"description":"The last modified date","type":"string"},"data":{"tsType":"MountConfig"}},"required":["data","lastModified"],"additionalProperties":false},"head":{"type":"object","description":"The embedded head.html","properties":{"lastModified":{"description":"The last modified date","type":"string"},"data":{"type":"object","properties":{"html":{"type":"string","description":"The contents of the head.html"}},"additionalProperties":false}},"required":["data","lastModified"],"additionalProperties":false}},"additionalProperties":false}
|
|
1
|
+
{"meta:license":["Copyright 2023 Adobe. All rights reserved.","This file is licensed to you under the Apache License, Version 2.0 (the \"License\");","you may not use this file except in compliance with the License. You may obtain a copy","of the License at http://www.apache.org/licenses/LICENSE-2.0","","Unless required by applicable law or agreed to in writing, software distributed under","the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS","OF ANY KIND, either express or implied. See the License for the specific language","governing permissions and limitations under the License."],"$id":"https://ns.adobe.com/helix/config/helix","$schema":"http://json-schema.org/draft-07/schema#","title":"HelixConfig","description":"Internal configuration aggregate consisting of fstab.yaml and head.html","type":"object","properties":{"fstab":{"type":"object","description":"The embedded fstab.yaml","properties":{"lastModified":{"description":"The last modified date","type":"string"},"data":{"tsType":"MountConfig"}},"required":["data","lastModified"],"additionalProperties":false},"content":{"type":"object","description":"Content information","properties":{"lastModified":{"description":"The last modified date","type":"string"},"data":{"type":"object","patternProperties":{"^/.*[^/]$":{"type":"object","properties":{"contentBusId":{"type":"string"}},"additionalProperties":false}},"additionalProperties":false}},"required":["data","lastModified"]},"head":{"type":"object","description":"The embedded head.html","properties":{"lastModified":{"description":"The last modified date","type":"string"},"data":{"type":"object","properties":{"html":{"type":"string","description":"The contents of the head.html"}},"additionalProperties":false}},"required":["data","lastModified"],"additionalProperties":false}},"additionalProperties":false}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# Untitled string in ProjectCDNConfig Schema
|
|
2
|
+
|
|
3
|
+
```txt
|
|
4
|
+
https://ns.adobe.com/helix/config/cdn#/properties/live/properties/host
|
|
5
|
+
```
|
|
6
|
+
|
|
7
|
+
Sidekick config to override the default preview host. it supports parameters $owner and $repo
|
|
8
|
+
|
|
9
|
+
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
|
|
10
|
+
| :------------------ | :--------- | :------------- | :---------------------- | :---------------- | :-------------------- | :------------------ | :---------------------------------------------------------------------------------------- |
|
|
11
|
+
| Can be instantiated | No | Unknown status | Unknown identifiability | Forbidden | Allowed | none | [project-config-cdn.schema.json\*](project-config-cdn.schema.json "open original schema") |
|
|
12
|
+
|
|
13
|
+
## host Type
|
|
14
|
+
|
|
15
|
+
`string`
|
|
16
|
+
|
|
17
|
+
## host Examples
|
|
18
|
+
|
|
19
|
+
```yaml
|
|
20
|
+
main--$repo--page.example.com
|
|
21
|
+
|
|
22
|
+
```
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
# Untitled undefined type in
|
|
1
|
+
# Untitled undefined type in ProjectCDNConfig Schema
|
|
2
2
|
|
|
3
3
|
```txt
|
|
4
|
-
https://ns.adobe.com/helix/config/
|
|
4
|
+
https://ns.adobe.com/helix/config/cdn#/properties/live/properties
|
|
5
5
|
```
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
|
|
8
8
|
|
|
9
9
|
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
|
|
10
10
|
| :------------------ | :--------- | :------------- | :---------------------- | :---------------- | :-------------------- | :------------------ | :---------------------------------------------------------------------------------------- |
|
|
11
|
-
| Can be instantiated | No | Unknown status | Unknown identifiability | Forbidden | Allowed | none | [project-config-
|
|
11
|
+
| Can be instantiated | No | Unknown status | Unknown identifiability | Forbidden | Allowed | none | [project-config-cdn.schema.json\*](project-config-cdn.schema.json "open original schema") |
|
|
12
12
|
|
|
13
|
-
##
|
|
13
|
+
## properties Type
|
|
14
14
|
|
|
15
15
|
unknown
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# Untitled undefined type in ProjectCDNConfig Schema
|
|
2
|
+
|
|
3
|
+
```txt
|
|
4
|
+
https://ns.adobe.com/helix/config/cdn#/properties/live
|
|
5
|
+
```
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
|
|
10
|
+
| :------------------ | :--------- | :------------- | :----------- | :---------------- | :-------------------- | :------------------ | :---------------------------------------------------------------------------------------- |
|
|
11
|
+
| Can be instantiated | No | Unknown status | No | Forbidden | Forbidden | none | [project-config-cdn.schema.json\*](project-config-cdn.schema.json "open original schema") |
|
|
12
|
+
|
|
13
|
+
## live Type
|
|
14
|
+
|
|
15
|
+
unknown
|
|
16
|
+
|
|
17
|
+
# live Properties
|
|
18
|
+
|
|
19
|
+
| Property | Type | Required | Nullable | Defined by |
|
|
20
|
+
| :------------ | :------- | :------- | :------------- | :------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
21
|
+
| [host](#host) | `string` | Required | cannot be null | [ProjectCDNConfig](project-config-cdn-properties-live-properties-host.md "https://ns.adobe.com/helix/config/cdn#/properties/live/properties/host") |
|
|
22
|
+
|
|
23
|
+
## host
|
|
24
|
+
|
|
25
|
+
Sidekick config to override the default preview host. it supports parameters $owner and $repo
|
|
26
|
+
|
|
27
|
+
`host`
|
|
28
|
+
|
|
29
|
+
* is required
|
|
30
|
+
|
|
31
|
+
* Type: `string`
|
|
32
|
+
|
|
33
|
+
* cannot be null
|
|
34
|
+
|
|
35
|
+
* defined in: [ProjectCDNConfig](project-config-cdn-properties-live-properties-host.md "https://ns.adobe.com/helix/config/cdn#/properties/live/properties/host")
|
|
36
|
+
|
|
37
|
+
### host Type
|
|
38
|
+
|
|
39
|
+
`string`
|
|
40
|
+
|
|
41
|
+
### host Examples
|
|
42
|
+
|
|
43
|
+
```yaml
|
|
44
|
+
main--$repo--page.example.com
|
|
45
|
+
|
|
46
|
+
```
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# Untitled string in ProjectCDNConfig Schema
|
|
2
|
+
|
|
3
|
+
```txt
|
|
4
|
+
https://ns.adobe.com/helix/config/cdn#/properties/preview/properties/host
|
|
5
|
+
```
|
|
6
|
+
|
|
7
|
+
Sidekick config to override the default live host. it supports parameters $owner and $repo
|
|
8
|
+
|
|
9
|
+
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
|
|
10
|
+
| :------------------ | :--------- | :------------- | :---------------------- | :---------------- | :-------------------- | :------------------ | :---------------------------------------------------------------------------------------- |
|
|
11
|
+
| Can be instantiated | No | Unknown status | Unknown identifiability | Forbidden | Allowed | none | [project-config-cdn.schema.json\*](project-config-cdn.schema.json "open original schema") |
|
|
12
|
+
|
|
13
|
+
## host Type
|
|
14
|
+
|
|
15
|
+
`string`
|
|
16
|
+
|
|
17
|
+
## host Examples
|
|
18
|
+
|
|
19
|
+
```yaml
|
|
20
|
+
main--$repo--live.example.com"
|
|
21
|
+
|
|
22
|
+
```
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
# Untitled
|
|
1
|
+
# Untitled undefined type in ProjectCDNConfig Schema
|
|
2
2
|
|
|
3
3
|
```txt
|
|
4
|
-
https://ns.adobe.com/helix/config/
|
|
4
|
+
https://ns.adobe.com/helix/config/cdn#/properties/preview/properties
|
|
5
5
|
```
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
|
|
10
10
|
| :------------------ | :--------- | :------------- | :---------------------- | :---------------- | :-------------------- | :------------------ | :---------------------------------------------------------------------------------------- |
|
|
11
|
-
| Can be instantiated | No | Unknown status | Unknown identifiability | Forbidden | Allowed | none | [project-config-
|
|
11
|
+
| Can be instantiated | No | Unknown status | Unknown identifiability | Forbidden | Allowed | none | [project-config-cdn.schema.json\*](project-config-cdn.schema.json "open original schema") |
|
|
12
12
|
|
|
13
|
-
##
|
|
13
|
+
## properties Type
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
unknown
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# Untitled undefined type in ProjectCDNConfig Schema
|
|
2
|
+
|
|
3
|
+
```txt
|
|
4
|
+
https://ns.adobe.com/helix/config/cdn#/properties/preview
|
|
5
|
+
```
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
|
|
10
|
+
| :------------------ | :--------- | :------------- | :----------- | :---------------- | :-------------------- | :------------------ | :---------------------------------------------------------------------------------------- |
|
|
11
|
+
| Can be instantiated | No | Unknown status | No | Forbidden | Forbidden | none | [project-config-cdn.schema.json\*](project-config-cdn.schema.json "open original schema") |
|
|
12
|
+
|
|
13
|
+
## preview Type
|
|
14
|
+
|
|
15
|
+
unknown
|
|
16
|
+
|
|
17
|
+
# preview Properties
|
|
18
|
+
|
|
19
|
+
| Property | Type | Required | Nullable | Defined by |
|
|
20
|
+
| :------------ | :------- | :------- | :------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
21
|
+
| [host](#host) | `string` | Required | cannot be null | [ProjectCDNConfig](project-config-cdn-properties-preview-properties-host.md "https://ns.adobe.com/helix/config/cdn#/properties/preview/properties/host") |
|
|
22
|
+
|
|
23
|
+
## host
|
|
24
|
+
|
|
25
|
+
Sidekick config to override the default live host. it supports parameters $owner and $repo
|
|
26
|
+
|
|
27
|
+
`host`
|
|
28
|
+
|
|
29
|
+
* is required
|
|
30
|
+
|
|
31
|
+
* Type: `string`
|
|
32
|
+
|
|
33
|
+
* cannot be null
|
|
34
|
+
|
|
35
|
+
* defined in: [ProjectCDNConfig](project-config-cdn-properties-preview-properties-host.md "https://ns.adobe.com/helix/config/cdn#/properties/preview/properties/host")
|
|
36
|
+
|
|
37
|
+
### host Type
|
|
38
|
+
|
|
39
|
+
`string`
|
|
40
|
+
|
|
41
|
+
### host Examples
|
|
42
|
+
|
|
43
|
+
```yaml
|
|
44
|
+
main--$repo--live.example.com"
|
|
45
|
+
|
|
46
|
+
```
|
|
@@ -16,9 +16,11 @@ https://ns.adobe.com/helix/config/cdn
|
|
|
16
16
|
|
|
17
17
|
# ProjectCDNConfig Properties
|
|
18
18
|
|
|
19
|
-
| Property
|
|
20
|
-
|
|
|
21
|
-
| [prod](#prod)
|
|
19
|
+
| Property | Type | Required | Nullable | Defined by |
|
|
20
|
+
| :------------------ | :------------ | :------- | :------------- | :----------------------------------------------------------------------------------------------------------------------- |
|
|
21
|
+
| [prod](#prod) | Merged | Required | cannot be null | [ProjectCDNConfig](project-config-cdn-properties-prod.md "https://ns.adobe.com/helix/config/cdn#/properties/prod") |
|
|
22
|
+
| [live](#live) | Not specified | Optional | cannot be null | [ProjectCDNConfig](project-config-cdn-properties-live.md "https://ns.adobe.com/helix/config/cdn#/properties/live") |
|
|
23
|
+
| [preview](#preview) | Not specified | Optional | cannot be null | [ProjectCDNConfig](project-config-cdn-properties-preview.md "https://ns.adobe.com/helix/config/cdn#/properties/preview") |
|
|
22
24
|
|
|
23
25
|
## prod
|
|
24
26
|
|
|
@@ -48,6 +50,42 @@ one (and only one) of
|
|
|
48
50
|
|
|
49
51
|
* [ManagedConfig](project-config-cdn-properties-prod-oneof-managedconfig.md "check type definition")
|
|
50
52
|
|
|
53
|
+
## live
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
`live`
|
|
58
|
+
|
|
59
|
+
* is optional
|
|
60
|
+
|
|
61
|
+
* Type: unknown
|
|
62
|
+
|
|
63
|
+
* cannot be null
|
|
64
|
+
|
|
65
|
+
* defined in: [ProjectCDNConfig](project-config-cdn-properties-live.md "https://ns.adobe.com/helix/config/cdn#/properties/live")
|
|
66
|
+
|
|
67
|
+
### live Type
|
|
68
|
+
|
|
69
|
+
unknown
|
|
70
|
+
|
|
71
|
+
## preview
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
`preview`
|
|
76
|
+
|
|
77
|
+
* is optional
|
|
78
|
+
|
|
79
|
+
* Type: unknown
|
|
80
|
+
|
|
81
|
+
* cannot be null
|
|
82
|
+
|
|
83
|
+
* defined in: [ProjectCDNConfig](project-config-cdn-properties-preview.md "https://ns.adobe.com/helix/config/cdn#/properties/preview")
|
|
84
|
+
|
|
85
|
+
### preview Type
|
|
86
|
+
|
|
87
|
+
unknown
|
|
88
|
+
|
|
51
89
|
# ProjectCDNConfig Definitions
|
|
52
90
|
|
|
53
91
|
## Definitions group stringOrArray
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"meta:license":["Copyright 2023 Adobe. All rights reserved.","This file is licensed to you under the Apache License, Version 2.0 (the \"License\");","you may not use this file except in compliance with the License. You may obtain a copy","of the License at http://www.apache.org/licenses/LICENSE-2.0","","Unless required by applicable law or agreed to in writing, software distributed under","the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS","OF ANY KIND, either express or implied. See the License for the specific language","governing permissions and limitations under the License."],"$id":"https://ns.adobe.com/helix/config/cdn","$schema":"http://json-schema.org/draft-07/schema#","$defs":{"stringOrArray":{"oneOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]}},"title":"ProjectCDNConfig","type":"object","properties":{"prod":{"oneOf":[{"type":"object","title":"FastlyConfig","description":"Production CDN configuration for Fastly","properties":{"type":{"type":"string","const":"fastly"},"host":{"description":"production host","type":"string"},"route":{"description":"Route or routes on the CDN that are rendered with Franklin","$ref":"#/$defs/stringOrArray"},"serviceId":{"description":"The Fastly Service ID","type":"string"},"authToken":{"description":"A Fastly token for purging","type":"string"}},"required":["type","host","route","serviceId","authToken"],"additionalProperties":false},{"type":"object","title":"AkamaiConfig","properties":{"type":{"type":"string","const":"akamai"},"host":{"description":"production host","type":"string"},"route":{"description":"Route or routes on the CDN that are rendered with Franklin","$ref":"#/$defs/stringOrArray"},"endpoint":{"type":"string"},"clientSecret":{"type":"string"},"clientToken":{"type":"string"},"accessToken":{"type":"string"}},"required":["type","host","route","endpoint","clientSecret","clientToken","accessToken"],"additionalProperties":false},{"type":"object","title":"CloudflareConfig","properties":{"type":{"type":"string","const":"cloudflare"},"host":{"description":"production host","type":"string"},"route":{"description":"Route or routes on the CDN that are rendered with Franklin","$ref":"#/$defs/stringOrArray"},"origin":{"type":"string"},"plan":{"type":"string"},"zoneId":{"type":"string"},"apiToken":{"type":"string"}},"required":["type","host","route","origin","plan","zoneId","apiToken"],"additionalProperties":false},{"type":"object","title":"ManagedConfig","properties":{"type":{"type":"string","const":"managed"},"host":{"description":"production host","type":"string"},"route":{"description":"Route or routes on the CDN that are rendered with Franklin","$ref":"#/$defs/stringOrArray"}},"required":["type","host","route"],"additionalProperties":false}]}},"required":["prod"],"additionalProperties":false}
|
|
1
|
+
{"meta:license":["Copyright 2023 Adobe. All rights reserved.","This file is licensed to you under the Apache License, Version 2.0 (the \"License\");","you may not use this file except in compliance with the License. You may obtain a copy","of the License at http://www.apache.org/licenses/LICENSE-2.0","","Unless required by applicable law or agreed to in writing, software distributed under","the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS","OF ANY KIND, either express or implied. See the License for the specific language","governing permissions and limitations under the License."],"$id":"https://ns.adobe.com/helix/config/cdn","$schema":"http://json-schema.org/draft-07/schema#","$defs":{"stringOrArray":{"oneOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]}},"title":"ProjectCDNConfig","type":"object","properties":{"prod":{"oneOf":[{"type":"object","title":"FastlyConfig","description":"Production CDN configuration for Fastly","properties":{"type":{"type":"string","const":"fastly"},"host":{"description":"production host","type":"string"},"route":{"description":"Route or routes on the CDN that are rendered with Franklin","$ref":"#/$defs/stringOrArray"},"serviceId":{"description":"The Fastly Service ID","type":"string"},"authToken":{"description":"A Fastly token for purging","type":"string"}},"required":["type","host","route","serviceId","authToken"],"additionalProperties":false},{"type":"object","title":"AkamaiConfig","properties":{"type":{"type":"string","const":"akamai"},"host":{"description":"production host","type":"string"},"route":{"description":"Route or routes on the CDN that are rendered with Franklin","$ref":"#/$defs/stringOrArray"},"endpoint":{"type":"string"},"clientSecret":{"type":"string"},"clientToken":{"type":"string"},"accessToken":{"type":"string"}},"required":["type","host","route","endpoint","clientSecret","clientToken","accessToken"],"additionalProperties":false},{"type":"object","title":"CloudflareConfig","properties":{"type":{"type":"string","const":"cloudflare"},"host":{"description":"production host","type":"string"},"route":{"description":"Route or routes on the CDN that are rendered with Franklin","$ref":"#/$defs/stringOrArray"},"origin":{"type":"string"},"plan":{"type":"string"},"zoneId":{"type":"string"},"apiToken":{"type":"string"}},"required":["type","host","route","origin","plan","zoneId","apiToken"],"additionalProperties":false},{"type":"object","title":"ManagedConfig","properties":{"type":{"type":"string","const":"managed"},"host":{"description":"production host","type":"string"},"route":{"description":"Route or routes on the CDN that are rendered with Franklin","$ref":"#/$defs/stringOrArray"}},"required":["type","host","route"],"additionalProperties":false}]},"live":{"properties":{"host":{"description":"Sidekick config to override the default preview host. it supports parameters $owner and $repo","examples":["main--$repo--page.example.com"],"type":"string"}},"required":["host"],"additionalProperties":false},"preview":{"properties":{"host":{"description":"Sidekick config to override the default live host. it supports parameters $owner and $repo","examples":["main--$repo--live.example.com\""],"type":"string"}},"required":["host"],"additionalProperties":false}},"required":["prod"],"additionalProperties":false}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# Untitled string in ProjectConfig Schema
|
|
2
|
+
|
|
3
|
+
```txt
|
|
4
|
+
https://ns.adobe.com/helix/config/project#/properties/access/properties/apiKeyId/oneOf/0
|
|
5
|
+
```
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
|
|
10
|
+
| :------------------ | :--------- | :------------- | :---------------------- | :---------------- | :-------------------- | :------------------ | :-------------------------------------------------------------------------------- |
|
|
11
|
+
| Can be instantiated | No | Unknown status | Unknown identifiability | Forbidden | Allowed | none | [project-config.schema.json\*](project-config.schema.json "open original schema") |
|
|
12
|
+
|
|
13
|
+
## 0 Type
|
|
14
|
+
|
|
15
|
+
`string`
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# Untitled string in ProjectConfig Schema
|
|
2
|
+
|
|
3
|
+
```txt
|
|
4
|
+
https://ns.adobe.com/helix/config/project#/properties/access/properties/apiKeyId/oneOf/1/items
|
|
5
|
+
```
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
|
|
10
|
+
| :------------------ | :--------- | :------------- | :---------------------- | :---------------- | :-------------------- | :------------------ | :-------------------------------------------------------------------------------- |
|
|
11
|
+
| Can be instantiated | No | Unknown status | Unknown identifiability | Forbidden | Allowed | none | [project-config.schema.json\*](project-config.schema.json "open original schema") |
|
|
12
|
+
|
|
13
|
+
## items Type
|
|
14
|
+
|
|
15
|
+
`string`
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# Untitled array in ProjectConfig Schema
|
|
2
|
+
|
|
3
|
+
```txt
|
|
4
|
+
https://ns.adobe.com/helix/config/project#/properties/access/properties/apiKeyId/oneOf/1
|
|
5
|
+
```
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
|
|
10
|
+
| :------------------ | :--------- | :------------- | :---------------------- | :---------------- | :-------------------- | :------------------ | :-------------------------------------------------------------------------------- |
|
|
11
|
+
| Can be instantiated | No | Unknown status | Unknown identifiability | Forbidden | Allowed | none | [project-config.schema.json\*](project-config.schema.json "open original schema") |
|
|
12
|
+
|
|
13
|
+
## 1 Type
|
|
14
|
+
|
|
15
|
+
`string[]`
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Untitled undefined type in ProjectConfig Schema
|
|
2
|
+
|
|
3
|
+
```txt
|
|
4
|
+
https://ns.adobe.com/helix/config/project#/properties/access/properties/apiKeyId
|
|
5
|
+
```
|
|
6
|
+
|
|
7
|
+
the id of the API key(s). this is used to validate the API KEYS and allows to invalidate them.
|
|
8
|
+
|
|
9
|
+
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
|
|
10
|
+
| :------------------ | :--------- | :------------- | :---------------------- | :---------------- | :-------------------- | :------------------ | :-------------------------------------------------------------------------------- |
|
|
11
|
+
| Can be instantiated | No | Unknown status | Unknown identifiability | Forbidden | Allowed | none | [project-config.schema.json\*](project-config.schema.json "open original schema") |
|
|
12
|
+
|
|
13
|
+
## apiKeyId Type
|
|
14
|
+
|
|
15
|
+
merged type ([Details](project-config-properties-siteaccessconfig-properties-apikeyid.md))
|
|
16
|
+
|
|
17
|
+
one (and only one) of
|
|
18
|
+
|
|
19
|
+
* [Untitled string in ProjectConfig](project-config-properties-siteaccessconfig-properties-apikeyid-oneof-0.md "check type definition")
|
|
20
|
+
|
|
21
|
+
* [Untitled array in ProjectConfig](project-config-properties-siteaccessconfig-properties-apikeyid-oneof-1.md "check type definition")
|
|
@@ -16,10 +16,11 @@ https://ns.adobe.com/helix/config/project#/properties/access
|
|
|
16
16
|
|
|
17
17
|
# access Properties
|
|
18
18
|
|
|
19
|
-
| Property
|
|
20
|
-
|
|
|
21
|
-
| [allow](#allow)
|
|
22
|
-
| [
|
|
19
|
+
| Property | Type | Required | Nullable | Defined by |
|
|
20
|
+
| :-------------------- | :------- | :------- | :------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
21
|
+
| [allow](#allow) | Merged | Required | cannot be null | [ProjectConfig](project-config-defs-emailglob.md "https://ns.adobe.com/helix/config/project#/properties/access/properties/allow") |
|
|
22
|
+
| [apiKeyId](#apikeyid) | Merged | Optional | cannot be null | [ProjectConfig](project-config-properties-siteaccessconfig-properties-apikeyid.md "https://ns.adobe.com/helix/config/project#/properties/access/properties/apiKeyId") |
|
|
23
|
+
| [require](#require) | `object` | Optional | cannot be null | [ProjectConfig](project-config-properties-siteaccessconfig-properties-require.md "https://ns.adobe.com/helix/config/project#/properties/access/properties/require") |
|
|
23
24
|
|
|
24
25
|
## allow
|
|
25
26
|
|
|
@@ -45,6 +46,30 @@ one (and only one) of
|
|
|
45
46
|
|
|
46
47
|
* [Untitled array in ProjectConfig](project-config-defs-emailglob-oneof-1.md "check type definition")
|
|
47
48
|
|
|
49
|
+
## apiKeyId
|
|
50
|
+
|
|
51
|
+
the id of the API key(s). this is used to validate the API KEYS and allows to invalidate them.
|
|
52
|
+
|
|
53
|
+
`apiKeyId`
|
|
54
|
+
|
|
55
|
+
* is optional
|
|
56
|
+
|
|
57
|
+
* Type: merged type ([Details](project-config-properties-siteaccessconfig-properties-apikeyid.md))
|
|
58
|
+
|
|
59
|
+
* cannot be null
|
|
60
|
+
|
|
61
|
+
* defined in: [ProjectConfig](project-config-properties-siteaccessconfig-properties-apikeyid.md "https://ns.adobe.com/helix/config/project#/properties/access/properties/apiKeyId")
|
|
62
|
+
|
|
63
|
+
### apiKeyId Type
|
|
64
|
+
|
|
65
|
+
merged type ([Details](project-config-properties-siteaccessconfig-properties-apikeyid.md))
|
|
66
|
+
|
|
67
|
+
one (and only one) of
|
|
68
|
+
|
|
69
|
+
* [Untitled string in ProjectConfig](project-config-properties-siteaccessconfig-properties-apikeyid-oneof-0.md "check type definition")
|
|
70
|
+
|
|
71
|
+
* [Untitled array in ProjectConfig](project-config-properties-siteaccessconfig-properties-apikeyid-oneof-1.md "check type definition")
|
|
72
|
+
|
|
48
73
|
## require
|
|
49
74
|
|
|
50
75
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"meta:license":["Copyright 2023 Adobe. All rights reserved.","This file is licensed to you under the Apache License, Version 2.0 (the \"License\");","you may not use this file except in compliance with the License. You may obtain a copy","of the License at http://www.apache.org/licenses/LICENSE-2.0","","Unless required by applicable law or agreed to in writing, software distributed under","the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS","OF ANY KIND, either express or implied. See the License for the specific language","governing permissions and limitations under the License."],"$id":"https://ns.adobe.com/helix/config/project","$schema":"http://json-schema.org/draft-07/schema#","$defs":{"emailglob":{"oneOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"description":"matches one or several users or group of users"}},"title":"ProjectConfig","type":"object","properties":{"name":{"type":"string","description":"Name of the project used by the slack bot when reporting."},"project":{"type":"string","description":"Name of the project used by the sidekick."},"timezone":{"type":"string","description":"Timezone to be used by the slack bot when reporting times.","examples":["Europe/Zurich"]},"host":{"type":"string","description":"Production host use by the slack bot to display project information."},"blueprint":{"type":"string","description":"configuration blueprint repository in the owner/repo format.","examples":["adobe/helix-website"]},"slack":{"description":"the slack teamId/channelID(s) where the slack bot is used.","oneOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"cdn":{"description":"The CDN config","$ref":"./project-config-cdn.schema.json"},"access":{"type":"object","title":"SiteAccessConfig","properties":{"allow":{"description":"The email glob of the users that are allowed.","$ref":"#/$defs/emailglob"},"require":{"type":"object","properties":{"repository":{"description":"The list of owner/repo pointers to projects that are allowed to use this content.","examples":["adobe/*","hlxsites/wknd"],"$ref":"#/$defs/emailglob"}},"required":["repository"],"additionalProperties":false}},"required":["allow"],"additionalProperties":false},"admin":{"title":"AdminConfig","type":"object","properties":{"role":{"title":"Role","type":"object","properties":{"author":{"description":"The email glob of the users with author role.","$ref":"#/$defs/emailglob"},"publish":{"description":"The email glob of the users with publish role.","$ref":"#/$defs/emailglob"}},"required":["role"],"additionalProperties":false}},"additionalProperties":false}},"additionalProperties":false}
|
|
1
|
+
{"meta:license":["Copyright 2023 Adobe. All rights reserved.","This file is licensed to you under the Apache License, Version 2.0 (the \"License\");","you may not use this file except in compliance with the License. You may obtain a copy","of the License at http://www.apache.org/licenses/LICENSE-2.0","","Unless required by applicable law or agreed to in writing, software distributed under","the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS","OF ANY KIND, either express or implied. See the License for the specific language","governing permissions and limitations under the License."],"$id":"https://ns.adobe.com/helix/config/project","$schema":"http://json-schema.org/draft-07/schema#","$defs":{"emailglob":{"oneOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"description":"matches one or several users or group of users"}},"title":"ProjectConfig","type":"object","properties":{"name":{"type":"string","description":"Name of the project used by the slack bot when reporting."},"project":{"type":"string","description":"Name of the project used by the sidekick."},"timezone":{"type":"string","description":"Timezone to be used by the slack bot when reporting times.","examples":["Europe/Zurich"]},"host":{"type":"string","description":"Production host use by the slack bot to display project information."},"blueprint":{"type":"string","description":"configuration blueprint repository in the owner/repo format.","examples":["adobe/helix-website"]},"slack":{"description":"the slack teamId/channelID(s) where the slack bot is used.","oneOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"cdn":{"description":"The CDN config","$ref":"./project-config-cdn.schema.json"},"access":{"type":"object","title":"SiteAccessConfig","properties":{"allow":{"description":"The email glob of the users that are allowed.","$ref":"#/$defs/emailglob"},"apiKeyId":{"description":"the id of the API key(s). this is used to validate the API KEYS and allows to invalidate them.","oneOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"require":{"type":"object","properties":{"repository":{"description":"The list of owner/repo pointers to projects that are allowed to use this content.","examples":["adobe/*","hlxsites/wknd"],"$ref":"#/$defs/emailglob"}},"required":["repository"],"additionalProperties":false}},"required":["allow"],"additionalProperties":false},"admin":{"title":"AdminConfig","type":"object","properties":{"role":{"title":"Role","type":"object","properties":{"author":{"description":"The email glob of the users with author role.","$ref":"#/$defs/emailglob"},"publish":{"description":"The email glob of the users with publish role.","$ref":"#/$defs/emailglob"}},"required":["role"],"additionalProperties":false}},"additionalProperties":false}},"additionalProperties":false}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adobe/helix-admin-support",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.22",
|
|
4
4
|
"description": "Helix Admin Support Library",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -35,29 +35,29 @@
|
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@adobe/fetch": "4.0.13",
|
|
38
|
-
"@adobe/helix-shared-config": "10.2.
|
|
38
|
+
"@adobe/helix-shared-config": "10.2.3",
|
|
39
39
|
"@adobe/helix-shared-utils": "3.0.0",
|
|
40
|
-
"@aws-sdk/client-s3": "3.
|
|
41
|
-
"@aws-sdk/client-sqs": "3.
|
|
42
|
-
"@aws-sdk/node-http-handler": "3.
|
|
40
|
+
"@aws-sdk/client-s3": "3.350.0",
|
|
41
|
+
"@aws-sdk/client-sqs": "3.350.0",
|
|
42
|
+
"@aws-sdk/node-http-handler": "3.350.0"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@adobe/eslint-config-helix": "2.0.2",
|
|
46
46
|
"@adobe/jsonschema2md": "7.1.5",
|
|
47
47
|
"@semantic-release/changelog": "6.0.3",
|
|
48
48
|
"@semantic-release/git": "10.0.1",
|
|
49
|
-
"@semantic-release/npm": "10.0.
|
|
49
|
+
"@semantic-release/npm": "10.0.4",
|
|
50
50
|
"c8": "7.14.0",
|
|
51
51
|
"eslint": "8.42.0",
|
|
52
52
|
"husky": "8.0.3",
|
|
53
53
|
"jsdoc-to-markdown": "8.0.0",
|
|
54
|
-
"json-schema-to-typescript": "13.0.
|
|
54
|
+
"json-schema-to-typescript": "13.0.2",
|
|
55
55
|
"junit-report-builder": "3.0.1",
|
|
56
56
|
"lint-staged": "13.2.2",
|
|
57
57
|
"mocha": "10.2.0",
|
|
58
58
|
"mocha-multi-reporters": "1.5.1",
|
|
59
59
|
"nock": "13.3.1",
|
|
60
|
-
"semantic-release": "21.0.
|
|
60
|
+
"semantic-release": "21.0.5",
|
|
61
61
|
"yaml": "2.3.1"
|
|
62
62
|
},
|
|
63
63
|
"lint-staged": {
|
|
@@ -141,6 +141,28 @@
|
|
|
141
141
|
"required": [ "type", "host", "route"],
|
|
142
142
|
"additionalProperties": false
|
|
143
143
|
}]
|
|
144
|
+
},
|
|
145
|
+
"live": {
|
|
146
|
+
"properties": {
|
|
147
|
+
"host": {
|
|
148
|
+
"description": "Sidekick config to override the default preview host. it supports parameters $owner and $repo",
|
|
149
|
+
"examples": ["main--$repo--page.example.com"],
|
|
150
|
+
"type": "string"
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
"required": ["host"],
|
|
154
|
+
"additionalProperties": false
|
|
155
|
+
},
|
|
156
|
+
"preview": {
|
|
157
|
+
"properties": {
|
|
158
|
+
"host": {
|
|
159
|
+
"description": "Sidekick config to override the default live host. it supports parameters $owner and $repo",
|
|
160
|
+
"examples": ["main--$repo--live.example.com\""],
|
|
161
|
+
"type": "string"
|
|
162
|
+
}
|
|
163
|
+
},
|
|
164
|
+
"required": ["host"],
|
|
165
|
+
"additionalProperties": false
|
|
144
166
|
}
|
|
145
167
|
},
|
|
146
168
|
"required": ["prod"],
|
|
@@ -79,6 +79,20 @@
|
|
|
79
79
|
"description": "The email glob of the users that are allowed.",
|
|
80
80
|
"$ref": "#/$defs/emailglob"
|
|
81
81
|
},
|
|
82
|
+
"apiKeyId": {
|
|
83
|
+
"description": "the id of the API key(s). this is used to validate the API KEYS and allows to invalidate them.",
|
|
84
|
+
"oneOf": [
|
|
85
|
+
{
|
|
86
|
+
"type": "string"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"type": "array",
|
|
90
|
+
"items": {
|
|
91
|
+
"type": "string"
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
]
|
|
95
|
+
},
|
|
82
96
|
"require": {
|
|
83
97
|
"type": "object",
|
|
84
98
|
"properties": {
|
|
@@ -46,6 +46,18 @@ export interface ProjectConfig {
|
|
|
46
46
|
*/
|
|
47
47
|
export interface ProjectCDNConfig {
|
|
48
48
|
prod: FastlyConfig | AkamaiConfig | CloudflareConfig | ManagedConfig;
|
|
49
|
+
live?: {
|
|
50
|
+
/**
|
|
51
|
+
* Sidekick config to override the default preview host. it supports parameters $owner and $repo
|
|
52
|
+
*/
|
|
53
|
+
host: string;
|
|
54
|
+
};
|
|
55
|
+
preview?: {
|
|
56
|
+
/**
|
|
57
|
+
* Sidekick config to override the default live host. it supports parameters $owner and $repo
|
|
58
|
+
*/
|
|
59
|
+
host: string;
|
|
60
|
+
};
|
|
49
61
|
}
|
|
50
62
|
/**
|
|
51
63
|
* Production CDN configuration for Fastly
|
|
@@ -115,6 +127,10 @@ export interface SiteAccessConfig {
|
|
|
115
127
|
* The email glob of the users that are allowed.
|
|
116
128
|
*/
|
|
117
129
|
allow: string | string[];
|
|
130
|
+
/**
|
|
131
|
+
* the id of the API key(s). this is used to validate the API KEYS and allows to invalidate them.
|
|
132
|
+
*/
|
|
133
|
+
apiKeyId?: string | string[];
|
|
118
134
|
require?: {
|
|
119
135
|
/**
|
|
120
136
|
* The list of owner/repo pointers to projects that are allowed to use this content.
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
# ProjectConfigEntry Schema
|
|
2
|
-
|
|
3
|
-
```txt
|
|
4
|
-
https://ns.adobe.com/helix/config/all#/properties/config
|
|
5
|
-
```
|
|
6
|
-
|
|
7
|
-
Project config (from /.helix/config.json)
|
|
8
|
-
|
|
9
|
-
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
|
|
10
|
-
| :------------------ | :--------- | :------------- | :----------- | :---------------- | :-------------------- | :------------------ | :---------------------------------------------------------------------------------------- |
|
|
11
|
-
| Can be instantiated | No | Unknown status | No | Forbidden | Forbidden | none | [project-config-all.schema.json\*](project-config-all.schema.json "open original schema") |
|
|
12
|
-
|
|
13
|
-
## config Type
|
|
14
|
-
|
|
15
|
-
`object` ([ProjectConfigEntry](project-config-all-properties-projectconfigentry.md))
|
|
16
|
-
|
|
17
|
-
# config Properties
|
|
18
|
-
|
|
19
|
-
| Property | Type | Required | Nullable | Defined by |
|
|
20
|
-
| :---------------------------- | :------------ | :------- | :------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
21
|
-
| [data](#data) | Not specified | Required | cannot be null | [ConfigAll](project-config-all-properties-projectconfigentry-properties-data.md "https://ns.adobe.com/helix/config/all#/properties/config/properties/data") |
|
|
22
|
-
| [lastModified](#lastmodified) | `string` | Required | cannot be null | [ConfigAll](project-config-all-properties-projectconfigentry-properties-lastmodified.md "https://ns.adobe.com/helix/config/all#/properties/config/properties/lastModified") |
|
|
23
|
-
|
|
24
|
-
## data
|
|
25
|
-
|
|
26
|
-
The project config
|
|
27
|
-
|
|
28
|
-
`data`
|
|
29
|
-
|
|
30
|
-
* is required
|
|
31
|
-
|
|
32
|
-
* Type: unknown
|
|
33
|
-
|
|
34
|
-
* cannot be null
|
|
35
|
-
|
|
36
|
-
* defined in: [ConfigAll](project-config-all-properties-projectconfigentry-properties-data.md "https://ns.adobe.com/helix/config/all#/properties/config/properties/data")
|
|
37
|
-
|
|
38
|
-
### data Type
|
|
39
|
-
|
|
40
|
-
unknown
|
|
41
|
-
|
|
42
|
-
## lastModified
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
`lastModified`
|
|
47
|
-
|
|
48
|
-
* is required
|
|
49
|
-
|
|
50
|
-
* Type: `string`
|
|
51
|
-
|
|
52
|
-
* cannot be null
|
|
53
|
-
|
|
54
|
-
* defined in: [ConfigAll](project-config-all-properties-projectconfigentry-properties-lastmodified.md "https://ns.adobe.com/helix/config/all#/properties/config/properties/lastModified")
|
|
55
|
-
|
|
56
|
-
### lastModified Type
|
|
57
|
-
|
|
58
|
-
`string`
|