5.1.7 • Published 6 months ago

@types/hapi-server-session v5.1.7

Weekly downloads
32
License
MIT
Repository
github
Last release
6 months ago

Installation

npm install --save @types/hapi-server-session

Summary

This package contains type definitions for hapi-server-session (https://github.com/btmorex/hapi-server-session).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/hapi-server-session.

index.d.ts

// Type definitions for hapi-server-session 5.1
// Project: https://github.com/btmorex/hapi-server-session
// Definitions by: Avery Fay <https://github.com/btmorex>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

import { BinaryLike } from 'crypto';
import { CachePolicyOptions, Plugin, ServerStateCookieOptions } from '@hapi/hapi';

declare module '@hapi/hapi' {
    interface Request {
        session: any;
    }
}

export interface Options {
    algorithm?: string | undefined;
    cache?: CachePolicyOptions<any> | undefined;
    cookie?: ServerStateCookieOptions | undefined;
    expiresIn?: number | undefined;
    key?: BinaryLike | undefined;
    name?: string | undefined;
    size?: number | undefined;
    vhost?: string | string[] | undefined;
}

export const plugin: Plugin<Options>;

export default plugin;

Additional Details

  • Last updated: Thu, 08 Jul 2021 14:22:41 GMT
  • Dependencies: @types/hapi__hapi
  • Global values: none

Credits

These definitions were written by Avery Fay.

5.1.5

7 months ago

5.1.4

8 months ago

5.1.7

6 months ago

5.1.6

7 months ago

5.1.3

1 year ago

5.1.2

3 years ago

5.1.1

4 years ago

5.1.0

4 years ago