12 lines
478 B
TypeScript
12 lines
478 B
TypeScript
import type { BaseItemDto } from '@jellyfin/sdk/lib/generated-client/models/base-item-dto';
|
|
import type { BaseItemDtoQueryResult } from '@jellyfin/sdk/lib/generated-client/models/base-item-dto-query-result';
|
|
|
|
export interface SectionOptions {
|
|
enableOverflow: boolean
|
|
}
|
|
|
|
export type SectionContainerElement = {
|
|
fetchData: () => Promise<BaseItemDtoQueryResult | BaseItemDto[]>
|
|
getItemsHtml: (items: BaseItemDto[]) => void
|
|
parentContainer: HTMLElement
|
|
} & Element;
|