diff --git a/src/services/deepLinks.ts b/src/services/deepLinks.ts index 1f7e1e45..435818f2 100644 --- a/src/services/deepLinks.ts +++ b/src/services/deepLinks.ts @@ -56,6 +56,7 @@ import type { DeepLinkError } from "../interfaces/deepLinks"; // Helper function to extract the first key from a Zod object schema function getFirstKeyFromZodObject( + // eslint-disable-next-line @typescript-eslint/no-explicit-any schema: z.ZodObject, ): string | undefined { const shape = schema.shape; @@ -74,6 +75,7 @@ function getFirstKeyFromZodObject( export const ROUTE_MAP: Record = Object.entries(deepLinkSchemas).reduce( (acc, [routeName, schema]) => { + // eslint-disable-next-line @typescript-eslint/no-explicit-any const paramKey = getFirstKeyFromZodObject(schema as z.ZodObject); acc[routeName] = { name: routeName, diff --git a/src/views/DeepLinkErrorView.vue b/src/views/DeepLinkErrorView.vue index 0777c55e..f6c72038 100644 --- a/src/views/DeepLinkErrorView.vue +++ b/src/views/DeepLinkErrorView.vue @@ -78,6 +78,7 @@ export default class DeepLinkErrorView extends Vue { } // Deep link schema keys mapping + // This is an object with the route as the key and the first param name as the value get deepLinkSchemaKeys() { return Object.fromEntries( Object.entries(deepLinkSchemas).map(([route, schema]) => {