rittenhop-dev/versions/5.94.2/node_modules/@tryghost/collections/build/events/PostAddedEvent.d.ts
2024-09-23 19:40:12 -04:00

17 lines
354 B
TypeScript

type PostData = {
id: string;
featured: boolean;
published_at: Date;
tags: Array<{
slug: string;
}>;
};
export declare class PostAddedEvent {
id: string;
data: PostData;
timestamp: Date;
constructor(data: PostData, timestamp: Date);
static create(data: any, timestamp?: Date): PostAddedEvent;
}
export {};