@glissandoo/lib 1.27.1 → 1.28.1

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.
@@ -110,6 +110,7 @@ export declare enum FbFunctionName {
110
110
  UserOnSignUp = "user-onSignUp",
111
111
  UserOnUpdate = "user-onUpdate",
112
112
  UserRegister = "user-register",
113
+ UserRemove = "user-remove",
113
114
  WebhookLemonway = "webhook-lemonway",
114
115
  WebhookStripe = "webhook-stripe"
115
116
  }
@@ -114,6 +114,7 @@ var FbFunctionName;
114
114
  FbFunctionName["UserOnSignUp"] = "user-onSignUp";
115
115
  FbFunctionName["UserOnUpdate"] = "user-onUpdate";
116
116
  FbFunctionName["UserRegister"] = "user-register";
117
+ FbFunctionName["UserRemove"] = "user-remove";
117
118
  FbFunctionName["WebhookLemonway"] = "webhook-lemonway";
118
119
  FbFunctionName["WebhookStripe"] = "webhook-stripe";
119
120
  })(FbFunctionName = exports.FbFunctionName || (exports.FbFunctionName = {}));
@@ -13,6 +13,7 @@ const regionByFunctions = {
13
13
  [index_1.FbFunctionName.UserRegister]: GCloudRegions.UsCentral1,
14
14
  [index_1.FbFunctionName.UserOnCreateDoc]: GCloudRegions.UsCentral1,
15
15
  [index_1.FbFunctionName.UserOnUpdate]: GCloudRegions.UsCentral1,
16
+ [index_1.FbFunctionName.UserRemove]: GCloudRegions.EuropeWest6,
16
17
  [index_1.FbFunctionName.UserOnLogin]: GCloudRegions.EuropeWest6,
17
18
  [index_1.FbFunctionName.UserOnSignUp]: GCloudRegions.EuropeWest6,
18
19
  [index_1.FbFunctionName.JWTGenerate]: GCloudRegions.EuropeWest6,
@@ -10,4 +10,8 @@ export declare namespace UserFbFunctionsTypes {
10
10
  lang: LanguagesTypes;
11
11
  }
12
12
  type RegisterResult = void;
13
+ interface RemoveParams {
14
+ userId: string;
15
+ }
16
+ type RemoveResult = void;
13
17
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glissandoo/lib",
3
- "version": "1.27.1",
3
+ "version": "1.28.1",
4
4
  "description": "Glissandoo library js",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",