forked from h3poteto/megalodon
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request h3poteto#1689 from h3poteto/fix/follow_request
Return FollowRequest object in get_follow_requests for Friendica
- Loading branch information
Showing
7 changed files
with
69 additions
and
11 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
/// <reference path="emoji.ts" /> | ||
/// <reference path="field.ts" /> | ||
|
||
namespace Entity { | ||
export type FollowRequest = { | ||
id: number | ||
username: string | ||
acct: string | ||
display_name: string | ||
locked: boolean | ||
bot: boolean | ||
discoverable?: boolean | ||
group: boolean | ||
created_at: string | ||
note: string | ||
url: string | ||
avatar: string | ||
avatar_static: string | ||
header: string | ||
header_static: string | ||
followers_count: number | ||
following_count: number | ||
statuses_count: number | ||
emojis: Array<Emoji> | ||
fields: Array<Field> | ||
} | ||
} |
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
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,27 @@ | ||
/// <reference path="emoji.ts" /> | ||
/// <reference path="field.ts" /> | ||
|
||
namespace FriendicaEntity { | ||
export type FollowRequest = { | ||
id: number | ||
username: string | ||
acct: string | ||
display_name: string | ||
locked: boolean | ||
bot: boolean | ||
discoverable?: boolean | ||
group: boolean | ||
created_at: string | ||
note: string | ||
url: string | ||
avatar: string | ||
avatar_static: string | ||
header: string | ||
header_static: string | ||
followers_count: number | ||
following_count: number | ||
statuses_count: number | ||
emojis: Array<Emoji> | ||
fields: Array<Field> | ||
} | ||
} |
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