smartsocket/dist/smartsocket.helpers.d.ts

16 lines
962 B
TypeScript
Raw Normal View History

2018-03-15 01:29:40 +00:00
import { Smartsocket } from './smartsocket.classes.smartsocket';
import { SocketFunction } from './smartsocket.classes.socketfunction';
import { ISocketConnectionAuthenticationObject } from './smartsocket.classes.socketconnection';
import { SocketRequest, TSocketRequestSide } from './smartsocket.classes.socketrequest';
import { SocketRole } from './smartsocket.classes.socketrole';
2016-09-04 22:34:09 +00:00
export declare let checkPasswordForRole: (dataArg: ISocketConnectionAuthenticationObject, referenceSmartsocket: Smartsocket) => boolean;
export declare let getSocketFunctionByName: (functionNameArg: string) => SocketFunction;
/**
* get corresponding Socketrequest instance by shortId
*/
2016-08-14 01:25:26 +00:00
export declare let getSocketRequestById: (shortIdArg: string, requestSide?: TSocketRequestSide) => SocketRequest;
/**
* get corresponding SocketRole instance by name
*/
2016-09-04 22:34:09 +00:00
export declare let getSocketRoleByName: (socketRoleNameArg: string, referenceSmartsocket: Smartsocket) => SocketRole;