WIP pl-api migration
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
@ -37,6 +37,7 @@ const normalizeAccount = (account: BaseAccount) => {
|
||||
const emojiMap = makeEmojiMap(account.emojis);
|
||||
|
||||
return {
|
||||
mute_expires_at: null,
|
||||
...account,
|
||||
avatar: account.avatar || account.avatar_static || missingAvatar,
|
||||
avatar_static: account.avatar_static || account.avatar || missingAvatar,
|
||||
|
||||
@ -9,7 +9,8 @@ import {
|
||||
fromJS,
|
||||
} from 'immutable';
|
||||
|
||||
import type { Account, EmbeddedEntity } from 'soapbox/types/entities';
|
||||
import type { Account } from 'soapbox/normalizers';
|
||||
import type { EmbeddedEntity } from 'soapbox/types/entities';
|
||||
|
||||
const AdminAccountRecord = ImmutableRecord({
|
||||
account: null as EmbeddedEntity<Account>,
|
||||
|
||||
@ -9,7 +9,8 @@ import {
|
||||
fromJS,
|
||||
} from 'immutable';
|
||||
|
||||
import type { Account, EmbeddedEntity, Status } from 'soapbox/types/entities';
|
||||
import type { Account, Status } from 'soapbox/normalizers';
|
||||
import type { EmbeddedEntity } from 'soapbox/types/entities';
|
||||
|
||||
const AdminReportRecord = ImmutableRecord({
|
||||
account: null as EmbeddedEntity<Account>,
|
||||
|
||||
Reference in New Issue
Block a user