codeOwner.js 551 B

12345678910111213141516171819202122
  1. import {GitHubIntegration} from './githubIntegration';
  2. export function CodeOwner(params = {}) {
  3. return {
  4. id: '1225',
  5. raw: '',
  6. dateCreated: '2022-11-18T15:05:47.450354Z',
  7. dateUpdated: '2023-02-24T18:43:08.729490Z',
  8. codeMappingId: '11',
  9. provider: 'github',
  10. codeMapping: GitHubIntegration(),
  11. ownershipSyntax: '',
  12. errors: {
  13. missing_user_emails: [],
  14. missing_external_users: [],
  15. missing_external_teams: [],
  16. teams_without_access: [],
  17. users_without_access: [],
  18. },
  19. ...params,
  20. };
  21. }