@glissandoo/lib 1.104.31 → 1.104.33

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.
@@ -162,6 +162,7 @@ export declare enum FbFunctionName {
162
162
  UserOnSignUp = "user-onSignUp",
163
163
  UserOnUpdate = "user-onUpdate",
164
164
  UserRegister = "user-register",
165
+ UserRegisterAuth = "user-registerAuth",
165
166
  UserRemove = "user-remove",
166
167
  UserSendYearWrapped = "user-sendYearWrapped",
167
168
  UserRecoveryPassword = "user-recoveryPassword",
@@ -166,6 +166,7 @@ var FbFunctionName;
166
166
  FbFunctionName["UserOnSignUp"] = "user-onSignUp";
167
167
  FbFunctionName["UserOnUpdate"] = "user-onUpdate";
168
168
  FbFunctionName["UserRegister"] = "user-register";
169
+ FbFunctionName["UserRegisterAuth"] = "user-registerAuth";
169
170
  FbFunctionName["UserRemove"] = "user-remove";
170
171
  FbFunctionName["UserSendYearWrapped"] = "user-sendYearWrapped";
171
172
  FbFunctionName["UserRecoveryPassword"] = "user-recoveryPassword";
@@ -171,6 +171,7 @@ const regionByFunctions = {
171
171
  [index_1.FbFunctionName.UserOnSignUp]: GCloudRegions.EuropeWest6,
172
172
  [index_1.FbFunctionName.UserOnUpdate]: GCloudRegions.UsCentral1,
173
173
  [index_1.FbFunctionName.UserRegister]: GCloudRegions.UsCentral1,
174
+ [index_1.FbFunctionName.UserRegisterAuth]: GCloudRegions.EuropeWest6,
174
175
  [index_1.FbFunctionName.UserRemove]: GCloudRegions.EuropeWest6,
175
176
  [index_1.FbFunctionName.UserRecoveryPassword]: GCloudRegions.EuropeWest6,
176
177
  [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.31",
3
+ "version": "1.104.33",
4
4
  "description": "Glissandoo library js",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",
@@ -609,7 +609,7 @@ export type Database = {
609
609
  group_id: string | null;
610
610
  id: string;
611
611
  last_event_datetime: string | null;
612
- ownerId: string;
612
+ owner_id: string;
613
613
  tags: string[];
614
614
  title: string;
615
615
  visibility: string;
@@ -621,7 +621,7 @@ export type Database = {
621
621
  group_id?: string | null;
622
622
  id: string;
623
623
  last_event_datetime?: string | null;
624
- ownerId: string;
624
+ owner_id: string;
625
625
  tags: string[];
626
626
  title: string;
627
627
  visibility: string;
@@ -633,7 +633,7 @@ export type Database = {
633
633
  group_id?: string | null;
634
634
  id?: string;
635
635
  last_event_datetime?: string | null;
636
- ownerId?: string;
636
+ owner_id?: string;
637
637
  tags?: string[];
638
638
  title?: string;
639
639
  visibility?: string;
@@ -610,7 +610,7 @@ export type Database = {
610
610
  group_id: string | null;
611
611
  id: string;
612
612
  last_event_datetime: string | null;
613
- ownerId: string;
613
+ owner_id: string;
614
614
  tags: string[];
615
615
  title: string;
616
616
  visibility: string;
@@ -622,7 +622,7 @@ export type Database = {
622
622
  group_id?: string | null;
623
623
  id: string;
624
624
  last_event_datetime?: string | null;
625
- ownerId: string;
625
+ owner_id: string;
626
626
  tags: string[];
627
627
  title: string;
628
628
  visibility: string;
@@ -634,7 +634,7 @@ export type Database = {
634
634
  group_id?: string | null;
635
635
  id?: string;
636
636
  last_event_datetime?: string | null;
637
- ownerId?: string;
637
+ owner_id?: string;
638
638
  tags?: string[];
639
639
  title?: string;
640
640
  visibility?: string;
@@ -2,7 +2,7 @@ export interface RepertoireOverwrite {
2
2
  id: string;
3
3
  group_id: string;
4
4
  title: string;
5
- compositor: string;
5
+ compositor: string | null;
6
6
  tags: string[];
7
7
  events: string[];
8
8
  owner_id: string;
@@ -2,7 +2,7 @@ export interface RepertoireOverwrite {
2
2
  id: string;
3
3
  group_id: string;
4
4
  title: string;
5
- compositor: string;
5
+ compositor: string | null;
6
6
  tags: string[];
7
7
  events: string[];
8
8
  owner_id: string;