Potionx.Context.Service (potionx v0.2.15) View Source

Link to this section Summary

Functions

Callback implementation for Access.fetch/2.

Callback implementation for Access.pop/2.

Link to this section Types

Specs

t() :: %Potionx.Context.Service{
  changes: map(),
  files: [Plug.Upload.t()] | nil,
  filters: map(),
  organization: struct() | nil,
  pagination: Potionx.Repo.Pagination.t(),
  roles: [String.t()],
  session_fingerprint: String.t() | nil,
  user: struct() | nil
}

Link to this section Functions

Specs

fetch(map(), any()) :: {:ok, any()}

Callback implementation for Access.fetch/2.

Link to this function

get_and_update(data, key, func)

View Source

Callback implementation for Access.get_and_update/3.

Callback implementation for Access.pop/2.