12 lines
231 B
TypeScript
12 lines
231 B
TypeScript
|
export type CallbackCreateInfo<T> = {
|
||
|
payload: T,
|
||
|
expiresAt: number,
|
||
|
id?: string,
|
||
|
guild?: string
|
||
|
};
|
||
|
|
||
|
export type CallbackInfo<T> = {
|
||
|
created: number,
|
||
|
client: string,
|
||
|
_id: string
|
||
|
} & CallbackCreateInfo<T>
|