@google-cloud/storage
Advanced tools
Comparing version 5.12.0 to 5.13.0
@@ -9,6 +9,7 @@ /// <reference types="node" /> | ||
import { Notification } from './notification'; | ||
import { Storage, Cors } from './storage'; | ||
import { Storage, Cors, PreconditionOptions } from './storage'; | ||
import { GetSignedUrlResponse, GetSignedUrlCallback, URLSigner, Query } from './signer'; | ||
interface BucketOptions { | ||
userProject?: string; | ||
preconditionOpts?: PreconditionOptions; | ||
} | ||
@@ -60,3 +61,3 @@ export declare type GetFilesResponse = [File[], {}, Metadata]; | ||
} | ||
export interface CombineOptions { | ||
export interface CombineOptions extends PreconditionOptions { | ||
kmsKeyName?: string; | ||
@@ -100,3 +101,3 @@ userProject?: string; | ||
} | ||
export interface DeleteFilesOptions extends GetFilesOptions { | ||
export interface DeleteFilesOptions extends GetFilesOptions, PreconditionOptions { | ||
force?: boolean; | ||
@@ -103,0 +104,0 @@ } |
@@ -145,2 +145,3 @@ /// <reference types="node" /> | ||
userProject?: string; | ||
preconditionOpts?: PreconditionOptions; | ||
} | ||
@@ -173,2 +174,3 @@ export declare type RenameOptions = MoveOptions; | ||
userProject?: string; | ||
preconditionOpts?: PreconditionOptions; | ||
} | ||
@@ -185,2 +187,3 @@ export interface CopyOptions { | ||
userProject?: string; | ||
preconditionOpts?: PreconditionOptions; | ||
} | ||
@@ -219,2 +222,3 @@ export declare type CopyResponse = [File, Metadata]; | ||
userProject?: string; | ||
preconditionOpts?: PreconditionOptions; | ||
} | ||
@@ -221,0 +225,0 @@ export interface SetStorageClassCallback { |
@@ -345,2 +345,6 @@ /// <reference types="node" /> | ||
* header in API requests. | ||
* @property {object} [authClient] GoogleAuth client to reuse instead of creating a new one. | ||
* @property {number} [timeout] The amount of time in milliseconds to wait per http request before timing out. | ||
* @property {object[]} [interceptors_] Array of custom request interceptors to be returned in the order they were assigned. | ||
* @property {string} [apiEndpoint = storage.google.com] The API endpoint of the service used to make requests. | ||
*/ | ||
@@ -347,0 +351,0 @@ /** |
@@ -264,2 +264,6 @@ "use strict"; | ||
* header in API requests. | ||
* @property {object} [authClient] GoogleAuth client to reuse instead of creating a new one. | ||
* @property {number} [timeout] The amount of time in milliseconds to wait per http request before timing out. | ||
* @property {object[]} [interceptors_] Array of custom request interceptors to be returned in the order they were assigned. | ||
* @property {string} [apiEndpoint = storage.google.com] The API endpoint of the service used to make requests. | ||
*/ | ||
@@ -266,0 +270,0 @@ /** |
{ | ||
"name": "@google-cloud/storage", | ||
"description": "Cloud Storage Client Library for Node.js", | ||
"version": "5.12.0", | ||
"version": "5.13.0", | ||
"license": "Apache-2.0", | ||
@@ -6,0 +6,0 @@ "author": "Google Inc.", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
596222
11906