UNPKG

@brontosaurus/db

Version:
16 lines (15 loc) 421 B
import { ObjectID } from "bson"; export declare type ResetToken = { readonly password: string; readonly createdAt: Date; readonly expireAt: Date; }; export declare type SpecialPassword = { readonly passwordId: string; readonly by: ObjectID; readonly expireAt: Date; readonly createdAt: Date; readonly password: string; suspendedBy?: ObjectID; suspendedAt?: Date; };