diff options
Diffstat (limited to 'source/models.ts')
-rw-r--r-- | source/models.ts | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/source/models.ts b/source/models.ts new file mode 100644 index 0000000..45a3825 --- /dev/null +++ b/source/models.ts @@ -0,0 +1,11 @@ + +export interface CallDocModel { + offer: SessionModel + offer_candidates: CandidateModel[] + on_answer: (a: SessionModel) => void + on_offer_candidate: (a: CandidateModel) => void + on_answer_candidate: (a: CandidateModel) => void + answered: boolean +} +export type CandidateModel = any +export type SessionModel = any |