labag 1.2.1 → 1.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 CHANGED
@@ -1,6 +1,9 @@
1
+ import { LaBaG, OneDataType, AllDataType } from "./types/LaBaG";
1
2
  import { Mode, ModeNames } from "./types/Mode";
2
- import { PData } from "./types/P";
3
+ import { PlayLaBaG } from "./types/PlayLaBaG";
4
+ import { JsonLaBaG } from "./types/JsonLaBaG";
5
+ import { P, PData } from "./types/P";
3
6
  import { parseScore, verifyScore } from './utils/data';
4
7
  declare const PDatas: Record<string, PData>;
5
8
  declare const Modes: Record<Exclude<ModeNames, "Normal">, Mode>;
6
- export { Modes, PDatas, parseScore, verifyScore, };
9
+ export { OneDataType, AllDataType, LaBaG, PlayLaBaG, JsonLaBaG, Modes, ModeNames, P, PData, PDatas, parseScore, verifyScore, };
package/dist/index.js CHANGED
@@ -1,8 +1,13 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.verifyScore = exports.parseScore = exports.PDatas = exports.Modes = void 0;
3
+ exports.verifyScore = exports.parseScore = exports.PDatas = exports.P = exports.Modes = exports.JsonLaBaG = exports.PlayLaBaG = void 0;
4
4
  const RandInt_1 = require("./utils/RandInt");
5
+ const PlayLaBaG_1 = require("./types/PlayLaBaG");
6
+ Object.defineProperty(exports, "PlayLaBaG", { enumerable: true, get: function () { return PlayLaBaG_1.PlayLaBaG; } });
7
+ const JsonLaBaG_1 = require("./types/JsonLaBaG");
8
+ Object.defineProperty(exports, "JsonLaBaG", { enumerable: true, get: function () { return JsonLaBaG_1.JsonLaBaG; } });
5
9
  const P_1 = require("./types/P");
10
+ Object.defineProperty(exports, "P", { enumerable: true, get: function () { return P_1.P; } });
6
11
  const data_1 = require("./utils/data");
7
12
  Object.defineProperty(exports, "parseScore", { enumerable: true, get: function () { return data_1.parseScore; } });
8
13
  Object.defineProperty(exports, "verifyScore", { enumerable: true, get: function () { return data_1.verifyScore; } });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "labag",
3
- "version": "1.2.1",
3
+ "version": "1.2.2",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -10,7 +10,7 @@
10
10
  },
11
11
  "keywords": [],
12
12
  "author": "",
13
- "license": "ISC",
13
+ "license": "MIT",
14
14
  "type": "commonjs",
15
15
  "devDependencies": {
16
16
  "typescript": "^5.8.3"
package/src/index.ts CHANGED
@@ -181,8 +181,19 @@ const Modes: Record<Exclude<ModeNames, "Normal">, Mode> = {
181
181
  };
182
182
 
183
183
  export {
184
+ OneDataType,
185
+ AllDataType,
186
+ LaBaG,
187
+ PlayLaBaG,
188
+ JsonLaBaG,
189
+
184
190
  Modes,
191
+ ModeNames,
192
+
193
+ P,
194
+ PData,
185
195
  PDatas,
196
+
186
197
  parseScore,
187
198
  verifyScore,
188
199
  };