mirror of
https://github.com/tapframe/NuvioStreaming.git
synced 2026-05-17 07:21:58 +00:00
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>
21 lines
425 B
TypeScript
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[];
|
|
}
|