items revisions
This commit is contained in:
@@ -4,7 +4,7 @@ export interface User {
|
||||
email: string;
|
||||
name: string;
|
||||
password?: string;
|
||||
password_hash?: string;
|
||||
passwordHash?: string;
|
||||
settings?: UserSettings;
|
||||
createdAt: Date;
|
||||
lastSignIn: Date;
|
||||
@@ -17,11 +17,11 @@ export interface UserPayload {
|
||||
name: string;
|
||||
}
|
||||
|
||||
export interface UserSettings {
|
||||
export type UserSettings = {
|
||||
staleItemDays: number;
|
||||
notifyAllApprovedInquiries?: boolean;
|
||||
notifyAllTurnedInInquiries?: boolean;
|
||||
}
|
||||
};
|
||||
|
||||
export const DefaultUserSettings: UserSettings = {
|
||||
staleItemDays: 30,
|
||||
|
||||
Reference in New Issue
Block a user