@sonolus/core 7.9.3 → 7.10.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/icon.d.ts +1 -0
- package/dist/common/core/icon.js +1 -0
- package/dist/common/core/server/items/community/comment/list.d.ts +1 -0
- package/dist/common/core/server/items/leaderboard/record/list.d.ts +1 -0
- package/dist/common/core/server/items/list.d.ts +1 -0
- package/dist/common/core/server/option.d.ts +10 -3
- package/dist/common/core/text.d.ts +33 -1
- package/dist/common/core/text.js +33 -1
- package/dist/common/version.js +2 -2
- package/package.json +6 -6
package/dist/common/core/icon.js
CHANGED
|
@@ -50,8 +50,11 @@ export type ServerSelectOption = {
|
|
|
50
50
|
description?: string;
|
|
51
51
|
required: boolean;
|
|
52
52
|
type: 'select';
|
|
53
|
-
def:
|
|
54
|
-
values:
|
|
53
|
+
def: string;
|
|
54
|
+
values: {
|
|
55
|
+
name: string;
|
|
56
|
+
title: Text | (string & {});
|
|
57
|
+
}[];
|
|
55
58
|
};
|
|
56
59
|
export type ServerMultiOption = {
|
|
57
60
|
query: string;
|
|
@@ -60,7 +63,10 @@ export type ServerMultiOption = {
|
|
|
60
63
|
required: boolean;
|
|
61
64
|
type: 'multi';
|
|
62
65
|
def: boolean[];
|
|
63
|
-
values:
|
|
66
|
+
values: {
|
|
67
|
+
name: string;
|
|
68
|
+
title: Text | (string & {});
|
|
69
|
+
}[];
|
|
64
70
|
};
|
|
65
71
|
export type ServerServerItemOption = {
|
|
66
72
|
query: string;
|
|
@@ -97,4 +103,5 @@ export type ServerFileOption = {
|
|
|
97
103
|
description?: string;
|
|
98
104
|
required: boolean;
|
|
99
105
|
type: 'file';
|
|
106
|
+
def: string;
|
|
100
107
|
};
|
|
@@ -1,4 +1,22 @@
|
|
|
1
1
|
export declare const Text: {
|
|
2
|
+
/** en: Custom Server */
|
|
3
|
+
readonly CustomServer: "#CUSTOM_SERVER";
|
|
4
|
+
/** en: Collection */
|
|
5
|
+
readonly Collection: "#COLLECTION";
|
|
6
|
+
/** en: Server */
|
|
7
|
+
readonly Server: "#SERVER";
|
|
8
|
+
/** en: Address */
|
|
9
|
+
readonly Address: "#ADDRESS";
|
|
10
|
+
/** en: Expiration */
|
|
11
|
+
readonly Expiration: "#EXPIRATION";
|
|
12
|
+
/** en: Storage */
|
|
13
|
+
readonly Storage: "#STORAGE";
|
|
14
|
+
/** en: Log */
|
|
15
|
+
readonly Log: "#LOG";
|
|
16
|
+
/** en: Inquiry */
|
|
17
|
+
readonly Inquiry: "#INQUIRY";
|
|
18
|
+
/** en: Banner */
|
|
19
|
+
readonly Banner: "#BANNER";
|
|
2
20
|
/** en: Post */
|
|
3
21
|
readonly Post: "#POST";
|
|
4
22
|
/** en: Playlist */
|
|
@@ -55,6 +73,8 @@ export declare const Text: {
|
|
|
55
73
|
readonly Time: "#TIME";
|
|
56
74
|
/** en: Author */
|
|
57
75
|
readonly Author: "#AUTHOR";
|
|
76
|
+
/** en: Description */
|
|
77
|
+
readonly Description: "#DESCRIPTION";
|
|
58
78
|
/** en: Genre */
|
|
59
79
|
readonly Genre: "#GENRE";
|
|
60
80
|
/** en: Type */
|
|
@@ -421,6 +441,8 @@ export declare const Text: {
|
|
|
421
441
|
readonly TimePlaceholder: "#TIME_PLACEHOLDER";
|
|
422
442
|
/** en: Enter author... */
|
|
423
443
|
readonly AuthorPlaceholder: "#AUTHOR_PLACEHOLDER";
|
|
444
|
+
/** en: Enter description... */
|
|
445
|
+
readonly DescriptionPlaceholder: "#DESCRIPTION_PLACEHOLDER";
|
|
424
446
|
/** en: Enter genre... */
|
|
425
447
|
readonly GenrePlaceholder: "#GENRE_PLACEHOLDER";
|
|
426
448
|
/** en: Enter type... */
|
|
@@ -649,6 +671,16 @@ export declare const Text: {
|
|
|
649
671
|
readonly Ranking: "#RANKING";
|
|
650
672
|
/** en: Score */
|
|
651
673
|
readonly Score: "#SCORE";
|
|
674
|
+
/** en: Owner */
|
|
675
|
+
readonly Owner: "#OWNER";
|
|
676
|
+
/** en: Admin */
|
|
677
|
+
readonly Admin: "#ADMIN";
|
|
678
|
+
/** en: Moderator */
|
|
679
|
+
readonly Moderator: "#MODERATOR";
|
|
680
|
+
/** en: Reviewer */
|
|
681
|
+
readonly Reviewer: "#REVIEWER";
|
|
682
|
+
/** en: Banned */
|
|
683
|
+
readonly Banned: "#BANNED";
|
|
652
684
|
/** en: Player */
|
|
653
685
|
readonly Player: "#PLAYER";
|
|
654
686
|
/** en: Spectator */
|
|
@@ -843,7 +875,7 @@ export declare const Text: {
|
|
|
843
875
|
readonly Allowed: "#ALLOWED";
|
|
844
876
|
/** en: Disallow */
|
|
845
877
|
readonly Disallow: "#DISALLOW";
|
|
846
|
-
/** en:
|
|
878
|
+
/** en: Disallowed */
|
|
847
879
|
readonly Disallowed: "#DISALLOWED";
|
|
848
880
|
/** en: Approve */
|
|
849
881
|
readonly Approve: "#APPROVE";
|
package/dist/common/core/text.js
CHANGED
|
@@ -2,6 +2,24 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Text = void 0;
|
|
4
4
|
exports.Text = {
|
|
5
|
+
/** en: Custom Server */
|
|
6
|
+
CustomServer: '#CUSTOM_SERVER',
|
|
7
|
+
/** en: Collection */
|
|
8
|
+
Collection: '#COLLECTION',
|
|
9
|
+
/** en: Server */
|
|
10
|
+
Server: '#SERVER',
|
|
11
|
+
/** en: Address */
|
|
12
|
+
Address: '#ADDRESS',
|
|
13
|
+
/** en: Expiration */
|
|
14
|
+
Expiration: '#EXPIRATION',
|
|
15
|
+
/** en: Storage */
|
|
16
|
+
Storage: '#STORAGE',
|
|
17
|
+
/** en: Log */
|
|
18
|
+
Log: '#LOG',
|
|
19
|
+
/** en: Inquiry */
|
|
20
|
+
Inquiry: '#INQUIRY',
|
|
21
|
+
/** en: Banner */
|
|
22
|
+
Banner: '#BANNER',
|
|
5
23
|
/** en: Post */
|
|
6
24
|
Post: '#POST',
|
|
7
25
|
/** en: Playlist */
|
|
@@ -58,6 +76,8 @@ exports.Text = {
|
|
|
58
76
|
Time: '#TIME',
|
|
59
77
|
/** en: Author */
|
|
60
78
|
Author: '#AUTHOR',
|
|
79
|
+
/** en: Description */
|
|
80
|
+
Description: '#DESCRIPTION',
|
|
61
81
|
/** en: Genre */
|
|
62
82
|
Genre: '#GENRE',
|
|
63
83
|
/** en: Type */
|
|
@@ -424,6 +444,8 @@ exports.Text = {
|
|
|
424
444
|
TimePlaceholder: '#TIME_PLACEHOLDER',
|
|
425
445
|
/** en: Enter author... */
|
|
426
446
|
AuthorPlaceholder: '#AUTHOR_PLACEHOLDER',
|
|
447
|
+
/** en: Enter description... */
|
|
448
|
+
DescriptionPlaceholder: '#DESCRIPTION_PLACEHOLDER',
|
|
427
449
|
/** en: Enter genre... */
|
|
428
450
|
GenrePlaceholder: '#GENRE_PLACEHOLDER',
|
|
429
451
|
/** en: Enter type... */
|
|
@@ -652,6 +674,16 @@ exports.Text = {
|
|
|
652
674
|
Ranking: '#RANKING',
|
|
653
675
|
/** en: Score */
|
|
654
676
|
Score: '#SCORE',
|
|
677
|
+
/** en: Owner */
|
|
678
|
+
Owner: '#OWNER',
|
|
679
|
+
/** en: Admin */
|
|
680
|
+
Admin: '#ADMIN',
|
|
681
|
+
/** en: Moderator */
|
|
682
|
+
Moderator: '#MODERATOR',
|
|
683
|
+
/** en: Reviewer */
|
|
684
|
+
Reviewer: '#REVIEWER',
|
|
685
|
+
/** en: Banned */
|
|
686
|
+
Banned: '#BANNED',
|
|
655
687
|
/** en: Player */
|
|
656
688
|
Player: '#PLAYER',
|
|
657
689
|
/** en: Spectator */
|
|
@@ -846,7 +878,7 @@ exports.Text = {
|
|
|
846
878
|
Allowed: '#ALLOWED',
|
|
847
879
|
/** en: Disallow */
|
|
848
880
|
Disallow: '#DISALLOW',
|
|
849
|
-
/** en:
|
|
881
|
+
/** en: Disallowed */
|
|
850
882
|
Disallowed: '#DISALLOWED',
|
|
851
883
|
/** en: Approve */
|
|
852
884
|
Approve: '#APPROVE',
|
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.10.0",
|
|
4
4
|
"description": "Core library for Sonolus",
|
|
5
5
|
"author": "NonSpicyBurrito",
|
|
6
6
|
"repository": "github:Sonolus/sonolus-core",
|
|
@@ -20,14 +20,14 @@
|
|
|
20
20
|
"build": "tsc -p ."
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
|
-
"@eslint/js": "^9.
|
|
23
|
+
"@eslint/js": "^9.17.0",
|
|
24
24
|
"@types/eslint__js": "^8.42.3",
|
|
25
|
-
"@types/node": "^20.17.
|
|
26
|
-
"eslint": "^9.
|
|
25
|
+
"@types/node": "^20.17.10",
|
|
26
|
+
"eslint": "^9.17.0",
|
|
27
27
|
"eslint-config-prettier": "^9.1.0",
|
|
28
|
-
"prettier": "^3.4.
|
|
28
|
+
"prettier": "^3.4.2",
|
|
29
29
|
"prettier-plugin-organize-imports": "^4.1.0",
|
|
30
30
|
"typescript": "~5.7.2",
|
|
31
|
-
"typescript-eslint": "^8.
|
|
31
|
+
"typescript-eslint": "^8.18.2"
|
|
32
32
|
}
|
|
33
33
|
}
|