@shortcut/client
    Preparing search index...

    Type Alias ShortcutUnknownSessionEventType

    ShortcutUnknownSessionEventType: `session.${string}` & {
        "[unknownSessionEventType]": true;
    }

    The type of a session event this version does not know. It is a session.* string, branded so TypeScript never narrows a known literal ('validation', 'session.created') to the unknown payload and never drops the known payloads from the unknown guard's false branch. Read it as a string, as in String(payload.type), or compare it through a cast.