12 lines
218 B
TypeScript
12 lines
218 B
TypeScript
|
import { Type } from '@sinclair/typebox'
|
||
|
|
||
|
import { date, id } from './utils'
|
||
|
|
||
|
export const refreshTokensSchema = {
|
||
|
id,
|
||
|
token: Type.String(),
|
||
|
createdAt: date.createdAt,
|
||
|
updatedAt: date.updatedAt,
|
||
|
userId: id
|
||
|
}
|