@sonolus/core 7.7.0 → 7.8.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/background/item.d.ts +5 -5
- package/dist/common/core/effect/item.d.ts +4 -4
- package/dist/common/core/engine/item.d.ts +8 -8
- package/dist/common/core/engine/watchData/watchData.d.ts +1 -1
- package/dist/common/core/icon.d.ts +22 -0
- package/dist/common/core/icon.js +22 -0
- package/dist/common/core/index.d.ts +2 -1
- package/dist/common/core/index.js +0 -1
- package/dist/common/core/level/item.d.ts +5 -5
- package/dist/common/core/package/info.d.ts +1 -1
- package/dist/common/core/particle/item.d.ts +4 -4
- package/dist/common/core/playlist/item.d.ts +2 -2
- package/dist/common/core/post/item.d.ts +2 -2
- package/dist/common/core/replay/item.d.ts +3 -3
- package/dist/common/core/room/item.d.ts +4 -4
- package/dist/common/core/server/authenticate.d.ts +4 -4
- package/dist/common/core/server/configuration.d.ts +4 -0
- package/dist/common/core/server/form.d.ts +2 -0
- package/dist/common/core/server/index.d.ts +3 -2
- package/dist/common/core/server/info.d.ts +5 -3
- package/dist/common/core/server/items/community/comment/comment.d.ts +1 -1
- package/dist/common/core/server/items/community/comment/index.d.ts +4 -2
- package/dist/common/core/server/items/community/comment/list.d.ts +3 -3
- package/dist/common/core/server/items/community/comment/submit.d.ts +9 -0
- package/dist/common/core/server/items/community/comment/upload.d.ts +1 -0
- package/dist/common/core/server/items/community/index.d.ts +3 -2
- package/dist/common/core/server/items/community/info.d.ts +3 -3
- package/dist/common/core/server/items/community/submit.d.ts +4 -2
- package/dist/common/core/server/items/community/upload.d.ts +1 -0
- package/dist/common/core/server/items/community/upload.js +2 -0
- package/dist/common/core/server/items/create.d.ts +2 -2
- package/dist/common/core/server/items/details.d.ts +8 -6
- package/dist/common/core/server/items/index.d.ts +8 -6
- package/dist/common/core/server/items/info.d.ts +5 -5
- package/dist/common/core/server/items/leaderboard/details.d.ts +3 -3
- package/dist/common/core/server/items/leaderboard/index.d.ts +2 -2
- package/dist/common/core/server/items/leaderboard/leaderboard.d.ts +2 -1
- package/dist/common/core/server/items/leaderboard/record/details.d.ts +1 -1
- package/dist/common/core/server/items/leaderboard/record/index.d.ts +3 -3
- package/dist/common/core/server/items/leaderboard/record/list.d.ts +3 -3
- package/dist/common/core/server/items/leaderboard/record/record.d.ts +1 -1
- package/dist/common/core/server/items/list.d.ts +1 -1
- package/dist/common/core/server/items/section.d.ts +17 -2
- package/dist/common/core/server/items/submit-action.d.ts +9 -0
- package/dist/common/core/server/items/submit-action.js +2 -0
- package/dist/common/core/server/items/upload-action.d.ts +1 -0
- package/dist/common/core/server/items/upload-action.js +2 -0
- package/dist/common/core/server/items/upload.d.ts +1 -1
- package/dist/common/core/server/multiplayer/chat-message.d.ts +3 -2
- package/dist/common/core/server/multiplayer/commands/add-suggestion-command.d.ts +2 -2
- package/dist/common/core/server/multiplayer/commands/remove-user-command.d.ts +2 -1
- package/dist/common/core/server/multiplayer/commands/report-user-command.d.ts +2 -1
- package/dist/common/core/server/multiplayer/commands/update-lead-command.d.ts +2 -1
- package/dist/common/core/server/multiplayer/commands/update-level-command.d.ts +2 -2
- package/dist/common/core/server/multiplayer/commands/update-master-command.d.ts +2 -1
- package/dist/common/core/server/multiplayer/create-room.d.ts +2 -2
- package/dist/common/core/server/multiplayer/events/update-event.d.ts +6 -5
- package/dist/common/core/server/multiplayer/events/update-lead-event.d.ts +2 -1
- package/dist/common/core/server/multiplayer/events/update-level-event.d.ts +2 -2
- package/dist/common/core/server/multiplayer/events/update-master-event.d.ts +2 -1
- package/dist/common/core/server/multiplayer/events/update-scoreboard-description-event.d.ts +1 -1
- package/dist/common/core/server/multiplayer/index.d.ts +2 -3
- package/dist/common/core/server/multiplayer/join-room.d.ts +4 -4
- package/dist/common/core/server/multiplayer/result-entry.d.ts +2 -1
- package/dist/common/core/server/multiplayer/score-entry.d.ts +2 -1
- package/dist/common/core/server/multiplayer/suggestion.d.ts +4 -3
- package/dist/common/core/server/multiplayer/user-status-entry.d.ts +2 -1
- package/dist/common/core/server/option.d.ts +32 -14
- package/dist/common/core/service/authenticate-external.d.ts +3 -3
- package/dist/common/core/service/index.d.ts +2 -2
- package/dist/common/core/service/user-profile.d.ts +7 -2
- package/dist/common/core/{server/multiplayer/level-locator.d.ts → sil.d.ts} +1 -1
- package/dist/common/core/sil.js +2 -0
- package/dist/common/core/skin/item.d.ts +4 -4
- package/dist/common/core/srl.d.ts +4 -0
- package/dist/common/core/srl.js +2 -0
- package/dist/common/core/text.d.ts +103 -3
- package/dist/common/core/text.js +103 -3
- package/dist/common/database/background/item.d.ts +6 -6
- package/dist/common/database/effect/item.d.ts +5 -5
- package/dist/common/database/engine/item.d.ts +9 -9
- package/dist/common/database/level/item.d.ts +6 -6
- package/dist/common/database/particle/item.d.ts +5 -5
- package/dist/common/database/playlist/item.d.ts +3 -3
- package/dist/common/database/post/item.d.ts +3 -3
- package/dist/common/database/replay/item.d.ts +4 -4
- package/dist/common/database/server/server-info.d.ts +2 -2
- package/dist/common/database/skin/item.d.ts +5 -5
- package/dist/common/version.js +2 -2
- package/dist/node/core/resource/compress.d.ts +0 -1
- package/dist/node/core/resource/decompress.d.ts +0 -1
- package/dist/node/core/resource/hash.d.ts +0 -1
- package/dist/node/core/service/keys.d.ts +0 -1
- package/package.json +6 -6
- package/dist/common/core/resource/index.d.ts +0 -1
- package/dist/common/core/resource/srl.d.ts +0 -4
- /package/dist/common/core/{resource/index.js → server/configuration.js} +0 -0
- /package/dist/common/core/{resource/srl.js → server/items/community/comment/submit.js} +0 -0
- /package/dist/common/core/server/{multiplayer/level-locator.js → items/community/comment/upload.js} +0 -0
package/dist/common/core/text.js
CHANGED
|
@@ -2,6 +2,26 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Text = void 0;
|
|
4
4
|
exports.Text = {
|
|
5
|
+
/** en: Post */
|
|
6
|
+
Post: '#POST',
|
|
7
|
+
/** en: Playlist */
|
|
8
|
+
Playlist: '#PLAYLIST',
|
|
9
|
+
/** en: Level */
|
|
10
|
+
Level: '#LEVEL',
|
|
11
|
+
/** en: Skin */
|
|
12
|
+
Skin: '#SKIN',
|
|
13
|
+
/** en: Background */
|
|
14
|
+
Background: '#BACKGROUND',
|
|
15
|
+
/** en: SFX */
|
|
16
|
+
Effect: '#EFFECT',
|
|
17
|
+
/** en: Particle */
|
|
18
|
+
Particle: '#PARTICLE',
|
|
19
|
+
/** en: Engine */
|
|
20
|
+
Engine: '#ENGINE',
|
|
21
|
+
/** en: Replay */
|
|
22
|
+
Replay: '#REPLAY',
|
|
23
|
+
/** en: Room */
|
|
24
|
+
Room: '#ROOM',
|
|
5
25
|
/** en: Grade */
|
|
6
26
|
Grade: '#GRADE',
|
|
7
27
|
/** en: Arcade Score */
|
|
@@ -34,6 +54,8 @@ exports.Text = {
|
|
|
34
54
|
Subtitle: '#SUBTITLE',
|
|
35
55
|
/** en: Artists */
|
|
36
56
|
Artists: '#ARTISTS',
|
|
57
|
+
/** en: Time */
|
|
58
|
+
Time: '#TIME',
|
|
37
59
|
/** en: Author */
|
|
38
60
|
Author: '#AUTHOR',
|
|
39
61
|
/** en: Genre */
|
|
@@ -47,7 +69,7 @@ exports.Text = {
|
|
|
47
69
|
/** en: Difficulty */
|
|
48
70
|
Difficulty: '#DIFFICULTY',
|
|
49
71
|
/** en: Version */
|
|
50
|
-
|
|
72
|
+
Version: '#VERSION',
|
|
51
73
|
/** en: Length */
|
|
52
74
|
Length: '#LENGTH',
|
|
53
75
|
/** en: Minimum Length */
|
|
@@ -56,6 +78,10 @@ exports.Text = {
|
|
|
56
78
|
LengthMaximum: '#LENGTH_MAXIMUM',
|
|
57
79
|
/** en: Additional Information */
|
|
58
80
|
AdditionalInformation: '#ADDITIONAL_INFORMATION',
|
|
81
|
+
/** en: Timezone */
|
|
82
|
+
Timezone: '#TIMEZONE',
|
|
83
|
+
/** en: Region */
|
|
84
|
+
Region: '#REGION',
|
|
59
85
|
/** en: Content */
|
|
60
86
|
Content: '#CONTENT',
|
|
61
87
|
/** en: Comment */
|
|
@@ -64,6 +90,14 @@ exports.Text = {
|
|
|
64
90
|
Review: '#REVIEW',
|
|
65
91
|
/** en: Reply */
|
|
66
92
|
Reply: '#REPLY',
|
|
93
|
+
/** en: Message */
|
|
94
|
+
Message: '#MESSAGE',
|
|
95
|
+
/** en: Role */
|
|
96
|
+
Role: '#ROLE',
|
|
97
|
+
/** en: Permission */
|
|
98
|
+
Permission: '#PERMISSION',
|
|
99
|
+
/** en: User */
|
|
100
|
+
User: '#USER',
|
|
67
101
|
/** en: Level Speed */
|
|
68
102
|
Speed: '#SPEED',
|
|
69
103
|
/** en: Mirror Level */
|
|
@@ -76,8 +110,6 @@ exports.Text = {
|
|
|
76
110
|
JudgmentStrict: '#JUDGMENT_STRICT',
|
|
77
111
|
/** en: Loose Judgment */
|
|
78
112
|
JudgmentLoose: '#JUDGMENT_LOOSE',
|
|
79
|
-
/** en: SFX */
|
|
80
|
-
Effect: '#EFFECT',
|
|
81
113
|
/** en: Auto SFX */
|
|
82
114
|
EffectAuto: '#EFFECT_AUTO',
|
|
83
115
|
/** en: Stage */
|
|
@@ -208,6 +240,8 @@ exports.Text = {
|
|
|
208
240
|
NoteRotation: '#NOTE_ROTATION',
|
|
209
241
|
/** en: Note Direction */
|
|
210
242
|
NoteDirection: '#NOTE_DIRECTION',
|
|
243
|
+
/** en: Note Color */
|
|
244
|
+
NoteColor: '#NOTE_COLOR',
|
|
211
245
|
/** en: Note Transparency */
|
|
212
246
|
NoteAlpha: '#NOTE_ALPHA',
|
|
213
247
|
/** en: Note Animation */
|
|
@@ -222,6 +256,8 @@ exports.Text = {
|
|
|
222
256
|
NoteEffectRotation: '#NOTE_EFFECT_ROTATION',
|
|
223
257
|
/** en: Note Effect Direction */
|
|
224
258
|
NoteEffectDirection: '#NOTE_EFFECT_DIRECTION',
|
|
259
|
+
/** en: Note Effect Color */
|
|
260
|
+
NoteEffectColor: '#NOTE_EFFECT_COLOR',
|
|
225
261
|
/** en: Note Effect Transparency */
|
|
226
262
|
NoteEffectAlpha: '#NOTE_EFFECT_ALPHA',
|
|
227
263
|
/** en: Marker */
|
|
@@ -234,6 +270,8 @@ exports.Text = {
|
|
|
234
270
|
MarkerRotation: '#MARKER_ROTATION',
|
|
235
271
|
/** en: Marker Direction */
|
|
236
272
|
MarkerDirection: '#MARKER_DIRECTION',
|
|
273
|
+
/** en: Marker Color */
|
|
274
|
+
MarkerColor: '#MARKER_COLOR',
|
|
237
275
|
/** en: Marker Transparency */
|
|
238
276
|
MarkerAlpha: '#MARKER_ALPHA',
|
|
239
277
|
/** en: Marker Animation */
|
|
@@ -248,6 +286,8 @@ exports.Text = {
|
|
|
248
286
|
ConnectorRotation: '#CONNECTOR_ROTATION',
|
|
249
287
|
/** en: Connector Direction */
|
|
250
288
|
ConnectorDirection: '#CONNECTOR_DIRECTION',
|
|
289
|
+
/** en: Connector Color */
|
|
290
|
+
ConnectorColor: '#CONNECTOR_COLOR',
|
|
251
291
|
/** en: Connector Transparency */
|
|
252
292
|
ConnectorAlpha: '#CONNECTOR_ALPHA',
|
|
253
293
|
/** en: Connector Animation */
|
|
@@ -262,6 +302,8 @@ exports.Text = {
|
|
|
262
302
|
SimlineRotation: '#SIMLINE_ROTATION',
|
|
263
303
|
/** en: Simultaneous Line Direction */
|
|
264
304
|
SimlineDirection: '#SIMLINE_DIRECTION',
|
|
305
|
+
/** en: Simultaneous Line Color */
|
|
306
|
+
SimlineColor: '#SIMLINE_COLOR',
|
|
265
307
|
/** en: Simultaneous Line Transparency */
|
|
266
308
|
SimlineAlpha: '#SIMLINE_ALPHA',
|
|
267
309
|
/** en: Simultaneous Line Animation */
|
|
@@ -332,6 +374,22 @@ exports.Text = {
|
|
|
332
374
|
Forward: '#FORWARD',
|
|
333
375
|
/** en: Backward */
|
|
334
376
|
Backward: '#BACKWARD',
|
|
377
|
+
/** en: Default */
|
|
378
|
+
Default: '#DEFAULT',
|
|
379
|
+
/** en: Neutral */
|
|
380
|
+
Neutral: '#NEUTRAL',
|
|
381
|
+
/** en: Red */
|
|
382
|
+
Red: '#RED',
|
|
383
|
+
/** en: Green */
|
|
384
|
+
Green: '#GREEN',
|
|
385
|
+
/** en: Blue */
|
|
386
|
+
Blue: '#BLUE',
|
|
387
|
+
/** en: Yellow */
|
|
388
|
+
Yellow: '#YELLOW',
|
|
389
|
+
/** en: Purple */
|
|
390
|
+
Purple: '#PURPLE',
|
|
391
|
+
/** en: Cyan */
|
|
392
|
+
Cyan: '#CYAN',
|
|
335
393
|
/** en: Simple */
|
|
336
394
|
Simple: '#SIMPLE',
|
|
337
395
|
/** en: Easy */
|
|
@@ -366,10 +424,14 @@ exports.Text = {
|
|
|
366
424
|
SubtitlePlaceholder: '#SUBTITLE_PLACEHOLDER',
|
|
367
425
|
/** en: Enter artists... */
|
|
368
426
|
ArtistsPlaceholder: '#ARTISTS_PLACEHOLDER',
|
|
427
|
+
/** en: Enter time... */
|
|
428
|
+
TimePlaceholder: '#TIME_PLACEHOLDER',
|
|
369
429
|
/** en: Enter author... */
|
|
370
430
|
AuthorPlaceholder: '#AUTHOR_PLACEHOLDER',
|
|
371
431
|
/** en: Enter genre... */
|
|
372
432
|
GenrePlaceholder: '#GENRE_PLACEHOLDER',
|
|
433
|
+
/** en: Enter type... */
|
|
434
|
+
TypePlaceholder: '#TYPE_PLACEHOLDER',
|
|
373
435
|
/** en: Enter category... */
|
|
374
436
|
CategoryPlaceholder: '#CATEGORY_PLACEHOLDER',
|
|
375
437
|
/** en: Enter language... */
|
|
@@ -384,6 +446,10 @@ exports.Text = {
|
|
|
384
446
|
LengthMaximumPlaceholder: '#LENGTH_MAXIMUM_PLACEHOLDER',
|
|
385
447
|
/** en: Enter additional information... */
|
|
386
448
|
AdditionalInformationPlaceholder: '#ADDITIONAL_INFORMATION_PLACEHOLDER',
|
|
449
|
+
/** en: Enter timezone... */
|
|
450
|
+
TimezonePlaceholder: '#TIMEZONE_PLACEHOLDER',
|
|
451
|
+
/** en: Enter region... */
|
|
452
|
+
RegionPlaceholder: '#REGION_PLACEHOLDER',
|
|
387
453
|
/** en: Enter content... */
|
|
388
454
|
ContentPlaceholder: '#CONTENT_PLACEHOLDER',
|
|
389
455
|
/** en: Enter comment... */
|
|
@@ -392,6 +458,14 @@ exports.Text = {
|
|
|
392
458
|
ReviewPlaceholder: '#REVIEW_PLACEHOLDER',
|
|
393
459
|
/** en: Enter reply... */
|
|
394
460
|
ReplyPlaceholder: '#REPLY_PLACEHOLDER',
|
|
461
|
+
/** en: Enter message... */
|
|
462
|
+
MessagePlaceholder: '#MESSAGE_PLACEHOLDER',
|
|
463
|
+
/** en: Enter role... */
|
|
464
|
+
RolePlaceholder: '#ROLE_PLACEHOLDER',
|
|
465
|
+
/** en: Enter permission... */
|
|
466
|
+
PermissionPlaceholder: '#PERMISSION_PLACEHOLDER',
|
|
467
|
+
/** en: Enter user... */
|
|
468
|
+
UserPlaceholder: '#USER_PLACEHOLDER',
|
|
395
469
|
/** en: {0}% */
|
|
396
470
|
PercentageUnit: '#PERCENTAGE_UNIT',
|
|
397
471
|
/** en: {0} s */
|
|
@@ -654,6 +728,8 @@ exports.Text = {
|
|
|
654
728
|
Bookmarked: '#BOOKMARKED',
|
|
655
729
|
/** en: Delete */
|
|
656
730
|
Delete: '#DELETE',
|
|
731
|
+
/** en: Restore */
|
|
732
|
+
Restore: '#RESTORE',
|
|
657
733
|
/** en: Edit */
|
|
658
734
|
Edit: '#EDIT',
|
|
659
735
|
/** en: Confirm */
|
|
@@ -684,10 +760,34 @@ exports.Text = {
|
|
|
684
760
|
Lock: '#LOCK',
|
|
685
761
|
/** en: Unlock */
|
|
686
762
|
Unlock: '#UNLOCK',
|
|
763
|
+
/** en: Pin */
|
|
764
|
+
Pin: '#PIN',
|
|
765
|
+
/** en: Unpin */
|
|
766
|
+
Unpin: '#UNPIN',
|
|
767
|
+
/** en: Follow */
|
|
768
|
+
Follow: '#FOLLOW',
|
|
769
|
+
/** en: Unfollow */
|
|
770
|
+
Unfollow: '#UNFOLLOW',
|
|
771
|
+
/** en: Subscribe */
|
|
772
|
+
Subscribe: '#SUBSCRIBE',
|
|
773
|
+
/** en: Unsubscribe */
|
|
774
|
+
Unsubscribe: '#UNSUBSCRIBE',
|
|
687
775
|
/** en: Show */
|
|
688
776
|
Show: '#SHOW',
|
|
689
777
|
/** en: Hide */
|
|
690
778
|
Hide: '#HIDE',
|
|
779
|
+
/** en: Allow */
|
|
780
|
+
Allow: '#ALLOW',
|
|
781
|
+
/** en: Disallow */
|
|
782
|
+
Disallow: '#DISALLOW',
|
|
783
|
+
/** en: Approve */
|
|
784
|
+
Approve: '#APPROVE',
|
|
785
|
+
/** en: Deny */
|
|
786
|
+
Deny: '#DENY',
|
|
787
|
+
/** en: Accept */
|
|
788
|
+
Accept: '#ACCEPT',
|
|
789
|
+
/** en: Reject */
|
|
790
|
+
Reject: '#REJECT',
|
|
691
791
|
/** en: Star */
|
|
692
792
|
Star: '#STAR',
|
|
693
793
|
/** en: Starred */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Srl } from '../../core/srl';
|
|
2
2
|
import { LocalizationText } from '../localization';
|
|
3
3
|
import { DatabaseTag } from '../tag';
|
|
4
4
|
export interface DatabaseBackgroundItem {
|
|
@@ -8,9 +8,9 @@ export interface DatabaseBackgroundItem {
|
|
|
8
8
|
subtitle: LocalizationText;
|
|
9
9
|
author: LocalizationText;
|
|
10
10
|
tags: DatabaseTag[];
|
|
11
|
-
description
|
|
12
|
-
thumbnail:
|
|
13
|
-
data:
|
|
14
|
-
image:
|
|
15
|
-
configuration:
|
|
11
|
+
description?: LocalizationText;
|
|
12
|
+
thumbnail: Srl;
|
|
13
|
+
data: Srl;
|
|
14
|
+
image: Srl;
|
|
15
|
+
configuration: Srl;
|
|
16
16
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Srl } from '../../core/srl';
|
|
2
2
|
import { LocalizationText } from '../localization';
|
|
3
3
|
import { DatabaseTag } from '../tag';
|
|
4
4
|
export interface DatabaseEffectItem {
|
|
@@ -8,8 +8,8 @@ export interface DatabaseEffectItem {
|
|
|
8
8
|
subtitle: LocalizationText;
|
|
9
9
|
author: LocalizationText;
|
|
10
10
|
tags: DatabaseTag[];
|
|
11
|
-
description
|
|
12
|
-
thumbnail:
|
|
13
|
-
data:
|
|
14
|
-
audio:
|
|
11
|
+
description?: LocalizationText;
|
|
12
|
+
thumbnail: Srl;
|
|
13
|
+
data: Srl;
|
|
14
|
+
audio: Srl;
|
|
15
15
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Srl } from '../../core/srl';
|
|
2
2
|
import { LocalizationText } from '../localization';
|
|
3
3
|
import { DatabaseTag } from '../tag';
|
|
4
4
|
export interface DatabaseEngineItem {
|
|
@@ -8,16 +8,16 @@ export interface DatabaseEngineItem {
|
|
|
8
8
|
subtitle: LocalizationText;
|
|
9
9
|
author: LocalizationText;
|
|
10
10
|
tags: DatabaseTag[];
|
|
11
|
-
description
|
|
11
|
+
description?: LocalizationText;
|
|
12
12
|
skin: string;
|
|
13
13
|
background: string;
|
|
14
14
|
effect: string;
|
|
15
15
|
particle: string;
|
|
16
|
-
thumbnail:
|
|
17
|
-
playData:
|
|
18
|
-
watchData:
|
|
19
|
-
previewData:
|
|
20
|
-
tutorialData:
|
|
21
|
-
rom?:
|
|
22
|
-
configuration:
|
|
16
|
+
thumbnail: Srl;
|
|
17
|
+
playData: Srl;
|
|
18
|
+
watchData: Srl;
|
|
19
|
+
previewData: Srl;
|
|
20
|
+
tutorialData: Srl;
|
|
21
|
+
rom?: Srl;
|
|
22
|
+
configuration: Srl;
|
|
23
23
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Srl } from '../../core/srl';
|
|
2
2
|
import { LocalizationText } from '../localization';
|
|
3
3
|
import { DatabaseTag } from '../tag';
|
|
4
4
|
export type DatabaseUseItem = {
|
|
@@ -15,14 +15,14 @@ export interface DatabaseLevelItem {
|
|
|
15
15
|
artists: LocalizationText;
|
|
16
16
|
author: LocalizationText;
|
|
17
17
|
tags: DatabaseTag[];
|
|
18
|
-
description
|
|
18
|
+
description?: LocalizationText;
|
|
19
19
|
engine: string;
|
|
20
20
|
useSkin: DatabaseUseItem;
|
|
21
21
|
useBackground: DatabaseUseItem;
|
|
22
22
|
useEffect: DatabaseUseItem;
|
|
23
23
|
useParticle: DatabaseUseItem;
|
|
24
|
-
cover:
|
|
25
|
-
bgm:
|
|
26
|
-
preview?:
|
|
27
|
-
data:
|
|
24
|
+
cover: Srl;
|
|
25
|
+
bgm: Srl;
|
|
26
|
+
preview?: Srl;
|
|
27
|
+
data: Srl;
|
|
28
28
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Srl } from '../../core/srl';
|
|
2
2
|
import { LocalizationText } from '../localization';
|
|
3
3
|
import { DatabaseTag } from '../tag';
|
|
4
4
|
export interface DatabaseParticleItem {
|
|
@@ -8,8 +8,8 @@ export interface DatabaseParticleItem {
|
|
|
8
8
|
subtitle: LocalizationText;
|
|
9
9
|
author: LocalizationText;
|
|
10
10
|
tags: DatabaseTag[];
|
|
11
|
-
description
|
|
12
|
-
thumbnail:
|
|
13
|
-
data:
|
|
14
|
-
texture:
|
|
11
|
+
description?: LocalizationText;
|
|
12
|
+
thumbnail: Srl;
|
|
13
|
+
data: Srl;
|
|
14
|
+
texture: Srl;
|
|
15
15
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Srl } from '../../core/srl';
|
|
2
2
|
import { LocalizationText } from '../localization';
|
|
3
3
|
import { DatabaseTag } from '../tag';
|
|
4
4
|
export interface DatabasePlaylistItem {
|
|
@@ -8,7 +8,7 @@ export interface DatabasePlaylistItem {
|
|
|
8
8
|
subtitle: LocalizationText;
|
|
9
9
|
author: LocalizationText;
|
|
10
10
|
tags: DatabaseTag[];
|
|
11
|
-
description
|
|
11
|
+
description?: LocalizationText;
|
|
12
12
|
levels: string[];
|
|
13
|
-
thumbnail?:
|
|
13
|
+
thumbnail?: Srl;
|
|
14
14
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Srl } from '../../core/srl';
|
|
2
2
|
import { LocalizationText } from '../localization';
|
|
3
3
|
import { DatabaseTag } from '../tag';
|
|
4
4
|
export interface DatabasePostItem {
|
|
@@ -8,6 +8,6 @@ export interface DatabasePostItem {
|
|
|
8
8
|
time: number;
|
|
9
9
|
author: LocalizationText;
|
|
10
10
|
tags: DatabaseTag[];
|
|
11
|
-
description
|
|
12
|
-
thumbnail?:
|
|
11
|
+
description?: LocalizationText;
|
|
12
|
+
thumbnail?: Srl;
|
|
13
13
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Srl } from '../../core/srl';
|
|
2
2
|
import { LocalizationText } from '../localization';
|
|
3
3
|
import { DatabaseTag } from '../tag';
|
|
4
4
|
export interface DatabaseReplayItem {
|
|
@@ -8,8 +8,8 @@ export interface DatabaseReplayItem {
|
|
|
8
8
|
subtitle: LocalizationText;
|
|
9
9
|
author: LocalizationText;
|
|
10
10
|
tags: DatabaseTag[];
|
|
11
|
-
description
|
|
11
|
+
description?: LocalizationText;
|
|
12
12
|
level: string;
|
|
13
|
-
data:
|
|
14
|
-
configuration:
|
|
13
|
+
data: Srl;
|
|
14
|
+
configuration: Srl;
|
|
15
15
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Srl } from '../../core/srl';
|
|
2
2
|
import { LocalizationText } from '../localization';
|
|
3
3
|
export type DatabaseServerInfo = {
|
|
4
4
|
title: LocalizationText;
|
|
5
5
|
description?: LocalizationText;
|
|
6
|
-
banner?:
|
|
6
|
+
banner?: Srl;
|
|
7
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Srl } from '../../core/srl';
|
|
2
2
|
import { LocalizationText } from '../localization';
|
|
3
3
|
import { DatabaseTag } from '../tag';
|
|
4
4
|
export interface DatabaseSkinItem {
|
|
@@ -8,8 +8,8 @@ export interface DatabaseSkinItem {
|
|
|
8
8
|
subtitle: LocalizationText;
|
|
9
9
|
author: LocalizationText;
|
|
10
10
|
tags: DatabaseTag[];
|
|
11
|
-
description
|
|
12
|
-
thumbnail:
|
|
13
|
-
data:
|
|
14
|
-
texture:
|
|
11
|
+
description?: LocalizationText;
|
|
12
|
+
thumbnail: Srl;
|
|
13
|
+
data: Srl;
|
|
14
|
+
texture: Srl;
|
|
15
15
|
}
|
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.8.0",
|
|
4
4
|
"description": "Core library for Sonolus",
|
|
5
5
|
"author": "NonSpicyBurrito",
|
|
6
6
|
"repository": "github:Sonolus/sonolus-core",
|
|
@@ -19,12 +19,12 @@
|
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
21
|
"@eslint/js": "^8.57.0",
|
|
22
|
-
"@types/node": "
|
|
22
|
+
"@types/node": "^20.14.11",
|
|
23
23
|
"eslint": "^8.57.0",
|
|
24
24
|
"eslint-config-prettier": "^9.1.0",
|
|
25
|
-
"prettier": "^3.3.
|
|
26
|
-
"prettier-plugin-organize-imports": "^
|
|
27
|
-
"typescript": "~5.4
|
|
28
|
-
"typescript-eslint": "^7.
|
|
25
|
+
"prettier": "^3.3.3",
|
|
26
|
+
"prettier-plugin-organize-imports": "^4.0.0",
|
|
27
|
+
"typescript": "~5.5.4",
|
|
28
|
+
"typescript-eslint": "^7.17.0"
|
|
29
29
|
}
|
|
30
30
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { SRL } from './srl';
|
|
File without changes
|
|
File without changes
|
/package/dist/common/core/server/{multiplayer/level-locator.js → items/community/comment/upload.js}
RENAMED
|
File without changes
|