вложения, канальчики, бим-бим + бам-бам
This commit is contained in:
11
server/schemas/user.ts
Normal file
11
server/schemas/user.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
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' },
|
||||
)
|
||||
Reference in New Issue
Block a user