Comparing version 2.2.24 to 2.2.25
@@ -8,3 +8,5 @@ export declare enum HttpStatusCode { | ||
REDIRECT = 301, | ||
NOT_AUTHORIZED = 401 | ||
NOT_AUTHORIZED = 401, | ||
ENTITY_NOT_EXIST = 404, | ||
ENTITY_ALREADY_EXIST = 400 | ||
} | ||
@@ -143,3 +145,6 @@ export declare enum RequestMethod { | ||
NON_AUTHORIZED = "NON_AUTHORIZED", | ||
FAILED_TO_AUTHENTICATE = "FAILED_TO_AUTHENTICATE" | ||
FAILED_TO_AUTHENTICATE = "FAILED_TO_AUTHENTICATE", | ||
ENTITY_EXIST = "ENTITY_EXIST", | ||
ENTITY_NOT_EXIST = "ENTITY_NOT_EXIST", | ||
ENTITY_ALREADY_EXIST = "ENTITY_ALREADY_EXIST" | ||
} |
@@ -12,2 +12,4 @@ "use strict"; | ||
HttpStatusCode[HttpStatusCode["NOT_AUTHORIZED"] = 401] = "NOT_AUTHORIZED"; | ||
HttpStatusCode[HttpStatusCode["ENTITY_NOT_EXIST"] = 404] = "ENTITY_NOT_EXIST"; | ||
HttpStatusCode[HttpStatusCode["ENTITY_ALREADY_EXIST"] = 400] = "ENTITY_ALREADY_EXIST"; | ||
})(HttpStatusCode = exports.HttpStatusCode || (exports.HttpStatusCode = {})); | ||
@@ -114,2 +116,5 @@ var RequestMethod; | ||
TextCodes["FAILED_TO_AUTHENTICATE"] = "FAILED_TO_AUTHENTICATE"; | ||
TextCodes["ENTITY_EXIST"] = "ENTITY_EXIST"; | ||
TextCodes["ENTITY_NOT_EXIST"] = "ENTITY_NOT_EXIST"; | ||
TextCodes["ENTITY_ALREADY_EXIST"] = "ENTITY_ALREADY_EXIST"; | ||
})(TextCodes = exports.TextCodes || (exports.TextCodes = {})); |
{ | ||
"name": "grandjs", | ||
"version": "2.2.24", | ||
"version": "2.2.25", | ||
"description": "A backend framework for solid web apps based on node.js", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -8,3 +8,5 @@ export enum HttpStatusCode { | ||
REDIRECT = 301, | ||
NOT_AUTHORIZED = 401 | ||
NOT_AUTHORIZED = 401, | ||
ENTITY_NOT_EXIST = 404, | ||
ENTITY_ALREADY_EXIST = 400, | ||
} | ||
@@ -158,3 +160,6 @@ export enum RequestMethod { | ||
NON_AUTHORIZED = "NON_AUTHORIZED", | ||
FAILED_TO_AUTHENTICATE = "FAILED_TO_AUTHENTICATE" | ||
FAILED_TO_AUTHENTICATE = "FAILED_TO_AUTHENTICATE", | ||
ENTITY_EXIST = "ENTITY_EXIST", | ||
ENTITY_NOT_EXIST = "ENTITY_NOT_EXIST", | ||
ENTITY_ALREADY_EXIST = "ENTITY_ALREADY_EXIST", | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
262200
5704