fix: cases types

This commit is contained in:
Dragory 2024-01-15 22:45:07 +00:00
parent 61b5f3f0d3
commit 1b76af3579
No known key found for this signature in database

View file

@ -16,7 +16,7 @@ export const zCasesConfig = z.strictObject({
show_relative_times: z.boolean(), show_relative_times: z.boolean(),
relative_time_cutoff: zDelayString.default("1w"), relative_time_cutoff: zDelayString.default("1w"),
case_colors: z.record(z.enum(caseKeys), zColor).nullable(), case_colors: z.record(z.enum(caseKeys), zColor).nullable(),
case_icons: z.record(z.enum(caseKeys), zBoundedCharacters(0, 32)).nullable(), case_icons: z.record(z.enum(caseKeys), zBoundedCharacters(0, 100)).nullable(),
}); });
export interface CasesPluginType extends BasePluginType { export interface CasesPluginType extends BasePluginType {