mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-21 02:49:06 +00:00
16 lines
468 B
TypeScript
16 lines
468 B
TypeScript
import { createFileRoute } from "@tanstack/react-router";
|
|
import { zodValidator } from "@tanstack/zod-adapter";
|
|
import { z } from "zod";
|
|
|
|
import { PasswordSetupPage } from "./PasswordSetupPage";
|
|
|
|
const PasswordSetupPageQueryParamsSchema = z.object({
|
|
token: z.string(),
|
|
to: z.string()
|
|
});
|
|
|
|
export const Route = createFileRoute("/_authenticate/password-setup")({
|
|
component: PasswordSetupPage,
|
|
validateSearch: zodValidator(PasswordSetupPageQueryParamsSchema)
|
|
});
|