UNPKG

authvisage-sdk

Version:
30 lines 982 B
import z from "zod"; export const clientOptionsSchema = z .object({ projectId: z.string({ required_error: "Project ID is required", invalid_type_error: "Project ID must be a string", }), platformUrl: z .string({ required_error: "Platform URL is required", invalid_type_error: "Platform URL must be a string", }) .url({ message: "Platform URL must be a valid URL" }), backendUrl: z .string({ required_error: "Backend URL is required", invalid_type_error: "Backend URL must be a string", }) .url({ message: "Backend URL must be a valid URL" }), redirectUrl: z .string({ required_error: "Redirect URL is required", invalid_type_error: "Redirect URL must be a string", }) .url({ message: "Redirect URL must be a valid URL" }), }) .strict({ message: "Invalid client options structure", }); //# sourceMappingURL=clientOptions.js.map