diff --git a/README.md b/README.md
index 62049fe..d21a548 100644
--- a/README.md
+++ b/README.md
@@ -23,6 +23,7 @@ To install: open Discord with Revenge installed, go to **Settings → Plugins**,
| Staff Tags | Rebuilt | OWNER/ADMIN/STAFF/MOD-style tags next to members, computed from real server permissions. Per-tag text, colors, gradients, and visibility. | `https://rp.jarviscli.dev/staff-tags/install/` |
| RoleColorEverywhere | Revived | A member's top role color shown in mentions, the typing indicator, voice channel names, member list role headers, and optionally message text. | `https://rp.jarviscli.dev/role-color-everywhere/install/` |
| PronounDB | Revived | Shows a user's pronouns in their profile, if they've set them at pronoundb.org (nothing to configure in the plugin itself). | `https://rp.jarviscli.dev/pronoun-db/install/` |
+| FakeProfileThemesAndEffects | Revived | Profile theming and profile effects without Nitro. Fork of [shipwr3ckd's FPTE](https://github.com/shipwr3ckd/FPTE) - fixed a crash on every profile-editor open, confirmed via on-device diagnostics. | `https://rp.jarviscli.dev/fake-profile-themes-and-effects/install/` |
| BetterTimestamps | Revived | Calendar-relative, fully relative, ISO 8601, or a custom moment.js timestamp format, for both messages and day dividers. | `https://rp.jarviscli.dev/better-timestamps/install/` |
| CopyRoleColor | Revived | Long-press a role pill to copy its color as hex. | `https://rp.jarviscli.dev/copy-role-color/install/` |
@@ -40,7 +41,7 @@ To install: open Discord with Revenge installed, go to **Settings → Plugins**,
| Plugin | Status | Description | Install link |
| --- | --- | --- | --- |
| ViewRaw | Revived | See a message's raw JSON via long-press - searchable, syntax-highlighted, and copyable. Fork of [bwlok's ViewRaw](https://github.com/bwlok/revenge-plugins/tree/master/plugins/ViewRaw), GPLv3. | `https://rp.jarviscli.dev/view-raw/install/` |
-| Key Inspector | New | One-tap scan of every internal key this repo's plugins depend on, with a copyable report - for diagnosing crashes entirely from a phone. | `https://rp.jarviscli.dev/key-inspector/install/` |
+| Key Inspector | New | One-tap scan of every internal key this repo's plugins depend on, plus a full dump of Revenge's plugin API tree - for diagnosing crashes entirely from a phone. | `https://rp.jarviscli.dev/key-inspector/install/` |
"Revived" means the plugin previously existed elsewhere, stopped working after a Discord/API update, and has been rebuilt here.
"Rebuilt" means it's a from-scratch reimplementation of a previously-broken plugin with expanded features. "New" means
diff --git a/build.mjs b/build.mjs
index ceebed9..601d24d 100644
--- a/build.mjs
+++ b/build.mjs
@@ -18,7 +18,14 @@ const extensions = [".js", ".jsx", ".mjs", ".ts", ".tsx", ".cts", ".mts"];
/** @type import("rollup").InputPluginOption */
const plugins = [
alias({
- entries: [{ find: "@shared", replacement: resolvePath("./shared") }],
+ entries: [
+ { find: "@shared", replacement: resolvePath("./shared") },
+ // FPTE's own internal aliases, namespaced to avoid colliding with any other plugin
+ // that might want a generic "@lib"/"@ui" of its own.
+ { find: "@fpte/lib", replacement: resolvePath("./plugins/fake-profile-themes-and-effects/src/lib") },
+ { find: "@fpte/ui", replacement: resolvePath("./plugins/fake-profile-themes-and-effects/src/ui") },
+ { find: "@fpte/patches", replacement: resolvePath("./plugins/fake-profile-themes-and-effects/src/patches") },
+ ],
}),
nodeResolve({ extensions: [".mjs", ".js", ".json", ".node", ".ts", ".tsx"] }),
commonjs(),
@@ -70,6 +77,13 @@ for (const plug of await readdir("./plugins")) {
const bundle = await rollup({
input: `./plugins/${plug}/${manifest.main}`,
onwarn: () => {},
+ // Most plugins only ever import React/ReactNative via @vendetta/metro/common, which
+ // resolves to nothing on disk and so is treated as external automatically - but a
+ // couple of ported plugins import the bare "react"/"react-native" packages directly
+ // (like their own original build configs expected), and those DO exist in
+ // node_modules, so without this they'd actually get bundled - including react-native's
+ // real source, which contains Flow syntax this toolchain can't parse.
+ external: ["react", "react-native"],
plugins,
});
@@ -79,6 +93,7 @@ for (const plug of await readdir("./plugins")) {
if (id.startsWith("@vendetta")) return id.substring(1).replace(/\//g, ".");
const map = {
react: "window.React",
+ "react-native": "vendetta.metro.common.ReactNative",
};
return map[id] || null;
diff --git a/plugins/fake-profile-themes-and-effects/LICENSE b/plugins/fake-profile-themes-and-effects/LICENSE
new file mode 100644
index 0000000..670154e
--- /dev/null
+++ b/plugins/fake-profile-themes-and-effects/LICENSE
@@ -0,0 +1,116 @@
+CC0 1.0 Universal
+
+Statement of Purpose
+
+The laws of most jurisdictions throughout the world automatically confer
+exclusive Copyright and Related Rights (defined below) upon the creator and
+subsequent owner(s) (each and all, an "owner") of an original work of
+authorship and/or a database (each, a "Work").
+
+Certain owners wish to permanently relinquish those rights to a Work for the
+purpose of contributing to a commons of creative, cultural and scientific
+works ("Commons") that the public can reliably and without fear of later
+claims of infringement build upon, modify, incorporate in other works, reuse
+and redistribute as freely as possible in any form whatsoever and for any
+purposes, including without limitation commercial purposes. These owners may
+contribute to the Commons to promote the ideal of a free culture and the
+further production of creative, cultural and scientific works, or to gain
+reputation or greater distribution for their Work in part through the use and
+efforts of others.
+
+For these and/or other purposes and motivations, and without any expectation
+of additional consideration or compensation, the person associating CC0 with a
+Work (the "Affirmer"), to the extent that he or she is an owner of Copyright
+and Related Rights in the Work, voluntarily elects to apply CC0 to the Work
+and publicly distribute the Work under its terms, with knowledge of his or her
+Copyright and Related Rights in the Work and the meaning and intended legal
+effect of CC0 on those rights.
+
+1. Copyright and Related Rights. A Work made available under CC0 may be
+protected by copyright and related or neighboring rights ("Copyright and
+Related Rights"). Copyright and Related Rights include, but are not limited
+to, the following:
+
+ i. the right to reproduce, adapt, distribute, perform, display, communicate,
+ and translate a Work;
+
+ ii. moral rights retained by the original author(s) and/or performer(s);
+
+ iii. publicity and privacy rights pertaining to a person's image or likeness
+ depicted in a Work;
+
+ iv. rights protecting against unfair competition in regards to a Work,
+ subject to the limitations in paragraph 4(a), below;
+
+ v. rights protecting the extraction, dissemination, use and reuse of data in
+ a Work;
+
+ vi. database rights (such as those arising under Directive 96/9/EC of the
+ European Parliament and of the Council of 11 March 1996 on the legal
+ protection of databases, and under any national implementation thereof,
+ including any amended or successor version of such directive); and
+
+ vii. other similar, equivalent or corresponding rights throughout the world
+ based on applicable law or treaty, and any national implementations thereof.
+
+2. Waiver. To the greatest extent permitted by, but not in contravention of,
+applicable law, Affirmer hereby overtly, fully, permanently, irrevocably and
+unconditionally waives, abandons, and surrenders all of Affirmer's Copyright
+and Related Rights and associated claims and causes of action, whether now
+known or unknown (including existing as well as future claims and causes of
+action), in the Work (i) in all territories worldwide, (ii) for the maximum
+duration provided by applicable law or treaty (including future time
+extensions), (iii) in any current or future medium and for any number of
+copies, and (iv) for any purpose whatsoever, including without limitation
+commercial, advertising or promotional purposes (the "Waiver"). Affirmer makes
+the Waiver for the benefit of each member of the public at large and to the
+detriment of Affirmer's heirs and successors, fully intending that such Waiver
+shall not be subject to revocation, rescission, cancellation, termination, or
+any other legal or equitable action to disrupt the quiet enjoyment of the Work
+by the public as contemplated by Affirmer's express Statement of Purpose.
+
+3. Public License Fallback. Should any part of the Waiver for any reason be
+judged legally invalid or ineffective under applicable law, then the Waiver
+shall be preserved to the maximum extent permitted taking into account
+Affirmer's express Statement of Purpose. In addition, to the extent the Waiver
+is so judged Affirmer hereby grants to each affected person a royalty-free,
+non transferable, non sublicensable, non exclusive, irrevocable and
+unconditional license to exercise Affirmer's Copyright and Related Rights in
+the Work (i) in all territories worldwide, (ii) for the maximum duration
+provided by applicable law or treaty (including future time extensions), (iii)
+in any current or future medium and for any number of copies, and (iv) for any
+purpose whatsoever, including without limitation commercial, advertising or
+promotional purposes (the "License"). The License shall be deemed effective as
+of the date CC0 was applied by Affirmer to the Work. Should any part of the
+License for any reason be judged legally invalid or ineffective under
+applicable law, such partial invalidity or ineffectiveness shall not
+invalidate the remainder of the License, and in such case Affirmer hereby
+affirms that he or she will not (i) exercise any of his or her remaining
+Copyright and Related Rights in the Work or (ii) assert any associated claims
+and causes of action with respect to the Work, in either case contrary to
+Affirmer's express Statement of Purpose.
+
+4. Limitations and Disclaimers.
+
+ a. No trademark or patent rights held by Affirmer are waived, abandoned,
+ surrendered, licensed or otherwise affected by this document.
+
+ b. Affirmer offers the Work as-is and makes no representations or warranties
+ of any kind concerning the Work, express, implied, statutory or otherwise,
+ including without limitation warranties of title, merchantability, fitness
+ for a particular purpose, non infringement, or the absence of latent or
+ other defects, accuracy, or the present or absence of errors, whether or not
+ discoverable, all to the greatest extent permissible under applicable law.
+
+ c. Affirmer disclaims responsibility for clearing rights of other persons
+ that may apply to the Work or any use thereof, including without limitation
+ any person's Copyright and Related Rights in the Work. Further, Affirmer
+ disclaims responsibility for obtaining any necessary consents, permissions
+ or other rights required for any use of the Work.
+
+ d. Affirmer understands and acknowledges that Creative Commons is not a
+ party to this document and has no duty or obligation with respect to this
+ CC0 or use of the Work.
+
+For more information, please see
+
diff --git a/plugins/fake-profile-themes-and-effects/manifest.json b/plugins/fake-profile-themes-and-effects/manifest.json
new file mode 100644
index 0000000..4b9fa02
--- /dev/null
+++ b/plugins/fake-profile-themes-and-effects/manifest.json
@@ -0,0 +1,13 @@
+{
+ "name": "FakeProfileThemesAndEffects",
+ "description": "Profile theming and profile effects without Nitro, by hiding the color/effect data in your About Me using invisible zero-width characters.",
+ "authors": [
+ { "name": "everestmcarthur" },
+ { "name": "ryan" },
+ { "name": "シグマ siguma" }
+ ],
+ "main": "src/index.ts",
+ "vendetta": {
+ "icon": "ic_profile_24px"
+ }
+}
diff --git a/plugins/fake-profile-themes-and-effects/src/index.ts b/plugins/fake-profile-themes-and-effects/src/index.ts
new file mode 100644
index 0000000..f6d74ea
--- /dev/null
+++ b/plugins/fake-profile-themes-and-effects/src/index.ts
@@ -0,0 +1,51 @@
+import { logger } from "@vendetta";
+import { applyPatches } from "@shared/lib/patcher";
+import { FluxDispatcher } from "@fpte/lib/flux";
+import { UserProfileStore, UserStore } from "@fpte/lib/stores";
+import {
+ patchGetPurchase,
+ patchGetUserProfile,
+ patchUseProfileEffectSections,
+ patchUseProfileTheme,
+ patchUserProfileEditForm,
+ patchNitroUpsellCard
+} from "@fpte/patches";
+import { Settings } from "@fpte/ui/pages";
+
+/** Updates the profile theme and effect used by YouScreen and BottomTabBar. */
+function updateProfileThemeAndEffect() {
+ const user = UserStore.getCurrentUser();
+ if (!user) return;
+ const user_profile = UserProfileStore.getUserProfile(user.id);
+ if (!user_profile) return;
+ FluxDispatcher.dispatch({
+ type: "USER_PROFILE_FETCH_SUCCESS",
+ user,
+ user_profile,
+ connected_accounts: user_profile.connectedAccounts
+ });
+}
+
+let unpatchAll: () => void = () => {};
+
+export default {
+ onLoad() {
+ unpatchAll = applyPatches("FakeProfileThemesAndEffects", logger, {
+ "purchase check": patchGetPurchase,
+ "user profile data": patchGetUserProfile,
+ "profile effect sections": () => {
+ const unpatches = patchUseProfileEffectSections();
+ return () => unpatches.forEach((u) => u());
+ },
+ "profile theme": patchUseProfileTheme,
+ "profile edit form": patchUserProfileEditForm,
+ "nitro upsell card": patchNitroUpsellCard
+ });
+ updateProfileThemeAndEffect();
+ },
+ onUnload() {
+ unpatchAll();
+ updateProfileThemeAndEffect();
+ },
+ settings: Settings
+};
diff --git a/plugins/fake-profile-themes-and-effects/src/lib/flux.ts b/plugins/fake-profile-themes-and-effects/src/lib/flux.ts
new file mode 100644
index 0000000..dd53bfb
--- /dev/null
+++ b/plugins/fake-profile-themes-and-effects/src/lib/flux.ts
@@ -0,0 +1,4 @@
+import type { FluxDispatcher as $FluxDispatcher } from "@vencord/discord-types";
+import { FluxDispatcher as Dispatcher } from "@vendetta/metro/common";
+
+export const FluxDispatcher = Dispatcher as $FluxDispatcher;
diff --git a/plugins/fake-profile-themes-and-effects/src/lib/fpte.ts b/plugins/fake-profile-themes-and-effects/src/lib/fpte.ts
new file mode 100644
index 0000000..43ad996
--- /dev/null
+++ b/plugins/fake-profile-themes-and-effects/src/lib/fpte.ts
@@ -0,0 +1,226 @@
+/* eslint-disable @stylistic/brace-style */
+
+/** The FPTE delimiter codepoint (codepoint of zero-width space). */
+const DELIMITER_CODEPOINT = 0x200B;
+/** The FPTE delimiter (zero-width space). */
+const DELIMITER = String.fromCodePoint(DELIMITER_CODEPOINT);
+/** The FPTE radix (number of default-ignorable codepoints in the SSP plane). */
+const RADIX = 0x1000;
+/** The FPTE starting codepoint (first codepoint in the SSP plane). */
+const STARTING_CODEPOINT = 0xE0000;
+/** The FPTE ending codepoint (last default-ignorable codepoint in the SSP plane). */
+const ENDING_CODEPOINT = STARTING_CODEPOINT + RADIX - 1;
+
+/**
+ * Builds a theme color string in the legacy format: `[#primary,#accent]`, where primary and accent are
+ * 24-bit colors as base-16 strings, with each codepoint of the string offset by +{@link STARTING_CODEPOINT}.
+ * @param primary The 24-bit primary color.
+ * @param accent The 24-bit accent color.
+ * @returns The built legacy-format theme color string.
+ */
+export function encodeColorsLegacy(primary: number, accent: number) {
+ return String.fromCodePoint(...[...`[#${primary.toString(16)},#${accent.toString(16)}]`]
+ .map(c => c.codePointAt(0)! + STARTING_CODEPOINT));
+}
+
+/**
+ * Extracts the theme colors from a legacy-format string.
+ * @param str The legacy-format string to extract the theme colors from.
+ * @returns The profile theme colors. Colors will be -1 if not found.
+ * @see {@link encodeColorsLegacy}
+ */
+export function decodeColorsLegacy(str: string): [primaryColor: number, accentColor: number] {
+ const [primary, accent] = str.matchAll(/(?<=#)[\dA-Fa-f]{1,6}/g);
+ return [primary ? parseInt(primary[0], 16) : -1, accent ? parseInt(accent[0], 16) : -1];
+}
+
+/**
+ * Converts a 24-bit color to a base-{@link RADIX} string with each codepoint offset by +{@link STARTING_CODEPOINT}.
+ * @param color The 24-bit color to be converted.
+ * @returns The converted base-{@link RADIX} string with +{@link STARTING_CODEPOINT} offset.
+ */
+export function encodeColor(color: number) {
+ if (color === 0) return String.fromCodePoint(STARTING_CODEPOINT);
+ let str = "";
+ for (; color > 0; color = Math.trunc(color / RADIX))
+ str = String.fromCodePoint(color % RADIX + STARTING_CODEPOINT) + str;
+ return str;
+}
+
+/**
+ * Converts a no-offset base-{@link RADIX} string to a 24-bit color.
+ * @param str The no-offset base-{@link RADIX} string to be converted.
+ * @returns The converted 24-bit color.
+ * Will be -1 if `str` is empty and -2 if the color is greater than the maximum 24-bit color, 0xFFFFFF.
+ */
+export function decodeColor(str: string) {
+ if (str === "") return -1;
+ let color = 0;
+ for (let i = 0; i < str.length; i++) {
+ if (color > 0xFFF_FFF) return -2;
+ color += str.codePointAt(i)! * RADIX ** (str.length - 1 - i);
+ }
+ return color;
+}
+
+/**
+ * Converts an effect ID to a base-{@link RADIX} string with each code point offset by +{@link STARTING_CODEPOINT}.
+ * @param id The effect ID to be converted.
+ * @returns The converted base-{@link RADIX} string with +{@link STARTING_CODEPOINT} offset.
+ */
+export function encodeEffect(id: bigint) {
+ if (id === 0n) return String.fromCodePoint(STARTING_CODEPOINT);
+ let str = "";
+ for (; id > 0n; id /= BigInt(RADIX))
+ str = String.fromCodePoint(Number(id % BigInt(RADIX)) + STARTING_CODEPOINT) + str;
+ return str;
+}
+
+/**
+ * Converts a no-offset base-{@link RADIX} string to an effect ID.
+ * @param str The no-offset base-{@link RADIX} string to be converted.
+ * @returns The converted effect ID.
+ * Will be -1n if `str` is empty and -2n if the color is greater than the maximum effect ID.
+ */
+export function decodeEffect(str: string) {
+ if (str === "") return -1n;
+ let id = 0n;
+ for (let i = 0; i < str.length; i++) {
+ if (id >= 10_000_000_000_000_000_000n) return -2n;
+ id += BigInt(str.codePointAt(i)!) * BigInt(RADIX) ** BigInt(str.length - 1 - i);
+ }
+ return id;
+}
+
+/**
+ * Builds a FPTE string containing the given primary/accent colors and effect ID. If the FPTE Builder is NOT set to backwards
+ * compatibility mode, the primary and accent colors will be converted to base-{@link RADIX} before they are encoded.
+ * @param primary The primary profile theme color. Must be negative if unset.
+ * @param accent The accent profile theme color. Must be negative if unset.
+ * @param effect The profile effect ID. Must be empty if unset.
+ * @param legacy Whether the primary and accent colors should be legacy encoded.
+ * @returns The built FPTE string. Will be empty if the given colors and effect are all unset.
+ */
+export function buildFPTE(primary: number, accent: number, effect: string, legacy: boolean) {
+ /** The FPTE string to be returned. */
+ let fpte = "";
+
+ // If the FPTE Builder is set to backwards compatibility mode,
+ // the primary and accent colors, if set, will be legacy encoded.
+ if (legacy) {
+ // Legacy FPTE strings must include both the primary and accent colors, even if they are the same.
+
+ if (primary >= 0) {
+ // If both the primary and accent colors are set, they will be legacy encoded and added to the
+ // string; otherwise, if the accent color is unset, the primary color will be used in its place.
+ if (accent >= 0)
+ fpte = encodeColorsLegacy(primary, accent);
+ else
+ fpte = encodeColorsLegacy(primary, primary);
+
+ // If the effect ID is set, it will be encoded and added to the string prefixed by one delimiter.
+ if (effect)
+ fpte += DELIMITER + encodeEffect(BigInt(effect));
+
+ return fpte;
+ }
+
+ // Since the primary color is unset, the accent color, if set, will be used in its place.
+ if (accent >= 0) {
+ fpte = encodeColorsLegacy(accent, accent);
+
+ // If the effect ID is set, it will be encoded and added to the string prefixed by one delimiter.
+ if (effect)
+ fpte += DELIMITER + encodeEffect(BigInt(effect));
+
+ return fpte;
+ }
+ }
+ // If the primary color is set, it will be encoded and added to the string.
+ else if (primary >= 0) {
+ fpte = encodeColor(primary);
+
+ // If the accent color is set and different from the primary color, it
+ // will be encoded and added to the string prefixed by one delimiter.
+ if (accent >= 0 && primary !== accent) {
+ fpte += DELIMITER + encodeColor(accent);
+
+ // If the effect ID is set, it will be encoded and added to the string prefixed by one delimiter.
+ if (effect)
+ fpte += DELIMITER + encodeEffect(BigInt(effect));
+
+ return fpte;
+ }
+ }
+ // If only the accent color is set, it will be encoded and added to the string.
+ else if (accent >= 0)
+ fpte = encodeColor(accent);
+
+ // Since either the primary/accent colors are the same, both are unset, or just one is set, only one color will be added
+ // to the string; therefore, the effect ID, if set, will be encoded and added to the string prefixed by two delimiters.
+ if (effect)
+ fpte += DELIMITER + DELIMITER + encodeEffect(BigInt(effect));
+
+ return fpte;
+}
+
+/**
+ * Extracts the delimiter-separated values of the first FPTE substring in a string.
+ * @param str The string to be searched for a FPTE substring.
+ * @returns An array of the found FPTE substring's extracted values. Values will be empty if not found.
+ */
+export function extractFPTE(str: string) {
+ /** The array of extracted FPTE values to be returned. */
+ const fpte: [maybePrimaryOrLegacy: string, maybeAccentOrEffect: string, maybeEffect: string] = ["", "", ""];
+ /** The current index of {@link fpte} getting extracted. */
+ let i = 0;
+
+ for (const char of str) {
+ /** The current character's codepoint. */
+ const cp = char.codePointAt(0)!;
+
+ // If the current character is a delimiter, then the current index of fpte has been completed.
+ if (cp === DELIMITER_CODEPOINT) {
+ // If the current index of fpte is the last, then the extraction is done.
+ if (i >= 2) break;
+ i++; // Start extracting the next index of fpte.
+ }
+ // If the current character is not a delimiter but a valid FPTE
+ // character, it will be added to the current index of fpte.
+ else if (cp >= STARTING_CODEPOINT && cp <= ENDING_CODEPOINT)
+ fpte[i]! += String.fromCodePoint(cp - STARTING_CODEPOINT);
+ // If an FPTE string has been found and its end has been reached, then the extraction is done.
+ else if (i > 0 || fpte[0]) break;
+ }
+
+ return fpte;
+}
+
+/**
+ * Detects if a string contains an FPTE substring based on the presence of
+ * FPTE codepoints or the FPTE delimiter.
+ * @param str The string to check.
+ * @returns True if the string contains FPTE codepoints or delimiters, false otherwise.
+ */
+export function hasFPTE(str: string): boolean {
+ for (const char of str) {
+ const cp = char.codePointAt(0)!;
+ if (
+ (cp >= STARTING_CODEPOINT && cp <= ENDING_CODEPOINT) || // FPTE codepoint range
+ cp === DELIMITER_CODEPOINT // delimiter zero-width space
+ ) {
+ return true;
+ }
+ }
+ return false;
+}
+
+export function stripFPTE(str: string) {
+ return [...str]
+ .filter(ch => {
+ const cp = ch.codePointAt(0)!;
+ return (cp < STARTING_CODEPOINT || cp > ENDING_CODEPOINT) && cp !== DELIMITER_CODEPOINT;
+ })
+ .join("")
+ .trim();
+ }
\ No newline at end of file
diff --git a/plugins/fake-profile-themes-and-effects/src/lib/haptics.ts b/plugins/fake-profile-themes-and-effects/src/lib/haptics.ts
new file mode 100644
index 0000000..0fe16f7
--- /dev/null
+++ b/plugins/fake-profile-themes-and-effects/src/lib/haptics.ts
@@ -0,0 +1,12 @@
+import { findByProps } from "@vendetta/metro";
+
+// Must use `as` or else `undefined` is lost due to a TS bug
+const hapticsModule = findByProps("triggerHapticFeedback") as Record | undefined;
+
+export type FeebackKey = "IMPACT_LIGHT" | "IMPACT_MEDIUM" | "IMPACT_HEAVY" | "NOTIFICATION_ERROR" | "DRAG_AND_DROP_START" | "DRAG_AND_DROP_END" | "DRAG_AND_DROP_MOVE";
+
+export const HapticFeebackTypes: Record
+ = hapticsModule?.HapticFeedbackTypes ?? {};
+
+export const triggerHapticFeedback: (feedbackType?: number | undefined) => void
+ = hapticsModule?.triggerHapticFeedback ?? (() => undefined);
diff --git a/plugins/fake-profile-themes-and-effects/src/lib/reactNativeRenderTree.ts b/plugins/fake-profile-themes-and-effects/src/lib/reactNativeRenderTree.ts
new file mode 100644
index 0000000..1bbeb1a
--- /dev/null
+++ b/plugins/fake-profile-themes-and-effects/src/lib/reactNativeRenderTree.ts
@@ -0,0 +1,165 @@
+import type React from "react";
+
+import { isIterable, isNonNullObject, type OmitCallSignature } from "@fpte/lib/utils";
+
+export namespace RN {
+ export type Fragment