jellyfish-web/src/components/homesections/sections/section.d.ts
2023-10-05 11:20:27 -04:00

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;