@e-mc/task 0.9.6 → 0.10.0
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 +6 -6
- package/index.d.ts +4 -4
- package/index.js +0 -1
- package/package.json +2 -2
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.
|
|
12
|
+
* [View Source](https://www.unpkg.com/@e-mc/types@0.10.0/lib/index.d.ts)
|
|
13
13
|
|
|
14
14
|
```typescript
|
|
15
15
|
import type { IFileManager, IHost, ModuleConstructor } from "./index";
|
|
@@ -29,7 +29,7 @@ interface ITask extends IClient<IHost, TaskModule> {
|
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
interface TaskConstructor extends ModuleConstructor {
|
|
32
|
-
finalize(this: IHost, instance: ITask, assets: ExternalAsset[]): Promise<
|
|
32
|
+
finalize(this: IHost, instance: ITask, assets: ExternalAsset[]): Promise<void>;
|
|
33
33
|
readonly prototype: ITask;
|
|
34
34
|
new(module?: TaskModule, ...args: unknown[]): ITask;
|
|
35
35
|
}
|
|
@@ -62,10 +62,10 @@ NOTE: Usage without a **Host** is conducted through static methods. The **using*
|
|
|
62
62
|
|
|
63
63
|
## References
|
|
64
64
|
|
|
65
|
-
- https://www.unpkg.com/@e-mc/types@0.
|
|
66
|
-
- https://www.unpkg.com/@e-mc/types@0.
|
|
67
|
-
- https://www.unpkg.com/@e-mc/types@0.
|
|
68
|
-
- https://www.unpkg.com/@e-mc/types@0.
|
|
65
|
+
- https://www.unpkg.com/@e-mc/types@0.10.0/lib/asset.d.ts
|
|
66
|
+
- https://www.unpkg.com/@e-mc/types@0.10.0/lib/core.d.ts
|
|
67
|
+
- https://www.unpkg.com/@e-mc/types@0.10.0/lib/settings.d.ts
|
|
68
|
+
- https://www.unpkg.com/@e-mc/types@0.10.0/lib/task.d.ts
|
|
69
69
|
|
|
70
70
|
## LICENSE
|
|
71
71
|
|
package/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { TaskConstructor } from '../types/lib';
|
|
2
|
-
|
|
3
|
-
declare const Task: TaskConstructor;
|
|
4
|
-
|
|
1
|
+
import type { TaskConstructor } from '../types/lib';
|
|
2
|
+
|
|
3
|
+
declare const Task: TaskConstructor;
|
|
4
|
+
|
|
5
5
|
export = Task;
|
package/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@e-mc/task",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.10.0",
|
|
4
4
|
"description": "Task constructor for E-mc.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -20,6 +20,6 @@
|
|
|
20
20
|
"license": "BSD 3-Clause",
|
|
21
21
|
"homepage": "https://github.com/anpham6/e-mc#readme",
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@e-mc/core": "0.
|
|
23
|
+
"@e-mc/core": "0.10.0"
|
|
24
24
|
}
|
|
25
25
|
}
|