import { JSONSchema, ValidateFunction } from '../../validation'; import { BaseEvent, Events } from './base'; export type EventCreatedEvent = BaseEvent & { type: Events.Type.EVENT; subType: Events.SubType.Event.EVENT_CREATED; metadata: { title: string; description: string; name: string; image: string; communityId: string; communityName: string; communityThumbnail?: string; attendee: string; }; }; export type EventStartsSoonEvent = BaseEvent & { type: Events.Type.EVENT; subType: Events.SubType.Event.EVENT_STARTS_SOON; metadata: { name: string; image: string; link: string; startsAt: string; endsAt: string; title: string; description: string; attendee: string; }; }; export type EventStartedEvent = BaseEvent & { type: Events.Type.EVENT; subType: Events.SubType.Event.EVENT_STARTED; metadata: { name: string; image: string; link: string; communityId: string; communityThumbnail?: string; title: string; description: string; attendee: string; }; }; export type EventEndedEvent = BaseEvent & { type: Events.Type.EVENT; subType: Events.SubType.Event.EVENT_ENDED; metadata: { communityId?: string; totalAttendees: number; }; }; export type EventApprovedEvent = BaseEvent & { type: Events.Type.EVENT; subType: Events.SubType.Event.EVENT_APPROVED; metadata: { host: string; title: string; description: string; image: string; link: string; }; }; export type EventRejectedEvent = BaseEvent & { type: Events.Type.EVENT; subType: Events.SubType.Event.EVENT_REJECTED; metadata: { host: string; title: string; description: string; image: string; reason: string; }; }; export declare namespace EventStartedEvent { const schema: JSONSchema; const validate: ValidateFunction; } export declare namespace EventStartsSoonEvent { const schema: JSONSchema; const validate: ValidateFunction; } export declare namespace EventCreatedEvent { const schema: JSONSchema; const validate: ValidateFunction; } export declare namespace EventEndedEvent { const schema: JSONSchema; const validate: ValidateFunction; } export declare namespace EventApprovedEvent { const schema: JSONSchema; const validate: ValidateFunction; } export declare namespace EventRejectedEvent { const schema: JSONSchema; const validate: ValidateFunction; } //# sourceMappingURL=event.d.ts.map