refactor journal-detail-popup

This commit is contained in:
Timi
2025-12-11 12:02:01 +08:00
parent 0379a1d3b5
commit 1bf655c0dc
13 changed files with 238 additions and 352 deletions

View File

@ -1,5 +1,6 @@
import { Attachment } from "./Attachment";
import { Model, QueryPage } from "./Model";
import { MediaItem } from "./UI";
/** 日记 */
export type Journal = {
@ -22,8 +23,22 @@ export type Journal = {
/** 天气 */
weatcher?: string;
// ---------- 以下为 VO 字段 ----------
/** 日期 */
date?: string;
/** 时间 */
time?: string;
/** 时间 */
datetime?: string;
/** 附件(照片、视频等) */
items?: Attachment[];
/** 媒体项(由附件转) */
mediaItems?: MediaItem[];
} & Model;
/** 日记类型 */