Variable sessionConst

session: {
    properties: {
        created: {};
        expiration: {
            minimum: 69420;
            type: "number";
        };
        id: {
            description: "User's session ID";
            pattern: "^[a-zA-Z0-9+/=]{44}$";
            type: "string";
        };
        ip: {
            type: "string";
        };
        userId: {
            pattern: "^[a-f0-9]{8}-[a-f0-9]{4}-4[a-f0-9]{3}-[89aAbB][a-f0-9]{3}-[a-f0-9]{12}$";
            type: "string";
        };
    };
    required: readonly ["userId", "expiration", "id"];
    type: "object";
} = ...

Type declaration

  • Readonly properties: {
        created: {};
        expiration: {
            minimum: 69420;
            type: "number";
        };
        id: {
            description: "User's session ID";
            pattern: "^[a-zA-Z0-9+/=]{44}$";
            type: "string";
        };
        ip: {
            type: "string";
        };
        userId: {
            pattern: "^[a-f0-9]{8}-[a-f0-9]{4}-4[a-f0-9]{3}-[89aAbB][a-f0-9]{3}-[a-f0-9]{12}$";
            type: "string";
        };
    }
    • Readonly created: {}
      • expiration: {
            minimum: 69420;
            type: "number";
        }
        • Readonly minimum: 69420
        • Readonly type: "number"
      • Readonly id: {
            description: "User's session ID";
            pattern: "^[a-zA-Z0-9+/=]{44}$";
            type: "string";
        }
        • Readonly description: "User's session ID"
        • Readonly pattern: "^[a-zA-Z0-9+/=]{44}$"
        • Readonly type: "string"
      • Readonly ip: {
            type: "string";
        }
        • Readonly type: "string"
      • Readonly userId: {
            pattern: "^[a-f0-9]{8}-[a-f0-9]{4}-4[a-f0-9]{3}-[89aAbB][a-f0-9]{3}-[a-f0-9]{12}$";
            type: "string";
        }
        • Readonly pattern: "^[a-f0-9]{8}-[a-f0-9]{4}-4[a-f0-9]{3}-[89aAbB][a-f0-9]{3}-[a-f0-9]{12}$"
        • Readonly type: "string"
    • Readonly required: readonly ["userId", "expiration", "id"]
    • Readonly type: "object"

    Generated using TypeDoc