import { z } from 'zod';

export const upsertSettingSchema = z.object({
  key: z.string().min(1).max(100),
  value: z.unknown(),
});

export type UpsertSettingInput = z.infer<typeof upsertSettingSchema>;

export const deleteSettingSchema = z.object({
  key: z.string().min(1).max(100),
});

export type DeleteSettingInput = z.infer<typeof deleteSettingSchema>;
