mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-15 09:33:03 -04:00
Merge remote-tracking branch 'upstream/18-jun-doomsday'
This commit is contained in:
commit
304636d05d
23 changed files with 67 additions and 76 deletions
1
src/webpack/common/types/utils.d.ts
vendored
1
src/webpack/common/types/utils.d.ts
vendored
|
@ -219,4 +219,5 @@ export interface IconUtils {
|
|||
export interface Constants {
|
||||
Endpoints: Record<string, any>;
|
||||
UserFlags: Record<string, number>;
|
||||
FriendsSections: Record<string, string>;
|
||||
}
|
||||
|
|
|
@ -39,7 +39,8 @@ waitFor(["dispatchToLastSubscribed"], m => ComponentDispatch = m);
|
|||
|
||||
export const Constants: t.Constants = mapMangledModuleLazy('ME:"/users/@me"', {
|
||||
Endpoints: filters.byProps("USER", "ME"),
|
||||
UserFlags: filters.byProps("STAFF", "SPAMMER")
|
||||
UserFlags: filters.byProps("STAFF", "SPAMMER"),
|
||||
FriendsSections: m => m.PENDING === "PENDING" && m.ADD_FRIEND
|
||||
});
|
||||
|
||||
export const RestAPI: t.RestAPI = findLazy(m => typeof m === "object" && m.del && m.put);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue