Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding vote display modes and other additions from main. (#246)
- Loading branch information
1 parent
c89acdd
commit 42874f0
Showing
10 changed files
with
27 additions
and
37 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
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,10 +1,12 @@ | ||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. | ||
import type { LocalUser } from "./LocalUser"; | ||
import type { LocalUserVoteDisplayMode } from "./LocalUserVoteDisplayMode"; | ||
import type { Person } from "./Person"; | ||
import type { PersonAggregates } from "./PersonAggregates"; | ||
|
||
export interface LocalUserView { | ||
local_user: LocalUser; | ||
local_user_vote_display_mode: LocalUserVoteDisplayMode; | ||
person: Person; | ||
counts: PersonAggregates; | ||
} |
9 changes: 5 additions & 4 deletions
9
src/types/LocalImage.ts → src/types/LocalUserVoteDisplayMode.ts
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,9 +1,10 @@ | ||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. | ||
import type { LocalUserId } from "./LocalUserId"; | ||
|
||
export interface LocalImage { | ||
export interface LocalUserVoteDisplayMode { | ||
local_user_id: LocalUserId; | ||
pictrs_alias: string; | ||
pictrs_delete_token: string; | ||
published: string; | ||
score: boolean; | ||
upvotes: boolean; | ||
downvotes: boolean; | ||
upvote_percentage: boolean; | ||
} |
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