Compare commits

..

1 Commits

Author SHA1 Message Date
0259284544 Add doesUsenameExist query
Some checks failed
Tests / Tests (pull_request) Failing after 15s
2024-10-31 15:08:36 +01:00
5 changed files with 1804 additions and 5579 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -3,7 +3,7 @@ query GetFeed(
$after: String = null
$filters: VideoFilterInput = null
) {
getFeedVideos(limit: $limit, after: $after, filters: $filters) {
getUserVideos(limit: $limit, after: $after, filters: $filters) {
videos {
id
owner {

View File

@@ -67,14 +67,12 @@ query GetShotsWithMetadataFilterResult(
$shotsOrdering: GetShotsOrdering
$limit: Int
$ids: [Int!]
$countRespectsLimit: Boolean
) {
getOrderedShots(
filterInput: $filterInput
shotsOrdering: $shotsOrdering
limit: $limit
ids: $ids
countRespectsLimit: $countRespectsLimit
) {
count
shots {

View File

@@ -134,4 +134,4 @@ query getUserFollowingFollowers {
query doesUsernameExist($candidateUsername: String!) {
doesUsernameExist(candidateUsername: $candidateUsername)
}
}

View File

@@ -15,20 +15,17 @@ type Query {
ids: [Int!] = null
shotsOrdering: GetShotsOrdering = null
limit: Int! = 500
countRespectsLimit: Boolean! = false
): GetShotsResult!
getShotsWithMetadata(
filterInput: FilterInput!
ids: [Int!] = null
shotsPagination: GetShotsPagination = null
limit: Int! = 500
countRespectsLimit: Boolean! = false
): GetShotsResult!
getShots(
filterInput: FilterInput!
shotsPagination: GetShotsPagination = null
limit: Int! = 500
countRespectsLimit: Boolean! = false
): [ShotGQL!]!
getShotsByIds(ids: [Int!]!): [ShotGQL!]!
getShotAnnotationTypes(errorTypes: Boolean = false): [ShotAnnotationTypeGQL!]!