githubIntegration.js 397 B

123456789101112131415161718
  1. export function GitHubIntegration(params = {}) {
  2. return {
  3. domainName: 'github.com/test-integration',
  4. icon: 'http://example.com/integration_icon.png',
  5. id: '1',
  6. name: 'Test Integration',
  7. provider: {
  8. name: 'GitHub',
  9. key: 'github',
  10. canAdd: true,
  11. features: [],
  12. },
  13. projects: [],
  14. configOrganization: [],
  15. configData: {},
  16. ...params,
  17. };
  18. }