generated from nhcarrigan/template
feat: migrate from github
This commit is contained in:
@@ -0,0 +1,71 @@
|
||||
export interface AirtableResponse {
|
||||
records: {
|
||||
id: string;
|
||||
createdTime: string;
|
||||
fields: {
|
||||
"Anything Else?"?: string;
|
||||
Reference: {
|
||||
id: string;
|
||||
width?: number;
|
||||
height?: number;
|
||||
url: string;
|
||||
filename: string;
|
||||
size: number;
|
||||
type: string;
|
||||
thumbnails?: {
|
||||
small: {
|
||||
url: string;
|
||||
width: number;
|
||||
height: number;
|
||||
};
|
||||
large: {
|
||||
url: string;
|
||||
width: number;
|
||||
height: number;
|
||||
};
|
||||
full: {
|
||||
url: string;
|
||||
width: number;
|
||||
height: number;
|
||||
};
|
||||
};
|
||||
}[];
|
||||
"Acknowledgement "?: boolean;
|
||||
"Email Address"?: string;
|
||||
"What would you like us to draw?"?: string;
|
||||
Action: string;
|
||||
Name: string;
|
||||
"Contact Method": string;
|
||||
Created: string;
|
||||
"Proof of Donation"?: {
|
||||
id: string;
|
||||
width: number;
|
||||
height: number;
|
||||
url: string;
|
||||
filename: string;
|
||||
size: number;
|
||||
type: string;
|
||||
thumbnails: {
|
||||
small: {
|
||||
url: string;
|
||||
width: number;
|
||||
height: number;
|
||||
};
|
||||
large: {
|
||||
url: string;
|
||||
width: number;
|
||||
height: number;
|
||||
};
|
||||
full: {
|
||||
url: string;
|
||||
width: number;
|
||||
height: number;
|
||||
};
|
||||
};
|
||||
}[];
|
||||
"Donation Amount"?: number;
|
||||
Fund?: string;
|
||||
Handle?: string;
|
||||
};
|
||||
}[];
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
import { ButtonInteraction } from "discord.js";
|
||||
|
||||
import { ExtendedClient } from "./ExtendedClient";
|
||||
|
||||
export type ButtonHandler = (
|
||||
Bot: ExtendedClient,
|
||||
interaction: ButtonInteraction<"cached">
|
||||
) => Promise<void>;
|
||||
@@ -0,0 +1,13 @@
|
||||
import { PrismaClient } from "@prisma/client";
|
||||
import { Client, WebhookClient } from "discord.js";
|
||||
|
||||
export interface ExtendedClient extends Client {
|
||||
db: PrismaClient;
|
||||
debug: WebhookClient;
|
||||
comm: WebhookClient;
|
||||
dist: WebhookClient;
|
||||
news: WebhookClient;
|
||||
ticket: WebhookClient;
|
||||
lastArticle: number;
|
||||
ticketLogs: { [key: string]: string };
|
||||
}
|
||||
Reference in New Issue
Block a user