diff options
Diffstat (limited to 'src-vue/src/utils')
-rw-r--r-- | src-vue/src/utils/SortOptions.d.ts | 8 | ||||
-rw-r--r-- | src-vue/src/utils/thunderstore/ThunderstoreMod.d.ts | 2 |
2 files changed, 10 insertions, 0 deletions
diff --git a/src-vue/src/utils/SortOptions.d.ts b/src-vue/src/utils/SortOptions.d.ts new file mode 100644 index 00000000..6bdd0a4a --- /dev/null +++ b/src-vue/src/utils/SortOptions.d.ts @@ -0,0 +1,8 @@ +export enum SortOptions { + NAME_ASC = 'By name (A to Z)', + NAME_DESC = 'By name (Z to A)', + DATE_ASC = 'By date (from oldest)', + DATE_DESC = 'By date (from newest)', + MOST_DOWNLOADED = "Most downloaded", + TOP_RATED = "Top rated" +} diff --git a/src-vue/src/utils/thunderstore/ThunderstoreMod.d.ts b/src-vue/src/utils/thunderstore/ThunderstoreMod.d.ts index 6fddd06f..6387c47e 100644 --- a/src-vue/src/utils/thunderstore/ThunderstoreMod.d.ts +++ b/src-vue/src/utils/thunderstore/ThunderstoreMod.d.ts @@ -3,8 +3,10 @@ import { ThunderstoreModVersion } from "./ThunderstoreModVersion"; export interface ThunderstoreMod { name: string; owner: string; + date_updated: string; rating_score: number; package_url: string; is_deprecated: boolean; versions: ThunderstoreModVersion[]; + categories: string[]; } |