NuvioStreaming/src/types/collections.ts
Amarjit Singh c6216cb95d Add Collections feature for organizing catalogs into folders
Collections let users group addon catalogs into named folders that appear
as horizontal rows on the home screen. Each folder supports emoji or image
URL covers, tile shape selection (poster/wide/square), and multiple catalog
sources with tabbed browsing in the detail view. Includes emoji picker with
12 categories and all country flags, export/import via clipboard (compatible
with NuvioTV format), and missing addon warnings.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-21 16:14:03 -07:00

21 lines
425 B
TypeScript

export interface CollectionCatalogSource {
addonId: string;
type: string;
catalogId: string;
}
export interface CollectionFolder {
id: string;
title: string;
coverImageUrl?: string;
coverEmoji?: string;
tileShape: 'poster' | 'wide' | 'square';
hideTitle: boolean;
catalogSources: CollectionCatalogSource[];
}
export interface Collection {
id: string;
title: string;
folders: CollectionFolder[];
}