Skip to main content

Documentation Index

Fetch the complete documentation index at: https://memberpulseptyltd.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

AI-generated community content entity Represents AI-generated content items for community engagement.

Fields

Core Fields

FieldTypeRequiredDescription
idUUIDAutoPrimary key
categoryIdUUIDYesFK to InterestCategory
titlestringYesContent title
bodytextYesContent body (markdown)
contentTypeenumYesarticle, discussion, poll, tip
engagementPromptstringNoQuestion to encourage comments
featuredImagestringNoHeader image URL

Status Fields

FieldTypeRequiredDescription
statusenumYespending, approved, rejected, published, archived
reviewedByUUIDNoAdmin who reviewed
reviewedAtdatetimeNoReview timestamp
rejectionReasontextNoReason if rejected

Publication Fields

FieldTypeRequiredDescription
publishedAtdatetimeNoPublication timestamp
scheduledFordatetimeNoScheduled publish time
expiresAtdatetimeNoAuto-archive date

Engagement Metrics

FieldTypeRequiredDescription
viewCountintegerAutoTotal views
uniqueViewCountintegerAutoUnique member views
commentCountintegerAutoTotal comments
reactionCountintegerAutoTotal reactions
shareCountintegerAutoTotal shares
bookmarkCountintegerAutoTotal bookmarks

AI Metadata

FieldTypeRequiredDescription
aiModelstringAutoModel used for generation
generationPrompttextNoPrompt used
generatedAtdatetimeAutoGeneration timestamp

System Fields

FieldTypeRequiredDescription
createdAtdatetimeAutoCreation timestamp
updatedAtdatetimeAutoLast update

Relationships

RelationTypeTarget Entity
categoryManyToOneInterestCategory
commentsOneToManyContentComment
reactionsOneToManyContentReaction
nominationsOneToManyContentNomination

Business Rules

  • Content must be approved before publication
  • Published content cannot be edited (create new version)
  • Archived content hidden from feeds but preserved
  • AI-generated flag always visible to members

Features

Generated Content

Acceptance Criteria

Frontend
  • Admin/client UI can view and manage Generated Content records where applicable.
Backend / API
  • CRUD operations exist for Generated Content (create, read, update, delete/archive).
Permissions
  • Access is restricted to appropriate roles (tenant-scoped).
Business Rules
  • Fields and relationships documented on this page are enforced for Generated Content.
Error Handling
  • Invalid payloads return field-level validation errors.