Skip to content
This repository was archived by the owner on Jun 26, 2020. It is now read-only.

Commit 3397704

Browse files
1 parent 273de16 commit 3397704

97 files changed

Lines changed: 37731 additions & 37731 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

lib/cli.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export {};
1+
export {};

lib/cli.js

Lines changed: 26 additions & 26 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/cli.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/index.d.ts

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
1-
export interface Result {
2-
/**
3-
* All updated commands.
4-
*/
5-
commands: string[];
6-
/**
7-
* Human-readable logs.
8-
*/
9-
logs: string[];
10-
/**
11-
* `success` means success.
12-
* `warning` means that the commands are correct but spu can't update it cuz of some reasons, like Minecraft totally removed them in further versions.
13-
* `error` means that the commands have syntax error(s).
14-
*/
15-
state: 'success' | 'warning' | 'error';
16-
}
17-
/**
18-
* Update command(s).
19-
* @param commands The command(s) that will be updated. Support blank lines and comments. Support slashes(`/`) before commands.
20-
* @param from The original version of the command(s). `X` stands for *Minecraft Java Edition 1.X*.
21-
* @param to The target version. `X` stands for *Minecraft Java Edition 1.X*.
22-
*/
23-
export declare function update(commands: string[], from: number, to: number): Result;
1+
export interface Result {
2+
/**
3+
* All updated commands.
4+
*/
5+
commands: string[];
6+
/**
7+
* Human-readable logs.
8+
*/
9+
logs: string[];
10+
/**
11+
* `success` means success.
12+
* `warning` means that the commands are correct but spu can't update it cuz of some reasons, like Minecraft totally removed them in further versions.
13+
* `error` means that the commands have syntax error(s).
14+
*/
15+
state: 'success' | 'warning' | 'error';
16+
}
17+
/**
18+
* Update command(s).
19+
* @param commands The command(s) that will be updated. Support blank lines and comments. Support slashes(`/`) before commands.
20+
* @param from The original version of the command(s). `X` stands for *Minecraft Java Edition 1.X*.
21+
* @param to The target version. `X` stands for *Minecraft Java Edition 1.X*.
22+
*/
23+
export declare function update(commands: string[], from: number, to: number): Result;

lib/index.js

Lines changed: 79 additions & 79 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/test/utils/block_state.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
import 'mocha';
1+
import 'mocha';

0 commit comments

Comments
 (0)