mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-11 11:26:27 +00:00
Use real backend
This commit is contained in:
1 parent
428bbd73e3
commit
1c07bef3cf
8 files changed
+43
-30
No files matched your search
@@ -32,7 +32,8 @@ type EntriesEdge {
|
||||
}
|
||||
|
||||
type Entry {
|
||||
author: UUID!
|
||||
author: String!
|
||||
authorId: UUID!
|
||||
categories: [Category!]!
|
||||
createdAt: DateTime!
|
||||
description: String!
|
||||
@@ -83,6 +84,7 @@ type Query {
|
||||
where: EntryFilterInput
|
||||
): EntriesConnection
|
||||
entry(id: UUID!): Entry
|
||||
searchEntries(input: String!, order: [EntrySortInput!], type: EntryType, where: EntryFilterInput): [Entry!]!
|
||||
}
|
||||
|
||||
type Release {
|
||||
@@ -90,6 +92,7 @@ type Release {
|
||||
downloadSize: Long!
|
||||
downloads: Long!
|
||||
entry: Entry!
|
||||
entryId: UUID!
|
||||
id: UUID!
|
||||
md5Hash: String
|
||||
version: String!
|
||||
@@ -100,6 +103,12 @@ type Tag {
|
||||
name: String!
|
||||
}
|
||||
|
||||
enum ApplyPolicy {
|
||||
AFTER_RESOLVER
|
||||
BEFORE_RESOLVER
|
||||
VALIDATION
|
||||
}
|
||||
|
||||
enum EntryType {
|
||||
LAYOUT
|
||||
PLUGIN
|
||||
@@ -150,7 +159,8 @@ input DateTimeOperationFilterInput {
|
||||
|
||||
input EntryFilterInput {
|
||||
and: [EntryFilterInput!]
|
||||
author: UuidOperationFilterInput
|
||||
author: StringOperationFilterInput
|
||||
authorId: UuidOperationFilterInput
|
||||
categories: ListFilterInputTypeOfCategoryFilterInput
|
||||
createdAt: DateTimeOperationFilterInput
|
||||
description: StringOperationFilterInput
|
||||
@@ -175,6 +185,7 @@ input EntryInput {
|
||||
|
||||
input EntrySortInput {
|
||||
author: SortEnumType
|
||||
authorId: SortEnumType
|
||||
createdAt: SortEnumType
|
||||
description: SortEnumType
|
||||
downloads: SortEnumType
|
||||
@@ -268,6 +279,7 @@ input ReleaseFilterInput {
|
||||
downloadSize: LongOperationFilterInput
|
||||
downloads: LongOperationFilterInput
|
||||
entry: EntryFilterInput
|
||||
entryId: UuidOperationFilterInput
|
||||
id: UuidOperationFilterInput
|
||||
md5Hash: StringOperationFilterInput
|
||||
or: [ReleaseFilterInput!]
|
||||
|
||||
Reference in new issue
Block a user