BlogEngine.Posts.Lifecycle (blog_engine v0.1.0)

Copy Markdown View Source

Tenant-scoped post authoring, publication, review, and moderation commands.

Summary

Types

A completed post command: the reloaded post, or the first failing reason.

Types

result()

@type result() ::
  {:ok, BlogEngine.Schema.Post.t()}
  | {:error, BlogEngine.Error.t() | Ecto.Changeset.t()}

A completed post command: the reloaded post, or the first failing reason.