fix: import .js

This commit is contained in:
naskya 2024-05-24 10:29:04 +09:00
parent 38c5b85220
commit 6f20b69021
No known key found for this signature in database
GPG key ID: 712D413B3A9FED5C
2 changed files with 3 additions and 3 deletions

View file

@ -40,7 +40,7 @@ import type { NoteReaction } from "@/models/entities/note-reaction.js";
import { Cache } from "@/misc/cache.js";
import { isFiltered } from "@/misc/is-filtered.js";
import { unfurl } from "unfurl.js";
import type { ScheduledNote } from "@/models/entities/scheduled-note";
import type { ScheduledNote } from "@/models/entities/scheduled-note.js";
export class NoteConverter {
private static noteContentHtmlCache = new Cache<string | null>(

View file

@ -43,8 +43,8 @@ import {
} from "@/server/api/mastodon/index.js";
import { fetchMeta } from "backend-rs";
import { translate } from "@/misc/translate.js";
import { createScheduledNoteJob } from "@/queue";
import type { ScheduledNote } from "@/models/entities/scheduled-note";
import { createScheduledNoteJob } from "@/queue/index.js";
import type { ScheduledNote } from "@/models/entities/scheduled-note.js";
export class NoteHelpers {
public static postIdempotencyCache = new Cache<{