connect gql
This commit is contained in:
parent
ae746ccac0
commit
7c8c932a78
151
src/index.tsx
151
src/index.tsx
@ -3298,6 +3298,40 @@ export type GetFeedQuery = {
|
|||||||
}> | null;
|
}> | null;
|
||||||
};
|
};
|
||||||
}>;
|
}>;
|
||||||
|
comments: Array<{
|
||||||
|
__typename?: "CommentGQL";
|
||||||
|
id: number;
|
||||||
|
message: string;
|
||||||
|
user: {
|
||||||
|
__typename?: "UserGQL";
|
||||||
|
id: number;
|
||||||
|
username: string;
|
||||||
|
profileImageUri?: string | null;
|
||||||
|
followers?: Array<{
|
||||||
|
__typename?: "UserGQL";
|
||||||
|
id: number;
|
||||||
|
username: string;
|
||||||
|
profileImageUri?: string | null;
|
||||||
|
}> | null;
|
||||||
|
};
|
||||||
|
replies: Array<{
|
||||||
|
__typename?: "CommentGQL";
|
||||||
|
id: number;
|
||||||
|
message: string;
|
||||||
|
user: {
|
||||||
|
__typename?: "UserGQL";
|
||||||
|
id: number;
|
||||||
|
username: string;
|
||||||
|
profileImageUri?: string | null;
|
||||||
|
followers?: Array<{
|
||||||
|
__typename?: "UserGQL";
|
||||||
|
id: number;
|
||||||
|
username: string;
|
||||||
|
profileImageUri?: string | null;
|
||||||
|
}> | null;
|
||||||
|
};
|
||||||
|
}>;
|
||||||
|
}>;
|
||||||
}>;
|
}>;
|
||||||
pageInfo: {
|
pageInfo: {
|
||||||
__typename?: "PageInfoGQL";
|
__typename?: "PageInfoGQL";
|
||||||
@ -3307,6 +3341,19 @@ export type GetFeedQuery = {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export type UserSocialsFieldsFragment = {
|
||||||
|
__typename?: "UserGQL";
|
||||||
|
id: number;
|
||||||
|
username: string;
|
||||||
|
profileImageUri?: string | null;
|
||||||
|
followers?: Array<{
|
||||||
|
__typename?: "UserGQL";
|
||||||
|
id: number;
|
||||||
|
username: string;
|
||||||
|
profileImageUri?: string | null;
|
||||||
|
}> | null;
|
||||||
|
};
|
||||||
|
|
||||||
export type VideoCardFieldsFragment = {
|
export type VideoCardFieldsFragment = {
|
||||||
__typename?: "VideoGQL";
|
__typename?: "VideoGQL";
|
||||||
id: number;
|
id: number;
|
||||||
@ -3369,6 +3416,40 @@ export type VideoCardFieldsFragment = {
|
|||||||
}> | null;
|
}> | null;
|
||||||
};
|
};
|
||||||
}>;
|
}>;
|
||||||
|
comments: Array<{
|
||||||
|
__typename?: "CommentGQL";
|
||||||
|
id: number;
|
||||||
|
message: string;
|
||||||
|
user: {
|
||||||
|
__typename?: "UserGQL";
|
||||||
|
id: number;
|
||||||
|
username: string;
|
||||||
|
profileImageUri?: string | null;
|
||||||
|
followers?: Array<{
|
||||||
|
__typename?: "UserGQL";
|
||||||
|
id: number;
|
||||||
|
username: string;
|
||||||
|
profileImageUri?: string | null;
|
||||||
|
}> | null;
|
||||||
|
};
|
||||||
|
replies: Array<{
|
||||||
|
__typename?: "CommentGQL";
|
||||||
|
id: number;
|
||||||
|
message: string;
|
||||||
|
user: {
|
||||||
|
__typename?: "UserGQL";
|
||||||
|
id: number;
|
||||||
|
username: string;
|
||||||
|
profileImageUri?: string | null;
|
||||||
|
followers?: Array<{
|
||||||
|
__typename?: "UserGQL";
|
||||||
|
id: number;
|
||||||
|
username: string;
|
||||||
|
profileImageUri?: string | null;
|
||||||
|
}> | null;
|
||||||
|
};
|
||||||
|
}>;
|
||||||
|
}>;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type GetVideoFeedQueryVariables = Exact<{
|
export type GetVideoFeedQueryVariables = Exact<{
|
||||||
@ -3449,6 +3530,40 @@ export type GetVideoFeedQuery = {
|
|||||||
}> | null;
|
}> | null;
|
||||||
};
|
};
|
||||||
}>;
|
}>;
|
||||||
|
comments: Array<{
|
||||||
|
__typename?: "CommentGQL";
|
||||||
|
id: number;
|
||||||
|
message: string;
|
||||||
|
user: {
|
||||||
|
__typename?: "UserGQL";
|
||||||
|
id: number;
|
||||||
|
username: string;
|
||||||
|
profileImageUri?: string | null;
|
||||||
|
followers?: Array<{
|
||||||
|
__typename?: "UserGQL";
|
||||||
|
id: number;
|
||||||
|
username: string;
|
||||||
|
profileImageUri?: string | null;
|
||||||
|
}> | null;
|
||||||
|
};
|
||||||
|
replies: Array<{
|
||||||
|
__typename?: "CommentGQL";
|
||||||
|
id: number;
|
||||||
|
message: string;
|
||||||
|
user: {
|
||||||
|
__typename?: "UserGQL";
|
||||||
|
id: number;
|
||||||
|
username: string;
|
||||||
|
profileImageUri?: string | null;
|
||||||
|
followers?: Array<{
|
||||||
|
__typename?: "UserGQL";
|
||||||
|
id: number;
|
||||||
|
username: string;
|
||||||
|
profileImageUri?: string | null;
|
||||||
|
}> | null;
|
||||||
|
};
|
||||||
|
}>;
|
||||||
|
}>;
|
||||||
}>;
|
}>;
|
||||||
pageInfo: {
|
pageInfo: {
|
||||||
__typename?: "PageInfoGQL";
|
__typename?: "PageInfoGQL";
|
||||||
@ -5192,6 +5307,18 @@ export type GetUploadStreamsWithDetailsQuery = {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export const UserSocialsFieldsFragmentDoc = gql`
|
||||||
|
fragment UserSocialsFields on UserGQL {
|
||||||
|
id
|
||||||
|
username
|
||||||
|
profileImageUri
|
||||||
|
followers {
|
||||||
|
id
|
||||||
|
username
|
||||||
|
profileImageUri
|
||||||
|
}
|
||||||
|
}
|
||||||
|
`;
|
||||||
export const VideoCardFieldsFragmentDoc = gql`
|
export const VideoCardFieldsFragmentDoc = gql`
|
||||||
fragment VideoCardFields on VideoGQL {
|
fragment VideoCardFields on VideoGQL {
|
||||||
id
|
id
|
||||||
@ -5240,18 +5367,26 @@ export const VideoCardFieldsFragmentDoc = gql`
|
|||||||
reactions {
|
reactions {
|
||||||
videoId
|
videoId
|
||||||
user {
|
user {
|
||||||
id
|
...UserSocialsFields
|
||||||
username
|
|
||||||
profileImageUri
|
|
||||||
followers {
|
|
||||||
id
|
|
||||||
username
|
|
||||||
profileImageUri
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
reaction
|
reaction
|
||||||
}
|
}
|
||||||
|
comments {
|
||||||
|
id
|
||||||
|
message
|
||||||
|
user {
|
||||||
|
...UserSocialsFields
|
||||||
|
}
|
||||||
|
replies {
|
||||||
|
id
|
||||||
|
message
|
||||||
|
user {
|
||||||
|
...UserSocialsFields
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
${UserSocialsFieldsFragmentDoc}
|
||||||
`;
|
`;
|
||||||
export const MedalFieldsFragmentDoc = gql`
|
export const MedalFieldsFragmentDoc = gql`
|
||||||
fragment MedalFields on MedalGQL {
|
fragment MedalFields on MedalGQL {
|
||||||
|
@ -14,6 +14,16 @@ query GetFeed(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
fragment UserSocialsFields on UserGQL {
|
||||||
|
id
|
||||||
|
username
|
||||||
|
profileImageUri
|
||||||
|
followers {
|
||||||
|
id
|
||||||
|
username
|
||||||
|
profileImageUri
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
fragment VideoCardFields on VideoGQL {
|
fragment VideoCardFields on VideoGQL {
|
||||||
id
|
id
|
||||||
@ -62,17 +72,24 @@ fragment VideoCardFields on VideoGQL {
|
|||||||
reactions {
|
reactions {
|
||||||
videoId
|
videoId
|
||||||
user {
|
user {
|
||||||
id
|
...UserSocialsFields
|
||||||
username
|
|
||||||
profileImageUri
|
|
||||||
followers {
|
|
||||||
id
|
|
||||||
username
|
|
||||||
profileImageUri
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
reaction
|
reaction
|
||||||
}
|
}
|
||||||
|
comments {
|
||||||
|
id
|
||||||
|
message
|
||||||
|
user {
|
||||||
|
...UserSocialsFields
|
||||||
|
}
|
||||||
|
replies {
|
||||||
|
id
|
||||||
|
message
|
||||||
|
user {
|
||||||
|
...UserSocialsFields
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
query GetVideoFeed(
|
query GetVideoFeed(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user