Spaces:
Build error
Build error
File size: 582 Bytes
54abc17 23a3b80 54abc17 6a58de5 54abc17 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | import { Also, Prop } from 'civkit';
import { FirestoreRecord } from '../shared/lib/firestore';
import { ENGINE_TYPE } from '../dto/crawler-options';
@Also({
dictOf: Object
})
export class DomainProfile extends FirestoreRecord {
static override collectionName = 'domainProfiles';
override _id!: string;
@Prop({
required: true
})
path!: string;
@Prop()
triggerUrl?: string;
@Prop({ required: true, type: ENGINE_TYPE })
engine!: string;
@Prop()
createdAt!: Date;
@Prop()
expireAt?: Date;
[k: string]: any;
}
|