mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-30 10:53:11 +02:00
Merge pull request #1365 from akihikodaki/misc
Introduce renderers directory
This commit is contained in:
commit
8f15bbd97f
14 changed files with 14 additions and 14 deletions
|
@ -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;
|
||||
|
|
|
@ -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() {
|
||||
|
|
|
@ -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: {
|
||||
|
|
|
@ -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 || {};
|
||||
|
|
|
@ -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'],
|
||||
|
|
|
@ -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({
|
||||
|
|
|
@ -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({
|
||||
|
|
|
@ -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: {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { IUser, isLocalUser } from '../models/user';
|
||||
import getAcct from './get-acct';
|
||||
import getAcct from '../user/get-acct';
|
||||
|
||||
/**
|
||||
* ユーザーを表す文字列を取得します。
|
|
@ -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 = [
|
||||
'?',
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue