fix: 更新directus类型标注
This commit is contained in:
@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user