mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-23 15:49:10 +00:00
23 lines
362 B
TypeScript
Executable File
23 lines
362 B
TypeScript
Executable File
import { Column, Entity, Index } from 'typeorm';
|
|
import BaseModel from './BaseModel';
|
|
import User from './User';
|
|
import Project from './Project';
|
|
|
|
@Entity({
|
|
name: "Zapier"
|
|
})
|
|
export default class Zapier extends BaseModel {
|
|
|
|
@Column()
|
|
project!: Project;
|
|
|
|
@Column()
|
|
url!: URL;
|
|
|
|
@Column()
|
|
type!: string;
|
|
|
|
@Column()
|
|
monitors!: [String];
|
|
|
|
} |