pagination

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Input = &ast.Definition{
		Kind: ast.InputObject,
		Name: "XgenPaginationInput",
		Fields: ast.FieldList{
			{
				Name: "page",
				Type: ast.NonNullNamedType("Int", nil),
			},
			{
				Name: "size",
				Type: ast.NonNullNamedType("Int", nil),
			},
		},
	}

	CursorPaginationInput = &ast.Definition{
		Kind: ast.InputObject,
		Name: "XgenCursorPaginationInput",
		Fields: ast.FieldList{
			{
				Name: "first",
				Type: ast.NonNullNamedType("Int", nil),
			},
			{
				Name: "after",
				Type: ast.NamedType("String", nil),
			},
			{
				Name: "last",
				Type: ast.NonNullNamedType("Int", nil),
			},
			{
				Name: "before",
				Type: ast.NamedType("String", nil),
			},
		},
	}

	AllDefinitions = []*ast.Definition{
		Input,
		CursorPaginationInput,
	}
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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