aboutsummaryrefslogtreecommitdiff
path: root/source/models.ts
diff options
context:
space:
mode:
authorMetaMuffin <metamuffin@yandex.com>2021-08-02 10:34:36 +0200
committerMetaMuffin <metamuffin@yandex.com>2021-08-02 10:34:36 +0200
commit6d4a9c797edf2bbb75cea6afef109cb457c52641 (patch)
tree1b2e585b9349184d7e6657211d5c164145bd8210 /source/models.ts
downloadkeks-meet-6d4a9c797edf2bbb75cea6afef109cb457c52641.tar
keks-meet-6d4a9c797edf2bbb75cea6afef109cb457c52641.tar.bz2
keks-meet-6d4a9c797edf2bbb75cea6afef109cb457c52641.tar.zst
initial commit
Diffstat (limited to 'source/models.ts')
-rw-r--r--source/models.ts11
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