import { ReducedUser } from "."; import { Scope } from "./Scopes"; export interface Pat { _id: string; name: string; expiration?: number; scopes: Scope[]; user: ReducedUser; token: string; jwt: string; modifyDate: number; } export interface PatCreate { name: string; expiration?: number; scopes: Scope[]; token?: string; } export type PatUpdate = Partial;