文件操作 - types.ts
返回文件管理
返回主菜单
删除本文件
文件: /home/www/public/wp-content/plugins/give/src/Admin/types.ts
编辑文件内容
/** * Schema property interface for filtering read-only fields * * @since 4.10.0 */ export interface SchemaProperty { readOnly?: boolean; properties?: Record<string, SchemaProperty>; [key: string]: any; } /** * @since 4.11.0 */ export interface SelectOption { value: number; label: string; record?: any; } /** * @since 4.11.0 */ export interface UseAsyncSelectOptionReturn { selectedOption: SelectOption | null; loadOptions: (searchInput: string) => Promise<{ options: SelectOption[]; hasMore: boolean; }>; mapOptionsForMenu: (options: SelectOption[]) => SelectOption[]; error: Error | null; }
修改文件时间
将文件时间修改为当前时间的前一年
删除文件