rufeed/src/types/index.ts
2026-05-05 10:49:43 +02:00

14 lines
348 B
TypeScript

import type { Feed, FeedEntry, FeedItem, Person } from "../bindings";
export type View =
| { type: "empty" }
| { type: "items"; feed: Feed; items: FeedItem[] }
| { type: "entry"; feed: Feed; entry: FeedEntry };
export type UiError = {
id: number;
title: string;
message: string;
};
export type { Feed, FeedItem, FeedEntry, Person };