mirror of
https://github.com/steveiliop56/tinyauth.git
synced 2025-10-29 13:15:46 +00:00
* refactor: split app context and user context * tests: fix api tests * chore: rename dockerfiles * fix: use correct forwardauth address
11 lines
267 B
TypeScript
11 lines
267 B
TypeScript
import { z } from "zod";
|
|
|
|
export const appContextSchema = z.object({
|
|
configuredProviders: z.array(z.string()),
|
|
disableContinue: z.boolean(),
|
|
title: z.string(),
|
|
genericName: z.string(),
|
|
});
|
|
|
|
export type AppContextSchemaType = z.infer<typeof appContextSchema>;
|