-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
474 comment page button to save votes does not work (#477)
* Update type * Add author and co authors & update type * Add missing attrs back * Current state (fixing voting) * simplify and refactor comments page and voting mechanism --------- Co-authored-by: Diego Alzate <[email protected]>
- Loading branch information
1 parent
bc0431b
commit a159a82
Showing
6 changed files
with
129 additions
and
127 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,23 @@ | ||
import { GetGroupsResponse } from './GroupType'; | ||
import { GetUserResponse } from './UserType'; | ||
|
||
export type GetOptionUsersResponse = { | ||
optionId: string; | ||
registrationId: string | null; | ||
userId: string | null; | ||
user: GetUserResponse | null; | ||
user: { | ||
id: string; | ||
username: string; | ||
firstName: string; | ||
lastName: string; | ||
} | null; | ||
groupId: string | null; | ||
group: GetGroupsResponse | null; | ||
group: { | ||
id: null; | ||
users: | ||
| { | ||
id: string; | ||
username: string; | ||
firstName: string; | ||
lastName: string; | ||
}[] | ||
| null; | ||
} | null; | ||
}; |
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
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.