|
@@ -1,14 +1,14 @@
|
|
|
-import {CommitAuthor} from './commitAuthor';
|
|
|
-import {Repository} from './repository';
|
|
|
+import {type Commit as TCommit} from 'sentry/types';
|
|
|
|
|
|
-export function Commit(params = {}) {
|
|
|
+export function Commit(params = {}): TCommit {
|
|
|
return {
|
|
|
dateCreated: '2018-11-30T18:46:31Z',
|
|
|
message:
|
|
|
'(improve) Add Links to Spike-Protection Email (#2408)\n\n* (improve) Add Links to Spike-Protection Email\r\n\r\nUsers now have access to useful links from the blogs and docs on Spike-protection.\r\n\r\n* fixed wording',
|
|
|
id: 'f7f395d14b2fe29a4e253bf1d3094d61e6ad4434',
|
|
|
- author: CommitAuthor(),
|
|
|
- repository: Repository(),
|
|
|
+ author: TestStubs.CommitAuthor(),
|
|
|
+ repository: TestStubs.Repository(),
|
|
|
+ releases: [],
|
|
|
...params,
|
|
|
};
|
|
|
}
|