UNPKG

@topgroup/diginext

Version:

A BUILD SERVER & CLI to deploy apps to any Kubernetes clusters.

21 lines 588 B
import type { IResponsePagination } from "./IQuery"; export interface ResponseData extends IResponsePagination { /** * 1 = succeed | 0 = failed */ status: 1 | 0; data: any; /** * Error/warning messages */ messages: string[]; } export declare const respondFailure: (params: { data?: any; msg?: string; } | string | string[]) => ResponseData; export declare const respondSuccess: (params: { data?: any; msg?: string | string[]; } & IResponsePagination) => ResponseData & IResponsePagination; //# sourceMappingURL=ResponseData.d.ts.map