spacebar/src/util/entities/EmbedCache.ts
2022-10-03 23:50:34 +11:00

12 lines
262 B
TypeScript

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;
}