mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-23 15:49:10 +00:00
27 lines
488 B
TypeScript
27 lines
488 B
TypeScript
import { Column, Entity, Index } from 'typeorm';
|
|
import BaseModel from './BaseModel';
|
|
import OperationResult from '../Types/Operation/OperationResult';
|
|
import AutomatedScript from './AutomatedScript';
|
|
|
|
|
|
@Entity({
|
|
name: "AutomatedScriptOnEvent"
|
|
})
|
|
export default class AutomatedScriptOnEvent extends BaseModel {
|
|
@Column()
|
|
automatedScript!: AutomatedScript;
|
|
@Column()
|
|
executeAutomatedScript!: AutomatedScript;
|
|
@Column()
|
|
eventType!: OperationResult;
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|