@adobe/helix-config 3.13.2 → 4.1.0
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 +19 -0
- package/package.json +5 -15
- package/src/config-view.js +1 -11
- package/src/utils.js +0 -36
- package/src/schemas/access-admin.schema.cjs +0 -12
- package/src/schemas/access-admin.schema.json +0 -57
- package/src/schemas/access-site.schema.cjs +0 -12
- package/src/schemas/access-site.schema.json +0 -24
- package/src/schemas/access.schema.cjs +0 -12
- package/src/schemas/access.schema.json +0 -22
- package/src/schemas/cdn-prod-akamai.schema.cjs +0 -12
- package/src/schemas/cdn-prod-akamai.schema.json +0 -45
- package/src/schemas/cdn-prod-cloudflare.schema.cjs +0 -12
- package/src/schemas/cdn-prod-cloudflare.schema.json +0 -41
- package/src/schemas/cdn-prod-cloudfront.schema.cjs +0 -12
- package/src/schemas/cdn-prod-cloudfront.schema.json +0 -41
- package/src/schemas/cdn-prod-fastly.schema.cjs +0 -12
- package/src/schemas/cdn-prod-fastly.schema.json +0 -40
- package/src/schemas/cdn-prod-managed.schema.cjs +0 -12
- package/src/schemas/cdn-prod-managed.schema.json +0 -29
- package/src/schemas/cdn.schema.cjs +0 -12
- package/src/schemas/cdn.schema.json +0 -75
- package/src/schemas/code.schema.cjs +0 -12
- package/src/schemas/code.schema.json +0 -43
- package/src/schemas/common.schema.cjs +0 -12
- package/src/schemas/common.schema.json +0 -27
- package/src/schemas/content-source-google.schema.cjs +0 -12
- package/src/schemas/content-source-google.schema.json +0 -26
- package/src/schemas/content-source-markup.schema.cjs +0 -12
- package/src/schemas/content-source-markup.schema.json +0 -24
- package/src/schemas/content-source-onedrive.schema.cjs +0 -12
- package/src/schemas/content-source-onedrive.schema.json +0 -28
- package/src/schemas/content.schema.cjs +0 -12
- package/src/schemas/content.schema.json +0 -30
- package/src/schemas/folders.schema.cjs +0 -12
- package/src/schemas/folders.schema.json +0 -13
- package/src/schemas/groups.schema.cjs +0 -12
- package/src/schemas/groups.schema.json +0 -39
- package/src/schemas/headers.schema.cjs +0 -12
- package/src/schemas/headers.schema.json +0 -16
- package/src/schemas/metadata-source.schema.cjs +0 -12
- package/src/schemas/metadata-source.schema.json +0 -16
- package/src/schemas/org.schema.cjs +0 -12
- package/src/schemas/org.schema.json +0 -26
- package/src/schemas/profile.schema.cjs +0 -12
- package/src/schemas/profile.schema.json +0 -57
- package/src/schemas/profiles.schema.cjs +0 -12
- package/src/schemas/profiles.schema.json +0 -28
- package/src/schemas/public.schema.cjs +0 -12
- package/src/schemas/public.schema.json +0 -8
- package/src/schemas/robots.schema.cjs +0 -12
- package/src/schemas/robots.schema.json +0 -13
- package/src/schemas/sidekick.schema.cjs +0 -12
- package/src/schemas/sidekick.schema.json +0 -112
- package/src/schemas/site.schema.cjs +0 -12
- package/src/schemas/site.schema.json +0 -74
- package/src/schemas/sites.schema.cjs +0 -12
- package/src/schemas/sites.schema.json +0 -28
- package/src/schemas/tokens.schema.cjs +0 -12
- package/src/schemas/tokens.schema.json +0 -28
- package/src/schemas/user.schema.cjs +0 -12
- package/src/schemas/user.schema.json +0 -42
- package/src/schemas/users.schema.cjs +0 -12
- package/src/schemas/users.schema.json +0 -10
- package/src/storage/ValidationError.js +0 -95
- package/src/storage/config-store.js +0 -359
- package/src/storage/config-validator.js +0 -112
- package/src/storage/index.js +0 -14
- package/src/storage/status-code-error.js +0 -22
- package/src/storage/utils.js +0 -157
- package/types/org-config.d.ts +0 -51
- package/types/profile-config.d.ts +0 -368
- package/types/site-config.d.ts +0 -375
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$comment": "https://github.com/adobe/helix-config/blob/main/LICENSE.txt",
|
|
3
|
-
"$schema": "https://json-schema.org/draft/2019-09/schema",
|
|
4
|
-
"$id": "https://ns.adobe.com/helix/config/code",
|
|
5
|
-
"title": "Code source",
|
|
6
|
-
"type": "object",
|
|
7
|
-
"description": "Defines the code bus location and source.",
|
|
8
|
-
"properties": {
|
|
9
|
-
"title": { "$ref": "https://ns.adobe.com/helix/config/common#/definitions/title" },
|
|
10
|
-
"description": { "$ref": "https://ns.adobe.com/helix/config/common#/definitions/description" },
|
|
11
|
-
"owner": {
|
|
12
|
-
"$comment": "Note, that owner/repo are no longer part of the hostname and can therefor have more allowed characters than in helix4",
|
|
13
|
-
"type": "string",
|
|
14
|
-
"pattern": "[a-zA-Z0-9_-]+"
|
|
15
|
-
},
|
|
16
|
-
"repo": {
|
|
17
|
-
"type": "string",
|
|
18
|
-
"pattern": "[a-zA-Z0-9_-]+"
|
|
19
|
-
},
|
|
20
|
-
"source": {
|
|
21
|
-
"type": "object",
|
|
22
|
-
"properties": {
|
|
23
|
-
"type": {
|
|
24
|
-
"const": "github"
|
|
25
|
-
},
|
|
26
|
-
"url": {
|
|
27
|
-
"type": "string",
|
|
28
|
-
"format": "uri"
|
|
29
|
-
}
|
|
30
|
-
},
|
|
31
|
-
"required": [
|
|
32
|
-
"type",
|
|
33
|
-
"url"
|
|
34
|
-
],
|
|
35
|
-
"additionalProperties": false
|
|
36
|
-
}
|
|
37
|
-
},
|
|
38
|
-
"required": [
|
|
39
|
-
"owner",
|
|
40
|
-
"repo",
|
|
41
|
-
"source"
|
|
42
|
-
]
|
|
43
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright 2024 Adobe. All rights reserved.
|
|
3
|
-
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
-
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
5
|
-
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
-
*
|
|
7
|
-
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
-
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
-
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
-
* governing permissions and limitations under the License.
|
|
11
|
-
*/
|
|
12
|
-
module.exports = require('./common.schema.json');
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$comment": "https://github.com/adobe/helix-config/blob/main/LICENSE.txt",
|
|
3
|
-
"$schema": "https://json-schema.org/draft/2019-09/schema",
|
|
4
|
-
"$id": "https://ns.adobe.com/helix/config/common",
|
|
5
|
-
"definitions": {
|
|
6
|
-
"title": {
|
|
7
|
-
"type": "string",
|
|
8
|
-
"description": "human readable title. has no influence on the configuration."
|
|
9
|
-
},
|
|
10
|
-
"description": {
|
|
11
|
-
"type": "string",
|
|
12
|
-
"description": "description for clarity. has no influence on the configuration."
|
|
13
|
-
},
|
|
14
|
-
"keyValuePair": {
|
|
15
|
-
"type": "object",
|
|
16
|
-
"properties": {
|
|
17
|
-
"key": {"type": "string"},
|
|
18
|
-
"value": {"type": "string"}
|
|
19
|
-
},
|
|
20
|
-
"required": [
|
|
21
|
-
"key",
|
|
22
|
-
"value"
|
|
23
|
-
],
|
|
24
|
-
"additionalProperties": false
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright 2024 Adobe. All rights reserved.
|
|
3
|
-
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
-
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
5
|
-
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
-
*
|
|
7
|
-
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
-
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
-
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
-
* governing permissions and limitations under the License.
|
|
11
|
-
*/
|
|
12
|
-
module.exports = require('./content-source-google.schema.json');
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$comment": "https://github.com/adobe/helix-config/blob/main/LICENSE.txt",
|
|
3
|
-
"$schema": "https://json-schema.org/draft/2019-09/schema",
|
|
4
|
-
"$id": "https://ns.adobe.com/helix/config/content-source/google",
|
|
5
|
-
"title": "Google Content Source",
|
|
6
|
-
"type": "object",
|
|
7
|
-
"properties": {
|
|
8
|
-
"type": {
|
|
9
|
-
"const": "google"
|
|
10
|
-
},
|
|
11
|
-
"url": {
|
|
12
|
-
"type": "string",
|
|
13
|
-
"format": "uri"
|
|
14
|
-
},
|
|
15
|
-
"id": {
|
|
16
|
-
"description": "Google drive ID of the root folder; updated automatically when updating the url.",
|
|
17
|
-
"type": "string"
|
|
18
|
-
}
|
|
19
|
-
},
|
|
20
|
-
"required": [
|
|
21
|
-
"type",
|
|
22
|
-
"url",
|
|
23
|
-
"id"
|
|
24
|
-
],
|
|
25
|
-
"additionalProperties": false
|
|
26
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright 2024 Adobe. All rights reserved.
|
|
3
|
-
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
-
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
5
|
-
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
-
*
|
|
7
|
-
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
-
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
-
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
-
* governing permissions and limitations under the License.
|
|
11
|
-
*/
|
|
12
|
-
module.exports = require('./content-source-markup.schema.json');
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$comment": "https://github.com/adobe/helix-config/blob/main/LICENSE.txt",
|
|
3
|
-
"$schema": "https://json-schema.org/draft/2019-09/schema",
|
|
4
|
-
"$id": "https://ns.adobe.com/helix/config/content-source/markup",
|
|
5
|
-
"title": "Markup Content Source",
|
|
6
|
-
"type": "object",
|
|
7
|
-
"properties": {
|
|
8
|
-
"type": {
|
|
9
|
-
"const": "markup"
|
|
10
|
-
},
|
|
11
|
-
"url": {
|
|
12
|
-
"type": "string",
|
|
13
|
-
"format": "uri"
|
|
14
|
-
},
|
|
15
|
-
"suffix": {
|
|
16
|
-
"type": "string"
|
|
17
|
-
}
|
|
18
|
-
},
|
|
19
|
-
"required": [
|
|
20
|
-
"type",
|
|
21
|
-
"url"
|
|
22
|
-
],
|
|
23
|
-
"additionalProperties": false
|
|
24
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright 2024 Adobe. All rights reserved.
|
|
3
|
-
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
-
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
5
|
-
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
-
*
|
|
7
|
-
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
-
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
-
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
-
* governing permissions and limitations under the License.
|
|
11
|
-
*/
|
|
12
|
-
module.exports = require('./content-source-onedrive.schema.json');
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$comment": "https://github.com/adobe/helix-config/blob/main/LICENSE.txt",
|
|
3
|
-
"$schema": "https://json-schema.org/draft/2019-09/schema",
|
|
4
|
-
"$id": "https://ns.adobe.com/helix/config/content-source/onedrive",
|
|
5
|
-
"title": "Onedrive Content Source",
|
|
6
|
-
"type": "object",
|
|
7
|
-
"properties": {
|
|
8
|
-
"type": {
|
|
9
|
-
"const": "onedrive"
|
|
10
|
-
},
|
|
11
|
-
"url": {
|
|
12
|
-
"type": "string",
|
|
13
|
-
"format": "uri"
|
|
14
|
-
},
|
|
15
|
-
"tenantId": {
|
|
16
|
-
"type": "string"
|
|
17
|
-
},
|
|
18
|
-
"itemId": {
|
|
19
|
-
"description": "onedrive item ID of the root folder; currently not required as we don't know how setup will work.",
|
|
20
|
-
"type": "string"
|
|
21
|
-
}
|
|
22
|
-
},
|
|
23
|
-
"required": [
|
|
24
|
-
"type",
|
|
25
|
-
"url"
|
|
26
|
-
],
|
|
27
|
-
"additionalProperties": false
|
|
28
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright 2024 Adobe. All rights reserved.
|
|
3
|
-
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
-
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
5
|
-
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
-
*
|
|
7
|
-
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
-
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
-
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
-
* governing permissions and limitations under the License.
|
|
11
|
-
*/
|
|
12
|
-
module.exports = require('./content.schema.json');
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$comment": "https://github.com/adobe/helix-config/blob/main/LICENSE.txt",
|
|
3
|
-
"$schema": "https://json-schema.org/draft/2019-09/schema",
|
|
4
|
-
"$id": "https://ns.adobe.com/helix/config/content",
|
|
5
|
-
"type": "object",
|
|
6
|
-
"title": "Content source",
|
|
7
|
-
"description": "Defines the content bus location and source.",
|
|
8
|
-
"properties": {
|
|
9
|
-
"title": { "$ref": "https://ns.adobe.com/helix/config/common#/definitions/title" },
|
|
10
|
-
"description": { "$ref": "https://ns.adobe.com/helix/config/common#/definitions/description" },
|
|
11
|
-
"contentBusId": {"type": "string" },
|
|
12
|
-
"source": {
|
|
13
|
-
"oneOf": [
|
|
14
|
-
{ "$ref": "https://ns.adobe.com/helix/config/content-source/google" },
|
|
15
|
-
{ "$ref": "https://ns.adobe.com/helix/config/content-source/onedrive" },
|
|
16
|
-
{ "$ref": "https://ns.adobe.com/helix/config/content-source/markup" }
|
|
17
|
-
]
|
|
18
|
-
},
|
|
19
|
-
"overlay": {
|
|
20
|
-
"oneOf": [
|
|
21
|
-
{ "$ref": "https://ns.adobe.com/helix/config/content-source/markup" }
|
|
22
|
-
]
|
|
23
|
-
}
|
|
24
|
-
},
|
|
25
|
-
"required": [
|
|
26
|
-
"contentBusId",
|
|
27
|
-
"source"
|
|
28
|
-
],
|
|
29
|
-
"additionalProperties": false
|
|
30
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright 2024 Adobe. All rights reserved.
|
|
3
|
-
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
-
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
5
|
-
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
-
*
|
|
7
|
-
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
-
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
-
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
-
* governing permissions and limitations under the License.
|
|
11
|
-
*/
|
|
12
|
-
module.exports = require('./folders.schema.json');
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$comment": "https://github.com/adobe/helix-config/blob/main/LICENSE.txt",
|
|
3
|
-
"$schema": "https://json-schema.org/draft/2019-09/schema",
|
|
4
|
-
"$id": "https://ns.adobe.com/helix/config/folders",
|
|
5
|
-
"type": "object",
|
|
6
|
-
"title": "folders",
|
|
7
|
-
"patternProperties": {
|
|
8
|
-
"^/[a-zA-Z0-9-/.]*$": {
|
|
9
|
-
"type": "string"
|
|
10
|
-
}
|
|
11
|
-
},
|
|
12
|
-
"additionalProperties": false
|
|
13
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright 2024 Adobe. All rights reserved.
|
|
3
|
-
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
-
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
5
|
-
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
-
*
|
|
7
|
-
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
-
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
-
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
-
* governing permissions and limitations under the License.
|
|
11
|
-
*/
|
|
12
|
-
module.exports = require('./groups.schema.json');
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$comment": "https://github.com/adobe/helix-config/blob/main/LICENSE.txt",
|
|
3
|
-
"$schema": "https://json-schema.org/draft/2019-09/schema",
|
|
4
|
-
"$id": "https://ns.adobe.com/helix/config/groups",
|
|
5
|
-
"type": "object",
|
|
6
|
-
"title": "Groups",
|
|
7
|
-
"patternProperties": {
|
|
8
|
-
"^[a-zA-Z0-9-_=]+$": {
|
|
9
|
-
"type": "object",
|
|
10
|
-
"title": "Group",
|
|
11
|
-
"description": "A group of members. Can be referenced in access.admin.role.",
|
|
12
|
-
"properties": {
|
|
13
|
-
"members": {
|
|
14
|
-
"type": "array",
|
|
15
|
-
"items": {
|
|
16
|
-
"type": "object",
|
|
17
|
-
"properties": {
|
|
18
|
-
"email": {
|
|
19
|
-
"type": "string",
|
|
20
|
-
"format": "email"
|
|
21
|
-
},
|
|
22
|
-
"name": {
|
|
23
|
-
"type": "string"
|
|
24
|
-
}
|
|
25
|
-
},
|
|
26
|
-
"required": [
|
|
27
|
-
"email"
|
|
28
|
-
]
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
},
|
|
32
|
-
"additionalProperties": false,
|
|
33
|
-
"required": [
|
|
34
|
-
"members"
|
|
35
|
-
]
|
|
36
|
-
}
|
|
37
|
-
},
|
|
38
|
-
"additionalProperties": false
|
|
39
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright 2024 Adobe. All rights reserved.
|
|
3
|
-
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
-
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
5
|
-
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
-
*
|
|
7
|
-
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
-
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
-
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
-
* governing permissions and limitations under the License.
|
|
11
|
-
*/
|
|
12
|
-
module.exports = require('./headers.schema.json');
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$comment": "https://github.com/adobe/helix-config/blob/main/LICENSE.txt",
|
|
3
|
-
"$schema": "https://json-schema.org/draft/2019-09/schema",
|
|
4
|
-
"$id": "https://ns.adobe.com/helix/config/headers",
|
|
5
|
-
"type": "object",
|
|
6
|
-
"title": "Helix Headers Config",
|
|
7
|
-
"patternProperties": {
|
|
8
|
-
"^/[a-zA-Z0-9-/.]*\\*{0,2}$": {
|
|
9
|
-
"type": "array",
|
|
10
|
-
"items": {
|
|
11
|
-
"$ref": "https://ns.adobe.com/helix/config/common#/definitions/keyValuePair"
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
},
|
|
15
|
-
"additionalProperties": false
|
|
16
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright 2024 Adobe. All rights reserved.
|
|
3
|
-
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
-
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
5
|
-
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
-
*
|
|
7
|
-
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
-
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
-
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
-
* governing permissions and limitations under the License.
|
|
11
|
-
*/
|
|
12
|
-
module.exports = require('./metadata-source.schema.json');
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$comment": "https://github.com/adobe/helix-config/blob/main/LICENSE.txt",
|
|
3
|
-
"$schema": "https://json-schema.org/draft/2019-09/schema",
|
|
4
|
-
"$id": "https://ns.adobe.com/helix/config/metadata-source",
|
|
5
|
-
"type": "object",
|
|
6
|
-
"title": "metadata",
|
|
7
|
-
"properties": {
|
|
8
|
-
"source": {
|
|
9
|
-
"type": "array",
|
|
10
|
-
"items": {
|
|
11
|
-
"type": "string"
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
},
|
|
15
|
-
"additionalProperties": false
|
|
16
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright 2024 Adobe. All rights reserved.
|
|
3
|
-
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
-
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
5
|
-
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
-
*
|
|
7
|
-
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
-
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
-
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
-
* governing permissions and limitations under the License.
|
|
11
|
-
*/
|
|
12
|
-
module.exports = require('./org.schema.json');
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$comment": "https://github.com/adobe/helix-config/blob/main/LICENSE.txt",
|
|
3
|
-
"$schema": "https://json-schema.org/draft/2019-09/schema",
|
|
4
|
-
"$id": "https://ns.adobe.com/helix/config/org",
|
|
5
|
-
"title": "Helix Org Config",
|
|
6
|
-
"type": "object",
|
|
7
|
-
"properties": {
|
|
8
|
-
"version": {
|
|
9
|
-
"type": "integer",
|
|
10
|
-
"enum": [1],
|
|
11
|
-
"default": 1
|
|
12
|
-
},
|
|
13
|
-
"title": { "$ref": "https://ns.adobe.com/helix/config/common#/definitions/title" },
|
|
14
|
-
"description": { "$ref": "https://ns.adobe.com/helix/config/common#/definitions/description" },
|
|
15
|
-
"users": {
|
|
16
|
-
"$ref": "https://ns.adobe.com/helix/config/users"
|
|
17
|
-
},
|
|
18
|
-
"groups": {
|
|
19
|
-
"$ref": "https://ns.adobe.com/helix/config/groups"
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
"required": [
|
|
23
|
-
"version"
|
|
24
|
-
],
|
|
25
|
-
"additionalProperties": false
|
|
26
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright 2024 Adobe. All rights reserved.
|
|
3
|
-
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
-
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
5
|
-
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
-
*
|
|
7
|
-
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
-
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
-
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
-
* governing permissions and limitations under the License.
|
|
11
|
-
*/
|
|
12
|
-
module.exports = require('./profile.schema.json');
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$comment": "https://github.com/adobe/helix-config/blob/main/LICENSE.txt",
|
|
3
|
-
"$schema": "https://json-schema.org/draft/2019-09/schema",
|
|
4
|
-
"$id": "https://ns.adobe.com/helix/config/profile",
|
|
5
|
-
"title": "Helix Profile Config",
|
|
6
|
-
"type": "object",
|
|
7
|
-
"properties": {
|
|
8
|
-
"version": {
|
|
9
|
-
"type": "integer",
|
|
10
|
-
"enum": [1],
|
|
11
|
-
"default": 1
|
|
12
|
-
},
|
|
13
|
-
"title": { "$ref": "https://ns.adobe.com/helix/config/common#/definitions/title" },
|
|
14
|
-
"description": { "$ref": "https://ns.adobe.com/helix/config/common#/definitions/description" },
|
|
15
|
-
|
|
16
|
-
"content": {
|
|
17
|
-
"$ref": "https://ns.adobe.com/helix/config/content"
|
|
18
|
-
},
|
|
19
|
-
"code": {
|
|
20
|
-
"$ref": "https://ns.adobe.com/helix/config/code"
|
|
21
|
-
},
|
|
22
|
-
"folders": {
|
|
23
|
-
"$ref": "https://ns.adobe.com/helix/config/folders"
|
|
24
|
-
},
|
|
25
|
-
"headers": {
|
|
26
|
-
"$ref": "https://ns.adobe.com/helix/config/headers"
|
|
27
|
-
},
|
|
28
|
-
"cdn": {
|
|
29
|
-
"$ref": "https://ns.adobe.com/helix/config/cdn"
|
|
30
|
-
},
|
|
31
|
-
"access": {
|
|
32
|
-
"$ref": "https://ns.adobe.com/helix/config/access"
|
|
33
|
-
},
|
|
34
|
-
"tokens": {
|
|
35
|
-
"$ref": "https://ns.adobe.com/helix/config/tokens"
|
|
36
|
-
},
|
|
37
|
-
"groups": {
|
|
38
|
-
"$ref": "https://ns.adobe.com/helix/config/groups"
|
|
39
|
-
},
|
|
40
|
-
"sidekick": {
|
|
41
|
-
"$ref": "https://ns.adobe.com/helix/config/sidekick"
|
|
42
|
-
},
|
|
43
|
-
"metadata": {
|
|
44
|
-
"$ref": "https://ns.adobe.com/helix/config/metadata-source"
|
|
45
|
-
},
|
|
46
|
-
"robots": {
|
|
47
|
-
"$ref": "https://ns.adobe.com/helix/config/robots"
|
|
48
|
-
},
|
|
49
|
-
"public": {
|
|
50
|
-
"$ref": "https://ns.adobe.com/helix/config/public"
|
|
51
|
-
}
|
|
52
|
-
},
|
|
53
|
-
"required": [
|
|
54
|
-
"version"
|
|
55
|
-
],
|
|
56
|
-
"additionalProperties": false
|
|
57
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright 2024 Adobe. All rights reserved.
|
|
3
|
-
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
-
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
5
|
-
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
-
*
|
|
7
|
-
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
-
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
-
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
-
* governing permissions and limitations under the License.
|
|
11
|
-
*/
|
|
12
|
-
module.exports = require('./profiles.schema.json');
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$comment": "https://github.com/adobe/helix-config/blob/main/LICENSE.txt",
|
|
3
|
-
"$schema": "https://json-schema.org/draft/2019-09/schema",
|
|
4
|
-
"$id": "https://ns.adobe.com/helix/config/profiles",
|
|
5
|
-
"title": "Helix Profiles List",
|
|
6
|
-
"type": "object",
|
|
7
|
-
"properties": {
|
|
8
|
-
"profiles": {
|
|
9
|
-
"type": "array",
|
|
10
|
-
"items": {
|
|
11
|
-
"type": "object",
|
|
12
|
-
"properties": {
|
|
13
|
-
"name": {
|
|
14
|
-
"type": "string"
|
|
15
|
-
}
|
|
16
|
-
},
|
|
17
|
-
"required": [
|
|
18
|
-
"name"
|
|
19
|
-
],
|
|
20
|
-
"additionalProperties": false
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
},
|
|
24
|
-
"required": [
|
|
25
|
-
"profiles"
|
|
26
|
-
],
|
|
27
|
-
"additionalProperties": false
|
|
28
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright 2024 Adobe. All rights reserved.
|
|
3
|
-
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
-
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
5
|
-
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
-
*
|
|
7
|
-
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
-
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
-
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
-
* governing permissions and limitations under the License.
|
|
11
|
-
*/
|
|
12
|
-
module.exports = require('./public.schema.json');
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$comment": "https://github.com/adobe/helix-config/blob/main/LICENSE.txt",
|
|
3
|
-
"$schema": "https://json-schema.org/draft/2019-09/schema",
|
|
4
|
-
"$id": "https://ns.adobe.com/helix/config/public",
|
|
5
|
-
"type": "object",
|
|
6
|
-
"title": "public",
|
|
7
|
-
"description": "Public configuration"
|
|
8
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright 2024 Adobe. All rights reserved.
|
|
3
|
-
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
-
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
5
|
-
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
-
*
|
|
7
|
-
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
-
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
-
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
-
* governing permissions and limitations under the License.
|
|
11
|
-
*/
|
|
12
|
-
module.exports = require('./robots.schema.json');
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$comment": "https://github.com/adobe/helix-config/blob/main/LICENSE.txt",
|
|
3
|
-
"$schema": "https://json-schema.org/draft/2019-09/schema",
|
|
4
|
-
"$id": "https://ns.adobe.com/helix/config/robots",
|
|
5
|
-
"type": "object",
|
|
6
|
-
"title": "robots",
|
|
7
|
-
"properties": {
|
|
8
|
-
"txt": {
|
|
9
|
-
"type": "string"
|
|
10
|
-
}
|
|
11
|
-
},
|
|
12
|
-
"additionalProperties": false
|
|
13
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright 2024 Adobe. All rights reserved.
|
|
3
|
-
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
-
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
5
|
-
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
-
*
|
|
7
|
-
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
-
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
-
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
-
* governing permissions and limitations under the License.
|
|
11
|
-
*/
|
|
12
|
-
module.exports = require('./sidekick.schema.json');
|