dagger/dsl/interface_type_def

Values

pub fn description(
  parent: types.InterfaceTypeDef,
  client client: types.Client,
  then handler: fn(Result(String, types.QueryError)) -> a,
) -> a

The doc string for the interface, if any.

pub fn functions(
  parent: types.InterfaceTypeDef,
  select select: fn(types.Function) -> List(types.Field),
  client client: types.Client,
  then handler: fn(Result(List(types.Function), types.QueryError)) -> a,
) -> a

Functions defined on this interface, if any.

pub fn id(
  parent: types.InterfaceTypeDef,
) -> types.InterfaceTypeDef

A unique identifier for this InterfaceTypeDef.

pub fn name(
  parent: types.InterfaceTypeDef,
  client client: types.Client,
  then handler: fn(Result(String, types.QueryError)) -> a,
) -> a

The name of the interface.

pub fn source_map(
  parent: types.InterfaceTypeDef,
) -> types.SourceMap

The location of this interface declaration.

pub fn source_module_name(
  parent: types.InterfaceTypeDef,
  client client: types.Client,
  then handler: fn(Result(String, types.QueryError)) -> a,
) -> a

If this InterfaceTypeDef is associated with a Module, the name of the module. Unset otherwise.

Search Document