cleaning bunch of models, services, and routes for new line stuff
This commit is contained in:
@@ -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
|
||||
) {}
|
||||
}
|
||||
Reference in New Issue
Block a user