@plexcord/types 1.19.7 → 1.20.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (76) hide show
  1. package/PlexcordNative.d.ts +6 -0
  2. package/api/ChatButtons.d.ts +1 -1
  3. package/api/HeaderBar.d.ts +14 -6
  4. package/components/BaseText.d.ts +40 -7
  5. package/components/Card.d.ts +3 -2
  6. package/components/Link.d.ts +2 -1
  7. package/components/Notice.d.ts +14 -23
  8. package/components/Switch.d.ts +8 -2
  9. package/components/margins.d.ts +2 -2
  10. package/locales/en.d.ts +68 -48
  11. package/package.json +1 -1
  12. package/plugins/_api/notices.d.ts +2 -2
  13. package/plugins/_api/userArea.d.ts +0 -2
  14. package/plugins/_core/settings.d.ts +0 -6
  15. package/plugins/betterActivities/index.d.ts +1 -1
  16. package/plugins/clipsEnhancements/index.d.ts +34 -10
  17. package/plugins/consoleJanitor/index.d.ts +2 -0
  18. package/plugins/decor/index.d.ts +15 -0
  19. package/plugins/decor/ui/index.d.ts +1 -1
  20. package/plugins/devCompanion.dev/index.d.ts +2 -54
  21. package/plugins/holyNotes/NoteHandler.d.ts +13 -21
  22. package/plugins/holyNotes/components/modals/Error.d.ts +2 -3
  23. package/plugins/holyNotes/components/modals/HelpModal.d.ts +1 -4
  24. package/plugins/holyNotes/components/modals/Notebook.d.ts +1 -3
  25. package/plugins/holyNotes/components/modals/NotebookCreateModal.d.ts +1 -4
  26. package/plugins/holyNotes/components/modals/NotebookDeleteModal.d.ts +5 -5
  27. package/plugins/holyNotes/components/modals/RenderMessage.d.ts +6 -4
  28. package/plugins/holyNotes/index.d.ts +15 -10
  29. package/plugins/holyNotes/types.d.ts +25 -37
  30. package/plugins/holyNotes/utils.d.ts +4 -9
  31. package/plugins/ignoreActivities/index.d.ts +2 -4
  32. package/plugins/keywordNotify/index.d.ts +7 -5
  33. package/plugins/loadingQuotes/index.d.ts +2 -0
  34. package/plugins/loginWithQR/index.d.ts +8 -12
  35. package/plugins/loginWithQR/ui/modals/QrModal.d.ts +2 -1
  36. package/plugins/loginWithQR/ui/modals/VerifyModal.d.ts +1 -1
  37. package/plugins/mediaPlaybackSpeed/index.d.ts +3 -3
  38. package/plugins/messageLinkEmbeds/index.d.ts +2 -0
  39. package/plugins/messageLogger/index.d.ts +6 -0
  40. package/plugins/musicControls/spotify/lyrics/components/util.d.ts +1 -1
  41. package/plugins/musicControls/tidal/lyrics/components/util.d.ts +1 -1
  42. package/plugins/noReplyMention/index.d.ts +4 -0
  43. package/plugins/plainFolderIcon/index.d.ts +1 -1
  44. package/plugins/questify/index.d.ts +16 -2
  45. package/plugins/questify/utils/components.d.ts +31 -13
  46. package/plugins/questify/utils/misc.d.ts +7 -1
  47. package/plugins/roleColorEverywhere/index.d.ts +13 -6
  48. package/plugins/showConnections/index.d.ts +1 -1
  49. package/plugins/showHiddenThings/index.d.ts +7 -0
  50. package/plugins/soundBoardLogger/utils.d.ts +1 -1
  51. package/plugins/superReactionTweaks/index.d.ts +2 -2
  52. package/plugins/translate/languages.d.ts +95 -2
  53. package/plugins/translate/utils.d.ts +95 -2
  54. package/plugins/unlimitedAccounts/index.d.ts +1 -1
  55. package/plugins/vcNarrator/index.d.ts +1 -0
  56. package/plugins/viewIcons/index.d.ts +1 -3
  57. package/plugins/webScreenShareFixes.web/index.d.ts +0 -15
  58. package/shared/IpcEvents.d.ts +5 -1
  59. package/utils/modal.d.ts +1 -0
  60. package/utils/text.d.ts +1 -1
  61. package/utils/types.d.ts +2 -0
  62. package/webpack/common/components.d.ts +2 -29
  63. package/webpack/common/index.d.ts +0 -1
  64. package/webpack/webpack.d.ts +15 -7
  65. package/plugins/devCompanion.dev/initWs.d.ts +0 -3
  66. package/plugins/devCompanion.dev/types/index.d.ts +0 -1
  67. package/plugins/devCompanion.dev/types/recieve.d.ts +0 -121
  68. package/plugins/devCompanion.dev/types/send.d.ts +0 -73
  69. package/plugins/devCompanion.dev/util.d.ts +0 -25
  70. package/plugins/holyNotes/components/icons/HelpIcon.d.ts +0 -5
  71. package/plugins/holyNotes/components/icons/NoteButton.d.ts +0 -4
  72. package/plugins/holyNotes/components/icons/overFlowIcon.d.ts +0 -10
  73. package/plugins/holyNotes/components/modals/ManageNotebookButton.d.ts +0 -5
  74. package/plugins/holyNotes/components/modals/NoteBookTab.d.ts +0 -14
  75. package/plugins/videoSpeed/index.d.ts +0 -37
  76. package/webpack/common/classes.d.ts +0 -2
