@stevenkellner/team-conduct-api 2.0.10 → 2.0.11

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.
@@ -5,12 +5,19 @@ export declare namespace InvitationRegisterFunction {
5
5
  type Parameters = {
6
6
  teamId: Team.Id;
7
7
  personId: Person.Id;
8
+ signInType: User.SignInType;
8
9
  };
9
10
  }
10
11
  export declare class InvitationRegisterFunction implements FirebaseFunction<InvitationRegisterFunction.Parameters, User> {
11
12
  parametersBuilder: ObjectTypeBuilder<{
12
13
  teamId: string;
13
14
  personId: string;
15
+ signInType: {
16
+ type: "email";
17
+ email: string;
18
+ } | {
19
+ type: "google" | "apple";
20
+ };
14
21
  }, InvitationRegisterFunction.Parameters>;
15
22
  returnTypeBuilder: User.TypeBuilder;
16
23
  }
@@ -6,7 +6,8 @@ const typescript_common_functionality_1 = require("@stevenkellner/typescript-com
6
6
  class InvitationRegisterFunction {
7
7
  parametersBuilder = new typescript_common_functionality_1.ObjectTypeBuilder({
8
8
  teamId: types_1.Team.Id.builder,
9
- personId: types_1.Person.Id.builder
9
+ personId: types_1.Person.Id.builder,
10
+ signInType: types_1.User.SignInType.builder
10
11
  });
11
12
  returnTypeBuilder = types_1.User.builder;
12
13
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stevenkellner/team-conduct-api",
3
- "version": "2.0.10",
3
+ "version": "2.0.11",
4
4
  "description": "Firebase API for Team Conduct",
5
5
  "license": "MIT",
6
6
  "author": "Steven Kellner",
@@ -7,6 +7,7 @@ export namespace InvitationRegisterFunction {
7
7
  export type Parameters = {
8
8
  teamId: Team.Id
9
9
  personId: Person.Id
10
+ signInType: User.SignInType
10
11
  };
11
12
  }
12
13
 
@@ -14,7 +15,8 @@ export class InvitationRegisterFunction implements FirebaseFunction<InvitationRe
14
15
 
15
16
  public parametersBuilder = new ObjectTypeBuilder<Flattable.Flatten<InvitationRegisterFunction.Parameters>, InvitationRegisterFunction.Parameters>({
16
17
  teamId: Team.Id.builder,
17
- personId: Person.Id.builder
18
+ personId: Person.Id.builder,
19
+ signInType: User.SignInType.builder
18
20
  });
19
21
 
20
22
  public returnTypeBuilder = User.builder;