sonolus-bandori-engine 1.0.2 → 1.0.3
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/bestdori/index.d.cts +13 -13
- package/dist/index.cjs +16 -1
- package/dist/index.d.cts +2 -1
- package/package.json +1 -1
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
export type BestdoriChart =
|
|
2
|
-
export type
|
|
3
|
-
type
|
|
1
|
+
export type BestdoriChart = BestdoriObject[];
|
|
2
|
+
export type BestdoriObject = BestdoriSingleNote | BestdoriDirectionalNote | BestdoriSlideNote | BestdoriLongNote | BestdoriBPMObject | BestdoriSystemObject;
|
|
3
|
+
type BaseBestdoriObject = {
|
|
4
4
|
beat: number;
|
|
5
5
|
};
|
|
6
|
-
type
|
|
6
|
+
type BaseBestdoriNote = BaseBestdoriObject & {
|
|
7
7
|
lane: number;
|
|
8
8
|
flick?: true;
|
|
9
9
|
skill?: true;
|
|
10
10
|
charge?: true;
|
|
11
11
|
};
|
|
12
|
-
export type
|
|
12
|
+
export type BestdoriSingleNote = BaseBestdoriNote & {
|
|
13
13
|
type: 'Single';
|
|
14
14
|
};
|
|
15
|
-
export type
|
|
15
|
+
export type BestdoriDirectionalNote = BaseBestdoriNote & {
|
|
16
16
|
type: 'Directional';
|
|
17
17
|
direction: 'Left' | 'Right';
|
|
18
18
|
width: number;
|
|
19
19
|
};
|
|
20
|
-
export type
|
|
20
|
+
export type BestdoriSlideNote = {
|
|
21
21
|
type: 'Slide';
|
|
22
|
-
connections:
|
|
22
|
+
connections: BestdoriConnectionNote[];
|
|
23
23
|
};
|
|
24
|
-
export type
|
|
24
|
+
export type BestdoriLongNote = {
|
|
25
25
|
type: 'Long';
|
|
26
|
-
connections:
|
|
26
|
+
connections: BestdoriConnectionNote[];
|
|
27
27
|
};
|
|
28
|
-
export type
|
|
28
|
+
export type BestdoriConnectionNote = BaseBestdoriNote & {
|
|
29
29
|
hidden?: true;
|
|
30
30
|
};
|
|
31
|
-
export type
|
|
31
|
+
export type BestdoriBPMObject = BaseBestdoriObject & {
|
|
32
32
|
type: 'BPM';
|
|
33
33
|
bpm: number;
|
|
34
34
|
};
|
|
35
|
-
export type
|
|
35
|
+
export type BestdoriSystemObject = BaseBestdoriObject & {
|
|
36
36
|
type: 'System';
|
|
37
37
|
data: string;
|
|
38
38
|
};
|
package/dist/index.cjs
CHANGED
|
@@ -1,10 +1,25 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
2
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
17
|
exports.engineThumbnail = exports.engineData = exports.engineConfiguration = exports.engineInfo = exports.version = exports.bestdoriToLevelData = void 0;
|
|
4
18
|
const Resource_cjs_1 = require("./Resource.cjs");
|
|
5
19
|
var convert_cjs_1 = require("./bestdori/convert.cjs");
|
|
6
20
|
Object.defineProperty(exports, "bestdoriToLevelData", { enumerable: true, get: function () { return convert_cjs_1.bestdoriToLevelData; } });
|
|
7
|
-
|
|
21
|
+
__exportStar(require("./bestdori/index.cjs"), exports);
|
|
22
|
+
exports.version = '1.0.3';
|
|
8
23
|
exports.engineInfo = {
|
|
9
24
|
name: 'bandori',
|
|
10
25
|
version: 8,
|
package/dist/index.d.cts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Resource } from './Resource.cjs';
|
|
2
2
|
export { bestdoriToLevelData } from './bestdori/convert.cjs';
|
|
3
|
-
export
|
|
3
|
+
export * from './bestdori/index.cjs';
|
|
4
|
+
export declare const version = "1.0.3";
|
|
4
5
|
export declare const engineInfo: {
|
|
5
6
|
readonly name: "bandori";
|
|
6
7
|
readonly version: 8;
|
package/package.json
CHANGED