Commit 0aa474f4 authored by Richard Glosner's avatar Richard Glosner
Browse files

feat: update user types to action logs v2

### Additions

* added new interface `UserInterface`
* added new type `TUserType`
* added new type `IUserType`

### Changes

* field `FileInfoType.uploadedBy: RestrictedUser` changed to `FileInfoType.uploadedBy: UserInterface`
* field `DefinitionType.maintainers: [RestrictedUser!]!` changed to `DefinitionType.maintainers: [IUserType!]!`
* field `DefinitionType.uploadedBy: RestrictedUser` changed to `DefinitionType.uploadedBy: IUserType`
* field `ExerciseType.instructors: [RestrictedUser!]!` changed to `ExerciseType.instructors: [UserInterface!]!`
* field `ExerciseType.createdBy: [RestrictedUser!]!` changed to `ExerciseType.createdBy: [UserInterface!]!`
* field `TeamType.users: [RestrictedUser!]!` changed to `TeamType.users: [UserInterface!]!`
* field `InstructorCommentType.createdBy: RestrictedUser` changed to `InstructorCommentType.createdBy: UserInterface`
* field `InstructorCommentType.editedBy: RestrictedUser` changed to `InstructorCommentType.editedBy: UserInterface`
* field `ActionLogInterface.user: RestrictedUser` changed to `ActionLogInterface.user: UserInterface`
* field `EmailInterface.user: RestrictedUser` changed to `EmailInterface.user: UserInterface`
* field `ITeamQuestionnaireStateType.reviewedBy: RestrictedUser` changed to `ITeamQuestionnaireStateType.reviewedBy: UserInterface`
* query `whoAmI: UserType` changed to `whoAmI: TUserType`
* query `users(filterUsersInput: FilterUsersInput): [UserType!]!` changed to `users(filterUsersInput: FilterUsersInput): [IUserType!]!`
* query `user(userId: UUID!): UserType!` changed to `user(userId: UUID!): IUserType!`
* field (on mutations return type) `ChangeUserDataMutation.user: UserType!` changed to `ChangeUserDataMutation.user: IUserType!`
* field (on mutations return type) `CreateUserMutation.newUser: RestrictedUser!` changed to `CreateUserMutation.newUser: IUserType`
* field (on mutations return type) `GenerateGuestsMutation.guestAccounts: [RestrictedUser!]!` changed to `GenerateGuestsMutation.guestAccounts: [IUserType!]!`

### Deletions

* deleted type `UserType`
* deleted type `RestrictedUser`

Closes #465
parent 1e182e48
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment