mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-11 11:26:27 +00:00
Workshop - Revert voting changes, was fun to try but not useful enough
This commit is contained in:
1 parent
1e8c68bbeb
commit
ec5fbba87c
18 files changed
+29
-395
No files matched your search
@@ -56,13 +56,11 @@ type Entry {
|
||||
dependantReleases: [Release!]!
|
||||
description: String!
|
||||
downloads: Long!
|
||||
downvoteCount: Int!
|
||||
entryType: EntryType!
|
||||
icon: Image
|
||||
iconId: UUID
|
||||
id: Long!
|
||||
images: [Image!]!
|
||||
isDefault: Boolean!
|
||||
isOfficial: Boolean!
|
||||
latestRelease: Release
|
||||
latestReleaseId: Long
|
||||
@@ -70,10 +68,8 @@ type Entry {
|
||||
name: String!
|
||||
pluginInfo: PluginInfo
|
||||
releases: [Release!]!
|
||||
score: Int!
|
||||
summary: String!
|
||||
tags: [Tag!]!
|
||||
upvoteCount: Int!
|
||||
}
|
||||
|
||||
type Image {
|
||||
@@ -103,8 +99,6 @@ type LayoutInfo {
|
||||
type Mutation {
|
||||
addEntry(input: CreateEntryInput!): Entry
|
||||
addLayoutInfo(input: CreateLayoutInfoInput!): LayoutInfo
|
||||
castVote(input: CastVoteInput!): Entry
|
||||
clearVote(entryId: Long!): Entry
|
||||
removeEntry(id: Long!): Entry
|
||||
removeLayoutInfo(id: Long!): LayoutInfo!
|
||||
removeRelease(id: Long!): Release!
|
||||
@@ -174,7 +168,6 @@ type Query {
|
||||
searchKeyboardLayout(deviceProvider: UUID!, logicalLayout: String, model: String!, physicalLayout: KeyboardLayoutType!, vendor: String!): LayoutInfo
|
||||
searchLayout(deviceProvider: UUID!, deviceType: RGBDeviceType!, model: String!, vendor: String!): LayoutInfo
|
||||
submittedEntries(order: [EntrySortInput!], where: EntryFilterInput): [Entry!]!
|
||||
votes(order: [VoteSortInput!], where: VoteFilterInput): [Vote!]!
|
||||
}
|
||||
|
||||
type Release {
|
||||
@@ -195,15 +188,6 @@ type Tag {
|
||||
name: String!
|
||||
}
|
||||
|
||||
type Vote {
|
||||
entry: Entry!
|
||||
entryId: Long!
|
||||
id: Long!
|
||||
upvote: Boolean!
|
||||
userId: UUID!
|
||||
votedAt: DateTime!
|
||||
}
|
||||
|
||||
enum ApplyPolicy {
|
||||
AFTER_RESOLVER
|
||||
BEFORE_RESOLVER
|
||||
@@ -266,11 +250,6 @@ input BooleanOperationFilterInput {
|
||||
neq: Boolean
|
||||
}
|
||||
|
||||
input CastVoteInput {
|
||||
entryId: Long!
|
||||
upvote: Boolean!
|
||||
}
|
||||
|
||||
input CategoryFilterInput {
|
||||
and: [CategoryFilterInput!]
|
||||
icon: StringOperationFilterInput
|
||||
@@ -289,7 +268,6 @@ input CreateEntryInput {
|
||||
categories: [Long!]!
|
||||
description: String!
|
||||
entryType: EntryType!
|
||||
isDefault: Boolean!
|
||||
name: String!
|
||||
summary: String!
|
||||
tags: [String!]!
|
||||
@@ -329,13 +307,11 @@ input EntryFilterInput {
|
||||
dependantReleases: ListFilterInputTypeOfReleaseFilterInput
|
||||
description: StringOperationFilterInput
|
||||
downloads: LongOperationFilterInput
|
||||
downvoteCount: IntOperationFilterInput
|
||||
entryType: EntryTypeOperationFilterInput
|
||||
icon: ImageFilterInput
|
||||
iconId: UuidOperationFilterInput
|
||||
id: LongOperationFilterInput
|
||||
images: ListFilterInputTypeOfImageFilterInput
|
||||
isDefault: BooleanOperationFilterInput
|
||||
isOfficial: BooleanOperationFilterInput
|
||||
latestRelease: ReleaseFilterInput
|
||||
latestReleaseId: LongOperationFilterInput
|
||||
@@ -344,10 +320,8 @@ input EntryFilterInput {
|
||||
or: [EntryFilterInput!]
|
||||
pluginInfo: PluginInfoFilterInput
|
||||
releases: ListFilterInputTypeOfReleaseFilterInput
|
||||
score: IntOperationFilterInput
|
||||
summary: StringOperationFilterInput
|
||||
tags: ListFilterInputTypeOfTagFilterInput
|
||||
upvoteCount: IntOperationFilterInput
|
||||
}
|
||||
|
||||
input EntrySortInput {
|
||||
@@ -356,20 +330,16 @@ input EntrySortInput {
|
||||
createdAt: SortEnumType
|
||||
description: SortEnumType
|
||||
downloads: SortEnumType
|
||||
downvoteCount: SortEnumType
|
||||
entryType: SortEnumType
|
||||
icon: ImageSortInput
|
||||
iconId: SortEnumType
|
||||
id: SortEnumType
|
||||
isDefault: SortEnumType
|
||||
isOfficial: SortEnumType
|
||||
latestRelease: ReleaseSortInput
|
||||
latestReleaseId: SortEnumType
|
||||
name: SortEnumType
|
||||
pluginInfo: PluginInfoSortInput
|
||||
score: SortEnumType
|
||||
summary: SortEnumType
|
||||
upvoteCount: SortEnumType
|
||||
}
|
||||
|
||||
input EntryTypeOperationFilterInput {
|
||||
@@ -610,7 +580,6 @@ input UpdateEntryInput {
|
||||
categories: [Long!]!
|
||||
description: String!
|
||||
id: Long!
|
||||
isDefault: Boolean!
|
||||
name: String!
|
||||
summary: String!
|
||||
tags: [String!]!
|
||||
@@ -635,23 +604,3 @@ input UuidOperationFilterInput {
|
||||
nlt: UUID
|
||||
nlte: UUID
|
||||
}
|
||||
|
||||
input VoteFilterInput {
|
||||
and: [VoteFilterInput!]
|
||||
entry: EntryFilterInput
|
||||
entryId: LongOperationFilterInput
|
||||
id: LongOperationFilterInput
|
||||
or: [VoteFilterInput!]
|
||||
upvote: BooleanOperationFilterInput
|
||||
userId: UuidOperationFilterInput
|
||||
votedAt: DateTimeOperationFilterInput
|
||||
}
|
||||
|
||||
input VoteSortInput {
|
||||
entry: EntrySortInput
|
||||
entryId: SortEnumType
|
||||
id: SortEnumType
|
||||
upvote: SortEnumType
|
||||
userId: SortEnumType
|
||||
votedAt: SortEnumType
|
||||
}
|
||||
Reference in new issue
Block a user