client

package
v0.4.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 16, 2026 License: MIT Imports: 6 Imported by: 0

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)

func (Preset) Name

func (Preset) Name() string

type SourceWithOperations

type SourceWithOperations = gqltagoperations.SourceWithOperations

SourceWithOperations mirrors the upstream type (alias for readability).

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL