add findByFactoryCode to console shortcuts
This commit is contained in:
parent
51dee70ced
commit
17cc81f15d
|
@ -95,6 +95,8 @@ function makeShortcuts() {
|
||||||
findAllComponentsByCode: (...code: string[]) => cacheFindAll(filters.byComponentCode(...code)),
|
findAllComponentsByCode: (...code: string[]) => cacheFindAll(filters.byComponentCode(...code)),
|
||||||
findExportedComponent: (...props: string[]) => findByProps(...props)[props[0]],
|
findExportedComponent: (...props: string[]) => findByProps(...props)[props[0]],
|
||||||
findStore: newFindWrapper(filters.byStoreName),
|
findStore: newFindWrapper(filters.byStoreName),
|
||||||
|
findByFactoryCode: newFindWrapper(filters.byFactoryCode),
|
||||||
|
findAllByFactoryCode: (...code: string[]) => cacheFindAll(filters.byFactoryCode(...code)),
|
||||||
PluginsApi: { getter: () => Vencord.Plugins },
|
PluginsApi: { getter: () => Vencord.Plugins },
|
||||||
plugins: { getter: () => Vencord.Plugins.plugins },
|
plugins: { getter: () => Vencord.Plugins.plugins },
|
||||||
Settings: { getter: () => Vencord.Settings },
|
Settings: { getter: () => Vencord.Settings },
|
||||||
|
|
Loading…
Reference in a new issue