@cloudbase/types
Advanced tools
Comparing version 2.0.0-alpha.2 to 2.0.1-alpha.0
@@ -13,2 +13,6 @@ import { CloudbaseAdapter, SDKAdapterInterface } from '@cloudbase/adapter-interface'; | ||
export interface KVstring { | ||
[key: string]: string; | ||
} | ||
export interface ICloudbaseAppSecret { | ||
@@ -15,0 +19,0 @@ appAccessKeyId: string; |
{ | ||
"name": "@cloudbase/types", | ||
"version": "2.0.0-alpha.2", | ||
"version": "2.0.1-alpha.0", | ||
"description": "cloudbase javascript sdk types", | ||
@@ -48,3 +48,3 @@ "files": [ | ||
}, | ||
"gitHead": "c462902b6702463670d27acb88ebccf93dbd51cd" | ||
"gitHead": "a1ff9c147bb221fc003d46533e6134ddb76df0ca" | ||
} |
@@ -0,7 +1,18 @@ | ||
import { KVstring } from "."; | ||
export interface ICloudbaseUploadFileParams { | ||
cloudPath: string; | ||
filePath: string; | ||
method?: 'post' | 'put'; | ||
headers?: KVstring[]; | ||
onUploadProgress?: Function; | ||
} | ||
export interface ICloudbaseUploadFileByPutParams { | ||
cloudPath: string; | ||
filePath: string; | ||
headers?: KVstring[]; | ||
onUploadProgress?: Function; | ||
} | ||
export interface ICloudbaseUploadFileResult { | ||
@@ -8,0 +19,0 @@ fileID: string; |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
20684
636