@adobe/helix-admin-support 2.2.11 → 2.2.13
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 +4 -0
- package/docs/project-config-properties-adminconfig-properties-events-properties-github-properties-github-event-notification-target-ownerrepository.md +15 -0
- package/docs/project-config-properties-adminconfig-properties-events-properties-github.md +39 -0
- package/docs/project-config-properties-adminconfig-properties-events.md +39 -0
- package/docs/project-config-properties-adminconfig.md +19 -0
- package/docs/project-config.schema.json +1 -1
- package/package.json +6 -6
- package/src/schemas/project-config.schema.json +26 -10
- package/types/project-config.d.ts +16 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [2.2.13](https://github.com/adobe/helix-admin-support/compare/v2.2.12...v2.2.13) (2023-09-30)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **deps:** update external fixes ([46567af](https://github.com/adobe/helix-admin-support/commit/46567afa9370028b8121f11f4ae3a368eba9ebc4))
|
|
7
|
+
|
|
8
|
+
## [2.2.12](https://github.com/adobe/helix-admin-support/compare/v2.2.11...v2.2.12) (2023-09-23)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* **deps:** update external fixes ([54eec4e](https://github.com/adobe/helix-admin-support/commit/54eec4eb52eeab5d74834cf09da9145d664264dd))
|
|
14
|
+
|
|
1
15
|
## [2.2.11](https://github.com/adobe/helix-admin-support/compare/v2.2.10...v2.2.11) (2023-09-16)
|
|
2
16
|
|
|
3
17
|
|
package/docs/README.md
CHANGED
|
@@ -48,6 +48,10 @@
|
|
|
48
48
|
|
|
49
49
|
* [Untitled object in ProjectConfig](./project-config-properties-siteaccessconfig-properties-require.md) – `https://ns.adobe.com/helix/config/project#/properties/access/properties/require`
|
|
50
50
|
|
|
51
|
+
* [Untitled object in ProjectConfig](./project-config-properties-adminconfig-properties-events.md "Events that are triggered by the admin") – `https://ns.adobe.com/helix/config/project#/properties/admin/properties/events`
|
|
52
|
+
|
|
53
|
+
* [Untitled object in ProjectConfig](./project-config-properties-adminconfig-properties-events-properties-github.md "Github configuration for admin events") – `https://ns.adobe.com/helix/config/project#/properties/admin/properties/events/properties/github`
|
|
54
|
+
|
|
51
55
|
### Arrays
|
|
52
56
|
|
|
53
57
|
* [Untitled array in ProjectCDNConfig](./project-config-cdn-defs-stringorarray-oneof-1.md) – `https://ns.adobe.com/helix/config/cdn#/$defs/stringOrArray/oneOf/1`
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# Github Event Notification Target Owner/Repository Schema
|
|
2
|
+
|
|
3
|
+
```txt
|
|
4
|
+
https://ns.adobe.com/helix/config/project#/properties/admin/properties/events/properties/github/properties/target
|
|
5
|
+
```
|
|
6
|
+
|
|
7
|
+
The target github owner and repository to which the event is to be sent in the owner/repo format. For e.g. hlxsites/target-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 | Forbidden | none | [project-config.schema.json\*](project-config.schema.json "open original schema") |
|
|
12
|
+
|
|
13
|
+
## target Type
|
|
14
|
+
|
|
15
|
+
`string` ([Github Event Notification Target Owner/Repository](project-config-properties-adminconfig-properties-events-properties-github-properties-github-event-notification-target-ownerrepository.md))
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# Untitled object in ProjectConfig Schema
|
|
2
|
+
|
|
3
|
+
```txt
|
|
4
|
+
https://ns.adobe.com/helix/config/project#/properties/admin/properties/events/properties/github
|
|
5
|
+
```
|
|
6
|
+
|
|
7
|
+
Github configuration for admin events.
|
|
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.schema.json\*](project-config.schema.json "open original schema") |
|
|
12
|
+
|
|
13
|
+
## github Type
|
|
14
|
+
|
|
15
|
+
`object` ([Details](project-config-properties-adminconfig-properties-events-properties-github.md))
|
|
16
|
+
|
|
17
|
+
# github Properties
|
|
18
|
+
|
|
19
|
+
| Property | Type | Required | Nullable | Defined by |
|
|
20
|
+
| :---------------- | :------- | :------- | :------------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
21
|
+
| [target](#target) | `string` | Optional | cannot be null | [ProjectConfig](project-config-properties-adminconfig-properties-events-properties-github-properties-github-event-notification-target-ownerrepository.md "https://ns.adobe.com/helix/config/project#/properties/admin/properties/events/properties/github/properties/target") |
|
|
22
|
+
|
|
23
|
+
## target
|
|
24
|
+
|
|
25
|
+
The target github owner and repository to which the event is to be sent in the owner/repo format. For e.g. hlxsites/target-repo
|
|
26
|
+
|
|
27
|
+
`target`
|
|
28
|
+
|
|
29
|
+
* is optional
|
|
30
|
+
|
|
31
|
+
* Type: `string` ([Github Event Notification Target Owner/Repository](project-config-properties-adminconfig-properties-events-properties-github-properties-github-event-notification-target-ownerrepository.md))
|
|
32
|
+
|
|
33
|
+
* cannot be null
|
|
34
|
+
|
|
35
|
+
* defined in: [ProjectConfig](project-config-properties-adminconfig-properties-events-properties-github-properties-github-event-notification-target-ownerrepository.md "https://ns.adobe.com/helix/config/project#/properties/admin/properties/events/properties/github/properties/target")
|
|
36
|
+
|
|
37
|
+
### target Type
|
|
38
|
+
|
|
39
|
+
`string` ([Github Event Notification Target Owner/Repository](project-config-properties-adminconfig-properties-events-properties-github-properties-github-event-notification-target-ownerrepository.md))
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# Untitled object in ProjectConfig Schema
|
|
2
|
+
|
|
3
|
+
```txt
|
|
4
|
+
https://ns.adobe.com/helix/config/project#/properties/admin/properties/events
|
|
5
|
+
```
|
|
6
|
+
|
|
7
|
+
Events that are triggered by the admin.
|
|
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.schema.json\*](project-config.schema.json "open original schema") |
|
|
12
|
+
|
|
13
|
+
## events Type
|
|
14
|
+
|
|
15
|
+
`object` ([Details](project-config-properties-adminconfig-properties-events.md))
|
|
16
|
+
|
|
17
|
+
# events Properties
|
|
18
|
+
|
|
19
|
+
| Property | Type | Required | Nullable | Defined by |
|
|
20
|
+
| :---------------- | :------- | :------- | :------------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
21
|
+
| [github](#github) | `object` | Optional | cannot be null | [ProjectConfig](project-config-properties-adminconfig-properties-events-properties-github.md "https://ns.adobe.com/helix/config/project#/properties/admin/properties/events/properties/github") |
|
|
22
|
+
|
|
23
|
+
## github
|
|
24
|
+
|
|
25
|
+
Github configuration for admin events.
|
|
26
|
+
|
|
27
|
+
`github`
|
|
28
|
+
|
|
29
|
+
* is optional
|
|
30
|
+
|
|
31
|
+
* Type: `object` ([Details](project-config-properties-adminconfig-properties-events-properties-github.md))
|
|
32
|
+
|
|
33
|
+
* cannot be null
|
|
34
|
+
|
|
35
|
+
* defined in: [ProjectConfig](project-config-properties-adminconfig-properties-events-properties-github.md "https://ns.adobe.com/helix/config/project#/properties/admin/properties/events/properties/github")
|
|
36
|
+
|
|
37
|
+
### github Type
|
|
38
|
+
|
|
39
|
+
`object` ([Details](project-config-properties-adminconfig-properties-events-properties-github.md))
|
|
@@ -20,6 +20,7 @@ https://ns.adobe.com/helix/config/project#/properties/admin
|
|
|
20
20
|
| :-------------------- | :------- | :------- | :------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
21
21
|
| [role](#role) | `object` | Optional | cannot be null | [ProjectConfig](project-config-properties-adminconfig-properties-role.md "https://ns.adobe.com/helix/config/project#/properties/admin/properties/role") |
|
|
22
22
|
| [apiKeyId](#apikeyid) | Merged | Optional | cannot be null | [ProjectConfig](project-config-properties-adminconfig-properties-apikeyid.md "https://ns.adobe.com/helix/config/project#/properties/admin/properties/apiKeyId") |
|
|
23
|
+
| [events](#events) | `object` | Optional | cannot be null | [ProjectConfig](project-config-properties-adminconfig-properties-events.md "https://ns.adobe.com/helix/config/project#/properties/admin/properties/events") |
|
|
23
24
|
|
|
24
25
|
## role
|
|
25
26
|
|
|
@@ -62,3 +63,21 @@ one (and only one) of
|
|
|
62
63
|
* [Untitled string in ProjectConfig](project-config-properties-adminconfig-properties-apikeyid-oneof-0.md "check type definition")
|
|
63
64
|
|
|
64
65
|
* [Untitled array in ProjectConfig](project-config-properties-adminconfig-properties-apikeyid-oneof-1.md "check type definition")
|
|
66
|
+
|
|
67
|
+
## events
|
|
68
|
+
|
|
69
|
+
Events that are triggered by the admin.
|
|
70
|
+
|
|
71
|
+
`events`
|
|
72
|
+
|
|
73
|
+
* is optional
|
|
74
|
+
|
|
75
|
+
* Type: `object` ([Details](project-config-properties-adminconfig-properties-events.md))
|
|
76
|
+
|
|
77
|
+
* cannot be null
|
|
78
|
+
|
|
79
|
+
* defined in: [ProjectConfig](project-config-properties-adminconfig-properties-events.md "https://ns.adobe.com/helix/config/project#/properties/admin/properties/events")
|
|
80
|
+
|
|
81
|
+
### events Type
|
|
82
|
+
|
|
83
|
+
`object` ([Details](project-config-properties-adminconfig-properties-events.md))
|
|
@@ -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"}}]},"metadata":{"description":"source paths for metadata.","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},"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"}}]}},"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"}}]},"metadata":{"description":"source paths for metadata.","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},"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"}}]},"events":{"description":"Events that are triggered by the admin.","type":"object","additionalProperties":false,"properties":{"github":{"description":"Github configuration for admin events.","type":"object","additionalProperties":false,"properties":{"target":{"title":"Github Event Notification Target Owner/Repository","description":"The target github owner and repository to which the event is to be sent in the owner/repo format. For e.g. hlxsites/target-repo","type":"string","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.2.
|
|
3
|
+
"version": "2.2.13",
|
|
4
4
|
"description": "Helix Admin Support Library",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
"@adobe/fetch": "4.1.0",
|
|
38
38
|
"@adobe/helix-shared-config": "10.3.5",
|
|
39
39
|
"@adobe/helix-shared-utils": "3.0.0",
|
|
40
|
-
"@aws-sdk/client-s3": "3.
|
|
41
|
-
"@aws-sdk/client-sqs": "3.
|
|
40
|
+
"@aws-sdk/client-s3": "3.421.0",
|
|
41
|
+
"@aws-sdk/client-sqs": "3.421.0",
|
|
42
42
|
"@aws-sdk/node-http-handler": "3.370.0"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
@@ -46,9 +46,9 @@
|
|
|
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": "
|
|
49
|
+
"@semantic-release/npm": "11.0.0",
|
|
50
50
|
"c8": "8.0.1",
|
|
51
|
-
"eslint": "8.
|
|
51
|
+
"eslint": "8.50.0",
|
|
52
52
|
"husky": "8.0.3",
|
|
53
53
|
"jsdoc-to-markdown": "8.0.0",
|
|
54
54
|
"json-schema-to-typescript": "13.1.1",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"mocha": "10.2.0",
|
|
58
58
|
"mocha-multi-reporters": "1.5.1",
|
|
59
59
|
"nock": "13.3.3",
|
|
60
|
-
"semantic-release": "
|
|
60
|
+
"semantic-release": "22.0.5",
|
|
61
61
|
"yaml": "2.3.2"
|
|
62
62
|
},
|
|
63
63
|
"lint-staged": {
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"timezone": {
|
|
43
43
|
"type": "string",
|
|
44
44
|
"description": "Timezone to be used by the slack bot when reporting times.",
|
|
45
|
-
"examples": [
|
|
45
|
+
"examples": ["Europe/Zurich"]
|
|
46
46
|
},
|
|
47
47
|
"host": {
|
|
48
48
|
"type": "string",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"blueprint": {
|
|
52
52
|
"type": "string",
|
|
53
53
|
"description": "configuration blueprint repository in the owner/repo format.",
|
|
54
|
-
"examples": [
|
|
54
|
+
"examples": ["adobe/helix-website"]
|
|
55
55
|
},
|
|
56
56
|
"slack": {
|
|
57
57
|
"description": "the slack teamId/channelID(s) where the slack bot is used.",
|
|
@@ -112,19 +112,15 @@
|
|
|
112
112
|
"properties": {
|
|
113
113
|
"repository": {
|
|
114
114
|
"description": "The list of owner/repo pointers to projects that are allowed to use this content.",
|
|
115
|
-
"examples": [
|
|
115
|
+
"examples": ["adobe/*", "hlxsites/wknd"],
|
|
116
116
|
"$ref": "#/$defs/emailglob"
|
|
117
117
|
}
|
|
118
118
|
},
|
|
119
|
-
"required": [
|
|
120
|
-
"repository"
|
|
121
|
-
],
|
|
119
|
+
"required": ["repository"],
|
|
122
120
|
"additionalProperties": false
|
|
123
121
|
}
|
|
124
122
|
},
|
|
125
|
-
"required": [
|
|
126
|
-
"allow"
|
|
127
|
-
],
|
|
123
|
+
"required": ["allow"],
|
|
128
124
|
"additionalProperties": false
|
|
129
125
|
},
|
|
130
126
|
"admin": {
|
|
@@ -144,7 +140,7 @@
|
|
|
144
140
|
"$ref": "#/$defs/emailglob"
|
|
145
141
|
}
|
|
146
142
|
},
|
|
147
|
-
"required": [
|
|
143
|
+
"required": ["role"],
|
|
148
144
|
"additionalProperties": false
|
|
149
145
|
},
|
|
150
146
|
"apiKeyId": {
|
|
@@ -160,6 +156,26 @@
|
|
|
160
156
|
}
|
|
161
157
|
}
|
|
162
158
|
]
|
|
159
|
+
},
|
|
160
|
+
"events": {
|
|
161
|
+
"description": "Events that are triggered by the admin.",
|
|
162
|
+
"type": "object",
|
|
163
|
+
"additionalProperties": false,
|
|
164
|
+
"properties": {
|
|
165
|
+
"github": {
|
|
166
|
+
"description": "Github configuration for admin events.",
|
|
167
|
+
"type": "object",
|
|
168
|
+
"additionalProperties": false,
|
|
169
|
+
"properties": {
|
|
170
|
+
"target": {
|
|
171
|
+
"title": "Github Event Notification Target Owner/Repository",
|
|
172
|
+
"description": "The target github owner and repository to which the event is to be sent in the owner/repo format. For e.g. hlxsites/target-repo",
|
|
173
|
+
"type": "string",
|
|
174
|
+
"additionalProperties": false
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
}
|
|
163
179
|
}
|
|
164
180
|
},
|
|
165
181
|
"additionalProperties": false
|
|
@@ -12,6 +12,11 @@
|
|
|
12
12
|
|
|
13
13
|
// NOTE: this file is autogenerated via 'npm run docs:types'
|
|
14
14
|
|
|
15
|
+
/**
|
|
16
|
+
* The target github owner and repository to which the event is to be sent in the owner/repo format. For e.g. hlxsites/target-repo
|
|
17
|
+
*/
|
|
18
|
+
export type GithubEventNotificationTargetOwnerRepository = string;
|
|
19
|
+
|
|
15
20
|
export interface ProjectConfig {
|
|
16
21
|
/**
|
|
17
22
|
* Name of the project used by the slack bot when reporting.
|
|
@@ -148,6 +153,17 @@ export interface AdminConfig {
|
|
|
148
153
|
* the id of the API key(s). this is used to validate the API KEYS and allows to invalidate them.
|
|
149
154
|
*/
|
|
150
155
|
apiKeyId?: string | string[];
|
|
156
|
+
/**
|
|
157
|
+
* Events that are triggered by the admin.
|
|
158
|
+
*/
|
|
159
|
+
events?: {
|
|
160
|
+
/**
|
|
161
|
+
* Github configuration for admin events.
|
|
162
|
+
*/
|
|
163
|
+
github?: {
|
|
164
|
+
target?: GithubEventNotificationTargetOwnerRepository;
|
|
165
|
+
};
|
|
166
|
+
};
|
|
151
167
|
}
|
|
152
168
|
export interface Role {
|
|
153
169
|
/**
|