mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-23 15:49:10 +00:00
38 lines
604 B
TypeScript
38 lines
604 B
TypeScript
import { Column, Entity, Index } from 'typeorm';
|
|
import BaseModel from './BaseModel';
|
|
import User from './User';
|
|
import StatusPage from './StatusPage';
|
|
import DomainVerificationToken from './DomainVerificationToken';
|
|
|
|
@Entity({
|
|
name: "StatusPageDomains"
|
|
})
|
|
export default class StatusPageDomains extends BaseModel {
|
|
|
|
@Column()
|
|
statusPage!: StatusPage;
|
|
|
|
@Column()
|
|
domain!: string;
|
|
|
|
@Column()
|
|
certificate!: User;
|
|
|
|
@Column()
|
|
privateKey!: User;
|
|
|
|
@Column()
|
|
autoProvisioning!: boolean;
|
|
|
|
@Column()
|
|
domainVerificationToken!: DomainVerificationToken;
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|