aboutsummaryrefslogtreecommitdiff
path: root/src/api
diff options
context:
space:
mode:
authorManti <67705577+mantikafasi@users.noreply.github.com>2023-05-28 23:03:06 +0300
committerGitHub <noreply@github.com>2023-05-28 22:03:06 +0200
commit3e3d05fc26a634b17549c9473bd8aeebb7dec4ec (patch)
treea3591b0b0dea888f24d1ce8e58584b4447f62dde /src/api
parent6300198a5463ab38da81906bda634addf4c8a369 (diff)
downloadVencord-3e3d05fc26a634b17549c9473bd8aeebb7dec4ec.tar.gz
Vencord-3e3d05fc26a634b17549c9473bd8aeebb7dec4ec.tar.bz2
Vencord-3e3d05fc26a634b17549c9473bd8aeebb7dec4ec.zip
ReviewDB: Add Review Modal & Pagination (#1174)
Co-authored-by: V <vendicated@riseup.net>
Diffstat (limited to 'src/api')
-rw-r--r--src/api/Settings.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/api/Settings.ts b/src/api/Settings.ts
index e481e48..2f78668 100644
--- a/src/api/Settings.ts
+++ b/src/api/Settings.ts
@@ -266,7 +266,12 @@ export function definePluginSettings<D extends SettingsDefinition, C extends Set
def,
checks: checks ?? {},
pluginName: "",
+
+ withPrivateSettings<T>() {
+ return this as DefinedSettings<D, C> & { store: T; };
+ }
};
+
return definedSettings;
}