Dagger.TypeDefKind (dagger v0.18.12)

View Source

Distinguishes the different kinds of TypeDefs.

Summary

Functions

A boolean value.

A boolean value.

A GraphQL enum type and its values

A GraphQL enum type and its values

A float value.

A float value.

A graphql input type, used only when representing the core API via TypeDefs.

A graphql input type, used only when representing the core API via TypeDefs.

An integer value.

An integer value.

Always paired with an InterfaceTypeDef.

Always paired with an InterfaceTypeDef.

Always paired with a ListTypeDef.

Always paired with a ListTypeDef.

Always paired with an ObjectTypeDef.

Always paired with an ObjectTypeDef.

A scalar value of any basic kind.

A scalar value of any basic kind.

A string value.

A string value.

A special kind used to signify that no value is returned.

A special kind used to signify that no value is returned.

Types

t()

@type t() ::
  :STRING_KIND
  | :INTEGER_KIND
  | :FLOAT_KIND
  | :BOOLEAN_KIND
  | :SCALAR_KIND
  | :LIST_KIND
  | :OBJECT_KIND
  | :INTERFACE_KIND
  | :INPUT_KIND
  | :VOID_KIND
  | :ENUM_KIND
  | :STRING
  | :INTEGER
  | :FLOAT
  | :BOOLEAN
  | :SCALAR
  | :LIST
  | :OBJECT
  | :INTERFACE
  | :INPUT
  | :VOID
  | :ENUM

Functions

boolean()

@spec boolean() :: :BOOLEAN

A boolean value.

boolean_kind()

@spec boolean_kind() :: :BOOLEAN_KIND

A boolean value.

enum()

@spec enum() :: :ENUM

A GraphQL enum type and its values

Always paired with an EnumTypeDef.

enum_kind()

@spec enum_kind() :: :ENUM_KIND

A GraphQL enum type and its values

Always paired with an EnumTypeDef.

float()

@spec float() :: :FLOAT

A float value.

float_kind()

@spec float_kind() :: :FLOAT_KIND

A float value.

input()

@spec input() :: :INPUT

A graphql input type, used only when representing the core API via TypeDefs.

input_kind()

@spec input_kind() :: :INPUT_KIND

A graphql input type, used only when representing the core API via TypeDefs.

integer()

@spec integer() :: :INTEGER

An integer value.

integer_kind()

@spec integer_kind() :: :INTEGER_KIND

An integer value.

interface()

@spec interface() :: :INTERFACE

Always paired with an InterfaceTypeDef.

A named type of functions that can be matched+implemented by other objects+interfaces.

interface_kind()

@spec interface_kind() :: :INTERFACE_KIND

Always paired with an InterfaceTypeDef.

A named type of functions that can be matched+implemented by other objects+interfaces.

list()

@spec list() :: :LIST

Always paired with a ListTypeDef.

A list of values all having the same type.

list_kind()

@spec list_kind() :: :LIST_KIND

Always paired with a ListTypeDef.

A list of values all having the same type.

object()

@spec object() :: :OBJECT

Always paired with an ObjectTypeDef.

A named type defined in the GraphQL schema, with fields and functions.

object_kind()

@spec object_kind() :: :OBJECT_KIND

Always paired with an ObjectTypeDef.

A named type defined in the GraphQL schema, with fields and functions.

scalar()

@spec scalar() :: :SCALAR

A scalar value of any basic kind.

scalar_kind()

@spec scalar_kind() :: :SCALAR_KIND

A scalar value of any basic kind.

string()

@spec string() :: :STRING

A string value.

string_kind()

@spec string_kind() :: :STRING_KIND

A string value.

void()

@spec void() :: :VOID

A special kind used to signify that no value is returned.

This is used for functions that have no return value. The outer TypeDef specifying this Kind is always Optional, as the Void is never actually represented.

void_kind()

@spec void_kind() :: :VOID_KIND

A special kind used to signify that no value is returned.

This is used for functions that have no return value. The outer TypeDef specifying this Kind is always Optional, as the Void is never actually represented.