blob: 706f01f16bb47670eb9a802592d1469073046a30 [file] [log] [blame]
Michael Landoed64b5e2017-06-09 03:19:04 +03001'use strict';
2import {Dictionary} from "app/utils";
3
4export class SharingService {
5
6 private uuidMap:Dictionary<string, string> = new Dictionary<string,string>();
7
8 public getUuidValue = (uniqueId:string):string => {
9 return this.uuidMap.getValue(uniqueId);
10 };
11
12 public addUuidValue = (uniqueId:string, uuid:string):void => {
13 this.uuidMap.setValue(uniqueId, uuid);
14 };
15
16 public getUuidMap = ():Dictionary<string, string> => {
17 return this.uuidMap;
18 };
19
20}