Welcome to mirror list, hosted at ThFree Co, Russian Federation.

member_modal.js « mock_data « invite_members « frontend « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 59d58f21bb063ed909d7a63dba252d2d01922b5f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
export const propsData = {
  id: '1',
  rootId: '1',
  name: 'test name',
  isProject: false,
  accessLevels: { Guest: 10, Reporter: 20, Developer: 30, Maintainer: 40, Owner: 50 },
  defaultAccessLevel: 30,
  helpLink: 'https://example.com',
  tasksToBeDoneOptions: [
    { text: 'First task', value: 'first' },
    { text: 'Second task', value: 'second' },
  ],
  projects: [
    { text: 'First project', value: '1' },
    { text: 'Second project', value: '2' },
  ],
};

export const inviteSource = 'unknown';
export const newProjectPath = 'projects/new';
export const freeUsersLimit = 5;
export const remainingSeats = 2;

export const user1 = { id: 1, name: 'Name One', username: 'one_1', avatar_url: '' };
export const user2 = { id: 2, name: 'Name Two', username: 'one_2', avatar_url: '' };
export const user3 = {
  id: 'user-defined-token',
  name: 'email@example.com',
  avatar_url: '',
};
export const user4 = {
  id: 'user-defined-token2',
  name: 'email4@example.com',
  avatar_url: '',
};
export const user5 = {
  id: '3',
  username: 'root',
  name: 'root',
  avatar_url: '',
};
export const user6 = {
  id: 'user-defined-token3',
  name: 'email5@example.com',
  avatar_url: '',
};

export const GlEmoji = { template: '<img/>' };