@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
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,5 +1,5 @@
1
1
  import { ServerForm } from '../form';
2
- export type ItemList<T> = {
2
+ export type ServerItemList<T> = {
3
3
  pageCount: number;
4
4
  items: T[];
5
5
  searches?: ServerForm[];
@@ -1,7 +1,24 @@
1
+ import { BackgroundItem } from '../../background';
2
+ import { EffectItem } from '../../effect';
3
+ import { EngineItem } from '../../engine';
1
4
  import { Icon } from '../../icon';
5
+ import { LevelItem } from '../../level';
6
+ import { ParticleItem } from '../../particle';
7
+ import { PlaylistItem } from '../../playlist';
8
+ import { PostItem } from '../../post';
9
+ import { ReplayItem } from '../../replay';
10
+ import { RoomItem } from '../../room';
11
+ import { SkinItem } from '../../skin';
2
12
  import { Text } from '../../text';
3
- export type ItemSection<T> = {
13
+ import { ServerForm } from '../form';
14
+ export type ServerItemSection = ServerItemSectionTyped<'post', PostItem> | ServerItemSectionTyped<'playlist', PlaylistItem> | ServerItemSectionTyped<'level', LevelItem> | ServerItemSectionTyped<'skin', SkinItem> | ServerItemSectionTyped<'background', BackgroundItem> | ServerItemSectionTyped<'effect', EffectItem> | ServerItemSectionTyped<'particle', ParticleItem> | ServerItemSectionTyped<'engine', EngineItem> | ServerItemSectionTyped<'replay', ReplayItem> | ServerItemSectionTyped<'room', RoomItem>;
15
+ export type ServerItemSectionTyped<TItemType, TItem> = {
4
16
  title: Text | (string & {});
5
17
  icon?: Icon | (string & {});
6
- items: T[];
18
+ description?: string;
19
+ help?: string;
20
+ itemType: TItemType;
21
+ items: TItem[];
22
+ search?: ServerForm;
23
+ searchValues?: string;
7
24
  };
@@ -0,0 +1,10 @@
1
+ export type ServerSubmitItemActionRequest = {
2
+ values: string;
3
+ };
4
+ export type ServerSubmitItemActionResponse = {
5
+ key: string;
6
+ hashes: string[];
7
+ shouldUpdateItem?: boolean;
8
+ shouldRemoveItem?: boolean;
9
+ shouldNavigateToItem?: string;
10
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1 @@
1
+ export type ServerUploadItemActionResponse = object;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1 +1 @@
1
- export type UploadItemResponse = {};
1
+ export type ServerUploadItemResponse = object;
@@ -0,0 +1,3 @@
1
+ export type ServerMessage = {
2
+ message?: string;
3
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,11 +1,12 @@
1
+ import { ServiceUserId } from '../../service/user-profile';
1
2
  export type ChatMessage = TextChatMessage | QuickChatMessage;
2
3
  export type QuickChatMessage = {
3
- userId: string;
4
+ userId: ServiceUserId;
4
5
  type: 'quick';
5
6
  value: 'hello' | 'glhf' | 'gg' | 'ns' | 'ty';
6
7
  };
7
8
  export type TextChatMessage = {
8
- userId: 'room' | (string & {});
9
+ userId: ServiceUserId | null;
9
10
  type: 'text';
10
11
  value: string;
11
12
  };
@@ -1,5 +1,5 @@
1
- import { LevelLocator } from '../level-locator';
1
+ import { Sil } from '../../../sil';
2
2
  export type AddSuggestionCommand = {
3
3
  type: 'addSuggestion';
4
- level: LevelLocator;
4
+ level: Sil;
5
5
  };
@@ -1,4 +1,5 @@
1
+ import { ServiceUserId } from '../../../service/user-profile';
1
2
  export type RemoveUserCommand = {
2
3
  type: 'removeUser';
3
- userId: string;
4
+ userId: ServiceUserId;
4
5
  };
@@ -1,5 +1,6 @@
1
+ import { ServiceUserId } from '../../../service/user-profile';
1
2
  export type ReportUserCommand = {
2
3
  type: 'reportUser';
3
- userId: string;
4
+ userId: ServiceUserId;
4
5
  optionValues: string;
5
6
  };
@@ -1,4 +1,5 @@
1
+ import { ServiceUserId } from '../../../service/user-profile';
1
2
  export type UpdateLeadCommand = {
2
3
  type: 'updateLead';
3
- lead: string;
4
+ lead: ServiceUserId;
4
5
  };
@@ -1,5 +1,5 @@
1
- import { LevelLocator } from '../level-locator';
1
+ import { Sil } from '../../../sil';
2
2
  export type UpdateLevelCommand = {
3
3
  type: 'updateLevel';
4
- level: LevelLocator;
4
+ level: Sil;
5
5
  };
@@ -1,4 +1,5 @@
1
+ import { ServiceUserId } from '../../../service/user-profile';
1
2
  export type UpdateMasterCommand = {
2
3
  type: 'updateMaster';
3
- master: string;
4
+ master: ServiceUserId;
4
5
  };
@@ -1,5 +1,5 @@
1
- export type CreateRoomRequest = {};
2
- export type CreateRoomResponse = {
1
+ export type ServerCreateRoomRequest = object;
2
+ export type ServerCreateRoomResponse = {
3
3
  name: string;
4
4
  key: string;
5
5
  };
@@ -1,6 +1,7 @@
1
1
  import { AutoExit } from '../../../auto-exit';
2
+ import { ServiceUserId } from '../../../service/user-profile';
3
+ import { Sil } from '../../../sil';
2
4
  import { ServerForm } from '../../form';
3
- import { LevelLocator } from '../level-locator';
4
5
  import { LevelOptionEntry } from '../level-option-entry';
5
6
  import { ResultEntry } from '../result-entry';
6
7
  import { RoomStatus } from '../room-status';
@@ -14,16 +15,16 @@ export type UpdateEvent = {
14
15
  reportUserOptions: ServerForm[];
15
16
  title: string;
16
17
  status: RoomStatus;
17
- master: 'room' | (string & {});
18
- lead: 'room' | (string & {});
18
+ master: ServiceUserId | null;
19
+ lead: ServiceUserId | null;
19
20
  options: ServerForm[];
20
21
  optionValues: string;
21
- level?: LevelLocator;
22
+ level: Sil | null;
22
23
  levelOptions: LevelOptionEntry[];
23
24
  autoExit: AutoExit;
24
25
  isSuggestionsLocked: boolean;
25
26
  suggestions: Suggestion[];
26
- scoreboardDescription: string;
27
+ scoreboardDescription?: string;
27
28
  scoreboardSections: ScoreboardSection[];
28
29
  results: ResultEntry[];
29
30
  users: RoomUser[];
@@ -1,4 +1,5 @@
1
+ import { ServiceUserId } from '../../../service/user-profile';
1
2
  export type UpdateLeadEvent = {
2
3
  type: 'updateLead';
3
- lead: 'room' | (string & {});
4
+ lead: ServiceUserId | null;
4
5
  };
@@ -1,5 +1,5 @@
1
- import { LevelLocator } from '../level-locator';
1
+ import { Sil } from '../../../sil';
2
2
  export type UpdateLevelEvent = {
3
3
  type: 'updateLevel';
4
- level?: LevelLocator;
4
+ level: Sil | null;
5
5
  };
@@ -1,4 +1,5 @@
1
+ import { ServiceUserId } from '../../../service/user-profile';
1
2
  export type UpdateMasterEvent = {
2
3
  type: 'updateMaster';
3
- master: 'room' | (string & {});
4
+ master: ServiceUserId | null;
4
5
  };
@@ -1,4 +1,4 @@
1
1
  export type UpdateScoreboardDescriptionEvent = {
2
2
  type: 'updateScoreboardDescription';
3
- scoreboardDescription: string;
3
+ scoreboardDescription?: string;
4
4
  };
@@ -1,9 +1,8 @@
1
1
  export { ChatMessage, QuickChatMessage, TextChatMessage } from './chat-message';
2
2
  export * from './commands';
3
- export { CreateRoomRequest, CreateRoomResponse } from './create-room';
3
+ export { ServerCreateRoomRequest, ServerCreateRoomResponse } from './create-room';
4
4
  export * from './events';
5
- export { JoinRoomRequest, JoinRoomResponse } from './join-room';
6
- export { LevelLocator } from './level-locator';
5
+ export { ServerJoinRoomRequest, ServerJoinRoomResponse } from './join-room';
7
6
  export { LevelOptionEntry } from './level-option-entry';
8
7
  export { ResultEntry } from './result-entry';
9
8
  export { RoomStatus } from './room-status';
@@ -1,12 +1,12 @@
1
- import { UserProfile } from '../../service/user-profile';
2
- export type JoinRoomRequest = {
1
+ import { ServiceUserProfile } from '../../service/user-profile';
2
+ export type ServerJoinRoomRequest = {
3
3
  type: 'authenticateMultiplayer';
4
4
  address: string;
5
5
  room: string;
6
6
  time: number;
7
- userProfile: UserProfile;
7
+ userProfile: ServiceUserProfile;
8
8
  };
9
- export type JoinRoomResponse = {
9
+ export type ServerJoinRoomResponse = {
10
10
  url: string;
11
11
  type: 'round';
12
12
  session: string;
@@ -1,5 +1,6 @@
1
1
  import { GameplayResult } from '../../gameplay-result';
2
+ import { ServiceUserId } from '../../service/user-profile';
2
3
  export type ResultEntry = {
3
- userId: string;
4
+ userId: ServiceUserId;
4
5
  result: GameplayResult;
5
6
  };
@@ -1,5 +1,6 @@
1
+ import { ServiceUserId } from '../../service/user-profile';
1
2
  import { Text } from '../../text';
2
3
  export type ScoreEntry = {
3
- userId: string;
4
+ userId: ServiceUserId;
4
5
  value: Text | (string & {});
5
6
  };
@@ -1,5 +1,6 @@
1
- import { LevelLocator } from './level-locator';
1
+ import { ServiceUserId } from '../../service/user-profile';
2
+ import { Sil } from '../../sil';
2
3
  export type Suggestion = {
3
- userId: string;
4
- level: LevelLocator;
4
+ userId: ServiceUserId;
5
+ level: Sil;
5
6
  };
@@ -1,5 +1,6 @@
1
+ import { ServiceUserId } from '../../service/user-profile';
1
2
  import { UserStatus } from './user-status';
2
3
  export type UserStatusEntry = {
3
- userId: string;
4
+ userId: ServiceUserId;
4
5
  status: UserStatus;
5
6
  };
@@ -1,29 +1,34 @@
1
1
  import { ItemType } from '../item-type';
2
+ import { Sil } from '../sil';
2
3
  import { Text } from '../text';
3
- export type ServerOption = ServerTextOption | ServerTextAreaOption | ServerSliderOption | ServerToggleOption | ServerSelectOption | ServerMultiOption | ServerServerItemOption | ServerCollectionItemOption | ServerFileOption;
4
+ export type ServerOption = ServerTextOption | ServerTextAreaOption | ServerSliderOption | ServerToggleOption | ServerSelectOption | ServerMultiOption | ServerServerItemOption | ServerServerItemsOption | ServerCollectionItemOption | ServerFileOption;
4
5
  export type ServerTextOption = {
5
6
  query: string;
6
7
  name: Text | (string & {});
7
8
  description?: string;
8
- required?: boolean;
9
+ required: boolean;
9
10
  type: 'text';
11
+ def: string;
10
12
  placeholder: Text | (string & {});
11
- limit?: number;
13
+ limit: number;
14
+ shortcuts: string[];
12
15
  };
13
16
  export type ServerTextAreaOption = {
14
17
  query: string;
15
18
  name: Text | (string & {});
16
19
  description?: string;
17
- required?: boolean;
20
+ required: boolean;
18
21
  type: 'textArea';
22
+ def: string;
19
23
  placeholder: Text | (string & {});
20
- limit?: number;
24
+ limit: number;
25
+ shortcuts: string[];
21
26
  };
22
27
  export type ServerSliderOption = {
23
28
  query: string;
24
29
  name: Text | (string & {});
25
30
  description?: string;
26
- required?: boolean;
31
+ required: boolean;
27
32
  type: 'slider';
28
33
  def: number;
29
34
  min: number;
@@ -35,15 +40,15 @@ export type ServerToggleOption = {
35
40
  query: string;
36
41
  name: Text | (string & {});
37
42
  description?: string;
38
- required?: boolean;
43
+ required: boolean;
39
44
  type: 'toggle';
40
- def: 0 | 1;
45
+ def: boolean;
41
46
  };
42
47
  export type ServerSelectOption = {
43
48
  query: string;
44
49
  name: Text | (string & {});
45
50
  description?: string;
46
- required?: boolean;
51
+ required: boolean;
47
52
  type: 'select';
48
53
  def: number;
49
54
  values: (Text | (string & {}))[];
@@ -52,24 +57,37 @@ export type ServerMultiOption = {
52
57
  query: string;
53
58
  name: Text | (string & {});
54
59
  description?: string;
55
- required?: boolean;
60
+ required: boolean;
56
61
  type: 'multi';
57
- defs: boolean[];
62
+ def: boolean[];
58
63
  values: (Text | (string & {}))[];
59
64
  };
60
65
  export type ServerServerItemOption = {
61
66
  query: string;
62
67
  name: Text | (string & {});
63
68
  description?: string;
64
- required?: boolean;
69
+ required: boolean;
65
70
  type: 'serverItem';
66
71
  itemType: ItemType;
72
+ def: Sil | null;
73
+ allowOtherServers: boolean;
74
+ };
75
+ export type ServerServerItemsOption = {
76
+ query: string;
77
+ name: Text | (string & {});
78
+ description?: string;
79
+ required: boolean;
80
+ type: 'serverItems';
81
+ itemType: ItemType;
82
+ def: Sil[];
83
+ allowOtherServers: boolean;
84
+ limit: number;
67
85
  };
68
86
  export type ServerCollectionItemOption = {
69
87
  query: string;
70
88
  name: Text | (string & {});
71
89
  description?: string;
72
- required?: boolean;
90
+ required: boolean;
73
91
  type: 'collectionItem';
74
92
  itemType: ItemType;
75
93
  };
@@ -77,6 +95,6 @@ export type ServerFileOption = {
77
95
  query: string;
78
96
  name: Text | (string & {});
79
97
  description?: string;
80
- required?: boolean;
98
+ required: boolean;
81
99
  type: 'file';
82
100
  };
@@ -1,7 +1,9 @@
1
- import { UserProfile } from '../service/user-profile';
2
- export type AuthenticateExternalRequest = {
1
+ import { ServerMessage } from '../server/message';
2
+ import { ServiceUserProfile } from '../service/user-profile';
3
+ export type ServiceAuthenticateExternalRequest = {
3
4
  type: 'authenticateExternal';
4
5
  url: string;
5
6
  time: number;
6
- userProfile: UserProfile;
7
+ userProfile: ServiceUserProfile;
7
8
  };
9
+ export type ServiceAuthenticateExternalResponse = ServerMessage;
@@ -1,3 +1,3 @@
1
- export { AuthenticateExternalRequest } from './authenticate-external';
1
+ export { ServiceAuthenticateExternalRequest, ServiceAuthenticateExternalResponse, } from './authenticate-external';
2
2
  export { signaturePublicKeyJWK } from './keys';
3
- export { UserProfile } from './user-profile';
3
+ export { ServiceUserId, ServiceUserProfile } from './user-profile';
@@ -1,5 +1,5 @@
1
- export type UserProfile = {
2
- id: string;
1
+ export type ServiceUserProfile = {
2
+ id: ServiceUserId;
3
3
  handle: string;
4
4
  name: string;
5
5
  avatarForegroundColor: string;
@@ -11,3 +11,8 @@ export type UserProfile = {
11
11
  }[];
12
12
  favorites: string[];
13
13
  };
14
+ declare const serviceUserId: unique symbol;
15
+ export type ServiceUserId = string & {
16
+ [serviceUserId]: never;
17
+ };
18
+ export {};
@@ -1,4 +1,4 @@
1
- export type LevelLocator = {
1
+ export type Sil = {
2
2
  address: string;
3
3
  name: string;
4
4
  };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +1,4 @@
1
- import { SRL } from '../resource/srl';
1
+ import { Srl } from '../srl';
2
2
  import { Tag } from '../tag';
3
3
  export type SkinItem = {
4
4
  name: string;
@@ -8,7 +8,7 @@ export type SkinItem = {
8
8
  subtitle: string;
9
9
  author: string;
10
10
  tags: Tag[];
11
- thumbnail: SRL;
12
- data: SRL;
13
- texture: SRL;
11
+ thumbnail: Srl;
12
+ data: Srl;
13
+ texture: Srl;
14
14
  };
@@ -0,0 +1,4 @@
1
+ export type Srl = {
2
+ hash?: string | null;
3
+ url?: string | null;
4
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });