@graffiti-garden/api
    Preparing search index...

    Type Alias GraffitiLogoutEvent

    GraffitiLogoutEvent: CustomEvent<
        | { error: Error; actor?: string; state?: string }
        | { error?: undefined; actor: string; state?: string },
    >

    The event type produced in Graffiti.sessionEvents when a actor logs out either manually with Graffiti.logout or when their session times out or otherwise becomes invalid. The event name to listen for is logout.