labag 2.2.1 → 2.2.2
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/dist/index.d.ts +3 -2
- package/dist/index.js +5 -1
- package/dist/modes/index.d.ts +5 -5
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { LaBaG } from "./labag";
|
|
2
|
-
import { ModeName } from "./modes";
|
|
2
|
+
import { modeList, ModeName } from "./modes";
|
|
3
3
|
import { LaBaGEvent, Pattern, PatternName } from "./types";
|
|
4
|
+
import { Mode } from "./mode";
|
|
4
5
|
declare const labag: LaBaG;
|
|
5
|
-
export { labag, type LaBaGEvent, type Pattern, type PatternName, type ModeName, };
|
|
6
|
+
export { labag, modeList, LaBaG, Mode, type LaBaGEvent, type Pattern, type PatternName, type ModeName, };
|
package/dist/index.js
CHANGED
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.labag = void 0;
|
|
3
|
+
exports.Mode = exports.LaBaG = exports.modeList = exports.labag = void 0;
|
|
4
4
|
const labag_1 = require("./labag");
|
|
5
|
+
Object.defineProperty(exports, "LaBaG", { enumerable: true, get: function () { return labag_1.LaBaG; } });
|
|
5
6
|
const modes_1 = require("./modes");
|
|
7
|
+
Object.defineProperty(exports, "modeList", { enumerable: true, get: function () { return modes_1.modeList; } });
|
|
8
|
+
const mode_1 = require("./mode");
|
|
9
|
+
Object.defineProperty(exports, "Mode", { enumerable: true, get: function () { return mode_1.Mode; } });
|
|
6
10
|
const labag = new labag_1.LaBaG();
|
|
7
11
|
exports.labag = labag;
|
|
8
12
|
modes_1.modeList.forEach((mode) => {
|
package/dist/modes/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export declare const modes: {
|
|
2
|
-
superhhh: import("
|
|
3
|
-
greenwei: import("
|
|
4
|
-
pikachu: import("
|
|
5
|
-
normal: import("
|
|
2
|
+
superhhh: import("..").Mode<"superhhh">;
|
|
3
|
+
greenwei: import("..").Mode<"greenwei">;
|
|
4
|
+
pikachu: import("..").Mode<"pikachu">;
|
|
5
|
+
normal: import("..").Mode<"normal">;
|
|
6
6
|
};
|
|
7
7
|
export type ModeName = (typeof modes)[keyof typeof modes]["name"];
|
|
8
|
-
export declare const modeList: (import("
|
|
8
|
+
export declare const modeList: (import("..").Mode<"greenwei"> | import("..").Mode<"normal"> | import("..").Mode<"pikachu"> | import("..").Mode<"superhhh">)[];
|