@sonolus/core 7.11.0 → 7.13.0
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/common/core/engine/configuration/option.d.ts +3 -0
- package/dist/common/core/engine/configuration/ui.d.ts +2 -2
- package/dist/common/core/engine/item.d.ts +1 -1
- package/dist/common/core/server/items/community/comment/upload.d.ts +5 -1
- package/dist/common/core/server/items/community/upload.d.ts +5 -1
- package/dist/common/core/server/items/upload-action.d.ts +5 -1
- package/dist/common/core/server/items/upload.d.ts +4 -1
- package/dist/common/core/service/user-profile.d.ts +0 -4
- package/dist/common/core/text.d.ts +18 -0
- package/dist/common/core/text.js +18 -0
- package/dist/common/database/engine/item.d.ts +1 -1
- package/dist/common/version.js +2 -2
- package/package.json +8 -9
|
@@ -2,6 +2,7 @@ import { Text } from '../../text';
|
|
|
2
2
|
export type EngineConfigurationOption = EngineConfigurationSliderOption | EngineConfigurationToggleOption | EngineConfigurationSelectOption;
|
|
3
3
|
export type EngineConfigurationSliderOption = {
|
|
4
4
|
name: Text | (string & {});
|
|
5
|
+
description?: string;
|
|
5
6
|
standard?: boolean;
|
|
6
7
|
advanced?: boolean;
|
|
7
8
|
scope?: string;
|
|
@@ -14,6 +15,7 @@ export type EngineConfigurationSliderOption = {
|
|
|
14
15
|
};
|
|
15
16
|
export type EngineConfigurationToggleOption = {
|
|
16
17
|
name: Text | (string & {});
|
|
18
|
+
description?: string;
|
|
17
19
|
standard?: boolean;
|
|
18
20
|
advanced?: boolean;
|
|
19
21
|
scope?: string;
|
|
@@ -22,6 +24,7 @@ export type EngineConfigurationToggleOption = {
|
|
|
22
24
|
};
|
|
23
25
|
export type EngineConfigurationSelectOption = {
|
|
24
26
|
name: Text | (string & {});
|
|
27
|
+
description?: string;
|
|
25
28
|
standard?: boolean;
|
|
26
29
|
advanced?: boolean;
|
|
27
30
|
scope?: string;
|
|
@@ -31,5 +31,5 @@ export type EngineConfigurationAnimationTween = {
|
|
|
31
31
|
duration: number;
|
|
32
32
|
ease: 'linear' | `${'in' | 'out' | 'inOut' | 'outIn'}${'Sine' | 'Quad' | 'Cubic' | 'Quart' | 'Quint' | 'Expo' | 'Circ' | 'Back' | 'Elastic'}` | 'none';
|
|
33
33
|
};
|
|
34
|
-
export type EngineConfigurationJudgmentErrorStyle = 'none' | 'plus' | 'minus' | 'arrowUp' | 'arrowDown' | 'arrowLeft' | 'arrowRight' | 'triangleUp' | 'triangleDown' | 'triangleLeft' | 'triangleRight';
|
|
35
|
-
export type EngineConfigurationJudgmentErrorPlacement = '
|
|
34
|
+
export type EngineConfigurationJudgmentErrorStyle = 'none' | 'late' | 'early' | 'plus' | 'minus' | 'arrowUp' | 'arrowDown' | 'arrowLeft' | 'arrowRight' | 'triangleUp' | 'triangleDown' | 'triangleLeft' | 'triangleRight';
|
|
35
|
+
export type EngineConfigurationJudgmentErrorPlacement = 'left' | 'right' | 'leftRight' | 'top' | 'bottom' | 'topBottom' | 'center';
|
|
@@ -389,6 +389,24 @@ export declare const Text: {
|
|
|
389
389
|
readonly SimlineAlpha: "#SIMLINE_ALPHA";
|
|
390
390
|
/** en: Simultaneous Line Animation */
|
|
391
391
|
readonly SimlineAnimation: "#SIMLINE_ANIMATION";
|
|
392
|
+
/** en: Preview Vertical Scale */
|
|
393
|
+
readonly PreviewScaleVertical: "#PREVIEW_SCALE_VERTICAL";
|
|
394
|
+
/** en: Preview Horizontal Scale */
|
|
395
|
+
readonly PreviewScaleHorizontal: "#PREVIEW_SCALE_HORIZONTAL";
|
|
396
|
+
/** en: Preview Time */
|
|
397
|
+
readonly PreviewTime: "#PREVIEW_TIME";
|
|
398
|
+
/** en: Preview Score */
|
|
399
|
+
readonly PreviewScore: "#PREVIEW_SCORE";
|
|
400
|
+
/** en: Preview BPM */
|
|
401
|
+
readonly PreviewBpm: "#PREVIEW_BPM";
|
|
402
|
+
/** en: Preview Time Scale */
|
|
403
|
+
readonly PreviewTimescale: "#PREVIEW_TIMESCALE";
|
|
404
|
+
/** en: Preview Beat */
|
|
405
|
+
readonly PreviewBeat: "#PREVIEW_BEAT";
|
|
406
|
+
/** en: Preview Measure */
|
|
407
|
+
readonly PreviewMeasure: "#PREVIEW_MEASURE";
|
|
408
|
+
/** en: Preview Combo */
|
|
409
|
+
readonly PreviewCombo: "#PREVIEW_COMBO";
|
|
392
410
|
/** en: None */
|
|
393
411
|
readonly None: "#NONE";
|
|
394
412
|
/** en: Any */
|
package/dist/common/core/text.js
CHANGED
|
@@ -392,6 +392,24 @@ exports.Text = {
|
|
|
392
392
|
SimlineAlpha: '#SIMLINE_ALPHA',
|
|
393
393
|
/** en: Simultaneous Line Animation */
|
|
394
394
|
SimlineAnimation: '#SIMLINE_ANIMATION',
|
|
395
|
+
/** en: Preview Vertical Scale */
|
|
396
|
+
PreviewScaleVertical: '#PREVIEW_SCALE_VERTICAL',
|
|
397
|
+
/** en: Preview Horizontal Scale */
|
|
398
|
+
PreviewScaleHorizontal: '#PREVIEW_SCALE_HORIZONTAL',
|
|
399
|
+
/** en: Preview Time */
|
|
400
|
+
PreviewTime: '#PREVIEW_TIME',
|
|
401
|
+
/** en: Preview Score */
|
|
402
|
+
PreviewScore: '#PREVIEW_SCORE',
|
|
403
|
+
/** en: Preview BPM */
|
|
404
|
+
PreviewBpm: '#PREVIEW_BPM',
|
|
405
|
+
/** en: Preview Time Scale */
|
|
406
|
+
PreviewTimescale: '#PREVIEW_TIMESCALE',
|
|
407
|
+
/** en: Preview Beat */
|
|
408
|
+
PreviewBeat: '#PREVIEW_BEAT',
|
|
409
|
+
/** en: Preview Measure */
|
|
410
|
+
PreviewMeasure: '#PREVIEW_MEASURE',
|
|
411
|
+
/** en: Preview Combo */
|
|
412
|
+
PreviewCombo: '#PREVIEW_COMBO',
|
|
395
413
|
/** en: None */
|
|
396
414
|
None: '#NONE',
|
|
397
415
|
/** en: Any */
|
package/dist/common/version.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sonolus/core",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.13.0",
|
|
4
4
|
"description": "Core library for Sonolus",
|
|
5
5
|
"author": "NonSpicyBurrito",
|
|
6
6
|
"repository": "github:Sonolus/sonolus-core",
|
|
@@ -20,14 +20,13 @@
|
|
|
20
20
|
"build": "tsc -p ."
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
|
-
"@eslint/js": "^9.
|
|
24
|
-
"@types/
|
|
25
|
-
"
|
|
26
|
-
"eslint": "^
|
|
27
|
-
"
|
|
28
|
-
"prettier": "^3.4.2",
|
|
23
|
+
"@eslint/js": "^9.23.0",
|
|
24
|
+
"@types/node": "^20.17.28",
|
|
25
|
+
"eslint": "^9.23.0",
|
|
26
|
+
"eslint-config-prettier": "^10.1.1",
|
|
27
|
+
"prettier": "^3.5.3",
|
|
29
28
|
"prettier-plugin-organize-imports": "^4.1.0",
|
|
30
|
-
"typescript": "~5.
|
|
31
|
-
"typescript-eslint": "^8.
|
|
29
|
+
"typescript": "~5.8.2",
|
|
30
|
+
"typescript-eslint": "^8.28.0"
|
|
32
31
|
}
|
|
33
32
|
}
|