Compare commits
	
		
			43 Commits
		
	
	
		
			kat/follow
			...
			9db95c4e6c
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 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 | |||
| f98c98ecdd | |||
| 3f6314aab7 | |||
| 3051c155e2 | |||
| e686be5acd | |||
| d49f9b213a | |||
| 8f346d7832 | 
| @@ -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" | ||||||
|  |  | ||||||
|  |  | ||||||
|   | |||||||
							
								
								
									
										671
									
								
								src/index.tsx
									
									
									
									
									
								
							
							
						
						
									
										671
									
								
								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 | ||||||
|   | |||||||
| @@ -17,9 +17,39 @@ query GetShotAnnotationTypes { | |||||||
|   } |   } | ||||||
| } | } | ||||||
|  |  | ||||||
| query GetShotsWithVideoGql($filterInput: FilterInput!, $limit: Int) { | mutation UpdateShotAnnotations( | ||||||
|   getShotsWithMetadata(filterInput: $filterInput, limit: $limit) { |   $shotId: Int! | ||||||
|     ids |   $annotations: [UpdateAnnotationInputGQL!]! | ||||||
|  | ) { | ||||||
|  |   updateShotAnnotations(shotId: $shotId, annotations: $annotations) { | ||||||
|  |     shot { | ||||||
|  |       id | ||||||
|  |       annotations { | ||||||
|  |         shotId | ||||||
|  |         type { | ||||||
|  |           id | ||||||
|  |           name | ||||||
|  |         } | ||||||
|  |         notes | ||||||
|  |       } | ||||||
|  |     } | ||||||
|  |     error { | ||||||
|  |       shotId | ||||||
|  |       msg | ||||||
|  |     } | ||||||
|  |   } | ||||||
|  | } | ||||||
|  |  | ||||||
|  | query GetShotsWithVideoGql( | ||||||
|  |   $filterInput: FilterInput! | ||||||
|  |   $shotsOrdering: GetShotsOrdering | ||||||
|  |   $limit: Int | ||||||
|  | ) { | ||||||
|  |   getOrderedShots( | ||||||
|  |     filterInput: $filterInput | ||||||
|  |     shotsOrdering: $shotsOrdering | ||||||
|  |     limit: $limit | ||||||
|  |   ) { | ||||||
|     shots { |     shots { | ||||||
|       id |       id | ||||||
|       videoId |       videoId | ||||||
| @@ -115,4 +145,12 @@ fragment ShotWithAllFeatures on ShotGQL { | |||||||
|   serializedShotPaths { |   serializedShotPaths { | ||||||
|     b64EncodedBuffer |     b64EncodedBuffer | ||||||
|   } |   } | ||||||
|  |   annotations { | ||||||
|  |     shotId | ||||||
|  |     type { | ||||||
|  |       id | ||||||
|  |       name | ||||||
|  |     } | ||||||
|  |     notes | ||||||
|  |   } | ||||||
| } | } | ||||||
|   | |||||||
| @@ -37,6 +37,7 @@ query getLoggedInUser { | |||||||
|     username |     username | ||||||
|     isAdmin |     isAdmin | ||||||
|     profileImageUri |     profileImageUri | ||||||
|  |     fargoRating | ||||||
|     activeVideoId |     activeVideoId | ||||||
|     createdAt |     createdAt | ||||||
|     updatedAt |     updatedAt | ||||||
| @@ -57,9 +58,70 @@ 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 | ||||||
|  |     following { | ||||||
|  |       id | ||||||
|  |     } | ||||||
|  |     followers { | ||||||
|  |       id | ||||||
|  |     } | ||||||
|  |   } | ||||||
|  | } | ||||||
|  |  | ||||||
|  | mutation unfollowUser($followedUserId: Int!) { | ||||||
|  |   unfollowUser(followedUserId: $followedUserId) { | ||||||
|  |     username | ||||||
|  |     following { | ||||||
|  |       id | ||||||
|  |     } | ||||||
|  |     followers { | ||||||
|  |       id | ||||||
|  |     } | ||||||
|  |   } | ||||||
|  | } | ||||||
|  |  | ||||||
|  | query getUserFollowingFollowers { | ||||||
|  |   getLoggedInUser { | ||||||
|  |     id | ||||||
|  |     following { | ||||||
|  |       id | ||||||
|  |       username | ||||||
|  |     } | ||||||
|  |     followers { | ||||||
|  |       id | ||||||
|  |       username | ||||||
|  |     } | ||||||
|  |   } | ||||||
|  | } | ||||||
|   | |||||||
| @@ -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 | ||||||
|   | |||||||
| @@ -35,6 +35,12 @@ type Query { | |||||||
|     limit: Int = null |     limit: Int = null | ||||||
|     after: String = null |     after: String = null | ||||||
|   ): [String!]! |   ): [String!]! | ||||||
|  |   getUserRelationshipsMatching( | ||||||
|  |     userId: Int! | ||||||
|  |     matchString: String = null | ||||||
|  |     limit: Int = 100 | ||||||
|  |     after: String = null | ||||||
|  |   ): UserRelationshipsResult! | ||||||
|   getPlayTime(userId: Int!): UserPlayTimeGQL! |   getPlayTime(userId: Int!): UserPlayTimeGQL! | ||||||
|   getUserVideos( |   getUserVideos( | ||||||
|     userId: Int = null |     userId: Int = null | ||||||
| @@ -179,6 +185,7 @@ input FilterInput @oneOf { | |||||||
|   marginOfErrorInDegrees: FloatRangeFilter |   marginOfErrorInDegrees: FloatRangeFilter | ||||||
|   createdAt: DateRangeFilter |   createdAt: DateRangeFilter | ||||||
|   totalDistance: FloatRangeFilter |   totalDistance: FloatRangeFilter | ||||||
|  |   runLength: FloatRangeFilter | ||||||
| } | } | ||||||
|  |  | ||||||
| input FloatRangeFilter { | input FloatRangeFilter { | ||||||
| @@ -334,16 +341,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 { | ||||||
| @@ -519,6 +526,7 @@ input ShotsOrderingComponent @oneOf { | |||||||
|   marginOfError: FloatShotOrdering |   marginOfError: FloatShotOrdering | ||||||
|   videoId: IntShotOrdering |   videoId: IntShotOrdering | ||||||
|   startFrame: IntShotOrdering |   startFrame: IntShotOrdering | ||||||
|  |   runLength: IntShotOrdering | ||||||
| } | } | ||||||
|  |  | ||||||
| input DatetimeShotOrdering { | input DatetimeShotOrdering { | ||||||
| @@ -546,6 +554,17 @@ input CreatedAfter @oneOf { | |||||||
|   createdAt: DateTime |   createdAt: DateTime | ||||||
| } | } | ||||||
|  |  | ||||||
|  | type UserRelationshipsResult { | ||||||
|  |   inquiringUser: UserGQL! | ||||||
|  |   relationships: [UserRelationship!]! | ||||||
|  | } | ||||||
|  |  | ||||||
|  | type UserRelationship { | ||||||
|  |   toUser: UserGQL! | ||||||
|  |   toUserFollows: Boolean! | ||||||
|  |   toUserIsFollowedBy: Boolean! | ||||||
|  | } | ||||||
|  |  | ||||||
| type UserPlayTimeGQL { | type UserPlayTimeGQL { | ||||||
|   totalSeconds: Float! |   totalSeconds: Float! | ||||||
| } | } | ||||||
| @@ -648,18 +667,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