From 0a0d9ea588cf216a5cc555bf28e3fc8807dbf763 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Istv=C3=A1n=20Beregsz=C3=A1szi?= Date: Mon, 4 Aug 2025 18:42:32 +0200 Subject: [PATCH 1/2] [DEV-21252] Use `ExtendedTemplate` for template-related endpoints --- src/endpoints/Templates/Client.ts | 14 +++++++------- src/types/Template.ts | 5 ++++- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/src/endpoints/Templates/Client.ts b/src/endpoints/Templates/Client.ts index b613e572..995a587f 100644 --- a/src/endpoints/Templates/Client.ts +++ b/src/endpoints/Templates/Client.ts @@ -1,6 +1,6 @@ import type { DeferredJobsApiClient } from '../../api'; import { routing } from '../../routing'; -import type { Template } from '../../types'; +import type { ExtendedTemplate, Template } from '../../types'; import type { CreateRequest, UpdateRequest } from './types'; @@ -15,23 +15,23 @@ export function createClient(api: DeferredJobsApiClient) { return templates; } - async function get(templateId: TemplateId): Promise