🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

fenextjs-interface

Package Overview
Dependencies
Maintainers
1
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fenextjs-interface - npm Package Compare versions

Comparing version

to
1.0.9

4

cjs/Error/index.d.ts
export declare enum ErrorCode {
USER_TOKEN_NOT_FOUNT = 0,
USER_TOKEN_INVALID = 1
USER_TOKEN_NOT_FOUNT = "USER_TOKEN_NOT_FOUNT",
USER_TOKEN_INVALID = "USER_TOKEN_INVALID"
}

@@ -5,0 +5,0 @@ export interface ErrorProps<D = any> {

@@ -6,5 +6,5 @@ "use strict";

(function (ErrorCode) {
ErrorCode[ErrorCode["USER_TOKEN_NOT_FOUNT"] = 0] = "USER_TOKEN_NOT_FOUNT";
ErrorCode[ErrorCode["USER_TOKEN_INVALID"] = 1] = "USER_TOKEN_INVALID";
ErrorCode["USER_TOKEN_NOT_FOUNT"] = "USER_TOKEN_NOT_FOUNT";
ErrorCode["USER_TOKEN_INVALID"] = "USER_TOKEN_INVALID";
})(ErrorCode = exports.ErrorCode || (exports.ErrorCode = {}));
//# sourceMappingURL=index.js.map
import { ErrorProps } from "@/Error";
export declare enum RequestResultTypeProps {
OK = 0,
ERROR = 1
OK = "OK",
ERROR = "ERROR"
}

@@ -6,0 +6,0 @@ export interface RequestResultDataProps<R = any, E = any, T = RequestResultTypeProps> {

@@ -6,5 +6,5 @@ "use strict";

(function (RequestResultTypeProps) {
RequestResultTypeProps[RequestResultTypeProps["OK"] = 0] = "OK";
RequestResultTypeProps[RequestResultTypeProps["ERROR"] = 1] = "ERROR";
RequestResultTypeProps["OK"] = "OK";
RequestResultTypeProps["ERROR"] = "ERROR";
})(RequestResultTypeProps = exports.RequestResultTypeProps || (exports.RequestResultTypeProps = {}));
//# sourceMappingURL=index.js.map

@@ -8,8 +8,9 @@ import { PhoneProps } from "@/Phone";

export declare enum UserStatusProps {
VERIFY = 0,
NOVERIFY = 1
VERIFY = "VERIFY",
NOVERIFY = "NOVERIFY"
}
export declare enum UserRoleProps {
ADMIN = 0,
CUSTOMER = 1
ADMIN = "ADMIN",
CUSTOMER = "CUSTOMER",
BACKOFFICE = "BACKOFFICE"
}

@@ -16,0 +17,0 @@ export interface UserProps {

@@ -12,10 +12,11 @@ "use strict";

(function (UserStatusProps) {
UserStatusProps[UserStatusProps["VERIFY"] = 0] = "VERIFY";
UserStatusProps[UserStatusProps["NOVERIFY"] = 1] = "NOVERIFY";
UserStatusProps["VERIFY"] = "VERIFY";
UserStatusProps["NOVERIFY"] = "NOVERIFY";
})(UserStatusProps = exports.UserStatusProps || (exports.UserStatusProps = {}));
var UserRoleProps;
(function (UserRoleProps) {
UserRoleProps[UserRoleProps["ADMIN"] = 0] = "ADMIN";
UserRoleProps[UserRoleProps["CUSTOMER"] = 1] = "CUSTOMER";
UserRoleProps["ADMIN"] = "ADMIN";
UserRoleProps["CUSTOMER"] = "CUSTOMER";
UserRoleProps["BACKOFFICE"] = "BACKOFFICE";
})(UserRoleProps = exports.UserRoleProps || (exports.UserRoleProps = {}));
//# sourceMappingURL=index.js.map
export declare enum ErrorCode {
USER_TOKEN_NOT_FOUNT = 0,
USER_TOKEN_INVALID = 1
USER_TOKEN_NOT_FOUNT = "USER_TOKEN_NOT_FOUNT",
USER_TOKEN_INVALID = "USER_TOKEN_INVALID"
}

@@ -5,0 +5,0 @@ export interface ErrorProps<D = any> {

export var ErrorCode;
(function (ErrorCode) {
ErrorCode[ErrorCode["USER_TOKEN_NOT_FOUNT"] = 0] = "USER_TOKEN_NOT_FOUNT";
ErrorCode[ErrorCode["USER_TOKEN_INVALID"] = 1] = "USER_TOKEN_INVALID";
ErrorCode["USER_TOKEN_NOT_FOUNT"] = "USER_TOKEN_NOT_FOUNT";
ErrorCode["USER_TOKEN_INVALID"] = "USER_TOKEN_INVALID";
})(ErrorCode || (ErrorCode = {}));
//# sourceMappingURL=index.js.map
import { ErrorProps } from "@/Error";
export declare enum RequestResultTypeProps {
OK = 0,
ERROR = 1
OK = "OK",
ERROR = "ERROR"
}

@@ -6,0 +6,0 @@ export interface RequestResultDataProps<R = any, E = any, T = RequestResultTypeProps> {

export var RequestResultTypeProps;
(function (RequestResultTypeProps) {
RequestResultTypeProps[RequestResultTypeProps["OK"] = 0] = "OK";
RequestResultTypeProps[RequestResultTypeProps["ERROR"] = 1] = "ERROR";
RequestResultTypeProps["OK"] = "OK";
RequestResultTypeProps["ERROR"] = "ERROR";
})(RequestResultTypeProps || (RequestResultTypeProps = {}));
//# sourceMappingURL=index.js.map

@@ -8,8 +8,9 @@ import { PhoneProps } from "@/Phone";

export declare enum UserStatusProps {
VERIFY = 0,
NOVERIFY = 1
VERIFY = "VERIFY",
NOVERIFY = "NOVERIFY"
}
export declare enum UserRoleProps {
ADMIN = 0,
CUSTOMER = 1
ADMIN = "ADMIN",
CUSTOMER = "CUSTOMER",
BACKOFFICE = "BACKOFFICE"
}

@@ -16,0 +17,0 @@ export interface UserProps {

@@ -9,10 +9,11 @@ export var UserTypeVerifyProps;

(function (UserStatusProps) {
UserStatusProps[UserStatusProps["VERIFY"] = 0] = "VERIFY";
UserStatusProps[UserStatusProps["NOVERIFY"] = 1] = "NOVERIFY";
UserStatusProps["VERIFY"] = "VERIFY";
UserStatusProps["NOVERIFY"] = "NOVERIFY";
})(UserStatusProps || (UserStatusProps = {}));
export var UserRoleProps;
(function (UserRoleProps) {
UserRoleProps[UserRoleProps["ADMIN"] = 0] = "ADMIN";
UserRoleProps[UserRoleProps["CUSTOMER"] = 1] = "CUSTOMER";
UserRoleProps["ADMIN"] = "ADMIN";
UserRoleProps["CUSTOMER"] = "CUSTOMER";
UserRoleProps["BACKOFFICE"] = "BACKOFFICE";
})(UserRoleProps || (UserRoleProps = {}));
//# sourceMappingURL=index.js.map
{
"name": "fenextjs-interface",
"version": "1.0.8",
"version": "1.0.9",
"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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet