feat(profile): show real telegram avatars in messenger chips
This commit is contained in:
@@ -152,11 +152,14 @@ export enum LoginChannel {
|
||||
|
||||
export type MessengerConnection = {
|
||||
__typename?: 'MessengerConnection';
|
||||
avatarAvailable: Scalars['Boolean']['output'];
|
||||
channelId: Scalars['String']['output'];
|
||||
displayName?: Maybe<Scalars['String']['output']>;
|
||||
id: Scalars['ID']['output'];
|
||||
isActive: Scalars['Boolean']['output'];
|
||||
type: MessengerType;
|
||||
userId: Scalars['ID']['output'];
|
||||
username?: Maybe<Scalars['String']['output']>;
|
||||
};
|
||||
|
||||
export type MessengerDispatchResult = {
|
||||
@@ -619,7 +622,7 @@ export type ConsumeLoginTokenMutation = { __typename?: 'Mutation', consumeLoginT
|
||||
export type MeQueryVariables = Exact<{ [key: string]: never; }>;
|
||||
|
||||
|
||||
export type MeQuery = { __typename?: 'Query', me?: { __typename?: 'User', id: string, email: string } | null };
|
||||
export type MeQuery = { __typename?: 'Query', me?: { __typename?: 'User', id: string, email: string, fullName: string } | null };
|
||||
|
||||
export type RegisterSelfMutationVariables = Exact<{
|
||||
input: RegisterSelfInput;
|
||||
@@ -650,7 +653,7 @@ export type ClientProductsQuery = { __typename?: 'Query', clientProducts: Array<
|
||||
export type MyMessengerConnectionsQueryVariables = Exact<{ [key: string]: never; }>;
|
||||
|
||||
|
||||
export type MyMessengerConnectionsQuery = { __typename?: 'Query', myMessengerConnections: Array<{ __typename?: 'MessengerConnection', id: string, type: MessengerType, channelId: string, isActive: boolean }> };
|
||||
export type MyMessengerConnectionsQuery = { __typename?: 'Query', myMessengerConnections: Array<{ __typename?: 'MessengerConnection', id: string, type: MessengerType, channelId: string, displayName?: string | null, username?: string | null, avatarAvailable: boolean, isActive: boolean }> };
|
||||
|
||||
export type MyNotificationHistoryQueryVariables = Exact<{
|
||||
channel: MessengerType;
|
||||
@@ -791,6 +794,7 @@ export const MeDocument = gql`
|
||||
me {
|
||||
id
|
||||
email
|
||||
fullName
|
||||
}
|
||||
}
|
||||
`;
|
||||
@@ -970,6 +974,9 @@ export const MyMessengerConnectionsDocument = gql`
|
||||
id
|
||||
type
|
||||
channelId
|
||||
displayName
|
||||
username
|
||||
avatarAvailable
|
||||
isActive
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user