From 3e0f0e5d00df5539bd6eacfff02cd27e0b1e82e2 Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Sun, 5 Jul 2026 14:47:24 +0200 Subject: [PATCH] Add tags support in accounts --- libs/common/src/lib/dtos/create-account.dto.ts | 3 +++ libs/common/src/lib/dtos/update-account.dto.ts | 3 +++ prisma/schema.prisma | 1 + 3 files changed, 7 insertions(+) diff --git a/libs/common/src/lib/dtos/create-account.dto.ts b/libs/common/src/lib/dtos/create-account.dto.ts index f38441059..b04193020 100644 --- a/libs/common/src/lib/dtos/create-account.dto.ts +++ b/libs/common/src/lib/dtos/create-account.dto.ts @@ -30,6 +30,9 @@ export class CreateAccountDto { @IsString() id?: string; + /** + * @deprecated Use the "Exclude from Analysis" tag (`TAG_ID_EXCLUDE_FROM_ANALYSIS`) instead + */ @IsBoolean() @IsOptional() isExcluded?: boolean; diff --git a/libs/common/src/lib/dtos/update-account.dto.ts b/libs/common/src/lib/dtos/update-account.dto.ts index 9ef7e5ae8..7a33da2df 100644 --- a/libs/common/src/lib/dtos/update-account.dto.ts +++ b/libs/common/src/lib/dtos/update-account.dto.ts @@ -29,6 +29,9 @@ export class UpdateAccountDto { @IsString() id: string; + /** + * @deprecated Use the "Exclude from Analysis" tag (`TAG_ID_EXCLUDE_FROM_ANALYSIS`) instead + */ @IsBoolean() @IsOptional() isExcluded?: boolean; diff --git a/prisma/schema.prisma b/prisma/schema.prisma index cd32b4a10..233a63688 100644 --- a/prisma/schema.prisma +++ b/prisma/schema.prisma @@ -33,6 +33,7 @@ model Account { createdAt DateTime @default(now()) currency String? id String @default(uuid()) + /// @deprecated Use the "Exclude from Analysis" tag (`TAG_ID_EXCLUDE_FROM_ANALYSIS`) instead isExcluded Boolean @default(false) name String? platform Platform? @relation(fields: [platformId], references: [id])