mirror of
https://github.com/remnawave/backend.git
synced 2026-05-14 04:46:49 +00:00
19 lines
536 B
TypeScript
19 lines
536 B
TypeScript
import { z } from 'zod';
|
|
|
|
import {
|
|
Oauth2SettingsSchema,
|
|
PasskeySettingsSchema,
|
|
PasswordAuthSettingsSchema,
|
|
BrandingSettingsSchema,
|
|
} from '@libs/contracts/models';
|
|
|
|
declare global {
|
|
namespace PrismaJson {
|
|
type PasskeySettings = z.infer<typeof PasskeySettingsSchema>;
|
|
type Oauth2Settings = z.infer<typeof Oauth2SettingsSchema>;
|
|
type PasswordAuthSettings = z.infer<typeof PasswordAuthSettingsSchema>;
|
|
type BrandingSettings = z.infer<typeof BrandingSettingsSchema>;
|
|
}
|
|
}
|
|
|
|
export {};
|