From 8cf33244b9f5afa39840820868718a9a6463c98a Mon Sep 17 00:00:00 2001 From: Madeline <46743919+MaddyUnderStars@users.noreply.github.com> Date: Mon, 14 Aug 2023 20:30:07 +1000 Subject: dfgjldfg --- src/activitypub/index.ts | 1 + src/activitypub/routes/channel/#channel_id/followers.ts | 2 +- src/activitypub/routes/channel/#channel_id/outbox.ts | 2 +- src/activitypub/util/index.ts | 1 + 4 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 src/activitypub/util/index.ts (limited to 'src') 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"; -- cgit 1.5.1