@types/express-mysql-session
Advanced tools
Comparing version 1.2.1 to 1.2.2
@@ -33,104 +33,33 @@ // Type definitions for express-mysql-session 1.2 | ||
declare class MySQLStore { | ||
/** | ||
* @param {MySQLStore.Options} options | ||
* @param {any} connection? | ||
* @param {(error:any)=>void} callback? | ||
*/ | ||
constructor(options: MySQLStore.Options, connection?: any, callback?: (error: any) => void); | ||
/** | ||
* @returns void | ||
*/ | ||
setDefaultOptions(): void; | ||
/** | ||
* @param {(error:any)=>void} callback? | ||
* @returns void | ||
*/ | ||
createDatabaseTable(callback?: (error: any) => void): void; | ||
/** | ||
* @param {string} sessionId | ||
* @param {(error:any,session:any)=>void} callback? | ||
* @returns void | ||
*/ | ||
get(sessionId: string, callback?: (error: any, session: any) => void): void; | ||
/** | ||
* @param {string} sessionId | ||
* @param {any} data | ||
* @param {(error:any)=>void} callback? | ||
* @returns void | ||
*/ | ||
set(sessionId: string, data: any, callback?: (error: any) => void): void; | ||
/** | ||
* @param {string} sessionId | ||
* @param {any} data | ||
* @param {(error:any)=>void} callback? | ||
* @returns void | ||
*/ | ||
touch(sessionId: string, data: any, callback?: (error: any) => void): void; | ||
/** | ||
* @param {string} sessionId | ||
* @param {(error:any)=>void} callback? | ||
* @returns void | ||
*/ | ||
destroy(sessionId: string, callback?: (error: any) => void): void; | ||
/** | ||
* @param {(error:any,count:any)=>void} callback? | ||
* @returns void | ||
*/ | ||
length(callback?: (error: any, count: any) => void): void; | ||
/** | ||
* @param {(error:any)=>void} callback? | ||
* @returns void | ||
*/ | ||
clear(callback?: (error: any) => void): void; | ||
/** | ||
* @param {(error:any)=>void} callback? | ||
* @returns void | ||
*/ | ||
clearExpiredSessions(callback?: (error: any) => void): void; | ||
/** | ||
* @param {number} interval | ||
* @returns void | ||
*/ | ||
setExpirationInterval(interval: number): void; | ||
/** | ||
* @returns void | ||
*/ | ||
clearExpirationInterval(): void; | ||
/** | ||
* @param {()=>void} callback? | ||
* @returns void | ||
*/ | ||
close(callback?: () => void): void; | ||
/** | ||
* @param {any} object | ||
* @param {any} defaultValues | ||
* @param {any} options? | ||
* @returns void | ||
*/ | ||
default(object: any, defaultValues: any, options?: any): void; | ||
/** | ||
* @param {any} object | ||
* @returns void | ||
*/ | ||
clone(object: any): void; | ||
/** | ||
* @param {any} value | ||
* @returns void | ||
*/ | ||
isObject(value: any): void; | ||
} |
{ | ||
"name": "@types/express-mysql-session", | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"description": "TypeScript definitions for express-mysql-session", | ||
@@ -9,3 +9,4 @@ "license": "MIT", | ||
"name": "Akim95", | ||
"url": "https://github.com/Akim95" | ||
"url": "https://github.com/Akim95", | ||
"githubUsername": "Akim95" | ||
} | ||
@@ -20,5 +21,4 @@ ], | ||
"dependencies": {}, | ||
"peerDependencies": {}, | ||
"typesPublisherContentHash": "cede886230b7fa1b45a8f564065c35b1022b054904cbe06c7cb9ea75577d20ce", | ||
"typesPublisherContentHash": "91274dc34060c2cfb402fa4a6c9f05f1cfcda193f2492927ec85016976cecda9", | ||
"typeScriptVersion": "2.0" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Fri, 31 Mar 2017 19:23:23 GMT | ||
* Last updated: Wed, 25 Oct 2017 00:19:45 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: none |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4
4151
46