mirror of
https://github.com/amitwh/markdown-converter.git
synced 2026-08-02 18:10:18 +05:30
feat(settings): add updateChannel, autoCheckUpdates, firstRun fields
This commit is contained in:
@@ -22,6 +22,9 @@ export const settingsSchema = z.object({
|
|||||||
editorFontSize: z.number().min(10).max(28).default(14),
|
editorFontSize: z.number().min(10).max(28).default(14),
|
||||||
customCssPath: z.string().nullable().default(null),
|
customCssPath: z.string().nullable().default(null),
|
||||||
userBindings: z.record(z.string(), z.string()).default({}),
|
userBindings: z.record(z.string(), z.string()).default({}),
|
||||||
|
updateChannel: z.enum(['github', 'concreteinfo']).default('github'),
|
||||||
|
autoCheckUpdates: z.boolean().default(true),
|
||||||
|
firstRun: z.boolean().default(true),
|
||||||
});
|
});
|
||||||
export type Settings = z.infer<typeof settingsSchema>;
|
export type Settings = z.infer<typeof settingsSchema>;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user