Iskra API Reference
    Preparing search index...

    Interface SessionData

    What a request's session holds (c.get("session")): JSON-serializable data. Declare your fields with declaration merging and they are typed everywhere:

    declare module "@iskra-bun/web-kit" {
    interface SessionData {
    userId?: string;
    }
    }

    Indexable

    • [key: string]: unknown