adding route for the getting of conversation details

This commit is contained in:
talksik
2022-03-19 10:39:19 -04:00
parent 3bf3c586d1
commit 50c37776fd
15 changed files with 205 additions and 9 deletions
+19
View File
@@ -0,0 +1,19 @@
import { ObjectId } from "mongodb";
export default class Content {
constructor(
public relationshipId: string, // if it's a one on one, this will be the relationship Id
public sentDate: Date,
public contentUrl: string,
public contentData: string,
public contentType: ContentType,
public _id?: ObjectId,
public listenedDate?: Date
) {}
}
export enum ContentType {
link = "LINK",
audioClip = "AUDIO_CLIP",
text = "TEXT",
}