-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dev: removes invitation script (#1112)
- Loading branch information
Ana Escontrela
authored
Oct 26, 2021
1 parent
aa03172
commit 8d48ea1
Showing
11 changed files
with
98 additions
and
832 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import { RestTeam } from '@asap-hub/squidex'; | ||
import { RestTeam, RestUser } from '@asap-hub/squidex'; | ||
|
||
export const fetchTeamsResponse: { total: number; items: RestTeam[] } = { | ||
total: 1, | ||
|
@@ -17,3 +17,87 @@ export const fetchTeamsResponse: { total: number; items: RestTeam[] } = { | |
}, | ||
], | ||
}; | ||
|
||
export const fetchUsersResponse: { total: number; items: RestUser[] } = { | ||
total: 200, | ||
items: [ | ||
{ | ||
id: 'userId1', | ||
lastModified: '2020-09-25T11:06:27.164Z', | ||
created: '2020-09-24T11:06:27.164Z', | ||
data: { | ||
avatar: { iv: [] }, | ||
lastModifiedDate: { iv: '2020-09-25T11:06:27.164Z' }, | ||
email: { iv: '[email protected]' }, | ||
firstName: { iv: 'First' }, | ||
lastName: { iv: 'Last' }, | ||
jobTitle: { iv: 'Title' }, | ||
institution: { iv: 'Institution' }, | ||
connections: { iv: [] }, | ||
biography: { iv: 'Biography' }, | ||
teams: { iv: [] }, | ||
questions: { iv: [] }, | ||
skills: { iv: [] }, | ||
role: { iv: 'Grantee' }, | ||
onboarded: { | ||
iv: true, | ||
}, | ||
labs: { iv: [] }, | ||
}, | ||
}, | ||
{ | ||
id: 'userId2', | ||
lastModified: '2020-09-25T11:06:27.164Z', | ||
created: '2020-09-24T11:06:27.164Z', | ||
data: { | ||
avatar: { iv: [] }, | ||
lastModifiedDate: { iv: '2020-09-25T11:06:27.164Z' }, | ||
email: { iv: '[email protected]' }, | ||
firstName: { iv: 'First' }, | ||
lastName: { iv: 'Last' }, | ||
jobTitle: { iv: 'Title' }, | ||
institution: { iv: 'Institution' }, | ||
connections: { iv: [] }, | ||
biography: { iv: 'Biography' }, | ||
questions: { iv: [{ question: 'Question?' }] }, | ||
teams: { iv: [] }, | ||
skills: { iv: [] }, | ||
role: { iv: 'Grantee' }, | ||
onboarded: { | ||
iv: true, | ||
}, | ||
labs: { iv: [] }, | ||
}, | ||
}, | ||
{ | ||
id: 'userId3', | ||
lastModified: '2020-09-25T11:06:27.164Z', | ||
created: '2020-09-24T11:06:27.164Z', | ||
data: { | ||
avatar: { iv: [] }, | ||
lastModifiedDate: { iv: '2020-09-25T11:06:27.164Z' }, | ||
email: { iv: '[email protected]' }, | ||
firstName: { iv: 'First' }, | ||
lastName: { iv: 'Last' }, | ||
jobTitle: { iv: 'Title' }, | ||
institution: { iv: 'Institution' }, | ||
connections: { | ||
iv: [ | ||
{ | ||
code: 'ALREADY_HAS_CODE', | ||
}, | ||
], | ||
}, | ||
biography: { iv: 'Biography' }, | ||
questions: { iv: [{ question: 'Question?' }] }, | ||
teams: { iv: [] }, | ||
skills: { iv: [] }, | ||
role: { iv: 'Grantee' }, | ||
onboarded: { | ||
iv: true, | ||
}, | ||
labs: { iv: [] }, | ||
}, | ||
}, | ||
], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.