diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml
new file mode 100644
index 0000000..df7825d
--- /dev/null
+++ b/.idea/inspectionProfiles/Project_Default.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/php.xml b/.idea/php.xml
index 2c7445e..e0c73d1 100644
--- a/.idea/php.xml
+++ b/.idea/php.xml
@@ -9,9 +9,24 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/.idea/prettier.xml b/.idea/prettier.xml
index b0c1c68..0c83ac4 100644
--- a/.idea/prettier.xml
+++ b/.idea/prettier.xml
@@ -2,5 +2,6 @@
+
\ No newline at end of file
diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index d6195b0..f636e24 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -5,8 +5,11 @@
+
+
-
+
+
@@ -44,9 +47,9 @@
-
+ {
+ "associatedIndex": 8
+}
@@ -63,7 +66,7 @@
"WebServerToolWindowFactoryState": "false",
"code.cleanup.on.save": "true",
"git-widget-placeholder": "main",
- "last_opened_file_path": "/home/tiradoe/Projects/movie-night/web",
+ "last_opened_file_path": "/home/tiradoe/Projects/movie-night/web/src/types",
"list.type.of.created.stylesheet": "CSS",
"node.js.detected.package.eslint": "true",
"node.js.detected.package.standard": "true",
@@ -72,15 +75,17 @@
"node.js.selected.package.standard": "",
"node.js.selected.package.tslint": "(autodetect)",
"nodejs_package_manager_path": "npm",
+ "npm.dev.executor": "Run",
"prettierjs.PrettierConfiguration.Package": "/home/tiradoe/Projects/movie-night/web/src/node_modules/prettier",
"rearrange.code.on.save": "true",
- "settings.editor.selected.configurable": "settings.javascript.prettier",
+ "settings.editor.selected.configurable": "settings.vue",
"ts.external.directory.path": "/home/tiradoe/Projects/movie-night/web/src/node_modules/typescript/lib",
"vue.rearranger.settings.migration": "true"
}
}]]>
+
@@ -127,7 +132,8 @@
-
+
+
diff --git a/src/pages/lists/[id].vue b/src/pages/lists/[id].vue
index a8cc5ca..527fe99 100644
--- a/src/pages/lists/[id].vue
+++ b/src/pages/lists/[id].vue
@@ -10,33 +10,47 @@
+ id="hide_scheduled"
+ v-model="hide_scheduled"
+ type="checkbox"
+ @change="hideScheduled"
+ />
-
-
- -
+
+ -
{{ movie.title }}
-
+
X
@@ -45,100 +59,139 @@
-
-
\ No newline at end of file
+
diff --git a/src/types/movie.ts b/src/types/movie.ts
new file mode 100644
index 0000000..f8cfed0
--- /dev/null
+++ b/src/types/movie.ts
@@ -0,0 +1,14 @@
+export type Movie = {
+ id: number;
+ title: string;
+ added_by: number;
+ imdb_id: string;
+ year: number;
+ critic_score: string;
+ genre: string;
+ director: string;
+ actors: string;
+ plot: string;
+ poster: string;
+ last_watched: string;
+};
diff --git a/src/types/movielist.ts b/src/types/movielist.ts
index 86bd01b..3c8e1d5 100644
--- a/src/types/movielist.ts
+++ b/src/types/movielist.ts
@@ -1,7 +1,10 @@
+import type { Movie } from "~/types/movie";
+
export type MovieList = {
id: number;
name: string;
public: boolean;
owner: number;
movie_count: number;
+ movies: Movie[];
};