Compare commits
48 Commits
f98c98ecdd
...
volodymyr/
Author | SHA1 | Date | |
---|---|---|---|
0259284544 | |||
1710ae451c | |||
de9e7dea6a | |||
cfcf1dbcd2 | |||
05e3182e8b | |||
baf139aab5 | |||
b3b454ef83 | |||
f6e4a1bc0b | |||
9d8155527d | |||
8690e81029 | |||
4ef13a482a | |||
9db95c4e6c | |||
249807c935 | |||
eec79b2dc5 | |||
464c013095 | |||
e2f4995cad | |||
a43b286e39 | |||
148f5362f0 | |||
4d01e9814d | |||
b9e3e1f310 | |||
b0da48c4fb | |||
1e53dc21ee | |||
5c5014339f | |||
84188a6066 | |||
7c7be319d1 | |||
79784faba1 | |||
f3ea44755c | |||
9b6559559c | |||
2398216bf2 | |||
d942b91d17 | |||
24d9b9225e | |||
f6f6404302 | |||
4609af726b | |||
c5919c90d0 | |||
605adc3293 | |||
b40554d38d | |||
194d7c66a0 | |||
3adc301935 | |||
9232c673e8 | |||
c2cb411469 | |||
44ddc732a1 | |||
d6ef3e0487 | |||
8c191bdb90 | |||
8246699915 | |||
de9d47c289 | |||
39b1808cab | |||
a78f9e7b9d | |||
f573026853 |
@@ -7,7 +7,7 @@ readme = "README.md"
|
|||||||
packages = [{include = "rbproto"}]
|
packages = [{include = "rbproto"}]
|
||||||
|
|
||||||
[tool.poetry.dependencies]
|
[tool.poetry.dependencies]
|
||||||
python = ">=3.10,<3.12"
|
python = ">=3.10,<=3.13"
|
||||||
protobuf = "^4.25.3"
|
protobuf = "^4.25.3"
|
||||||
|
|
||||||
|
|
||||||
|
7205
src/index.tsx
7205
src/index.tsx
File diff suppressed because it is too large
Load Diff
@@ -21,6 +21,7 @@ query GetFeed(
|
|||||||
elapsedTime
|
elapsedTime
|
||||||
screenshotUri
|
screenshotUri
|
||||||
stream {
|
stream {
|
||||||
|
id
|
||||||
isCompleted
|
isCompleted
|
||||||
}
|
}
|
||||||
tableSize
|
tableSize
|
||||||
|
@@ -22,23 +22,34 @@ mutation UpdateShotAnnotations(
|
|||||||
$annotations: [UpdateAnnotationInputGQL!]!
|
$annotations: [UpdateAnnotationInputGQL!]!
|
||||||
) {
|
) {
|
||||||
updateShotAnnotations(shotId: $shotId, annotations: $annotations) {
|
updateShotAnnotations(shotId: $shotId, annotations: $annotations) {
|
||||||
value {
|
shot {
|
||||||
... on SuccessfulUpdate {
|
id
|
||||||
value
|
annotations {
|
||||||
}
|
shotId
|
||||||
... on UpdateShotAnnotationErrors {
|
type {
|
||||||
error {
|
id
|
||||||
shotId
|
name
|
||||||
msg
|
|
||||||
}
|
}
|
||||||
|
notes
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
error {
|
||||||
|
shotId
|
||||||
|
msg
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
query GetShotsWithVideoGql($filterInput: FilterInput!, $limit: Int) {
|
query GetShotsWithVideoGql(
|
||||||
getShotsWithMetadata(filterInput: $filterInput, limit: $limit) {
|
$filterInput: FilterInput!
|
||||||
ids
|
$shotsOrdering: GetShotsOrdering
|
||||||
|
$limit: Int
|
||||||
|
) {
|
||||||
|
getOrderedShots(
|
||||||
|
filterInput: $filterInput
|
||||||
|
shotsOrdering: $shotsOrdering
|
||||||
|
limit: $limit
|
||||||
|
) {
|
||||||
shots {
|
shots {
|
||||||
id
|
id
|
||||||
videoId
|
videoId
|
||||||
|
@@ -37,6 +37,7 @@ query getLoggedInUser {
|
|||||||
username
|
username
|
||||||
isAdmin
|
isAdmin
|
||||||
profileImageUri
|
profileImageUri
|
||||||
|
fargoRating
|
||||||
activeVideoId
|
activeVideoId
|
||||||
createdAt
|
createdAt
|
||||||
updatedAt
|
updatedAt
|
||||||
@@ -57,9 +58,80 @@ query getUsernames(
|
|||||||
getUsernames(matchString: $matchString, limit: $limit, after: $after)
|
getUsernames(matchString: $matchString, limit: $limit, after: $after)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
query getUserRelationshipsMatching(
|
||||||
|
$userId: Int!
|
||||||
|
$matchString: String!
|
||||||
|
$limit: Int = null
|
||||||
|
$after: String = null
|
||||||
|
) {
|
||||||
|
getUserRelationshipsMatching(
|
||||||
|
userId: $userId
|
||||||
|
matchString: $matchString
|
||||||
|
limit: $limit
|
||||||
|
after: $after
|
||||||
|
) {
|
||||||
|
relationships {
|
||||||
|
toUser {
|
||||||
|
username
|
||||||
|
id
|
||||||
|
}
|
||||||
|
toUserFollows
|
||||||
|
toUserIsFollowedBy
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
query GetUserTags {
|
query GetUserTags {
|
||||||
getUserTags {
|
getUserTags {
|
||||||
id
|
id
|
||||||
name
|
name
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
mutation followUser($followedUserId: Int!) {
|
||||||
|
followUser(followedUserId: $followedUserId) {
|
||||||
|
username
|
||||||
|
id
|
||||||
|
following {
|
||||||
|
id
|
||||||
|
username
|
||||||
|
}
|
||||||
|
followers {
|
||||||
|
id
|
||||||
|
username
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
mutation unfollowUser($followedUserId: Int!) {
|
||||||
|
unfollowUser(followedUserId: $followedUserId) {
|
||||||
|
username
|
||||||
|
id
|
||||||
|
following {
|
||||||
|
id
|
||||||
|
username
|
||||||
|
}
|
||||||
|
followers {
|
||||||
|
id
|
||||||
|
username
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
query getUserFollowingFollowers {
|
||||||
|
getLoggedInUser {
|
||||||
|
id
|
||||||
|
following {
|
||||||
|
id
|
||||||
|
username
|
||||||
|
}
|
||||||
|
followers {
|
||||||
|
id
|
||||||
|
username
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
query doesUsernameExist($candidateUsername: String!) {
|
||||||
|
doesUsernameExist(candidateUsername: $candidateUsername)
|
||||||
|
}
|
@@ -45,6 +45,7 @@ query GetStreamMonitoringDetails($videoId: Int!, $debuggingJson: JSON) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
stream {
|
stream {
|
||||||
|
id
|
||||||
linksRequested
|
linksRequested
|
||||||
uploadsCompleted
|
uploadsCompleted
|
||||||
segmentProcessingCursor
|
segmentProcessingCursor
|
||||||
@@ -194,6 +195,7 @@ query GetVideo($videoId: Int!) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
stream {
|
stream {
|
||||||
|
id
|
||||||
streamSegmentType
|
streamSegmentType
|
||||||
segments {
|
segments {
|
||||||
segmentIndex
|
segmentIndex
|
||||||
|
@@ -9,6 +9,7 @@ type Query {
|
|||||||
videoId: ID!
|
videoId: ID!
|
||||||
intervalDuration: Int! = 300
|
intervalDuration: Int! = 300
|
||||||
): [MakePercentageIntervalGQL!]!
|
): [MakePercentageIntervalGQL!]!
|
||||||
|
getMedals(scope: MedalScope!, userId: Int = null): RequestedMedalsGQL!
|
||||||
getOrderedShots(
|
getOrderedShots(
|
||||||
filterInput: FilterInput!
|
filterInput: FilterInput!
|
||||||
ids: [Int!] = null
|
ids: [Int!] = null
|
||||||
@@ -29,18 +30,19 @@ type Query {
|
|||||||
getShotsByIds(ids: [Int!]!): [ShotGQL!]!
|
getShotsByIds(ids: [Int!]!): [ShotGQL!]!
|
||||||
getShotAnnotationTypes(errorTypes: Boolean = false): [ShotAnnotationTypeGQL!]!
|
getShotAnnotationTypes(errorTypes: Boolean = false): [ShotAnnotationTypeGQL!]!
|
||||||
getUser(userId: Int!): UserGQL
|
getUser(userId: Int!): UserGQL
|
||||||
|
doesUsernameExist(candidateUsername: String!): Boolean!
|
||||||
getLoggedInUser: UserGQL
|
getLoggedInUser: UserGQL
|
||||||
getUsernames(
|
getUsernames(
|
||||||
matchString: String = null
|
matchString: String = null
|
||||||
limit: Int = null
|
limit: Int = null
|
||||||
after: String = null
|
after: String = null
|
||||||
): [String!]!
|
): [String!]!
|
||||||
getUsernamesAndFollowing(
|
getUserRelationshipsMatching(
|
||||||
userId: Int!
|
userId: Int!
|
||||||
matchString: String = null
|
matchString: String = null
|
||||||
limit: Int = 100
|
limit: Int = 100
|
||||||
after: String = null
|
after: String = null
|
||||||
): UsernamesAndFollowingResponse!
|
): UserRelationshipsResult!
|
||||||
getPlayTime(userId: Int!): UserPlayTimeGQL!
|
getPlayTime(userId: Int!): UserPlayTimeGQL!
|
||||||
getUserVideos(
|
getUserVideos(
|
||||||
userId: Int = null
|
userId: Int = null
|
||||||
@@ -266,6 +268,52 @@ type MakePercentageIntervalGQL {
|
|||||||
elapsedTime: Float!
|
elapsedTime: Float!
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type RequestedMedalsGQL {
|
||||||
|
distanceOver66: MedalGQL
|
||||||
|
distanceOver78: MedalGQL
|
||||||
|
distanceOver90: MedalGQL
|
||||||
|
runLength3: MedalGQL
|
||||||
|
runLength5: MedalGQL
|
||||||
|
runLength8: MedalGQL
|
||||||
|
runLength10: MedalGQL
|
||||||
|
runLength15: MedalGQL
|
||||||
|
runLength20: MedalGQL
|
||||||
|
runLength25: MedalGQL
|
||||||
|
runLength30: MedalGQL
|
||||||
|
runLength40: MedalGQL
|
||||||
|
runLength50: MedalGQL
|
||||||
|
totalMakes25: MedalGQL
|
||||||
|
totalMakes50: MedalGQL
|
||||||
|
totalMakes75: MedalGQL
|
||||||
|
totalMakes100: MedalGQL
|
||||||
|
totalMakes200: MedalGQL
|
||||||
|
totalMakes300: MedalGQL
|
||||||
|
totalMakes400: MedalGQL
|
||||||
|
totalMakes500: MedalGQL
|
||||||
|
totalMakes750: MedalGQL
|
||||||
|
totalMakes1000: MedalGQL
|
||||||
|
dayStreak2: MedalGQL
|
||||||
|
dayStreak3: MedalGQL
|
||||||
|
dayStreak4: MedalGQL
|
||||||
|
dayStreak5: MedalGQL
|
||||||
|
dayStreak6: MedalGQL
|
||||||
|
dayStreak7: MedalGQL
|
||||||
|
dayStreak14: MedalGQL
|
||||||
|
dayStreak21: MedalGQL
|
||||||
|
dayStreak30: MedalGQL
|
||||||
|
dayStreak60: MedalGQL
|
||||||
|
dayStreak90: MedalGQL
|
||||||
|
}
|
||||||
|
|
||||||
|
type MedalGQL {
|
||||||
|
count: Int!
|
||||||
|
}
|
||||||
|
|
||||||
|
input MedalScope @oneOf {
|
||||||
|
videoId: Int
|
||||||
|
interval: TimeInterval
|
||||||
|
}
|
||||||
|
|
||||||
type GetShotsResult {
|
type GetShotsResult {
|
||||||
shots: [ShotGQL!]!
|
shots: [ShotGQL!]!
|
||||||
count: Int
|
count: Int
|
||||||
@@ -341,16 +389,16 @@ type SerializedShotPathsGQL {
|
|||||||
|
|
||||||
type UserGQL {
|
type UserGQL {
|
||||||
id: Int!
|
id: Int!
|
||||||
firebaseUid: String!
|
firebaseUid: String
|
||||||
username: String!
|
username: String!
|
||||||
isAdmin: Boolean!
|
isAdmin: Boolean
|
||||||
fargoRating: Int
|
fargoRating: Int
|
||||||
activeVideoId: Int
|
activeVideoId: Int
|
||||||
profileImageUri: String
|
profileImageUri: String
|
||||||
createdAt: DateTime
|
createdAt: DateTime
|
||||||
updatedAt: DateTime
|
updatedAt: DateTime
|
||||||
following: [Int!]
|
following: [UserGQL!]
|
||||||
followers: [Int!]
|
followers: [UserGQL!]
|
||||||
}
|
}
|
||||||
|
|
||||||
type ShotAnnotationGQL {
|
type ShotAnnotationGQL {
|
||||||
@@ -554,10 +602,15 @@ input CreatedAfter @oneOf {
|
|||||||
createdAt: DateTime
|
createdAt: DateTime
|
||||||
}
|
}
|
||||||
|
|
||||||
type UsernamesAndFollowingResponse {
|
type UserRelationshipsResult {
|
||||||
usernames: [String!]!
|
inquiringUser: UserGQL!
|
||||||
following: [Int!]!
|
relationships: [UserRelationship!]!
|
||||||
followers: [Int!]!
|
}
|
||||||
|
|
||||||
|
type UserRelationship {
|
||||||
|
toUser: UserGQL!
|
||||||
|
toUserFollows: Boolean!
|
||||||
|
toUserIsFollowedBy: Boolean!
|
||||||
}
|
}
|
||||||
|
|
||||||
type UserPlayTimeGQL {
|
type UserPlayTimeGQL {
|
||||||
@@ -662,18 +715,7 @@ type OtherErrorNeedsNote {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type UpdateShotAnnotationReturn {
|
type UpdateShotAnnotationReturn {
|
||||||
value: SuccessfulUpdateUpdateShotAnnotationErrors!
|
shot: ShotGQL
|
||||||
}
|
|
||||||
|
|
||||||
union SuccessfulUpdateUpdateShotAnnotationErrors =
|
|
||||||
SuccessfulUpdate
|
|
||||||
| UpdateShotAnnotationErrors
|
|
||||||
|
|
||||||
type SuccessfulUpdate {
|
|
||||||
value: Boolean!
|
|
||||||
}
|
|
||||||
|
|
||||||
type UpdateShotAnnotationErrors {
|
|
||||||
error: DoesNotOwnShotErr
|
error: DoesNotOwnShotErr
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user