123456789101112131415161718192021222324252627282930313233 |
- 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'}],
- 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,
- };
- }
|