imageFilenames and imageFilename, backend integration tests, frontend tests, removed username references
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user