@@ -57,6 +57,12 @@ declare const _default: {
57
57
  removeOverride: (url: string) => Promise<boolean>;
58
58
  requestAddOverride: (url: string, directives: string[], callerName: string) => Promise<CspRequestResult>;
59
59
  };
60
+ tray: {
61
+ setUpdateState: (available: boolean) => void;
62
+ onCheckUpdates: (cb: () => void) => void;
63
+ onRepair: (cb: () => void) => void;
64
+ onAbout: (cb: () => void) => void;
65
+ };
60
66
  pluginHelpers: Record<string, Record<string, (...args: any[]) => Promise<any>>>;
61
67
  };
62
68
  export default _default;
@@ -75,7 +75,7 @@ export type ChatBarButtonData = {
75
75
  * Don't use this directly, use {@link addChatBarButton} and {@link removeChatBarButton} instead.
76
76
  */
77
77
  export declare const ChatBarButtonMap: Map<string, ChatBarButtonData>;
78
- export declare function _injectButtons(buttons: ReactNode[], props: ChatBarProps): ReactNode[] | undefined;
78
+ export declare function _injectButtons(buttons: ReactNode[], props: ChatBarProps): void;
79
79
  /**
80
80
  * The icon argument is used only for Settings UI. Your render function must still render an icon,
81
81
  * and it can be different from this one.
@@ -10,6 +10,16 @@ export interface HeaderBarButtonProps {
10
10
  onContextMenu?: MouseEventHandler<HTMLDivElement>;
11
11
  /** Additional CSS class names */
12
12
  className?: string;
13
+ /** Size of the icon in pixels */
14
+ iconSize?: number;
15
+ /** Tooltip position relative to the button */
16
+ position?: "top" | "bottom" | "left" | "right";
17
+ /** Whether the button appears in a selected/active state */
18
+ selected?: boolean;
19
+ /** Aria label for accessibility */
20
+ "aria-label"?: string;
21
+ }
22
+ export interface ChannelToolbarButtonProps extends HeaderBarButtonProps {
13
23
  /** CSS class name for the icon element */
14
24
  iconClassName?: string;
15
25
  /** Tooltip position relative to the button */
@@ -22,10 +32,6 @@ export interface HeaderBarButtonProps {
22
32
  showBadge?: boolean;
23
33
  /** Position of the notification badge */
24
34
  badgePosition?: "top" | "bottom";
25
- /** Size of the icon in pixels */
26
- iconSize?: number;
27
- /** Ref to the button element */
28
- ref?: React.RefObject<any>;
29
35
  }
30
36
  export type HeaderBarButtonFactory = () => JSX.Element | null;
31
37
  export interface HeaderBarButtonData {
@@ -48,7 +54,9 @@ export interface HeaderBarButtonData {
48
54
  * onClick={() => console.log("clicked")}
49
55
  * />
50
56
  */
51
- export declare const HeaderBarButton: ComponentType<HeaderBarButtonProps>;
57
+ export declare function HeaderBarButton(props: HeaderBarButtonProps & {
58
+ ref?: React.RefObject<any>;
59
+ }): JSX.Element;
52
60
  /**
53
61
  * Button component for the channel toolbar (below the search bar).
54
62
  * Automatically handles selected state styling.
@@ -61,7 +69,7 @@ export declare const HeaderBarButton: ComponentType<HeaderBarButtonProps>;
61
69
  * selected={isOpen}
62
70
  * />
63
71
  */
64
- export declare function ChannelToolbarButton(props: HeaderBarButtonProps): JSX.Element;
72
+ export declare function ChannelToolbarButton(props: ChannelToolbarButtonProps): JSX.Element;
65
73
  /**
66
74
  * Adds a button to the header bar (title bar area).
67
75
  *
@@ -2,13 +2,34 @@ import "./BaseText.css";
2
2
  import type { Text as DiscordText } from "@plexcord/discord-types";
3
3
  import type { ComponentPropsWithoutRef, ReactNode } from "react";
4
4
  export declare const TextSizes: {
5
- readonly xxs: "0.625rem";
6
- readonly xs: "0.75rem";
7
- readonly sm: "0.875rem";
8
- readonly md: "1rem";
9
- readonly lg: "1.25rem";
10
- readonly xl: "1.5rem";
11
- readonly xxl: "2rem";
5
+ readonly xxs: {
6
+ readonly fontSize: "10px";
7
+ readonly lineHeight: "1.2";
8
+ };
9
+ readonly xs: {
10
+ readonly fontSize: "12px";
11
+ readonly lineHeight: "1.33333";
12
+ };
13
+ readonly sm: {
14
+ readonly fontSize: "14px";
15
+ readonly lineHeight: "1.28571";
16
+ };
17
+ readonly md: {
18
+ readonly fontSize: "16px";
19
+ readonly lineHeight: "1.25";
20
+ };
21
+ readonly lg: {
22
+ readonly fontSize: "20px";
23
+ readonly lineHeight: "1.2";
24
+ };
25
+ readonly xl: {
26
+ readonly fontSize: "24px";
27
+ readonly lineHeight: "1.25";
28
+ };
29
+ readonly xxl: {
30
+ readonly fontSize: "32px";
31
+ readonly lineHeight: "1.25";
32
+ };
12
33
  };
13
34
  export declare const TextWeights: {
14
35
  readonly thin: "100";
@@ -28,6 +49,15 @@ export declare const TextColors: {
28
49
  readonly "text-brand": "var(--text-brand)";
29
50
  readonly "text-strong": "var(--text-strong)";
30
51
  readonly "text-subtle": "var(--text-subtle)";
52
+ readonly "text-invert": "var(--text-invert)";
53
+ readonly "text-feedback-critical": "var(--text-feedback-critical)";
54
+ readonly "text-feedback-info": "var(--text-feedback-info)";
55
+ readonly "text-feedback-positive": "var(--text-feedback-positive)";
56
+ readonly "text-feedback-warning": "var(--text-feedback-warning)";
57
+ readonly "text-status-dnd": "var(--text-status-dnd)";
58
+ readonly "text-status-idle": "var(--text-status-idle)";
59
+ readonly "text-status-offline": "var(--text-status-offline)";
60
+ readonly "text-status-online": "var(--text-status-online)";
31
61
  readonly "control-text-critical": "var(--control-text-critical-secondary-default)";
32
62
  readonly "control-text-primary": "var(--control-text-primary-default)";
33
63
  };
@@ -41,6 +71,9 @@ export type BaseTextProps<Tag extends TextTag = "div"> = ComponentPropsWithoutRe
41
71
  weight?: TextWeight;
42
72
  color?: TextColor;
43
73
  tag?: Tag;
74
+ selectable?: boolean;
75
+ lineClamp?: number;
76
+ tabularNumbers?: boolean;
44
77
  };
45
78
  export declare function BaseText<T extends TextTag = "div">(props: BaseTextProps<T>): ReactNode;
46
79
  export declare const TextCompat: DiscordText;
@@ -1,8 +1,9 @@
1
1
  import "./Card.css";
2
2
  import { ComponentPropsWithRef } from "react";
3
3
  export interface CardProps extends ComponentPropsWithRef<"div"> {
4
- variant?: "normal" | "warning" | "danger";
4
+ variant?: "primary" | "warning" | "danger" | "success" | "brand";
5
+ outline?: boolean;
5
6
  /** Add a default padding of 1em to the card. This is implied if no className prop is passed */
6
7
  defaultPadding?: boolean;
7
8
  }
8
- export declare function Card({ variant, defaultPadding, children, className, ...restProps }: CardProps): import("react").JSX.Element;
9
+ export declare function Card({ variant, outline, defaultPadding, children, className, ...restProps }: CardProps): import("react").JSX.Element;
@@ -2,5 +2,6 @@ import "./Link.css";
2
2
  import type { AnchorHTMLAttributes, PropsWithChildren } from "react";
3
3
  export interface LinkProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
4
4
  disabled?: boolean;
5
+ useDefaultUnderlineStyles?: boolean;
5
6
  }
6
- export declare function Link({ disabled, className, children, ...restProps }: PropsWithChildren<LinkProps>): import("react").JSX.Element;
7
+ export declare function Link({ disabled, useDefaultUnderlineStyles, href, rel, target, className, children, ...restProps }: PropsWithChildren<LinkProps>): import("react").JSX.Element;
@@ -1,27 +1,18 @@
1
- import type { ComponentType, CSSProperties, ReactNode } from "react";
2
- export type NoticeType = "warn" | "info" | "danger" | "positive" | "preview";
3
- export declare const NoticeTypes: Record<"WARNING" | "INFO" | "ERROR" | "POSITIVE" | "PREVIEW", NoticeType>;
4
- export interface NoticeProps {
1
+ import "./Notice.css";
2
+ import type { ComponentPropsWithoutRef, ComponentType, ReactNode, SVGProps } from "react";
3
+ export declare const NoticeVariants: readonly ["info", "warning", "danger", "positive"];
4
+ export type NoticeVariant = typeof NoticeVariants[number];
5
+ export type NoticeProps = Omit<ComponentPropsWithoutRef<"div">, "children"> & {
5
6
  children: ReactNode;
6
- className?: string;
7
- style?: CSSProperties;
8
- icon?: ComponentType<{
9
- className?: string;
10
- color?: string;
11
- }>;
7
+ variant?: NoticeVariant;
8
+ icon?: ComponentType<SVGProps<SVGSVGElement>>;
12
9
  action?: ReactNode;
13
- textColor?: string;
14
- textVariant?: string;
15
10
  hidden?: boolean;
16
- }
17
- declare function Warning({ children, className, style, icon, action, textColor, textVariant, hidden }: NoticeProps): import("react").JSX.Element;
18
- declare function Info({ children, className, style, icon, action, textColor, textVariant, hidden }: NoticeProps): import("react").JSX.Element;
19
- declare function Error({ children, className, style, icon, action, textColor, textVariant, hidden }: NoticeProps): import("react").JSX.Element;
20
- declare function Positive({ children, className, style, icon, action, textColor, textVariant, hidden }: NoticeProps): import("react").JSX.Element;
21
- export declare const Notice: {
22
- Warning: typeof Warning;
23
- Info: typeof Info;
24
- Error: typeof Error;
25
- Positive: typeof Positive;
26
11
  };
27
- export {};
12
+ export declare function Notice({ children, variant, icon, action, hidden, className, ...restProps }: NoticeProps): import("react").JSX.Element;
13
+ export declare namespace Notice {
14
+ var Info: (props: Omit<NoticeProps, "variant">) => import("react").JSX.Element;
15
+ var Warning: (props: Omit<NoticeProps, "variant">) => import("react").JSX.Element;
16
+ var Danger: (props: Omit<NoticeProps, "variant">) => import("react").JSX.Element;
17
+ var Positive: (props: Omit<NoticeProps, "variant">) => import("react").JSX.Element;
18
+ }
@@ -1,7 +1,13 @@
1
1
  import "./Switch.css";
2
+ import type { Ref } from "react";
2
3
  export interface SwitchProps {
3
- disabled?: boolean;
4
4
  checked: boolean;
5
5
  onChange: (checked: boolean) => void;
6
+ disabled?: boolean;
7
+ id?: string;
8
+ hasIcon?: boolean;
9
+ innerRef?: Ref<HTMLInputElement>;
10
+ "aria-describedby"?: string;
11
+ "aria-labelledby"?: string;
6
12
  }
7
- export declare function Switch({ checked, onChange, disabled }: SwitchProps): import("react").JSX.Element;
13
+ export declare function Switch({ checked, onChange, disabled, id, hasIcon, innerRef, ...ariaProps }: SwitchProps): import("react").JSX.Element;
@@ -1,7 +1,7 @@
1
1
  declare const Directions: readonly ["top", "bottom", "left", "right"];
2
- declare const Sizes: readonly [8, 16, 20];
2
+ declare const Sizes: readonly [4, 8, 16, 20, 24, 40, 60];
3
3
  export type MarginDirection = (typeof Directions)[number];
4
4
  export type MarginSize = (typeof Sizes)[number];
5
- export declare const Margins: Record<`${MarginDirection}${MarginSize}`, string>;
5
+ export declare const Margins: Record<`${MarginDirection}${MarginSize}` | "reset" | "centerHorz", string>;
6
6
  export declare function generateMarginCss(): string;
7
7
  export {};
package/locales/en.d.ts CHANGED
@@ -359,6 +359,7 @@ declare const translations: {
359
359
  readonly description: "These are the floating buttons on the right when you hover over a message";
360
360
  };
361
361
  };
362
+ readonly button: "Buttons of enabled plugins will appear here.";
362
363
  };
