consts

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: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GeneratedGqlgenPackageName = "generated"
	GeneratedModelsPackageName = "models"

	ExcludeArgumentFromType = "ExcludeArgumentFromType"
	ToObjectType            = "ToObjectType"

	ResourceSortableFieldEnumSuffix = "_SORTABLE_FIELD"
	SingleSortInputSuffix           = "SingleSortInput"
	SortInputSuffix                 = "SortInput"
	SortQueryArgumentName           = "sort"

	MapToGolangStructTagName = "mapto"

	// Field names
	SchemaDefActionDirectiveArgSchemaFieldName = "SchemaFieldName"
	SchemaDefActionDirectiveArgResource        = "Resource"
	SchemaDefActionDirectiveActionArgAction    = "Action"

	SortDirectionAsc  = "ASC"
	SortDirectionDesc = "DESC"

	// Schema definition constants
	SchemaDefResourceActionType     = "XgenResourceActionType"
	SchemaDefResourceListActionType = "XgenResourceListActionType"
	SchemaDefFieldDbConfigInputType = "XgenResourceFieldDbConfigInput"

	SchemaDefDirectiveResourceName    = "Resource"
	SchemaDefDirectiveActionName      = "Action"
	SchemaDefDirectiveListActionName  = "ListAction"
	SchemaDefDirectiveActionFieldName = "ActionField"
	SchemaDefDirectiveFieldName       = "Field"

	SchemaDefFieldDirectiveArgLabel       = "Label"
	SchemaDefFieldDirectiveArgDescription = "Description"
	SchemaDefFieldDirectiveArgDb          = "DB"
	SchemaDefResourceDirectiveArgName     = "Name"
	SchemaDefResourceDirectiveArgDb       = "DB"
	SchemaDefActionFieldDirectiveArgMapTo = "MapTo"

	ActionTypeCreateMutation                   = "CREATE_MUTATION"
	ActionTypeReadQuery                        = "READ_QUERY"
	ActionTypeUpdateMutation                   = "UPDATE_MUTATION"
	ActionTypeDeleteMutation                   = "DELETE_MUTATION"
	SchemaDefListActionTypeBrowseQuery         = "BROWSE_QUERY"
	SchemaDefListActionTypeBatchDeleteMutation = "BATCH_DELETE_MUTATION"
)

Variables

This section is empty.

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