-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(login): 🚧 Update friend & thread list WIP
Since Facebook changed some things, we had to adapt this API. Now all data to thread list and friend list comes from main HTML response parsed and loaded. Additional work has to be made (e.g. formatters). Mention #3
- Loading branch information
1 parent
6b13a46
commit 40bc001
Showing
6 changed files
with
131 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/* eslint-disable @typescript-eslint/no-explicit-any */ | ||
/* eslint-disable @typescript-eslint/explicit-module-boundary-types */ | ||
|
||
import { ThreadInfo } from '../types/threads'; | ||
import { UserInfo } from '../types/users'; | ||
|
||
export function formatSingleFriend(originalFriend: any): UserInfo { | ||
// TODO: CRITICAL: finish this | ||
return originalFriend; | ||
} | ||
|
||
export function formatSingleThread(originalThread: any): ThreadInfo { | ||
// TODO: CRITICAL: finish this | ||
return originalThread; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters