@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.
- 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 +24 -0
- package/dist/common/core/icon.js +24 -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 +3 -0
- package/dist/common/core/server/index.d.ts +4 -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 +10 -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 +5 -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 +4 -3
- package/dist/common/core/server/items/details.d.ts +8 -6
- package/dist/common/core/server/items/index.d.ts +9 -6
- package/dist/common/core/server/items/index.js +1 -0
- 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/level-result/index.d.ts +3 -0
- package/dist/common/core/server/items/level-result/index.js +2 -0
- package/dist/common/core/server/items/level-result/info.d.ts +4 -0
- package/dist/common/core/server/items/level-result/info.js +2 -0
- package/dist/common/core/server/items/level-result/submit.d.ts +9 -0
- package/dist/common/core/server/items/level-result/submit.js +2 -0
- package/dist/common/core/server/items/level-result/upload.d.ts +1 -0
- package/dist/common/core/server/items/level-result/upload.js +2 -0
- package/dist/common/core/server/items/list.d.ts +1 -1
- package/dist/common/core/server/items/section.d.ts +19 -2
- package/dist/common/core/server/items/submit-action.d.ts +10 -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/message.d.ts +3 -0
- package/dist/common/core/server/message.js +2 -0
- 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 +5 -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 +97 -5
- package/dist/common/core/text.js +97 -5
- 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/compress.js +2 -0
- package/dist/node/core/resource/decompress.d.ts +0 -1
- package/dist/node/core/resource/decompress.js +1 -0
- package/dist/node/core/resource/hash.d.ts +0 -1
- package/dist/node/core/service/keys.d.ts +0 -1
- package/package.json +9 -8
- 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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Srl } from '../srl';
|
|
2
2
|
import { Tag } from '../tag';
|
|
3
3
|
export type BackgroundItem = {
|
|
4
4
|
name: string;
|
|
@@ -8,8 +8,8 @@ export type BackgroundItem = {
|
|
|
8
8
|
subtitle: string;
|
|
9
9
|
author: string;
|
|
10
10
|
tags: Tag[];
|
|
11
|
-
thumbnail:
|
|
12
|
-
data:
|
|
13
|
-
image:
|
|
14
|
-
configuration:
|
|
11
|
+
thumbnail: Srl;
|
|
12
|
+
data: Srl;
|
|
13
|
+
image: Srl;
|
|
14
|
+
configuration: Srl;
|
|
15
15
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Srl } from '../srl';
|
|
2
2
|
import { Tag } from '../tag';
|
|
3
3
|
export type EffectItem = {
|
|
4
4
|
name: string;
|
|
@@ -8,7 +8,7 @@ export type EffectItem = {
|
|
|
8
8
|
subtitle: string;
|
|
9
9
|
author: string;
|
|
10
10
|
tags: Tag[];
|
|
11
|
-
thumbnail:
|
|
12
|
-
data:
|
|
13
|
-
audio:
|
|
11
|
+
thumbnail: Srl;
|
|
12
|
+
data: Srl;
|
|
13
|
+
audio: Srl;
|
|
14
14
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { BackgroundItem } from '../background/item';
|
|
2
2
|
import { EffectItem } from '../effect/item';
|
|
3
3
|
import { ParticleItem } from '../particle/item';
|
|
4
|
-
import { SRL } from '../resource/srl';
|
|
5
4
|
import { SkinItem } from '../skin/item';
|
|
5
|
+
import { Srl } from '../srl';
|
|
6
6
|
import { Tag } from '../tag';
|
|
7
7
|
export type EngineItem = {
|
|
8
8
|
name: string;
|
|
@@ -16,11 +16,11 @@ export type EngineItem = {
|
|
|
16
16
|
background: BackgroundItem;
|
|
17
17
|
effect: EffectItem;
|
|
18
18
|
particle: ParticleItem;
|
|
19
|
-
thumbnail:
|
|
20
|
-
playData:
|
|
21
|
-
watchData:
|
|
22
|
-
previewData:
|
|
23
|
-
tutorialData:
|
|
24
|
-
rom?:
|
|
25
|
-
configuration:
|
|
19
|
+
thumbnail: Srl;
|
|
20
|
+
playData: Srl;
|
|
21
|
+
watchData: Srl;
|
|
22
|
+
previewData: Srl;
|
|
23
|
+
tutorialData: Srl;
|
|
24
|
+
rom?: Srl;
|
|
25
|
+
configuration: Srl;
|
|
26
26
|
};
|
|
@@ -13,30 +13,54 @@ export declare const Icon: {
|
|
|
13
13
|
readonly ArrowRight: "arrowRight";
|
|
14
14
|
readonly ArrowUp: "arrowUp";
|
|
15
15
|
readonly Award: "award";
|
|
16
|
+
readonly Background: "background";
|
|
17
|
+
readonly Bell: "bell";
|
|
18
|
+
readonly BellSlash: "bellSlash";
|
|
16
19
|
readonly Bookmark: "bookmark";
|
|
17
20
|
readonly BookmarkHollow: "bookmarkHollow";
|
|
18
21
|
readonly Check: "check";
|
|
22
|
+
readonly Clock: "clock";
|
|
19
23
|
readonly Comment: "comment";
|
|
20
24
|
readonly Crown: "crown";
|
|
21
25
|
readonly Delete: "delete";
|
|
22
26
|
readonly Edit: "edit";
|
|
27
|
+
readonly Effect: "effect";
|
|
28
|
+
readonly Engine: "engine";
|
|
29
|
+
readonly Envelope: "envelope";
|
|
30
|
+
readonly EnvelopeOpen: "envelopeOpen";
|
|
31
|
+
readonly Globe: "globe";
|
|
23
32
|
readonly Heart: "heart";
|
|
24
33
|
readonly HeartHollow: "heartHollow";
|
|
25
34
|
readonly Hide: "hide";
|
|
35
|
+
readonly Information: "information";
|
|
36
|
+
readonly Level: "level";
|
|
26
37
|
readonly Lock: "lock";
|
|
27
38
|
readonly Medal: "medal";
|
|
39
|
+
readonly Message: "message";
|
|
28
40
|
readonly Minus: "minus";
|
|
29
41
|
readonly Options: "options";
|
|
42
|
+
readonly Particle: "particle";
|
|
43
|
+
readonly Pin: "pin";
|
|
44
|
+
readonly Player: "player";
|
|
45
|
+
readonly Playlist: "playlist";
|
|
30
46
|
readonly Plus: "plus";
|
|
47
|
+
readonly Post: "post";
|
|
48
|
+
readonly Question: "question";
|
|
31
49
|
readonly Ranking: "ranking";
|
|
50
|
+
readonly Replay: "replay";
|
|
32
51
|
readonly Reply: "reply";
|
|
52
|
+
readonly Restore: "restore";
|
|
53
|
+
readonly Room: "room";
|
|
33
54
|
readonly Search: "search";
|
|
34
55
|
readonly Settings: "settings";
|
|
35
56
|
readonly Show: "show";
|
|
36
57
|
readonly Shuffle: "shuffle";
|
|
58
|
+
readonly Skin: "skin";
|
|
37
59
|
readonly Star: "star";
|
|
38
60
|
readonly StarHalf: "starHalf";
|
|
39
61
|
readonly StarHollow: "starHollow";
|
|
62
|
+
readonly Stopwatch: "stopwatch";
|
|
63
|
+
readonly Tag: "tag";
|
|
40
64
|
readonly ThumbsDown: "thumbsDown";
|
|
41
65
|
readonly ThumbsDownHollow: "thumbsDownHollow";
|
|
42
66
|
readonly ThumbsUp: "thumbsUp";
|
package/dist/common/core/icon.js
CHANGED
|
@@ -16,30 +16,54 @@ exports.Icon = {
|
|
|
16
16
|
ArrowRight: 'arrowRight',
|
|
17
17
|
ArrowUp: 'arrowUp',
|
|
18
18
|
Award: 'award',
|
|
19
|
+
Background: 'background',
|
|
20
|
+
Bell: 'bell',
|
|
21
|
+
BellSlash: 'bellSlash',
|
|
19
22
|
Bookmark: 'bookmark',
|
|
20
23
|
BookmarkHollow: 'bookmarkHollow',
|
|
21
24
|
Check: 'check',
|
|
25
|
+
Clock: 'clock',
|
|
22
26
|
Comment: 'comment',
|
|
23
27
|
Crown: 'crown',
|
|
24
28
|
Delete: 'delete',
|
|
25
29
|
Edit: 'edit',
|
|
30
|
+
Effect: 'effect',
|
|
31
|
+
Engine: 'engine',
|
|
32
|
+
Envelope: 'envelope',
|
|
33
|
+
EnvelopeOpen: 'envelopeOpen',
|
|
34
|
+
Globe: 'globe',
|
|
26
35
|
Heart: 'heart',
|
|
27
36
|
HeartHollow: 'heartHollow',
|
|
28
37
|
Hide: 'hide',
|
|
38
|
+
Information: 'information',
|
|
39
|
+
Level: 'level',
|
|
29
40
|
Lock: 'lock',
|
|
30
41
|
Medal: 'medal',
|
|
42
|
+
Message: 'message',
|
|
31
43
|
Minus: 'minus',
|
|
32
44
|
Options: 'options',
|
|
45
|
+
Particle: 'particle',
|
|
46
|
+
Pin: 'pin',
|
|
47
|
+
Player: 'player',
|
|
48
|
+
Playlist: 'playlist',
|
|
33
49
|
Plus: 'plus',
|
|
50
|
+
Post: 'post',
|
|
51
|
+
Question: 'question',
|
|
34
52
|
Ranking: 'ranking',
|
|
53
|
+
Replay: 'replay',
|
|
35
54
|
Reply: 'reply',
|
|
55
|
+
Restore: 'restore',
|
|
56
|
+
Room: 'room',
|
|
36
57
|
Search: 'search',
|
|
37
58
|
Settings: 'settings',
|
|
38
59
|
Show: 'show',
|
|
39
60
|
Shuffle: 'shuffle',
|
|
61
|
+
Skin: 'skin',
|
|
40
62
|
Star: 'star',
|
|
41
63
|
StarHalf: 'starHalf',
|
|
42
64
|
StarHollow: 'starHollow',
|
|
65
|
+
Stopwatch: 'stopwatch',
|
|
66
|
+
Tag: 'tag',
|
|
43
67
|
ThumbsDown: 'thumbsDown',
|
|
44
68
|
ThumbsDownHollow: 'thumbsDownHollow',
|
|
45
69
|
ThumbsUp: 'thumbsUp',
|
|
@@ -12,11 +12,12 @@ export * from './particle';
|
|
|
12
12
|
export * from './playlist';
|
|
13
13
|
export * from './post';
|
|
14
14
|
export * from './replay';
|
|
15
|
-
export * from './resource';
|
|
16
15
|
export * from './room';
|
|
17
16
|
export * from './runtimes';
|
|
18
17
|
export * from './server';
|
|
19
18
|
export * from './service';
|
|
19
|
+
export { Sil } from './sil';
|
|
20
20
|
export * from './skin';
|
|
21
|
+
export { Srl } from './srl';
|
|
21
22
|
export { Tag } from './tag';
|
|
22
23
|
export * from './text';
|
|
@@ -27,7 +27,6 @@ __exportStar(require("./particle"), exports);
|
|
|
27
27
|
__exportStar(require("./playlist"), exports);
|
|
28
28
|
__exportStar(require("./post"), exports);
|
|
29
29
|
__exportStar(require("./replay"), exports);
|
|
30
|
-
__exportStar(require("./resource"), exports);
|
|
31
30
|
__exportStar(require("./room"), exports);
|
|
32
31
|
__exportStar(require("./runtimes"), exports);
|
|
33
32
|
__exportStar(require("./server"), exports);
|
|
@@ -2,8 +2,8 @@ import { BackgroundItem } from '../background/item';
|
|
|
2
2
|
import { EffectItem } from '../effect/item';
|
|
3
3
|
import { EngineItem } from '../engine/item';
|
|
4
4
|
import { ParticleItem } from '../particle/item';
|
|
5
|
-
import { SRL } from '../resource/srl';
|
|
6
5
|
import { SkinItem } from '../skin/item';
|
|
6
|
+
import { Srl } from '../srl';
|
|
7
7
|
import { Tag } from '../tag';
|
|
8
8
|
export type UseItem<T> = {
|
|
9
9
|
useDefault: true;
|
|
@@ -25,8 +25,8 @@ export type LevelItem = {
|
|
|
25
25
|
useBackground: UseItem<BackgroundItem>;
|
|
26
26
|
useEffect: UseItem<EffectItem>;
|
|
27
27
|
useParticle: UseItem<ParticleItem>;
|
|
28
|
-
cover:
|
|
29
|
-
bgm:
|
|
30
|
-
preview?:
|
|
31
|
-
data:
|
|
28
|
+
cover: Srl;
|
|
29
|
+
bgm: Srl;
|
|
30
|
+
preview?: Srl;
|
|
31
|
+
data: Srl;
|
|
32
32
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Srl } from '../srl';
|
|
2
2
|
import { Tag } from '../tag';
|
|
3
3
|
export type ParticleItem = {
|
|
4
4
|
name: string;
|
|
@@ -8,7 +8,7 @@ export type ParticleItem = {
|
|
|
8
8
|
subtitle: string;
|
|
9
9
|
author: string;
|
|
10
10
|
tags: Tag[];
|
|
11
|
-
thumbnail:
|
|
12
|
-
data:
|
|
13
|
-
texture:
|
|
11
|
+
thumbnail: Srl;
|
|
12
|
+
data: Srl;
|
|
13
|
+
texture: Srl;
|
|
14
14
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { LevelItem } from '../level/item';
|
|
2
|
-
import {
|
|
2
|
+
import { Srl } from '../srl';
|
|
3
3
|
import { Tag } from '../tag';
|
|
4
4
|
export type PlaylistItem = {
|
|
5
5
|
name: string;
|
|
@@ -10,5 +10,5 @@ export type PlaylistItem = {
|
|
|
10
10
|
author: string;
|
|
11
11
|
tags: Tag[];
|
|
12
12
|
levels: LevelItem[];
|
|
13
|
-
thumbnail?:
|
|
13
|
+
thumbnail?: Srl;
|
|
14
14
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Srl } from '../srl';
|
|
2
2
|
import { Tag } from '../tag';
|
|
3
3
|
export type PostItem = {
|
|
4
4
|
name: string;
|
|
@@ -8,5 +8,5 @@ export type PostItem = {
|
|
|
8
8
|
time: number;
|
|
9
9
|
author: string;
|
|
10
10
|
tags: Tag[];
|
|
11
|
-
thumbnail?:
|
|
11
|
+
thumbnail?: Srl;
|
|
12
12
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { LevelItem } from '../level/item';
|
|
2
|
-
import {
|
|
2
|
+
import { Srl } from '../srl';
|
|
3
3
|
import { Tag } from '../tag';
|
|
4
4
|
export type ReplayItem = {
|
|
5
5
|
name: string;
|
|
@@ -10,6 +10,6 @@ export type ReplayItem = {
|
|
|
10
10
|
author: string;
|
|
11
11
|
tags: Tag[];
|
|
12
12
|
level: LevelItem;
|
|
13
|
-
data:
|
|
14
|
-
configuration:
|
|
13
|
+
data: Srl;
|
|
14
|
+
configuration: Srl;
|
|
15
15
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Srl } from '../srl';
|
|
2
2
|
import { Tag } from '../tag';
|
|
3
3
|
export type RoomItem = {
|
|
4
4
|
name: string;
|
|
@@ -6,7 +6,7 @@ export type RoomItem = {
|
|
|
6
6
|
subtitle: string;
|
|
7
7
|
master: string;
|
|
8
8
|
tags: Tag[];
|
|
9
|
-
cover?:
|
|
10
|
-
bgm?:
|
|
11
|
-
preview?:
|
|
9
|
+
cover?: Srl;
|
|
10
|
+
bgm?: Srl;
|
|
11
|
+
preview?: Srl;
|
|
12
12
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export type
|
|
1
|
+
import { ServiceUserProfile } from '../service/user-profile';
|
|
2
|
+
export type ServerAuthenticateRequest = {
|
|
3
3
|
type: 'authenticateServer';
|
|
4
4
|
address: string;
|
|
5
5
|
time: number;
|
|
6
|
-
userProfile:
|
|
6
|
+
userProfile: ServiceUserProfile;
|
|
7
7
|
};
|
|
8
|
-
export type
|
|
8
|
+
export type ServerAuthenticateResponse = {
|
|
9
9
|
session: string;
|
|
10
10
|
expiration: number;
|
|
11
11
|
};
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { ServerAuthenticateRequest, ServerAuthenticateResponse } from './authenticate';
|
|
2
|
+
export { ServerConfiguration } from './configuration';
|
|
2
3
|
export { ServerForm } from './form';
|
|
3
4
|
export { ServerInfo, ServerInfoButton } from './info';
|
|
4
5
|
export * from './items';
|
|
6
|
+
export { ServerMessage } from './message';
|
|
5
7
|
export * from './multiplayer';
|
|
6
|
-
export { ServerCollectionItemOption, ServerFileOption, ServerMultiOption, ServerOption, ServerSelectOption, ServerServerItemOption, ServerSliderOption, ServerTextAreaOption, ServerTextOption, ServerToggleOption, } from './option';
|
|
8
|
+
export { ServerCollectionItemOption, ServerFileOption, ServerMultiOption, ServerOption, ServerSelectOption, ServerServerItemOption, ServerServerItemsOption, ServerSliderOption, ServerTextAreaOption, ServerTextOption, ServerToggleOption, } from './option';
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Srl } from '../srl';
|
|
2
|
+
import { ServerConfiguration } from './configuration';
|
|
2
3
|
export type ServerInfo = {
|
|
3
4
|
title: string;
|
|
4
5
|
description?: string;
|
|
5
6
|
buttons: ServerInfoButton[];
|
|
6
|
-
|
|
7
|
+
configuration: ServerConfiguration;
|
|
8
|
+
banner?: Srl;
|
|
7
9
|
};
|
|
8
10
|
export type ServerInfoButton = {
|
|
9
|
-
type: 'authentication' | 'multiplayer' | 'post' | 'playlist' | 'level' | 'replay' | 'skin' | 'background' | 'effect' | 'particle' | 'engine';
|
|
11
|
+
type: 'authentication' | 'multiplayer' | 'post' | 'playlist' | 'level' | 'replay' | 'skin' | 'background' | 'effect' | 'particle' | 'engine' | 'configuration';
|
|
10
12
|
};
|
|
@@ -1,2 +1,4 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export {
|
|
1
|
+
export { ServerItemCommunityComment } from './comment';
|
|
2
|
+
export { ServerItemCommunityCommentList } from './list';
|
|
3
|
+
export { ServerSubmitItemCommunityCommentActionRequest, ServerSubmitItemCommunityCommentActionResponse, } from './submit';
|
|
4
|
+
export { ServerUploadItemCommunityCommentActionResponse } from './upload';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export type
|
|
1
|
+
import { ServerItemCommunityComment } from './comment';
|
|
2
|
+
export type ServerItemCommunityCommentList = {
|
|
3
3
|
pageCount: number;
|
|
4
|
-
comments:
|
|
4
|
+
comments: ServerItemCommunityComment[];
|
|
5
5
|
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export type ServerSubmitItemCommunityCommentActionRequest = {
|
|
2
|
+
values: string;
|
|
3
|
+
};
|
|
4
|
+
export type ServerSubmitItemCommunityCommentActionResponse = {
|
|
5
|
+
key: string;
|
|
6
|
+
hashes: string[];
|
|
7
|
+
shouldUpdateCommunity?: boolean;
|
|
8
|
+
shouldUpdateComments?: boolean;
|
|
9
|
+
shouldNavigateCommentsToPage?: number;
|
|
10
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type ServerUploadItemCommunityCommentActionResponse = object;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
export * from './comment';
|
|
2
|
-
export {
|
|
3
|
-
export {
|
|
2
|
+
export { ServerItemCommunityInfo } from './info';
|
|
3
|
+
export { ServerSubmitItemCommunityActionRequest, ServerSubmitItemCommunityActionResponse, } from './submit';
|
|
4
|
+
export { ServerUploadItemCommunityActionResponse } from './upload';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ServerForm } from '../../form';
|
|
2
|
-
import {
|
|
3
|
-
export type
|
|
2
|
+
import { ServerItemCommunityComment } from './comment/comment';
|
|
3
|
+
export type ServerItemCommunityInfo = {
|
|
4
4
|
actions: ServerForm[];
|
|
5
|
-
topComments:
|
|
5
|
+
topComments: ServerItemCommunityComment[];
|
|
6
6
|
};
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
-
export type
|
|
1
|
+
export type ServerSubmitItemCommunityActionRequest = {
|
|
2
2
|
values: string;
|
|
3
3
|
};
|
|
4
|
-
export type
|
|
4
|
+
export type ServerSubmitItemCommunityActionResponse = {
|
|
5
|
+
key: string;
|
|
6
|
+
hashes: string[];
|
|
5
7
|
shouldUpdateCommunity?: boolean;
|
|
8
|
+
shouldUpdateComments?: boolean;
|
|
6
9
|
shouldNavigateCommentsToPage?: number;
|
|
7
10
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type ServerUploadItemCommunityActionResponse = object;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
export type
|
|
1
|
+
export type ServerCreateItemRequest = {
|
|
2
2
|
values: string;
|
|
3
3
|
};
|
|
4
|
-
export type
|
|
5
|
-
name: string;
|
|
4
|
+
export type ServerCreateItemResponse = {
|
|
6
5
|
key: string;
|
|
7
6
|
hashes: string[];
|
|
7
|
+
shouldUpdateInfo?: boolean;
|
|
8
|
+
shouldNavigateToItem?: string;
|
|
8
9
|
};
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
1
|
+
import { ServerForm } from '../form';
|
|
2
|
+
import { ServerItemLeaderboard } from './leaderboard/leaderboard';
|
|
3
|
+
import { ServerItemSection } from './section';
|
|
4
|
+
export type ServerItemDetails<T> = {
|
|
4
5
|
item: T;
|
|
5
|
-
description
|
|
6
|
+
description?: string;
|
|
7
|
+
actions: ServerForm[];
|
|
6
8
|
hasCommunity: boolean;
|
|
7
|
-
leaderboards:
|
|
8
|
-
sections:
|
|
9
|
+
leaderboards: ServerItemLeaderboard[];
|
|
10
|
+
sections: ServerItemSection[];
|
|
9
11
|
};
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
export * from './community';
|
|
2
|
-
export {
|
|
3
|
-
export {
|
|
4
|
-
export {
|
|
2
|
+
export { ServerCreateItemRequest, ServerCreateItemResponse } from './create';
|
|
3
|
+
export { ServerItemDetails } from './details';
|
|
4
|
+
export { ServerItemInfo } from './info';
|
|
5
5
|
export * from './leaderboard';
|
|
6
|
-
export
|
|
7
|
-
export {
|
|
8
|
-
export {
|
|
6
|
+
export * from './level-result';
|
|
7
|
+
export { ServerItemList } from './list';
|
|
8
|
+
export { ServerItemSection, ServerItemSectionTyped } from './section';
|
|
9
|
+
export { ServerSubmitItemActionRequest, ServerSubmitItemActionResponse } from './submit-action';
|
|
10
|
+
export { ServerUploadItemResponse } from './upload';
|
|
11
|
+
export { ServerUploadItemActionResponse } from './upload-action';
|
|
@@ -16,3 +16,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./community"), exports);
|
|
18
18
|
__exportStar(require("./leaderboard"), exports);
|
|
19
|
+
__exportStar(require("./level-result"), exports);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Srl } from '../../srl';
|
|
2
2
|
import { ServerForm } from '../form';
|
|
3
|
-
import {
|
|
4
|
-
export type
|
|
3
|
+
import { ServerItemSection } from './section';
|
|
4
|
+
export type ServerItemInfo = {
|
|
5
5
|
creates?: ServerForm[];
|
|
6
6
|
searches?: ServerForm[];
|
|
7
|
-
sections:
|
|
8
|
-
banner?:
|
|
7
|
+
sections: ServerItemSection[];
|
|
8
|
+
banner?: Srl;
|
|
9
9
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export type
|
|
3
|
-
topRecords:
|
|
1
|
+
import { ServerItemLeaderboardRecord } from './record';
|
|
2
|
+
export type ServerItemLeaderboardDetails = {
|
|
3
|
+
topRecords: ServerItemLeaderboardRecord[];
|
|
4
4
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export {
|
|
1
|
+
export { ServerItemLeaderboardDetails } from './details';
|
|
2
|
+
export { ServerItemLeaderboard } from './leaderboard';
|
|
3
3
|
export * from './record';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export {
|
|
3
|
-
export {
|
|
1
|
+
export { ServerItemLeaderboardRecordDetails } from './details';
|
|
2
|
+
export { ServerItemLeaderboardRecordList } from './list';
|
|
3
|
+
export { ServerItemLeaderboardRecord } from './record';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export type
|
|
1
|
+
import { ServerItemLeaderboardRecord } from './record';
|
|
2
|
+
export type ServerItemLeaderboardRecordList = {
|
|
3
3
|
pageCount: number;
|
|
4
|
-
records:
|
|
4
|
+
records: ServerItemLeaderboardRecord[];
|
|
5
5
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type ServerUploadLevelResultResponse = object;
|