imageFilenames and imageFilename, backend integration tests, frontend tests, removed username references

This commit is contained in:
jackiettran
2025-11-26 23:13:23 -05:00
parent f2d3aac029
commit 11593606aa
52 changed files with 2815 additions and 150 deletions

View File

@@ -27,7 +27,7 @@ export interface User {
state?: string;
zipCode?: string;
country?: string;
profileImage?: string;
imageFilename?: string;
isVerified: boolean;
role?: "user" | "admin";
stripeConnectedAccountId?: string;
@@ -41,7 +41,7 @@ export interface Message {
receiverId: string;
content: string;
isRead: boolean;
imagePath?: string;
imageFilename?: string;
sender?: User;
receiver?: User;
createdAt: string;
@@ -84,7 +84,7 @@ export interface Item {
country?: string;
latitude?: number;
longitude?: number;
images: string[];
imageFilenames: string[];
condition: "excellent" | "good" | "fair" | "poor";
isAvailable: boolean;
rules?: string;
@@ -187,7 +187,7 @@ export interface ConditionCheck {
| "rental_start_renter"
| "rental_end_renter"
| "post_rental_owner";
photos: string[];
imageFilenames: string[];
notes?: string;
submittedBy: string;
submittedAt: string;
@@ -212,7 +212,7 @@ export interface DamageAssessment {
needsReplacement: boolean;
replacementCost?: number;
proofOfOwnership?: string[];
photos?: string[];
imageFilenames?: string[];
assessedAt: string;
assessedBy: string;
feeCalculation: {
@@ -265,7 +265,7 @@ export interface ForumPost {
commentCount: number;
isPinned: boolean;
acceptedAnswerId?: string;
images?: string[];
imageFilenames?: string[];
isDeleted?: boolean;
deletedBy?: string;
deletedAt?: string;
@@ -287,7 +287,7 @@ export interface ForumComment {
content: string;
parentCommentId?: string;
isDeleted: boolean;
images?: string[];
imageFilenames?: string[];
deletedBy?: string;
deletedAt?: string;
author?: User;