UNPKG

ghost

Version:

The professional publishing platform

14 lines (11 loc) 328 B
export class PostsBulkFeaturedEvent { data: string[]; timestamp: Date; constructor(data: string[], timestamp: Date) { this.data = data; this.timestamp = timestamp; } static create(data: string[], timestamp = new Date()) { return new PostsBulkFeaturedEvent(data, timestamp); } }