Event interface

Wire format for an event.

Signature:

export interface Event 

Properties

Property Type Description
context { eventId: string; timestamp: string; eventType: string; resource: Resource; domain?: string; auth?: { variable?: { uid?: string; token?: string; }; admin: boolean; }; } Wire format for an event context.
data any Event data over wire.

Event.context

Wire format for an event context.

Signature:

context: {
        eventId: string;
        timestamp: string;
        eventType: string;
        resource: Resource;
        domain?: string;
        auth?: {
            variable?: {
                uid?: string;
                token?: string;
            };
            admin: boolean;
        };
    };

Event.data

Event data over wire.

Signature:

data: any;