connect gql

This commit is contained in:
2025-05-16 12:25:27 -07:00
parent ae746ccac0
commit 7c8c932a78
2 changed files with 168 additions and 16 deletions

View File

@@ -14,6 +14,16 @@ query GetFeed(
}
}
}
fragment UserSocialsFields on UserGQL {
id
username
profileImageUri
followers {
id
username
profileImageUri
}
}
fragment VideoCardFields on VideoGQL {
id
@@ -62,17 +72,24 @@ fragment VideoCardFields on VideoGQL {
reactions {
videoId
user {
id
username
profileImageUri
followers {
id
username
profileImageUri
}
...UserSocialsFields
}
reaction
}
comments {
id
message
user {
...UserSocialsFields
}
replies {
id
message
user {
...UserSocialsFields
}
}
}
}
query GetVideoFeed(