mirror of
https://github.com/CaramelFur/Picsur.git
synced 2025-11-13 15:25:39 +01:00
10 lines
279 B
TypeScript
10 lines
279 B
TypeScript
import { z } from 'zod';
|
|
import { IsEntityID } from '../validators/entity-id.validator';
|
|
|
|
export const ESysPreferenceSchema = z.object({
|
|
id: IsEntityID().optional(),
|
|
key: z.string(),
|
|
value: z.string(),
|
|
});
|
|
export type ESysPreference = z.infer<typeof ESysPreferenceSchema>;
|