@plexcord/types 1.17.3 → 1.17.5
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/api/Styles.d.ts +1 -1
- package/package.json +1 -1
- package/plugins/_core/settings.d.ts +6 -0
- package/plugins/alwaysAnimate/index.d.ts +76 -0
- package/plugins/channelTabs/components/ChannelTab.d.ts +4 -3
- package/plugins/channelTabs/index.d.ts +164 -0
- package/plugins/channelTabs/util/constants.d.ts +158 -1
- package/plugins/channelTabs/util/icons.d.ts +7 -0
- package/plugins/channelTabs/util/index.d.ts +1 -0
- package/plugins/channelTabs/util/tabs.d.ts +8 -1
- package/plugins/contentWarning/index.d.ts +14 -1
- package/plugins/customRPC/RPCSettings.d.ts +2 -0
- package/plugins/customRPC/index.d.ts +61 -278
- package/plugins/iRememberYou/index.d.ts +1 -0
- package/plugins/ignoreCalls/index.d.ts +11 -17
- package/plugins/imgToGif/index.d.ts +1 -0
- package/plugins/instantScreenshare/index.d.ts +3 -0
- package/plugins/inviteDefaults/index.d.ts +21 -14
- package/plugins/ircColors/index.d.ts +17 -10
- package/plugins/jumpTo/index.d.ts +1 -0
- package/plugins/keepCurrentChannel/index.d.ts +1 -0
- package/plugins/keyboardSounds/index.d.ts +13 -8
- package/plugins/keywordNotify/index.d.ts +13 -6
- package/plugins/lastOnline/index.d.ts +1 -0
- package/plugins/limitMiddleClickPaste/index.d.ts +13 -8
- package/plugins/listenBrainzRPC/index.d.ts +57 -32
- package/plugins/loadingQuotes/index.d.ts +21 -10
- package/plugins/loginWithQR/index.d.ts +3 -1
- package/plugins/mediaDownloader.desktop/index.d.ts +30 -12
- package/plugins/mediaPlaybackSpeed/index.d.ts +13 -6
- package/plugins/memberCount/index.d.ts +25 -12
- package/plugins/mentionAvatars/index.d.ts +5 -2
- package/plugins/meow/index.d.ts +1 -0
- package/plugins/messageClickActions/index.d.ts +17 -8
- package/plugins/messageColors/constants.d.ts +20 -14
- package/plugins/messageColors/index.d.ts +21 -14
- package/plugins/messageFetchTimer/index.d.ts +13 -6
- package/plugins/messageLatency/index.d.ts +9 -4
- package/plugins/messageLoggerEnhanced/index.d.ts +12 -2
- package/plugins/messageLoggerEnhanced/settings.d.ts +12 -2
- package/plugins/musicControls/youtubeMusic/YtmStore.d.ts +2 -2
- package/plugins/noBlockedMessages/index.d.ts +12 -87
- package/plugins/noServerEmojis/index.d.ts +2 -1
- package/plugins/questify/index.d.ts +1 -0
- package/plugins/questify/utils/misc.d.ts +1 -0
- package/plugins/sidebarChat/index.d.ts +24 -3
- package/plugins/sidebarChat/store.d.ts +15 -9
- package/plugins/voiceMessages/native.d.ts +1 -1
- package/utils/intlHash.d.ts +1 -0
- package/utils/patches.d.ts +1 -1
- package/plugins/downloadify/index.d.ts +0 -115
- package/plugins/downloadify/native.d.ts +0 -22
- package/plugins/downloadify/settings.d.ts +0 -84
- package/plugins/downloadify/utils/definitions.d.ts +0 -365
- package/plugins/downloadify/utils/handlers.d.ts +0 -9
- package/plugins/downloadify/utils/misc.d.ts +0 -21
- package/plugins/encryptcord/index.d.ts +0 -41
- package/plugins/encryptcord/rsa-utils.d.ts +0 -7
- package/plugins/statusWhileActive.desktop/index.d.ts +0 -46
package/api/Styles.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -32,6 +32,12 @@ declare const _default: {
|
|
|
32
32
|
match: RegExp;
|
|
33
33
|
replace: (_: string, settingsPanel: string, section: string, openUserSettings: string) => string;
|
|
34
34
|
};
|
|
35
|
+
} | {
|
|
36
|
+
find: string;
|
|
37
|
+
replacement: {
|
|
38
|
+
match: RegExp;
|
|
39
|
+
replace: string;
|
|
40
|
+
};
|
|
35
41
|
})[];
|
|
36
42
|
customSections: ((SectionTypes: SectionTypes) => any)[];
|
|
37
43
|
makeSettingsCategories(SectionTypes: SectionTypes): any[];
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { OptionType } from "../../utils/types";
|
|
1
2
|
declare const _default: {
|
|
2
3
|
name: string;
|
|
3
4
|
description: string;
|
|
@@ -5,9 +6,83 @@ declare const _default: {
|
|
|
5
6
|
name: string;
|
|
6
7
|
id: bigint;
|
|
7
8
|
}[];
|
|
9
|
+
settings: import("../../utils/types").DefinedSettings<{
|
|
10
|
+
icons: {
|
|
11
|
+
readonly label: string;
|
|
12
|
+
readonly description: string;
|
|
13
|
+
type: OptionType.BOOLEAN;
|
|
14
|
+
default: true;
|
|
15
|
+
restartNeeded: true;
|
|
16
|
+
};
|
|
17
|
+
statusEmojis: {
|
|
18
|
+
readonly label: string;
|
|
19
|
+
readonly description: string;
|
|
20
|
+
type: OptionType.BOOLEAN;
|
|
21
|
+
default: true;
|
|
22
|
+
restartNeeded: true;
|
|
23
|
+
};
|
|
24
|
+
serverBanners: {
|
|
25
|
+
readonly label: string;
|
|
26
|
+
readonly description: string;
|
|
27
|
+
type: OptionType.BOOLEAN;
|
|
28
|
+
default: true;
|
|
29
|
+
restartNeeded: true;
|
|
30
|
+
};
|
|
31
|
+
nameplates: {
|
|
32
|
+
readonly label: string;
|
|
33
|
+
readonly description: string;
|
|
34
|
+
type: OptionType.BOOLEAN;
|
|
35
|
+
default: true;
|
|
36
|
+
restartNeeded: true;
|
|
37
|
+
};
|
|
38
|
+
roleGradients: {
|
|
39
|
+
readonly label: string;
|
|
40
|
+
readonly description: string;
|
|
41
|
+
type: OptionType.BOOLEAN;
|
|
42
|
+
default: true;
|
|
43
|
+
restartNeeded: true;
|
|
44
|
+
};
|
|
45
|
+
}, import("../../utils/types").SettingsChecks<{
|
|
46
|
+
icons: {
|
|
47
|
+
readonly label: string;
|
|
48
|
+
readonly description: string;
|
|
49
|
+
type: OptionType.BOOLEAN;
|
|
50
|
+
default: true;
|
|
51
|
+
restartNeeded: true;
|
|
52
|
+
};
|
|
53
|
+
statusEmojis: {
|
|
54
|
+
readonly label: string;
|
|
55
|
+
readonly description: string;
|
|
56
|
+
type: OptionType.BOOLEAN;
|
|
57
|
+
default: true;
|
|
58
|
+
restartNeeded: true;
|
|
59
|
+
};
|
|
60
|
+
serverBanners: {
|
|
61
|
+
readonly label: string;
|
|
62
|
+
readonly description: string;
|
|
63
|
+
type: OptionType.BOOLEAN;
|
|
64
|
+
default: true;
|
|
65
|
+
restartNeeded: true;
|
|
66
|
+
};
|
|
67
|
+
nameplates: {
|
|
68
|
+
readonly label: string;
|
|
69
|
+
readonly description: string;
|
|
70
|
+
type: OptionType.BOOLEAN;
|
|
71
|
+
default: true;
|
|
72
|
+
restartNeeded: true;
|
|
73
|
+
};
|
|
74
|
+
roleGradients: {
|
|
75
|
+
readonly label: string;
|
|
76
|
+
readonly description: string;
|
|
77
|
+
type: OptionType.BOOLEAN;
|
|
78
|
+
default: true;
|
|
79
|
+
restartNeeded: true;
|
|
80
|
+
};
|
|
81
|
+
}>, {}>;
|
|
8
82
|
readonly displayDescription: string;
|
|
9
83
|
patches: ({
|
|
10
84
|
find: string;
|
|
85
|
+
predicate: () => boolean;
|
|
11
86
|
all: true;
|
|
12
87
|
noWarn: true;
|
|
13
88
|
replacement: {
|
|
@@ -16,6 +91,7 @@ declare const _default: {
|
|
|
16
91
|
};
|
|
17
92
|
} | {
|
|
18
93
|
find: string;
|
|
94
|
+
predicate: () => boolean;
|
|
19
95
|
replacement: {
|
|
20
96
|
match: RegExp;
|
|
21
97
|
replace: string;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { ChannelTabsProps } from "../util";
|
|
2
|
+
import { JSX } from "react";
|
|
2
3
|
export declare const NotificationDot: ({ channelIds }: {
|
|
3
4
|
channelIds: string[];
|
|
4
|
-
}) =>
|
|
5
|
+
}) => JSX.Element | null;
|
|
5
6
|
export default function ChannelTab(props: ChannelTabsProps & {
|
|
6
7
|
index: number;
|
|
7
|
-
}):
|
|
8
|
-
export declare const PreviewTab: (props: ChannelTabsProps) =>
|
|
8
|
+
}): JSX.Element;
|
|
9
|
+
export declare const PreviewTab: (props: ChannelTabsProps) => JSX.Element;
|
|
@@ -77,6 +77,20 @@ declare const _default: {
|
|
|
77
77
|
default: false;
|
|
78
78
|
restartNeeded: false;
|
|
79
79
|
};
|
|
80
|
+
tabWidthScale: {
|
|
81
|
+
readonly label: string;
|
|
82
|
+
readonly description: string;
|
|
83
|
+
type: import("../../utils/types").OptionType.NUMBER;
|
|
84
|
+
default: number;
|
|
85
|
+
hidden: true;
|
|
86
|
+
restartNeeded: false;
|
|
87
|
+
};
|
|
88
|
+
renderAllTabs: {
|
|
89
|
+
type: import("../../utils/types").OptionType.BOOLEAN;
|
|
90
|
+
description: string;
|
|
91
|
+
default: false;
|
|
92
|
+
restartNeeded: false;
|
|
93
|
+
};
|
|
80
94
|
switchToExistingTab: {
|
|
81
95
|
readonly label: string;
|
|
82
96
|
readonly description: string;
|
|
@@ -225,6 +239,27 @@ declare const _default: {
|
|
|
225
239
|
default: true;
|
|
226
240
|
hidden: true;
|
|
227
241
|
};
|
|
242
|
+
animationTabPositioning: {
|
|
243
|
+
readonly label: string;
|
|
244
|
+
readonly description: string;
|
|
245
|
+
type: import("../../utils/types").OptionType.BOOLEAN;
|
|
246
|
+
default: true;
|
|
247
|
+
hidden: true;
|
|
248
|
+
};
|
|
249
|
+
animationResizeHandle: {
|
|
250
|
+
readonly label: string;
|
|
251
|
+
readonly description: string;
|
|
252
|
+
type: import("../../utils/types").OptionType.BOOLEAN;
|
|
253
|
+
default: true;
|
|
254
|
+
hidden: true;
|
|
255
|
+
};
|
|
256
|
+
animationQuestsActive: {
|
|
257
|
+
readonly label: string;
|
|
258
|
+
readonly description: string;
|
|
259
|
+
type: import("../../utils/types").OptionType.BOOLEAN;
|
|
260
|
+
default: true;
|
|
261
|
+
hidden: true;
|
|
262
|
+
};
|
|
228
263
|
compactAutoExpandSelected: {
|
|
229
264
|
readonly label: string;
|
|
230
265
|
readonly description: string;
|
|
@@ -232,6 +267,13 @@ declare const _default: {
|
|
|
232
267
|
default: true;
|
|
233
268
|
restartNeeded: false;
|
|
234
269
|
};
|
|
270
|
+
compactAutoExpandOnHover: {
|
|
271
|
+
readonly label: string;
|
|
272
|
+
readonly description: string;
|
|
273
|
+
type: import("../../utils/types").OptionType.BOOLEAN;
|
|
274
|
+
default: true;
|
|
275
|
+
restartNeeded: false;
|
|
276
|
+
};
|
|
235
277
|
openInNewTabAutoSwitch: {
|
|
236
278
|
readonly label: string;
|
|
237
279
|
readonly description: string;
|
|
@@ -239,6 +281,43 @@ declare const _default: {
|
|
|
239
281
|
default: true;
|
|
240
282
|
restartNeeded: false;
|
|
241
283
|
};
|
|
284
|
+
bookmarksIndependentFromTabs: {
|
|
285
|
+
readonly label: string;
|
|
286
|
+
readonly description: string;
|
|
287
|
+
type: import("../../utils/types").OptionType.BOOLEAN;
|
|
288
|
+
default: true;
|
|
289
|
+
restartNeeded: false;
|
|
290
|
+
};
|
|
291
|
+
showResizeHandle: {
|
|
292
|
+
readonly label: string;
|
|
293
|
+
readonly description: string;
|
|
294
|
+
type: import("../../utils/types").OptionType.BOOLEAN;
|
|
295
|
+
default: true;
|
|
296
|
+
restartNeeded: false;
|
|
297
|
+
};
|
|
298
|
+
openNewTabsInCompactMode: {
|
|
299
|
+
readonly label: string;
|
|
300
|
+
readonly description: string;
|
|
301
|
+
type: import("../../utils/types").OptionType.BOOLEAN;
|
|
302
|
+
default: false;
|
|
303
|
+
restartNeeded: false;
|
|
304
|
+
};
|
|
305
|
+
oneTabPerServer: {
|
|
306
|
+
readonly label: string;
|
|
307
|
+
readonly description: string;
|
|
308
|
+
type: import("../../utils/types").OptionType.BOOLEAN;
|
|
309
|
+
default: false;
|
|
310
|
+
restartNeeded: false;
|
|
311
|
+
};
|
|
312
|
+
maxOpenTabs: {
|
|
313
|
+
readonly label: string;
|
|
314
|
+
readonly description: string;
|
|
315
|
+
type: import("../../utils/types").OptionType.SLIDER;
|
|
316
|
+
markers: number[];
|
|
317
|
+
default: number;
|
|
318
|
+
stickToMarkers: true;
|
|
319
|
+
restartNeeded: false;
|
|
320
|
+
};
|
|
242
321
|
}, import("../../utils/types").SettingsChecks<{
|
|
243
322
|
onStartup: {
|
|
244
323
|
readonly label: string;
|
|
@@ -292,6 +371,20 @@ declare const _default: {
|
|
|
292
371
|
default: false;
|
|
293
372
|
restartNeeded: false;
|
|
294
373
|
};
|
|
374
|
+
tabWidthScale: {
|
|
375
|
+
readonly label: string;
|
|
376
|
+
readonly description: string;
|
|
377
|
+
type: import("../../utils/types").OptionType.NUMBER;
|
|
378
|
+
default: number;
|
|
379
|
+
hidden: true;
|
|
380
|
+
restartNeeded: false;
|
|
381
|
+
};
|
|
382
|
+
renderAllTabs: {
|
|
383
|
+
type: import("../../utils/types").OptionType.BOOLEAN;
|
|
384
|
+
description: string;
|
|
385
|
+
default: false;
|
|
386
|
+
restartNeeded: false;
|
|
387
|
+
};
|
|
295
388
|
switchToExistingTab: {
|
|
296
389
|
readonly label: string;
|
|
297
390
|
readonly description: string;
|
|
@@ -440,6 +533,27 @@ declare const _default: {
|
|
|
440
533
|
default: true;
|
|
441
534
|
hidden: true;
|
|
442
535
|
};
|
|
536
|
+
animationTabPositioning: {
|
|
537
|
+
readonly label: string;
|
|
538
|
+
readonly description: string;
|
|
539
|
+
type: import("../../utils/types").OptionType.BOOLEAN;
|
|
540
|
+
default: true;
|
|
541
|
+
hidden: true;
|
|
542
|
+
};
|
|
543
|
+
animationResizeHandle: {
|
|
544
|
+
readonly label: string;
|
|
545
|
+
readonly description: string;
|
|
546
|
+
type: import("../../utils/types").OptionType.BOOLEAN;
|
|
547
|
+
default: true;
|
|
548
|
+
hidden: true;
|
|
549
|
+
};
|
|
550
|
+
animationQuestsActive: {
|
|
551
|
+
readonly label: string;
|
|
552
|
+
readonly description: string;
|
|
553
|
+
type: import("../../utils/types").OptionType.BOOLEAN;
|
|
554
|
+
default: true;
|
|
555
|
+
hidden: true;
|
|
556
|
+
};
|
|
443
557
|
compactAutoExpandSelected: {
|
|
444
558
|
readonly label: string;
|
|
445
559
|
readonly description: string;
|
|
@@ -447,6 +561,13 @@ declare const _default: {
|
|
|
447
561
|
default: true;
|
|
448
562
|
restartNeeded: false;
|
|
449
563
|
};
|
|
564
|
+
compactAutoExpandOnHover: {
|
|
565
|
+
readonly label: string;
|
|
566
|
+
readonly description: string;
|
|
567
|
+
type: import("../../utils/types").OptionType.BOOLEAN;
|
|
568
|
+
default: true;
|
|
569
|
+
restartNeeded: false;
|
|
570
|
+
};
|
|
450
571
|
openInNewTabAutoSwitch: {
|
|
451
572
|
readonly label: string;
|
|
452
573
|
readonly description: string;
|
|
@@ -454,8 +575,51 @@ declare const _default: {
|
|
|
454
575
|
default: true;
|
|
455
576
|
restartNeeded: false;
|
|
456
577
|
};
|
|
578
|
+
bookmarksIndependentFromTabs: {
|
|
579
|
+
readonly label: string;
|
|
580
|
+
readonly description: string;
|
|
581
|
+
type: import("../../utils/types").OptionType.BOOLEAN;
|
|
582
|
+
default: true;
|
|
583
|
+
restartNeeded: false;
|
|
584
|
+
};
|
|
585
|
+
showResizeHandle: {
|
|
586
|
+
readonly label: string;
|
|
587
|
+
readonly description: string;
|
|
588
|
+
type: import("../../utils/types").OptionType.BOOLEAN;
|
|
589
|
+
default: true;
|
|
590
|
+
restartNeeded: false;
|
|
591
|
+
};
|
|
592
|
+
openNewTabsInCompactMode: {
|
|
593
|
+
readonly label: string;
|
|
594
|
+
readonly description: string;
|
|
595
|
+
type: import("../../utils/types").OptionType.BOOLEAN;
|
|
596
|
+
default: false;
|
|
597
|
+
restartNeeded: false;
|
|
598
|
+
};
|
|
599
|
+
oneTabPerServer: {
|
|
600
|
+
readonly label: string;
|
|
601
|
+
readonly description: string;
|
|
602
|
+
type: import("../../utils/types").OptionType.BOOLEAN;
|
|
603
|
+
default: false;
|
|
604
|
+
restartNeeded: false;
|
|
605
|
+
};
|
|
606
|
+
maxOpenTabs: {
|
|
607
|
+
readonly label: string;
|
|
608
|
+
readonly description: string;
|
|
609
|
+
type: import("../../utils/types").OptionType.SLIDER;
|
|
610
|
+
markers: number[];
|
|
611
|
+
default: number;
|
|
612
|
+
stickToMarkers: true;
|
|
613
|
+
restartNeeded: false;
|
|
614
|
+
};
|
|
457
615
|
}>, {}>;
|
|
458
616
|
containerHeight: number;
|
|
617
|
+
flux: {
|
|
618
|
+
CHANNEL_SELECT(data: {
|
|
619
|
+
channelId: string | null;
|
|
620
|
+
guildId: string | null;
|
|
621
|
+
}): void;
|
|
622
|
+
};
|
|
459
623
|
render({ currentChannel, children }: {
|
|
460
624
|
currentChannel: BasicChannelTabsProps;
|
|
461
625
|
children: JSX.Element;
|
|
@@ -67,6 +67,20 @@ export declare const settings: import("../../../utils/types").DefinedSettings<{
|
|
|
67
67
|
default: false;
|
|
68
68
|
restartNeeded: false;
|
|
69
69
|
};
|
|
70
|
+
tabWidthScale: {
|
|
71
|
+
readonly label: string;
|
|
72
|
+
readonly description: string;
|
|
73
|
+
type: OptionType.NUMBER;
|
|
74
|
+
default: number;
|
|
75
|
+
hidden: true;
|
|
76
|
+
restartNeeded: false;
|
|
77
|
+
};
|
|
78
|
+
renderAllTabs: {
|
|
79
|
+
type: OptionType.BOOLEAN;
|
|
80
|
+
description: string;
|
|
81
|
+
default: false;
|
|
82
|
+
restartNeeded: false;
|
|
83
|
+
};
|
|
70
84
|
switchToExistingTab: {
|
|
71
85
|
readonly label: string;
|
|
72
86
|
readonly description: string;
|
|
@@ -215,6 +229,27 @@ export declare const settings: import("../../../utils/types").DefinedSettings<{
|
|
|
215
229
|
default: true;
|
|
216
230
|
hidden: true;
|
|
217
231
|
};
|
|
232
|
+
animationTabPositioning: {
|
|
233
|
+
readonly label: string;
|
|
234
|
+
readonly description: string;
|
|
235
|
+
type: OptionType.BOOLEAN;
|
|
236
|
+
default: true;
|
|
237
|
+
hidden: true;
|
|
238
|
+
};
|
|
239
|
+
animationResizeHandle: {
|
|
240
|
+
readonly label: string;
|
|
241
|
+
readonly description: string;
|
|
242
|
+
type: OptionType.BOOLEAN;
|
|
243
|
+
default: true;
|
|
244
|
+
hidden: true;
|
|
245
|
+
};
|
|
246
|
+
animationQuestsActive: {
|
|
247
|
+
readonly label: string;
|
|
248
|
+
readonly description: string;
|
|
249
|
+
type: OptionType.BOOLEAN;
|
|
250
|
+
default: true;
|
|
251
|
+
hidden: true;
|
|
252
|
+
};
|
|
218
253
|
compactAutoExpandSelected: {
|
|
219
254
|
readonly label: string;
|
|
220
255
|
readonly description: string;
|
|
@@ -222,6 +257,13 @@ export declare const settings: import("../../../utils/types").DefinedSettings<{
|
|
|
222
257
|
default: true;
|
|
223
258
|
restartNeeded: false;
|
|
224
259
|
};
|
|
260
|
+
compactAutoExpandOnHover: {
|
|
261
|
+
readonly label: string;
|
|
262
|
+
readonly description: string;
|
|
263
|
+
type: OptionType.BOOLEAN;
|
|
264
|
+
default: true;
|
|
265
|
+
restartNeeded: false;
|
|
266
|
+
};
|
|
225
267
|
openInNewTabAutoSwitch: {
|
|
226
268
|
readonly label: string;
|
|
227
269
|
readonly description: string;
|
|
@@ -229,6 +271,43 @@ export declare const settings: import("../../../utils/types").DefinedSettings<{
|
|
|
229
271
|
default: true;
|
|
230
272
|
restartNeeded: false;
|
|
231
273
|
};
|
|
274
|
+
bookmarksIndependentFromTabs: {
|
|
275
|
+
readonly label: string;
|
|
276
|
+
readonly description: string;
|
|
277
|
+
type: OptionType.BOOLEAN;
|
|
278
|
+
default: true;
|
|
279
|
+
restartNeeded: false;
|
|
280
|
+
};
|
|
281
|
+
showResizeHandle: {
|
|
282
|
+
readonly label: string;
|
|
283
|
+
readonly description: string;
|
|
284
|
+
type: OptionType.BOOLEAN;
|
|
285
|
+
default: true;
|
|
286
|
+
restartNeeded: false;
|
|
287
|
+
};
|
|
288
|
+
openNewTabsInCompactMode: {
|
|
289
|
+
readonly label: string;
|
|
290
|
+
readonly description: string;
|
|
291
|
+
type: OptionType.BOOLEAN;
|
|
292
|
+
default: false;
|
|
293
|
+
restartNeeded: false;
|
|
294
|
+
};
|
|
295
|
+
oneTabPerServer: {
|
|
296
|
+
readonly label: string;
|
|
297
|
+
readonly description: string;
|
|
298
|
+
type: OptionType.BOOLEAN;
|
|
299
|
+
default: false;
|
|
300
|
+
restartNeeded: false;
|
|
301
|
+
};
|
|
302
|
+
maxOpenTabs: {
|
|
303
|
+
readonly label: string;
|
|
304
|
+
readonly description: string;
|
|
305
|
+
type: OptionType.SLIDER;
|
|
306
|
+
markers: number[];
|
|
307
|
+
default: number;
|
|
308
|
+
stickToMarkers: true;
|
|
309
|
+
restartNeeded: false;
|
|
310
|
+
};
|
|
232
311
|
}, import("../../../utils/types").SettingsChecks<{
|
|
233
312
|
onStartup: {
|
|
234
313
|
readonly label: string;
|
|
@@ -282,6 +361,20 @@ export declare const settings: import("../../../utils/types").DefinedSettings<{
|
|
|
282
361
|
default: false;
|
|
283
362
|
restartNeeded: false;
|
|
284
363
|
};
|
|
364
|
+
tabWidthScale: {
|
|
365
|
+
readonly label: string;
|
|
366
|
+
readonly description: string;
|
|
367
|
+
type: OptionType.NUMBER;
|
|
368
|
+
default: number;
|
|
369
|
+
hidden: true;
|
|
370
|
+
restartNeeded: false;
|
|
371
|
+
};
|
|
372
|
+
renderAllTabs: {
|
|
373
|
+
type: OptionType.BOOLEAN;
|
|
374
|
+
description: string;
|
|
375
|
+
default: false;
|
|
376
|
+
restartNeeded: false;
|
|
377
|
+
};
|
|
285
378
|
switchToExistingTab: {
|
|
286
379
|
readonly label: string;
|
|
287
380
|
readonly description: string;
|
|
@@ -430,6 +523,27 @@ export declare const settings: import("../../../utils/types").DefinedSettings<{
|
|
|
430
523
|
default: true;
|
|
431
524
|
hidden: true;
|
|
432
525
|
};
|
|
526
|
+
animationTabPositioning: {
|
|
527
|
+
readonly label: string;
|
|
528
|
+
readonly description: string;
|
|
529
|
+
type: OptionType.BOOLEAN;
|
|
530
|
+
default: true;
|
|
531
|
+
hidden: true;
|
|
532
|
+
};
|
|
533
|
+
animationResizeHandle: {
|
|
534
|
+
readonly label: string;
|
|
535
|
+
readonly description: string;
|
|
536
|
+
type: OptionType.BOOLEAN;
|
|
537
|
+
default: true;
|
|
538
|
+
hidden: true;
|
|
539
|
+
};
|
|
540
|
+
animationQuestsActive: {
|
|
541
|
+
readonly label: string;
|
|
542
|
+
readonly description: string;
|
|
543
|
+
type: OptionType.BOOLEAN;
|
|
544
|
+
default: true;
|
|
545
|
+
hidden: true;
|
|
546
|
+
};
|
|
433
547
|
compactAutoExpandSelected: {
|
|
434
548
|
readonly label: string;
|
|
435
549
|
readonly description: string;
|
|
@@ -437,6 +551,13 @@ export declare const settings: import("../../../utils/types").DefinedSettings<{
|
|
|
437
551
|
default: true;
|
|
438
552
|
restartNeeded: false;
|
|
439
553
|
};
|
|
554
|
+
compactAutoExpandOnHover: {
|
|
555
|
+
readonly label: string;
|
|
556
|
+
readonly description: string;
|
|
557
|
+
type: OptionType.BOOLEAN;
|
|
558
|
+
default: true;
|
|
559
|
+
restartNeeded: false;
|
|
560
|
+
};
|
|
440
561
|
openInNewTabAutoSwitch: {
|
|
441
562
|
readonly label: string;
|
|
442
563
|
readonly description: string;
|
|
@@ -444,6 +565,42 @@ export declare const settings: import("../../../utils/types").DefinedSettings<{
|
|
|
444
565
|
default: true;
|
|
445
566
|
restartNeeded: false;
|
|
446
567
|
};
|
|
568
|
+
bookmarksIndependentFromTabs: {
|
|
569
|
+
readonly label: string;
|
|
570
|
+
readonly description: string;
|
|
571
|
+
type: OptionType.BOOLEAN;
|
|
572
|
+
default: true;
|
|
573
|
+
restartNeeded: false;
|
|
574
|
+
};
|
|
575
|
+
showResizeHandle: {
|
|
576
|
+
readonly label: string;
|
|
577
|
+
readonly description: string;
|
|
578
|
+
type: OptionType.BOOLEAN;
|
|
579
|
+
default: true;
|
|
580
|
+
restartNeeded: false;
|
|
581
|
+
};
|
|
582
|
+
openNewTabsInCompactMode: {
|
|
583
|
+
readonly label: string;
|
|
584
|
+
readonly description: string;
|
|
585
|
+
type: OptionType.BOOLEAN;
|
|
586
|
+
default: false;
|
|
587
|
+
restartNeeded: false;
|
|
588
|
+
};
|
|
589
|
+
oneTabPerServer: {
|
|
590
|
+
readonly label: string;
|
|
591
|
+
readonly description: string;
|
|
592
|
+
type: OptionType.BOOLEAN;
|
|
593
|
+
default: false;
|
|
594
|
+
restartNeeded: false;
|
|
595
|
+
};
|
|
596
|
+
maxOpenTabs: {
|
|
597
|
+
readonly label: string;
|
|
598
|
+
readonly description: string;
|
|
599
|
+
type: OptionType.SLIDER;
|
|
600
|
+
markers: number[];
|
|
601
|
+
default: number;
|
|
602
|
+
stickToMarkers: true;
|
|
603
|
+
restartNeeded: false;
|
|
604
|
+
};
|
|
447
605
|
}>, {}>;
|
|
448
|
-
export declare const CircleQuestionIcon: import("../../../utils").LazyComponentWrapper<import("react").ComponentType<any>>;
|
|
449
606
|
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const QuestIcon: import("../../../utils").LazyComponentWrapper<import("react").ComponentType<any>>;
|
|
2
|
+
export declare const ShopIcon: import("../../../utils").LazyComponentWrapper<import("react").ComponentType<any>>;
|
|
3
|
+
export declare const EnvelopeIcon: import("../../../utils").LazyComponentWrapper<import("react").ComponentType<any>>;
|
|
4
|
+
export declare const DiscoveryIcon: import("../../../utils").LazyComponentWrapper<import("react").ComponentType<any>>;
|
|
5
|
+
export declare const NitroIcon: import("../../../utils").LazyComponentWrapper<import("react").ComponentType<any>>;
|
|
6
|
+
export declare const FriendsIcon: import("../../../utils").LazyComponentWrapper<import("react").ComponentType<any>>;
|
|
7
|
+
export declare const CircleQuestionIcon: import("../../../utils").LazyComponentWrapper<import("react").ComponentType<any>>;
|
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
import { JSX } from "react";
|
|
2
2
|
import { BasicChannelTabsProps, ChannelTabsProps } from "./types";
|
|
3
|
+
export declare function isViewingViaBookmarkMode(): boolean;
|
|
4
|
+
export declare function isNavigatingViaTab(): boolean;
|
|
5
|
+
export declare function clearBookmarkViewingMode(): void;
|
|
6
|
+
export declare function setNavigationSource(guildId: string, channelId: string, source: "bookmark" | "tab"): void;
|
|
7
|
+
export declare function isNavigationFromSource(guildId: string | null | undefined, channelId: string, source: "bookmark"): boolean;
|
|
8
|
+
export declare function clearStaleNavigationContext(): void;
|
|
3
9
|
export declare const openedTabs: ChannelTabsProps[];
|
|
4
|
-
export declare function createTab(props: BasicChannelTabsProps | ChannelTabsProps, switchToTab?: boolean, messageId?: string, save?: boolean): void;
|
|
10
|
+
export declare function createTab(props: BasicChannelTabsProps | ChannelTabsProps, switchToTab?: boolean, messageId?: string, save?: boolean, bypassOneTabPerServer?: boolean): void;
|
|
5
11
|
export declare function closeTab(id: number): void;
|
|
6
12
|
export declare function closeOtherTabs(id: number): void;
|
|
7
13
|
export declare function closeTabsToTheRight(id: number): void;
|
|
@@ -19,5 +25,6 @@ export declare const saveTabs: (userId: string) => Promise<void>;
|
|
|
19
25
|
export declare function setOpenTab(id: number): void;
|
|
20
26
|
export declare function setUpdaterFunction(fn: () => void): void;
|
|
21
27
|
export declare function switchChannel(ch: BasicChannelTabsProps): void;
|
|
28
|
+
export declare function navigateToBookmark(ch: BasicChannelTabsProps): void;
|
|
22
29
|
export declare function toggleCompactTab(id: number): void;
|
|
23
30
|
export declare function useGhostTabs(): JSX.Element[];
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import "./styles.css";
|
|
1
2
|
import { OptionType } from "../../utils/types";
|
|
2
3
|
declare const _default: {
|
|
3
4
|
name: string;
|
|
@@ -12,12 +13,24 @@ declare const _default: {
|
|
|
12
13
|
type: OptionType.COMPONENT;
|
|
13
14
|
component: () => import("react").JSX.Element;
|
|
14
15
|
};
|
|
16
|
+
onClick: {
|
|
17
|
+
readonly label: string;
|
|
18
|
+
readonly description: string;
|
|
19
|
+
type: OptionType.BOOLEAN;
|
|
20
|
+
default: false;
|
|
21
|
+
};
|
|
15
22
|
}, import("../../utils/types").SettingsChecks<{
|
|
16
23
|
flagged: {
|
|
17
24
|
readonly label: string;
|
|
18
25
|
type: OptionType.COMPONENT;
|
|
19
26
|
component: () => import("react").JSX.Element;
|
|
20
27
|
};
|
|
28
|
+
onClick: {
|
|
29
|
+
readonly label: string;
|
|
30
|
+
readonly description: string;
|
|
31
|
+
type: OptionType.BOOLEAN;
|
|
32
|
+
default: false;
|
|
33
|
+
};
|
|
21
34
|
}>, {}>;
|
|
22
35
|
readonly displayDescription: string;
|
|
23
36
|
patches: {
|
|
@@ -27,7 +40,7 @@ declare const _default: {
|
|
|
27
40
|
replace: string;
|
|
28
41
|
};
|
|
29
42
|
}[];
|
|
30
|
-
modify(
|
|
43
|
+
modify(message: any, child: any): any;
|
|
31
44
|
start(): Promise<void>;
|
|
32
45
|
} & Record<PropertyKey, any> & import("../../utils/types").Plugin;
|
|
33
46
|
export default _default;
|