subagentgraphql

.com graphql sdl
6 rows, live from D1

GraphQL type catalog

Every real function, type, enum, and operation kind from the style-graphql skill, grouped by category unless filtered.

extractCitations

fn gql_extract_citations
extractCitations(doc: GraphQLDoc): Citation[]
description

Extracts Citation-typed values out of a parsed GraphQLDoc.

source

SKILL.md, "Projection contract" section, style-graphql skill.

injectCitationType

fn gql_inject_citation_type
injectCitationType(doc: GraphQLDoc): GraphQLDoc
description

Appends the canonical Citation SDL (from references/citation.graphqls) to a document if not already present.

source

SKILL.md, "Projection contract" and "Citation type SDL" sections, style-graphql skill.

injectCitations

fn gql_inject_citations
injectCitations(doc: GraphQLDoc, cs: Citation[]): GraphQLDoc
description

Injects a list of Citation values into a GraphQLDoc.

source

SKILL.md, "Projection contract" section, style-graphql skill.

parse

fn gql_parse
parse(wire: string, kind?: GraphQLKind): GraphQLDoc
description

Parses a raw SDL or operation string into a GraphQLDoc AST, optionally tagged with a GraphQLKind.

source

SKILL.md, "Projection contract" section, style-graphql skill.

roundtrip

fn gql_roundtrip
roundtrip(doc: GraphQLDoc): GraphQLDoc
description

Parses then stringifies a document; used in tests to assert idempotence of the print step.

source

SKILL.md, "Projection contract" and "Normalisation" sections, style-graphql skill.

stringify

fn gql_stringify
stringify(doc: GraphQLDoc): string
description

Serializes a GraphQLDoc back to canonical SDL text, normalised via graphql-js print().

source

SKILL.md, "Projection contract" and "Normalisation" sections, style-graphql skill.

Machine-readable version: GET /api/graphql-types?category=projection_fn