Revert type 'improvement'

Signed-off-by: Erik Engervall <erik.engervall@gmail.com>
This commit is contained in:
Erik Engervall
2021-04-18 18:24:47 +02:00
parent 68fe248d63
commit a0145d69c8
2 changed files with 11 additions and 16 deletions
+7 -7
View File
@@ -119,12 +119,12 @@ integrations:
- host: github.com
token: ${GITHUB_TOKEN}
### Example for how to add your GitHub Enterprise instance using the API:
# - host: ghe.example.net
# apiBaseUrl: https://ghe.example.net/api/v3
# token: ${GHE_TOKEN}
- host: ghe.spotify.net
apiBaseUrl: https://ghe.spotify.net/api/v3
token: ${GHE_TOKEN}
### Example for how to add your GitHub Enterprise instance using raw HTTP fetches (token is optional):
# - host: ghe.example.net
# rawBaseUrl: https://ghe.example.net/raw
# - host: ghe.spotify.net
# rawBaseUrl: https://ghe.spotify.net/raw
# token: ${GHE_TOKEN}
gitlab:
- host: gitlab.com
@@ -159,8 +159,8 @@ catalog:
- target: https://github.com
token: ${GITHUB_TOKEN}
#### Example for how to add your GitHub Enterprise instance using the API:
# - target: https://ghe.example.net
# apiBaseUrl: https://ghe.example.net/api
# - target: https://ghe.spotify.net
# apiBaseUrl: https://ghe.spotify.net/api
# token: ${GHE_TOKEN}
ldapOrg:
### Example for how to add your enterprise LDAP server
@@ -14,15 +14,10 @@
* limitations under the License.
*/
export type ComponentConfig<Args> =
| {
omit?: void;
successCb?: (args: Args) => Promise<void> | void;
}
| {
omit: boolean;
successCb?: void;
};
export type ComponentConfig<Args> = {
omit?: boolean;
successCb?: (args: Args) => Promise<void> | void;
};
interface CreateRcSuccessCbArgs {
gitHubReleaseUrl: string;