lib/common/process/process.types.ts
Interface representing a process log entry.
Properties |
content |
content:
|
Type : string
|
id |
id:
|
Type : number
|
process |
process:
|
Type : ProcessUnit
|
tsCreated |
tsCreated:
|
Type : Date
|
tsUpdated |
tsUpdated:
|
Type : Date
|
import { Process } from "./process.constants";
import { LocalizedString } from "../../shared/modules/locale/locale.types";
/**
* Interface representing a process log entry.
*/
export interface ProcessLog {
id: number;
content: string;
tsCreated: Date;
tsUpdated: Date;
process: ProcessUnit;
}
/**
* Interface representing a process unit.
*/
export interface ProcessUnit {
code: string;
status: Process.Status;
enabled: boolean;
description: LocalizedString[];
cronTab: string;
logs: ProcessLog[];
tsCreated: Date;
}