@types/dockerode
Advanced tools
Comparing version 3.3.6 to 3.3.7
@@ -461,2 +461,25 @@ // Type definitions for dockerode 3.3 | ||
interface VolumeCreateOptions { | ||
Name?: string | undefined; | ||
Driver?: string | undefined; | ||
DriverOpts?: { [key: string]: string } | undefined; | ||
Labels?: { [label: string]: string } | undefined; | ||
} | ||
interface VolumeCreateResponse { | ||
Name: string; | ||
Driver: string; | ||
Mountpoint: string; | ||
CreatedAt?: string | undefined; | ||
Status?: { [key: string]: string } | undefined; | ||
Labels: { [label: string]: string }; | ||
Scope: string; | ||
Options: { [key: string]: string }; | ||
// Field is sometimes present, and sometimes null | ||
UsageData?: { | ||
Size: number; | ||
RefCount: number; | ||
} | null | undefined; | ||
} | ||
interface VolumeInspectInfo { | ||
@@ -1839,4 +1862,5 @@ Name: string; | ||
createVolume(options: {}, callback: Callback<any>): void; | ||
createVolume(options: {}): Promise<any>; | ||
createVolume(options: Dockerode.VolumeCreateOptions, callback: Callback<Dockerode.Volume>): void; | ||
createVolume(callback: Callback<Dockerode.Volume>): void; | ||
createVolume(options?: Dockerode.VolumeCreateOptions): Promise<Dockerode.VolumeCreateResponse>; | ||
@@ -1843,0 +1867,0 @@ createService(options: Dockerode.CreateServiceOptions, callback: Callback<Dockerode.ServiceCreateResponse>): void; |
{ | ||
"name": "@types/dockerode", | ||
"version": "3.3.6", | ||
"version": "3.3.7", | ||
"description": "TypeScript definitions for dockerode", | ||
@@ -71,4 +71,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/dockerode", | ||
}, | ||
"typesPublisherContentHash": "6eae828f6e0989d48d80554d5510660690d437afc600e20e49728f67ee038502", | ||
"typesPublisherContentHash": "de27d7cbb8d76198baff3632b2197675b71d193c84c5f7e17851bea84d801bc6", | ||
"typeScriptVersion": "3.9" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Sat, 26 Mar 2022 12:01:43 GMT | ||
* Last updated: Sun, 03 Apr 2022 22:31:42 GMT | ||
* Dependencies: [@types/docker-modem](https://npmjs.com/package/@types/docker-modem), [@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
66045
1687