BlogEngine.Schema.Syndication (blog_engine v0.1.0)

Copy Markdown View Source

A curated request to syndicate a post into another blog.

Summary

Functions

Builds a trusted workflow changeset for a syndication.

Types

t()

@type t() :: %BlogEngine.Schema.Syndication{
  __meta__: term(),
  id: term(),
  inserted_at: term(),
  requested_at: term(),
  requested_by_key: term(),
  requested_by_type: term(),
  reviewed_at: term(),
  reviewed_by_key: term(),
  reviewed_by_type: term(),
  source_post: term(),
  source_post_id: term(),
  status: term(),
  target_blog: term(),
  target_blog_id: term(),
  tenant_key: term(),
  updated_at: term(),
  withdrawn_at: term(),
  withdrawn_by_key: term(),
  withdrawn_by_type: term()
}

Functions

changeset(syndication, attrs)

@spec changeset(t(), map()) :: Ecto.Changeset.t()

Builds a trusted workflow changeset for a syndication.