1 |
|
2 | export declare type Callback = Function;
|
3 | export declare type CallbackAction = (err: any | null) => void;
|
4 | export declare type CallbackError = (err: NodeJS.ErrnoException) => void;
|
5 | export interface RemoteUser {
|
6 | real_groups: string[];
|
7 | groups: string[];
|
8 | name: string | void;
|
9 | error?: string;
|
10 | }
|
11 | export declare type StringValue = string | void | null;
|
12 | export interface HttpError extends Error {
|
13 | status: number;
|
14 | statusCode: number;
|
15 | expose: boolean;
|
16 | headers?: {
|
17 | [key: string]: string;
|
18 | };
|
19 | [key: string]: any;
|
20 | }
|