@sonolus/core 7.9.2 → 7.9.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.
@@ -6,6 +6,7 @@ import { EngineDataNode } from '../node';
6
6
  import { EnginePlayDataArchetype } from './archetype';
7
7
  export type EnginePlayData = {
8
8
  skin: {
9
+ renderMode?: 'default' | 'standard' | 'lightweight';
9
10
  sprites: {
10
11
  name: SkinSpriteName | (string & {});
11
12
  id: number;
@@ -3,6 +3,7 @@ import { EngineDataNode } from '../node';
3
3
  import { EnginePreviewDataArchetype } from './archetype';
4
4
  export type EnginePreviewData = {
5
5
  skin: {
6
+ renderMode?: 'default' | 'standard' | 'lightweight';
6
7
  sprites: {
7
8
  name: SkinSpriteName | (string & {});
8
9
  id: number;
@@ -6,6 +6,7 @@ import { Text } from '../../text';
6
6
  import { EngineDataNode } from '../node';
7
7
  export type EngineTutorialData = {
8
8
  skin: {
9
+ renderMode?: 'default' | 'standard' | 'lightweight';
9
10
  sprites: {
10
11
  name: SkinSpriteName | (string & {});
11
12
  id: number;
@@ -6,6 +6,7 @@ import { EngineDataNode } from '../node';
6
6
  import { EngineWatchDataArchetype } from './archetype';
7
7
  export type EngineWatchData = {
8
8
  skin: {
9
+ renderMode?: 'default' | 'standard' | 'lightweight';
9
10
  sprites: {
10
11
  name: SkinSpriteName | (string & {});
11
12
  id: number;
@@ -83,10 +83,6 @@ export declare const Text: {
83
83
  readonly Content: "#CONTENT";
84
84
  /** en: Comment */
85
85
  readonly Comment: "#COMMENT";
86
- /** en: Review */
87
- readonly Review: "#REVIEW";
88
- /** en: Reply */
89
- readonly Reply: "#REPLY";
90
86
  /** en: Message */
91
87
  readonly Message: "#MESSAGE";
92
88
  /** en: Role */
@@ -513,8 +509,6 @@ export declare const Text: {
513
509
  readonly Holiday: "#HOLIDAY";
514
510
  /** en: Limited */
515
511
  readonly Limited: "#LIMITED";
516
- /** en: Following */
517
- readonly Following: "#FOLLOWING";
518
512
  /** en: Announcement */
519
513
  readonly Announcement: "#ANNOUNCEMENT";
520
514
  /** en: Information */
@@ -563,22 +557,10 @@ export declare const Text: {
563
557
  readonly OtherVersions: "#OTHER_VERSIONS";
564
558
  /** en: Draft */
565
559
  readonly Draft: "#DRAFT";
566
- /** en: Reviewing */
567
- readonly Reviewing: "#REVIEWING";
568
- /** en: Published */
569
- readonly Published: "#PUBLISHED";
570
- /** en: Verifying */
571
- readonly Verifying: "#VERIFYING";
572
- /** en: Verified */
573
- readonly Verified: "#VERIFIED";
574
- /** en: Removed */
575
- readonly Removed: "#REMOVED";
576
560
  /** en: Public */
577
561
  readonly Public: "#PUBLIC";
578
562
  /** en: Private */
579
563
  readonly Private: "#PRIVATE";
580
- /** en: Locked */
581
- readonly Locked: "#LOCKED";
582
564
  /** en: Pop */
583
565
  readonly Pop: "#POP";
584
566
  /** en: Rock */
@@ -719,12 +701,40 @@ export declare const Text: {
719
701
  readonly TeamWhite: "#TEAM_WHITE";
720
702
  /** en: Team Black */
721
703
  readonly TeamBlack: "#TEAM_BLACK";
704
+ /** en: Reply */
705
+ readonly Reply: "#REPLY";
706
+ /** en: Replied */
707
+ readonly Replied: "#REPLIED";
708
+ /** en: Review */
709
+ readonly Review: "#REVIEW";
710
+ /** en: Reviewing */
711
+ readonly Reviewing: "#REVIEWING";
712
+ /** en: Reviewed */
713
+ readonly Reviewed: "#REVIEWED";
714
+ /** en: Verify */
715
+ readonly Verify: "#VERIFY";
716
+ /** en: Verifying */
717
+ readonly Verifying: "#VERIFYING";
718
+ /** en: Verified */
719
+ readonly Verified: "#VERIFIED";
722
720
  /** en: Upload */
723
721
  readonly Upload: "#UPLOAD";
722
+ /** en: Uploading */
723
+ readonly Uploading: "#UPLOADING";
724
+ /** en: Uploaded */
725
+ readonly Uploaded: "#UPLOADED";
724
726
  /** en: Submit */
725
727
  readonly Submit: "#SUBMIT";
728
+ /** en: Submitting */
729
+ readonly Submitting: "#SUBMITTING";
730
+ /** en: Submitted */
731
+ readonly Submitted: "#SUBMITTED";
726
732
  /** en: Edit */
727
733
  readonly Edit: "#EDIT";
734
+ /** en: Editing */
735
+ readonly Editing: "#EDITING";
736
+ /** en: Edited */
737
+ readonly Edited: "#EDITED";
728
738
  /** en: Like */
729
739
  readonly Like: "#LIKE";
730
740
  /** en: Liked */
@@ -739,12 +749,30 @@ export declare const Text: {
739
749
  readonly Bookmarked: "#BOOKMARKED";
740
750
  /** en: Delete */
741
751
  readonly Delete: "#DELETE";
752
+ /** en: Deleting */
753
+ readonly Deleting: "#DELETING";
754
+ /** en: Deleted */
755
+ readonly Deleted: "#DELETED";
756
+ /** en: Remove */
757
+ readonly Remove: "#REMOVE";
758
+ /** en: Removing */
759
+ readonly Removing: "#REMOVING";
760
+ /** en: Removed */
761
+ readonly Removed: "#REMOVED";
742
762
  /** en: Restore */
743
763
  readonly Restore: "#RESTORE";
764
+ /** en: Restoring */
765
+ readonly Restoring: "#RESTORING";
766
+ /** en: Restored */
767
+ readonly Restored: "#RESTORED";
744
768
  /** en: Confirm */
745
769
  readonly Confirm: "#CONFIRM";
770
+ /** en: Confirmed */
771
+ readonly Confirmed: "#CONFIRMED";
746
772
  /** en: Cancel */
747
773
  readonly Cancel: "#CANCEL";
774
+ /** en: Canceled */
775
+ readonly Canceled: "#CANCELED";
748
776
  /** en: Increase */
749
777
  readonly Increase: "#INCREASE";
750
778
  /** en: Decrease */
@@ -767,22 +795,42 @@ export declare const Text: {
767
795
  readonly Disagreed: "#DISAGREED";
768
796
  /** en: Lock */
769
797
  readonly Lock: "#LOCK";
798
+ /** en: Locked */
799
+ readonly Locked: "#LOCKED";
770
800
  /** en: Unlock */
771
801
  readonly Unlock: "#UNLOCK";
802
+ /** en: Unlocked */
803
+ readonly Unlocked: "#UNLOCKED";
772
804
  /** en: Pin */
773
805
  readonly Pin: "#PIN";
806
+ /** en: Pinned */
807
+ readonly Pinned: "#PINNED";
774
808
  /** en: Unpin */
775
809
  readonly Unpin: "#UNPIN";
810
+ /** en: Unpinned */
811
+ readonly Unpinned: "#UNPINNED";
776
812
  /** en: Follow */
777
813
  readonly Follow: "#FOLLOW";
814
+ /** en: Following */
815
+ readonly Following: "#FOLLOWING";
816
+ /** en: Followed */
817
+ readonly Followed: "#FOLLOWED";
778
818
  /** en: Unfollow */
779
819
  readonly Unfollow: "#UNFOLLOW";
780
820
  /** en: Subscribe */
781
821
  readonly Subscribe: "#SUBSCRIBE";
822
+ /** en: Subscribing */
823
+ readonly Subscribing: "#SUBSCRIBING";
824
+ /** en: Subscribed */
825
+ readonly Subscribed: "#SUBSCRIBED";
782
826
  /** en: Unsubscribe */
783
827
  readonly Unsubscribe: "#UNSUBSCRIBE";
784
828
  /** en: Publish */
785
829
  readonly Publish: "#PUBLISH";
830
+ /** en: Publishing */
831
+ readonly Publishing: "#PUBLISHING";
832
+ /** en: Published */
833
+ readonly Published: "#PUBLISHED";
786
834
  /** en: Unpublish */
787
835
  readonly Unpublish: "#UNPUBLISH";
788
836
  /** en: Show */
@@ -791,16 +839,28 @@ export declare const Text: {
791
839
  readonly Hide: "#HIDE";
792
840
  /** en: Allow */
793
841
  readonly Allow: "#ALLOW";
842
+ /** en: Allowed */
843
+ readonly Allowed: "#ALLOWED";
794
844
  /** en: Disallow */
795
845
  readonly Disallow: "#DISALLOW";
846
+ /** en: DisallowED */
847
+ readonly Disallowed: "#DISALLOWED";
796
848
  /** en: Approve */
797
849
  readonly Approve: "#APPROVE";
850
+ /** en: Approved */
851
+ readonly Approved: "#APPROVED";
798
852
  /** en: Deny */
799
853
  readonly Deny: "#DENY";
854
+ /** en: Denied */
855
+ readonly Denied: "#DENIED";
800
856
  /** en: Accept */
801
857
  readonly Accept: "#ACCEPT";
858
+ /** en: Accepted */
859
+ readonly Accepted: "#ACCEPTED";
802
860
  /** en: Reject */
803
861
  readonly Reject: "#REJECT";
862
+ /** en: Rejected */
863
+ readonly Rejected: "#REJECTED";
804
864
  /** en: Star */
805
865
  readonly Star: "#STAR";
806
866
  /** en: Starred */
@@ -86,10 +86,6 @@ exports.Text = {
86
86
  Content: '#CONTENT',
87
87
  /** en: Comment */
88
88
  Comment: '#COMMENT',
89
- /** en: Review */
90
- Review: '#REVIEW',
91
- /** en: Reply */
92
- Reply: '#REPLY',
93
89
  /** en: Message */
94
90
  Message: '#MESSAGE',
95
91
  /** en: Role */
@@ -516,8 +512,6 @@ exports.Text = {
516
512
  Holiday: '#HOLIDAY',
517
513
  /** en: Limited */
518
514
  Limited: '#LIMITED',
519
- /** en: Following */
520
- Following: '#FOLLOWING',
521
515
  /** en: Announcement */
522
516
  Announcement: '#ANNOUNCEMENT',
523
517
  /** en: Information */
@@ -566,22 +560,10 @@ exports.Text = {
566
560
  OtherVersions: '#OTHER_VERSIONS',
567
561
  /** en: Draft */
568
562
  Draft: '#DRAFT',
569
- /** en: Reviewing */
570
- Reviewing: '#REVIEWING',
571
- /** en: Published */
572
- Published: '#PUBLISHED',
573
- /** en: Verifying */
574
- Verifying: '#VERIFYING',
575
- /** en: Verified */
576
- Verified: '#VERIFIED',
577
- /** en: Removed */
578
- Removed: '#REMOVED',
579
563
  /** en: Public */
580
564
  Public: '#PUBLIC',
581
565
  /** en: Private */
582
566
  Private: '#PRIVATE',
583
- /** en: Locked */
584
- Locked: '#LOCKED',
585
567
  /** en: Pop */
586
568
  Pop: '#POP',
587
569
  /** en: Rock */
@@ -722,12 +704,40 @@ exports.Text = {
722
704
  TeamWhite: '#TEAM_WHITE',
723
705
  /** en: Team Black */
724
706
  TeamBlack: '#TEAM_BLACK',
707
+ /** en: Reply */
708
+ Reply: '#REPLY',
709
+ /** en: Replied */
710
+ Replied: '#REPLIED',
711
+ /** en: Review */
712
+ Review: '#REVIEW',
713
+ /** en: Reviewing */
714
+ Reviewing: '#REVIEWING',
715
+ /** en: Reviewed */
716
+ Reviewed: '#REVIEWED',
717
+ /** en: Verify */
718
+ Verify: '#VERIFY',
719
+ /** en: Verifying */
720
+ Verifying: '#VERIFYING',
721
+ /** en: Verified */
722
+ Verified: '#VERIFIED',
725
723
  /** en: Upload */
726
724
  Upload: '#UPLOAD',
725
+ /** en: Uploading */
726
+ Uploading: '#UPLOADING',
727
+ /** en: Uploaded */
728
+ Uploaded: '#UPLOADED',
727
729
  /** en: Submit */
728
730
  Submit: '#SUBMIT',
731
+ /** en: Submitting */
732
+ Submitting: '#SUBMITTING',
733
+ /** en: Submitted */
734
+ Submitted: '#SUBMITTED',
729
735
  /** en: Edit */
730
736
  Edit: '#EDIT',
737
+ /** en: Editing */
738
+ Editing: '#EDITING',
739
+ /** en: Edited */
740
+ Edited: '#EDITED',
731
741
  /** en: Like */
732
742
  Like: '#LIKE',
733
743
  /** en: Liked */
@@ -742,12 +752,30 @@ exports.Text = {
742
752
  Bookmarked: '#BOOKMARKED',
743
753
  /** en: Delete */
744
754
  Delete: '#DELETE',
755
+ /** en: Deleting */
756
+ Deleting: '#DELETING',
757
+ /** en: Deleted */
758
+ Deleted: '#DELETED',
759
+ /** en: Remove */
760
+ Remove: '#REMOVE',
761
+ /** en: Removing */
762
+ Removing: '#REMOVING',
763
+ /** en: Removed */
764
+ Removed: '#REMOVED',
745
765
  /** en: Restore */
746
766
  Restore: '#RESTORE',
767
+ /** en: Restoring */
768
+ Restoring: '#RESTORING',
769
+ /** en: Restored */
770
+ Restored: '#RESTORED',
747
771
  /** en: Confirm */
748
772
  Confirm: '#CONFIRM',
773
+ /** en: Confirmed */
774
+ Confirmed: '#CONFIRMED',
749
775
  /** en: Cancel */
750
776
  Cancel: '#CANCEL',
777
+ /** en: Canceled */
778
+ Canceled: '#CANCELED',
751
779
  /** en: Increase */
752
780
  Increase: '#INCREASE',
753
781
  /** en: Decrease */
@@ -770,22 +798,42 @@ exports.Text = {
770
798
  Disagreed: '#DISAGREED',
771
799
  /** en: Lock */
772
800
  Lock: '#LOCK',
801
+ /** en: Locked */
802
+ Locked: '#LOCKED',
773
803
  /** en: Unlock */
774
804
  Unlock: '#UNLOCK',
805
+ /** en: Unlocked */
806
+ Unlocked: '#UNLOCKED',
775
807
  /** en: Pin */
776
808
  Pin: '#PIN',
809
+ /** en: Pinned */
810
+ Pinned: '#PINNED',
777
811
  /** en: Unpin */
778
812
  Unpin: '#UNPIN',
813
+ /** en: Unpinned */
814
+ Unpinned: '#UNPINNED',
779
815
  /** en: Follow */
780
816
  Follow: '#FOLLOW',
817
+ /** en: Following */
818
+ Following: '#FOLLOWING',
819
+ /** en: Followed */
820
+ Followed: '#FOLLOWED',
781
821
  /** en: Unfollow */
782
822
  Unfollow: '#UNFOLLOW',
783
823
  /** en: Subscribe */
784
824
  Subscribe: '#SUBSCRIBE',
825
+ /** en: Subscribing */
826
+ Subscribing: '#SUBSCRIBING',
827
+ /** en: Subscribed */
828
+ Subscribed: '#SUBSCRIBED',
785
829
  /** en: Unsubscribe */
786
830
  Unsubscribe: '#UNSUBSCRIBE',
787
831
  /** en: Publish */
788
832
  Publish: '#PUBLISH',
833
+ /** en: Publishing */
834
+ Publishing: '#PUBLISHING',
835
+ /** en: Published */
836
+ Published: '#PUBLISHED',
789
837
  /** en: Unpublish */
790
838
  Unpublish: '#UNPUBLISH',
791
839
  /** en: Show */
@@ -794,16 +842,28 @@ exports.Text = {
794
842
  Hide: '#HIDE',
795
843
  /** en: Allow */
796
844
  Allow: '#ALLOW',
845
+ /** en: Allowed */
846
+ Allowed: '#ALLOWED',
797
847
  /** en: Disallow */
798
848
  Disallow: '#DISALLOW',
849
+ /** en: DisallowED */
850
+ Disallowed: '#DISALLOWED',
799
851
  /** en: Approve */
800
852
  Approve: '#APPROVE',
853
+ /** en: Approved */
854
+ Approved: '#APPROVED',
801
855
  /** en: Deny */
802
856
  Deny: '#DENY',
857
+ /** en: Denied */
858
+ Denied: '#DENIED',
803
859
  /** en: Accept */
804
860
  Accept: '#ACCEPT',
861
+ /** en: Accepted */
862
+ Accepted: '#ACCEPTED',
805
863
  /** en: Reject */
806
864
  Reject: '#REJECT',
865
+ /** en: Rejected */
866
+ Rejected: '#REJECTED',
807
867
  /** en: Star */
808
868
  Star: '#STAR',
809
869
  /** en: Starred */
@@ -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.9.2',
6
- sonolus: '0.8.7',
5
+ package: '7.9.3',
6
+ sonolus: '0.8.8',
7
7
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sonolus/core",
3
- "version": "7.9.2",
3
+ "version": "7.9.3",
4
4
  "description": "Core library for Sonolus",
5
5
  "author": "NonSpicyBurrito",
6
6
  "repository": "github:Sonolus/sonolus-core",
@@ -14,18 +14,20 @@
14
14
  "dist"
15
15
  ],
16
16
  "scripts": {
17
- "prebuild": "tsc -p . --noEmit && eslint . && prettier . --check",
17
+ "check-type": "tsc -p . --noEmit",
18
+ "check-lint": "eslint .",
19
+ "check-format": "prettier . --check",
18
20
  "build": "tsc -p ."
19
21
  },
20
22
  "devDependencies": {
21
- "@eslint/js": "^9.9.0",
23
+ "@eslint/js": "^9.16.0",
22
24
  "@types/eslint__js": "^8.42.3",
23
- "@types/node": "^20.15.0",
24
- "eslint": "^9.9.0",
25
+ "@types/node": "^20.17.9",
26
+ "eslint": "^9.16.0",
25
27
  "eslint-config-prettier": "^9.1.0",
26
- "prettier": "^3.3.3",
27
- "prettier-plugin-organize-imports": "^4.0.0",
28
- "typescript": "~5.5.4",
29
- "typescript-eslint": "^8.1.0"
28
+ "prettier": "^3.4.1",
29
+ "prettier-plugin-organize-imports": "^4.1.0",
30
+ "typescript": "~5.7.2",
31
+ "typescript-eslint": "^8.16.0"
30
32
  }
31
33
  }