@sonolus/core 7.7.1 → 7.9.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.
Files changed (112) hide show
  1. package/dist/common/core/background/item.d.ts +5 -5
  2. package/dist/common/core/effect/item.d.ts +4 -4
  3. package/dist/common/core/engine/item.d.ts +8 -8
  4. package/dist/common/core/engine/watchData/watchData.d.ts +1 -1
  5. package/dist/common/core/icon.d.ts +24 -0
  6. package/dist/common/core/icon.js +24 -0
  7. package/dist/common/core/index.d.ts +2 -1
  8. package/dist/common/core/index.js +0 -1
  9. package/dist/common/core/level/item.d.ts +5 -5
  10. package/dist/common/core/package/info.d.ts +1 -1
  11. package/dist/common/core/particle/item.d.ts +4 -4
  12. package/dist/common/core/playlist/item.d.ts +2 -2
  13. package/dist/common/core/post/item.d.ts +2 -2
  14. package/dist/common/core/replay/item.d.ts +3 -3
  15. package/dist/common/core/room/item.d.ts +4 -4
  16. package/dist/common/core/server/authenticate.d.ts +4 -4
  17. package/dist/common/core/server/configuration.d.ts +4 -0
  18. package/dist/common/core/server/form.d.ts +3 -0
  19. package/dist/common/core/server/index.d.ts +4 -2
  20. package/dist/common/core/server/info.d.ts +5 -3
  21. package/dist/common/core/server/items/community/comment/comment.d.ts +1 -1
  22. package/dist/common/core/server/items/community/comment/index.d.ts +4 -2
  23. package/dist/common/core/server/items/community/comment/list.d.ts +3 -3
  24. package/dist/common/core/server/items/community/comment/submit.d.ts +10 -0
  25. package/dist/common/core/server/items/community/comment/upload.d.ts +1 -0
  26. package/dist/common/core/server/items/community/index.d.ts +3 -2
  27. package/dist/common/core/server/items/community/info.d.ts +3 -3
  28. package/dist/common/core/server/items/community/submit.d.ts +5 -2
  29. package/dist/common/core/server/items/community/upload.d.ts +1 -0
  30. package/dist/common/core/server/items/community/upload.js +2 -0
  31. package/dist/common/core/server/items/create.d.ts +4 -3
  32. package/dist/common/core/server/items/details.d.ts +8 -6
  33. package/dist/common/core/server/items/index.d.ts +9 -6
  34. package/dist/common/core/server/items/index.js +1 -0
  35. package/dist/common/core/server/items/info.d.ts +5 -5
  36. package/dist/common/core/server/items/leaderboard/details.d.ts +3 -3
  37. package/dist/common/core/server/items/leaderboard/index.d.ts +2 -2
  38. package/dist/common/core/server/items/leaderboard/leaderboard.d.ts +2 -1
  39. package/dist/common/core/server/items/leaderboard/record/details.d.ts +1 -1
  40. package/dist/common/core/server/items/leaderboard/record/index.d.ts +3 -3
  41. package/dist/common/core/server/items/leaderboard/record/list.d.ts +3 -3
  42. package/dist/common/core/server/items/leaderboard/record/record.d.ts +1 -1
  43. package/dist/common/core/server/items/level-result/index.d.ts +3 -0
  44. package/dist/common/core/server/items/level-result/index.js +2 -0
  45. package/dist/common/core/server/items/level-result/info.d.ts +4 -0
  46. package/dist/common/core/server/items/level-result/info.js +2 -0
  47. package/dist/common/core/server/items/level-result/submit.d.ts +9 -0
  48. package/dist/common/core/server/items/level-result/submit.js +2 -0
  49. package/dist/common/core/server/items/level-result/upload.d.ts +1 -0
  50. package/dist/common/core/server/items/level-result/upload.js +2 -0
  51. package/dist/common/core/server/items/list.d.ts +1 -1
  52. package/dist/common/core/server/items/section.d.ts +19 -2
  53. package/dist/common/core/server/items/submit-action.d.ts +10 -0
  54. package/dist/common/core/server/items/submit-action.js +2 -0
  55. package/dist/common/core/server/items/upload-action.d.ts +1 -0
  56. package/dist/common/core/server/items/upload-action.js +2 -0
  57. package/dist/common/core/server/items/upload.d.ts +1 -1
  58. package/dist/common/core/server/message.d.ts +3 -0
  59. package/dist/common/core/server/message.js +2 -0
  60. package/dist/common/core/server/multiplayer/chat-message.d.ts +3 -2
  61. package/dist/common/core/server/multiplayer/commands/add-suggestion-command.d.ts +2 -2
  62. package/dist/common/core/server/multiplayer/commands/remove-user-command.d.ts +2 -1
  63. package/dist/common/core/server/multiplayer/commands/report-user-command.d.ts +2 -1
  64. package/dist/common/core/server/multiplayer/commands/update-lead-command.d.ts +2 -1
  65. package/dist/common/core/server/multiplayer/commands/update-level-command.d.ts +2 -2
  66. package/dist/common/core/server/multiplayer/commands/update-master-command.d.ts +2 -1
  67. package/dist/common/core/server/multiplayer/create-room.d.ts +2 -2
  68. package/dist/common/core/server/multiplayer/events/update-event.d.ts +6 -5
  69. package/dist/common/core/server/multiplayer/events/update-lead-event.d.ts +2 -1
  70. package/dist/common/core/server/multiplayer/events/update-level-event.d.ts +2 -2
  71. package/dist/common/core/server/multiplayer/events/update-master-event.d.ts +2 -1
  72. package/dist/common/core/server/multiplayer/events/update-scoreboard-description-event.d.ts +1 -1
  73. package/dist/common/core/server/multiplayer/index.d.ts +2 -3
  74. package/dist/common/core/server/multiplayer/join-room.d.ts +4 -4
  75. package/dist/common/core/server/multiplayer/result-entry.d.ts +2 -1
  76. package/dist/common/core/server/multiplayer/score-entry.d.ts +2 -1
  77. package/dist/common/core/server/multiplayer/suggestion.d.ts +4 -3
  78. package/dist/common/core/server/multiplayer/user-status-entry.d.ts +2 -1
  79. package/dist/common/core/server/option.d.ts +32 -14
  80. package/dist/common/core/service/authenticate-external.d.ts +5 -3
  81. package/dist/common/core/service/index.d.ts +2 -2
  82. package/dist/common/core/service/user-profile.d.ts +7 -2
  83. package/dist/common/core/{server/multiplayer/level-locator.d.ts → sil.d.ts} +1 -1
  84. package/dist/common/core/sil.js +2 -0
  85. package/dist/common/core/skin/item.d.ts +4 -4
  86. package/dist/common/core/srl.d.ts +4 -0
  87. package/dist/common/core/srl.js +2 -0
  88. package/dist/common/core/text.d.ts +97 -5
  89. package/dist/common/core/text.js +97 -5
  90. package/dist/common/database/background/item.d.ts +6 -6
  91. package/dist/common/database/effect/item.d.ts +5 -5
  92. package/dist/common/database/engine/item.d.ts +9 -9
  93. package/dist/common/database/level/item.d.ts +6 -6
  94. package/dist/common/database/particle/item.d.ts +5 -5
  95. package/dist/common/database/playlist/item.d.ts +3 -3
  96. package/dist/common/database/post/item.d.ts +3 -3
  97. package/dist/common/database/replay/item.d.ts +4 -4
  98. package/dist/common/database/server/server-info.d.ts +2 -2
  99. package/dist/common/database/skin/item.d.ts +5 -5
  100. package/dist/common/version.js +2 -2
  101. package/dist/node/core/resource/compress.d.ts +0 -1
  102. package/dist/node/core/resource/compress.js +2 -0
  103. package/dist/node/core/resource/decompress.d.ts +0 -1
  104. package/dist/node/core/resource/decompress.js +1 -0
  105. package/dist/node/core/resource/hash.d.ts +0 -1
  106. package/dist/node/core/service/keys.d.ts +0 -1
  107. package/package.json +9 -8
  108. package/dist/common/core/resource/index.d.ts +0 -1
  109. package/dist/common/core/resource/srl.d.ts +0 -4
  110. /package/dist/common/core/{resource/index.js → server/configuration.js} +0 -0
  111. /package/dist/common/core/{resource/srl.js → server/items/community/comment/submit.js} +0 -0
  112. /package/dist/common/core/server/{multiplayer/level-locator.js → items/community/comment/upload.js} +0 -0
