This commit is contained in:
こぴなたみぽ 2018-02-02 10:31:17 +09:00
parent 718060dc85
commit 2cb0511dba
40 changed files with 40 additions and 80 deletions

View file

@ -2,8 +2,7 @@
* Module dependencies
*/
import $ from 'cafy';
import Post from '../../models/post';
import { pack } from '../../models/post';
import Post, { pack } from '../../models/post';
/**
* Show a context of a post

View file

@ -3,8 +3,7 @@
*/
import $ from 'cafy';
import Vote from '../../../models/poll-vote';
import Post from '../../../models/post';
import { pack } from '../../../models/post';
import Post, { pack } from '../../../models/post';
/**
* Get recommended polls

View file

@ -3,8 +3,7 @@
*/
import $ from 'cafy';
import Post from '../../models/post';
import Reaction from '../../models/post-reaction';
import { pack } from '../../models/post-reaction';
import Reaction, { pack } from '../../models/post-reaction';
/**
* Show reactions of a post

View file

@ -2,8 +2,7 @@
* Module dependencies
*/
import $ from 'cafy';
import Post from '../../models/post';
import { pack } from '../../models/post';
import Post, { pack } from '../../models/post';
/**
* Show a replies of a post

View file

@ -2,8 +2,7 @@
* Module dependencies
*/
import $ from 'cafy';
import Post from '../../models/post';
import { pack } from '../../models/post';
import Post, { pack } from '../../models/post';
/**
* Show a reposts of a post

View file

@ -2,8 +2,7 @@
* Module dependencies
*/
import $ from 'cafy';
import Post from '../../models/post';
import { pack } from '../../models/post';
import Post, { pack } from '../../models/post';
/**
* Show a post

View file

@ -3,8 +3,7 @@
*/
const ms = require('ms');
import $ from 'cafy';
import Post from '../../models/post';
import { pack } from '../../models/post';
import Post, { pack } from '../../models/post';
/**
* Get trend posts