labag 1.1.13 → 1.2.1

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 ADDED
@@ -0,0 +1,9 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 fan._.yuuu
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6
+
7
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8
+
9
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
package/dist/index.d.ts CHANGED
@@ -1,9 +1,6 @@
1
- import { LaBaG, OneDataType, AllDataType } from "./types/LaBaG";
2
1
  import { Mode, ModeNames } from "./types/Mode";
3
- import { PlayLaBaG } from "./types/PlayLaBaG";
4
- import { JsonLaBaG } from "./types/JsonLaBaG";
5
- import { P, PData } from "./types/P";
2
+ import { PData } from "./types/P";
6
3
  import { parseScore, verifyScore } from './utils/data';
7
4
  declare const PDatas: Record<string, PData>;
8
5
  declare const Modes: Record<Exclude<ModeNames, "Normal">, Mode>;
9
- export { OneDataType, AllDataType, LaBaG, PlayLaBaG, JsonLaBaG, Modes, ModeNames, P, PData, PDatas, parseScore, verifyScore, };
6
+ export { Modes, PDatas, parseScore, verifyScore, };
package/dist/index.js CHANGED
@@ -1,13 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.verifyScore = exports.parseScore = exports.PDatas = exports.P = exports.Modes = exports.JsonLaBaG = exports.PlayLaBaG = void 0;
3
+ exports.verifyScore = exports.parseScore = exports.PDatas = exports.Modes = 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; } });
9
5
  const P_1 = require("./types/P");
10
- Object.defineProperty(exports, "P", { enumerable: true, get: function () { return P_1.P; } });
11
6
  const data_1 = require("./utils/data");
12
7
  Object.defineProperty(exports, "parseScore", { enumerable: true, get: function () { return data_1.parseScore; } });
13
8
  Object.defineProperty(exports, "verifyScore", { enumerable: true, get: function () { return data_1.verifyScore; } });
@@ -1,5 +1,5 @@
1
- import { AllDataType } from "..";
2
1
  import { BaseLaBaG } from "./BaseLaBaG";
2
+ import { AllDataType } from "./LaBaG";
3
3
  export declare class JsonLaBaG extends BaseLaBaG {
4
4
  jsonData: AllDataType;
5
5
  dataIndex: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "labag",
3
- "version": "1.1.13",
3
+ "version": "1.2.1",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/src/index.ts CHANGED
@@ -181,19 +181,8 @@ 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
-
190
184
  Modes,
191
- ModeNames,
192
-
193
- P,
194
- PData,
195
185
  PDatas,
196
-
197
186
  parseScore,
198
187
  verifyScore,
199
188
  };
@@ -1,6 +1,7 @@
1
1
  import { P } from "./P";
2
- import { AllDataType, Modes } from "..";
2
+ import { Modes } from "..";
3
3
  import { BaseLaBaG } from "./BaseLaBaG";
4
+ import { AllDataType } from "./LaBaG";
4
5
 
5
6
  export class JsonLaBaG extends BaseLaBaG {
6
7
  jsonData: AllDataType;