Initial frontend draft
This commit is contained in:
parent
1606d1faf0
commit
b6293beeec
21 changed files with 4105 additions and 150 deletions
15
frontend/app/Models/Item.ts
Normal file
15
frontend/app/Models/Item.ts
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
import type Library from "./Library";
|
||||
|
||||
export default interface Item {
|
||||
name: string;
|
||||
id: string;
|
||||
library?: Library;
|
||||
servers: Array<string>;
|
||||
type: ItemType;
|
||||
}
|
||||
|
||||
export enum ItemType {
|
||||
Movie,
|
||||
TvShow,
|
||||
Music,
|
||||
}
|
||||
8
frontend/app/Models/Library.ts
Normal file
8
frontend/app/Models/Library.ts
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
import type Item from "./Item";
|
||||
|
||||
export default interface Library {
|
||||
name: string;
|
||||
id: string;
|
||||
servers: Array<string>;
|
||||
items?: Array<Item>;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue