Abolish common and misc directories
This commit is contained in:
parent
a0f8b4e940
commit
5b9f3701f5
111 changed files with 133 additions and 133 deletions
|
|
@ -3,8 +3,8 @@
|
|||
*/
|
||||
import $ from 'cafy';
|
||||
import deepEqual = require('deep-equal');
|
||||
import html from '../../../../common/text/html';
|
||||
import parse from '../../../../common/text/parse';
|
||||
import html from '../../../../text/html';
|
||||
import parse from '../../../../text/parse';
|
||||
import Post, { IPost, isValidText, isValidCw } from '../../../../models/post';
|
||||
import User, { ILocalUser } from '../../../../models/user';
|
||||
import Channel, { IChannel } from '../../../../models/channel';
|
||||
|
|
@ -15,10 +15,10 @@ import Watching from '../../../../models/post-watching';
|
|||
import ChannelWatching from '../../../../models/channel-watching';
|
||||
import { pack } from '../../../../models/post';
|
||||
import watch from '../../common/watch-post';
|
||||
import event, { pushSw, publishChannelStream } from '../../../../common/event';
|
||||
import notify from '../../../../common/notify';
|
||||
import getAcct from '../../../../misc/user/get-acct';
|
||||
import parseAcct from '../../../../misc/user/parse-acct';
|
||||
import event, { pushSw, publishChannelStream } from '../../../../event';
|
||||
import notify from '../../../../notify';
|
||||
import getAcct from '../../../../user/get-acct';
|
||||
import parseAcct from '../../../../user/parse-acct';
|
||||
import config from '../../../../conf';
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -6,8 +6,8 @@ import Vote from '../../../../../models/poll-vote';
|
|||
import Post from '../../../../../models/post';
|
||||
import Watching from '../../../../../models/post-watching';
|
||||
import watch from '../../../common/watch-post';
|
||||
import { publishPostStream } from '../../../../../common/event';
|
||||
import notify from '../../../../../common/notify';
|
||||
import { publishPostStream } from '../../../../../event';
|
||||
import notify from '../../../../../notify';
|
||||
|
||||
/**
|
||||
* Vote poll of a post
|
||||
|
|
|
|||
|
|
@ -7,8 +7,8 @@ import Post, { pack as packPost } from '../../../../../models/post';
|
|||
import { pack as packUser } from '../../../../../models/user';
|
||||
import Watching from '../../../../../models/post-watching';
|
||||
import watch from '../../../common/watch-post';
|
||||
import { publishPostStream, pushSw } from '../../../../../common/event';
|
||||
import notify from '../../../../../common/notify';
|
||||
import { publishPostStream, pushSw } from '../../../../../event';
|
||||
import notify from '../../../../../notify';
|
||||
|
||||
/**
|
||||
* React to a post
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue