aboutsummaryrefslogtreecommitdiff
path: root/src/client/DocServer.ts
diff options
context:
space:
mode:
authorMohammad Amoush <mohammad_amoush@brown.edu>2019-06-25 19:49:54 -0400
committerMohammad Amoush <mohammad_amoush@brown.edu>2019-06-25 19:49:54 -0400
commitb285803c4e8c37302f6e02624a6127667d628305 (patch)
tree29099d7070320fe137a540bc647a5e94618cf2f6 /src/client/DocServer.ts
parent0f034260b18dc06f1a1267af8707481eff8ac21a (diff)
Youtube Api Exploration
Diffstat (limited to 'src/client/DocServer.ts')
-rw-r--r--src/client/DocServer.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/client/DocServer.ts b/src/client/DocServer.ts
index cbcf751ee..c9cbce78e 100644
--- a/src/client/DocServer.ts
+++ b/src/client/DocServer.ts
@@ -47,6 +47,12 @@ export namespace DocServer {
}
}
+ export async function getYoutubeApiKey() {
+ let apiKey = await Utils.EmitCallback(_socket, MessageStore.YoutubeApiKey, undefined);
+ return apiKey;
+ }
+
+
export async function GetRefFields(ids: string[]): Promise<{ [id: string]: Opt<RefField> }> {
const requestedIds: string[] = [];
const waitingIds: string[] = [];