Commit graph

16 commits

Author SHA1 Message Date
PalmDevs
fe43fd14d4
feat: import plugins using import.meta.glob 2025-05-22 00:06:36 +07:00
PalmDevs
37664aaa55
chore: format 2025-05-19 01:43:41 +07:00
PalmDevs
a43cd5d564
feat!: plugins page, tons of API changes, and bug fixes
Plugins
- Settings: Plugins page is now semi-functional
- No Track: Added new plugin
- Developer Settings: Clean up properly
- Logging: Log in preInit stage
- Staff Settings: Add ReloadRequired flags when late-running

@revenge-mod/init
- Moved to the top-level src/index.ts instead

@revenge-mod/modules
- Switch `exports` and `id` parameters in finders APIs
- Lookups now return an array of exports and ID instead of just exports
  - Lookup ID APIs have been removed
- Add `finders.get` helper, a new alternative for `finders.find`
- Corrected documentation for subscription APIs

@revenge-mod/plugins
- Added new APIs for plugins to allow running during pre-init stages
- Added `unscoped.modules.finders.get*`
- Added `unscoped.react.native`

@revenge-mod/react
- native: Added `onRunApplication` and `onRunApplicationFinished`

@revenge-mod/utils
- callbacks: Add `noopFalse`
- promises: Fix `allSettled`
- promises: Add `sleep`
2025-05-18 22:24:48 +07:00
PalmDevs
4f3621ecd4
feat(lib/plugins/apis): include plugin, reduce getters on other apis 2025-05-13 10:34:57 +07:00
PalmDevs
bea425a8ca
fix: make things work with refactor 2025-05-09 21:55:05 +07:00
PalmDevs
fbdea3c9da
fix(plugins): refactor plugins to work with new APIs 2025-05-08 19:10:44 +07:00
PalmDevs
c5daae75e6
fix(lib/discord)!: move ui/settings to settings 2025-05-07 01:35:54 +07:00
PalmDevs
26b4c08a24
chore: refactor, auto-gen assets 2025-05-07 01:21:27 +07:00
PalmDevs
cd62a70001
feat(plugins/settings): log when modules loaded, remove useless exports 2025-05-05 21:26:47 +07:00
PalmDevs
3bca2c4691
fix(lib/discord/ui/settings): correct isSettingsModulesLoaded status 2025-05-05 21:22:21 +07:00
PalmDevs
e05cdecbf9
fix(plugins/settings): refactor into two plugins, move components up to src, fix splicing logic 2025-05-05 21:16:44 +07:00
PalmDevs
662d24e7eb
fix(plugins/settings): remove GC option, don't register hidden sections, only register when needed 2025-05-05 02:28:52 +07:00
PalmDevs
51f86d7d6f
feat(plugin/settings): expose plugin APIs during eval 2025-05-04 20:56:50 +07:00
PalmDevs
0cc3e215eb
feat(plugins/settings): new api, remove ErrorBoundary trigger, add eval JS 2025-05-04 20:31:55 +07:00
PalmDevs
04c7275b4c
feat(plugins/settings): refactor to match discord's codebase style 2025-05-04 16:50:27 +07:00
PalmDevs
a9d8d33c03
feat(plugins): add settings 2025-05-02 22:37:42 +07:00