Rename files (7): normalizers
This commit is contained in:
parent
24e7873bce
commit
8a6ad5e6f7
10 changed files with 9 additions and 9 deletions
|
@ -14,7 +14,7 @@ import emojify from 'soapbox/features/emoji/emoji';
|
|||
import { normalizeEmoji } from 'soapbox/normalizers/emoji';
|
||||
import { makeEmojiMap } from 'soapbox/utils/normalizers';
|
||||
|
||||
import { normalizeAnnouncementReaction } from './announcement_reaction';
|
||||
import { normalizeAnnouncementReaction } from './announcement-reaction';
|
||||
import { normalizeMention } from './mention';
|
||||
|
||||
import type { AnnouncementReaction, Emoji, Mention } from 'soapbox/types/entities';
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
export { AccountRecord, FieldRecord, normalizeAccount } from './account';
|
||||
export { AdminAccountRecord, normalizeAdminAccount } from './admin_account';
|
||||
export { AdminReportRecord, normalizeAdminReport } from './admin_report';
|
||||
export { AdminAccountRecord, normalizeAdminAccount } from './admin-account';
|
||||
export { AdminReportRecord, normalizeAdminReport } from './admin-report';
|
||||
export { AnnouncementRecord, normalizeAnnouncement } from './announcement';
|
||||
export { AnnouncementReactionRecord, normalizeAnnouncementReaction } from './announcement_reaction';
|
||||
export { AnnouncementReactionRecord, normalizeAnnouncementReaction } from './announcement-reaction';
|
||||
export { AttachmentRecord, normalizeAttachment } from './attachment';
|
||||
export { CardRecord, normalizeCard } from './card';
|
||||
export { ChatRecord, normalizeChat } from './chat';
|
||||
export { ChatMessageRecord, normalizeChatMessage } from './chat_message';
|
||||
export { ChatMessageRecord, normalizeChatMessage } from './chat-message';
|
||||
export { EmojiRecord, normalizeEmoji } from './emoji';
|
||||
export { FilterRecord, normalizeFilter } from './filter';
|
||||
export { HistoryRecord, normalizeHistory } from './history';
|
||||
|
@ -17,8 +17,8 @@ export { NotificationRecord, normalizeNotification } from './notification';
|
|||
export { PollRecord, PollOptionRecord, normalizePoll } from './poll';
|
||||
export { RelationshipRecord, normalizeRelationship } from './relationship';
|
||||
export { StatusRecord, normalizeStatus } from './status';
|
||||
export { StatusEditRecord, normalizeStatusEdit } from './status_edit';
|
||||
export { StatusEditRecord, normalizeStatusEdit } from './status-edit';
|
||||
export { TagRecord, normalizeTag } from './tag';
|
||||
|
||||
export { AdRecord, normalizeAd } from './soapbox/ad';
|
||||
export { SoapboxConfigRecord, normalizeSoapboxConfig } from './soapbox/soapbox_config';
|
||||
export { SoapboxConfigRecord, normalizeSoapboxConfig } from './soapbox/soapbox-config';
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { Record as ImmutableRecord } from 'immutable';
|
||||
|
||||
import { normalizeSoapboxConfig } from '../soapbox_config';
|
||||
import { normalizeSoapboxConfig } from '../soapbox-config';
|
||||
|
||||
describe('normalizeSoapboxConfig()', () => {
|
||||
it('adds base fields', () => {
|
||||
|
|
|
@ -4,7 +4,7 @@ import {
|
|||
FooterItemRecord,
|
||||
CryptoAddressRecord,
|
||||
SoapboxConfigRecord,
|
||||
} from 'soapbox/normalizers/soapbox/soapbox_config';
|
||||
} from 'soapbox/normalizers/soapbox/soapbox-config';
|
||||
|
||||
type Me = string | null | false | undefined;
|
||||
|
||||
|
|
Loading…
Reference in a new issue