File

lib/common/process/process.types.ts

Description

Interface representing a process unit.

Index

Properties

Properties

code
code: string
Type : string
cronTab
cronTab: string
Type : string
description
description: LocalizedString[]
Type : LocalizedString[]
enabled
enabled: boolean
Type : boolean
logs
logs: ProcessLog[]
Type : ProcessLog[]
status
status: Process.Status
Type : Process.Status
tsCreated
tsCreated: Date
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;
}

results matching ""

    No results matching ""