1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-12-12 13:48:28 +09:00

Introduce renderers directory

This commit is contained in:
Akihiko Odaki 2018-04-02 13:41:25 +09:00
parent ad38cd2605
commit 4ef3d3a6d2
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);