公共 API 参考(@saas/contracts + @core/saas-kit + apps/api 对外接口)
    Preparing search index...

    posts 上下文传输投影(application 层):控制器/序列化契约(@saas/contracts PostView)的真相源。

    分层对齐后(module-posts-domain-entity-split):端口流动领域实体 Post,本接口是其在 application 边界向 api/ 输出的传输形状——领域实体本身绝不越界进 api/(architecture「Entity Doctrine」· layer 依赖表 api/ 行)。字段形状与旧 PostRecord 等价,故响应双向赋值锁零变更。

    interface PostReadModel {
        content: string | null;
        createdAt: Date;
        id: string;
        organizationId: string;
        published: boolean;
        title: string;
        updatedAt: Date;
        workspaceId: string | null;
    }
    Index
    content: string | null

    正文内容。

    createdAt: Date

    创建时间。

    id: string

    文章 id。

    organizationId: string

    所属租户 id。

    published: boolean

    是否已发布。

    title: string

    标题。

    updatedAt: Date

    更新时间。

    workspaceId: string | null

    所属工作区 id。