12 lines
382 B
TypeScript
12 lines
382 B
TypeScript
import { Type } from 'typebox'
|
|
|
|
export const UserPreferencesSchema = Type.Object({
|
|
toggleInputHotkey: Type.String(),
|
|
toggleOutputHotkey: Type.String(),
|
|
}, { title: 'UserPreferences', description: 'UserPreferences' })
|
|
|
|
export const UpdateUserPreferencesSchema = Type.Partial(
|
|
UserPreferencesSchema,
|
|
{ title: 'UpdateUserPreferences', description: 'UpdateUserPreferences' },
|
|
)
|