@it_kyryl/arbitrage_admin_schema
Version:
Schema for arbitrage admin panel
12 lines • 390 B
TypeScript
type DefaultResponseWithErrorType = {
error: true;
message: string;
};
type DefaultResponseWithoutErrorType<ResponseDataType> = {
error: false;
message: string;
data: ResponseDataType;
};
export type DefaultResponseType<ResponseDataType> = DefaultResponseWithErrorType | DefaultResponseWithoutErrorType<ResponseDataType>;
export {};
//# sourceMappingURL=helpers.d.ts.map