From 1bb0c5eb2c1c11c7e19d9398f291aa2e9fae187b Mon Sep 17 00:00:00 2001 From: Philip Molares Date: Fri, 21 Mar 2025 23:24:07 +0100 Subject: [PATCH] refactor(backend): remove extra dot in base dto filename Signed-off-by: Philip Molares --- backend/src/history/history-entry-import.dto.ts | 4 ++-- backend/src/history/history-entry-update.dto.ts | 4 ++-- backend/src/history/history-entry.dto.ts | 4 ++-- backend/src/utils/{base.dto..ts => base.dto.ts} | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) rename backend/src/utils/{base.dto..ts => base.dto.ts} (68%) diff --git a/backend/src/history/history-entry-import.dto.ts b/backend/src/history/history-entry-import.dto.ts index 92c79d394..f1f5aa6b7 100644 --- a/backend/src/history/history-entry-import.dto.ts +++ b/backend/src/history/history-entry-import.dto.ts @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: 2022 The HedgeDoc developers (see AUTHORS file) + * SPDX-FileCopyrightText: 2025 The HedgeDoc developers (see AUTHORS file) * * SPDX-License-Identifier: AGPL-3.0-only */ @@ -14,7 +14,7 @@ import { // This needs to be here because of weird import-behaviour during tests import 'reflect-metadata'; -import { BaseDto } from '../utils/base.dto.'; +import { BaseDto } from '../utils/base.dto'; export class HistoryEntryImportDto extends BaseDto { /** diff --git a/backend/src/history/history-entry-update.dto.ts b/backend/src/history/history-entry-update.dto.ts index fe0457dd5..fd5317307 100644 --- a/backend/src/history/history-entry-update.dto.ts +++ b/backend/src/history/history-entry-update.dto.ts @@ -1,12 +1,12 @@ /* - * SPDX-FileCopyrightText: 2022 The HedgeDoc developers (see AUTHORS file) + * SPDX-FileCopyrightText: 2025 The HedgeDoc developers (see AUTHORS file) * * SPDX-License-Identifier: AGPL-3.0-only */ import { ApiProperty } from '@nestjs/swagger'; import { IsBoolean } from 'class-validator'; -import { BaseDto } from '../utils/base.dto.'; +import { BaseDto } from '../utils/base.dto'; export class HistoryEntryUpdateDto extends BaseDto { /** diff --git a/backend/src/history/history-entry.dto.ts b/backend/src/history/history-entry.dto.ts index c5ae719fa..c42697d40 100644 --- a/backend/src/history/history-entry.dto.ts +++ b/backend/src/history/history-entry.dto.ts @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: 2022 The HedgeDoc developers (see AUTHORS file) + * SPDX-FileCopyrightText: 2025 The HedgeDoc developers (see AUTHORS file) * * SPDX-License-Identifier: AGPL-3.0-only */ @@ -13,7 +13,7 @@ import { IsString, } from 'class-validator'; -import { BaseDto } from '../utils/base.dto.'; +import { BaseDto } from '../utils/base.dto'; export class HistoryEntryDto extends BaseDto { /** diff --git a/backend/src/utils/base.dto..ts b/backend/src/utils/base.dto.ts similarity index 68% rename from backend/src/utils/base.dto..ts rename to backend/src/utils/base.dto.ts index fb98b88ee..c58bc5a14 100644 --- a/backend/src/utils/base.dto..ts +++ b/backend/src/utils/base.dto.ts @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: 2022 The HedgeDoc developers (see AUTHORS file) + * SPDX-FileCopyrightText: 2025 The HedgeDoc developers (see AUTHORS file) * * SPDX-License-Identifier: AGPL-3.0-only */