maidraw 0.13.4 → 0.13.5
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/README.md +7 -7
- package/dist/common/utils/injectThrowIf.d.ts +9 -0
- package/dist/common/utils/injectThrowIf.js +19 -0
- package/dist/common/utils/injectThrowIf.js.map +1 -0
- package/dist/exports/chunithm.d.ts +1 -0
- package/dist/exports/chunithm.js +1 -0
- package/dist/exports/chunithm.js.map +1 -1
- package/dist/exports/common.d.ts +1 -0
- package/dist/exports/common.js +1 -0
- package/dist/exports/common.js.map +1 -1
- package/dist/exports/maimai.d.ts +1 -0
- package/dist/exports/maimai.js +1 -0
- package/dist/exports/maimai.js.map +1 -1
- package/dist/exports/ongeki.d.ts +1 -0
- package/dist/exports/ongeki.js +1 -0
- package/dist/exports/ongeki.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
A simple library to draw images of
|
|
4
4
|
|
|
5
|
-
-
|
|
6
|
-
-
|
|
7
|
-
-
|
|
5
|
+
- maimai DX: Best 50, Level 50, Chart Detail
|
|
6
|
+
- CHUNITHM: Best 40, Best 50, Chart Detail
|
|
7
|
+
- O.N.G.E.K.I.: Best 55, Best 60, Chart Detail
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
Get the adapter for various score trackers at
|
|
10
10
|
|
|
11
|
-
-
|
|
12
|
-
-
|
|
13
|
-
-
|
|
11
|
+
- maimai DX: [Kamaitachi](https://github.com/saltcute/maidraw-kamai-tachi-adapter), [LXNS](https://github.com/saltcute/maidraw-lxns-adapter), [maishift](https://github.com/saltcute/maidraw-maishift-adapter)
|
|
12
|
+
- CHUNITHM: [Kamaitachi](https://github.com/saltcute/maidraw-kamai-tachi-adapter), [LXNS](https://github.com/saltcute/maidraw-lxns-adapter),
|
|
13
|
+
- O.N.G.E.K.I.: [Kamaitachi](https://github.com/saltcute/maidraw-kamai-tachi-adapter)
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A dirty workaround to disable all score validity check in rg-stats.
|
|
3
|
+
* Used so that the code won't be unnecessarily complicated just to simply calculate a rating.
|
|
4
|
+
*
|
|
5
|
+
* Eg. 101.0000% score without a ALL PERFECT+ lamp.
|
|
6
|
+
*
|
|
7
|
+
* TODO: a better way to handle this???
|
|
8
|
+
*/
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* A dirty workaround to disable all score validity check in rg-stats.
|
|
4
|
+
* Used so that the code won't be unnecessarily complicated just to simply calculate a rating.
|
|
5
|
+
*
|
|
6
|
+
* Eg. 101.0000% score without a ALL PERFECT+ lamp.
|
|
7
|
+
*
|
|
8
|
+
* TODO: a better way to handle this???
|
|
9
|
+
*/
|
|
10
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11
|
+
const throwIf = require("rg-stats/js/util/throw-if");
|
|
12
|
+
throwIf.ThrowIf = () => { };
|
|
13
|
+
throwIf.ThrowIf.not = () => { };
|
|
14
|
+
throwIf.ThrowIf.negative = () => { };
|
|
15
|
+
throwIf.ThrowIf.positive = () => { };
|
|
16
|
+
throwIf.ThrowIf.positiveOrZero = () => { };
|
|
17
|
+
throwIf.ThrowIf.negativeOrZero = () => { };
|
|
18
|
+
throwIf.ThrowIf.zero = () => { };
|
|
19
|
+
//# sourceMappingURL=injectThrowIf.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"injectThrowIf.js","sourceRoot":"","sources":["../../../src/common/utils/injectThrowIf.ts"],"names":[],"mappings":";AAAA;;;;;;;GAOG;;AAEH,MAAM,OAAO,GAAG,OAAO,CAAC,2BAA2B,CAAC,CAAC;AACrD,OAAO,CAAC,OAAO,GAAG,GAAG,EAAE,GAAE,CAAC,CAAC;AAE3B,OAAO,CAAC,OAAO,CAAC,GAAG,GAAG,GAAG,EAAE,GAAE,CAAC,CAAC;AAC/B,OAAO,CAAC,OAAO,CAAC,QAAQ,GAAG,GAAG,EAAE,GAAE,CAAC,CAAC;AACpC,OAAO,CAAC,OAAO,CAAC,QAAQ,GAAG,GAAG,EAAE,GAAE,CAAC,CAAC;AACpC,OAAO,CAAC,OAAO,CAAC,cAAc,GAAG,GAAG,EAAE,GAAE,CAAC,CAAC;AAC1C,OAAO,CAAC,OAAO,CAAC,cAAc,GAAG,GAAG,EAAE,GAAE,CAAC,CAAC;AAC1C,OAAO,CAAC,OAAO,CAAC,IAAI,GAAG,GAAG,EAAE,GAAE,CAAC,CAAC"}
|
package/dist/exports/chunithm.js
CHANGED
|
@@ -14,5 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
require("../common/utils/injectThrowIf");
|
|
17
18
|
__exportStar(require("../chunithm/index"), exports);
|
|
18
19
|
//# sourceMappingURL=chunithm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chunithm.js","sourceRoot":"","sources":["../../src/exports/chunithm.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAAgC"}
|
|
1
|
+
{"version":3,"file":"chunithm.js","sourceRoot":"","sources":["../../src/exports/chunithm.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uCAAqC;AAErC,kDAAgC"}
|
package/dist/exports/common.d.ts
CHANGED
package/dist/exports/common.js
CHANGED
|
@@ -15,6 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
exports.BaseScoreAdapter = void 0;
|
|
18
|
+
require("../common/utils/injectThrowIf");
|
|
18
19
|
var adapter_1 = require("../common/adapter");
|
|
19
20
|
Object.defineProperty(exports, "BaseScoreAdapter", { enumerable: true, get: function () { return adapter_1.BaseScoreAdapter; } });
|
|
20
21
|
__exportStar(require("../common/error"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"common.js","sourceRoot":"","sources":["../../src/exports/common.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,2CAAmD;AAA1C,2GAAA,gBAAgB,OAAA;AACzB,gDAA8B"}
|
|
1
|
+
{"version":3,"file":"common.js","sourceRoot":"","sources":["../../src/exports/common.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,uCAAqC;AAErC,2CAAmD;AAA1C,2GAAA,gBAAgB,OAAA;AACzB,gDAA8B"}
|
package/dist/exports/maimai.d.ts
CHANGED
package/dist/exports/maimai.js
CHANGED
|
@@ -14,5 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
require("../common/utils/injectThrowIf");
|
|
17
18
|
__exportStar(require("../maimai/index"), exports);
|
|
18
19
|
//# sourceMappingURL=maimai.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"maimai.js","sourceRoot":"","sources":["../../src/exports/maimai.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B"}
|
|
1
|
+
{"version":3,"file":"maimai.js","sourceRoot":"","sources":["../../src/exports/maimai.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uCAAqC;AAErC,gDAA8B"}
|
package/dist/exports/ongeki.d.ts
CHANGED
package/dist/exports/ongeki.js
CHANGED
|
@@ -14,5 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
require("../common/utils/injectThrowIf");
|
|
17
18
|
__exportStar(require("../ongeki/index"), exports);
|
|
18
19
|
//# sourceMappingURL=ongeki.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ongeki.js","sourceRoot":"","sources":["../../src/exports/ongeki.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B"}
|
|
1
|
+
{"version":3,"file":"ongeki.js","sourceRoot":"","sources":["../../src/exports/ongeki.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uCAAqC;AAErC,gDAA8B"}
|