fix: correct megalodon import
This commit is contained in:
parent
69da6fa295
commit
b30814913f
@ -1,5 +1,5 @@
|
|||||||
import Router from "@koa/router";
|
import Router from "@koa/router";
|
||||||
import megalodon, { MegalodonInterface } from "@cutls/megalodon";
|
import megalodon, { MegalodonInterface } from "@calckey/megalodon";
|
||||||
import { apiAuthMastodon } from "./endpoints/auth.js";
|
import { apiAuthMastodon } from "./endpoints/auth.js";
|
||||||
import { apiAccountMastodon } from "./endpoints/account.js";
|
import { apiAccountMastodon } from "./endpoints/account.js";
|
||||||
import { apiStatusMastodon } from "./endpoints/status.js";
|
import { apiStatusMastodon } from "./endpoints/status.js";
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import megalodon, { MegalodonInterface } from "@cutls/megalodon";
|
import megalodon, { MegalodonInterface } from "@calckey/megalodon";
|
||||||
import Router from "@koa/router";
|
import Router from "@koa/router";
|
||||||
import { koaBody } from "koa-body";
|
import { koaBody } from "koa-body";
|
||||||
import { getClient } from "../ApiMastodonCompatibleService.js";
|
import { getClient } from "../ApiMastodonCompatibleService.js";
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import megalodon, { MegalodonInterface } from "@cutls/megalodon";
|
import megalodon, { MegalodonInterface } from "@calckey/megalodon";
|
||||||
import Router from "@koa/router";
|
import Router from "@koa/router";
|
||||||
import { getClient } from "../ApiMastodonCompatibleService.js";
|
import { getClient } from "../ApiMastodonCompatibleService.js";
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { Entity } from "@cutls/megalodon";
|
import { Entity } from "@calckey/megalodon";
|
||||||
// TODO: add calckey features
|
// TODO: add calckey features
|
||||||
export function getInstance(response: Entity.Instance) {
|
export function getInstance(response: Entity.Instance) {
|
||||||
return {
|
return {
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import megalodon, { MegalodonInterface } from "@cutls/megalodon";
|
import megalodon, { MegalodonInterface } from "@calckey/megalodon";
|
||||||
import Router from "@koa/router";
|
import Router from "@koa/router";
|
||||||
import { koaBody } from "koa-body";
|
import { koaBody } from "koa-body";
|
||||||
import { getClient } from "../ApiMastodonCompatibleService.js";
|
import { getClient } from "../ApiMastodonCompatibleService.js";
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import megalodon, { MegalodonInterface } from "@cutls/megalodon";
|
import megalodon, { MegalodonInterface } from "@calckey/megalodon";
|
||||||
import Router from "@koa/router";
|
import Router from "@koa/router";
|
||||||
import { getClient } from "../ApiMastodonCompatibleService.js";
|
import { getClient } from "../ApiMastodonCompatibleService.js";
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import Router from "@koa/router";
|
import Router from "@koa/router";
|
||||||
import megalodon, { MegalodonInterface } from "@cutls/megalodon";
|
import megalodon, { MegalodonInterface } from "@calckey/megalodon";
|
||||||
import { getClient } from "../ApiMastodonCompatibleService.js";
|
import { getClient } from "../ApiMastodonCompatibleService.js";
|
||||||
import fs from "fs";
|
import fs from "fs";
|
||||||
import { pipeline } from "node:stream";
|
import { pipeline } from "node:stream";
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import Router from "@koa/router";
|
import Router from "@koa/router";
|
||||||
import megalodon, { Entity, MegalodonInterface } from "@cutls/megalodon";
|
import megalodon, { Entity, MegalodonInterface } from "@calckey/megalodon";
|
||||||
import { getClient } from "../ApiMastodonCompatibleService.js";
|
import { getClient } from "../ApiMastodonCompatibleService.js";
|
||||||
import { statusModel } from "./status.js";
|
import { statusModel } from "./status.js";
|
||||||
import Autolinker from "autolinker";
|
import Autolinker from "autolinker";
|
||||||
|
@ -24,7 +24,7 @@ import { readNotification } from "../common/read-notification.js";
|
|||||||
import channels from "./channels/index.js";
|
import channels from "./channels/index.js";
|
||||||
import type Channel from "./channel.js";
|
import type Channel from "./channel.js";
|
||||||
import type { StreamEventEmitter, StreamMessages } from "./types.js";
|
import type { StreamEventEmitter, StreamMessages } from "./types.js";
|
||||||
import { Converter } from "@cutls/megalodon";
|
import { Converter } from "@calckey/megalodon";
|
||||||
import { getClient } from "../mastodon/ApiMastodonCompatibleService.js";
|
import { getClient } from "../mastodon/ApiMastodonCompatibleService.js";
|
||||||
import { toTextWithReaction } from "../mastodon/endpoints/timeline.js";
|
import { toTextWithReaction } from "../mastodon/endpoints/timeline.js";
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@ import { createTemp } from "@/misc/create-temp.js";
|
|||||||
import { publishMainStream } from "@/services/stream.js";
|
import { publishMainStream } from "@/services/stream.js";
|
||||||
import * as Acct from "@/misc/acct.js";
|
import * as Acct from "@/misc/acct.js";
|
||||||
import { envOption } from "@/env.js";
|
import { envOption } from "@/env.js";
|
||||||
import megalodon, { MegalodonInterface } from "@cutls/megalodon";
|
import megalodon, { MegalodonInterface } from "@calckey/megalodon";
|
||||||
import activityPub from "./activitypub.js";
|
import activityPub from "./activitypub.js";
|
||||||
import nodeinfo from "./nodeinfo.js";
|
import nodeinfo from "./nodeinfo.js";
|
||||||
import wellKnown from "./well-known.js";
|
import wellKnown from "./well-known.js";
|
||||||
|
Loading…
Reference in New Issue
Block a user