Initial frontend draft
This commit is contained in:
parent
1606d1faf0
commit
b6293beeec
21 changed files with 4105 additions and 150 deletions
16
frontend/app/Lib/Item.ts
Normal file
16
frontend/app/Lib/Item.ts
Normal 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,
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue