@plexcord/types 1.18.2 → 1.18.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.
Files changed (73) hide show
  1. package/package.json +1 -1
  2. package/plugins/alwaysExpandProfile/index.d.ts +1 -1
  3. package/plugins/showMeYourName/index.d.ts +85 -42
  4. package/plugins/showMessageEmbeds/index.d.ts +1 -0
  5. package/plugins/showTimeoutDuration/index.d.ts +9 -6
  6. package/plugins/sidebarChat/index.d.ts +11 -6
  7. package/plugins/sidebarChat/store.d.ts +8 -4
  8. package/plugins/signature/index.d.ts +23 -10
  9. package/plugins/silentMessageToggle/index.d.ts +13 -8
  10. package/plugins/silentTyping/index.d.ts +60 -34
  11. package/plugins/{sortFriendRequests → sortFriends}/index.d.ts +7 -11
  12. package/plugins/soundBoardLogger/index.d.ts +33 -22
  13. package/plugins/soundBoardLogger/settings.d.ts +32 -22
  14. package/plugins/splitLargeMessages/index.d.ts +25 -12
  15. package/plugins/spotifyActivityToggle/index.d.ts +1 -0
  16. package/plugins/spotifyCrack/index.d.ts +9 -4
  17. package/plugins/spotifyShareCommands/index.d.ts +1 -0
  18. package/plugins/startupTimings/index.d.ts +2 -0
  19. package/plugins/statusPresets/index.d.ts +13 -18
  20. package/plugins/steamStatusSync/index.d.ts +73 -52
  21. package/plugins/stickerBlocker/index.d.ts +17 -8
  22. package/plugins/stickerPaste/index.d.ts +1 -0
  23. package/plugins/streamerModeOnStream/index.d.ts +1 -0
  24. package/plugins/streamingCodecDisabler/index.d.ts +31 -4
  25. package/plugins/superReactionTweaks/index.d.ts +25 -12
  26. package/plugins/textReplace/index.d.ts +11 -4
  27. package/plugins/themeAttributes/index.d.ts +1 -0
  28. package/plugins/timelessClips/index.d.ts +5 -2
  29. package/plugins/timezones/index.d.ts +99 -55
  30. package/plugins/toastNotifications/index.d.ts +137 -76
  31. package/plugins/toggleVideoBind/index.d.ts +17 -8
  32. package/plugins/translate/index.d.ts +47 -28
  33. package/plugins/translate/settings.d.ts +46 -28
  34. package/plugins/typingIndicator/index.d.ts +25 -14
  35. package/plugins/typingTweaks/index.d.ts +13 -6
  36. package/plugins/unindent/index.d.ts +1 -0
  37. package/plugins/unitConverter/index.d.ts +17 -12
  38. package/plugins/unlimitedAccounts/index.d.ts +5 -2
  39. package/plugins/unlockedAvatarZoom/index.d.ts +5 -2
  40. package/plugins/unsuppressEmbeds/index.d.ts +1 -0
  41. package/plugins/userMessagesPronouns/index.d.ts +13 -8
  42. package/plugins/userMessagesPronouns/settings.d.ts +12 -8
  43. package/plugins/userVoiceShow/index.d.ts +13 -6
  44. package/plugins/usrbg/index.d.ts +17 -12
  45. package/plugins/validReply/index.d.ts +1 -0
  46. package/plugins/validUser/index.d.ts +1 -0
  47. package/plugins/vcDoubleClick/index.d.ts +1 -0
  48. package/plugins/vcNarrator/index.d.ts +47 -22
  49. package/plugins/vcNarrator/settings.d.ts +46 -22
  50. package/plugins/videoSpeed/index.d.ts +8 -3
  51. package/plugins/viewIcons/index.d.ts +9 -4
  52. package/plugins/viewRaw/index.d.ts +13 -8
  53. package/plugins/voiceButtons/index.d.ts +61 -33
  54. package/plugins/voiceButtons/settings.d.ts +60 -33
  55. package/plugins/voiceChannelLog.dev/index.d.ts +25 -14
  56. package/plugins/voiceChatUtils/index.d.ts +9 -4
  57. package/plugins/voiceDownload/index.d.ts +1 -0
  58. package/plugins/voiceMessages/index.d.ts +17 -8
  59. package/plugins/volumeBooster/index.d.ts +5 -2
  60. package/plugins/wallpaperFree/index.d.ts +13 -8
  61. package/plugins/webContextMenus.web/index.d.ts +5 -2
  62. package/plugins/webKeybinds.web/index.d.ts +1 -0
  63. package/plugins/webScreenShareFixes.web/index.d.ts +1 -0
  64. package/plugins/whoReacted/index.d.ts +5 -2
  65. package/plugins/whosWatching/index.d.ts +5 -2
  66. package/plugins/writeUpperCase/index.d.ts +5 -2
  67. package/plugins/xsOverlay/index.d.ts +57 -28
  68. package/plugins/youtubeAdblock.desktop/index.d.ts +1 -0
  69. package/plugins/youtubeDescription/index.d.ts +1 -0
  70. package/plugins/toneIndicators/ToneIndicator.d.ts +0 -6
  71. package/plugins/toneIndicators/index.d.ts +0 -41
  72. package/plugins/toneIndicators/indicators.d.ts +0 -2
  73. /package/plugins/{seeSummaries → summaries}/index.d.ts +0 -0
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@plexcord/types",
3
3
  "private": false,
4
- "version": "1.18.2",
4
+ "version": "1.18.3",
5
5
  "description": "",
6
6
  "types": "index.d.ts",
7
7
  "scripts": {
@@ -15,6 +15,6 @@ declare const _default: {
15
15
  };
16
16
  all: true;
17
17
  }[];
18
- openUserProfile(user: User): void;
18
+ openUserModal(user: User): void;
19
19
  } & Record<PropertyKey, any> & import("../../utils/types").Plugin;
20
20
  export default _default;
@@ -43,229 +43,272 @@ declare const _default: {
43
43
  }[];
44
44
  settings: import("../../utils/types").DefinedSettings<{
45
45
  messages: {
46
+ readonly label: string;
47
+ readonly description: string;
46
48
  type: OptionType.BOOLEAN;
47
49
  default: true;
48
- description: string;
49
50
  };
50
51
  replies: {
52
+ readonly label: string;
53
+ readonly description: string;
51
54
  type: OptionType.BOOLEAN;
52
55
  default: true;
53
- description: string;
54
56
  };
55
57
  mentions: {
58
+ readonly label: string;
59
+ readonly description: string;
56
60
  type: OptionType.BOOLEAN;
57
61
  default: true;
58
- description: string;
59
62
  };
60
63
  memberList: {
64
+ readonly label: string;
65
+ readonly description: string;
61
66
  type: OptionType.BOOLEAN;
62
67
  default: true;
63
- description: string;
64
68
  };
65
69
  profilePopout: {
70
+ readonly label: string;
71
+ readonly description: string;
66
72
  type: OptionType.BOOLEAN;
67
73
  default: true;
68
- description: string;
69
74
  };
70
75
  voiceChannels: {
76
+ readonly label: string;
77
+ readonly description: string;
71
78
  type: OptionType.BOOLEAN;
72
79
  default: true;
73
- description: string;
74
80
  };
75
81
  reactions: {
82
+ readonly label: string;
83
+ readonly description: string;
76
84
  type: OptionType.BOOLEAN;
77
85
  default: true;
78
- description: string;
79
86
  };
80
87
  discriminators: {
88
+ readonly label: string;
89
+ readonly description: string;
81
90
  type: OptionType.BOOLEAN;
82
91
  default: true;
83
- description: string;
84
92
  };
85
93
  hideDefaultAtSign: {
94
+ readonly label: string;
95
+ readonly description: string;
86
96
  type: OptionType.BOOLEAN;
87
97
  default: false;
88
- description: string;
89
98
  };
90
99
  truncateAllNamesWithStreamerMode: {
100
+ readonly label: string;
101
+ readonly description: string;
91
102
  type: OptionType.BOOLEAN;
92
103
  default: true;
93
- description: string;
94
104
  };
95
105
  removeDuplicates: {
106
+ readonly label: string;
107
+ readonly description: string;
96
108
  type: OptionType.BOOLEAN;
97
109
  default: true;
98
- description: string;
99
110
  };
100
111
  ignoreFonts: {
112
+ readonly label: string;
113
+ readonly description: string;
101
114
  type: OptionType.BOOLEAN;
102
115
  default: false;
103
- description: string;
104
116
  };
105
117
  ignoreGradients: {
118
+ readonly label: string;
119
+ readonly description: string;
106
120
  type: OptionType.BOOLEAN;
107
121
  default: true;
108
- description: string;
109
122
  };
110
123
  animateGradients: {
124
+ readonly label: string;
125
+ readonly description: string;
111
126
  type: OptionType.BOOLEAN;
112
127
  default: false;
113
- description: string;
114
128
  };
115
129
  nameSeparator: {
130
+ readonly label: string;
131
+ readonly description: string;
116
132
  type: OptionType.STRING;
117
- description: string;
118
133
  default: string;
119
134
  };
120
135
  includedNames: {
136
+ readonly label: string;
137
+ readonly description: string;
121
138
  type: OptionType.STRING;
122
- description: string;
123
139
  default: string;
124
140
  isValid: typeof validTemplate;
125
141
  };
126
142
  friendNameColor: {
143
+ readonly label: string;
144
+ readonly description: string;
127
145
  type: OptionType.STRING;
128
- description: string;
129
146
  default: string;
130
147
  isValid: typeof validColor;
131
148
  };
132
149
  nicknameColor: {
150
+ readonly label: string;
151
+ readonly description: string;
133
152
  type: OptionType.STRING;
134
- description: string;
135
153
  default: string;
136
154
  isValid: typeof validColor;
137
155
  };
138
156
  displayNameColor: {
157
+ readonly label: string;
158
+ readonly description: string;
139
159
  type: OptionType.STRING;
140
- description: string;
141
160
  default: string;
142
161
  isValid: typeof validColor;
143
162
  };
144
163
  usernameColor: {
164
+ readonly label: string;
165
+ readonly description: string;
145
166
  type: OptionType.STRING;
146
- description: string;
147
167
  default: string;
148
168
  isValid: typeof validColor;
149
169
  };
150
170
  triggerNameRerender: {
171
+ readonly label: string;
172
+ readonly description: string;
151
173
  type: OptionType.BOOLEAN;
152
- description: string;
153
174
  default: false;
154
175
  hidden: true;
155
176
  };
156
177
  }, import("../../utils/types").SettingsChecks<{
157
178
  messages: {
179
+ readonly label: string;
180
+ readonly description: string;
158
181
  type: OptionType.BOOLEAN;
159
182
  default: true;
160
- description: string;
161
183
  };
162
184
  replies: {
185
+ readonly label: string;
186
+ readonly description: string;
163
187
  type: OptionType.BOOLEAN;
164
188
  default: true;
165
- description: string;
166
189
  };
167
190
  mentions: {
191
+ readonly label: string;
192
+ readonly description: string;
168
193
  type: OptionType.BOOLEAN;
169
194
  default: true;
170
- description: string;
171
195
  };
172
196
  memberList: {
197
+ readonly label: string;
198
+ readonly description: string;
173
199
  type: OptionType.BOOLEAN;
174
200
  default: true;
175
- description: string;
176
201
  };
177
202
  profilePopout: {
203
+ readonly label: string;
204
+ readonly description: string;
178
205
  type: OptionType.BOOLEAN;
179
206
  default: true;
180
- description: string;
181
207
  };
182
208
  voiceChannels: {
209
+ readonly label: string;
210
+ readonly description: string;
183
211
  type: OptionType.BOOLEAN;
184
212
  default: true;
185
- description: string;
186
213
  };
187
214
  reactions: {
215
+ readonly label: string;
216
+ readonly description: string;
188
217
  type: OptionType.BOOLEAN;
189
218
  default: true;
190
- description: string;
191
219
  };
192
220
  discriminators: {
221
+ readonly label: string;
222
+ readonly description: string;
193
223
  type: OptionType.BOOLEAN;
194
224
  default: true;
195
- description: string;
196
225
  };
197
226
  hideDefaultAtSign: {
227
+ readonly label: string;
228
+ readonly description: string;
198
229
  type: OptionType.BOOLEAN;
199
230
  default: false;
200
- description: string;
201
231
  };
202
232
  truncateAllNamesWithStreamerMode: {
233
+ readonly label: string;
234
+ readonly description: string;
203
235
  type: OptionType.BOOLEAN;
204
236
  default: true;
205
- description: string;
206
237
  };
207
238
  removeDuplicates: {
239
+ readonly label: string;
240
+ readonly description: string;
208
241
  type: OptionType.BOOLEAN;
209
242
  default: true;
210
- description: string;
211
243
  };
212
244
  ignoreFonts: {
245
+ readonly label: string;
246
+ readonly description: string;
213
247
  type: OptionType.BOOLEAN;
214
248
  default: false;
215
- description: string;
216
249
  };
217
250
  ignoreGradients: {
251
+ readonly label: string;
252
+ readonly description: string;
218
253
  type: OptionType.BOOLEAN;
219
254
  default: true;
220
- description: string;
221
255
  };
222
256
  animateGradients: {
257
+ readonly label: string;
258
+ readonly description: string;
223
259
  type: OptionType.BOOLEAN;
224
260
  default: false;
225
- description: string;
226
261
  };
227
262
  nameSeparator: {
263
+ readonly label: string;
264
+ readonly description: string;
228
265
  type: OptionType.STRING;
229
- description: string;
230
266
  default: string;
231
267
  };
232
268
  includedNames: {
269
+ readonly label: string;
270
+ readonly description: string;
233
271
  type: OptionType.STRING;
234
- description: string;
235
272
  default: string;
236
273
  isValid: typeof validTemplate;
237
274
  };
238
275
  friendNameColor: {
276
+ readonly label: string;
277
+ readonly description: string;
239
278
  type: OptionType.STRING;
240
- description: string;
241
279
  default: string;
242
280
  isValid: typeof validColor;
243
281
  };
244
282
  nicknameColor: {
283
+ readonly label: string;
284
+ readonly description: string;
245
285
  type: OptionType.STRING;
246
- description: string;
247
286
  default: string;
248
287
  isValid: typeof validColor;
249
288
  };
250
289
  displayNameColor: {
290
+ readonly label: string;
291
+ readonly description: string;
251
292
  type: OptionType.STRING;
252
- description: string;
253
293
  default: string;
254
294
  isValid: typeof validColor;
255
295
  };
256
296
  usernameColor: {
297
+ readonly label: string;
298
+ readonly description: string;
257
299
  type: OptionType.STRING;
258
- description: string;
259
300
  default: string;
260
301
  isValid: typeof validColor;
261
302
  };
262
303
  triggerNameRerender: {
304
+ readonly label: string;
305
+ readonly description: string;
263
306
  type: OptionType.BOOLEAN;
264
- description: string;
265
307
  default: false;
266
308
  hidden: true;
267
309
  };
268
310
  }>, {}>;
311
+ readonly displayDescription: string;
269
312
  patches: ({
270
313
  find: string;
271
314
  group: true;
@@ -5,6 +5,7 @@ declare const _default: {
5
5
  name: string;
6
6
  id: bigint;
7
7
  }[];
8
+ readonly displayDescription: string;
8
9
  patches: {
9
10
  find: string;
10
11
  replacement: {
@@ -13,32 +13,35 @@ declare const _default: {
13
13
  name: string;
14
14
  id: bigint;
15
15
  }[];
16
+ readonly displayDescription: string;
16
17
  settings: import("../../utils/types").DefinedSettings<{
17
18
  displayStyle: {
18
- description: string;
19
+ readonly label: string;
20
+ readonly description: string;
19
21
  type: OptionType.SELECT;
20
- options: ({
22
+ readonly options: ({
21
23
  label: string;
22
24
  value: DisplayStyle;
23
25
  default?: undefined;
24
26
  } | {
25
27
  label: string;
26
28
  value: DisplayStyle;
27
- default: true;
29
+ default: boolean;
28
30
  })[];
29
31
  };
30
32
  }, import("../../utils/types").SettingsChecks<{
31
33
  displayStyle: {
32
- description: string;
34
+ readonly label: string;
35
+ readonly description: string;
33
36
  type: OptionType.SELECT;
34
- options: ({
37
+ readonly options: ({
35
38
  label: string;
36
39
  value: DisplayStyle;
37
40
  default?: undefined;
38
41
  } | {
39
42
  label: string;
40
43
  value: DisplayStyle;
41
- default: true;
44
+ default: boolean;
42
45
  })[];
43
46
  };
44
47
  }>, {}>;
@@ -7,6 +7,7 @@ declare const _default: {
7
7
  id: bigint;
8
8
  }[];
9
9
  description: string;
10
+ readonly displayDescription: string;
10
11
  patches: {
11
12
  find: string;
12
13
  group: true;
@@ -22,25 +23,29 @@ declare const _default: {
22
23
  }[];
23
24
  settings: import("../../utils/types").DefinedSettings<{
24
25
  persistSidebar: {
26
+ readonly label: string;
27
+ readonly description: string;
25
28
  type: import("../../utils/types").OptionType.BOOLEAN;
26
- description: string;
27
29
  default: true;
28
30
  };
29
31
  patchCommunity: {
32
+ readonly label: string;
33
+ readonly description: string;
30
34
  type: import("../../utils/types").OptionType.BOOLEAN;
31
- description: string;
32
35
  default: true;
33
36
  restartNeeded: true;
34
37
  };
35
38
  }, import("../../utils/types").SettingsChecks<{
36
39
  persistSidebar: {
40
+ readonly label: string;
41
+ readonly description: string;
37
42
  type: import("../../utils/types").OptionType.BOOLEAN;
38
- description: string;
39
43
  default: true;
40
44
  };
41
45
  patchCommunity: {
46
+ readonly label: string;
47
+ readonly description: string;
42
48
  type: import("../../utils/types").OptionType.BOOLEAN;
43
- description: string;
44
49
  default: true;
45
50
  restartNeeded: true;
46
51
  };
@@ -51,8 +56,8 @@ declare const _default: {
51
56
  "thread-context": NavContextMenuPatchCallback;
52
57
  "gdm-context": NavContextMenuPatchCallback;
53
58
  };
54
- toolboxActions: {
55
- "Open Previous Chat"(): void;
59
+ readonly toolboxActions: {
60
+ [x: string]: () => void;
56
61
  };
57
62
  renderSidebar(): import("react").JSX.Element | null;
58
63
  } & Record<PropertyKey, any> & import("../../utils/types").Plugin;
@@ -1,25 +1,29 @@
1
1
  import { OptionType } from "../../utils/types";
2
2
  export declare const settings: import("../../utils/types").DefinedSettings<{
3
3
  persistSidebar: {
4
+ readonly label: string;
5
+ readonly description: string;
4
6
  type: OptionType.BOOLEAN;
5
- description: string;
6
7
  default: true;
7
8
  };
8
9
  patchCommunity: {
10
+ readonly label: string;
11
+ readonly description: string;
9
12
  type: OptionType.BOOLEAN;
10
- description: string;
11
13
  default: true;
12
14
  restartNeeded: true;
13
15
  };
14
16
  }, import("../../utils/types").SettingsChecks<{
15
17
  persistSidebar: {
18
+ readonly label: string;
19
+ readonly description: string;
16
20
  type: OptionType.BOOLEAN;
17
- description: string;
18
21
  default: true;
19
22
  };
20
23
  patchCommunity: {
24
+ readonly label: string;
25
+ readonly description: string;
21
26
  type: OptionType.BOOLEAN;
22
- description: string;
23
27
  default: true;
24
28
  restartNeeded: true;
25
29
  };
@@ -10,6 +10,7 @@ declare const _default: {
10
10
  id: bigint;
11
11
  }[];
12
12
  dependencies: string[];
13
+ readonly displayDescription: string;
13
14
  chatBarButton: {
14
15
  icon: IconComponent;
15
16
  render: ChatBarButtonFactory;
@@ -18,56 +19,66 @@ declare const _default: {
18
19
  stop: () => void;
19
20
  settings: import("../../utils/types").DefinedSettings<{
20
21
  name: {
22
+ readonly label: string;
23
+ readonly description: string;
21
24
  type: OptionType.STRING;
22
- description: string;
23
25
  default: string;
24
26
  };
25
27
  textHeader: {
26
- description: string;
28
+ readonly label: string;
29
+ readonly description: string;
27
30
  type: OptionType.STRING;
28
31
  default: string;
29
32
  };
30
33
  showIcon: {
34
+ readonly label: string;
35
+ readonly description: string;
31
36
  type: OptionType.BOOLEAN;
32
37
  default: true;
33
- description: string;
34
38
  restartNeeded: true;
35
39
  };
36
40
  contextMenu: {
41
+ readonly label: string;
42
+ readonly description: string;
37
43
  type: OptionType.BOOLEAN;
38
- description: string;
39
44
  default: true;
40
45
  };
41
46
  isEnabled: {
47
+ readonly label: string;
48
+ readonly description: string;
42
49
  type: OptionType.BOOLEAN;
43
- description: string;
44
50
  default: true;
45
51
  };
46
52
  }, import("../../utils/types").SettingsChecks<{
47
53
  name: {
54
+ readonly label: string;
55
+ readonly description: string;
48
56
  type: OptionType.STRING;
49
- description: string;
50
57
  default: string;
51
58
  };
52
59
  textHeader: {
53
- description: string;
60
+ readonly label: string;
61
+ readonly description: string;
54
62
  type: OptionType.STRING;
55
63
  default: string;
56
64
  };
57
65
  showIcon: {
66
+ readonly label: string;
67
+ readonly description: string;
58
68
  type: OptionType.BOOLEAN;
59
69
  default: true;
60
- description: string;
61
70
  restartNeeded: true;
62
71
  };
63
72
  contextMenu: {
73
+ readonly label: string;
74
+ readonly description: string;
64
75
  type: OptionType.BOOLEAN;
65
- description: string;
66
76
  default: true;
67
77
  };
68
78
  isEnabled: {
79
+ readonly label: string;
80
+ readonly description: string;
69
81
  type: OptionType.BOOLEAN;
70
- description: string;
71
82
  default: true;
72
83
  };
73
84
  }>, {}>;
@@ -77,10 +88,12 @@ declare const _default: {
77
88
  commands: {
78
89
  name: string;
79
90
  description: string;
91
+ readonly displayDescription: string;
80
92
  inputType: ApplicationCommandInputType.BUILT_IN;
81
93
  options: {
82
94
  name: string;
83
95
  description: string;
96
+ readonly displayDescription: string;
84
97
  required: false;
85
98
  type: ApplicationCommandOptionType.BOOLEAN;
86
99
  }[];
@@ -11,12 +11,13 @@ declare const _default: {
11
11
  description: string;
12
12
  settings: import("../../utils/types").DefinedSettings<{
13
13
  persistState: {
14
+ readonly label: string;
15
+ readonly description: string;
14
16
  type: OptionType.SELECT;
15
- description: string;
16
- options: ({
17
+ readonly options: ({
17
18
  label: string;
18
19
  value: string;
19
- default: true;
20
+ default: boolean;
20
21
  } | {
21
22
  label: string;
22
23
  value: string;
@@ -25,18 +26,20 @@ declare const _default: {
25
26
  onChange(newValue: string): void;
26
27
  };
27
28
  autoDisable: {
29
+ readonly label: string;
30
+ readonly description: string;
28
31
  type: OptionType.BOOLEAN;
29
- description: string;
30
32
  default: true;
31
33
  };
32
34
  }, import("../../utils/types").SettingsChecks<{
33
35
  persistState: {
36
+ readonly label: string;
37
+ readonly description: string;
34
38
  type: OptionType.SELECT;
35
- description: string;
36
- options: ({
39
+ readonly options: ({
37
40
  label: string;
38
41
  value: string;
39
- default: true;
42
+ default: boolean;
40
43
  } | {
41
44
  label: string;
42
45
  value: string;
@@ -45,11 +48,13 @@ declare const _default: {
45
48
  onChange(newValue: string): void;
46
49
  };
47
50
  autoDisable: {
51
+ readonly label: string;
52
+ readonly description: string;
48
53
  type: OptionType.BOOLEAN;
49
- description: string;
50
54
  default: true;
51
55
  };
52
56
  }>, {}>;
57
+ readonly displayDescription: string;
53
58
  chatBarButton: {
54
59
  icon: IconComponent;
55
60
  render: ChatBarButtonFactory;