1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- import {Member} from './member';
- export function Members(params = []) {
- return [
- Member(),
- {
- id: '2',
- name: 'Sentry 2 Name',
- email: 'sentry2@test.com',
- orgRole: 'member',
- teamRoles: [],
- role: 'member',
- roleName: 'Member',
- pending: true,
- flags: {
- 'sso:linked': false,
- },
- user: null,
- },
- {
- id: '3',
- name: 'Sentry 3 Name',
- email: 'sentry3@test.com',
- orgRole: 'owner',
- teamRoles: [],
- role: 'owner',
- roleName: 'Owner',
- pending: false,
- flags: {
- 'sso:linked': true,
- },
- user: {
- id: '3',
- has2fa: true,
- name: 'Sentry 3 Name',
- email: 'sentry3@test.com',
- username: 'Sentry 3 Username',
- },
- },
- {
- id: '4',
- name: 'Sentry 4 Name',
- email: 'sentry4@test.com',
- orgRole: 'owner',
- teamRoles: [],
- role: 'owner',
- roleName: 'Owner',
- pending: false,
- flags: {
- 'sso:linked': true,
- },
- user: {
- id: '4',
- has2fa: true,
- name: 'Sentry 4 Name',
- email: 'sentry4@test.com',
- username: 'Sentry 4 Username',
- },
- },
- ...params,
- ];
- }
|