fix: mochaが動かないため拡張子なしに戻した
This commit is contained in:
parent
e9f34a0f09
commit
42cc93dd0f
657 changed files with 3085 additions and 3085 deletions
|
|
@ -1,19 +1,19 @@
|
|||
import { publishNoteStream } from '@/services/stream.js';
|
||||
import { renderLike } from '@/remote/activitypub/renderer/like.js';
|
||||
import DeliverManager from '@/remote/activitypub/deliver-manager.js';
|
||||
import { renderActivity } from '@/remote/activitypub/renderer/index.js';
|
||||
import { toDbReaction, decodeReaction } from '@/misc/reaction-lib.js';
|
||||
import { User, IRemoteUser } from '@/models/entities/user.js';
|
||||
import { Note } from '@/models/entities/note.js';
|
||||
import { NoteReactions, Users, NoteWatchings, Notes, Emojis, Blockings } from '@/models/index.js';
|
||||
import { publishNoteStream } from '@/services/stream';
|
||||
import { renderLike } from '@/remote/activitypub/renderer/like';
|
||||
import DeliverManager from '@/remote/activitypub/deliver-manager';
|
||||
import { renderActivity } from '@/remote/activitypub/renderer/index';
|
||||
import { toDbReaction, decodeReaction } from '@/misc/reaction-lib';
|
||||
import { User, IRemoteUser } from '@/models/entities/user';
|
||||
import { Note } from '@/models/entities/note';
|
||||
import { NoteReactions, Users, NoteWatchings, Notes, Emojis, Blockings } from '@/models/index';
|
||||
import { Not } from 'typeorm';
|
||||
import { perUserReactionsChart } from '@/services/chart/index.js';
|
||||
import { genId } from '@/misc/gen-id.js';
|
||||
import { createNotification } from '../../create-notification.js';
|
||||
import deleteReaction from './delete.js';
|
||||
import { isDuplicateKeyValueError } from '@/misc/is-duplicate-key-value-error.js';
|
||||
import { NoteReaction } from '@/models/entities/note-reaction.js';
|
||||
import { IdentifiableError } from '@/misc/identifiable-error.js';
|
||||
import { perUserReactionsChart } from '@/services/chart/index';
|
||||
import { genId } from '@/misc/gen-id';
|
||||
import { createNotification } from '../../create-notification';
|
||||
import deleteReaction from './delete';
|
||||
import { isDuplicateKeyValueError } from '@/misc/is-duplicate-key-value-error';
|
||||
import { NoteReaction } from '@/models/entities/note-reaction';
|
||||
import { IdentifiableError } from '@/misc/identifiable-error';
|
||||
|
||||
export default async (user: { id: User['id']; host: User['host']; }, note: Note, reaction?: string) => {
|
||||
// Check blocking
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue