summary refs log tree commit diff
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2023-08-14 20:30:07 +1000
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2023-08-14 20:30:07 +1000
commit8cf33244b9f5afa39840820868718a9a6463c98a (patch)
tree130516a45190141f15b5390e8711a9c44f0d5c69
parenttest (diff)
downloadserver-8cf33244b9f5afa39840820868718a9a6463c98a.tar.xz
dfgjldfg
-rw-r--r--src/activitypub/index.ts1
-rw-r--r--src/activitypub/routes/channel/#channel_id/followers.ts2
-rw-r--r--src/activitypub/routes/channel/#channel_id/outbox.ts2
-rw-r--r--src/activitypub/util/index.ts1
4 files changed, 4 insertions, 2 deletions
diff --git a/src/activitypub/index.ts b/src/activitypub/index.ts

index 7513bd2f..9e2d8a3e 100644 --- a/src/activitypub/index.ts +++ b/src/activitypub/index.ts
@@ -1 +1,2 @@ export * from "./Server"; +export * from "./util"; diff --git a/src/activitypub/routes/channel/#channel_id/followers.ts b/src/activitypub/routes/channel/#channel_id/followers.ts
index 248e2c2c..04b87eac 100644 --- a/src/activitypub/routes/channel/#channel_id/followers.ts +++ b/src/activitypub/routes/channel/#channel_id/followers.ts
@@ -1,6 +1,6 @@ +import { makeOrderedCollection } from "@spacebar/ap"; import { route } from "@spacebar/api"; import { Config, Member } from "@spacebar/util"; -import { makeOrderedCollection } from "activitypub/util/OrderedCollection"; import { Router } from "express"; const router = Router(); diff --git a/src/activitypub/routes/channel/#channel_id/outbox.ts b/src/activitypub/routes/channel/#channel_id/outbox.ts
index f5dbab3a..0e4cd5ea 100644 --- a/src/activitypub/routes/channel/#channel_id/outbox.ts +++ b/src/activitypub/routes/channel/#channel_id/outbox.ts
@@ -1,6 +1,6 @@ +import { makeOrderedCollection } from "@spacebar/ap"; import { route } from "@spacebar/api"; import { Config, Message, Snowflake } from "@spacebar/util"; -import { makeOrderedCollection } from "activitypub/util/OrderedCollection"; import { Router } from "express"; import { FindManyOptions, FindOperator, LessThan, MoreThan } from "typeorm"; diff --git a/src/activitypub/util/index.ts b/src/activitypub/util/index.ts new file mode 100644
index 00000000..7204e7ae --- /dev/null +++ b/src/activitypub/util/index.ts
@@ -0,0 +1 @@ +export * from "./OrderedCollection";