search

package
v1.13.0 Latest Latest
Warning

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

Go to latest
Published: May 6, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PageInfo

type PageInfo struct {
	EndCursor       string `json:"endCursor"`
	HasNextPage     bool   `json:"hasNextPage"`
	HasPreviousPage bool   `json:"hasPreviousPage"`
}

type SearchInput

type SearchInput struct {
	First      *graphql.Int            `json:"first"`
	After      *graphql.String         `json:"after"`
	Predicates *[]SearchQueryPredicate `json:"predicates"`
}

type SearchQueryFieldConstraint

type SearchQueryFieldConstraint struct {
	BooleanEquals *[]graphql.Boolean `json:"booleanEquals"`
	EnumEquals    *[]graphql.String  `json:"enumEquals"`
	StringMatches *[]graphql.String  `json:"stringMatches"`
}

type SearchQueryPredicate

type SearchQueryPredicate struct {
	Field      graphql.String             `json:"field"`
	Constraint SearchQueryFieldConstraint `json:"constraint"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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