mirror of
https://github.com/spacebarchat/server.git
synced 2026-04-26 19:35:20 +00:00
Embed cache
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
import { BaseClass } from "./BaseClass";
|
||||
import { Entity, Column } from "typeorm";
|
||||
import { Embed } from "./Message";
|
||||
|
||||
@Entity("embed_cache")
|
||||
export class EmbedCache extends BaseClass {
|
||||
@Column()
|
||||
url: string;
|
||||
|
||||
@Column({ type: "simple-json" })
|
||||
embed: Embed;
|
||||
}
|
||||
@@ -7,6 +7,7 @@ export * from "./Categories";
|
||||
export * from "./Channel";
|
||||
export * from "./Config";
|
||||
export * from "./ConnectedAccount";
|
||||
export * from "./EmbedCache";
|
||||
export * from "./Emoji";
|
||||
export * from "./Guild";
|
||||
export * from "./Invite";
|
||||
@@ -29,4 +30,4 @@ export * from "./VoiceState";
|
||||
export * from "./Webhook";
|
||||
export * from "./ClientRelease";
|
||||
export * from "./BackupCodes";
|
||||
export * from "./Note";
|
||||
export * from "./Note";
|
||||
Reference in New Issue
Block a user