Commit graph

189 commits

Author SHA1 Message Date
PalmDevs
ebad969eec
feat(lib/modules/finders/get): add options.max to getModule 2025-06-10 11:06:15 +07:00
PalmDevs
64801214e4
fix(lib/patcher): correct types in hookers to fix autocomplete 2025-06-10 11:05:33 +07:00
PalmDevs
b3b41e260b
fix(lib/modules/finders/lookup): correct types for lookup results 2025-06-10 11:04:23 +07:00
PalmDevs
2123126aef
fix(lib/plugins): pass storage options correctly 2025-06-10 00:02:18 +07:00
PalmDevs
f3a8ecbfbd
fix(lib/patcher): do truthiness checks instead of undefined checks 2025-06-09 23:28:25 +07:00
PalmDevs
fc8067d599
chore(lib/patcher): add tests and docs 2025-06-09 22:47:21 +07:00
PalmDevs
5c54e3d8e5
fix(lib/patcher/hooks/after): use correct type 2025-06-09 22:46:46 +07:00
PalmDevs
74db4e3ce8
fix(lib/patcher): clean up unused references for instead hooks 2025-06-09 22:46:17 +07:00
PalmDevs
fb41a53f6a
fix(lib/patcher): call instead hook directly instead of proxy to prevent recursion 2025-06-09 22:45:23 +07:00
PalmDevs
1049f51184
fix(lib/discord/modules/main_tabs_v2): correct exported file path 2025-06-09 20:35:36 +07:00
PalmDevs
b2b1a2bd8d
feat(lib/discord/modules/settings): export refreshSettingsOverviewScreen 2025-06-09 19:46:12 +07:00
PalmDevs
a04cacf9d8
fix(lib): define lazy properties with arrow functions 2025-06-09 19:45:02 +07:00
PalmDevs
0d08d0ad6a
feat(lib/discord/modules): export main_tabs_v2 2025-06-09 19:43:27 +07:00
PalmDevs
17307bb90a
feat(lib/utils/trees): extract predicate type from filter in findInTree 2025-06-09 19:41:51 +07:00
PalmDevs
f2d0602949
feat(lib/utils/types): export ExtractPredicate 2025-06-09 19:41:50 +07:00
PalmDevs
0223080f64
feat(lib/discord/common): export Constants 2025-06-09 19:32:03 +07:00
PalmDevs
f2badf63f9
fix(lib/assets/caches): fix cached check logic 2025-06-08 22:07:40 +07:00
PalmDevs
bf3c95b16e
fix(lib/assets/caches): wait for cache to finish loading before attempting to force cache 2025-06-08 21:37:54 +07:00
PalmDevs
5b3a8bc5ab
feat: see commit description
- Shim React and React Native
- Move src/components to lib/components
- Exposed lib/components to `unscoped.components`
- scipts/build: Properly set footer sourceURL
- plugins/developer-settings: Debounce searching in Asset Browser
- plugins/settings: Debounce searching in Plugins
2025-06-08 19:01:33 +07:00
PalmDevs
f453a82dab
feat(lib/utils/proxy): allow passing any hint to proxify 2025-06-08 18:48:43 +07:00
PalmDevs
3619993dc0
fix(lib): export types exports as types-only 2025-06-08 18:47:42 +07:00
PalmDevs
7074e256c1
fix(lib/modules/metro): default initializing module ID to null 2025-06-07 15:14:37 +07:00
PalmDevs
e510eea36e
feat(lib/assets)!: set metadata on asset objects, remove redundant APIs, add new APIs and parameters 2025-06-07 15:14:28 +07:00
PalmDevs
cf38e74338
fix(lib/plugins/apis): use imports instead of require where possible 2025-06-07 10:07:32 +07:00
PalmDevs
123bc83640
feat(lib/assets): improve caching 2025-06-06 21:13:00 +07:00
PalmDevs
2c56aa87c1
fix(lib/plugins): move unscoped.externals to its own pkg 2025-06-06 20:51:07 +07:00
PalmDevs
0ad9454dce
fix: define lazy-loaded APIs without shallow clone 2025-06-06 20:08:25 +07:00
PalmDevs
2b905801c3
chore: format 2025-06-03 16:24:58 +07:00
PalmDevs
aba4fa7242
fix(lib/plugins): use defineLazyProperty to define plugin storage API 2025-06-03 16:13:54 +07:00
PalmDevs
e8fb54c19a
fix(lib/patcher): import types properly 2025-06-03 16:08:37 +07:00
PalmDevs
a1db2dbb2c
feat(lib/assets)!: modify cache struct, change how overrides work, cleanup APIs 2025-06-02 15:56:07 +07:00
PalmDevs
3cc039ae73
feat(lib/plugins): refactor discord plugin API as API extensions
The aim is to reduce Discord-specific code in core libraries.
2025-06-02 15:50:29 +07:00
PalmDevs
6d1ac67bff
feat(utils/objects): add defineLazyProperty 2025-06-02 15:48:06 +07:00
PalmDevs
6d19de566f
chore: format 2025-06-01 13:52:06 +07:00
PalmDevs
b9ed7d0203
feat(lib/storage): add Storage.delete 2025-06-01 13:51:05 +07:00
PalmDevs
5741d7ebbb
fix(lib/discord/types): correct property types for TableRowProps 2025-05-22 02:51:44 +07:00
PalmDevs
7a1ff7ef0c
feat(lib/plugins): add API for storages 2025-05-22 02:45:38 +07:00
PalmDevs
3c23236273
feat(lib): initial impl of storage 2025-05-22 02:44:49 +07:00
PalmDevs
291a4dfaa4
feat(lib/utils/types): add DeepPartial 2025-05-22 01:09:21 +07:00
PalmDevs
4df920009e
feat(lib/utils/objects): add isObject and mergeDeep 2025-05-22 01:09:04 +07:00
PalmDevs
f56309f448
chore(lib/modules/finders/filters): update docs 2025-05-22 00:00:11 +07:00
PalmDevs
d56067d1d1
fix(lib/plugins): handle force stopping after timing out properly 2025-05-19 02:22:12 +07:00
PalmDevs
fa21c4ddc0
fix(lib/plugins): don't run setups if lifecycles do not exist 2025-05-19 02:21:35 +07:00
PalmDevs
2f71d92417
feat(util/promises): add sleepReject 2025-05-19 02:20:22 +07:00
PalmDevs
8437c224cd
fix(modules/finders/get): mismatched args for getModule 2025-05-19 02:20:00 +07:00
PalmDevs
8cf107ed12
feat(lib/discord/common/flux): export getStore and byStoreName 2025-05-19 02:19:39 +07:00
PalmDevs
ae8d19db7c
fix(lib/discord/types): correct types for Logger 2025-05-19 02:18:45 +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
4d31b7016c
chore(lib/modules/metro/subscriptions): update documentation 2025-05-15 16:47:02 +07:00