0.0.35 • Published 1 year ago

@types/meteor-persistent-session v0.0.35

Weekly downloads
42
License
MIT
Repository
github
Last release
1 year 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

1 year ago

0.0.32

2 years ago

0.0.33

2 years ago

0.0.34

2 years ago

0.0.31

3 years ago

0.0.30

5 years ago

0.0.29

7 years ago

0.0.28

9 years ago

0.0.27

9 years ago

0.0.26-alpha

9 years ago

0.0.25-alpha

9 years ago

0.0.24-alpha

9 years ago

0.0.23-alpha

9 years ago

0.0.22-alpha

9 years ago

0.0.21-alpha

9 years ago

0.0.20-alpha

9 years ago

0.0.15-alpha

9 years ago

0.0.14-alpha

9 years ago