Skip to content

Commit

Permalink
feat: add external contact property
Browse files Browse the repository at this point in the history
  • Loading branch information
Romej committed Jan 20, 2025
1 parent 19ef17a commit f24698c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/domain/Contact.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ type ContactArguments = {
name?: string;
firstName?: string;
lastName?: string;
external?: boolean;
number?: string;
numbers?: Array<{
label?: string;
Expand Down Expand Up @@ -257,6 +258,8 @@ export default class Contact {

lastName?: string;

external?: boolean;

number?: string;

numbers: Array<{
Expand Down Expand Up @@ -675,6 +678,7 @@ export default class Contact {
name,
firstName,
lastName,
external,
number,
numbers,
email,
Expand Down Expand Up @@ -707,6 +711,7 @@ export default class Contact {
this.name = name || '';
this.firstName = firstName || '';
this.lastName = lastName || '';
this.external = external || false;
this.number = number;
this.numbers = numbers;
this.email = email;
Expand Down

0 comments on commit f24698c

Please sign in to comment.