@sonolus/core 7.15.0 → 7.15.1
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/icon.d.ts +8 -0
- package/dist/common/core/icon.js +8 -0
- package/dist/common/core/server/items/info.d.ts +2 -0
- package/dist/common/core/server/items/list.d.ts +2 -0
- package/dist/common/core/text.d.ts +4 -0
- package/dist/common/core/text.js +4 -0
- package/dist/common/version.js +2 -2
- package/package.json +5 -5
|
@@ -12,6 +12,9 @@ export declare const Icon: {
|
|
|
12
12
|
readonly ArrowDown: "arrowDown";
|
|
13
13
|
readonly ArrowLeft: "arrowLeft";
|
|
14
14
|
readonly ArrowRight: "arrowRight";
|
|
15
|
+
readonly ArrowsLeftRight: "arrowsLeftRight";
|
|
16
|
+
readonly ArrowsUpDown: "arrowsUpDown";
|
|
17
|
+
readonly ArrowsUpLeft: "arrowsUpLeft";
|
|
15
18
|
readonly ArrowUp: "arrowUp";
|
|
16
19
|
readonly Award: "award";
|
|
17
20
|
readonly Background: "background";
|
|
@@ -20,6 +23,7 @@ export declare const Icon: {
|
|
|
20
23
|
readonly Book: "book";
|
|
21
24
|
readonly Bookmark: "bookmark";
|
|
22
25
|
readonly BookmarkHollow: "bookmarkHollow";
|
|
26
|
+
readonly Broom: "broom";
|
|
23
27
|
readonly Check: "check";
|
|
24
28
|
readonly Clock: "clock";
|
|
25
29
|
readonly Comment: "comment";
|
|
@@ -33,9 +37,11 @@ export declare const Icon: {
|
|
|
33
37
|
readonly EnvelopeOpen: "envelopeOpen";
|
|
34
38
|
readonly Filter: "filter";
|
|
35
39
|
readonly Globe: "globe";
|
|
40
|
+
readonly Hand: "hand";
|
|
36
41
|
readonly Heart: "heart";
|
|
37
42
|
readonly HeartHollow: "heartHollow";
|
|
38
43
|
readonly Hide: "hide";
|
|
44
|
+
readonly IceCream: "iceCream";
|
|
39
45
|
readonly Information: "information";
|
|
40
46
|
readonly Level: "level";
|
|
41
47
|
readonly Lock: "lock";
|
|
@@ -55,6 +61,7 @@ export declare const Icon: {
|
|
|
55
61
|
readonly Reply: "reply";
|
|
56
62
|
readonly Restore: "restore";
|
|
57
63
|
readonly Room: "room";
|
|
64
|
+
readonly Scissors: "scissors";
|
|
58
65
|
readonly Search: "search";
|
|
59
66
|
readonly Settings: "settings";
|
|
60
67
|
readonly Show: "show";
|
|
@@ -87,6 +94,7 @@ export declare const Icon: {
|
|
|
87
94
|
readonly Trophy: "trophy";
|
|
88
95
|
readonly Unlock: "unlock";
|
|
89
96
|
readonly User: "user";
|
|
97
|
+
readonly Warning: "warning";
|
|
90
98
|
readonly XMark: "xMark";
|
|
91
99
|
};
|
|
92
100
|
export type Icon = (typeof Icon)[keyof typeof Icon];
|
package/dist/common/core/icon.js
CHANGED
|
@@ -12,6 +12,9 @@ export const Icon = {
|
|
|
12
12
|
ArrowDown: 'arrowDown',
|
|
13
13
|
ArrowLeft: 'arrowLeft',
|
|
14
14
|
ArrowRight: 'arrowRight',
|
|
15
|
+
ArrowsLeftRight: 'arrowsLeftRight',
|
|
16
|
+
ArrowsUpDown: 'arrowsUpDown',
|
|
17
|
+
ArrowsUpLeft: 'arrowsUpLeft',
|
|
15
18
|
ArrowUp: 'arrowUp',
|
|
16
19
|
Award: 'award',
|
|
17
20
|
Background: 'background',
|
|
@@ -20,6 +23,7 @@ export const Icon = {
|
|
|
20
23
|
Book: 'book',
|
|
21
24
|
Bookmark: 'bookmark',
|
|
22
25
|
BookmarkHollow: 'bookmarkHollow',
|
|
26
|
+
Broom: 'broom',
|
|
23
27
|
Check: 'check',
|
|
24
28
|
Clock: 'clock',
|
|
25
29
|
Comment: 'comment',
|
|
@@ -33,9 +37,11 @@ export const Icon = {
|
|
|
33
37
|
EnvelopeOpen: 'envelopeOpen',
|
|
34
38
|
Filter: 'filter',
|
|
35
39
|
Globe: 'globe',
|
|
40
|
+
Hand: 'hand',
|
|
36
41
|
Heart: 'heart',
|
|
37
42
|
HeartHollow: 'heartHollow',
|
|
38
43
|
Hide: 'hide',
|
|
44
|
+
IceCream: 'iceCream',
|
|
39
45
|
Information: 'information',
|
|
40
46
|
Level: 'level',
|
|
41
47
|
Lock: 'lock',
|
|
@@ -55,6 +61,7 @@ export const Icon = {
|
|
|
55
61
|
Reply: 'reply',
|
|
56
62
|
Restore: 'restore',
|
|
57
63
|
Room: 'room',
|
|
64
|
+
Scissors: 'scissors',
|
|
58
65
|
Search: 'search',
|
|
59
66
|
Settings: 'settings',
|
|
60
67
|
Show: 'show',
|
|
@@ -87,5 +94,6 @@ export const Icon = {
|
|
|
87
94
|
Trophy: 'trophy',
|
|
88
95
|
Unlock: 'unlock',
|
|
89
96
|
User: 'user',
|
|
97
|
+
Warning: 'warning',
|
|
90
98
|
XMark: 'xMark',
|
|
91
99
|
};
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { Srl } from '../../srl.js';
|
|
2
|
+
import { Text } from '../../text.js';
|
|
2
3
|
import { ServerForm } from '../form.js';
|
|
3
4
|
import { ServerItemSection } from './section.js';
|
|
4
5
|
export type ServerItemInfo = {
|
|
6
|
+
title?: Text | (string & {});
|
|
5
7
|
creates?: ServerForm[];
|
|
6
8
|
searches?: ServerForm[];
|
|
7
9
|
quickSearchValues?: string;
|
|
@@ -129,6 +129,8 @@ export declare const Text: {
|
|
|
129
129
|
readonly Keywords: "#KEYWORDS";
|
|
130
130
|
/** en: Name */
|
|
131
131
|
readonly Name: "#NAME";
|
|
132
|
+
/** en: Source */
|
|
133
|
+
readonly Source: "#SOURCE";
|
|
132
134
|
/** en: Rating */
|
|
133
135
|
readonly Rating: "#RATING";
|
|
134
136
|
/** en: Minimum Rating */
|
|
@@ -809,6 +811,8 @@ export declare const Text: {
|
|
|
809
811
|
readonly ExtendedVersion: "#EXTENDED_VERSION";
|
|
810
812
|
/** en: Live Version */
|
|
811
813
|
readonly LiveVersion: "#LIVE_VERSION";
|
|
814
|
+
/** en: Medley */
|
|
815
|
+
readonly Medley: "#MEDLEY";
|
|
812
816
|
/** en: Explicit */
|
|
813
817
|
readonly Explicit: "#EXPLICIT";
|
|
814
818
|
/** en: Multi Finger */
|
package/dist/common/core/text.js
CHANGED
|
@@ -129,6 +129,8 @@ export const Text = {
|
|
|
129
129
|
Keywords: '#KEYWORDS',
|
|
130
130
|
/** en: Name */
|
|
131
131
|
Name: '#NAME',
|
|
132
|
+
/** en: Source */
|
|
133
|
+
Source: '#SOURCE',
|
|
132
134
|
/** en: Rating */
|
|
133
135
|
Rating: '#RATING',
|
|
134
136
|
/** en: Minimum Rating */
|
|
@@ -809,6 +811,8 @@ export const Text = {
|
|
|
809
811
|
ExtendedVersion: '#EXTENDED_VERSION',
|
|
810
812
|
/** en: Live Version */
|
|
811
813
|
LiveVersion: '#LIVE_VERSION',
|
|
814
|
+
/** en: Medley */
|
|
815
|
+
Medley: '#MEDLEY',
|
|
812
816
|
/** en: Explicit */
|
|
813
817
|
Explicit: '#EXPLICIT',
|
|
814
818
|
/** en: Multi Finger */
|
package/dist/common/version.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sonolus/core",
|
|
3
|
-
"version": "7.15.
|
|
3
|
+
"version": "7.15.1",
|
|
4
4
|
"description": "Core library for Sonolus",
|
|
5
5
|
"author": "NonSpicyBurrito",
|
|
6
6
|
"repository": "github:Sonolus/sonolus-core",
|
|
@@ -25,13 +25,13 @@
|
|
|
25
25
|
"build": "tsc -p ."
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@eslint/js": "^
|
|
29
|
-
"@types/node": "^22.19.
|
|
30
|
-
"eslint": "^
|
|
28
|
+
"@eslint/js": "^10.0.1",
|
|
29
|
+
"@types/node": "^22.19.15",
|
|
30
|
+
"eslint": "^10.0.3",
|
|
31
31
|
"eslint-config-prettier": "^10.1.8",
|
|
32
32
|
"prettier": "^3.8.1",
|
|
33
33
|
"prettier-plugin-organize-imports": "^4.3.0",
|
|
34
34
|
"typescript": "~5.9.3",
|
|
35
|
-
"typescript-eslint": "^8.
|
|
35
|
+
"typescript-eslint": "^8.57.1"
|
|
36
36
|
}
|
|
37
37
|
}
|