summaryrefslogtreecommitdiff
path: root/src/queue/processors/deliver.ts
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2021-08-19 18:33:41 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2021-08-19 18:33:41 +0900
commitb9cb6d1c10729869cbb57ce50c8174ad7474db75 (patch)
tree0d522e7e6e589aaa6b6ddfcf4e12947c6bed0501 /src/queue/processors/deliver.ts
parentUpdate glossary.md (diff)
downloadsharkey-b9cb6d1c10729869cbb57ce50c8174ad7474db75.tar.gz
sharkey-b9cb6d1c10729869cbb57ce50c8174ad7474db75.tar.bz2
sharkey-b9cb6d1c10729869cbb57ce50c8174ad7474db75.zip
refactor: refactoring imports
将来ESMに移行しやすいように Related: #7658 なんかmochaが起動しなくなってるけど理由不明 すぐ直したい
Diffstat (limited to 'src/queue/processors/deliver.ts')
-rw-r--r--src/queue/processors/deliver.ts22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/queue/processors/deliver.ts b/src/queue/processors/deliver.ts
index f9c53fc8f1..aeb7fc5f92 100644
--- a/src/queue/processors/deliver.ts
+++ b/src/queue/processors/deliver.ts
@@ -1,16 +1,16 @@
import { URL } from 'url';
import * as Bull from 'bull';
-import request from '../../remote/activitypub/request';
-import { registerOrFetchInstanceDoc } from '../../services/register-or-fetch-instance-doc';
-import Logger from '../../services/logger';
-import { Instances } from '../../models';
-import { instanceChart } from '../../services/chart';
-import { fetchInstanceMetadata } from '../../services/fetch-instance-metadata';
-import { fetchMeta } from '@/misc/fetch-meta';
-import { toPuny } from '@/misc/convert-host';
-import { Cache } from '@/misc/cache';
-import { Instance } from '../../models/entities/instance';
-import { DeliverJobData } from '../types';
+import request from '@/remote/activitypub/request.js';
+import { registerOrFetchInstanceDoc } from '@/services/register-or-fetch-instance-doc.js';
+import Logger from '@/services/logger.js';
+import { Instances } from '@/models/index.js';
+import { instanceChart } from '@/services/chart/index.js';
+import { fetchInstanceMetadata } from '@/services/fetch-instance-metadata.js';
+import { fetchMeta } from '@/misc/fetch-meta.js';
+import { toPuny } from '@/misc/convert-host.js';
+import { Cache } from '@/misc/cache.js';
+import { Instance } from '@/models/entities/instance.js';
+import { DeliverJobData } from '../types.js';
const logger = new Logger('deliver');