@jealous-robot-dev/shared-types-responses 1.18.1 → 1.18.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -104,3 +104,11 @@ export interface ShortAuthFormData {
104
104
  export interface AuthFormData {
105
105
  prev_session?: ShortAuthFormData;
106
106
  }
107
+ export declare enum AuthRespErrors {
108
+ INVALID_INPUT = "INVALID_INPUT",
109
+ INVALID_PASSWORD = "INVALID_PASSWORD",
110
+ INVALID_FIRSTNAME = "INVALID_FIRSTNAME",
111
+ INVALID_LASTNAME = "INVALID_LASTNAME",
112
+ EMAIL_IN_USE = "EMAIL_IN_USE",
113
+ USERNAME_IN_USE = "USERNAME_IN_USE"
114
+ }
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AuthenticationWindows = exports.AuthID = exports.AuthenticationProviders = void 0;
3
+ exports.AuthRespErrors = exports.AuthenticationWindows = exports.AuthID = exports.AuthenticationProviders = void 0;
4
4
  var AuthenticationProviders;
5
5
  (function (AuthenticationProviders) {
6
6
  AuthenticationProviders["GOOGLE"] = "google";
@@ -19,3 +19,12 @@ var AuthenticationWindows;
19
19
  AuthenticationWindows["FINISH_SIGNUP"] = "finish sign up";
20
20
  AuthenticationWindows["WELCOME"] = "welcome";
21
21
  })(AuthenticationWindows = exports.AuthenticationWindows || (exports.AuthenticationWindows = {}));
22
+ var AuthRespErrors;
23
+ (function (AuthRespErrors) {
24
+ AuthRespErrors["INVALID_INPUT"] = "INVALID_INPUT";
25
+ AuthRespErrors["INVALID_PASSWORD"] = "INVALID_PASSWORD";
26
+ AuthRespErrors["INVALID_FIRSTNAME"] = "INVALID_FIRSTNAME";
27
+ AuthRespErrors["INVALID_LASTNAME"] = "INVALID_LASTNAME";
28
+ AuthRespErrors["EMAIL_IN_USE"] = "EMAIL_IN_USE";
29
+ AuthRespErrors["USERNAME_IN_USE"] = "USERNAME_IN_USE";
30
+ })(AuthRespErrors = exports.AuthRespErrors || (exports.AuthRespErrors = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jealous-robot-dev/shared-types-responses",
3
- "version": "1.18.1",
3
+ "version": "1.18.2",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",