mirror of
https://github.com/xCyanGrizzly/DragonsStash.git
synced 2026-05-11 06:11:15 +00:00
feat: add PackageGroupRow and DisplayItem types
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -68,6 +68,24 @@ export interface PaginatedResponse<T> {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export interface PackageGroupRow {
|
||||||
|
id: string;
|
||||||
|
name: string;
|
||||||
|
hasPreview: boolean;
|
||||||
|
totalFileSize: string;
|
||||||
|
totalFileCount: number;
|
||||||
|
packageCount: number;
|
||||||
|
combinedTags: string[];
|
||||||
|
archiveTypes: ("ZIP" | "RAR" | "SEVEN_Z" | "DOCUMENT")[];
|
||||||
|
latestIndexedAt: string;
|
||||||
|
sourceChannel: { id: string; title: string };
|
||||||
|
packages: PackageListItem[];
|
||||||
|
}
|
||||||
|
|
||||||
|
export type DisplayItem =
|
||||||
|
| { type: "package"; data: PackageListItem }
|
||||||
|
| { type: "group"; data: PackageGroupRow };
|
||||||
|
|
||||||
export interface IngestionAccountStatus {
|
export interface IngestionAccountStatus {
|
||||||
id: string;
|
id: string;
|
||||||
displayName: string | null;
|
displayName: string | null;
|
||||||
|
|||||||
Reference in New Issue
Block a user