koishi-plugin-smmcat-gensokyo 0.0.28 → 0.0.30

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/lib/map.d.ts CHANGED
@@ -17,7 +17,7 @@ declare module 'koishi' {
17
17
  }
18
18
  }
19
19
  /** 区域信息 */
20
- type AreaItem = {
20
+ export type AreaItem = {
21
21
  /** 层级 */
22
22
  floor: number;
23
23
  /** 区域名 */
@@ -0,0 +1,6 @@
1
+ import { AreaItem } from "./map";
2
+ interface MapData {
3
+ [key: string]: AreaItem;
4
+ }
5
+ export declare function generateMapHTML(mapData: MapData, currentAreaName?: string): string;
6
+ export {};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "koishi-plugin-smmcat-gensokyo",
3
3
  "description": "名为《幻想乡》的文字冒险游戏",
4
- "version": "0.0.28",
4
+ "version": "0.0.30",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",
7
7
  "files": [