fenextjs-interface
Advanced tools
Comparing version 1.0.7 to 1.0.8
import { ErrorProps } from "@/Error"; | ||
export type RequestResultTypeProps = "ok" | "error"; | ||
export declare enum RequestResultTypeProps { | ||
OK = 0, | ||
ERROR = 1 | ||
} | ||
export interface RequestResultDataProps<R = any, E = any, T = RequestResultTypeProps> { | ||
@@ -4,0 +7,0 @@ type: T; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.RequestResultTypeProps = void 0; | ||
var RequestResultTypeProps; | ||
(function (RequestResultTypeProps) { | ||
RequestResultTypeProps[RequestResultTypeProps["OK"] = 0] = "OK"; | ||
RequestResultTypeProps[RequestResultTypeProps["ERROR"] = 1] = "ERROR"; | ||
})(RequestResultTypeProps = exports.RequestResultTypeProps || (exports.RequestResultTypeProps = {})); | ||
//# sourceMappingURL=index.js.map |
import { ErrorProps } from "@/Error"; | ||
export type RequestResultTypeProps = "ok" | "error"; | ||
export declare enum RequestResultTypeProps { | ||
OK = 0, | ||
ERROR = 1 | ||
} | ||
export interface RequestResultDataProps<R = any, E = any, T = RequestResultTypeProps> { | ||
@@ -4,0 +7,0 @@ type: T; |
@@ -1,2 +0,6 @@ | ||
export {}; | ||
export var RequestResultTypeProps; | ||
(function (RequestResultTypeProps) { | ||
RequestResultTypeProps[RequestResultTypeProps["OK"] = 0] = "OK"; | ||
RequestResultTypeProps[RequestResultTypeProps["ERROR"] = 1] = "ERROR"; | ||
})(RequestResultTypeProps || (RequestResultTypeProps = {})); | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "fenextjs-interface", | ||
"version": "1.0.7", | ||
"version": "1.0.8", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "./dist/cjs/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
10840
193