From 7b39f7733868921f2d326ec4b5e371fa69974230 Mon Sep 17 00:00:00 2001
From: kaw67872 <kawtar.laariche@iais.fraunhofer.de>
Date: Fri, 3 May 2024 20:25:31 +0200
Subject: [PATCH] #19: add ownerId  and ownerListForSol to the solution model

---
 src/app/core/services/shared-data/shared-data.service.ts | 2 ++
 src/app/shared/models/public-solution.model.ts           | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/src/app/core/services/shared-data/shared-data.service.ts b/src/app/core/services/shared-data/shared-data.service.ts
index 6640184..4cd4c51 100644
--- a/src/app/core/services/shared-data/shared-data.service.ts
+++ b/src/app/core/services/shared-data/shared-data.service.ts
@@ -37,6 +37,8 @@ export class SharedDataService {
       revisions: [],
       catalogNames: [],
       publisher: '',
+      ownerId: '',
+      ownerListForSol: [],
     });
   private _imageToShowSubject: BehaviorSubject<any> = new BehaviorSubject<any>(
     null,
diff --git a/src/app/shared/models/public-solution.model.ts b/src/app/shared/models/public-solution.model.ts
index c30d635..0902f23 100644
--- a/src/app/shared/models/public-solution.model.ts
+++ b/src/app/shared/models/public-solution.model.ts
@@ -18,6 +18,8 @@ export interface PublicSolutionsRequestPayload {
 export interface Solution {
   name: string;
   ownerName: string;
+  ownerId: string;
+  ownerListForSol: { userId: string; firstName: string; lastName: string }[];
   active: boolean;
   sourceId: string;
   authors: AuthorPublisherModel[];
-- 
GitLab