From 3143f5cff77363e96fa5780d0795b2a7e17d9d24 Mon Sep 17 00:00:00 2001 From: mit-27 Date: Tue, 7 May 2024 03:48:08 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=9A=20Fix=20build?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../@core/utils/types/original/original.ticketing.ts | 11 +++++++++-- .../api/src/ticketing/tag/services/gitlab/mappers.ts | 2 +- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/packages/api/src/@core/utils/types/original/original.ticketing.ts b/packages/api/src/@core/utils/types/original/original.ticketing.ts index f334bf131..951602da0 100644 --- a/packages/api/src/@core/utils/types/original/original.ticketing.ts +++ b/packages/api/src/@core/utils/types/original/original.ticketing.ts @@ -116,6 +116,10 @@ import { GitlabCollectionInput, GitlabCollectionOutput, } from '@ticketing/collection/services/gitlab/types'; +import { + GitlabTagInput, + GitlabTagOutput, +} from '@ticketing/tag/services/gitlab/types'; /* INPUT */ /* ticket */ @@ -155,7 +159,9 @@ export type OriginalTagInput = | ZendeskTagInput | FrontTagInput | GorgiasTagInput - | JiraTagInput; + | JiraTagInput + | GitlabTagInput; + /* team */ export type OriginalTeamInput = | ZendeskTeamInput @@ -214,7 +220,8 @@ export type OriginalTagOutput = | ZendeskTagOutput | FrontTagOutput | GorgiasTagOutput - | JiraTagOutput; + | JiraTagOutput + | GitlabTagOutput; /* team */ export type OriginalTeamOutput = diff --git a/packages/api/src/ticketing/tag/services/gitlab/mappers.ts b/packages/api/src/ticketing/tag/services/gitlab/mappers.ts index 0acee286d..8aef3582a 100644 --- a/packages/api/src/ticketing/tag/services/gitlab/mappers.ts +++ b/packages/api/src/ticketing/tag/services/gitlab/mappers.ts @@ -39,7 +39,7 @@ export class GitlabTagMapper implements ITagMapper { }[], ): UnifiedTagOutput { const unifiedTag: UnifiedTagOutput = { - remote_id: String(tag.name), + remote_id: tag.name, name: tag.name, };