Compare commits
13 Commits
kat/user-r
...
eec79b2dc5
Author | SHA1 | Date | |
---|---|---|---|
eec79b2dc5 | |||
464c013095 | |||
e2f4995cad | |||
a43b286e39 | |||
148f5362f0 | |||
4d01e9814d | |||
b9e3e1f310 | |||
b0da48c4fb | |||
1e53dc21ee | |||
5c5014339f | |||
84188a6066 | |||
7c7be319d1 | |||
79784faba1 |
@@ -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"
|
||||||
|
|
||||||
|
|
||||||
|
@@ -2804,14 +2804,14 @@ export type UpdateShotAnnotationsMutation = {
|
|||||||
|
|
||||||
export type GetShotsWithVideoGqlQueryVariables = Exact<{
|
export type GetShotsWithVideoGqlQueryVariables = Exact<{
|
||||||
filterInput: FilterInput;
|
filterInput: FilterInput;
|
||||||
|
shotsOrdering?: InputMaybe<GetShotsOrdering>;
|
||||||
limit?: InputMaybe<Scalars["Int"]["input"]>;
|
limit?: InputMaybe<Scalars["Int"]["input"]>;
|
||||||
}>;
|
}>;
|
||||||
|
|
||||||
export type GetShotsWithVideoGqlQuery = {
|
export type GetShotsWithVideoGqlQuery = {
|
||||||
__typename?: "Query";
|
__typename?: "Query";
|
||||||
getShotsWithMetadata: {
|
getOrderedShots: {
|
||||||
__typename?: "GetShotsResult";
|
__typename?: "GetShotsResult";
|
||||||
ids: Array<number>;
|
|
||||||
shots: Array<{
|
shots: Array<{
|
||||||
__typename?: "ShotGQL";
|
__typename?: "ShotGQL";
|
||||||
id: number;
|
id: number;
|
||||||
@@ -3114,6 +3114,7 @@ export type GetLoggedInUserQuery = {
|
|||||||
username: string;
|
username: string;
|
||||||
isAdmin?: boolean | null;
|
isAdmin?: boolean | null;
|
||||||
profileImageUri?: string | null;
|
profileImageUri?: string | null;
|
||||||
|
fargoRating?: number | null;
|
||||||
activeVideoId?: number | null;
|
activeVideoId?: number | null;
|
||||||
createdAt?: any | null;
|
createdAt?: any | null;
|
||||||
updatedAt?: any | null;
|
updatedAt?: any | null;
|
||||||
@@ -3175,7 +3176,9 @@ export type FollowUserMutation = {
|
|||||||
__typename?: "Mutation";
|
__typename?: "Mutation";
|
||||||
followUser: {
|
followUser: {
|
||||||
__typename?: "UserGQL";
|
__typename?: "UserGQL";
|
||||||
followers?: Array<{ __typename?: "UserGQL"; username: string }> | null;
|
username: string;
|
||||||
|
following?: Array<{ __typename?: "UserGQL"; id: number }> | null;
|
||||||
|
followers?: Array<{ __typename?: "UserGQL"; id: number }> | null;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -3187,7 +3190,9 @@ export type UnfollowUserMutation = {
|
|||||||
__typename?: "Mutation";
|
__typename?: "Mutation";
|
||||||
unfollowUser: {
|
unfollowUser: {
|
||||||
__typename?: "UserGQL";
|
__typename?: "UserGQL";
|
||||||
followers?: Array<{ __typename?: "UserGQL"; username: string }> | null;
|
username: string;
|
||||||
|
following?: Array<{ __typename?: "UserGQL"; id: number }> | null;
|
||||||
|
followers?: Array<{ __typename?: "UserGQL"; id: number }> | null;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -4471,9 +4476,16 @@ export type UpdateShotAnnotationsMutationOptions = Apollo.BaseMutationOptions<
|
|||||||
UpdateShotAnnotationsMutationVariables
|
UpdateShotAnnotationsMutationVariables
|
||||||
>;
|
>;
|
||||||
export const GetShotsWithVideoGqlDocument = gql`
|
export const GetShotsWithVideoGqlDocument = gql`
|
||||||
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
|
||||||
@@ -4499,6 +4511,7 @@ export const GetShotsWithVideoGqlDocument = gql`
|
|||||||
* const { data, loading, error } = useGetShotsWithVideoGqlQuery({
|
* const { data, loading, error } = useGetShotsWithVideoGqlQuery({
|
||||||
* variables: {
|
* variables: {
|
||||||
* filterInput: // value for 'filterInput'
|
* filterInput: // value for 'filterInput'
|
||||||
|
* shotsOrdering: // value for 'shotsOrdering'
|
||||||
* limit: // value for 'limit'
|
* limit: // value for 'limit'
|
||||||
* },
|
* },
|
||||||
* });
|
* });
|
||||||
@@ -4936,6 +4949,7 @@ export const GetLoggedInUserDocument = gql`
|
|||||||
username
|
username
|
||||||
isAdmin
|
isAdmin
|
||||||
profileImageUri
|
profileImageUri
|
||||||
|
fargoRating
|
||||||
activeVideoId
|
activeVideoId
|
||||||
createdAt
|
createdAt
|
||||||
updatedAt
|
updatedAt
|
||||||
@@ -5324,8 +5338,12 @@ export type GetUserTagsQueryResult = Apollo.QueryResult<
|
|||||||
export const FollowUserDocument = gql`
|
export const FollowUserDocument = gql`
|
||||||
mutation followUser($followedUserId: Int!) {
|
mutation followUser($followedUserId: Int!) {
|
||||||
followUser(followedUserId: $followedUserId) {
|
followUser(followedUserId: $followedUserId) {
|
||||||
followers {
|
|
||||||
username
|
username
|
||||||
|
following {
|
||||||
|
id
|
||||||
|
}
|
||||||
|
followers {
|
||||||
|
id
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -5376,8 +5394,12 @@ export type FollowUserMutationOptions = Apollo.BaseMutationOptions<
|
|||||||
export const UnfollowUserDocument = gql`
|
export const UnfollowUserDocument = gql`
|
||||||
mutation unfollowUser($followedUserId: Int!) {
|
mutation unfollowUser($followedUserId: Int!) {
|
||||||
unfollowUser(followedUserId: $followedUserId) {
|
unfollowUser(followedUserId: $followedUserId) {
|
||||||
followers {
|
|
||||||
username
|
username
|
||||||
|
following {
|
||||||
|
id
|
||||||
|
}
|
||||||
|
followers {
|
||||||
|
id
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -40,9 +40,16 @@ mutation UpdateShotAnnotations(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
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
|
||||||
@@ -89,16 +90,24 @@ query GetUserTags {
|
|||||||
|
|
||||||
mutation followUser($followedUserId: Int!) {
|
mutation followUser($followedUserId: Int!) {
|
||||||
followUser(followedUserId: $followedUserId) {
|
followUser(followedUserId: $followedUserId) {
|
||||||
followers {
|
|
||||||
username
|
username
|
||||||
|
following {
|
||||||
|
id
|
||||||
|
}
|
||||||
|
followers {
|
||||||
|
id
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
mutation unfollowUser($followedUserId: Int!) {
|
mutation unfollowUser($followedUserId: Int!) {
|
||||||
unfollowUser(followedUserId: $followedUserId) {
|
unfollowUser(followedUserId: $followedUserId) {
|
||||||
followers {
|
|
||||||
username
|
username
|
||||||
|
following {
|
||||||
|
id
|
||||||
|
}
|
||||||
|
followers {
|
||||||
|
id
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user