fix: 更新directus类型标注

This commit is contained in:
2025-10-17 16:22:39 +08:00
parent 227b537a0f
commit 9abe6431a6

View File

@ -235,6 +235,8 @@ export interface Solution {
cover?: DirectusFile | string | null; cover?: DirectusFile | string | null;
homepage_recommend?: Homepage | string | null; homepage_recommend?: Homepage | string | null;
recommend_sort?: number | null; recommend_sort?: number | null;
/** @description 条目创建时自动生成 */
create_at?: string | null;
translations?: SolutionsTranslation[] | null; translations?: SolutionsTranslation[] | null;
} }
@ -245,7 +247,7 @@ export interface SolutionsTranslation {
languages_code?: Language | string | null; languages_code?: Language | string | null;
title?: string | null; title?: string | null;
summary?: string | null; summary?: string | null;
content?: 'json' | null; content?: string | null;
} }
export interface DirectusAccess { export interface DirectusAccess {