Initial frontend draft

This commit is contained in:
Fishandchips321 2025-12-22 18:10:28 +00:00
parent 1606d1faf0
commit b6293beeec
21 changed files with 4105 additions and 150 deletions

16
frontend/app/Lib/Item.ts Normal file
View file

@ -0,0 +1,16 @@
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,
};
}

View file

@ -0,0 +1,14 @@
import type Library from "~/Models/Library";
export const FetchLibraries = async (): Promise<Array<Library>> => {
return [];
}
export const FetchLibrary = async (id: string): Promise<Library> => {
return {
id: "",
name: "",
servers: []
};
}