View Source ValueFlows.Planning.Commitment.Commitments (Bonfire v0.9.10-classic-beta.169)
Summary
Functions
@spec create(any(), attrs()) :: {:ok, ValueFlows.Planning.Commitment.t()} | {:error, Changeset.t()}
@spec prep_attrs( attrs(), struct() ) :: attrs()
@spec soft_delete( struct(), String.t() ) :: {:ok, ValueFlows.Planning.Commitment.t()} | {:error, Changeset.t()}
@spec soft_delete( struct(), ValueFlows.Planning.Commitment.t() ) :: {:ok, ValueFlows.Planning.Commitment.t()} | {:error, Changeset.t()}
@spec update(struct(), String.t(), attrs()) :: {:ok, ValueFlows.Planning.Commitment.t()} | {:error, any()}
@spec update(struct(), ValueFlows.Planning.Commitment.t(), attrs()) :: {:ok, ValueFlows.Planning.Commitment.t()} | {:error, any()}