JellyGlass/frontend/app/Lib/Item.ts

16 lines
No EOL
351 B
TypeScript

import { ItemType } from "~/Models/Item";
import type Item from "~/Models/Item";
export const FetchItems = async (libraryId: string): Promise<Array<Item>> => {
return [];
}
export const FetchItem = async (itemId: string, libraryId: string): Promise<Item> => {
return {
id: "",
name: "",
servers: [],
type: ItemType.Movie,
};
}