@plexcord/types 1.19.6 → 1.19.7

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 CHANGED
@@ -1340,7 +1340,7 @@ declare const translations: {
1340
1340
  };
1341
1341
  readonly allowNewlinesInCommands: {
1342
1342
  readonly label: "Allow Newlines in Commands";
1343
- readonly description: "Allow newlines in command inputs (Shift + Enter)";
1343
+ readonly description: "Allow newlines in command inputs (CTRL + Shift + Enter)";
1344
1344
  };
1345
1345
  };
1346
1346
  readonly command: {
@@ -1439,32 +1439,6 @@ declare const translations: {
1439
1439
  readonly name: "BetterPlusReacts";
1440
1440
  readonly description: "The amount of plus before :emoji: is the message to add it to";
1441
1441
  };
1442
- readonly betterQuickReact: {
1443
- readonly name: "BetterQuickReact";
1444
- readonly description: "Improves the quick react buttons in the message context menu.";
1445
- readonly option: {
1446
- readonly frequentEmojis: {
1447
- readonly label: "Frequent Emojis";
1448
- readonly description: "Use frequently used emojis instead of favourite emojis";
1449
- };
1450
- readonly rows: {
1451
- readonly label: "Rows";
1452
- readonly description: "Rows of quick reactions to display";
1453
- };
1454
- readonly columns: {
1455
- readonly label: "Columns";
1456
- readonly description: "Columns of quick reactions to display";
1457
- };
1458
- readonly compactMode: {
1459
- readonly label: "Compact Mode";
1460
- readonly description: "Scales the buttons to 75% of their original scale, whilst increasing the inner emoji to 125% scale. Emojis will be 93.75% of the original size. Recommended to have a minimum of 5 columns";
1461
- };
1462
- readonly scroll: {
1463
- readonly label: "Scroll";
1464
- readonly description: "Enable scrolling the list of emojis";
1465
- };
1466
- };
1467
- };
1468
1442
  readonly betterRoleContext: {
1469
1443
  readonly name: "BetterRoleContext";
1470
1444
  readonly description: "Adds options to copy role color / edit role / view role icon when right clicking roles in the user profile";
@@ -2397,6 +2371,18 @@ declare const translations: {
2397
2371
  readonly only: "Only when beginning or end of activity name matches";
2398
2372
  readonly never: "Never";
2399
2373
  };
2374
+ readonly enableScreenshotKeybind: {
2375
+ readonly label: "Enable Screenshot Keybind";
2376
+ readonly description: "Enable the screenshot keybind feature";
2377
+ };
2378
+ readonly enableVoiceOnlyClips: {
2379
+ readonly label: "Enable Voice-Only Clips";
2380
+ readonly description: "Enable voice-only clips (audio without video)";
2381
+ };
2382
+ readonly enableAdvancedSignals: {
2383
+ readonly label: "Enable Advanced Signals";
2384
+ readonly description: "Enable advanced clip signals (auto-clip triggers)";
2385
+ };
2400
2386
  readonly clipsLink: {
2401
2387
  readonly label: "Clips Link";
2402
2388
  readonly link: "Change FPS and duration options in Clips settings!";
@@ -4428,6 +4414,10 @@ declare const translations: {
4428
4414
  readonly label: "Show in Mini Profile";
4429
4415
  readonly description: "Show repositories in the mini profile popout";
4430
4416
  };
4417
+ readonly showRepositoryTab: {
4418
+ readonly label: "Show Repository Tab";
4419
+ readonly description: "Show repositories tab in profile modal (hides button in connections when enabled)";
4420
+ };
4431
4421
  };
4432
4422
  readonly error: {
4433
4423
  readonly error: "Error";
@@ -5912,6 +5902,36 @@ declare const translations: {
5912
5902
  readonly name: "MoreKaomoji";
5913
5903
  readonly description: "Adds more Kaomoji to discord. ヽ(´▽`)/";
5914
5904
  };
5905
+ readonly moreQuickReactions: {
5906
+ readonly name: "MoreQuickReactions";
5907
+ readonly description: "Improves the quick react buttons in the message context menu.";
5908
+ readonly option: {
5909
+ readonly reactionCount: {
5910
+ readonly label: "Reaction Count";
5911
+ readonly description: "Number of reactions (0-42)";
5912
+ };
5913
+ readonly frequentEmojis: {
5914
+ readonly label: "Frequent Emojis";
5915
+ readonly description: "Use frequently used emojis instead of favourite emojis";
5916
+ };
5917
+ readonly rows: {
5918
+ readonly label: "Rows";
5919
+ readonly description: "Rows of quick reactions to display";
5920
+ };
5921
+ readonly columns: {
5922
+ readonly label: "Columns";
5923
+ readonly description: "Columns of quick reactions to display";
5924
+ };
5925
+ readonly compactMode: {
5926
+ readonly label: "Compact Mode";
5927
+ readonly description: "Scales the buttons to 75% of their original scale, whilst increasing the inner emoji to 125% scale. Emojis will be 93.75% of the original size. Recommended to have a minimum of 5 columns";
5928
+ };
5929
+ readonly scroll: {
5930
+ readonly label: "Scroll";
5931
+ readonly description: "Enable scrolling the list of emojis";
5932
+ };
5933
+ };
5934
+ };
5915
5935
  readonly morse: {
5916
5936
  readonly name: "Morse";
5917
5937
  readonly description: "A slash command to translate to/from morse code.";
@@ -8577,16 +8597,6 @@ declare const translations: {
8577
8597
  readonly name: "ThemeAttributes";
8578
8598
  readonly description: "Adds data attributes to various elements for theming purposes";
8579
8599
  };
8580
- readonly timelessClips: {
8581
- readonly name: "TimelessClips";
8582
- readonly description: "Add a your own clip length";
8583
- readonly option: {
8584
- readonly clipLength: {
8585
- readonly label: "Clip Length";
8586
- readonly description: "Add clip length option in minutes";
8587
- };
8588
- };
8589
- };
8590
8600
  readonly timezones: {
8591
8601
  readonly name: "Timezones";
8592
8602
  readonly description: "Shows the local time of users in profiles and message headers";
@@ -10930,7 +10940,7 @@ export declare const plugin: DeepKeyProxy<{
10930
10940
  };
10931
10941
  readonly allowNewlinesInCommands: {
10932
10942
  readonly label: "Allow Newlines in Commands";
10933
- readonly description: "Allow newlines in command inputs (Shift + Enter)";
10943
+ readonly description: "Allow newlines in command inputs (CTRL + Shift + Enter)";
10934
10944
  };
10935
10945
  };
10936
10946
  readonly command: {
@@ -11029,32 +11039,6 @@ export declare const plugin: DeepKeyProxy<{
11029
11039
  readonly name: "BetterPlusReacts";
11030
11040
  readonly description: "The amount of plus before :emoji: is the message to add it to";
11031
11041
  };
11032
- readonly betterQuickReact: {
11033
- readonly name: "BetterQuickReact";
11034
- readonly description: "Improves the quick react buttons in the message context menu.";
11035
- readonly option: {
11036
- readonly frequentEmojis: {
11037
- readonly label: "Frequent Emojis";
11038
- readonly description: "Use frequently used emojis instead of favourite emojis";
11039
- };
11040
- readonly rows: {
11041
- readonly label: "Rows";
11042
- readonly description: "Rows of quick reactions to display";
11043
- };
11044
- readonly columns: {
11045
- readonly label: "Columns";
11046
- readonly description: "Columns of quick reactions to display";
11047
- };
11048
- readonly compactMode: {
11049
- readonly label: "Compact Mode";
11050
- readonly description: "Scales the buttons to 75% of their original scale, whilst increasing the inner emoji to 125% scale. Emojis will be 93.75% of the original size. Recommended to have a minimum of 5 columns";
11051
- };
11052
- readonly scroll: {
11053
- readonly label: "Scroll";
11054
- readonly description: "Enable scrolling the list of emojis";
11055
- };
11056
- };
11057
- };
11058
11042
  readonly betterRoleContext: {
11059
11043
  readonly name: "BetterRoleContext";
11060
11044
  readonly description: "Adds options to copy role color / edit role / view role icon when right clicking roles in the user profile";
@@ -11987,6 +11971,18 @@ export declare const plugin: DeepKeyProxy<{
11987
11971
  readonly only: "Only when beginning or end of activity name matches";
11988
11972
  readonly never: "Never";
11989
11973
  };
11974
+ readonly enableScreenshotKeybind: {
11975
+ readonly label: "Enable Screenshot Keybind";
11976
+ readonly description: "Enable the screenshot keybind feature";
11977
+ };
11978
+ readonly enableVoiceOnlyClips: {
11979
+ readonly label: "Enable Voice-Only Clips";
11980
+ readonly description: "Enable voice-only clips (audio without video)";
11981
+ };
11982
+ readonly enableAdvancedSignals: {
11983
+ readonly label: "Enable Advanced Signals";
11984
+ readonly description: "Enable advanced clip signals (auto-clip triggers)";
11985
+ };
11990
11986
  readonly clipsLink: {
11991
11987
  readonly label: "Clips Link";
11992
11988
  readonly link: "Change FPS and duration options in Clips settings!";
@@ -14018,6 +14014,10 @@ export declare const plugin: DeepKeyProxy<{
14018
14014
  readonly label: "Show in Mini Profile";
14019
14015
  readonly description: "Show repositories in the mini profile popout";
14020
14016
  };
14017
+ readonly showRepositoryTab: {
14018
+ readonly label: "Show Repository Tab";
14019
+ readonly description: "Show repositories tab in profile modal (hides button in connections when enabled)";
14020
+ };
14021
14021
  };
14022
14022
  readonly error: {
14023
14023
  readonly error: "Error";
@@ -15502,6 +15502,36 @@ export declare const plugin: DeepKeyProxy<{
15502
15502
  readonly name: "MoreKaomoji";
15503
15503
  readonly description: "Adds more Kaomoji to discord. ヽ(´▽`)/";
15504
15504
  };
15505
+ readonly moreQuickReactions: {
15506
+ readonly name: "MoreQuickReactions";
15507
+ readonly description: "Improves the quick react buttons in the message context menu.";
15508
+ readonly option: {
15509
+ readonly reactionCount: {
15510
+ readonly label: "Reaction Count";
15511
+ readonly description: "Number of reactions (0-42)";
15512
+ };
15513
+ readonly frequentEmojis: {
15514
+ readonly label: "Frequent Emojis";
15515
+ readonly description: "Use frequently used emojis instead of favourite emojis";
15516
+ };
15517
+ readonly rows: {
15518
+ readonly label: "Rows";
15519
+ readonly description: "Rows of quick reactions to display";
15520
+ };
15521
+ readonly columns: {
15522
+ readonly label: "Columns";
15523
+ readonly description: "Columns of quick reactions to display";
15524
+ };
15525
+ readonly compactMode: {
15526
+ readonly label: "Compact Mode";
15527
+ readonly description: "Scales the buttons to 75% of their original scale, whilst increasing the inner emoji to 125% scale. Emojis will be 93.75% of the original size. Recommended to have a minimum of 5 columns";
15528
+ };
15529
+ readonly scroll: {
15530
+ readonly label: "Scroll";
15531
+ readonly description: "Enable scrolling the list of emojis";
15532
+ };
15533
+ };
15534
+ };
15505
15535
  readonly morse: {
15506
15536
  readonly name: "Morse";
15507
15537
  readonly description: "A slash command to translate to/from morse code.";
@@ -18167,16 +18197,6 @@ export declare const plugin: DeepKeyProxy<{
18167
18197
  readonly name: "ThemeAttributes";
18168
18198
  readonly description: "Adds data attributes to various elements for theming purposes";
18169
18199
  };
18170
- readonly timelessClips: {
18171
- readonly name: "TimelessClips";
18172
- readonly description: "Add a your own clip length";
18173
- readonly option: {
18174
- readonly clipLength: {
18175
- readonly label: "Clip Length";
18176
- readonly description: "Add clip length option in minutes";
18177
- };
18178
- };
18179
- };
18180
18200
  readonly timezones: {
18181
18201
  readonly name: "Timezones";
18182
18202
  readonly description: "Shows the local time of users in profiles and message headers";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@plexcord/types",
3
3
  "private": false,
4
- "version": "1.19.6",
4
+ "version": "1.19.7",
5
5
  "description": "",
6
6
  "types": "index.d.ts",
7
7
  "scripts": {
@@ -93,13 +93,20 @@ declare const _default: {
93
93
  restartNeeded: true;
94
94
  };
95
95
  }>, {}>;
96
- patches: {
96
+ patches: ({
97
97
  find: string;
98
98
  replacement: {
99
99
  match: RegExp;
100
100
  replace: string;
101
101
  };
102
102
  predicate: () => boolean;
103
- }[];
103
+ } | {
104
+ find: string;
105
+ replacement: {
106
+ match: RegExp;
107
+ replace: string;
108
+ }[];
109
+ predicate: () => boolean;
110
+ })[];
104
111
  } & Record<PropertyKey, any> & import("../../utils/types").Plugin;
105
112
  export default _default;
@@ -5,18 +5,12 @@ declare const _default: {
5
5
  name: string;
6
6
  id: bigint;
7
7
  }[];
8
- patches: ({
9
- find: string;
10
- replacement: {
11
- match: RegExp;
12
- replace: string;
13
- };
14
- } | {
8
+ patches: {
15
9
  find: string;
16
10
  replacement: {
17
11
  match: RegExp;
18
12
  replace: string;
19
13
  }[];
20
- })[];
14
+ }[];
21
15
  } & Record<PropertyKey, any> & import("../../utils/types").Plugin;
22
16
  export default _default;
@@ -1,4 +1,3 @@
1
- import { SelectOption } from "@plexcord/discord-types";
2
1
  import { OptionType } from "../../utils/types";
3
2
  declare const _default: {
4
3
  name: string;
@@ -22,6 +21,27 @@ declare const _default: {
22
21
  default: true;
23
22
  })[];
24
23
  };
24
+ enableScreenshotKeybind: {
25
+ label: () => string;
26
+ description: () => string;
27
+ type: OptionType.BOOLEAN;
28
+ default: true;
29
+ restartNeeded: true;
30
+ };
31
+ enableVoiceOnlyClips: {
32
+ label: () => string;
33
+ description: () => string;
34
+ type: OptionType.BOOLEAN;
35
+ default: true;
36
+ restartNeeded: true;
37
+ };
38
+ enableAdvancedSignals: {
39
+ label: () => string;
40
+ description: () => string;
41
+ type: OptionType.BOOLEAN;
42
+ default: true;
43
+ restartNeeded: true;
44
+ };
25
45
  clipsLink: {
26
46
  label: () => string;
27
47
  type: OptionType.COMPONENT;
@@ -43,6 +63,27 @@ declare const _default: {
43
63
  default: true;
44
64
  })[];
45
65
  };
66
+ enableScreenshotKeybind: {
67
+ label: () => string;
68
+ description: () => string;
69
+ type: OptionType.BOOLEAN;
70
+ default: true;
71
+ restartNeeded: true;
72
+ };
73
+ enableVoiceOnlyClips: {
74
+ label: () => string;
75
+ description: () => string;
76
+ type: OptionType.BOOLEAN;
77
+ default: true;
78
+ restartNeeded: true;
79
+ };
80
+ enableAdvancedSignals: {
81
+ label: () => string;
82
+ description: () => string;
83
+ type: OptionType.BOOLEAN;
84
+ default: true;
85
+ restartNeeded: true;
86
+ };
46
87
  clipsLink: {
47
88
  label: () => string;
48
89
  type: OptionType.COMPONENT;
@@ -55,16 +96,16 @@ declare const _default: {
55
96
  replacement: {
56
97
  match: RegExp;
57
98
  replace: string;
58
- }[];
99
+ };
59
100
  } | {
60
101
  find: string;
61
102
  replacement: {
62
103
  match: RegExp;
63
104
  replace: string;
64
- };
105
+ }[];
65
106
  })[];
66
- patchTimeslots(timeslots: SelectOption[]): SelectOption[];
67
- patchFramerates(framerates: SelectOption[]): SelectOption[];
107
+ patchTimeslots(timeslots: any): any[];
108
+ patchFramerates(framerates: any): any[];
68
109
  getApplicationId(activityName: string): string | null | undefined;
69
110
  } & Record<PropertyKey, any> & import("../../utils/types").Plugin;
70
111
  export default _default;
@@ -1,4 +1,5 @@
1
- export declare function GitHubReposComponent({ id, theme }: {
1
+ export declare function GitHubReposComponent({ id, theme, variant }: {
2
2
  id: string;
3
3
  theme: string;
4
- }): import("react").JSX.Element | null;
4
+ variant?: "popout" | "tab";
5
+ }): import("react").JSX.Element | null | undefined;
@@ -1,2 +1,4 @@
1
1
  import { RepoCardProps } from "../types";
2
- export declare function RepoCard({ repo, showStars, showLanguage }: RepoCardProps): import("react").JSX.Element;
2
+ export declare function RepoCard({ repo, showStars, showLanguage, variant }: RepoCardProps & {
3
+ variant?: "popout" | "tab";
4
+ }): import("react").JSX.Element;
@@ -21,6 +21,12 @@ export declare const settings: import("../../utils/types").DefinedSettings<{
21
21
  type: OptionType.BOOLEAN;
22
22
  default: true;
23
23
  };
24
+ showRepositoryTab: {
25
+ label: () => string;
26
+ description: () => string;
27
+ type: OptionType.BOOLEAN;
28
+ default: true;
29
+ };
24
30
  }, import("../../utils/types").SettingsChecks<{
25
31
  showStars: {
26
32
  label: () => string;
@@ -40,6 +46,12 @@ export declare const settings: import("../../utils/types").DefinedSettings<{
40
46
  type: OptionType.BOOLEAN;
41
47
  default: true;
42
48
  };
49
+ showRepositoryTab: {
50
+ label: () => string;
51
+ description: () => string;
52
+ type: OptionType.BOOLEAN;
53
+ default: true;
54
+ };
43
55
  }>, {}>;
44
56
  declare const _default: {
45
57
  name: string;
@@ -67,6 +79,12 @@ declare const _default: {
67
79
  type: OptionType.BOOLEAN;
68
80
  default: true;
69
81
  };
82
+ showRepositoryTab: {
83
+ label: () => string;
84
+ description: () => string;
85
+ type: OptionType.BOOLEAN;
86
+ default: true;
87
+ };
70
88
  }, import("../../utils/types").SettingsChecks<{
71
89
  showStars: {
72
90
  label: () => string;
@@ -86,17 +104,35 @@ declare const _default: {
86
104
  type: OptionType.BOOLEAN;
87
105
  default: true;
88
106
  };
107
+ showRepositoryTab: {
108
+ label: () => string;
109
+ description: () => string;
110
+ type: OptionType.BOOLEAN;
111
+ default: true;
112
+ };
89
113
  }>, {}>;
90
- patches: {
114
+ patches: ({
91
115
  find: string;
92
116
  replacement: {
93
117
  match: RegExp;
94
118
  replace: string;
119
+ predicate?: undefined;
95
120
  };
96
- }[];
121
+ } | {
122
+ find: string;
123
+ replacement: {
124
+ match: RegExp;
125
+ replace: string;
126
+ predicate: () => boolean;
127
+ };
128
+ })[];
97
129
  ProfilePopoutComponent: import("react").FunctionComponent<{
98
130
  user: User;
99
131
  displayProfile?: any;
100
132
  }>;
133
+ ProfileRepositoriesTab: import("react").FunctionComponent<{
134
+ user: User;
135
+ displayProfile?: any;
136
+ }>;
101
137
  } & Record<PropertyKey, any> & import("../../utils/types").Plugin;
102
138
  export default _default;
@@ -34,6 +34,7 @@ declare const _default: {
34
34
  user: User;
35
35
  username: string;
36
36
  }>;
37
+ renderInputMention(username: string, user: User): string | import("react").JSX.Element;
37
38
  renderRoleIcon: import("react").FunctionComponent<{
38
39
  roleId: string;
39
40
  guildId: string;
@@ -1,6 +1,12 @@
1
1
  import "./style.css";
2
2
  import { OptionType } from "../../utils/types";
3
3
  export declare const settings: import("../../utils/types").DefinedSettings<{
4
+ reactionCount: {
5
+ label: () => string;
6
+ description: () => string;
7
+ type: OptionType.NUMBER;
8
+ default: number;
9
+ };
4
10
  frequentEmojis: {
5
11
  label: () => string;
6
12
  description: () => string;
@@ -37,6 +43,12 @@ export declare const settings: import("../../utils/types").DefinedSettings<{
37
43
  default: true;
38
44
  };
39
45
  }, import("../../utils/types").SettingsChecks<{
46
+ reactionCount: {
47
+ label: () => string;
48
+ description: () => string;
49
+ type: OptionType.NUMBER;
50
+ default: number;
51
+ };
40
52
  frequentEmojis: {
41
53
  label: () => string;
42
54
  description: () => string;
@@ -81,6 +93,12 @@ declare const _default: {
81
93
  id: bigint;
82
94
  }[];
83
95
  settings: import("../../utils/types").DefinedSettings<{
96
+ reactionCount: {
97
+ label: () => string;
98
+ description: () => string;
99
+ type: OptionType.NUMBER;
100
+ default: number;
101
+ };
84
102
  frequentEmojis: {
85
103
  label: () => string;
86
104
  description: () => string;
@@ -117,6 +135,12 @@ declare const _default: {
117
135
  default: true;
118
136
  };
119
137
  }, import("../../utils/types").SettingsChecks<{
138
+ reactionCount: {
139
+ label: () => string;
140
+ description: () => string;
141
+ type: OptionType.NUMBER;
142
+ default: number;
143
+ };
120
144
  frequentEmojis: {
121
145
  label: () => string;
122
146
  description: () => string;
@@ -154,6 +178,14 @@ declare const _default: {
154
178
  };
155
179
  }>, {}>;
156
180
  patches: ({
181
+ find: string;
182
+ replacement: {
183
+ match: RegExp;
184
+ replace: string;
185
+ };
186
+ predicate?: undefined;
187
+ group?: undefined;
188
+ } | {
157
189
  find: string;
158
190
  replacement: {
159
191
  match: RegExp;
@@ -179,6 +211,7 @@ declare const _default: {
179
211
  group?: undefined;
180
212
  })[];
181
213
  getMaxQuickReactions(): number;
214
+ readonly reactionCount: number;
182
215
  applyScroll(emojis: any[], index: number): any[];
183
216
  onWheelWrapper(currentScrollValue: number, setScrollHook: (value: number) => void, emojisLength: number): ((e: WheelEvent) => void) | undefined;
184
217
  } & Record<PropertyKey, any> & import("../../utils/types").Plugin;
@@ -1,37 +0,0 @@
1
- import { OptionType } from "../../utils/types";
2
- declare const _default: {
3
- name: string;
4
- description: () => string;
5
- authors: {
6
- name: string;
7
- id: bigint;
8
- }[];
9
- patches: {
10
- find: string;
11
- replacement: {
12
- match: RegExp;
13
- replace: string;
14
- };
15
- }[];
16
- settings: import("../../utils/types").DefinedSettings<{
17
- clipLength: {
18
- label: () => string;
19
- description: () => string;
20
- type: OptionType.SLIDER;
21
- markers: number[];
22
- default: number;
23
- stickToMarkers: true;
24
- };
25
- }, import("../../utils/types").SettingsChecks<{
26
- clipLength: {
27
- label: () => string;
28
- description: () => string;
29
- type: OptionType.SLIDER;
30
- markers: number[];
31
- default: number;
32
- stickToMarkers: true;
33
- };
34
- }>, {}>;
35
- getClipLength(millis: boolean): number;
36
- } & Record<PropertyKey, any> & import("../../utils/types").Plugin;
37
- export default _default;