@plexcord/types 1.19.4 → 1.19.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/locales/en.d.ts +28 -20
- package/package.json +1 -1
- package/plugins/_api/messagePopover.d.ts +1 -1
- package/plugins/_core/settings.d.ts +2 -1
- package/plugins/betterQuickReact/index.d.ts +1 -1
- package/plugins/instantScreenshare/index.d.ts +12 -0
- package/plugins/instantScreenshare/utils.d.ts +12 -0
- package/plugins/limitMiddleClickPaste/index.d.ts +17 -8
package/locales/en.d.ts
CHANGED
|
@@ -4903,6 +4903,10 @@ declare const translations: {
|
|
|
4903
4903
|
readonly label: "Keybind Screenshare";
|
|
4904
4904
|
readonly description: "Screenshare by keybind in discord keybind settings";
|
|
4905
4905
|
};
|
|
4906
|
+
readonly focusDiscord: {
|
|
4907
|
+
readonly label: "Focus Discord";
|
|
4908
|
+
readonly description: "Only start screenshare with keybind when Discord is focused";
|
|
4909
|
+
};
|
|
4906
4910
|
readonly toolboxManagement: {
|
|
4907
4911
|
readonly label: "Toolbox Management";
|
|
4908
4912
|
readonly description: "Enable/Disable Instant Screenshare";
|
|
@@ -5108,18 +5112,17 @@ declare const translations: {
|
|
|
5108
5112
|
};
|
|
5109
5113
|
readonly limitMiddleClickPaste: {
|
|
5110
5114
|
readonly name: "LimitMiddleClickPaste";
|
|
5111
|
-
readonly description: "
|
|
5115
|
+
readonly description: "Prevent middle click pasting either always or just when a text area is not focused.";
|
|
5112
5116
|
readonly option: {
|
|
5113
|
-
readonly
|
|
5114
|
-
readonly label: "
|
|
5115
|
-
readonly description: "
|
|
5116
|
-
readonly
|
|
5117
|
-
readonly
|
|
5118
|
-
readonly active: "Whenever a text box is active";
|
|
5117
|
+
readonly scope: {
|
|
5118
|
+
readonly label: "Scope";
|
|
5119
|
+
readonly description: "Situations in which to prevent middle click from pasting.";
|
|
5120
|
+
readonly always: "Always Prevent Middle Click Pasting";
|
|
5121
|
+
readonly focus: "Only Prevent When Text Area Not Focused";
|
|
5119
5122
|
};
|
|
5120
|
-
readonly
|
|
5121
|
-
readonly label: "
|
|
5122
|
-
readonly description: "Milliseconds until
|
|
5123
|
+
readonly threshold: {
|
|
5124
|
+
readonly label: "Threshold";
|
|
5125
|
+
readonly description: "Milliseconds until pasting is enabled again after a middle click.";
|
|
5123
5126
|
};
|
|
5124
5127
|
};
|
|
5125
5128
|
};
|
|
@@ -9385,6 +9388,7 @@ declare const translations: {
|
|
|
9385
9388
|
readonly resume: "Resume recording";
|
|
9386
9389
|
readonly pause: "Pause recording";
|
|
9387
9390
|
readonly recording: "RECORDING";
|
|
9391
|
+
readonly send: "Send";
|
|
9388
9392
|
};
|
|
9389
9393
|
};
|
|
9390
9394
|
readonly volumeBooster: {
|
|
@@ -14489,6 +14493,10 @@ export declare const plugin: DeepKeyProxy<{
|
|
|
14489
14493
|
readonly label: "Keybind Screenshare";
|
|
14490
14494
|
readonly description: "Screenshare by keybind in discord keybind settings";
|
|
14491
14495
|
};
|
|
14496
|
+
readonly focusDiscord: {
|
|
14497
|
+
readonly label: "Focus Discord";
|
|
14498
|
+
readonly description: "Only start screenshare with keybind when Discord is focused";
|
|
14499
|
+
};
|
|
14492
14500
|
readonly toolboxManagement: {
|
|
14493
14501
|
readonly label: "Toolbox Management";
|
|
14494
14502
|
readonly description: "Enable/Disable Instant Screenshare";
|
|
@@ -14694,18 +14702,17 @@ export declare const plugin: DeepKeyProxy<{
|
|
|
14694
14702
|
};
|
|
14695
14703
|
readonly limitMiddleClickPaste: {
|
|
14696
14704
|
readonly name: "LimitMiddleClickPaste";
|
|
14697
|
-
readonly description: "
|
|
14705
|
+
readonly description: "Prevent middle click pasting either always or just when a text area is not focused.";
|
|
14698
14706
|
readonly option: {
|
|
14699
|
-
readonly
|
|
14700
|
-
readonly label: "
|
|
14701
|
-
readonly description: "
|
|
14702
|
-
readonly
|
|
14703
|
-
readonly
|
|
14704
|
-
readonly active: "Whenever a text box is active";
|
|
14707
|
+
readonly scope: {
|
|
14708
|
+
readonly label: "Scope";
|
|
14709
|
+
readonly description: "Situations in which to prevent middle click from pasting.";
|
|
14710
|
+
readonly always: "Always Prevent Middle Click Pasting";
|
|
14711
|
+
readonly focus: "Only Prevent When Text Area Not Focused";
|
|
14705
14712
|
};
|
|
14706
|
-
readonly
|
|
14707
|
-
readonly label: "
|
|
14708
|
-
readonly description: "Milliseconds until
|
|
14713
|
+
readonly threshold: {
|
|
14714
|
+
readonly label: "Threshold";
|
|
14715
|
+
readonly description: "Milliseconds until pasting is enabled again after a middle click.";
|
|
14709
14716
|
};
|
|
14710
14717
|
};
|
|
14711
14718
|
};
|
|
@@ -18971,6 +18978,7 @@ export declare const plugin: DeepKeyProxy<{
|
|
|
18971
18978
|
readonly resume: "Resume recording";
|
|
18972
18979
|
readonly pause: "Pause recording";
|
|
18973
18980
|
readonly recording: "RECORDING";
|
|
18981
|
+
readonly send: "Send";
|
|
18974
18982
|
};
|
|
18975
18983
|
};
|
|
18976
18984
|
readonly volumeBooster: {
|
package/package.json
CHANGED
|
@@ -9,7 +9,7 @@ declare const _default: {
|
|
|
9
9
|
find: string;
|
|
10
10
|
replacement: {
|
|
11
11
|
match: RegExp;
|
|
12
|
-
replace: (_: string, ReactButton: string,
|
|
12
|
+
replace: (_: string, ReactButton: string, ButtonComponent: string, showReactButton: string, message: string) => string;
|
|
13
13
|
};
|
|
14
14
|
}[];
|
|
15
15
|
} & Record<PropertyKey, any> & import("../../utils/types").Plugin;
|
|
@@ -44,6 +44,7 @@ interface SettingsLayoutBuilder {
|
|
|
44
44
|
key?: string;
|
|
45
45
|
buildLayout(): SettingsLayoutNode[];
|
|
46
46
|
}
|
|
47
|
+
export declare const settingsSectionMap: [string, string][];
|
|
47
48
|
declare const _default: {
|
|
48
49
|
name: string;
|
|
49
50
|
description: () => string;
|
|
@@ -128,7 +129,7 @@ declare const _default: {
|
|
|
128
129
|
};
|
|
129
130
|
})[];
|
|
130
131
|
buildEntry(options: EntryOptions): SettingsLayoutNode;
|
|
131
|
-
getSettingsSectionMappings(): string
|
|
132
|
+
getSettingsSectionMappings(): [string, string][];
|
|
132
133
|
buildLayout(originalLayoutBuilder: SettingsLayoutBuilder): SettingsLayoutNode[];
|
|
133
134
|
customSections: ((SectionTypes: Record<string, string>) => {
|
|
134
135
|
section: string;
|
|
@@ -45,6 +45,12 @@ declare const _default: {
|
|
|
45
45
|
restartNeeded: true;
|
|
46
46
|
default: false;
|
|
47
47
|
};
|
|
48
|
+
focusDiscord: {
|
|
49
|
+
label: () => string;
|
|
50
|
+
description: () => string;
|
|
51
|
+
type: import("../../utils/types").OptionType.BOOLEAN;
|
|
52
|
+
default: true;
|
|
53
|
+
};
|
|
48
54
|
toolboxManagement: {
|
|
49
55
|
label: () => string;
|
|
50
56
|
description: () => string;
|
|
@@ -87,6 +93,12 @@ declare const _default: {
|
|
|
87
93
|
restartNeeded: true;
|
|
88
94
|
default: false;
|
|
89
95
|
};
|
|
96
|
+
focusDiscord: {
|
|
97
|
+
label: () => string;
|
|
98
|
+
description: () => string;
|
|
99
|
+
type: import("../../utils/types").OptionType.BOOLEAN;
|
|
100
|
+
default: true;
|
|
101
|
+
};
|
|
90
102
|
toolboxManagement: {
|
|
91
103
|
label: () => string;
|
|
92
104
|
description: () => string;
|
|
@@ -35,6 +35,12 @@ export declare const settings: import("../../utils/types").DefinedSettings<{
|
|
|
35
35
|
restartNeeded: true;
|
|
36
36
|
default: false;
|
|
37
37
|
};
|
|
38
|
+
focusDiscord: {
|
|
39
|
+
label: () => string;
|
|
40
|
+
description: () => string;
|
|
41
|
+
type: OptionType.BOOLEAN;
|
|
42
|
+
default: true;
|
|
43
|
+
};
|
|
38
44
|
toolboxManagement: {
|
|
39
45
|
label: () => string;
|
|
40
46
|
description: () => string;
|
|
@@ -77,6 +83,12 @@ export declare const settings: import("../../utils/types").DefinedSettings<{
|
|
|
77
83
|
restartNeeded: true;
|
|
78
84
|
default: false;
|
|
79
85
|
};
|
|
86
|
+
focusDiscord: {
|
|
87
|
+
label: () => string;
|
|
88
|
+
description: () => string;
|
|
89
|
+
type: OptionType.BOOLEAN;
|
|
90
|
+
default: true;
|
|
91
|
+
};
|
|
80
92
|
toolboxManagement: {
|
|
81
93
|
label: () => string;
|
|
82
94
|
description: () => string;
|
|
@@ -7,7 +7,7 @@ declare const _default: {
|
|
|
7
7
|
id: bigint;
|
|
8
8
|
}[];
|
|
9
9
|
settings: import("../../utils/types").DefinedSettings<{
|
|
10
|
-
|
|
10
|
+
scope: {
|
|
11
11
|
label: () => string;
|
|
12
12
|
description: () => string;
|
|
13
13
|
type: OptionType.SELECT;
|
|
@@ -21,15 +21,15 @@ declare const _default: {
|
|
|
21
21
|
default?: undefined;
|
|
22
22
|
})[];
|
|
23
23
|
};
|
|
24
|
-
|
|
24
|
+
threshold: {
|
|
25
25
|
label: () => string;
|
|
26
26
|
description: () => string;
|
|
27
|
-
type: OptionType.
|
|
28
|
-
markers: number[];
|
|
27
|
+
type: OptionType.NUMBER;
|
|
29
28
|
default: number;
|
|
29
|
+
onChange(newValue: any): void;
|
|
30
30
|
};
|
|
31
31
|
}, import("../../utils/types").SettingsChecks<{
|
|
32
|
-
|
|
32
|
+
scope: {
|
|
33
33
|
label: () => string;
|
|
34
34
|
description: () => string;
|
|
35
35
|
type: OptionType.SELECT;
|
|
@@ -43,15 +43,24 @@ declare const _default: {
|
|
|
43
43
|
default?: undefined;
|
|
44
44
|
})[];
|
|
45
45
|
};
|
|
46
|
-
|
|
46
|
+
threshold: {
|
|
47
47
|
label: () => string;
|
|
48
48
|
description: () => string;
|
|
49
|
-
type: OptionType.
|
|
50
|
-
markers: number[];
|
|
49
|
+
type: OptionType.NUMBER;
|
|
51
50
|
default: number;
|
|
51
|
+
onChange(newValue: any): void;
|
|
52
52
|
};
|
|
53
53
|
}>, {}>;
|
|
54
|
+
isPastingDisabled(isInput: boolean): boolean;
|
|
55
|
+
onMouseUp: (e: MouseEvent) => void;
|
|
54
56
|
start(): void;
|
|
55
57
|
stop(): void;
|
|
58
|
+
patches: {
|
|
59
|
+
find: string;
|
|
60
|
+
replacement: {
|
|
61
|
+
match: RegExp;
|
|
62
|
+
replace: string;
|
|
63
|
+
};
|
|
64
|
+
}[];
|
|
56
65
|
} & Record<PropertyKey, any> & import("../../utils/types").Plugin;
|
|
57
66
|
export default _default;
|