363
364
  };
364
365
  readonly patchHelper: {
@@ -733,6 +734,8 @@ declare const translations: {
733
734
  readonly updates: "Updates";
734
735
  readonly updated: "has been updated!";
735
736
  readonly restart: "Click here to restart";
737
+ readonly repaired: "Plexcord has been repaired!";
738
+ readonly ok: "Ok";
736
739
  readonly preferences: {
737
740
  readonly title: "Update Preferences";
738
741
  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.";
@@ -1629,6 +1632,10 @@ declare const translations: {
1629
1632
  readonly label: "Notification Sound";
1630
1633
  readonly description: "Whether the notification sound should be played";
1631
1634
  };
1635
+ readonly respectSilentPings: {
1636
+ readonly label: "Respect Silent Pings";
1637
+ readonly description: "Respect silent pings (@silent / suppress notifications)";
1638
+ };
1632
1639
  readonly statusToUse: {
1633
1640
  readonly label: "Status to Use";
1634
1641
  readonly description: "Status to use for whitelist";
@@ -2383,6 +2390,10 @@ declare const translations: {
2383
2390
  readonly label: "Enable Advanced Signals";
2384
2391
  readonly description: "Enable advanced clip signals (auto-clip triggers)";
2385
2392
  };
2393
+ readonly ignorePlatformRestriction: {
2394
+ readonly label: "Ignore Platform Restriction";
2395
+ readonly description: "Allow Platform Restricted Clipping (may cause save errors)";
2396
+ };
2386
2397
  readonly clipsLink: {
2387
2398
  readonly label: "Clips Link";
2388
2399
  readonly link: "Change FPS and duration options in Clips settings!";
@@ -2920,7 +2931,7 @@ declare const translations: {
2920
2931
  };
2921
2932
  readonly whitelistedLoggers: {
2922
2933
  readonly label: "Whitelisted Loggers";
2923
- readonly description: "Semi colon separated list of loggers to allow even if others are hidden";
2934
+ readonly description: "Semicolon (;) separated list of loggers to allow even if others are hidden";
2924
2935
  };
2925
2936
  readonly allowLevel: {
2926
2937
  readonly label: "Allow Level";
@@ -3564,16 +3575,9 @@ declare const translations: {
3564
3575
  readonly label: "Notify on Auto Connect";
3565
3576
  readonly description: "Whether to notify when Dev Companion has automatically connected.";
3566
3577
  };
3567
- readonly usePatchedModule: {
3568
- readonly label: "Use Patched Module";
3569
- readonly description: "On extract requests, reply with the current patched module (if it is patched) instead of the original.";
3570
- };
3571
- readonly reloadAfterToggle: {
3572
- readonly label: "Reload After Toggle";
3573
- readonly description: "Reload after a disable/enable plugin command is received.";
3574
- };
3575
3578
  };
3576
3579
  readonly toast: {
3580
+ readonly title: "Dev Companion Connected";
3577
3581
  readonly connected: "Connected to WebSocket";
3578
3582
  readonly disconnected: "Dev Companion Disconnected";
3579
3583
  readonly error: "Dev Companion Error";
@@ -3582,6 +3586,8 @@ declare const translations: {
3582
3586
  readonly close: "Close";
3583
3587
  readonly stopping: "Error while stopping plugin {{plugin}}";
3584
3588
  readonly starting: "Error while starting plugin {{plugin}}";
3589
+ readonly noMessage: "No Error Message";
3590
+ readonly noReason: "No Reason Provided";
3585
3591
  };
3586
3592
  };
3587
3593
  readonly disableCallIdle: {
@@ -4564,7 +4570,8 @@ declare const translations: {
4564
4570
  readonly button: {
4565
4571
  readonly tooltip: "Holy Notes";
4566
4572
  readonly save: "Save Note";
4567
- readonly addNote: "Add Note";
4573
+ readonly cancel: "Cancel";
4574
+ readonly noteMessage: "Note Message";
4568
4575
  readonly refresh: "Refresh Avatars";
4569
4576
  readonly import: "Import Notes";
4570
4577
  readonly export: "Export Notes";
@@ -4580,12 +4587,13 @@ declare const translations: {
4580
4587
  };
4581
4588
  readonly modal: {
4582
4589
  readonly error: {
4583
- readonly generic: "There was an error parsing your notes! The issue was logged in your console, press CTRL + I to access it! Please visit the support server if you need extra help!";
4590
+ readonly generic: "There was an error parsing your notes. Check the console for details.";
4584
4591
  readonly easter: "No notes were found. Empathy banana is here for you.";
4585
4592
  readonly empty: "No notes were found saved in this notebook.";
4586
4593
  };
4587
4594
  readonly help: {
4588
- readonly title: "Help Modal";
4595
+ readonly title: "Help";
4596
+ readonly description: "Learn how to use Holy Notes";
4589
4597
  readonly addingNotes: "Adding Notes";
4590
4598
  readonly addingNotesText: "To add a note right click on a message then hover over the 'Note Message' item and click the button with the notebook name you would like to note the message to.";
4591
4599
  readonly prototype: "Prototype";
@@ -4600,7 +4608,10 @@ declare const translations: {
4600
4608
  readonly notebook: {
4601
4609
  readonly title: "NOTEBOOK";
4602
4610
  readonly search: "Search for a message...";
4611
+ readonly options: "Sort Options";
4603
4612
  readonly label: "Sort Menu";
4613
+ readonly filteredOf: "{{filteredCount}} of {{noteCount}} note{{s}}";
4614
+ readonly note: "{{noteCount}} note{{s}}";
4604
4615
  readonly ada: "Ascending / Date Added";
4605
4616
  readonly amd: "Ascending / Message Date";
4606
4617
  readonly dda: "Descending / Date Added";
@@ -4613,10 +4624,12 @@ declare const translations: {
4613
4624
  };
4614
4625
  readonly create: {
4615
4626
  readonly title: "Create Notebook";
4627
+ readonly description: "Enter a name for your new notebook";
4616
4628
  readonly placeholder: "Notebook Name";
4617
4629
  };
4618
4630
  readonly delete: {
4619
- readonly title: "Confirm Deletion";
4631
+ readonly title: "Delete {{notebookName}}?";
4632
+ readonly description: "{{noteCount}} note{{s}} will be deleted permanently";
4620
4633
  readonly button: "Delete";
4621
4634
  };
4622
4635
  readonly tabs: {
@@ -4633,7 +4646,7 @@ declare const translations: {
4633
4646
  readonly refreshed: "Successfully refreshed avatars.";
4634
4647
  readonly deletedAll: "Successfully deleted all notes.";
4635
4648
  readonly imported: "Successfully imported notes.";
4636
- readonly invalid: "Invalid JSON.";
4649
+ readonly invalid: "Failed to import notes.";
4637
4650
  };
4638
4651
  readonly toolbox: {
4639
4652
  readonly action: "Open Notes";
@@ -6753,6 +6766,7 @@ declare const translations: {
6753
6766
  readonly unmarkAsIgnored: "Unmark as Ignored";
6754
6767
  readonly stopAuto: "Stop Auto-Complete";
6755
6768
  readonly copyQuestID: "Copy Quest ID";
6769
+ readonly startAuto: "Start Auto-Complete";
6756
6770
  };
6757
6771
  };
6758
6772
  readonly settings: {
@@ -7106,6 +7120,12 @@ declare const translations: {
7106
7120
  readonly resume: "Resume (~{{remainTime}})";
7107
7121
  readonly complete: "Complete {{remainTime}}";
7108
7122
  readonly completeImmediate: "Complete (Immediate)";
7123
+ readonly completed: "Completed";
7124
+ };
7125
+ readonly reward: {
7126
+ readonly orbs: "{{completingText}} for {{orbQuantity}} Orbs.";
7127
+ readonly article: "{{completingText}} for {{itemName}}.";
7128
+ readonly unrecognized: "{{completingText}} for an unrecognized reward type.";
7109
7129
  };
7110
7130
  readonly notification: {
7111
7131
  readonly completed: {
@@ -9161,16 +9181,6 @@ declare const translations: {
9161
9181
  readonly placeholdersInfo: "The special placeholders {{USER}}, {{DISPLAY_NAME}}, {{NICKNAME}} and {{CHANNEL}} will be replaced with the user's name (nothing if it's yourself), the user's display name, the user's nickname on current server and the channel's name respectively";
9162
9182
  };
9163
9183
  };
9164
- readonly videoSpeed: {
9165
- readonly name: "VideoSpeed";
9166
- readonly description: "Allows you to change the speed of videos";
9167
- readonly option: {
9168
- readonly preservePitch: {
9169
- readonly label: "Preserve Pitch";
9170
- readonly description: "Should pitch be preserved when changing speed?";
9171
- };
9172
- };
9173
- };
9174
9184
  readonly viewIcons: {
9175
9185
  readonly name: "ViewIcons";
9176
9186
  readonly description: "Makes avatars and banners in user profiles clickable, adds View Icon/Banner entries in the user, server and group channel context menu.";
@@ -9959,6 +9969,7 @@ export declare const plugins: DeepKeyProxy<{
9959
9969
  readonly description: "These are the floating buttons on the right when you hover over a message";
9960
9970
  };
9961
9971
  };
9972
+ readonly button: "Buttons of enabled plugins will appear here.";
9962
9973
  };
9963
9974
  }>;
9964
9975
  export declare const patchHelper: DeepKeyProxy<{
@@ -10333,6 +10344,8 @@ export declare const updater: DeepKeyProxy<{
10333
10344
  readonly updates: "Updates";
10334
10345
  readonly updated: "has been updated!";
10335
10346
  readonly restart: "Click here to restart";
10347
+ readonly repaired: "Plexcord has been repaired!";
10348
+ readonly ok: "Ok";
10336
10349
  readonly preferences: {
10337
10350
  readonly title: "Update Preferences";
10338
10351
  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.";
@@ -11229,6 +11242,10 @@ export declare const plugin: DeepKeyProxy<{
11229
11242
  readonly label: "Notification Sound";
11230
11243
  readonly description: "Whether the notification sound should be played";
11231
11244
  };
11245
+ readonly respectSilentPings: {
11246
+ readonly label: "Respect Silent Pings";
11247
+ readonly description: "Respect silent pings (@silent / suppress notifications)";
11248
+ };
11232
11249
  readonly statusToUse: {
11233
11250
  readonly label: "Status to Use";
11234
11251
  readonly description: "Status to use for whitelist";
@@ -11983,6 +12000,10 @@ export declare const plugin: DeepKeyProxy<{
11983
12000
  readonly label: "Enable Advanced Signals";
11984
12001
  readonly description: "Enable advanced clip signals (auto-clip triggers)";
11985
12002
  };
12003
+ readonly ignorePlatformRestriction: {
12004
+ readonly label: "Ignore Platform Restriction";
12005
+ readonly description: "Allow Platform Restricted Clipping (may cause save errors)";
12006
+ };
11986
12007
  readonly clipsLink: {
11987
12008
  readonly label: "Clips Link";
11988
12009
  readonly link: "Change FPS and duration options in Clips settings!";
@@ -12520,7 +12541,7 @@ export declare const plugin: DeepKeyProxy<{
12520
12541
  };
12521
12542
  readonly whitelistedLoggers: {
12522
12543
  readonly label: "Whitelisted Loggers";
12523
- readonly description: "Semi colon separated list of loggers to allow even if others are hidden";
12544
+ readonly description: "Semicolon (;) separated list of loggers to allow even if others are hidden";
12524
12545
  };
12525
12546
  readonly allowLevel: {
12526
12547
  readonly label: "Allow Level";
@@ -13164,16 +13185,9 @@ export declare const plugin: DeepKeyProxy<{
13164
13185
  readonly label: "Notify on Auto Connect";
13165
13186
  readonly description: "Whether to notify when Dev Companion has automatically connected.";
13166
13187
  };
13167
- readonly usePatchedModule: {
13168
- readonly label: "Use Patched Module";
13169
- readonly description: "On extract requests, reply with the current patched module (if it is patched) instead of the original.";
13170
- };
13171
- readonly reloadAfterToggle: {
13172
- readonly label: "Reload After Toggle";
13173
- readonly description: "Reload after a disable/enable plugin command is received.";
13174
- };
13175
13188
  };
13176
13189
  readonly toast: {
13190
+ readonly title: "Dev Companion Connected";
13177
13191
  readonly connected: "Connected to WebSocket";
13178
13192
  readonly disconnected: "Dev Companion Disconnected";
13179
13193
  readonly error: "Dev Companion Error";
@@ -13182,6 +13196,8 @@ export declare const plugin: DeepKeyProxy<{
13182
13196
  readonly close: "Close";
13183
13197
  readonly stopping: "Error while stopping plugin {{plugin}}";
13184
13198
  readonly starting: "Error while starting plugin {{plugin}}";
13199
+ readonly noMessage: "No Error Message";
13200
+ readonly noReason: "No Reason Provided";
13185
13201
  };
13186
13202
  };
13187
13203
  readonly disableCallIdle: {
@@ -14164,7 +14180,8 @@ export declare const plugin: DeepKeyProxy<{
14164
14180
  readonly button: {
14165
14181
  readonly tooltip: "Holy Notes";
14166
14182
  readonly save: "Save Note";
14167
- readonly addNote: "Add Note";
14183
+ readonly cancel: "Cancel";
14184
+ readonly noteMessage: "Note Message";
14168
14185
  readonly refresh: "Refresh Avatars";
14169
14186
  readonly import: "Import Notes";
14170
14187
  readonly export: "Export Notes";
@@ -14180,12 +14197,13 @@ export declare const plugin: DeepKeyProxy<{
14180
14197
  };
14181
14198
  readonly modal: {
14182
14199
  readonly error: {
14183
- readonly generic: "There was an error parsing your notes! The issue was logged in your console, press CTRL + I to access it! Please visit the support server if you need extra help!";
14200
+ readonly generic: "There was an error parsing your notes. Check the console for details.";
14184
14201
  readonly easter: "No notes were found. Empathy banana is here for you.";
14185
14202
  readonly empty: "No notes were found saved in this notebook.";
14186
14203
  };
14187
14204
  readonly help: {
14188
- readonly title: "Help Modal";
14205
+ readonly title: "Help";
14206
+ readonly description: "Learn how to use Holy Notes";
14189
14207
  readonly addingNotes: "Adding Notes";
14190
14208
  readonly addingNotesText: "To add a note right click on a message then hover over the 'Note Message' item and click the button with the notebook name you would like to note the message to.";
14191
14209
  readonly prototype: "Prototype";
@@ -14200,7 +14218,10 @@ export declare const plugin: DeepKeyProxy<{
14200
14218
  readonly notebook: {
14201
14219
  readonly title: "NOTEBOOK";
14202
14220
  readonly search: "Search for a message...";
14221
+ readonly options: "Sort Options";
14203
14222
  readonly label: "Sort Menu";
14223
+ readonly filteredOf: "{{filteredCount}} of {{noteCount}} note{{s}}";
14224
+ readonly note: "{{noteCount}} note{{s}}";
14204
14225
  readonly ada: "Ascending / Date Added";
14205
14226
  readonly amd: "Ascending / Message Date";
14206
14227
  readonly dda: "Descending / Date Added";
@@ -14213,10 +14234,12 @@ export declare const plugin: DeepKeyProxy<{
14213
14234
  };
14214
14235
  readonly create: {
14215
14236
  readonly title: "Create Notebook";
14237
+ readonly description: "Enter a name for your new notebook";
14216
14238
  readonly placeholder: "Notebook Name";
14217
14239
  };
14218
14240
  readonly delete: {
14219
- readonly title: "Confirm Deletion";
14241
+ readonly title: "Delete {{notebookName}}?";
14242
+ readonly description: "{{noteCount}} note{{s}} will be deleted permanently";
14220
14243
  readonly button: "Delete";
14221
14244
  };
14222
14245
  readonly tabs: {
@@ -14233,7 +14256,7 @@ export declare const plugin: DeepKeyProxy<{
14233
14256
  readonly refreshed: "Successfully refreshed avatars.";
14234
14257
  readonly deletedAll: "Successfully deleted all notes.";
14235
14258
  readonly imported: "Successfully imported notes.";
14236
- readonly invalid: "Invalid JSON.";
14259
+ readonly invalid: "Failed to import notes.";
14237
14260
  };
14238
14261
  readonly toolbox: {
14239
14262
  readonly action: "Open Notes";
@@ -16353,6 +16376,7 @@ export declare const plugin: DeepKeyProxy<{
16353
16376
  readonly unmarkAsIgnored: "Unmark as Ignored";
16354
16377
  readonly stopAuto: "Stop Auto-Complete";
16355
16378
  readonly copyQuestID: "Copy Quest ID";
16379
+ readonly startAuto: "Start Auto-Complete";
16356
16380
  };
16357
16381
  };
16358
16382
  readonly settings: {
@@ -16706,6 +16730,12 @@ export declare const plugin: DeepKeyProxy<{
16706
16730
  readonly resume: "Resume (~{{remainTime}})";
16707
16731
  readonly complete: "Complete {{remainTime}}";
16708
16732
  readonly completeImmediate: "Complete (Immediate)";
16733
+ readonly completed: "Completed";
16734
+ };
16735
+ readonly reward: {
16736
+ readonly orbs: "{{completingText}} for {{orbQuantity}} Orbs.";
16737
+ readonly article: "{{completingText}} for {{itemName}}.";
16738
+ readonly unrecognized: "{{completingText}} for an unrecognized reward type.";
16709
16739
  };
16710
16740
  readonly notification: {
16711
16741
  readonly completed: {
@@ -18761,16 +18791,6 @@ export declare const plugin: DeepKeyProxy<{
18761
18791
  readonly placeholdersInfo: "The special placeholders {{USER}}, {{DISPLAY_NAME}}, {{NICKNAME}} and {{CHANNEL}} will be replaced with the user's name (nothing if it's yourself), the user's display name, the user's nickname on current server and the channel's name respectively";
18762
18792
  };
18763
18793
  };
18764
- readonly videoSpeed: {
18765
- readonly name: "VideoSpeed";
18766
- readonly description: "Allows you to change the speed of videos";
18767
- readonly option: {
18768
- readonly preservePitch: {
18769
- readonly label: "Preserve Pitch";
18770
- readonly description: "Should pitch be preserved when changing speed?";
18771
- };
18772
- };
18773
- };
18774
18794
  readonly viewIcons: {
18775
18795
  readonly name: "ViewIcons";
18776
18796
  readonly description: "Makes avatars and banners in user profiles clickable, adds View Icon/Banner entries in the user, server and group channel context menu.";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@plexcord/types",
3
3
  "private": false,
4
- "version": "1.19.7",
4
+ "version": "1.20.0",
5
5
  "description": "",
6
6
  "types": "index.d.ts",
7
7
  "scripts": {
@@ -15,11 +15,11 @@ declare const _default: {
15
15
  } | {
16
16
  match: RegExp;
17
17
  replace: (m: string, notice: string) => string;
18
- noWarn: true;
18
+ noWarn?: undefined;
19
19
  } | {
20
20
  match: RegExp;
21
21
  replace: (m: string, _: string, notice: string) => string;
22
- noWarn?: undefined;
22
+ noWarn: true;
23
23
  })[];
24
24
  }[];
25
25
  } & Record<PropertyKey, any> & import("../../utils/types").Plugin;
@@ -14,8 +14,6 @@ declare const _default: {
14
14
  }[];
15
15
  renderButtons(props: {
16
16
  nameplate?: any;
17
- }, styles: {
18
- iconForeground?: string;
19
17
  }): import("react").JSX.Element[];
20
18
  shouldHideTooltips(): boolean;
21
19
  } & Record<PropertyKey, any> & import("../../utils/types").Plugin;
@@ -115,12 +115,6 @@ declare const _default: {
115
115
  match: RegExp;
116
116
  replace: (m: string, _buildOverride: string, makeRow: string, component: string, props: string) => string;
117
117
  })[];
118
- } | {
119
- find: string;
120
- replacement: {
121
- match: RegExp;
122
- replace: (_: string, settingsPanel: string, section: string, openUserSettings: string) => string;
123
- };
124
118
  } | {
125
119
  find: string;
126
120
  replacement: {
@@ -160,7 +160,7 @@ declare const _default: {
160
160
  all: true;
161
161
  predicate?: undefined;
162
162
  } | {
163
- find: string;
163
+ find: RegExp;
164
164
  replacement: {
165
165
  match: RegExp;
166
166
  replace: string;