Merge pull request #1365 from akihikodaki/misc

Introduce renderers directory
This commit is contained in:
syuilo 2018-04-02 13:43:02 +09:00 committed by GitHub
commit 8f15bbd97f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 14 additions and 14 deletions

View file

@ -1,5 +1,5 @@
import getPostSummary from '../../../../get-post-summary';
import getReactionEmoji from '../../../../get-reaction-emoji';
import getPostSummary from '../../../../renderers/get-post-summary';
import getReactionEmoji from '../../../../renderers/get-reaction-emoji';
type Notification = {
title: string;

View file

@ -103,7 +103,7 @@
<script lang="ts">
import Vue from 'vue';
import getAcct from '../../../../../user/get-acct';
import getPostSummary from '../../../../../get-post-summary';
import getPostSummary from '../../../../../renderers/get-post-summary';
export default Vue.extend({
data() {

View file

@ -7,7 +7,7 @@
<script lang="ts">
import Vue from 'vue';
import Progress from '../../../common/scripts/loading';
import getPostSummary from '../../../../../get-post-summary';
import getPostSummary from '../../../../../renderers/get-post-summary';
export default Vue.extend({
props: {

View file

@ -1,6 +1,6 @@
import PostForm from '../views/components/post-form.vue';
//import RepostForm from '../views/components/repost-form.vue';
import getPostSummary from '../../../../get-post-summary';
import getPostSummary from '../../../../renderers/get-post-summary';
export default (os) => (opts) => {
const o = opts || {};

View file

@ -59,7 +59,7 @@
<script lang="ts">
import Vue from 'vue';
import getPostSummary from '../../../../../get-post-summary';
import getPostSummary from '../../../../../renderers/get-post-summary';
export default Vue.extend({
props: ['notification'],

View file

@ -78,7 +78,7 @@
<script lang="ts">
import Vue from 'vue';
import getPostSummary from '../../../../../get-post-summary';
import getPostSummary from '../../../../../renderers/get-post-summary';
import getAcct from '../../../../../user/get-acct';
export default Vue.extend({

View file

@ -14,7 +14,7 @@
<script lang="ts">
import Vue from 'vue';
import summary from '../../../../../get-post-summary';
import summary from '../../../../../renderers/get-post-summary';
import getAcct from '../../../../../user/get-acct';
export default Vue.extend({

View file

@ -64,7 +64,7 @@ import Vue from 'vue';
import * as XDraggable from 'vuedraggable';
import * as uuid from 'uuid';
import Progress from '../../../common/scripts/loading';
import getPostSummary from '../../../../../get-post-summary';
import getPostSummary from '../../../../../renderers/get-post-summary';
export default Vue.extend({
components: {

View file

@ -1,5 +1,5 @@
import { IUser, isLocalUser } from '../models/user';
import getAcct from './get-acct';
import getAcct from '../user/get-acct';
/**
*

View file

@ -3,10 +3,10 @@ import * as bcrypt from 'bcryptjs';
import User, { IUser, init as initUser, ILocalUser } from '../../../models/user';
import getPostSummary from '../../../get-post-summary';
import getUserSummary from '../../../user/get-summary';
import getPostSummary from '../../../renderers/get-post-summary';
import getUserSummary from '../../../renderers/get-user-summary';
import parseAcct from '../../../user/parse-acct';
import getNotificationSummary from '../../../get-notification-summary';
import getNotificationSummary from '../../../renderers/get-notification-summary';
const hmm = [
'',

View file

@ -9,7 +9,7 @@ import _redis from '../../../../db/redis';
import prominence = require('prominence');
import getAcct from '../../../../user/get-acct';
import parseAcct from '../../../../user/parse-acct';
import getPostSummary from '../../../../get-post-summary';
import getPostSummary from '../../../../renderers/get-post-summary';
const redis = prominence(_redis);