Schema for publishing groups (blog, faq, legal, etc.).
Each group contains posts and defines the content mode (timestamp or slug).
Extensible settings are stored in the data JSONB column.
Data JSONB Keys
type- Group type: "blogging", "faq", "legal", or custom stringitem_singular- Display name for single item (e.g., "Post", "Article")item_plural- Display name for multiple items (e.g., "Posts", "Articles")description- Group descriptionicon- Heroicon name for admin UIsettings- Group-specific settings mapcomments_enabled- Whether comments are enabled for this grouplikes_enabled- Whether likes are enabled for this groupviews_enabled- Whether view tracking is enabled for this group
Summary
Functions
Changeset for creating or updating a publishing group.
Returns whether comments are enabled for this group.
Returns the group description.
Returns the group icon name.
Returns the plural item name (e.g., 'Posts').
Returns the singular item name (e.g., 'Post').
Returns the group type from data (blogging/faq/legal/custom).
Returns whether likes are enabled for this group.
Returns whether view tracking is enabled for this group.
Types
@type t() :: %PhoenixKit.Modules.Publishing.PublishingGroup{ __meta__: term(), data: map(), inserted_at: DateTime.t() | nil, mode: String.t(), name: String.t(), position: integer(), posts: term(), slug: String.t(), updated_at: DateTime.t() | nil, uuid: UUIDv7.t() | nil }
Functions
Changeset for creating or updating a publishing group.
Returns whether comments are enabled for this group.
Returns the group description.
Returns the group icon name.
Returns the plural item name (e.g., 'Posts').
Returns the singular item name (e.g., 'Post').
Returns the group type from data (blogging/faq/legal/custom).
Returns whether likes are enabled for this group.
Returns whether view tracking is enabled for this group.