typescriptgenerator

package
v0.17.1 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const ClientGenFile = "client.gen.ts"

Variables

This section is empty.

Functions

This section is empty.

Types

type TypeScriptGenerator

type TypeScriptGenerator struct {
	Config generator.Config
}

func (*TypeScriptGenerator) GenerateClient added in v0.16.3

func (g *TypeScriptGenerator) GenerateClient(ctx context.Context, schema *introspection.Schema, schemaVersion string) (*generator.GeneratedState, error)

func (*TypeScriptGenerator) GenerateModule added in v0.16.3

func (g *TypeScriptGenerator) GenerateModule(_ context.Context, schema *introspection.Schema, schemaVersion string) (*generator.GeneratedState, error)

Generate will generate the TypeScript SDK code and might modify the schema to reorder types in a alphanumeric fashion.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