smartsocket/dist/smartsocket.helpers.d.ts

15 lines
827 B
TypeScript
Raw Normal View History

import { SocketFunction } from "./smartsocket.classes.socketfunction";
import { ISocketConnectionAuthenticationObject } from "./smartsocket.classes.socketconnection";
2016-08-14 01:25:26 +00:00
import { SocketRequest, TSocketRequestSide } from "./smartsocket.classes.socketrequest";
2016-08-09 09:42:21 +00:00
import { SocketRole } from "./smartsocket.classes.socketrole";
export declare let checkPasswordForRole: (dataArg: ISocketConnectionAuthenticationObject) => 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
*/
export declare let getSocketRoleByName: (socketRoleNameArg: string) => SocketRole;