Include open property on appeals
This commit is contained in:
14
index.d.ts
vendored
14
index.d.ts
vendored
@ -5,28 +5,18 @@ declare global {
|
||||
ASSETS: Fetcher;
|
||||
D1: D1Database;
|
||||
DATA: KVNamespace;
|
||||
|
||||
[k: string]: string;
|
||||
}
|
||||
|
||||
type RequestContext = EventContext<Env, string, { [k: string]: any }>;
|
||||
|
||||
interface EmotionCriticalToChunks {
|
||||
html: string;
|
||||
styles: { key: string; ids: string[]; css: string }[];
|
||||
}
|
||||
|
||||
interface EmotionServer {
|
||||
constructStyleTagsFromChunks: (
|
||||
criticalData: EmotionCriticalToChunks,
|
||||
) => string;
|
||||
extractCriticalToChunks: (html: string) => EmotionCriticalToChunks;
|
||||
}
|
||||
|
||||
interface AppealCardProps {
|
||||
ban_reason: string;
|
||||
created_at: number;
|
||||
id: string;
|
||||
learned: string;
|
||||
open?: boolean;
|
||||
reason_for_unban: string;
|
||||
user: {
|
||||
id: string;
|
||||
|
Reference in New Issue
Block a user