From e566c17a9acb39411dcb591b61b38b3c7c39f66d Mon Sep 17 00:00:00 2001 From: NicolasCantu Date: Mon, 3 Mar 2025 19:02:43 +0100 Subject: [PATCH] Add getPublicData --- src/services/service.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/services/service.ts b/src/services/service.ts index c57095c..5365621 100755 --- a/src/services/service.ts +++ b/src/services/service.ts @@ -1188,6 +1188,15 @@ export default class Services { } } + public getPublicData(process: Process): Record | null { + const lastCommitedState = this.getLastCommitedState(process); + if (lastCommitedState && lastCommitedState.descriptions) { + return lastCommitedState.descriptions; + } else { + return null; + } + } + public getProcessName(process: Process): string | null { const lastCommitedState = this.getLastCommitedState(process); if (lastCommitedState && lastCommitedState.descriptions) {