@types/angular-storage
Advanced tools
Comparing version 0.0.32 to 0.0.33
@@ -15,50 +15,50 @@ // Type definitions for angular-storage v0.0.11 | ||
declare module 'angular' { | ||
namespace a0.storage { | ||
interface IStoreService extends INamespacedStoreService { | ||
/** | ||
* Returns a namespaced store | ||
* | ||
* @param {String} namespace - The namespace | ||
* @param {String} storage - The name of the storage service. Defaults to local storage. | ||
* @param {String} delimiter - The delimiter to use to separate the namespace and the keys. | ||
* @returns {INamespacedStoreService} | ||
*/ | ||
getNamespacedStore(namespace: string, storage?: string, delimiter?: string): INamespacedStoreService; | ||
} | ||
namespace a0.storage { | ||
interface IStoreService extends INamespacedStoreService { | ||
/** | ||
* Returns a namespaced store | ||
* | ||
* @param {String} namespace - The namespace | ||
* @param {String} storage - The name of the storage service. Defaults to local storage. | ||
* @param {String} delimiter - The delimiter to use to separate the namespace and the keys. | ||
* @returns {INamespacedStoreService} | ||
*/ | ||
getNamespacedStore(namespace: string, storage?: string, delimiter?: string): INamespacedStoreService; | ||
} | ||
interface INamespacedStoreService { | ||
/** | ||
* Sets a new value to the storage with the key name. It can be any object. | ||
* | ||
* @param {String} name - The key name for the location of the value | ||
* @param value - The value to store | ||
*/ | ||
set(name: string, value: any): void; | ||
interface INamespacedStoreService { | ||
/** | ||
* Sets a new value to the storage with the key name. It can be any object. | ||
* | ||
* @param {String} name - The key name for the location of the value | ||
* @param value - The value to store | ||
*/ | ||
set(name: string, value: any): void; | ||
/** | ||
* Returns the saved value with they key name. | ||
* | ||
* @param {String} name - The key name for the location of the value | ||
* @returns The saved value; if you saved an object, you get an object | ||
*/ | ||
get(name: string): any; | ||
/** | ||
* Returns the saved value with they key name. | ||
* | ||
* @param {String} name - The key name for the location of the value | ||
* @returns The saved value; if you saved an object, you get an object | ||
*/ | ||
get(name: string): any; | ||
/** | ||
* Deletes the saved value with the key name | ||
* | ||
* @param {String} name - The key name for the location of the value to remove | ||
*/ | ||
remove(name: string): void; | ||
} | ||
/** | ||
* Deletes the saved value with the key name | ||
* | ||
* @param {String} name - The key name for the location of the value to remove | ||
*/ | ||
remove(name: string): void; | ||
} | ||
interface IStoreProvider { | ||
interface IStoreProvider { | ||
/** | ||
* Sets the storage. | ||
* | ||
* @param {String} storage - The storage name | ||
*/ | ||
setStore(storage: string): void; | ||
} | ||
} | ||
/** | ||
* Sets the storage. | ||
* | ||
* @param {String} storage - The storage name | ||
*/ | ||
setStore(storage: string): void; | ||
} | ||
} | ||
} |
{ | ||
"name": "@types/angular-storage", | ||
"version": "0.0.32", | ||
"version": "0.0.33", | ||
"description": "TypeScript definitions for angular-storage", | ||
@@ -14,5 +14,7 @@ "license": "MIT", | ||
"main": "", | ||
"types": "index.d.ts", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://www.github.com/DefinitelyTyped/DefinitelyTyped.git" | ||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", | ||
"directory": "types/angular-storage" | ||
}, | ||
@@ -23,4 +25,4 @@ "scripts": {}, | ||
}, | ||
"typesPublisherContentHash": "2a41ee32ea30f9fbae624cb9ec129b7de6b1388878f9c51536734f2a04483700", | ||
"typeScriptVersion": "2.3" | ||
"typesPublisherContentHash": "dd83660e5e8473024ba139436c267e6a449c1add99405e866957c3cbe3b4576d", | ||
"typeScriptVersion": "3.0" | ||
} |
@@ -8,10 +8,10 @@ # Installation | ||
# Details | ||
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/angular-storage | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/angular-storage. | ||
Additional Details | ||
* Last updated: Thu, 09 Nov 2017 08:43:07 GMT | ||
* Dependencies: angular | ||
### Additional Details | ||
* Last updated: Fri, 15 May 2020 04:08:45 GMT | ||
* Dependencies: [@types/angular](https://npmjs.com/package/@types/angular) | ||
* Global values: none | ||
# Credits | ||
These definitions were written by Matthew DeKrey <https://github.com/mdekrey>. | ||
These definitions were written by [Matthew DeKrey](https://github.com/mdekrey). |
Sorry, the diff of this file is not supported yet
4627