-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #520 from helpwave/patch/clear-app
- Loading branch information
Showing
5 changed files
with
90 additions
and
57 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 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 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 |
---|---|---|
|
@@ -27,12 +27,12 @@ export type OrganizationDTO = { | |
// TODO remove once backend is implemented | ||
export let organizations: OrganizationDTO[] = [ | ||
{ | ||
id: 'org1', | ||
shortName: 'UKM', | ||
longName: 'Uniklinkum Münster', | ||
email: 'ukm@helpwave.de', | ||
id: 'e25256a4-830d-4af3-baa2-81ad8dc50e04', | ||
shortName: 'UKA', | ||
longName: 'Uniklinik Aachen', | ||
email: 'uka@helpwave.de', | ||
isVerified: false, | ||
wards: [{ name: 'ICU' }, { name: 'Radiology' }, { name: 'Cardiology' }], | ||
wards: [], | ||
members: [ | ||
{ | ||
name: 'User1', | ||
|
@@ -60,19 +60,78 @@ export let organizations: OrganizationDTO[] = [ | |
] | ||
}, | ||
{ | ||
id: 'org2', | ||
shortName: 'ORGA', | ||
longName: 'Organame', | ||
email: 'orga@helpwave.de', | ||
id: 'e25256a4-830d-4af3-baa2-81ad8dc50e04', | ||
shortName: 'UKM', | ||
longName: 'Uniklinik Münster', | ||
email: 'ukm@helpwave.de', | ||
isVerified: false, | ||
wards: [{ name: 'ICU' }, { name: 'Radiology' }, { name: 'Cardiology' }], | ||
wards: [], | ||
members: [ | ||
{ | ||
name: 'User1', | ||
avatarURL: 'https://source.boringavatars.com/', | ||
email: '[email protected]', | ||
role: Role.admin | ||
}, { | ||
}, | ||
{ | ||
name: 'User1', | ||
avatarURL: 'https://source.boringavatars.com/', | ||
email: '[email protected]', | ||
role: Role.admin | ||
}, | ||
{ | ||
name: 'User1', | ||
avatarURL: 'https://source.boringavatars.com/', | ||
email: '[email protected]', | ||
role: Role.admin | ||
}, | ||
{ | ||
name: 'User1', | ||
avatarURL: 'https://source.boringavatars.com/', | ||
email: '[email protected]', | ||
role: Role.admin | ||
}, | ||
{ | ||
name: 'User1', | ||
avatarURL: 'https://source.boringavatars.com/', | ||
email: '[email protected]', | ||
role: Role.admin | ||
}, | ||
{ | ||
name: 'User1', | ||
avatarURL: 'https://source.boringavatars.com/', | ||
email: '[email protected]', | ||
role: Role.admin | ||
}, | ||
{ | ||
name: 'User2', | ||
avatarURL: 'https://source.boringavatars.com/', | ||
email: '[email protected]', | ||
role: Role.user | ||
}, | ||
{ | ||
name: 'User3', | ||
avatarURL: 'https://source.boringavatars.com/', | ||
email: '[email protected]', | ||
role: Role.user | ||
}, | ||
{ | ||
name: 'User4', | ||
avatarURL: 'https://source.boringavatars.com/', | ||
email: '[email protected]', | ||
role: Role.user | ||
} | ||
] | ||
}, | ||
{ | ||
id: 'f6e0f961-6a2e-4ddd-bac3-7c29485b75d5', | ||
shortName: 'UKGM', | ||
longName: 'Uniklinikum Giessen und Marburg', | ||
email: '[email protected]', | ||
isVerified: false, | ||
wards: [], | ||
members: [ | ||
{ | ||
name: 'User2', | ||
avatarURL: 'https://source.boringavatars.com/', | ||
email: '[email protected]', | ||
|
@@ -92,6 +151,7 @@ export let organizations: OrganizationDTO[] = [ | |
} | ||
] | ||
}, | ||
|
||
] | ||
|
||
export const useOrganizationQuery = () => { | ||
|
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 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