cleaning bunch of models, services, and routes for new line stuff

This commit is contained in:
talksik
2022-05-05 07:49:31 -05:00
parent 2782fde1ba
commit 149be0e23c
15 changed files with 231 additions and 233 deletions
@@ -0,0 +1,22 @@
import AudioClip from "./audioClip.model";
import { LineMember } from "./line.model";
import { ObjectId } from "mongodb";
export default class MasterLineData {
constructor(
// attributes of conversation
public id: ObjectId, // id of the conversation
public createdDate: Date,
public lastUpdatedDate: Date,
// compiled data for easy client read
public currentUserMember?: LineMember,
public otherMembers?: LineMember[],
public audioClips: AudioClip[] = [],
public name?: string
) {}
}