@@ -1,4 +1,24 @@
1
1
  export declare const Text: {
2
+ /** en: Post */
3
+ readonly Post: "#POST";
4
+ /** en: Playlist */
5
+ readonly Playlist: "#PLAYLIST";
6
+ /** en: Level */
7
+ readonly Level: "#LEVEL";
8
+ /** en: Skin */
9
+ readonly Skin: "#SKIN";
10
+ /** en: Background */
11
+ readonly Background: "#BACKGROUND";
12
+ /** en: SFX */
13
+ readonly Effect: "#EFFECT";
14
+ /** en: Particle */
15
+ readonly Particle: "#PARTICLE";
16
+ /** en: Engine */
17
+ readonly Engine: "#ENGINE";
18
+ /** en: Replay */
19
+ readonly Replay: "#REPLAY";
20
+ /** en: Room */
21
+ readonly Room: "#ROOM";
2
22
  /** en: Grade */
3
23
  readonly Grade: "#GRADE";
4
24
  /** en: Arcade Score */
@@ -31,6 +51,8 @@ export declare const Text: {
31
51
  readonly Subtitle: "#SUBTITLE";
32
52
  /** en: Artists */
33
53
  readonly Artists: "#ARTISTS";
54
+ /** en: Time */
55
+ readonly Time: "#TIME";
34
56
  /** en: Author */
35
57
  readonly Author: "#AUTHOR";
36
58
  /** en: Genre */
@@ -44,7 +66,7 @@ export declare const Text: {
44
66
  /** en: Difficulty */
45
67
  readonly Difficulty: "#DIFFICULTY";
46
68
  /** en: Version */
47
- readonly Versions: "#VERSIONS";
69
+ readonly Version: "#VERSION";
48
70
  /** en: Length */
49
71
  readonly Length: "#LENGTH";
50
72
  /** en: Minimum Length */
@@ -53,6 +75,10 @@ export declare const Text: {
53
75
  readonly LengthMaximum: "#LENGTH_MAXIMUM";
54
76
  /** en: Additional Information */
55
77
  readonly AdditionalInformation: "#ADDITIONAL_INFORMATION";
78
+ /** en: Timezone */
79
+ readonly Timezone: "#TIMEZONE";
80
+ /** en: Region */
81
+ readonly Region: "#REGION";
56
82
  /** en: Content */
57
83
  readonly Content: "#CONTENT";
58
84
  /** en: Comment */
@@ -61,6 +87,14 @@ export declare const Text: {
61
87
  readonly Review: "#REVIEW";
62
88
  /** en: Reply */
63
89
  readonly Reply: "#REPLY";
90
+ /** en: Message */
91
+ readonly Message: "#MESSAGE";
92
+ /** en: Role */
93
+ readonly Role: "#ROLE";
94
+ /** en: Permission */
95
+ readonly Permission: "#PERMISSION";
96
+ /** en: User */
97
+ readonly User: "#USER";
64
98
  /** en: Level Speed */
65
99
  readonly Speed: "#SPEED";
66
100
  /** en: Mirror Level */
@@ -73,8 +107,6 @@ export declare const Text: {
73
107
  readonly JudgmentStrict: "#JUDGMENT_STRICT";
74
108
  /** en: Loose Judgment */
75
109
  readonly JudgmentLoose: "#JUDGMENT_LOOSE";
76
- /** en: SFX */
77
- readonly Effect: "#EFFECT";
78
110
  /** en: Auto SFX */
79
111
  readonly EffectAuto: "#EFFECT_AUTO";
80
112
  /** en: Stage */
@@ -339,6 +371,8 @@ export declare const Text: {
339
371
  readonly Forward: "#FORWARD";
340
372
  /** en: Backward */
341
373
  readonly Backward: "#BACKWARD";
374
+ /** en: Default */
375
+ readonly Default: "#DEFAULT";
342
376
  /** en: Neutral */
343
377
  readonly Neutral: "#NEUTRAL";
344
378
  /** en: Red */
@@ -387,10 +421,14 @@ export declare const Text: {
387
421
  readonly SubtitlePlaceholder: "#SUBTITLE_PLACEHOLDER";
388
422
  /** en: Enter artists... */
389
423
  readonly ArtistsPlaceholder: "#ARTISTS_PLACEHOLDER";
424
+ /** en: Enter time... */
425
+ readonly TimePlaceholder: "#TIME_PLACEHOLDER";
390
426
  /** en: Enter author... */
391
427
  readonly AuthorPlaceholder: "#AUTHOR_PLACEHOLDER";
392
428
  /** en: Enter genre... */
393
429
  readonly GenrePlaceholder: "#GENRE_PLACEHOLDER";
430
+ /** en: Enter type... */
431
+ readonly TypePlaceholder: "#TYPE_PLACEHOLDER";
394
432
  /** en: Enter category... */
395
433
  readonly CategoryPlaceholder: "#CATEGORY_PLACEHOLDER";
396
434
  /** en: Enter language... */
@@ -405,6 +443,10 @@ export declare const Text: {
405
443
  readonly LengthMaximumPlaceholder: "#LENGTH_MAXIMUM_PLACEHOLDER";
406
444
  /** en: Enter additional information... */
407
445
  readonly AdditionalInformationPlaceholder: "#ADDITIONAL_INFORMATION_PLACEHOLDER";
446
+ /** en: Enter timezone... */
447
+ readonly TimezonePlaceholder: "#TIMEZONE_PLACEHOLDER";
448
+ /** en: Enter region... */
449
+ readonly RegionPlaceholder: "#REGION_PLACEHOLDER";
408
450
  /** en: Enter content... */
409
451
  readonly ContentPlaceholder: "#CONTENT_PLACEHOLDER";
410
452
  /** en: Enter comment... */
@@ -413,6 +455,14 @@ export declare const Text: {
413
455
  readonly ReviewPlaceholder: "#REVIEW_PLACEHOLDER";
414
456
  /** en: Enter reply... */
415
457
  readonly ReplyPlaceholder: "#REPLY_PLACEHOLDER";
458
+ /** en: Enter message... */
459
+ readonly MessagePlaceholder: "#MESSAGE_PLACEHOLDER";
460
+ /** en: Enter role... */
461
+ readonly RolePlaceholder: "#ROLE_PLACEHOLDER";
462
+ /** en: Enter permission... */
463
+ readonly PermissionPlaceholder: "#PERMISSION_PLACEHOLDER";
464
+ /** en: Enter user... */
465
+ readonly UserPlaceholder: "#USER_PLACEHOLDER";
416
466
  /** en: {0}% */
417
467
  readonly PercentageUnit: "#PERCENTAGE_UNIT";
418
468
  /** en: {0} s */
@@ -469,6 +519,8 @@ export declare const Text: {
469
519
  readonly Announcement: "#ANNOUNCEMENT";
470
520
  /** en: Information */
471
521
  readonly Information: "#INFORMATION";
522
+ /** en: Help */
523
+ readonly Help: "#HELP";
472
524
  /** en: Maintenance */
473
525
  readonly Maintenance: "#MAINTENANCE";
474
526
  /** en: Event */
@@ -509,6 +561,12 @@ export declare const Text: {
509
561
  readonly OtherGenres: "#OTHER_GENRES";
510
562
  /** en: Other Versions */
511
563
  readonly OtherVersions: "#OTHER_VERSIONS";
564
+ /** en: Draft */
565
+ readonly Draft: "#DRAFT";
566
+ /** en: Reviewing */
567
+ readonly Reviewing: "#REVIEWING";
568
+ /** en: Published */
569
+ readonly Published: "#PUBLISHED";
512
570
  /** en: Verifying */
513
571
  readonly Verifying: "#VERIFYING";
514
572
  /** en: Verified */
@@ -661,6 +719,12 @@ export declare const Text: {
661
719
  readonly TeamWhite: "#TEAM_WHITE";
662
720
  /** en: Team Black */
663
721
  readonly TeamBlack: "#TEAM_BLACK";
722
+ /** en: Upload */
723
+ readonly Upload: "#UPLOAD";
724
+ /** en: Submit */
725
+ readonly Submit: "#SUBMIT";
726
+ /** en: Edit */
727
+ readonly Edit: "#EDIT";
664
728
  /** en: Like */
665
729
  readonly Like: "#LIKE";
666
730
  /** en: Liked */
@@ -675,8 +739,8 @@ export declare const Text: {
675
739
  readonly Bookmarked: "#BOOKMARKED";
676
740
  /** en: Delete */
677
741
  readonly Delete: "#DELETE";
678
- /** en: Edit */
679
- readonly Edit: "#EDIT";
742
+ /** en: Restore */
743
+ readonly Restore: "#RESTORE";
680
744
  /** en: Confirm */
681
745
  readonly Confirm: "#CONFIRM";
682
746
  /** en: Cancel */
@@ -705,10 +769,38 @@ export declare const Text: {
705
769
  readonly Lock: "#LOCK";
706
770
  /** en: Unlock */
707
771
  readonly Unlock: "#UNLOCK";
772
+ /** en: Pin */
773
+ readonly Pin: "#PIN";
774
+ /** en: Unpin */
775
+ readonly Unpin: "#UNPIN";
776
+ /** en: Follow */
777
+ readonly Follow: "#FOLLOW";
778
+ /** en: Unfollow */
779
+ readonly Unfollow: "#UNFOLLOW";
780
+ /** en: Subscribe */
781
+ readonly Subscribe: "#SUBSCRIBE";
782
+ /** en: Unsubscribe */
783
+ readonly Unsubscribe: "#UNSUBSCRIBE";
784
+ /** en: Publish */
785
+ readonly Publish: "#PUBLISH";
786
+ /** en: Unpublish */
787
+ readonly Unpublish: "#UNPUBLISH";
708
788
  /** en: Show */
709
789
  readonly Show: "#SHOW";
710
790
  /** en: Hide */
711
791
  readonly Hide: "#HIDE";
792
+ /** en: Allow */
793
+ readonly Allow: "#ALLOW";
794
+ /** en: Disallow */
795
+ readonly Disallow: "#DISALLOW";
796
+ /** en: Approve */
797
+ readonly Approve: "#APPROVE";
798
+ /** en: Deny */
799
+ readonly Deny: "#DENY";
800
+ /** en: Accept */
801
+ readonly Accept: "#ACCEPT";
802
+ /** en: Reject */
803
+ readonly Reject: "#REJECT";
712
804
  /** en: Star */
713
805
  readonly Star: "#STAR";
714
806
  /** en: Starred */
@@ -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
- Versions: '#VERSIONS',
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 */
@@ -342,6 +374,8 @@ exports.Text = {
342
374
  Forward: '#FORWARD',
343
375
  /** en: Backward */
344
376
  Backward: '#BACKWARD',
377
+ /** en: Default */
378
+ Default: '#DEFAULT',
345
379
  /** en: Neutral */
346
380
  Neutral: '#NEUTRAL',
347
381
  /** en: Red */
@@ -390,10 +424,14 @@ exports.Text = {
390
424
  SubtitlePlaceholder: '#SUBTITLE_PLACEHOLDER',
391
425
  /** en: Enter artists... */
392
426
  ArtistsPlaceholder: '#ARTISTS_PLACEHOLDER',
427
+ /** en: Enter time... */
428
+ TimePlaceholder: '#TIME_PLACEHOLDER',
393
429
  /** en: Enter author... */
394
430
  AuthorPlaceholder: '#AUTHOR_PLACEHOLDER',
395
431
  /** en: Enter genre... */
396
432
  GenrePlaceholder: '#GENRE_PLACEHOLDER',
433
+ /** en: Enter type... */
434
+ TypePlaceholder: '#TYPE_PLACEHOLDER',
397
435
  /** en: Enter category... */
398
436
  CategoryPlaceholder: '#CATEGORY_PLACEHOLDER',
399
437
  /** en: Enter language... */
@@ -408,6 +446,10 @@ exports.Text = {
408
446
  LengthMaximumPlaceholder: '#LENGTH_MAXIMUM_PLACEHOLDER',
409
447
  /** en: Enter additional information... */
410
448
  AdditionalInformationPlaceholder: '#ADDITIONAL_INFORMATION_PLACEHOLDER',
449
+ /** en: Enter timezone... */
450
+ TimezonePlaceholder: '#TIMEZONE_PLACEHOLDER',
451
+ /** en: Enter region... */
452
+ RegionPlaceholder: '#REGION_PLACEHOLDER',
411
453
  /** en: Enter content... */
412
454
  ContentPlaceholder: '#CONTENT_PLACEHOLDER',
413
455
  /** en: Enter comment... */
@@ -416,6 +458,14 @@ exports.Text = {
416
458
  ReviewPlaceholder: '#REVIEW_PLACEHOLDER',
417
459
  /** en: Enter reply... */
418
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',
419
469
  /** en: {0}% */
420
470
  PercentageUnit: '#PERCENTAGE_UNIT',
421
471
  /** en: {0} s */
@@ -472,6 +522,8 @@ exports.Text = {
472
522
  Announcement: '#ANNOUNCEMENT',
473
523
  /** en: Information */
474
524
  Information: '#INFORMATION',
525
+ /** en: Help */
526
+ Help: '#HELP',
475
527
  /** en: Maintenance */
476
528
  Maintenance: '#MAINTENANCE',
477
529
  /** en: Event */
@@ -512,6 +564,12 @@ exports.Text = {
512
564
  OtherGenres: '#OTHER_GENRES',
513
565
  /** en: Other Versions */
514
566
  OtherVersions: '#OTHER_VERSIONS',
567
+ /** en: Draft */
568
+ Draft: '#DRAFT',
569
+ /** en: Reviewing */
570
+ Reviewing: '#REVIEWING',
571
+ /** en: Published */
572
+ Published: '#PUBLISHED',
515
573
  /** en: Verifying */
516
574
  Verifying: '#VERIFYING',
517
575
  /** en: Verified */
@@ -664,6 +722,12 @@ exports.Text = {
664
722
  TeamWhite: '#TEAM_WHITE',
665
723
  /** en: Team Black */
666
724
  TeamBlack: '#TEAM_BLACK',
725
+ /** en: Upload */
726
+ Upload: '#UPLOAD',
727
+ /** en: Submit */
728
+ Submit: '#SUBMIT',
729
+ /** en: Edit */
730
+ Edit: '#EDIT',
667
731
  /** en: Like */
668
732
  Like: '#LIKE',
669
733
  /** en: Liked */
@@ -678,8 +742,8 @@ exports.Text = {
678
742
  Bookmarked: '#BOOKMARKED',
679
743
  /** en: Delete */
680
744
  Delete: '#DELETE',
681
- /** en: Edit */
682
- Edit: '#EDIT',
745
+ /** en: Restore */
746
+ Restore: '#RESTORE',
683
747
  /** en: Confirm */
684
748
  Confirm: '#CONFIRM',
685
749
  /** en: Cancel */
@@ -708,10 +772,38 @@ exports.Text = {
708
772
  Lock: '#LOCK',
709
773
  /** en: Unlock */
710
774
  Unlock: '#UNLOCK',
775
+ /** en: Pin */
776
+ Pin: '#PIN',
777
+ /** en: Unpin */
778
+ Unpin: '#UNPIN',
779
+ /** en: Follow */
780
+ Follow: '#FOLLOW',
781
+ /** en: Unfollow */
782
+ Unfollow: '#UNFOLLOW',
783
+ /** en: Subscribe */
784
+ Subscribe: '#SUBSCRIBE',
785
+ /** en: Unsubscribe */
786
+ Unsubscribe: '#UNSUBSCRIBE',
787
+ /** en: Publish */
788
+ Publish: '#PUBLISH',
789
+ /** en: Unpublish */
790
+ Unpublish: '#UNPUBLISH',
711
791
  /** en: Show */
712
792
  Show: '#SHOW',
713
793
  /** en: Hide */
714
794
  Hide: '#HIDE',
795
+ /** en: Allow */
796
+ Allow: '#ALLOW',
797
+ /** en: Disallow */
798
+ Disallow: '#DISALLOW',
799
+ /** en: Approve */
800
+ Approve: '#APPROVE',
801
+ /** en: Deny */
802
+ Deny: '#DENY',
803
+ /** en: Accept */
804
+ Accept: '#ACCEPT',
805
+ /** en: Reject */
806
+ Reject: '#REJECT',
715
807
  /** en: Star */
716
808
  Star: '#STAR',
717
809
  /** en: Starred */
@@ -1,4 +1,4 @@
1
- import { SRL } from '../../core/resource/srl';
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: LocalizationText;
12
- thumbnail: SRL;
13
- data: SRL;
14
- image: SRL;
15
- configuration: SRL;
11
+ description?: LocalizationText;
12
+ thumbnail: Srl;
13
+ data: Srl;
14
+ image: Srl;
15
+ configuration: Srl;
16
16
  }
@@ -1,4 +1,4 @@
1
- import { SRL } from '../../core/resource/srl';
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: LocalizationText;
12
- thumbnail: SRL;
13
- data: SRL;
14
- audio: SRL;
11
+ description?: LocalizationText;
12
+ thumbnail: Srl;
13
+ data: Srl;
14
+ audio: Srl;
15
15
  }
@@ -1,4 +1,4 @@
1
- import { SRL } from '../../core/resource/srl';
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: LocalizationText;
11
+ description?: LocalizationText;
12
12
  skin: string;
13
13
  background: string;
14
14
  effect: string;
15
15
  particle: string;
16
- thumbnail: SRL;
17
- playData: SRL;
18
- watchData: SRL;
19
- previewData: SRL;
20
- tutorialData: SRL;
21
- rom?: SRL;
22
- configuration: SRL;
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 { SRL } from '../../core/resource/srl';
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: LocalizationText;
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: SRL;
25
- bgm: SRL;
26
- preview?: SRL;
27
- data: SRL;
24
+ cover: Srl;
25
+ bgm: Srl;
26
+ preview?: Srl;
27
+ data: Srl;
28
28
  }
@@ -1,4 +1,4 @@
1
- import { SRL } from '../../core/resource/srl';
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: LocalizationText;
12
- thumbnail: SRL;
13
- data: SRL;
14
- texture: SRL;
11
+ description?: LocalizationText;
12
+ thumbnail: Srl;
13
+ data: Srl;
14
+ texture: Srl;
15
15
  }
@@ -1,4 +1,4 @@
1
- import { SRL } from '../../core/resource/srl';
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: LocalizationText;
11
+ description?: LocalizationText;
12
12
  levels: string[];
13
- thumbnail?: SRL;
13
+ thumbnail?: Srl;
14
14
  }
@@ -1,4 +1,4 @@
1
- import { SRL } from '../../core/resource/srl';
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: LocalizationText;
12
- thumbnail?: SRL;
11
+ description?: LocalizationText;
12
+ thumbnail?: Srl;
13
13
  }
@@ -1,4 +1,4 @@
1
- import { SRL } from '../../core/resource/srl';
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: LocalizationText;
11
+ description?: LocalizationText;
12
12
  level: string;
13
- data: SRL;
14
- configuration: SRL;
13
+ data: Srl;
14
+ configuration: Srl;
15
15
  }
@@ -1,7 +1,7 @@
1
- import { SRL } from '../../core/resource/srl';
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?: SRL;
6
+ banner?: Srl;
7
7
  };
@@ -1,4 +1,4 @@
1
- import { SRL } from '../../core/resource/srl';
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: LocalizationText;
12
- thumbnail: SRL;
13
- data: SRL;
14
- texture: SRL;
11
+ description?: LocalizationText;
12
+ thumbnail: Srl;
13
+ data: Srl;
14
+ texture: Srl;
15
15
  }
@@ -2,6 +2,6 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.version = void 0;
4
4
  exports.version = {
5
- package: '7.7.1',
6
- sonolus: '0.8.3',
5
+ package: '7.9.0',
6
+ sonolus: '0.8.5',
7
7
  };
@@ -1,3 +1,2 @@
1
- /// <reference types="node" />
2
1
  export declare const compress: <T>(data: T) => Promise<Buffer>;
3
2
  export declare const compressSync: <T>(data: T) => Buffer;
@@ -7,7 +7,9 @@ const zlibOptions = {
7
7
  level: 9,
8
8
  };
9
9
  const gzipPromise = (0, node_util_1.promisify)(node_zlib_1.gzip);
10
+ // eslint-disable-next-line @typescript-eslint/no-unnecessary-type-parameters
10
11
  const compress = (data) => gzipPromise(JSON.stringify(data), zlibOptions);
11
12
  exports.compress = compress;
13
+ // eslint-disable-next-line @typescript-eslint/no-unnecessary-type-parameters
12
14
  const compressSync = (data) => (0, node_zlib_1.gzipSync)(JSON.stringify(data), zlibOptions);
13
15
  exports.compressSync = compressSync;
@@ -1,3 +1,2 @@
1
- /// <reference types="node" />
2
1
  export declare const decompress: <T>(data: Buffer) => Promise<T>;
3
2
  export declare const decompressSync: <T>(data: Buffer) => T;
@@ -6,5 +6,6 @@ const node_zlib_1 = require("node:zlib");
6
6
  const unzipPromise = (0, node_util_1.promisify)(node_zlib_1.unzip);
7
7
  const decompress = async (data) => JSON.parse((await unzipPromise(data)).toString());
8
8
  exports.decompress = decompress;
9
+ // eslint-disable-next-line @typescript-eslint/no-unnecessary-type-parameters
9
10
  const decompressSync = (data) => JSON.parse((0, node_zlib_1.unzipSync)(data).toString());
10
11
  exports.decompressSync = decompressSync;
@@ -1,2 +1 @@
1
- /// <reference types="node" />
2
1
  export declare const hash: (buffer: Buffer) => string;
@@ -1,3 +1,2 @@
1
- /// <reference types="node" />
2
1
  import { webcrypto } from 'node:crypto';
3
2
  export declare const getSignaturePublicKey: () => Promise<webcrypto.CryptoKey>;