Documentation
¶
Overview ¶
Package client ports @graphql-codegen/client-preset: the "client" preset fans one `generates` entry into graphql.ts, gql.ts, fragment-masking.ts and index.ts, byte-identical to upstream.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OperationOrFragment ¶
type OperationOrFragment = gqltagoperations.OperationOrFragment
OperationOrFragment mirrors the upstream type.
type Preset ¶
type Preset struct{}
Preset implements plugin.OutputPreset for "client".
func (Preset) BuildGeneratesSection ¶
func (Preset) BuildGeneratesSection(options *plugin.GenerateOptions) ([]plugin.GenerateOptions, error)
type SourceWithOperations ¶
type SourceWithOperations = gqltagoperations.SourceWithOperations
SourceWithOperations mirrors the upstream type (alias for readability).
Click to show internal directories.
Click to hide internal directories.