blob: 71e275caf09af7b02e0953fd02c84ff276468d01 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
import RepoHelper from '~/repo/helpers/repo_helper';
// eslint-disable-next-line import/prefer-default-export
export const file = (name = 'name', id = name) => RepoHelper.serializeRepoEntity('blob', {
id,
icon: 'icon',
url: 'url',
name,
last_commit: {
id: '123',
message: 'test',
committed_date: new Date().toISOString(),
},
});
|