Restrict parameters for updating project route

We restricted the allowed parameters that are used for project-relative
navigation. This allows us to better understand which of the parameters
are used.

Signed-off-by: Thomas Scholtes <geigerzaehler@axiom.fm>
This commit is contained in:
Thomas Scholtes
2023-07-03 15:03:53 +02:00
parent 5d535ff604
commit 1547e4fc39
6 changed files with 68 additions and 50 deletions
+3 -1
View File
@@ -8,7 +8,9 @@
updateProjectRoute,
} from "@app/views/projects/router";
export let projectParams: Partial<ProjectsParams>;
export let projectParams: Partial<
Omit<ProjectsParams, "id" | "route" | "hash">
>;
export let title: string | undefined = undefined;
const dispatch = createEventDispatcher<{ click: never }>();