From 91efb2cbff7c9b9d82c1a97c66ce660050c8e10d Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Sun, 4 Oct 2026 20:39:16 +0200 Subject: [PATCH] Deprecate SymbolProfile in favor of assetProfile --- apps/api/src/helper/object.helper.spec.ts | 2 +- .../responses/create-activity-response.interface.ts | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/apps/api/src/helper/object.helper.spec.ts b/apps/api/src/helper/object.helper.spec.ts index 5833dafb78..773b7905ae 100644 --- a/apps/api/src/helper/object.helper.spec.ts +++ b/apps/api/src/helper/object.helper.spec.ts @@ -3122,7 +3122,7 @@ describe('redactAttributes', () => { // The endpoint POST api/v1/activities returns a row of the database with the // asset profile and the deprecated relation to the symbol profile - it('should redact an activity with the relation to the symbol profile', () => { + it('should redact an activity with the asset profile and the relation to the symbol profile', () => { expect( redactPaths({ object: { diff --git a/libs/common/src/lib/interfaces/responses/create-activity-response.interface.ts b/libs/common/src/lib/interfaces/responses/create-activity-response.interface.ts index 93beeb9247..198a2cef79 100644 --- a/libs/common/src/lib/interfaces/responses/create-activity-response.interface.ts +++ b/libs/common/src/lib/interfaces/responses/create-activity-response.interface.ts @@ -5,6 +5,8 @@ import { EnhancedAssetProfile } from '../enhanced-asset-profile.interface'; export interface CreateActivityResponse extends Order { assetProfile: EnhancedAssetProfile; - /* @deprecated */ + /** + * @deprecated Use `assetProfile` instead + */ SymbolProfile: SymbolProfile; }