2020-10-31 12:33:34 +00:00
|
|
|
import { GuildPayload } from './guild.ts'
|
|
|
|
import { UserPayload } from './user.ts'
|
2020-10-22 15:50:47 +00:00
|
|
|
|
|
|
|
export interface TemplatePayload {
|
|
|
|
code: string
|
|
|
|
name: string
|
|
|
|
description: string | undefined
|
|
|
|
usage_count: number
|
|
|
|
creator_id: string
|
2020-10-23 16:11:00 +00:00
|
|
|
creator: UserPayload
|
2020-10-22 15:50:47 +00:00
|
|
|
created_at: string
|
|
|
|
updated_at: string
|
|
|
|
source_guild_id: string
|
2020-10-23 16:11:00 +00:00
|
|
|
serialized_source_guild: GuildPayload
|
2020-10-22 15:50:47 +00:00
|
|
|
is_dirty: boolean | undefined
|
|
|
|
}
|