initial commit
This commit is contained in:
commit
869be69d67
42 changed files with 11444 additions and 0 deletions
6
app/types/collaborator.ts
Normal file
6
app/types/collaborator.ts
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
export type Collaborator = {
|
||||
id: number,
|
||||
name: string
|
||||
role: number
|
||||
}
|
||||
|
||||
9
app/types/list-settings.ts
Normal file
9
app/types/list-settings.ts
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
import type {Collaborator} from "~/types/collaborator";
|
||||
import type {Role} from "~/types/role";
|
||||
|
||||
export type ListSettings = {
|
||||
listName: string,
|
||||
isPublic: boolean,
|
||||
collaborators: Collaborator[],
|
||||
roles: Role[]
|
||||
}
|
||||
9
app/types/list.ts
Normal file
9
app/types/list.ts
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
import {type ListSettings} from "~/types/list-settings";
|
||||
|
||||
export type List = {
|
||||
id: number,
|
||||
name: string
|
||||
isPublic: boolean
|
||||
listSettings: ListSettings
|
||||
}
|
||||
|
||||
14
app/types/movie.ts
Normal file
14
app/types/movie.ts
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
export type Movie = {
|
||||
id: number,
|
||||
title: string
|
||||
imdb_id: string
|
||||
director: string
|
||||
actors: string
|
||||
plot: string
|
||||
genre: string
|
||||
mpaa_rating: string
|
||||
critic_scores: string
|
||||
poster: string
|
||||
added_by: number
|
||||
}
|
||||
|
||||
5
app/types/role.ts
Normal file
5
app/types/role.ts
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
export type Role = {
|
||||
id: number,
|
||||
name: string
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue