[backend] Fix re2 imports

This commit is contained in:
Laura Hausmann 2023-11-15 15:17:35 +01:00
parent 20410b0543
commit c60414f347
No known key found for this signature in database
GPG Key ID: D044E84C5BE01605
3 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
import { MigrationInterface, QueryRunner } from "typeorm"; import { MigrationInterface, QueryRunner } from "typeorm";
import RE2 from "@iceshrimp/re2"; import RE2 from "re2";
export class convertHardMutes1644010796173 implements MigrationInterface { export class convertHardMutes1644010796173 implements MigrationInterface {
name = "convertHardMutes1644010796173"; name = "convertHardMutes1644010796173";

View File

@ -1,4 +1,4 @@
import RE2 from "@iceshrimp/re2"; import RE2 from "re2";
import type { Note } from "@/models/entities/note.js"; import type { Note } from "@/models/entities/note.js";
import type { User } from "@/models/entities/user.js"; import type { User } from "@/models/entities/user.js";

View File

@ -1,4 +1,4 @@
import RE2 from "@iceshrimp/re2"; import RE2 from "re2";
import * as mfm from "mfm-js"; import * as mfm from "mfm-js";
import { publishMainStream, publishUserEvent } from "@/services/stream.js"; import { publishMainStream, publishUserEvent } from "@/services/stream.js";
import acceptAllFollowRequests from "@/services/following/requests/accept-all.js"; import acceptAllFollowRequests from "@/services/following/requests/accept-all.js";