@occultus/api 0.27.1 → 0.28.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/LICENSE +9 -9
- package/README.md +4 -4
- package/package.json +18 -14
- package/script/api.js +6872 -0
- package/script/main.ts +1 -0
- package/src/apiVer.ts +35 -33
- package/src/index.ts +26 -26
package/script/main.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "../src/index"
|
package/src/apiVer.ts
CHANGED
|
@@ -1,33 +1,35 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @module StarTenonAPI
|
|
3
|
-
*/
|
|
4
|
-
export class StarTenon {
|
|
5
|
-
private constructor() {}
|
|
6
|
-
/**
|
|
7
|
-
* Star Tenon API 版本级别
|
|
8
|
-
*
|
|
9
|
-
* - 1:基础 API
|
|
10
|
-
* - 2:添加了教程 API
|
|
11
|
-
* - 3:优化了大部分 API 接口依赖的版本
|
|
12
|
-
* - 4:完善了任务 API 的条件与奖励、加入了 `Localization` 类
|
|
13
|
-
* - 5:加入了模拟效果 API
|
|
14
|
-
* - 6:加入了职业 API
|
|
15
|
-
* - 6.1:工具集的一些优化与改进
|
|
16
|
-
* - 6.2:`ensureNamespace`与`ensureNoNamespace`函数与漏洞修复
|
|
17
|
-
* - 7:加入了 Credits API
|
|
18
|
-
* - 7.1:新的工具集函数
|
|
19
|
-
* - 7.2:职业 API 的改进
|
|
20
|
-
* - 7.3:新的工具集函数
|
|
21
|
-
* - 7.4:任务 API 某些异常行为的修复;新的工具集函数
|
|
22
|
-
* - 7.5:Time API 的改进
|
|
23
|
-
* - 8:加入了 Logue API
|
|
24
|
-
* - 8.1:教程 API 的改进
|
|
25
|
-
* - 9:对 1.1.0 Core 的适配,页面跳转的改进
|
|
26
|
-
* - 10:加入了 Server Binding API
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
1
|
+
/**
|
|
2
|
+
* @module StarTenonAPI
|
|
3
|
+
*/
|
|
4
|
+
export class StarTenon {
|
|
5
|
+
private constructor() {}
|
|
6
|
+
/**
|
|
7
|
+
* Star Tenon API 版本级别
|
|
8
|
+
*
|
|
9
|
+
* - 1:基础 API
|
|
10
|
+
* - 2:添加了教程 API
|
|
11
|
+
* - 3:优化了大部分 API 接口依赖的版本
|
|
12
|
+
* - 4:完善了任务 API 的条件与奖励、加入了 `Localization` 类
|
|
13
|
+
* - 5:加入了模拟效果 API
|
|
14
|
+
* - 6:加入了职业 API
|
|
15
|
+
* - 6.1:工具集的一些优化与改进
|
|
16
|
+
* - 6.2:`ensureNamespace`与`ensureNoNamespace`函数与漏洞修复
|
|
17
|
+
* - 7:加入了 Credits API
|
|
18
|
+
* - 7.1:新的工具集函数
|
|
19
|
+
* - 7.2:职业 API 的改进
|
|
20
|
+
* - 7.3:新的工具集函数
|
|
21
|
+
* - 7.4:任务 API 某些异常行为的修复;新的工具集函数
|
|
22
|
+
* - 7.5:Time API 的改进
|
|
23
|
+
* - 8:加入了 Logue API
|
|
24
|
+
* - 8.1:教程 API 的改进
|
|
25
|
+
* - 9:对 1.1.0 Core 的适配,页面跳转的改进
|
|
26
|
+
* - 10:加入了 Server Binding API
|
|
27
|
+
* - 10.1:新的工具集函数,BlockEntity 的 API 行为变化
|
|
28
|
+
* - 11:教程 API 的改进,单独的依赖库文件的提供
|
|
29
|
+
*/
|
|
30
|
+
static apiLevel: number = 11;
|
|
31
|
+
/**
|
|
32
|
+
* Star Tenon API 对应的版本号
|
|
33
|
+
*/
|
|
34
|
+
static version: string = `0.28.0 (API: ${this.apiLevel})`;
|
|
35
|
+
}
|
package/src/index.ts
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
export * from "./apiVer";
|
|
2
|
-
export * from "@occultus/core";
|
|
3
|
-
export * from "@occultus/common";
|
|
4
|
-
export * from "@occultus/time-api";
|
|
5
|
-
export * from "@occultus/text-api";
|
|
6
|
-
export * from "@occultus/format-api";
|
|
7
|
-
export * from "@occultus/entity-api";
|
|
8
|
-
export * from "@occultus/skill-api";
|
|
9
|
-
export * from "@occultus/item-api";
|
|
10
|
-
export * from "@occultus/task-api";
|
|
11
|
-
export * from "@occultus/music-api";
|
|
12
|
-
export * from "@occultus/math-api";
|
|
13
|
-
export * from "@occultus/notification-api";
|
|
14
|
-
export * from "@occultus/loot-api";
|
|
15
|
-
export * from "@occultus/logger-api";
|
|
16
|
-
export * from "@occultus/block-api";
|
|
17
|
-
export * from "@occultus/artifact-api";
|
|
18
|
-
export * from "@occultus/article-api";
|
|
19
|
-
export * from "@occultus/random-api";
|
|
20
|
-
export * from "@occultus/tutorial-api";
|
|
21
|
-
export * from "@occultus/effect-api";
|
|
22
|
-
export * from "@occultus/job-api";
|
|
23
|
-
export * from "@occultus/toolkit";
|
|
24
|
-
export * from "@occultus/condition-api";
|
|
25
|
-
export * from "@occultus/credits-api";
|
|
26
|
-
export * from "@occultus/logue-api";
|
|
1
|
+
export * from "./apiVer";
|
|
2
|
+
export * from "@occultus/core";
|
|
3
|
+
export * from "@occultus/common";
|
|
4
|
+
export * from "@occultus/time-api";
|
|
5
|
+
export * from "@occultus/text-api";
|
|
6
|
+
export * from "@occultus/format-api";
|
|
7
|
+
export * from "@occultus/entity-api";
|
|
8
|
+
export * from "@occultus/skill-api";
|
|
9
|
+
export * from "@occultus/item-api";
|
|
10
|
+
export * from "@occultus/task-api";
|
|
11
|
+
export * from "@occultus/music-api";
|
|
12
|
+
export * from "@occultus/math-api";
|
|
13
|
+
export * from "@occultus/notification-api";
|
|
14
|
+
export * from "@occultus/loot-api";
|
|
15
|
+
export * from "@occultus/logger-api";
|
|
16
|
+
export * from "@occultus/block-api";
|
|
17
|
+
export * from "@occultus/artifact-api";
|
|
18
|
+
export * from "@occultus/article-api";
|
|
19
|
+
export * from "@occultus/random-api";
|
|
20
|
+
export * from "@occultus/tutorial-api";
|
|
21
|
+
export * from "@occultus/effect-api";
|
|
22
|
+
export * from "@occultus/job-api";
|
|
23
|
+
export * from "@occultus/toolkit";
|
|
24
|
+
export * from "@occultus/condition-api";
|
|
25
|
+
export * from "@occultus/credits-api";
|
|
26
|
+
export * from "@occultus/logue-api";
|