Introduce renderers directory
This commit is contained in:
parent
ad38cd2605
commit
4ef3d3a6d2
14 changed files with 14 additions and 14 deletions
|
@ -1,5 +1,5 @@
|
||||||
import getPostSummary from '../../../../get-post-summary';
|
import getPostSummary from '../../../../renderers/get-post-summary';
|
||||||
import getReactionEmoji from '../../../../get-reaction-emoji';
|
import getReactionEmoji from '../../../../renderers/get-reaction-emoji';
|
||||||
|
|
||||||
type Notification = {
|
type Notification = {
|
||||||
title: string;
|
title: string;
|
||||||
|
|
|
@ -103,7 +103,7 @@
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import Vue from 'vue';
|
import Vue from 'vue';
|
||||||
import getAcct from '../../../../../user/get-acct';
|
import getAcct from '../../../../../user/get-acct';
|
||||||
import getPostSummary from '../../../../../get-post-summary';
|
import getPostSummary from '../../../../../renderers/get-post-summary';
|
||||||
|
|
||||||
export default Vue.extend({
|
export default Vue.extend({
|
||||||
data() {
|
data() {
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import Vue from 'vue';
|
import Vue from 'vue';
|
||||||
import Progress from '../../../common/scripts/loading';
|
import Progress from '../../../common/scripts/loading';
|
||||||
import getPostSummary from '../../../../../get-post-summary';
|
import getPostSummary from '../../../../../renderers/get-post-summary';
|
||||||
|
|
||||||
export default Vue.extend({
|
export default Vue.extend({
|
||||||
props: {
|
props: {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import PostForm from '../views/components/post-form.vue';
|
import PostForm from '../views/components/post-form.vue';
|
||||||
//import RepostForm from '../views/components/repost-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) => {
|
export default (os) => (opts) => {
|
||||||
const o = opts || {};
|
const o = opts || {};
|
||||||
|
|
|
@ -59,7 +59,7 @@
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import Vue from 'vue';
|
import Vue from 'vue';
|
||||||
import getPostSummary from '../../../../../get-post-summary';
|
import getPostSummary from '../../../../../renderers/get-post-summary';
|
||||||
|
|
||||||
export default Vue.extend({
|
export default Vue.extend({
|
||||||
props: ['notification'],
|
props: ['notification'],
|
||||||
|
|
|
@ -78,7 +78,7 @@
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import Vue from 'vue';
|
import Vue from 'vue';
|
||||||
import getPostSummary from '../../../../../get-post-summary';
|
import getPostSummary from '../../../../../renderers/get-post-summary';
|
||||||
import getAcct from '../../../../../user/get-acct';
|
import getAcct from '../../../../../user/get-acct';
|
||||||
|
|
||||||
export default Vue.extend({
|
export default Vue.extend({
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import Vue from 'vue';
|
import Vue from 'vue';
|
||||||
import summary from '../../../../../get-post-summary';
|
import summary from '../../../../../renderers/get-post-summary';
|
||||||
import getAcct from '../../../../../user/get-acct';
|
import getAcct from '../../../../../user/get-acct';
|
||||||
|
|
||||||
export default Vue.extend({
|
export default Vue.extend({
|
||||||
|
|
|
@ -64,7 +64,7 @@ import Vue from 'vue';
|
||||||
import * as XDraggable from 'vuedraggable';
|
import * as XDraggable from 'vuedraggable';
|
||||||
import * as uuid from 'uuid';
|
import * as uuid from 'uuid';
|
||||||
import Progress from '../../../common/scripts/loading';
|
import Progress from '../../../common/scripts/loading';
|
||||||
import getPostSummary from '../../../../../get-post-summary';
|
import getPostSummary from '../../../../../renderers/get-post-summary';
|
||||||
|
|
||||||
export default Vue.extend({
|
export default Vue.extend({
|
||||||
components: {
|
components: {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import { IUser, isLocalUser } from '../models/user';
|
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 User, { IUser, init as initUser, ILocalUser } from '../../../models/user';
|
||||||
|
|
||||||
import getPostSummary from '../../../get-post-summary';
|
import getPostSummary from '../../../renderers/get-post-summary';
|
||||||
import getUserSummary from '../../../user/get-summary';
|
import getUserSummary from '../../../renderers/get-user-summary';
|
||||||
import parseAcct from '../../../user/parse-acct';
|
import parseAcct from '../../../user/parse-acct';
|
||||||
import getNotificationSummary from '../../../get-notification-summary';
|
import getNotificationSummary from '../../../renderers/get-notification-summary';
|
||||||
|
|
||||||
const hmm = [
|
const hmm = [
|
||||||
'?',
|
'?',
|
||||||
|
|
|
@ -9,7 +9,7 @@ import _redis from '../../../../db/redis';
|
||||||
import prominence = require('prominence');
|
import prominence = require('prominence');
|
||||||
import getAcct from '../../../../user/get-acct';
|
import getAcct from '../../../../user/get-acct';
|
||||||
import parseAcct from '../../../../user/parse-acct';
|
import parseAcct from '../../../../user/parse-acct';
|
||||||
import getPostSummary from '../../../../get-post-summary';
|
import getPostSummary from '../../../../renderers/get-post-summary';
|
||||||
|
|
||||||
const redis = prominence(_redis);
|
const redis = prominence(_redis);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue