@e-mc/cloud 0.10.6 → 0.10.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -7
- package/package.json +4 -4
- package/types/index.d.ts +1 -1
package/README.md
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
|
|
10
10
|
## Interface
|
|
11
11
|
|
|
12
|
-
* [View Source](https://www.unpkg.com/@e-mc/types@0.10.
|
|
12
|
+
* [View Source](https://www.unpkg.com/@e-mc/types@0.10.7/lib/index.d.ts)
|
|
13
13
|
|
|
14
14
|
```typescript
|
|
15
15
|
import type { IHost, IScopeOrigin } from "./index";
|
|
@@ -174,12 +174,12 @@ const rows = await instance.getDatabaseRows({ service: "aws-v3", credential: "ma
|
|
|
174
174
|
|
|
175
175
|
## References
|
|
176
176
|
|
|
177
|
-
- https://www.unpkg.com/@e-mc/types@0.10.
|
|
178
|
-
- https://www.unpkg.com/@e-mc/types@0.10.
|
|
179
|
-
- https://www.unpkg.com/@e-mc/types@0.10.
|
|
180
|
-
- https://www.unpkg.com/@e-mc/types@0.10.
|
|
181
|
-
- https://www.unpkg.com/@e-mc/types@0.10.
|
|
182
|
-
- https://www.unpkg.com/@e-mc/types@0.10.
|
|
177
|
+
- https://www.unpkg.com/@e-mc/types@0.10.7/lib/asset.d.ts
|
|
178
|
+
- https://www.unpkg.com/@e-mc/types@0.10.7/lib/cloud.d.ts
|
|
179
|
+
- https://www.unpkg.com/@e-mc/types@0.10.7/lib/core.d.ts
|
|
180
|
+
- https://www.unpkg.com/@e-mc/types@0.10.7/lib/db.d.ts
|
|
181
|
+
- https://www.unpkg.com/@e-mc/types@0.10.7/lib/logger.d.ts
|
|
182
|
+
- https://www.unpkg.com/@e-mc/types@0.10.7/lib/settings.d.ts
|
|
183
183
|
|
|
184
184
|
## LICENSE
|
|
185
185
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@e-mc/cloud",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.7",
|
|
4
4
|
"description": "Cloud constructor for E-mc.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"license": "BSD-3-Clause",
|
|
21
21
|
"homepage": "https://github.com/anpham6/e-mc#readme",
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@e-mc/core": "0.10.
|
|
24
|
-
"@e-mc/db": "0.10.
|
|
25
|
-
"@e-mc/types": "0.10.
|
|
23
|
+
"@e-mc/core": "0.10.7",
|
|
24
|
+
"@e-mc/db": "0.10.7",
|
|
25
|
+
"@e-mc/types": "0.10.7",
|
|
26
26
|
"mime-types": "^2.1.35"
|
|
27
27
|
}
|
|
28
28
|
}
|
package/types/index.d.ts
CHANGED
|
@@ -32,6 +32,6 @@ export interface CloudScopeOrigin<T extends IFileManager<U>, U extends CloudAsse
|
|
|
32
32
|
|
|
33
33
|
export type ServiceHost<T, U = unknown> = (this: IModule, credential: U, service?: string, sdk?: string) => T;
|
|
34
34
|
export type UploadCallback = (data: UploadData, callback: (err: unknown, value?: string) => void) => void;
|
|
35
|
-
export type DownloadCallback = (data: DownloadData, callback: (err: unknown, value?: Null<
|
|
35
|
+
export type DownloadCallback = (data: DownloadData, callback: (err: unknown, value?: Null<Bufferable>) => void) => void;
|
|
36
36
|
export type UploadHost = ServiceHost<UploadCallback>;
|
|
37
37
|
export type DownloadHost = ServiceHost<DownloadCallback>;
|