diff options
author | Chocobozzz <me@florianbigard.com> | 2018-05-25 11:32:36 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-05-25 11:33:04 +0200 |
commit | e251f170b00b2014ac4e823113c6ff40e3fb1471 (patch) | |
tree | 50b83c1d41dd80acd0fa745d6d3780f4204b04fa /server/controllers | |
parent | 16f29007dc6ad9c539195d7a7c1cde45d626ce91 (diff) | |
download | PeerTube-e251f170b00b2014ac4e823113c6ff40e3fb1471.tar.gz PeerTube-e251f170b00b2014ac4e823113c6ff40e3fb1471.tar.zst PeerTube-e251f170b00b2014ac4e823113c6ff40e3fb1471.zip |
Split files in activitypub server
Diffstat (limited to 'server/controllers')
-rw-r--r-- | server/controllers/activitypub/client.ts | 2 | ||||
-rw-r--r-- | server/controllers/activitypub/outbox.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/server/controllers/activitypub/client.ts b/server/controllers/activitypub/client.ts index 5199b3f81..767fde5d9 100644 --- a/server/controllers/activitypub/client.ts +++ b/server/controllers/activitypub/client.ts | |||
@@ -5,7 +5,7 @@ import { activityPubCollectionPagination, activityPubContextify } from '../../he | |||
5 | import { pageToStartAndCount } from '../../helpers/core-utils' | 5 | import { pageToStartAndCount } from '../../helpers/core-utils' |
6 | import { ACTIVITY_PUB, CONFIG, ROUTE_CACHE_LIFETIME } from '../../initializers' | 6 | import { ACTIVITY_PUB, CONFIG, ROUTE_CACHE_LIFETIME } from '../../initializers' |
7 | import { buildVideoAnnounce } from '../../lib/activitypub/send' | 7 | import { buildVideoAnnounce } from '../../lib/activitypub/send' |
8 | import { audiencify, getAudience } from '../../lib/activitypub/send/misc' | 8 | import { audiencify, getAudience } from '../../lib/activitypub/audience' |
9 | import { createActivityData } from '../../lib/activitypub/send/send-create' | 9 | import { createActivityData } from '../../lib/activitypub/send/send-create' |
10 | import { asyncMiddleware, executeIfActivityPub, localAccountValidator } from '../../middlewares' | 10 | import { asyncMiddleware, executeIfActivityPub, localAccountValidator } from '../../middlewares' |
11 | import { videoChannelsGetValidator, videosGetValidator, videosShareValidator } from '../../middlewares/validators' | 11 | import { videoChannelsGetValidator, videosGetValidator, videosShareValidator } from '../../middlewares/validators' |
diff --git a/server/controllers/activitypub/outbox.ts b/server/controllers/activitypub/outbox.ts index 0077e1d0b..c9e087a13 100644 --- a/server/controllers/activitypub/outbox.ts +++ b/server/controllers/activitypub/outbox.ts | |||
@@ -6,7 +6,7 @@ import { pageToStartAndCount } from '../../helpers/core-utils' | |||
6 | import { logger } from '../../helpers/logger' | 6 | import { logger } from '../../helpers/logger' |
7 | import { ACTIVITY_PUB } from '../../initializers/constants' | 7 | import { ACTIVITY_PUB } from '../../initializers/constants' |
8 | import { announceActivityData, createActivityData } from '../../lib/activitypub/send' | 8 | import { announceActivityData, createActivityData } from '../../lib/activitypub/send' |
9 | import { buildAudience } from '../../lib/activitypub/send/misc' | 9 | import { buildAudience } from '../../lib/activitypub/audience' |
10 | import { asyncMiddleware, localAccountValidator } from '../../middlewares' | 10 | import { asyncMiddleware, localAccountValidator } from '../../middlewares' |
11 | import { AccountModel } from '../../models/account/account' | 11 | import { AccountModel } from '../../models/account/account' |
12 | import { ActorModel } from '../../models/activitypub/actor' | 12 | import { ActorModel } from '../../models/activitypub/actor' |