-
Notifications
You must be signed in to change notification settings - Fork 577
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: enableProxy=true need install proxy-agent
- Loading branch information
csg01123119
committed
Aug 12, 2024
1 parent
4a92064
commit 21d582a
Showing
5 changed files
with
18,873 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,8 +28,6 @@ build | |
test/node/.tmp | ||
test/browser/.tmp | ||
test/demo.js | ||
yarn.lock | ||
package-lock.json | ||
.nyc_output/ | ||
.env | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,36 @@ | ||
declare type Field = | ||
'Size | LastModifiedDate | ETag | StorageClass | IsMultipartUploaded | EncryptionStatus | ObjectAcl | TaggingCount | ObjectType | Crc64'; | ||
declare type Field = 'Size | LastModifiedDate | ETag | StorageClass | IsMultipartUploaded | EncryptionStatus | ObjectAcl | TaggingCount | ObjectType | Crc64'; | ||
interface Inventory { | ||
id: string; | ||
isEnabled: true | false; | ||
prefix?: string; | ||
OSSBucketDestination: { | ||
format: 'CSV'; | ||
accountId: string; | ||
rolename: string; | ||
bucket: string; | ||
id: string; | ||
isEnabled: true | false; | ||
prefix?: string; | ||
encryption?: | ||
| { | ||
'SSE-OSS': ''; | ||
} | ||
| { | ||
'SSE-KMS': { | ||
keyId: string; | ||
}; | ||
OSSBucketDestination: { | ||
format: 'CSV'; | ||
accountId: string; | ||
rolename: string; | ||
bucket: string; | ||
prefix?: string; | ||
encryption?: { | ||
'SSE-OSS': ''; | ||
} | { | ||
'SSE-KMS': { | ||
keyId: string; | ||
}; | ||
}; | ||
}; | ||
frequency: 'Daily' | 'Weekly'; | ||
includedObjectVersions: 'Current' | 'All'; | ||
optionalFields?: { | ||
field?: Field[]; | ||
}; | ||
}; | ||
frequency: 'Daily' | 'Weekly'; | ||
includedObjectVersions: 'Current' | 'All'; | ||
optionalFields?: { | ||
field?: Field[]; | ||
}; | ||
} | ||
/** | ||
* putBucketInventory | ||
* @param {String} bucketName - bucket name | ||
* @param {Inventory} inventory | ||
* @param {Object} options | ||
*/ | ||
export declare function putBucketInventory( | ||
this: any, | ||
bucketName: string, | ||
inventory: Inventory, | ||
options?: any | ||
): Promise<{ | ||
status: any; | ||
res: any; | ||
export declare function putBucketInventory(this: any, bucketName: string, inventory: Inventory, options?: any): Promise<{ | ||
status: any; | ||
res: any; | ||
}>; | ||
export {}; |
Oops, something went wrong.