Lots of dev
ci / docker_image (push) Successful in 2m55s
ci / deploy (push) Successful in 51s

This commit is contained in:
2026-02-03 00:23:43 -06:00
parent 2c2b08aa1a
commit 4ea6549ac7
66 changed files with 2125 additions and 172 deletions
+13
View File
@@ -0,0 +1,13 @@
export enum Sender {
ADMIN = 'admin',
FINDER = 'finder',
INQUIRER = 'inquirer'
}
export interface message {
id: number;
threadId: number;
sender: Sender;
body: string;
createdAt: Date;
}
+13
View File
@@ -0,0 +1,13 @@
export interface Item {
id: number;
emails?: string[];
// ownerPhone: string;
foundDate: Date;
approvedDate?: Date;
claimedDate?: Date;
// title: string;
description: string;
transferred: boolean; // to L&F location
keywords?: string[];
foundLocation: string;
}
+30
View File
@@ -0,0 +1,30 @@
export interface User {
id: number;
username: string;
email: string;
name: string;
password?: string;
password_hash?: string;
settings?: UserSettings;
createdAt: Date;
lastSignIn: Date;
}
export interface UserPayload {
id: number;
email: string;
username: string;
name: string;
}
export interface UserSettings {
staleItemDays: number;
notifyAllApprovedInquiries?: boolean;
notifyAllTurnedInInquiries?: boolean;
}
export const DefaultUserSettings: UserSettings = {
staleItemDays: 30,
notifyAllApprovedInquiries: false,
notifyAllTurnedInInquiries: false
};