summary refs log tree commit diff
path: root/src/util/entities/Message.ts
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2026-03-20 11:00:41 +0100
committerRory& <root@rory.gay>2026-03-20 11:00:41 +0100
commit5c018daba43a50c8c58140df20b1511b15ecff31 (patch)
tree86212ec6f136f79724ea0686cdda1f4edfc8a93e /src/util/entities/Message.ts
parentFix missed import from "." (diff)
downloadserver-ts-entity-fix-attempt.tar.xz
Use import type in entities where possible entity-fix-attempt
Diffstat (limited to 'src/util/entities/Message.ts')
-rw-r--r--src/util/entities/Message.ts22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/util/entities/Message.ts b/src/util/entities/Message.ts

index 66a3dfe50..5e3427773 100644 --- a/src/util/entities/Message.ts +++ b/src/util/entities/Message.ts
@@ -16,22 +16,22 @@ along with this program. If not, see <https://www.gnu.org/licenses/>. */ -import { User } from "./User"; -import { Member } from "./Member"; -import { Role } from "./Role"; -import { Channel } from "./Channel"; -import { InteractionType } from "../interfaces"; -import { Application } from "./Application"; import { Column, CreateDateColumn, Entity, Index, JoinColumn, JoinTable, ManyToMany, ManyToOne, OneToMany, RelationId, FindOneOptions, Raw, Not, BaseEntity, In } from "typeorm"; -import { BaseClass } from "./BaseClass"; -import { Guild } from "./Guild"; -import { Webhook } from "./Webhook"; -import { Sticker } from "./Sticker"; -import { Attachment } from "./Attachment"; import { NewUrlUserSignatureData } from "../Signing"; import { ActionRowComponent, ApplicationCommandType, Embed, MessageSnapshot, MessageType, PartialMessage, Poll, Reaction } from "@spacebar/schemas"; import { MessageFlags } from "@spacebar/util"; import { JsonRemoveEmpty } from "../util/Decorators"; +import { InteractionType } from "../interfaces"; +import { BaseClass } from "./BaseClass"; +import { User } from "./User"; +import { Member } from "./Member"; +import type { Role } from "./Role"; +import { Channel } from "./Channel"; +import type { Application } from "./Application"; +import { Guild } from "./Guild"; +import type { Webhook } from "./Webhook"; +import type { Sticker } from "./Sticker"; +import { Attachment } from "./Attachment"; @Entity({ name: "messages",