search

package
v0.1.35 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2022 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