@stevenkellner/team-conduct-api 2.0.11 → 2.0.12

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.
@@ -4,8 +4,8 @@ import { Person, PersonProperties, User, Team } from '../../types';
4
4
  export declare namespace TeamNewFunction {
5
5
  type Parameters = {
6
6
  id: Team.Id;
7
+ signInType: User.SignInType;
7
8
  name: string;
8
- paypalMeLink: string | null;
9
9
  personId: Person.Id;
10
10
  personProperties: PersonProperties;
11
11
  };
@@ -13,8 +13,13 @@ export declare namespace TeamNewFunction {
13
13
  export declare class TeamNewFunction implements FirebaseFunction<TeamNewFunction.Parameters, User> {
14
14
  parametersBuilder: ObjectTypeBuilder<{
15
15
  id: string;
16
+ signInType: {
17
+ type: "email";
18
+ email: string;
19
+ } | {
20
+ type: "google" | "apple";
21
+ };
16
22
  name: string;
17
- paypalMeLink: string | null;
18
23
  personId: string;
19
24
  personProperties: {
20
25
  firstName: string;
@@ -6,8 +6,8 @@ const types_1 = require("../../types");
6
6
  class TeamNewFunction {
7
7
  parametersBuilder = new typescript_common_functionality_1.ObjectTypeBuilder({
8
8
  id: types_1.Team.Id.builder,
9
+ signInType: types_1.User.SignInType.builder,
9
10
  name: new typescript_common_functionality_1.ValueTypeBuilder(),
10
- paypalMeLink: new typescript_common_functionality_1.ValueTypeBuilder(),
11
11
  personId: types_1.Person.Id.builder,
12
12
  personProperties: types_1.PersonProperties.builder
13
13
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stevenkellner/team-conduct-api",
3
- "version": "2.0.11",
3
+ "version": "2.0.12",
4
4
  "description": "Firebase API for Team Conduct",
5
5
  "license": "MIT",
6
6
  "author": "Steven Kellner",
@@ -6,8 +6,8 @@ export namespace TeamNewFunction {
6
6
 
7
7
  export type Parameters = {
8
8
  id: Team.Id
9
+ signInType: User.SignInType
9
10
  name: string
10
- paypalMeLink: string | null
11
11
  personId: Person.Id
12
12
  personProperties: PersonProperties
13
13
  };
@@ -17,8 +17,8 @@ export class TeamNewFunction implements FirebaseFunction<TeamNewFunction.Paramet
17
17
 
18
18
  public parametersBuilder = new ObjectTypeBuilder<Flattable.Flatten<TeamNewFunction.Parameters>, TeamNewFunction.Parameters>({
19
19
  id: Team.Id.builder,
20
+ signInType: User.SignInType.builder,
20
21
  name: new ValueTypeBuilder(),
21
- paypalMeLink: new ValueTypeBuilder(),
22
22
  personId: Person.Id.builder,
23
23
  personProperties: PersonProperties.builder
24
24
  });