Skip to content

Commit

Permalink
4032 - userInvitation: require assessmentUuid, userRole: optional cyc…
Browse files Browse the repository at this point in the history
…leUuid
  • Loading branch information
sorja committed Oct 23, 2024
1 parent 13c6951 commit 3d00a99
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/meta/user/userInvitation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { RoleName } from 'meta/user/userRole'

export interface UserInvitation {
acceptedAt?: string
assessmentUuid?: string
assessmentUuid: string
countryIso?: CountryIso
cycleUuid: string
id: number
Expand Down
4 changes: 2 additions & 2 deletions src/meta/user/userRole.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ export type UserRoleExtendedProps = UserRoleBaseProps & {
}

export interface UserRole<Name extends RoleName, Props extends UserRoleBaseProps = undefined, Permissions = undefined> {
assessmentId?: number
assessmentUuid?: string
countryIso?: CountryIso
createdAt: string
cycleUuid: string
cycleUuid?: string
id: number
invitationUuid?: string
permissions: Permissions
Expand Down

0 comments on commit 3d00a99

Please sign in to comment.