1234567891011121314151617181920212223242526272829303132333435363738 |
- export function GitHubIntegrationProvider(params = {}) {
- return {
- key: 'github',
- slug: 'github',
- name: 'GitHub',
- canAdd: true,
- config: [],
- externalIssues: [],
- features: [],
- setupDialog: {
- url: '/github-integration-setup-uri/',
- width: 100,
- height: 100,
- },
- metadata: {
- description: '*markdown* formatted _description_',
- features: [
- {
- description: '*markdown* feature description',
- featureGate: 'integrations-commits',
- },
- ],
- author: 'Morty',
- noun: 'Installation',
- issue_url: 'http://example.com/integration_issue_url',
- source_url: 'http://example.com/integration_source_url',
- aspects: {
- alerts: [
- {
- type: 'warning',
- text: 'This is a an alert example',
- },
- ],
- },
- },
- ...params,
- };
- }
|