@@ -88,11 +88,19 @@ export type CountryTopUsers = {
8888 s ?: Maybe < UserBasic > ;
8989} ;
9090
91+ export type Entities = {
92+ __typename ?: 'Entities' ;
93+ links ?: Maybe < Scalars [ 'JSON' ] [ 'output' ] > ;
94+ mentions ?: Maybe < Scalars [ 'JSON' ] [ 'output' ] > ;
95+ } ;
96+
9197export type Insight = {
9298 __typename ?: 'Insight' ;
9399 category : InsightCategory ;
94100 createdAt : Scalars [ 'DateTime' ] [ 'output' ] ;
95101 data ?: Maybe < Scalars [ 'JSON' ] [ 'output' ] > ;
102+ entities : Entities ;
103+ segments : Array < Segment > ;
96104 text : Scalars [ 'String' ] [ 'output' ] ;
97105 updatedAt : Scalars [ 'DateTime' ] [ 'output' ] ;
98106} ;
@@ -320,6 +328,20 @@ export enum RepositorySortField {
320328 Stargazers = 'STARGAZERS'
321329}
322330
331+ export type Segment = {
332+ __typename ?: 'Segment' ;
333+ display ?: Maybe < Scalars [ 'String' ] [ 'output' ] > ;
334+ entityKey ?: Maybe < Scalars [ 'String' ] [ 'output' ] > ;
335+ text ?: Maybe < Scalars [ 'String' ] [ 'output' ] > ;
336+ type : SegmentType ;
337+ } ;
338+
339+ export enum SegmentType {
340+ Link = 'LINK' ,
341+ Mention = 'MENTION' ,
342+ Text = 'TEXT'
343+ }
344+
323345export type SocialAccount = {
324346 __typename ?: 'SocialAccount' ;
325347 nodes ?: Maybe < Array < SocialAccountNodeEntity > > ;
@@ -461,7 +483,7 @@ export type GlobalRankingsQuery = { __typename?: 'Query', globalRankings: Array<
461483export type InsightsQueryVariables = Exact < { [ key : string ] : never ; } > ;
462484
463485
464- export type InsightsQuery = { __typename ?: 'Query' , insights ?: Array < { __typename ?: 'Insight' , category : InsightCategory , data ?: any | null , createdAt : any , updatedAt : any , text : string } > | null } ;
486+ export type InsightsQuery = { __typename ?: 'Query' , insights ?: Array < { __typename ?: 'Insight' , category : InsightCategory , segments : Array < { __typename ?: 'Segment' , type : SegmentType , text ?: string | null , entityKey ?: string | null } > , entities : { __typename ?: 'Entities' , mentions ?: any | null , links ?: any | null } } > | null } ;
465487
466488export type ProfileContributionsQueryVariables = Exact < {
467489 login : Scalars [ 'String' ] [ 'input' ] ;
@@ -530,7 +552,7 @@ export const CountryRankingsDocument = {"kind":"Document","definitions":[{"kind"
530552export const CountrySummaryDocument = { "kind" :"Document" , "definitions" :[ { "kind" :"OperationDefinition" , "operation" :"query" , "name" :{ "kind" :"Name" , "value" :"CountrySummary" } , "variableDefinitions" :[ { "kind" :"VariableDefinition" , "variable" :{ "kind" :"Variable" , "name" :{ "kind" :"Name" , "value" :"order" } } , "type" :{ "kind" :"NamedType" , "name" :{ "kind" :"Name" , "value" :"CountrySummaryOrder" } } } ] , "selectionSet" :{ "kind" :"SelectionSet" , "selections" :[ { "kind" :"Field" , "name" :{ "kind" :"Name" , "value" :"countrySummary" } , "arguments" :[ { "kind" :"Argument" , "name" :{ "kind" :"Name" , "value" :"order" } , "value" :{ "kind" :"Variable" , "name" :{ "kind" :"Name" , "value" :"order" } } } ] , "selectionSet" :{ "kind" :"SelectionSet" , "selections" :[ { "kind" :"Field" , "name" :{ "kind" :"Name" , "value" :"country" } } , { "kind" :"Field" , "name" :{ "kind" :"Name" , "value" :"usersCount" } } , { "kind" :"Field" , "name" :{ "kind" :"Name" , "value" :"date" } } , { "kind" :"Field" , "name" :{ "kind" :"Name" , "value" :"s" } } , { "kind" :"Field" , "name" :{ "kind" :"Name" , "value" :"c" } } , { "kind" :"Field" , "name" :{ "kind" :"Name" , "value" :"f" } } , { "kind" :"Field" , "name" :{ "kind" :"Name" , "value" :"topUsers" } , "selectionSet" :{ "kind" :"SelectionSet" , "selections" :[ { "kind" :"Field" , "name" :{ "kind" :"Name" , "value" :"s" } , "selectionSet" :{ "kind" :"SelectionSet" , "selections" :[ { "kind" :"Field" , "name" :{ "kind" :"Name" , "value" :"login" } } , { "kind" :"Field" , "name" :{ "kind" :"Name" , "value" :"avatarUrl" } } ] } } , { "kind" :"Field" , "name" :{ "kind" :"Name" , "value" :"c" } , "selectionSet" :{ "kind" :"SelectionSet" , "selections" :[ { "kind" :"Field" , "name" :{ "kind" :"Name" , "value" :"login" } } , { "kind" :"Field" , "name" :{ "kind" :"Name" , "value" :"avatarUrl" } } ] } } , { "kind" :"Field" , "name" :{ "kind" :"Name" , "value" :"f" } , "selectionSet" :{ "kind" :"SelectionSet" , "selections" :[ { "kind" :"Field" , "name" :{ "kind" :"Name" , "value" :"login" } } , { "kind" :"Field" , "name" :{ "kind" :"Name" , "value" :"avatarUrl" } } ] } } ] } } , { "kind" :"Field" , "name" :{ "kind" :"Name" , "value" :"countryData" } , "selectionSet" :{ "kind" :"SelectionSet" , "selections" :[ { "kind" :"Field" , "name" :{ "kind" :"Name" , "value" :"code" } } , { "kind" :"Field" , "name" :{ "kind" :"Name" , "value" :"name" } } , { "kind" :"Field" , "name" :{ "kind" :"Name" , "value" :"flag" } } ] } } ] } } ] } } ] } as unknown as DocumentNode < CountrySummaryQuery , CountrySummaryQueryVariables > ;
531553export const GlobalRankByLoginDocument = { "kind" :"Document" , "definitions" :[ { "kind" :"OperationDefinition" , "operation" :"query" , "name" :{ "kind" :"Name" , "value" :"GlobalRankByLogin" } , "variableDefinitions" :[ { "kind" :"VariableDefinition" , "variable" :{ "kind" :"Variable" , "name" :{ "kind" :"Name" , "value" :"login" } } , "type" :{ "kind" :"NonNullType" , "type" :{ "kind" :"NamedType" , "name" :{ "kind" :"Name" , "value" :"String" } } } } ] , "selectionSet" :{ "kind" :"SelectionSet" , "selections" :[ { "kind" :"Field" , "name" :{ "kind" :"Name" , "value" :"globalRankByLogin" } , "arguments" :[ { "kind" :"Argument" , "name" :{ "kind" :"Name" , "value" :"login" } , "value" :{ "kind" :"Variable" , "name" :{ "kind" :"Name" , "value" :"login" } } } ] , "selectionSet" :{ "kind" :"SelectionSet" , "selections" :[ { "kind" :"Field" , "name" :{ "kind" :"Name" , "value" :"githubId" } } , { "kind" :"Field" , "name" :{ "kind" :"Name" , "value" :"c" } } , { "kind" :"Field" , "name" :{ "kind" :"Name" , "value" :"cM" } } , { "kind" :"Field" , "name" :{ "kind" :"Name" , "value" :"f" } } , { "kind" :"Field" , "name" :{ "kind" :"Name" , "value" :"fM" } } , { "kind" :"Field" , "name" :{ "kind" :"Name" , "value" :"s" } } , { "kind" :"Field" , "name" :{ "kind" :"Name" , "value" :"sM" } } , { "kind" :"Field" , "name" :{ "kind" :"Name" , "value" :"user" } , "selectionSet" :{ "kind" :"SelectionSet" , "selections" :[ { "kind" :"Field" , "name" :{ "kind" :"Name" , "value" :"login" } } , { "kind" :"Field" , "name" :{ "kind" :"Name" , "value" :"avatarUrl" } } , { "kind" :"Field" , "name" :{ "kind" :"Name" , "value" :"s" } } , { "kind" :"Field" , "name" :{ "kind" :"Name" , "value" :"c" } } , { "kind" :"Field" , "name" :{ "kind" :"Name" , "value" :"f" } } , { "kind" :"Field" , "name" :{ "kind" :"Name" , "value" :"location" } } ] } } ] } } ] } } ] } as unknown as DocumentNode < GlobalRankByLoginQuery , GlobalRankByLoginQueryVariables > ;
532554export const GlobalRankingsDocument = { "kind" :"Document" , "definitions" :[ { "kind" :"OperationDefinition" , "operation" :"query" , "name" :{ "kind" :"Name" , "value" :"GlobalRankings" } , "variableDefinitions" :[ { "kind" :"VariableDefinition" , "variable" :{ "kind" :"Variable" , "name" :{ "kind" :"Name" , "value" :"order" } } , "type" :{ "kind" :"NamedType" , "name" :{ "kind" :"Name" , "value" :"RankOrder" } } } , { "kind" :"VariableDefinition" , "variable" :{ "kind" :"Variable" , "name" :{ "kind" :"Name" , "value" :"offset" } } , "type" :{ "kind" :"NamedType" , "name" :{ "kind" :"Name" , "value" :"Int" } } } ] , "selectionSet" :{ "kind" :"SelectionSet" , "selections" :[ { "kind" :"Field" , "name" :{ "kind" :"Name" , "value" :"globalRankings" } , "arguments" :[ { "kind" :"Argument" , "name" :{ "kind" :"Name" , "value" :"order" } , "value" :{ "kind" :"Variable" , "name" :{ "kind" :"Name" , "value" :"order" } } } , { "kind" :"Argument" , "name" :{ "kind" :"Name" , "value" :"offset" } , "value" :{ "kind" :"Variable" , "name" :{ "kind" :"Name" , "value" :"offset" } } } ] , "selectionSet" :{ "kind" :"SelectionSet" , "selections" :[ { "kind" :"Field" , "name" :{ "kind" :"Name" , "value" :"githubId" } } , { "kind" :"Field" , "name" :{ "kind" :"Name" , "value" :"c" } } , { "kind" :"Field" , "name" :{ "kind" :"Name" , "value" :"cM" } } , { "kind" :"Field" , "name" :{ "kind" :"Name" , "value" :"f" } } , { "kind" :"Field" , "name" :{ "kind" :"Name" , "value" :"fM" } } , { "kind" :"Field" , "name" :{ "kind" :"Name" , "value" :"s" } } , { "kind" :"Field" , "name" :{ "kind" :"Name" , "value" :"sM" } } , { "kind" :"Field" , "name" :{ "kind" :"Name" , "value" :"user" } , "selectionSet" :{ "kind" :"SelectionSet" , "selections" :[ { "kind" :"Field" , "name" :{ "kind" :"Name" , "value" :"login" } } , { "kind" :"Field" , "name" :{ "kind" :"Name" , "value" :"avatarUrl" } } , { "kind" :"Field" , "name" :{ "kind" :"Name" , "value" :"s" } } , { "kind" :"Field" , "name" :{ "kind" :"Name" , "value" :"c" } } , { "kind" :"Field" , "name" :{ "kind" :"Name" , "value" :"f" } } , { "kind" :"Field" , "name" :{ "kind" :"Name" , "value" :"location" } } , { "kind" :"Field" , "name" :{ "kind" :"Name" , "value" :"country" } } ] } } ] } } ] } } ] } as unknown as DocumentNode < GlobalRankingsQuery , GlobalRankingsQueryVariables > ;
533- export const InsightsDocument = { "kind" :"Document" , "definitions" :[ { "kind" :"OperationDefinition" , "operation" :"query" , "name" :{ "kind" :"Name" , "value" :"Insights" } , "selectionSet" :{ "kind" :"SelectionSet" , "selections" :[ { "kind" :"Field" , "name" :{ "kind" :"Name" , "value" :"insights" } , "selectionSet" :{ "kind" :"SelectionSet" , "selections" :[ { "kind" :"Field" , "name" :{ "kind" :"Name" , "value" :"category" } } , { "kind" :"Field" , "name" :{ "kind" :"Name" , "value" :"data" } } , { "kind" :"Field" , "name" :{ "kind" :"Name" , "value" :"createdAt " } } , { "kind" :"Field" , "name" :{ "kind" :"Name" , "value" :"updatedAt " } } , { "kind" :"Field" , "name" :{ "kind" :"Name" , "value" :"text" } } ] } } ] } } ] } as unknown as DocumentNode < InsightsQuery , InsightsQueryVariables > ;
555+ export const InsightsDocument = { "kind" :"Document" , "definitions" :[ { "kind" :"OperationDefinition" , "operation" :"query" , "name" :{ "kind" :"Name" , "value" :"Insights" } , "selectionSet" :{ "kind" :"SelectionSet" , "selections" :[ { "kind" :"Field" , "name" :{ "kind" :"Name" , "value" :"insights" } , "selectionSet" :{ "kind" :"SelectionSet" , "selections" :[ { "kind" :"Field" , "name" :{ "kind" :"Name" , "value" :"category" } } , { "kind" :"Field" , "name" :{ "kind" :"Name" , "value" :"segments" } , "selectionSet" : { "kind" : "SelectionSet" , "selections" : [ { "kind" : "Field" , "name" : { "kind" : "Name" , "value" : "type" } } , { "kind" :"Field" , "name" :{ "kind" :"Name" , "value" :"text " } } , { "kind" :"Field" , "name" :{ "kind" :"Name" , "value" :"entityKey " } } ] } } , { "kind" :"Field" , "name" :{ "kind" :"Name" , "value" :"entities" } , "selectionSet" : { "kind" : "SelectionSet" , "selections" : [ { "kind" : "Field" , "name" : { "kind" : "Name" , "value" : "mentions" } } , { "kind" : "Field" , "name" : { "kind" : "Name" , "value" : "links" } } ] } } ] } } ] } } ] } as unknown as DocumentNode < InsightsQuery , InsightsQueryVariables > ;
534556export const ProfileContributionsDocument = { "kind" :"Document" , "definitions" :[ { "kind" :"OperationDefinition" , "operation" :"query" , "name" :{ "kind" :"Name" , "value" :"ProfileContributions" } , "variableDefinitions" :[ { "kind" :"VariableDefinition" , "variable" :{ "kind" :"Variable" , "name" :{ "kind" :"Name" , "value" :"login" } } , "type" :{ "kind" :"NonNullType" , "type" :{ "kind" :"NamedType" , "name" :{ "kind" :"Name" , "value" :"String" } } } } ] , "selectionSet" :{ "kind" :"SelectionSet" , "selections" :[ { "kind" :"Field" , "name" :{ "kind" :"Name" , "value" :"user" } , "arguments" :[ { "kind" :"Argument" , "name" :{ "kind" :"Name" , "value" :"login" } , "value" :{ "kind" :"Variable" , "name" :{ "kind" :"Name" , "value" :"login" } } } ] , "selectionSet" :{ "kind" :"SelectionSet" , "selections" :[ { "kind" :"Field" , "name" :{ "kind" :"Name" , "value" :"contributions" } , "selectionSet" :{ "kind" :"SelectionSet" , "selections" :[ { "kind" :"Field" , "name" :{ "kind" :"Name" , "value" :"year" } } , { "kind" :"Field" , "name" :{ "kind" :"Name" , "value" :"prsCount" } } , { "kind" :"Field" , "name" :{ "kind" :"Name" , "value" :"mergedPrsCount" } } , { "kind" :"Field" , "name" :{ "kind" :"Name" , "value" :"linesAdded" } } , { "kind" :"Field" , "name" :{ "kind" :"Name" , "value" :"linesRemoved" } } , { "kind" :"Field" , "name" :{ "kind" :"Name" , "value" :"repository" } , "selectionSet" :{ "kind" :"SelectionSet" , "selections" :[ { "kind" :"Field" , "name" :{ "kind" :"Name" , "value" :"githubId" } } , { "kind" :"Field" , "name" :{ "kind" :"Name" , "value" :"createdAt" } } , { "kind" :"Field" , "name" :{ "kind" :"Name" , "value" :"pushedAt" } } , { "kind" :"Field" , "name" :{ "kind" :"Name" , "value" :"url" } } , { "kind" :"Field" , "name" :{ "kind" :"Name" , "value" :"forkCount" } } , { "kind" :"Field" , "name" :{ "kind" :"Name" , "value" :"isArchived" } } , { "kind" :"Field" , "name" :{ "kind" :"Name" , "value" :"name" } } , { "kind" :"Field" , "name" :{ "kind" :"Name" , "value" :"releasesCount" } } , { "kind" :"Field" , "name" :{ "kind" :"Name" , "value" :"stargazerCount" } } ] } } ] } } ] } } ] } } ] } as unknown as DocumentNode < ProfileContributionsQuery , ProfileContributionsQueryVariables > ;
535557export const ProfileFetchingStatusDocument = { "kind" :"Document" , "definitions" :[ { "kind" :"OperationDefinition" , "operation" :"query" , "name" :{ "kind" :"Name" , "value" :"ProfileFetchingStatus" } , "variableDefinitions" :[ { "kind" :"VariableDefinition" , "variable" :{ "kind" :"Variable" , "name" :{ "kind" :"Name" , "value" :"login" } } , "type" :{ "kind" :"NonNullType" , "type" :{ "kind" :"NamedType" , "name" :{ "kind" :"Name" , "value" :"String" } } } } ] , "selectionSet" :{ "kind" :"SelectionSet" , "selections" :[ { "kind" :"Field" , "name" :{ "kind" :"Name" , "value" :"user" } , "arguments" :[ { "kind" :"Argument" , "name" :{ "kind" :"Name" , "value" :"login" } , "value" :{ "kind" :"Variable" , "name" :{ "kind" :"Name" , "value" :"login" } } } ] , "selectionSet" :{ "kind" :"SelectionSet" , "selections" :[ { "kind" :"Field" , "name" :{ "kind" :"Name" , "value" :"fetchingStatus" } } , { "kind" :"Field" , "name" :{ "kind" :"Name" , "value" :"fetchingUpdatedAt" } } ] } } ] } } ] } as unknown as DocumentNode < ProfileFetchingStatusQuery , ProfileFetchingStatusQueryVariables > ;
536558export const ProfileIdByLoginDocument = { "kind" :"Document" , "definitions" :[ { "kind" :"OperationDefinition" , "operation" :"query" , "name" :{ "kind" :"Name" , "value" :"ProfileIdByLogin" } , "variableDefinitions" :[ { "kind" :"VariableDefinition" , "variable" :{ "kind" :"Variable" , "name" :{ "kind" :"Name" , "value" :"login" } } , "type" :{ "kind" :"NonNullType" , "type" :{ "kind" :"NamedType" , "name" :{ "kind" :"Name" , "value" :"String" } } } } ] , "selectionSet" :{ "kind" :"SelectionSet" , "selections" :[ { "kind" :"Field" , "name" :{ "kind" :"Name" , "value" :"globalRankByLogin" } , "arguments" :[ { "kind" :"Argument" , "name" :{ "kind" :"Name" , "value" :"login" } , "value" :{ "kind" :"Variable" , "name" :{ "kind" :"Name" , "value" :"login" } } } ] , "selectionSet" :{ "kind" :"SelectionSet" , "selections" :[ { "kind" :"Field" , "name" :{ "kind" :"Name" , "value" :"githubId" } } ] } } ] } } ] } as unknown as DocumentNode < ProfileIdByLoginQuery , ProfileIdByLoginQueryVariables > ;
0 commit comments