View Source ValueFlows.Planning.Satisfaction.Satisfactions (Bonfire v0.9.10-classic-beta.156)

Summary

Functions

@spec create(
  struct(),
  attrs()
) :: {:ok, ValueFlows.Planning.Satisfaction.t()} | {:error, Ecto.Changeset.t()}
@spec soft_delete(
  struct(),
  String.t()
) :: {:ok, ValueFlows.Planning.Satisfaction.t()} | {:error, Ecto.Changeset.t()}
@spec soft_delete(
  struct(),
  ValueFlows.Planning.Satisfaction.t()
) :: {:ok, ValueFlows.Planning.Satisfaction.t()} | {:error, Ecto.Changeset.t()}
Link to this function

update(user, id, changes)

View Source
@spec update(struct(), String.t(), attrs()) ::
  {:ok, ValueFlows.Planning.Satisfaction.t()} | {:error, any()}
@spec update(struct(), ValueFlows.Planning.Satisfaction.t(), attrs()) ::
  {:ok, ValueFlows.Planning.Satisfaction.t()} | {:error, any()}