Removed leftover Channels code
This commit is contained in:
parent
283275c80d
commit
f9ab6d7c65
|
@ -1,8 +1,8 @@
|
||||||
import * as Post from "@/misc/post.js";
|
import * as Post from "@/misc/post.js";
|
||||||
import create from "@/services/note/create.js";
|
import create from "@/services/note/create.js";
|
||||||
import { Users } from "@/models/index.js";
|
import {Users} from "@/models/index.js";
|
||||||
import type { DbUserImportMastoPostJobData } from "@/queue/types.js";
|
import type {DbUserImportMastoPostJobData} from "@/queue/types.js";
|
||||||
import { queueLogger } from "../../logger.js";
|
import {queueLogger} from "../../logger.js";
|
||||||
import type Bull from "bull";
|
import type Bull from "bull";
|
||||||
|
|
||||||
const logger = queueLogger.createSubLogger("import-calckey-post");
|
const logger = queueLogger.createSubLogger("import-calckey-post");
|
||||||
|
@ -41,7 +41,6 @@ export async function importCkPost(
|
||||||
localOnly,
|
localOnly,
|
||||||
visibility: "hidden",
|
visibility: "hidden",
|
||||||
visibleUsers: [],
|
visibleUsers: [],
|
||||||
channel: null,
|
|
||||||
apMentions: new Array(0),
|
apMentions: new Array(0),
|
||||||
apHashtags: undefined,
|
apHashtags: undefined,
|
||||||
apEmojis: undefined,
|
apEmojis: undefined,
|
||||||
|
|
|
@ -148,10 +148,6 @@ type NoteStreamEventTypes = {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
export interface ChannelStreamTypes {
|
|
||||||
typing: User["id"];
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface UserListStreamTypes {
|
export interface UserListStreamTypes {
|
||||||
userAdded: Packed<"User">;
|
userAdded: Packed<"User">;
|
||||||
userRemoved: Packed<"User">;
|
userRemoved: Packed<"User">;
|
||||||
|
|
Loading…
Reference in New Issue