DirectusItem
No import needed, data returned by useDirectusItems
is already typed.
export interface DirectusItemMetadata { total_count?: number; filter_count?: number;};export interface DirectusItems<T> { data: NonNullable<T[]>; meta?: DirectusItemMetadata;};export interface DirectusItem<T> { data: NonNullable<T>;};