@stevenkellner/team-conduct-api 2.0.21 → 2.0.22
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.
|
@@ -14,7 +14,7 @@ export declare class PersonAddFunction implements FirebaseFunction<PersonAddFunc
|
|
|
14
14
|
id: string;
|
|
15
15
|
properties: {
|
|
16
16
|
firstName: string;
|
|
17
|
-
lastName: string
|
|
17
|
+
lastName: string;
|
|
18
18
|
};
|
|
19
19
|
}, PersonAddFunction.Parameters>;
|
|
20
20
|
returnTypeBuilder: ValueTypeBuilder<void>;
|
|
@@ -14,7 +14,7 @@ export declare class PersonUpdateFunction implements FirebaseFunction<PersonUpda
|
|
|
14
14
|
id: string;
|
|
15
15
|
properties: {
|
|
16
16
|
firstName: string;
|
|
17
|
-
lastName: string
|
|
17
|
+
lastName: string;
|
|
18
18
|
};
|
|
19
19
|
}, PersonUpdateFunction.Parameters>;
|
|
20
20
|
returnTypeBuilder: ValueTypeBuilder<void>;
|
|
@@ -6,14 +6,14 @@ import { Flattable, ITypeBuilder } from '@stevenkellner/typescript-common-functi
|
|
|
6
6
|
*/
|
|
7
7
|
export declare class PersonProperties implements Flattable<PersonProperties.Flatten> {
|
|
8
8
|
firstName: string;
|
|
9
|
-
lastName: string
|
|
9
|
+
lastName: string;
|
|
10
10
|
/**
|
|
11
11
|
* Creates new person properties.
|
|
12
12
|
*
|
|
13
13
|
* @param firstName - The first name of the person
|
|
14
14
|
* @param lastName - The last name of the person (null if not provided)
|
|
15
15
|
*/
|
|
16
|
-
constructor(firstName: string, lastName
|
|
16
|
+
constructor(firstName: string, lastName: string);
|
|
17
17
|
/**
|
|
18
18
|
* Gets the flattened representation of these properties for serialization.
|
|
19
19
|
*/
|
|
@@ -25,7 +25,7 @@ export declare namespace PersonProperties {
|
|
|
25
25
|
*/
|
|
26
26
|
type Flatten = {
|
|
27
27
|
firstName: string;
|
|
28
|
-
lastName: string
|
|
28
|
+
lastName: string;
|
|
29
29
|
};
|
|
30
30
|
/**
|
|
31
31
|
* Builder for constructing PersonProperties from flattened data.
|
|
@@ -15,7 +15,7 @@ class PersonProperties {
|
|
|
15
15
|
* @param firstName - The first name of the person
|
|
16
16
|
* @param lastName - The last name of the person (null if not provided)
|
|
17
17
|
*/
|
|
18
|
-
constructor(firstName, lastName
|
|
18
|
+
constructor(firstName, lastName) {
|
|
19
19
|
this.firstName = firstName;
|
|
20
20
|
this.lastName = lastName;
|
|
21
21
|
}
|
package/package.json
CHANGED
|
@@ -15,7 +15,7 @@ export class PersonProperties implements Flattable<PersonProperties.Flatten> {
|
|
|
15
15
|
*/
|
|
16
16
|
constructor(
|
|
17
17
|
public firstName: string,
|
|
18
|
-
public lastName: string
|
|
18
|
+
public lastName: string
|
|
19
19
|
) {}
|
|
20
20
|
|
|
21
21
|
/**
|
|
@@ -36,7 +36,7 @@ export namespace PersonProperties {
|
|
|
36
36
|
*/
|
|
37
37
|
export type Flatten = {
|
|
38
38
|
firstName: string;
|
|
39
|
-
lastName: string
|
|
39
|
+
lastName: string;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
/**
|