@plexcord/types 1.18.5 → 1.18.6
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/SettingsSync/offline.d.ts +6 -5
- package/components/BaseText.d.ts +18 -5
- package/components/Icons.d.ts +1 -0
- package/components/Link.d.ts +4 -3
- package/components/Span.d.ts +1 -1
- package/locales/en.d.ts +134 -18
- package/package.json +1 -1
- package/plugins/_core/settings.d.ts +1 -0
- package/plugins/cakeday/index.d.ts +25 -1
- package/plugins/questify/index.d.ts +17 -2
- package/plugins/questify/settings.d.ts +14 -0
- package/plugins/shikiCodeblocks.desktop/api/languages.d.ts +3 -3
- package/plugins/spotifyActivityToggle/index.d.ts +41 -1
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
export declare function
|
|
1
|
+
type BackupType = "all" | "plugins" | "css" | "datastore";
|
|
2
|
+
export declare function importSettings(data: string, type?: BackupType, cloud?: boolean): Promise<void>;
|
|
3
|
+
export declare function exportSettings({ syncDataStore, type, minify }: {
|
|
3
4
|
syncDataStore?: boolean;
|
|
5
|
+
type?: BackupType;
|
|
4
6
|
minify?: boolean;
|
|
5
7
|
}): Promise<string>;
|
|
6
8
|
export declare function exportPlugins({ minify }?: {
|
|
@@ -12,9 +14,8 @@ export declare function exportCSS({ minify }?: {
|
|
|
12
14
|
export declare function exportDataStores({ minify }?: {
|
|
13
15
|
minify?: boolean;
|
|
14
16
|
}): Promise<string>;
|
|
15
|
-
|
|
16
|
-
export declare function downloadSettingsBackup(type: BackupType, { minify }?: {
|
|
17
|
+
export declare function downloadSettingsBackup(type?: BackupType, { minify }?: {
|
|
17
18
|
minify?: boolean;
|
|
18
19
|
}): Promise<void>;
|
|
19
|
-
export declare function uploadSettingsBackup(showToast?: boolean): Promise<void>;
|
|
20
|
+
export declare function uploadSettingsBackup(type?: BackupType, showToast?: boolean): Promise<void>;
|
|
20
21
|
export {};
|
package/components/BaseText.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./BaseText.css";
|
|
2
2
|
import type { Text as DiscordText } from "@plexcord/discord-types";
|
|
3
3
|
import type { ComponentPropsWithoutRef, ReactNode } from "react";
|
|
4
|
-
declare const
|
|
4
|
+
export declare const TextSizes: {
|
|
5
5
|
readonly xxs: "0.625rem";
|
|
6
6
|
readonly xs: "0.75rem";
|
|
7
7
|
readonly sm: "0.875rem";
|
|
@@ -10,7 +10,7 @@ declare const Sizes: {
|
|
|
10
10
|
readonly xl: "1.5rem";
|
|
11
11
|
readonly xxl: "2rem";
|
|
12
12
|
};
|
|
13
|
-
declare const
|
|
13
|
+
export declare const TextWeights: {
|
|
14
14
|
readonly thin: "100";
|
|
15
15
|
readonly extralight: "200";
|
|
16
16
|
readonly light: "300";
|
|
@@ -20,15 +20,28 @@ declare const Weights: {
|
|
|
20
20
|
readonly bold: "700";
|
|
21
21
|
readonly extrabold: "800";
|
|
22
22
|
};
|
|
23
|
+
export declare const TextColors: {
|
|
24
|
+
readonly "header-primary": "var(--header-primary)";
|
|
25
|
+
readonly "text-default": "var(--text-default)";
|
|
26
|
+
readonly "text-muted": "var(--text-muted)";
|
|
27
|
+
readonly "text-link": "var(--text-link)";
|
|
28
|
+
readonly "text-danger": "var(--redesign-button-danger-background, var(--button-danger-background))";
|
|
29
|
+
readonly "text-brand": "var(--text-brand)";
|
|
30
|
+
readonly "text-strong": "var(--text-strong)";
|
|
31
|
+
readonly "text-subtle": "var(--text-subtle)";
|
|
32
|
+
readonly "control-text-critical": "var(--control-text-critical-secondary-default)";
|
|
33
|
+
readonly "control-text-primary": "var(--control-text-primary-default)";
|
|
34
|
+
};
|
|
23
35
|
export declare function generateTextCss(): string;
|
|
24
|
-
export type TextSize = keyof typeof
|
|
25
|
-
export type TextWeight = keyof typeof
|
|
36
|
+
export type TextSize = keyof typeof TextSizes;
|
|
37
|
+
export type TextWeight = keyof typeof TextWeights;
|
|
38
|
+
export type TextColor = keyof typeof TextColors;
|
|
26
39
|
export type TextTag = "div" | "span" | "p" | `h${1 | 2 | 3 | 4 | 5 | 6}`;
|
|
27
40
|
export type BaseTextProps<Tag extends TextTag = "div"> = ComponentPropsWithoutRef<Tag> & {
|
|
28
41
|
size?: TextSize;
|
|
29
42
|
weight?: TextWeight;
|
|
43
|
+
color?: TextColor;
|
|
30
44
|
tag?: Tag;
|
|
31
45
|
};
|
|
32
46
|
export declare function BaseText<T extends TextTag = "div">(props: BaseTextProps<T>): ReactNode;
|
|
33
47
|
export declare const TextCompat: DiscordText;
|
|
34
|
-
export {};
|
package/components/Icons.d.ts
CHANGED
|
@@ -49,6 +49,7 @@ export declare function PluginsIcon(props: IconProps): import("react").JSX.Eleme
|
|
|
49
49
|
export declare function CloudIcon(props: IconProps): import("react").JSX.Element;
|
|
50
50
|
export declare function BackupRestoreIcon(props: IconProps): import("react").JSX.Element;
|
|
51
51
|
export declare function UpdaterIcon(props: IconProps): import("react").JSX.Element;
|
|
52
|
+
export declare function ChangelogIcon(props: IconProps): import("react").JSX.Element;
|
|
52
53
|
export declare function PatchHelperIcon(props: IconProps): import("react").JSX.Element;
|
|
53
54
|
export declare function PlextronSettingsIcon(props: IconProps): import("react").JSX.Element;
|
|
54
55
|
export declare function EyeIcon(props: IconProps): import("react").JSX.Element;
|
package/components/Link.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
import "./Link.css";
|
|
2
|
+
import type { AnchorHTMLAttributes, PropsWithChildren } from "react";
|
|
3
|
+
export interface LinkProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
2
4
|
disabled?: boolean;
|
|
3
5
|
}
|
|
4
|
-
export declare function Link(
|
|
5
|
-
export {};
|
|
6
|
+
export declare function Link({ disabled, className, children, ...restProps }: PropsWithChildren<LinkProps>): import("react").JSX.Element;
|
package/components/Span.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { type BaseTextProps } from "./BaseText";
|
|
2
2
|
export type SpanProps = BaseTextProps<"span">;
|
|
3
|
-
export declare function Span({ children, ...restProps }: SpanProps): import("react").JSX.Element;
|
|
3
|
+
export declare function Span({ children, size, weight, ...restProps }: SpanProps): import("react").JSX.Element;
|
package/locales/en.d.ts
CHANGED
|
@@ -25,15 +25,19 @@ declare const translations: {
|
|
|
25
25
|
readonly switches: {
|
|
26
26
|
readonly useQuickCss: {
|
|
27
27
|
readonly label: "Enable Custom CSS";
|
|
28
|
+
readonly description: "Enables the QuickCSS feature to allow custom CSS to be applied to Discord";
|
|
28
29
|
};
|
|
29
30
|
readonly enableReactDevtools: {
|
|
30
31
|
readonly label: "Enable React Developer Tools";
|
|
32
|
+
readonly description: "Enables the React Developer Tools extension to work with Discord";
|
|
31
33
|
};
|
|
32
34
|
readonly frameless: {
|
|
33
35
|
readonly label: "Disable the window frame";
|
|
36
|
+
readonly description: "Removes the window frame for a cleaner look. Use with caution as it may affect window controls.";
|
|
34
37
|
};
|
|
35
38
|
readonly winNativeTitleBar: {
|
|
36
39
|
readonly label: "Use Windows' native title bar instead of Discord's custom one";
|
|
40
|
+
readonly description: "Replaces Discord's custom title bar with the native Windows title bar for better integration with the OS.";
|
|
37
41
|
};
|
|
38
42
|
readonly transparent: {
|
|
39
43
|
readonly label: "Enable window transparency";
|
|
@@ -41,13 +45,16 @@ declare const translations: {
|
|
|
41
45
|
};
|
|
42
46
|
readonly winCtrlQ: {
|
|
43
47
|
readonly label: "Register Ctrl+Q as shortcut to close Discord (Alternative to Alt+F4)";
|
|
48
|
+
readonly description: "Allows you to use Ctrl+Q to close Discord, similar to other Windows applications.";
|
|
44
49
|
};
|
|
45
50
|
readonly disableMinSize: {
|
|
46
51
|
readonly label: "Disable minimum window size";
|
|
52
|
+
readonly description: "Allows you to resize the Discord window to any size, removing the default minimum size restriction.";
|
|
47
53
|
};
|
|
48
54
|
};
|
|
49
55
|
readonly quickActions: {
|
|
50
56
|
readonly title: "Quick Actions";
|
|
57
|
+
readonly description: "Common actions you might want to perform. These shortcuts give you quick access to frequently used features without navigating through menus.";
|
|
51
58
|
readonly notificationLog: "Notification Log";
|
|
52
59
|
readonly editQuickCSS: "Edit QuickCSS";
|
|
53
60
|
readonly relaunchDiscord: "Relaunch Discord";
|
|
@@ -159,6 +166,7 @@ declare const translations: {
|
|
|
159
166
|
};
|
|
160
167
|
readonly macVibrancy: {
|
|
161
168
|
readonly title: "Window Vibrancy Style (Requires Restart)";
|
|
169
|
+
readonly description: "Customize the macOS window vibrancy effect. This controls the blur and transparency style of the Discord window. Changes require a restart to take effect.";
|
|
162
170
|
readonly placeholder: "Window vibrancy style";
|
|
163
171
|
readonly style: {
|
|
164
172
|
readonly no: "No Vibrancy";
|
|
@@ -344,6 +352,7 @@ declare const translations: {
|
|
|
344
352
|
};
|
|
345
353
|
readonly patchHelper: {
|
|
346
354
|
readonly title: "Patch Helper";
|
|
355
|
+
readonly description: "A developer tool to help you create patches for Plexcord plugins.";
|
|
347
356
|
readonly fullPatch: {
|
|
348
357
|
readonly label: "Full Patch";
|
|
349
358
|
readonly description: "Paste your full JSON patch here to fill in the fields";
|
|
@@ -351,7 +360,8 @@ declare const translations: {
|
|
|
351
360
|
readonly find: "Find";
|
|
352
361
|
readonly match: "Match";
|
|
353
362
|
readonly replacement: "Replacement";
|
|
354
|
-
readonly
|
|
363
|
+
readonly preview: "Preview";
|
|
364
|
+
readonly generatedCode: "Generated Code";
|
|
355
365
|
readonly group: "Group";
|
|
356
366
|
readonly diff: "Diff";
|
|
357
367
|
readonly module: "Module";
|
|
@@ -389,7 +399,7 @@ declare const translations: {
|
|
|
389
399
|
readonly sync: {
|
|
390
400
|
readonly title: "Backup & Restore";
|
|
391
401
|
readonly warning: "Warning";
|
|
392
|
-
readonly warningText: "Importing a settings file will overwrite your current settings.";
|
|
402
|
+
readonly warningText: "Importing a settings file will overwrite your current settings. Make sure to export a backup first if you want to keep your current configuration.";
|
|
393
403
|
readonly description: "You can import and export your Plexcord settings as a JSON file. This allows you to easily transfer your settings to another device, or recover your settings after reinstalling Plexcord or Discord.";
|
|
394
404
|
readonly successful: "Settings successfully imported. Restart to apply changes!";
|
|
395
405
|
readonly error: {
|
|
@@ -403,12 +413,21 @@ declare const translations: {
|
|
|
403
413
|
readonly plugins: "Plugin Settings";
|
|
404
414
|
readonly datastores: "Plugin DataStores (e.g Timezones or IRememberYou)";
|
|
405
415
|
};
|
|
406
|
-
readonly
|
|
407
|
-
readonly
|
|
408
|
-
readonly
|
|
409
|
-
readonly
|
|
410
|
-
readonly
|
|
411
|
-
readonly
|
|
416
|
+
readonly import: {
|
|
417
|
+
readonly title: "Import Settings";
|
|
418
|
+
readonly description: "Select a previously exported settings file to restore your configuration. This will replace all your current settings with the ones from the backup.";
|
|
419
|
+
readonly all: "Import All Settings";
|
|
420
|
+
readonly plugins: "Import Plugin";
|
|
421
|
+
readonly css: "Import QuickCSS";
|
|
422
|
+
readonly datastore: "Import DataStores";
|
|
423
|
+
};
|
|
424
|
+
readonly export: {
|
|
425
|
+
readonly title: "Export Settings";
|
|
426
|
+
readonly description: "You can export your current Plexcord settings to a file for backup or transfer to another device.";
|
|
427
|
+
readonly all: "Export All Settings";
|
|
428
|
+
readonly plugins: "Export Plugin";
|
|
429
|
+
readonly css: "Export QuickCSS";
|
|
430
|
+
readonly datastore: "Export DataStores";
|
|
412
431
|
};
|
|
413
432
|
};
|
|
414
433
|
readonly cloud: {
|
|
@@ -622,8 +641,12 @@ declare const translations: {
|
|
|
622
641
|
readonly updates: "Updates";
|
|
623
642
|
readonly updated: "has been updated!";
|
|
624
643
|
readonly restart: "Click here to restart";
|
|
644
|
+
readonly preferences: {
|
|
645
|
+
readonly title: "Update Preferences";
|
|
646
|
+
readonly description: "Control how Plexcord keeps itself up to date. You can choose to update automatically in the background or be notified when new updates are available.";
|
|
647
|
+
};
|
|
625
648
|
readonly github: {
|
|
626
|
-
readonly local: "Your local copy has more recent commits. Please stash or reset them.";
|
|
649
|
+
readonly local: "Your local copy has more recent commits than the remote repository. This usually happens when you've made local changes. Please stash or reset them before updating.";
|
|
627
650
|
};
|
|
628
651
|
readonly error: {
|
|
629
652
|
readonly check: "Failed to check updates. Check the console for more info";
|
|
@@ -661,6 +684,7 @@ declare const translations: {
|
|
|
661
684
|
readonly description: "Shows a notification when Plexcord automatically updates";
|
|
662
685
|
};
|
|
663
686
|
readonly repo: "Repo";
|
|
687
|
+
readonly repoDescription: "This is the GitHub repository where Plexcord fetches updates from.";
|
|
664
688
|
};
|
|
665
689
|
readonly components: {
|
|
666
690
|
readonly error: {
|
|
@@ -1487,6 +1511,14 @@ declare const translations: {
|
|
|
1487
1511
|
readonly label: "Profile Badge";
|
|
1488
1512
|
readonly description: "Show cake badge in user profile";
|
|
1489
1513
|
};
|
|
1514
|
+
readonly notificationSound: {
|
|
1515
|
+
readonly label: "Notification Sound";
|
|
1516
|
+
readonly description: "Play sound when birthday notification is sent";
|
|
1517
|
+
};
|
|
1518
|
+
readonly userList: {
|
|
1519
|
+
readonly label: "Saved Birthdays";
|
|
1520
|
+
readonly description: "Manage saved birthdays";
|
|
1521
|
+
};
|
|
1490
1522
|
};
|
|
1491
1523
|
readonly locations: {
|
|
1492
1524
|
readonly chat: {
|
|
@@ -1503,6 +1535,10 @@ declare const translations: {
|
|
|
1503
1535
|
readonly invalid: "Invalid birthday format! Only DD/MM is accepted.";
|
|
1504
1536
|
readonly cleared: "Birthday cleared successfully!";
|
|
1505
1537
|
};
|
|
1538
|
+
readonly notification: {
|
|
1539
|
+
readonly title: "🎂 Birthday Today!";
|
|
1540
|
+
readonly body: "It's {{username}}'s birthday today!";
|
|
1541
|
+
};
|
|
1506
1542
|
readonly modal: {
|
|
1507
1543
|
readonly title: "Set Birthday for {{username}}";
|
|
1508
1544
|
readonly description: "Enter the birthday in DD/MM format (e.g. 25/12)";
|
|
@@ -1515,6 +1551,9 @@ declare const translations: {
|
|
|
1515
1551
|
readonly savedDesc: "No birthdays saved yet. Right-click on users to add their birthdays!";
|
|
1516
1552
|
readonly today: "Today";
|
|
1517
1553
|
readonly remove: "Remove";
|
|
1554
|
+
readonly loading: "Loading...";
|
|
1555
|
+
readonly save: "Save";
|
|
1556
|
+
readonly edit: "Edit";
|
|
1518
1557
|
};
|
|
1519
1558
|
};
|
|
1520
1559
|
readonly callTimer: {
|
|
@@ -6142,6 +6181,7 @@ declare const translations: {
|
|
|
6142
6181
|
readonly gameQuests: "Complete Game Quests in Background";
|
|
6143
6182
|
readonly videoQuests: "Complete Video Quests in Background";
|
|
6144
6183
|
readonly mobileDesktop: "Make Mobile Quests Desktop Compatible";
|
|
6184
|
+
readonly notifyOnComplete: "Notify on Quest Completion";
|
|
6145
6185
|
};
|
|
6146
6186
|
readonly options: {
|
|
6147
6187
|
readonly always: "Always";
|
|
@@ -6218,6 +6258,10 @@ declare const translations: {
|
|
|
6218
6258
|
readonly label: "Complete Game Quests In Background";
|
|
6219
6259
|
readonly description: "Complete Game Quests in the background after the game duration has passed.";
|
|
6220
6260
|
};
|
|
6261
|
+
readonly notifyOnQuestComplete: {
|
|
6262
|
+
readonly label: "Notify On Quest Completion";
|
|
6263
|
+
readonly description: "Show a notification when a Quest is completed automatically.";
|
|
6264
|
+
};
|
|
6221
6265
|
readonly questButton: {
|
|
6222
6266
|
readonly description: "Show a Quest button in the server list.";
|
|
6223
6267
|
};
|
|
@@ -6368,6 +6412,12 @@ declare const translations: {
|
|
|
6368
6412
|
readonly completing: "Completing";
|
|
6369
6413
|
readonly resume: "Resume (~{{remainTime}})";
|
|
6370
6414
|
};
|
|
6415
|
+
readonly notification: {
|
|
6416
|
+
readonly completed: {
|
|
6417
|
+
readonly title: "Quest Completed";
|
|
6418
|
+
readonly body: "The {{questName}} Quest has completed.";
|
|
6419
|
+
};
|
|
6420
|
+
};
|
|
6371
6421
|
};
|
|
6372
6422
|
readonly questionMarkReplacement: {
|
|
6373
6423
|
readonly name: "QuestionMarkReplacement";
|
|
@@ -7609,6 +7659,14 @@ declare const translations: {
|
|
|
7609
7659
|
readonly enable: "Turn on Spotify activity";
|
|
7610
7660
|
readonly disable: "Turn off Spotify activity";
|
|
7611
7661
|
};
|
|
7662
|
+
readonly option: {
|
|
7663
|
+
readonly location: {
|
|
7664
|
+
readonly label: "Location";
|
|
7665
|
+
readonly description: "Where to show the Spotify toggle button";
|
|
7666
|
+
readonly panel: "Next to Mute/Deafen";
|
|
7667
|
+
readonly toolbox: "Plexcord Toolbox";
|
|
7668
|
+
};
|
|
7669
|
+
};
|
|
7612
7670
|
};
|
|
7613
7671
|
readonly spotifyCrack: {
|
|
7614
7672
|
readonly name: "SpotifyCrack";
|
|
@@ -8867,15 +8925,19 @@ export declare const settings: DeepKeyProxy<{
|
|
|
8867
8925
|
readonly switches: {
|
|
8868
8926
|
readonly useQuickCss: {
|
|
8869
8927
|
readonly label: "Enable Custom CSS";
|
|
8928
|
+
readonly description: "Enables the QuickCSS feature to allow custom CSS to be applied to Discord";
|
|
8870
8929
|
};
|
|
8871
8930
|
readonly enableReactDevtools: {
|
|
8872
8931
|
readonly label: "Enable React Developer Tools";
|
|
8932
|
+
readonly description: "Enables the React Developer Tools extension to work with Discord";
|
|
8873
8933
|
};
|
|
8874
8934
|
readonly frameless: {
|
|
8875
8935
|
readonly label: "Disable the window frame";
|
|
8936
|
+
readonly description: "Removes the window frame for a cleaner look. Use with caution as it may affect window controls.";
|
|
8876
8937
|
};
|
|
8877
8938
|
readonly winNativeTitleBar: {
|
|
8878
8939
|
readonly label: "Use Windows' native title bar instead of Discord's custom one";
|
|
8940
|
+
readonly description: "Replaces Discord's custom title bar with the native Windows title bar for better integration with the OS.";
|
|
8879
8941
|
};
|
|
8880
8942
|
readonly transparent: {
|
|
8881
8943
|
readonly label: "Enable window transparency";
|
|
@@ -8883,13 +8945,16 @@ export declare const settings: DeepKeyProxy<{
|
|
|
8883
8945
|
};
|
|
8884
8946
|
readonly winCtrlQ: {
|
|
8885
8947
|
readonly label: "Register Ctrl+Q as shortcut to close Discord (Alternative to Alt+F4)";
|
|
8948
|
+
readonly description: "Allows you to use Ctrl+Q to close Discord, similar to other Windows applications.";
|
|
8886
8949
|
};
|
|
8887
8950
|
readonly disableMinSize: {
|
|
8888
8951
|
readonly label: "Disable minimum window size";
|
|
8952
|
+
readonly description: "Allows you to resize the Discord window to any size, removing the default minimum size restriction.";
|
|
8889
8953
|
};
|
|
8890
8954
|
};
|
|
8891
8955
|
readonly quickActions: {
|
|
8892
8956
|
readonly title: "Quick Actions";
|
|
8957
|
+
readonly description: "Common actions you might want to perform. These shortcuts give you quick access to frequently used features without navigating through menus.";
|
|
8893
8958
|
readonly notificationLog: "Notification Log";
|
|
8894
8959
|
readonly editQuickCSS: "Edit QuickCSS";
|
|
8895
8960
|
readonly relaunchDiscord: "Relaunch Discord";
|
|
@@ -9001,6 +9066,7 @@ export declare const settings: DeepKeyProxy<{
|
|
|
9001
9066
|
};
|
|
9002
9067
|
readonly macVibrancy: {
|
|
9003
9068
|
readonly title: "Window Vibrancy Style (Requires Restart)";
|
|
9069
|
+
readonly description: "Customize the macOS window vibrancy effect. This controls the blur and transparency style of the Discord window. Changes require a restart to take effect.";
|
|
9004
9070
|
readonly placeholder: "Window vibrancy style";
|
|
9005
9071
|
readonly style: {
|
|
9006
9072
|
readonly no: "No Vibrancy";
|
|
@@ -9186,6 +9252,7 @@ export declare const plugins: DeepKeyProxy<{
|
|
|
9186
9252
|
}>;
|
|
9187
9253
|
export declare const patchHelper: DeepKeyProxy<{
|
|
9188
9254
|
readonly title: "Patch Helper";
|
|
9255
|
+
readonly description: "A developer tool to help you create patches for Plexcord plugins.";
|
|
9189
9256
|
readonly fullPatch: {
|
|
9190
9257
|
readonly label: "Full Patch";
|
|
9191
9258
|
readonly description: "Paste your full JSON patch here to fill in the fields";
|
|
@@ -9193,7 +9260,8 @@ export declare const patchHelper: DeepKeyProxy<{
|
|
|
9193
9260
|
readonly find: "Find";
|
|
9194
9261
|
readonly match: "Match";
|
|
9195
9262
|
readonly replacement: "Replacement";
|
|
9196
|
-
readonly
|
|
9263
|
+
readonly preview: "Preview";
|
|
9264
|
+
readonly generatedCode: "Generated Code";
|
|
9197
9265
|
readonly group: "Group";
|
|
9198
9266
|
readonly diff: "Diff";
|
|
9199
9267
|
readonly module: "Module";
|
|
@@ -9231,7 +9299,7 @@ export declare const patchHelper: DeepKeyProxy<{
|
|
|
9231
9299
|
export declare const sync: DeepKeyProxy<{
|
|
9232
9300
|
readonly title: "Backup & Restore";
|
|
9233
9301
|
readonly warning: "Warning";
|
|
9234
|
-
readonly warningText: "Importing a settings file will overwrite your current settings.";
|
|
9302
|
+
readonly warningText: "Importing a settings file will overwrite your current settings. Make sure to export a backup first if you want to keep your current configuration.";
|
|
9235
9303
|
readonly description: "You can import and export your Plexcord settings as a JSON file. This allows you to easily transfer your settings to another device, or recover your settings after reinstalling Plexcord or Discord.";
|
|
9236
9304
|
readonly successful: "Settings successfully imported. Restart to apply changes!";
|
|
9237
9305
|
readonly error: {
|
|
@@ -9245,12 +9313,21 @@ export declare const sync: DeepKeyProxy<{
|
|
|
9245
9313
|
readonly plugins: "Plugin Settings";
|
|
9246
9314
|
readonly datastores: "Plugin DataStores (e.g Timezones or IRememberYou)";
|
|
9247
9315
|
};
|
|
9248
|
-
readonly
|
|
9249
|
-
readonly
|
|
9250
|
-
readonly
|
|
9251
|
-
readonly
|
|
9252
|
-
readonly
|
|
9253
|
-
readonly
|
|
9316
|
+
readonly import: {
|
|
9317
|
+
readonly title: "Import Settings";
|
|
9318
|
+
readonly description: "Select a previously exported settings file to restore your configuration. This will replace all your current settings with the ones from the backup.";
|
|
9319
|
+
readonly all: "Import All Settings";
|
|
9320
|
+
readonly plugins: "Import Plugin";
|
|
9321
|
+
readonly css: "Import QuickCSS";
|
|
9322
|
+
readonly datastore: "Import DataStores";
|
|
9323
|
+
};
|
|
9324
|
+
readonly export: {
|
|
9325
|
+
readonly title: "Export Settings";
|
|
9326
|
+
readonly description: "You can export your current Plexcord settings to a file for backup or transfer to another device.";
|
|
9327
|
+
readonly all: "Export All Settings";
|
|
9328
|
+
readonly plugins: "Export Plugin";
|
|
9329
|
+
readonly css: "Export QuickCSS";
|
|
9330
|
+
readonly datastore: "Export DataStores";
|
|
9254
9331
|
};
|
|
9255
9332
|
}>;
|
|
9256
9333
|
export declare const changelog: DeepKeyProxy<{
|
|
@@ -9464,8 +9541,12 @@ export declare const updater: DeepKeyProxy<{
|
|
|
9464
9541
|
readonly updates: "Updates";
|
|
9465
9542
|
readonly updated: "has been updated!";
|
|
9466
9543
|
readonly restart: "Click here to restart";
|
|
9544
|
+
readonly preferences: {
|
|
9545
|
+
readonly title: "Update Preferences";
|
|
9546
|
+
readonly description: "Control how Plexcord keeps itself up to date. You can choose to update automatically in the background or be notified when new updates are available.";
|
|
9547
|
+
};
|
|
9467
9548
|
readonly github: {
|
|
9468
|
-
readonly local: "Your local copy has more recent commits. Please stash or reset them.";
|
|
9549
|
+
readonly local: "Your local copy has more recent commits than the remote repository. This usually happens when you've made local changes. Please stash or reset them before updating.";
|
|
9469
9550
|
};
|
|
9470
9551
|
readonly error: {
|
|
9471
9552
|
readonly check: "Failed to check updates. Check the console for more info";
|
|
@@ -9503,6 +9584,7 @@ export declare const updater: DeepKeyProxy<{
|
|
|
9503
9584
|
readonly description: "Shows a notification when Plexcord automatically updates";
|
|
9504
9585
|
};
|
|
9505
9586
|
readonly repo: "Repo";
|
|
9587
|
+
readonly repoDescription: "This is the GitHub repository where Plexcord fetches updates from.";
|
|
9506
9588
|
}>;
|
|
9507
9589
|
export declare const components: DeepKeyProxy<{
|
|
9508
9590
|
readonly error: {
|
|
@@ -10329,6 +10411,14 @@ export declare const plugin: DeepKeyProxy<{
|
|
|
10329
10411
|
readonly label: "Profile Badge";
|
|
10330
10412
|
readonly description: "Show cake badge in user profile";
|
|
10331
10413
|
};
|
|
10414
|
+
readonly notificationSound: {
|
|
10415
|
+
readonly label: "Notification Sound";
|
|
10416
|
+
readonly description: "Play sound when birthday notification is sent";
|
|
10417
|
+
};
|
|
10418
|
+
readonly userList: {
|
|
10419
|
+
readonly label: "Saved Birthdays";
|
|
10420
|
+
readonly description: "Manage saved birthdays";
|
|
10421
|
+
};
|
|
10332
10422
|
};
|
|
10333
10423
|
readonly locations: {
|
|
10334
10424
|
readonly chat: {
|
|
@@ -10345,6 +10435,10 @@ export declare const plugin: DeepKeyProxy<{
|
|
|
10345
10435
|
readonly invalid: "Invalid birthday format! Only DD/MM is accepted.";
|
|
10346
10436
|
readonly cleared: "Birthday cleared successfully!";
|
|
10347
10437
|
};
|
|
10438
|
+
readonly notification: {
|
|
10439
|
+
readonly title: "🎂 Birthday Today!";
|
|
10440
|
+
readonly body: "It's {{username}}'s birthday today!";
|
|
10441
|
+
};
|
|
10348
10442
|
readonly modal: {
|
|
10349
10443
|
readonly title: "Set Birthday for {{username}}";
|
|
10350
10444
|
readonly description: "Enter the birthday in DD/MM format (e.g. 25/12)";
|
|
@@ -10357,6 +10451,9 @@ export declare const plugin: DeepKeyProxy<{
|
|
|
10357
10451
|
readonly savedDesc: "No birthdays saved yet. Right-click on users to add their birthdays!";
|
|
10358
10452
|
readonly today: "Today";
|
|
10359
10453
|
readonly remove: "Remove";
|
|
10454
|
+
readonly loading: "Loading...";
|
|
10455
|
+
readonly save: "Save";
|
|
10456
|
+
readonly edit: "Edit";
|
|
10360
10457
|
};
|
|
10361
10458
|
};
|
|
10362
10459
|
readonly callTimer: {
|
|
@@ -14984,6 +15081,7 @@ export declare const plugin: DeepKeyProxy<{
|
|
|
14984
15081
|
readonly gameQuests: "Complete Game Quests in Background";
|
|
14985
15082
|
readonly videoQuests: "Complete Video Quests in Background";
|
|
14986
15083
|
readonly mobileDesktop: "Make Mobile Quests Desktop Compatible";
|
|
15084
|
+
readonly notifyOnComplete: "Notify on Quest Completion";
|
|
14987
15085
|
};
|
|
14988
15086
|
readonly options: {
|
|
14989
15087
|
readonly always: "Always";
|
|
@@ -15060,6 +15158,10 @@ export declare const plugin: DeepKeyProxy<{
|
|
|
15060
15158
|
readonly label: "Complete Game Quests In Background";
|
|
15061
15159
|
readonly description: "Complete Game Quests in the background after the game duration has passed.";
|
|
15062
15160
|
};
|
|
15161
|
+
readonly notifyOnQuestComplete: {
|
|
15162
|
+
readonly label: "Notify On Quest Completion";
|
|
15163
|
+
readonly description: "Show a notification when a Quest is completed automatically.";
|
|
15164
|
+
};
|
|
15063
15165
|
readonly questButton: {
|
|
15064
15166
|
readonly description: "Show a Quest button in the server list.";
|
|
15065
15167
|
};
|
|
@@ -15210,6 +15312,12 @@ export declare const plugin: DeepKeyProxy<{
|
|
|
15210
15312
|
readonly completing: "Completing";
|
|
15211
15313
|
readonly resume: "Resume (~{{remainTime}})";
|
|
15212
15314
|
};
|
|
15315
|
+
readonly notification: {
|
|
15316
|
+
readonly completed: {
|
|
15317
|
+
readonly title: "Quest Completed";
|
|
15318
|
+
readonly body: "The {{questName}} Quest has completed.";
|
|
15319
|
+
};
|
|
15320
|
+
};
|
|
15213
15321
|
};
|
|
15214
15322
|
readonly questionMarkReplacement: {
|
|
15215
15323
|
readonly name: "QuestionMarkReplacement";
|
|
@@ -16451,6 +16559,14 @@ export declare const plugin: DeepKeyProxy<{
|
|
|
16451
16559
|
readonly enable: "Turn on Spotify activity";
|
|
16452
16560
|
readonly disable: "Turn off Spotify activity";
|
|
16453
16561
|
};
|
|
16562
|
+
readonly option: {
|
|
16563
|
+
readonly location: {
|
|
16564
|
+
readonly label: "Location";
|
|
16565
|
+
readonly description: "Where to show the Spotify toggle button";
|
|
16566
|
+
readonly panel: "Next to Mute/Deafen";
|
|
16567
|
+
readonly toolbox: "Plexcord Toolbox";
|
|
16568
|
+
};
|
|
16569
|
+
};
|
|
16454
16570
|
};
|
|
16455
16571
|
readonly spotifyCrack: {
|
|
16456
16572
|
readonly name: "SpotifyCrack";
|
package/package.json
CHANGED
|
@@ -111,6 +111,7 @@ declare const _default: {
|
|
|
111
111
|
};
|
|
112
112
|
})[];
|
|
113
113
|
buildEntry(options: EntryOptions): SettingsLayoutNode;
|
|
114
|
+
getSettingsSectionMappings(): string[][];
|
|
114
115
|
buildLayout(originalLayoutBuilder: SettingsLayoutBuilder): SettingsLayoutNode[];
|
|
115
116
|
/** @deprecated Use customEntries */
|
|
116
117
|
customSections: ((SectionTypes: SectionTypes) => any)[];
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { OptionType } from "../../utils/types";
|
|
2
|
+
declare function UserListModal(): import("react").JSX.Element;
|
|
2
3
|
declare const _default: {
|
|
3
4
|
name: string;
|
|
4
5
|
description: () => string;
|
|
@@ -28,6 +29,18 @@ declare const _default: {
|
|
|
28
29
|
default: true;
|
|
29
30
|
restartNeeded: true;
|
|
30
31
|
};
|
|
32
|
+
notificationSound: {
|
|
33
|
+
label: () => string;
|
|
34
|
+
description: () => string;
|
|
35
|
+
type: OptionType.BOOLEAN;
|
|
36
|
+
default: true;
|
|
37
|
+
};
|
|
38
|
+
userList: {
|
|
39
|
+
label: () => string;
|
|
40
|
+
description: () => string;
|
|
41
|
+
type: OptionType.COMPONENT;
|
|
42
|
+
component: typeof UserListModal;
|
|
43
|
+
};
|
|
31
44
|
}, import("../../utils/types").SettingsChecks<{
|
|
32
45
|
chat: {
|
|
33
46
|
label: () => string;
|
|
@@ -50,8 +63,19 @@ declare const _default: {
|
|
|
50
63
|
default: true;
|
|
51
64
|
restartNeeded: true;
|
|
52
65
|
};
|
|
66
|
+
notificationSound: {
|
|
67
|
+
label: () => string;
|
|
68
|
+
description: () => string;
|
|
69
|
+
type: OptionType.BOOLEAN;
|
|
70
|
+
default: true;
|
|
71
|
+
};
|
|
72
|
+
userList: {
|
|
73
|
+
label: () => string;
|
|
74
|
+
description: () => string;
|
|
75
|
+
type: OptionType.COMPONENT;
|
|
76
|
+
component: typeof UserListModal;
|
|
77
|
+
};
|
|
53
78
|
}>, {}>;
|
|
54
|
-
settingsAboutComponent: () => import("react").JSX.Element;
|
|
55
79
|
contextMenus: {
|
|
56
80
|
"user-context": (children: any[], { user }: {
|
|
57
81
|
user: any;
|
|
@@ -43,10 +43,10 @@ declare function setLastFilterChoices(filters: {
|
|
|
43
43
|
group: string;
|
|
44
44
|
filter: string;
|
|
45
45
|
}[]): void;
|
|
46
|
-
declare function getQuestAcceptedButtonProps(quest: Quest, text: string): {
|
|
46
|
+
declare function getQuestAcceptedButtonProps(quest: Quest, text: string, disabled: boolean, onClick?: () => void): {
|
|
47
47
|
disabled: boolean;
|
|
48
48
|
text: string;
|
|
49
|
-
onClick: () => void;
|
|
49
|
+
onClick: (() => void) | undefined;
|
|
50
50
|
icon: () => void;
|
|
51
51
|
};
|
|
52
52
|
declare const _default: {
|
|
@@ -157,6 +157,13 @@ declare const _default: {
|
|
|
157
157
|
hidden: true;
|
|
158
158
|
onChange: (value: boolean) => void;
|
|
159
159
|
};
|
|
160
|
+
notifyOnQuestComplete: {
|
|
161
|
+
label: () => string;
|
|
162
|
+
description: () => string;
|
|
163
|
+
type: import("../../utils/types").OptionType.BOOLEAN;
|
|
164
|
+
default: true;
|
|
165
|
+
hidden: true;
|
|
166
|
+
};
|
|
160
167
|
questButton: {
|
|
161
168
|
description: () => string;
|
|
162
169
|
type: import("../../utils/types").OptionType.COMPONENT;
|
|
@@ -513,6 +520,13 @@ declare const _default: {
|
|
|
513
520
|
hidden: true;
|
|
514
521
|
onChange: (value: boolean) => void;
|
|
515
522
|
};
|
|
523
|
+
notifyOnQuestComplete: {
|
|
524
|
+
label: () => string;
|
|
525
|
+
description: () => string;
|
|
526
|
+
type: import("../../utils/types").OptionType.BOOLEAN;
|
|
527
|
+
default: true;
|
|
528
|
+
hidden: true;
|
|
529
|
+
};
|
|
516
530
|
questButton: {
|
|
517
531
|
description: () => string;
|
|
518
532
|
type: import("../../utils/types").OptionType.COMPONENT;
|
|
@@ -833,6 +847,7 @@ declare const _default: {
|
|
|
833
847
|
QUESTS_FETCH_CURRENT_QUESTS_SUCCESS(data: any): void;
|
|
834
848
|
QUESTS_ENROLL_SUCCESS(data: any): void;
|
|
835
849
|
QUESTS_CLAIM_REWARD_SUCCESS(data: any): void;
|
|
850
|
+
QUESTS_USER_STATUS_UPDATE(data: any): void;
|
|
836
851
|
RUNNING_GAMES_CHANGE(data: any): void;
|
|
837
852
|
LOGOUT(data: any): void;
|
|
838
853
|
LOGIN_SUCCESS(data: any): void;
|
|
@@ -146,6 +146,13 @@ export declare const settings: import("../../utils/types").DefinedSettings<{
|
|
|
146
146
|
hidden: true;
|
|
147
147
|
onChange: (value: boolean) => void;
|
|
148
148
|
};
|
|
149
|
+
notifyOnQuestComplete: {
|
|
150
|
+
label: () => string;
|
|
151
|
+
description: () => string;
|
|
152
|
+
type: OptionType.BOOLEAN;
|
|
153
|
+
default: true;
|
|
154
|
+
hidden: true;
|
|
155
|
+
};
|
|
149
156
|
questButton: {
|
|
150
157
|
description: () => string;
|
|
151
158
|
type: OptionType.COMPONENT;
|
|
@@ -502,6 +509,13 @@ export declare const settings: import("../../utils/types").DefinedSettings<{
|
|
|
502
509
|
hidden: true;
|
|
503
510
|
onChange: (value: boolean) => void;
|
|
504
511
|
};
|
|
512
|
+
notifyOnQuestComplete: {
|
|
513
|
+
label: () => string;
|
|
514
|
+
description: () => string;
|
|
515
|
+
type: OptionType.BOOLEAN;
|
|
516
|
+
default: true;
|
|
517
|
+
hidden: true;
|
|
518
|
+
};
|
|
505
519
|
questButton: {
|
|
506
520
|
description: () => string;
|
|
507
521
|
type: OptionType.COMPONENT;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ILanguageRegistration } from "@vap/shiki";
|
|
2
|
-
export declare const JSON_REPO = "
|
|
3
|
-
export declare const JSON_REPO_COMMIT = "
|
|
4
|
-
export declare const JSON_URL = "https://cdn.jsdelivr.net/gh/
|
|
2
|
+
export declare const JSON_REPO = "Plexcord/ShikiPluginAssets";
|
|
3
|
+
export declare const JSON_REPO_COMMIT = "6392d58d6ddbe1bec31091ffc7d1f63c41728731";
|
|
4
|
+
export declare const JSON_URL = "https://cdn.jsdelivr.net/gh/Plexcord/ShikiPluginAssets@6392d58d6ddbe1bec31091ffc7d1f63c41728731/grammars.json";
|
|
5
5
|
export declare const shikiRepoGrammar: (name: string) => string;
|
|
6
6
|
export interface Language {
|
|
7
7
|
name: string;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { OptionType } from "../../utils/types";
|
|
1
2
|
declare const _default: {
|
|
2
3
|
name: string;
|
|
3
4
|
description: () => string;
|
|
@@ -5,6 +6,39 @@ declare const _default: {
|
|
|
5
6
|
name: string;
|
|
6
7
|
id: bigint;
|
|
7
8
|
}[];
|
|
9
|
+
settings: import("../../utils/types").DefinedSettings<{
|
|
10
|
+
location: {
|
|
11
|
+
label: () => string;
|
|
12
|
+
description: () => string;
|
|
13
|
+
type: OptionType.SELECT;
|
|
14
|
+
options: ({
|
|
15
|
+
label: () => string;
|
|
16
|
+
value: string;
|
|
17
|
+
default: true;
|
|
18
|
+
} | {
|
|
19
|
+
label: () => string;
|
|
20
|
+
value: string;
|
|
21
|
+
default?: undefined;
|
|
22
|
+
})[];
|
|
23
|
+
readonly hidden: boolean;
|
|
24
|
+
};
|
|
25
|
+
}, import("../../utils/types").SettingsChecks<{
|
|
26
|
+
location: {
|
|
27
|
+
label: () => string;
|
|
28
|
+
description: () => string;
|
|
29
|
+
type: OptionType.SELECT;
|
|
30
|
+
options: ({
|
|
31
|
+
label: () => string;
|
|
32
|
+
value: string;
|
|
33
|
+
default: true;
|
|
34
|
+
} | {
|
|
35
|
+
label: () => string;
|
|
36
|
+
value: string;
|
|
37
|
+
default?: undefined;
|
|
38
|
+
})[];
|
|
39
|
+
readonly hidden: boolean;
|
|
40
|
+
};
|
|
41
|
+
}>, {}>;
|
|
8
42
|
patches: {
|
|
9
43
|
find: string;
|
|
10
44
|
replacement: {
|
|
@@ -12,6 +46,12 @@ declare const _default: {
|
|
|
12
46
|
replace: string;
|
|
13
47
|
};
|
|
14
48
|
}[];
|
|
15
|
-
|
|
49
|
+
toolboxActions(): {
|
|
50
|
+
[x: string]: () => void;
|
|
51
|
+
} | null;
|
|
52
|
+
start(): Promise<void>;
|
|
53
|
+
SpotifyActivityToggleButton: import("react").FunctionComponent<{
|
|
54
|
+
nameplate?: any;
|
|
55
|
+
}>;
|
|
16
56
|
} & Record<PropertyKey, any> & import("../../utils/types").Plugin;
|
|
17
57
|
export default _default;
|