GraphQL type catalog
Every real function, type, enum, and operation kind from the style-graphql skill, grouped by category unless filtered.
extractCitations
extractCitations(doc: GraphQLDoc): Citation[]
Extracts Citation-typed values out of a parsed GraphQLDoc.
SKILL.md, "Projection contract" section, style-graphql skill.
injectCitationType
injectCitationType(doc: GraphQLDoc): GraphQLDoc
Appends the canonical Citation SDL (from references/citation.graphqls) to a document if not already present.
SKILL.md, "Projection contract" and "Citation type SDL" sections, style-graphql skill.
injectCitations
injectCitations(doc: GraphQLDoc, cs: Citation[]): GraphQLDoc
Injects a list of Citation values into a GraphQLDoc.
SKILL.md, "Projection contract" section, style-graphql skill.
parse
parse(wire: string, kind?: GraphQLKind): GraphQLDoc
Parses a raw SDL or operation string into a GraphQLDoc AST, optionally tagged with a GraphQLKind.
SKILL.md, "Projection contract" section, style-graphql skill.
roundtrip
roundtrip(doc: GraphQLDoc): GraphQLDoc
Parses then stringifies a document; used in tests to assert idempotence of the print step.
SKILL.md, "Projection contract" and "Normalisation" sections, style-graphql skill.
stringify
stringify(doc: GraphQLDoc): string
Serializes a GraphQLDoc back to canonical SDL text, normalised via graphql-js print().
SKILL.md, "Projection contract" and "Normalisation" sections, style-graphql skill.
Machine-readable version: GET /api/graphql-types?category=projection_fn