From 77ca5834ac078e551ea8c6279cfa1d900de4a70f Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Mon, 27 Oct 2025 20:31:52 +0100 Subject: [PATCH] Refactoring --- apps/api/src/app/endpoints/ai/ai.service.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/apps/api/src/app/endpoints/ai/ai.service.ts b/apps/api/src/app/endpoints/ai/ai.service.ts index 885e4349f..d07768d69 100644 --- a/apps/api/src/app/endpoints/ai/ai.service.ts +++ b/apps/api/src/app/endpoints/ai/ai.service.ts @@ -15,7 +15,13 @@ import type { ColumnDescriptor } from 'tablemark'; @Injectable() export class AiService { private static readonly HOLDINGS_TABLE_COLUMN_DEFINITIONS: ({ - key: string; + key: + | 'ALLOCATION_PERCENTAGE' + | 'ASSET_CLASS' + | 'ASSET_SUB_CLASS' + | 'CURRENCY' + | 'NAME' + | 'SYMBOL'; } & ColumnDescriptor)[] = [ { key: 'NAME', name: 'Name' }, { key: 'SYMBOL', name: 'Symbol' },