problem with objectId with bson and such in models but fixed it and nice rendering everything now

This commit is contained in:
talksik
2022-03-19 22:28:05 -04:00
parent b656e9d3a9
commit 10520b3487
10 changed files with 147 additions and 29 deletions
+2 -1
View File
@@ -10,7 +10,7 @@ export default class Relationship {
public createdDate: Date = new Date(),
public lastUpdatedDate: Date = new Date(),
public _id: ObjectId = new ObjectId()
public _id?: ObjectId
) {}
}
@@ -18,4 +18,5 @@ export enum RelationshipState {
PENDING = "PENDING",
ACTIVE = "ACTIVE",
BLOCKED = "BLOCKED",
DENIED = "DENIED",
}
@@ -7,7 +7,7 @@ export default class GetConversationDetailsResponse {
constructor(
public contactUser: User,
isLiveOrPinned: boolean,
public isLiveOrPinned: boolean,
public ourRelationship?: Relationship,
public latestContent?: Content[]
) {}