Add getPublicData

This commit is contained in:
NicolasCantu 2025-03-03 19:02:43 +01:00
parent d243b58101
commit e566c17a9a

View File

@ -1188,6 +1188,15 @@ export default class Services {
}
}
public getPublicData(process: Process): Record<string, any> | 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) {