sonolus-bandori-engine 1.0.2 → 1.0.4

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/EngineData CHANGED
Binary file
@@ -1,38 +1,38 @@
1
- export type BestdoriChart = ChartObject[];
2
- export type ChartObject = SingleObject | DirectionalObject | SlideObject | LongObject | BPMObject | SystemObject;
3
- type ObjectBase = {
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 NoteBase = ObjectBase & {
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 SingleObject = NoteBase & {
12
+ export type BestdoriSingleNote = BaseBestdoriNote & {
13
13
  type: 'Single';
14
14
  };
15
- export type DirectionalObject = NoteBase & {
15
+ export type BestdoriDirectionalNote = BaseBestdoriNote & {
16
16
  type: 'Directional';
17
17
  direction: 'Left' | 'Right';
18
18
  width: number;
19
19
  };
20
- export type SlideObject = {
20
+ export type BestdoriSlideNote = {
21
21
  type: 'Slide';
22
- connections: Connection[];
22
+ connections: BestdoriConnectionNote[];
23
23
  };
24
- export type LongObject = {
24
+ export type BestdoriLongNote = {
25
25
  type: 'Long';
26
- connections: Connection[];
26
+ connections: BestdoriConnectionNote[];
27
27
  };
28
- export type Connection = NoteBase & {
28
+ export type BestdoriConnectionNote = BaseBestdoriNote & {
29
29
  hidden?: true;
30
30
  };
31
- export type BPMObject = ObjectBase & {
31
+ export type BestdoriBpmObject = BaseBestdoriObject & {
32
32
  type: 'BPM';
33
33
  bpm: number;
34
34
  };
35
- export type SystemObject = ObjectBase & {
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
- exports.version = '1.0.2';
21
+ __exportStar(require("./bestdori/index.cjs"), exports);
22
+ exports.version = '1.0.4';
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 declare const version = "1.0.2";
3
+ export * from './bestdori/index.cjs';
4
+ export declare const version = "1.0.4";
4
5
  export declare const engineInfo: {
5
6
  readonly name: "bandori";
6
7
  readonly version: 8;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sonolus-bandori-engine",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "description": "A recreation of BanG Dream! Girls Band Party engine in Sonolus",
5
5
  "author": "NonSpicyBurrito",
6
6
  "repository": "github:NonSpicyBurrito/sonolus-bandori-engine",