repository.js 253 B

1234567891011
  1. export function Repository(params = {}) {
  2. return {
  3. id: '4',
  4. name: 'example/repo-name',
  5. provider: 'github',
  6. url: 'https://github.com/example/repo-name',
  7. status: 'active',
  8. externalSlug: 'example/repo-name',
  9. ...params,
  10. };
  11. }