relation
Library for displaying relations between GraphQL schema entities.
See
getRelationOfField
const getRelationOfField: IGetRelation<RelationOfField>;
Defined in: packages/graphql/src/relation.ts:198
Returns a map of fields and arguments where the GraphQL schema type matches the type.
See
mapRelationOf
Type Param
T
the type of the GraphQL schema type.
Type Param
R
the return type of map of relations (see IGetRelation).
Param
type
the GraphQL schema type being processed.
Param
schemaMap
a GraphQL schema map (see getSchemaMap).
Returns
a record map of fields and arguments relations.
getRelationOfImplementation
const getRelationOfImplementation: IGetRelation<RelationOfImplementation>;
Defined in: packages/graphql/src/relation.ts:367
Returns a map of types (unions or interfaces) where the GraphQL schema type is implemented.
See
mapRelationOf
Type Param
T
the type of the GraphQL schema type.
Type Param
R
the return type of map of relations (see IGetRelation).
Param
type
the GraphQL schema type being processed.
Param
schemaMap
a GraphQL schema map (see getSchemaMap).
Returns
a record map of unions or interfaces relations.
getRelationOfInterface
const getRelationOfInterface: IGetRelation<RelationOfInterface>;
Defined in: packages/graphql/src/relation.ts:325
Returns a map of interfaces where the GraphQL schema type is extended.
See
mapRelationOf
Type Param
T
the type of the GraphQL schema type.
Type Param
R
the return type of map of relations (see IGetRelation).
Param
type
the GraphQL schema type being processed.
Param
schemaMap
a GraphQL schema map (see getSchemaMap).
Returns
a record map of interfaces relations.
getRelationOfReturn
const getRelationOfReturn: IGetRelation<GraphQLOperationType>;
Defined in: packages/graphql/src/relation.ts:135
Returns a map of operations (queries, mutations, subscriptions) where the GraphQL schema type is the return type.
See
mapRelationOf
Type Param
T
the type of the GraphQL schema type.
Type Param
R
the return type of map of relations (see IGetRelation).
Param
type
the GraphQL schema type being processed.
Param
schemaMap
a GraphQL schema map (see getSchemaMap).
Returns
a record map of operations relations.
getRelationOfUnion
const getRelationOfUnion: IGetRelation<GraphQLUnionType>;
Defined in: packages/graphql/src/relation.ts:284
Returns a map of unions where the GraphQL schema type is part of it.
See
mapRelationOf
Type Param
T
the type of the GraphQL schema type.
Type Param
R
the return type of map of relations (see IGetRelation).
Param
type
the GraphQL schema type being processed.
Param
schemaMap
a GraphQL schema map (see getSchemaMap).
Returns
a record map of unions relations.