0.0.35 • Published 3 months ago

@types/meteor-persistent-session v0.0.35

Weekly downloads
42
License
MIT
Repository
github
Last release
3 months ago

Installation

npm install --save @types/meteor-persistent-session

Summary

This package contains type definitions for u2622:persistent-session (https://github.com/okgrow/meteor-persistent-session).

Details

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

index.d.ts

// Type definitions for u2622:persistent-session
// Project: https://github.com/okgrow/meteor-persistent-session
// Definitions by: Robbie Van Gorkom <https://github.com/vangorra>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// Minimum TypeScript Version: 4.1

/// <reference types="meteor" />

declare namespace Session {
    function setTemp(key: string, value: string | number | boolean | any /** Null **/ | any /** Undefined **/): boolean;
    function setPersistent(key: string, value: string | number | boolean | any /** Null **/ | any /** Undefined **/): boolean;
    function setAuth(key: string, value: string | number | boolean | any /** Null **/ | any /** Undefined **/): boolean;

    function setDefaultTemp(key: string, value: EJSONable | any /** Undefined **/): void;
    function setDefaultPersistent(key: string, value: EJSONable | any /** Undefined **/): void;
    function setDefaultAuth(key: string, value: EJSONable | any /** Undefined **/): void;

    function makeTemp(key: string) : void;
    function makePersistent(key: string) : void;
    function makeAuth(key: string) : void;

    function clear() : void;
    function clear(key: string) : void;
    function clearTemp() : void;
    function clearPersistent() : void;
    function clearAuth() : void;
}

Additional Details

  • Last updated: Tue, 22 Feb 2022 17:31:39 GMT
  • Dependencies: @types/meteor
  • Global values: Session

Credits

These definitions were written by Robbie Van Gorkom.

0.0.35

3 months ago

0.0.32

8 months ago

0.0.33

7 months ago

0.0.34

6 months ago

0.0.31

2 years ago

0.0.30

4 years ago

0.0.29

6 years ago

0.0.28

8 years ago

0.0.27

8 years ago

0.0.26-alpha

8 years ago

0.0.25-alpha

8 years ago

0.0.24-alpha

8 years ago

0.0.23-alpha

8 years ago

0.0.22-alpha

8 years ago

0.0.21-alpha

8 years ago

0.0.20-alpha

8 years ago

0.0.15-alpha

8 years ago

0.0.14-alpha

8 years ago