add StoreDiary

This commit is contained in:
Timi
2026-08-31 17:32:01 +08:00
parent 95a400cd93
commit 1e83fdf883
9 changed files with 1288 additions and 1 deletions
+28
View File
@@ -0,0 +1,28 @@
import type {
Article as ArticleEditorArticle,
ArticleContentType,
Attachment as ArticleAttachment
} from "timi-tdesign-mobile";
import type { User } from "timi-web-api";
/** 门店日记正文类型。 */
export type StoreDiaryContentType = ArticleContentType;
/** 门店日记附件。 */
export type StoreDiaryAttachment = ArticleAttachment;
/** 门店日记实体。 */
export type StoreDiary = ArticleEditorArticle & {
id?: string;
bizType?: "GAO_STORE_DIARY";
bizId?: string;
title?: string;
description?: string;
contentType?: StoreDiaryContentType;
content?: string;
attachmentList?: StoreDiaryAttachment[];
status?: "DART" | "NORMAL" | "HIDDEN";
createdAt?: number;
updatedAt?: number;
updater?: User;
};