Skip to content

Commit 5e736e8

Browse files
committed
👔 add possibility for relations to have labeL
1 parent 90da8c7 commit 5e736e8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/models/contact.model.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import {
22
IntegrationEntity,
33
IntegrationEntityType,
4+
LabeledIntegrationEntity,
45
} from "./integration-entity.model";
56

67
export enum PhoneNumberLabel {
@@ -43,7 +44,7 @@ export type ContactResult = {
4344
contactUrl: string | null;
4445
avatarUrl: string | null;
4546
readonly?: boolean;
46-
relatesTo?: IntegrationEntity[];
47+
relatesTo?: IntegrationEntity[] | LabeledIntegrationEntity[];
4748
};
4849

4950
export type ContactTemplate = BaseContact & {

0 commit comments

Comments
 (0)