update to latest standards

This commit is contained in:
2018-04-29 14:17:26 +02:00
parent 95c5fb7e83
commit 1c8d6bf96e
5 changed files with 34 additions and 11 deletions
+17 -2
View File
@@ -1,10 +1,25 @@
import * as plugins from './smartuniverse.plugins';
import { Objectmap } from 'lik';
/**
* enables a set of apps to talk within their own limited borders.
* enables messages to stay within a certain scope.
*/
export class UniverseChannel {
topic: string;
/**
* stores the channels that are available within the universe
*/
public static channelStore = new Objectmap();
/**
* creates new channels
* @param channelArg the name of the topic
* @param secretArg the secret thats used for a certain topic.
*/
public static createChannel = (channelArg: string, secretArg: string) => {
}
credentials: {
user: string;
password: string;