Pleroma v1.1.9-10-g42f76306+dev Pleroma.Web.AdminAPI.Config View Source
Link to this section Summary
Link to this section Types
Link to this section Functions
Link to this function
changeset(config, params \\ %{})
View Sourcechangeset(Pleroma.Web.AdminAPI.Config.t(), map()) :: Changeset.t()
Link to this function
create(params)
View Sourcecreate(map()) :: {:ok, Pleroma.Web.AdminAPI.Config.t()} | {:error, Changeset.t()}
Link to this function
delete(params)
View Sourcedelete(map()) :: {:ok, Pleroma.Web.AdminAPI.Config.t()} | {:error, Changeset.t()}
Link to this function
get_by_params(params)
View Sourceget_by_params(map()) :: Pleroma.Web.AdminAPI.Config.t() | nil
Link to this function
update(config, map)
View Sourceupdate(Pleroma.Web.AdminAPI.Config.t(), map()) :: {:ok, Pleroma.Web.AdminAPI.Config} | {:error, Changeset.t()}
Link to this function
update_or_create(params)
View Sourceupdate_or_create(map()) :: {:ok, Pleroma.Web.AdminAPI.Config.t()} | {:error, Changeset.t()}