platformExternalIssue.tsx 356 B

1234567891011121314
  1. import {PlatformExternalIssue as PlatformExternalIssueType} from 'sentry/types';
  2. export function PlatformExternalIssue(
  3. params: Partial<PlatformExternalIssueType> = {}
  4. ): PlatformExternalIssueType {
  5. return {
  6. id: '1',
  7. serviceType: 'foo',
  8. displayName: 'project#1',
  9. webUrl: 'https://example.com/1',
  10. issueId: '',
  11. ...params,
  12. };
  13. }