import { IdbGrant, SessionGroupInfo } from '../fn.socket.io.server/fn.socket.io.adapter'; export interface QueryOptions { onlyRows: boolean; } export interface QueryParams { [key: string]: any; } export interface DbResultError { errorCode: number; errorText: string; } export interface FunctionResult { result: boolean; } export interface OnPostgresEvent { onPostgresEvent(eventData: Object): void; } export interface ISysUserInfo { email: string; settings: { [key: string]: any; }; is_active: boolean; user_type: Array; first_name: string; second_name: string; user_group: Array; connection_limit: number; grant_list?: Array; } export interface IUserGetInfoOut { user_guid: number; user_info: ISysUserInfo; }