@glissandoo/lib 1.104.32 → 1.104.34

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.
@@ -1,5 +1,8 @@
1
1
  export declare enum FbFunctionName {
2
- Auth = "auth",
2
+ AuthGetToken = "auth-getToken",
3
+ AuthLogin = "auth-login",
4
+ AuthLogout = "auth-logout",
5
+ AuthStatus = "auth-status",
3
6
  CommunicationCommentPublish = "communicationComment-publish",
4
7
  CommunicationEdit = "communication-edit",
5
8
  CommunicationPublish = "communication-publish",
@@ -162,6 +165,7 @@ export declare enum FbFunctionName {
162
165
  UserOnSignUp = "user-onSignUp",
163
166
  UserOnUpdate = "user-onUpdate",
164
167
  UserRegister = "user-register",
168
+ UserRegisterAuth = "user-registerAuth",
165
169
  UserRemove = "user-remove",
166
170
  UserSendYearWrapped = "user-sendYearWrapped",
167
171
  UserRecoveryPassword = "user-recoveryPassword",
@@ -3,7 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.FbFunctionName = void 0;
4
4
  var FbFunctionName;
5
5
  (function (FbFunctionName) {
6
- FbFunctionName["Auth"] = "auth";
6
+ FbFunctionName["AuthGetToken"] = "auth-getToken";
7
+ FbFunctionName["AuthLogin"] = "auth-login";
8
+ FbFunctionName["AuthLogout"] = "auth-logout";
9
+ FbFunctionName["AuthStatus"] = "auth-status";
7
10
  FbFunctionName["CommunicationCommentPublish"] = "communicationComment-publish";
8
11
  FbFunctionName["CommunicationEdit"] = "communication-edit";
9
12
  FbFunctionName["CommunicationPublish"] = "communication-publish";
@@ -166,6 +169,7 @@ var FbFunctionName;
166
169
  FbFunctionName["UserOnSignUp"] = "user-onSignUp";
167
170
  FbFunctionName["UserOnUpdate"] = "user-onUpdate";
168
171
  FbFunctionName["UserRegister"] = "user-register";
172
+ FbFunctionName["UserRegisterAuth"] = "user-registerAuth";
169
173
  FbFunctionName["UserRemove"] = "user-remove";
170
174
  FbFunctionName["UserSendYearWrapped"] = "user-sendYearWrapped";
171
175
  FbFunctionName["UserRecoveryPassword"] = "user-recoveryPassword";
@@ -10,7 +10,10 @@ var GCloudRegions;
10
10
  })(GCloudRegions = exports.GCloudRegions || (exports.GCloudRegions = {}));
11
11
  const defaultRegion = GCloudRegions.UsCentral1;
12
12
  const regionByFunctions = {
13
- [index_1.FbFunctionName.Auth]: GCloudRegions.UsCentral1,
13
+ [index_1.FbFunctionName.AuthGetToken]: GCloudRegions.EuropeWest6,
14
+ [index_1.FbFunctionName.AuthLogin]: GCloudRegions.EuropeWest6,
15
+ [index_1.FbFunctionName.AuthLogout]: GCloudRegions.EuropeWest6,
16
+ [index_1.FbFunctionName.AuthStatus]: GCloudRegions.EuropeWest6,
14
17
  [index_1.FbFunctionName.CommunicationCommentPublish]: GCloudRegions.EuropeWest6,
15
18
  [index_1.FbFunctionName.CommunicationEdit]: GCloudRegions.UsCentral1,
16
19
  [index_1.FbFunctionName.CommunicationPublish]: GCloudRegions.UsCentral1,
@@ -171,6 +174,7 @@ const regionByFunctions = {
171
174
  [index_1.FbFunctionName.UserOnSignUp]: GCloudRegions.EuropeWest6,
172
175
  [index_1.FbFunctionName.UserOnUpdate]: GCloudRegions.UsCentral1,
173
176
  [index_1.FbFunctionName.UserRegister]: GCloudRegions.UsCentral1,
177
+ [index_1.FbFunctionName.UserRegisterAuth]: GCloudRegions.EuropeWest6,
174
178
  [index_1.FbFunctionName.UserRemove]: GCloudRegions.EuropeWest6,
175
179
  [index_1.FbFunctionName.UserRecoveryPassword]: GCloudRegions.EuropeWest6,
176
180
  [index_1.FbFunctionName.UserGroupOnDelete]: GCloudRegions.EuropeWest6,
@@ -10,6 +10,15 @@ export declare namespace UserFbFunctionsTypes {
10
10
  lang: LanguagesTypes;
11
11
  }
12
12
  type RegisterResult = void;
13
+ interface RegisterAuthParams {
14
+ name: string;
15
+ lastname: string;
16
+ email: string;
17
+ password: string;
18
+ via: UserRegisterVia;
19
+ lang: LanguagesTypes;
20
+ }
21
+ type RegisterAuthResult = void;
13
22
  interface RemoveParams {
14
23
  userId: string;
15
24
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glissandoo/lib",
3
- "version": "1.104.32",
3
+ "version": "1.104.34",
4
4
  "description": "Glissandoo library js",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",