@types/imapflow
Advanced tools
Comparing version 1.0.11 to 1.0.12
@@ -52,3 +52,6 @@ // Type definitions for imapflow 1.0 | ||
*/ | ||
list(): Promise<ListResponse[]>; | ||
list(options?: { | ||
statusQuery?: StatusQuery, | ||
specialUseHints?: SpecialUseHints, | ||
}): Promise<ListResponse[]>; | ||
@@ -297,3 +300,3 @@ listTree(): Promise<ListTreeResponse>; | ||
path: string; | ||
message?: number; | ||
messages?: number; | ||
recent?: number; | ||
@@ -323,2 +326,3 @@ uid?: number; | ||
subscribed: boolean; | ||
status?: StatusObject; | ||
} | ||
@@ -368,1 +372,17 @@ | ||
} | ||
export interface StatusQuery { | ||
messages?: boolean; | ||
recent?: boolean; | ||
uidNext?: boolean; | ||
uidValidity?: boolean; | ||
unseen?: boolean; | ||
highestModseq?: boolean; | ||
} | ||
export interface SpecialUseHints { | ||
sent: string; | ||
trash: string; | ||
junk: string; | ||
drafts: string; | ||
} |
{ | ||
"name": "@types/imapflow", | ||
"version": "1.0.11", | ||
"version": "1.0.12", | ||
"description": "TypeScript definitions for imapflow", | ||
@@ -35,4 +35,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/imapflow", | ||
}, | ||
"typesPublisherContentHash": "a0aaa5a18528d4e62c1d16e51b82524bb15c8281e019dce1a253c291359dcef7", | ||
"typeScriptVersion": "4.1" | ||
"typesPublisherContentHash": "30112b44bb5449449f158f1c904911e80c39841032eb07599a5a9486a2682eb3", | ||
"typeScriptVersion": "4.3" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Fri, 30 Sep 2022 07:03:02 GMT | ||
* Last updated: Sat, 18 Mar 2023 07:02:34 GMT | ||
* Dependencies: [@types/node](https://npmjs.com/package/@types/node) | ||
@@ -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
12241
331