export const DonatorType: Readonly<{ GENERAL: "general"; CORPORATE: "corporate"; }>; export const DonationVerificationStatus: Readonly<{ PENDING: "pending"; REJECTED: "rejected"; APPROVED: "approved"; }>; /** * @typedef {Object} IDonation * @property {string} name * @property {number} amount * @property {string} email * @property {string} proof Path to storage ref * @property {typeof DonatorType[keyof typeof DonatorType]} donatorType * @property {string} [logo=""] Path to storage ref * @property {typeof DonationVerificationStatus[keyof typeof DonationVerificationStatus]} [isVerified=DonationVerificationStatus.PENDING] * @property {string} [code="NTT"] * @property {Date} [created_at] * @property {string} message */ /** * @type {IDonation} */ export class Donation { constructor({ name, amount, email, proof, donatorType, logo, isVerified, code, created_at, message, }: IDonation); amount: number; code: string | undefined; donatorType: "general" | "corporate"; email: string; isVerified: "pending" | "rejected" | "approved" | undefined; logo: string | undefined; name: string; proof: string; created_at: Date | undefined; message: string; } export type IDonation = { name: string; amount: number; email: string; /** * Path to storage ref */ proof: string; donatorType: (typeof DonatorType)[keyof typeof DonatorType]; /** * Path to storage ref */ logo?: string | undefined; isVerified?: "pending" | "rejected" | "approved" | undefined; code?: string | undefined; created_at?: Date | undefined; message: string; }; //# sourceMappingURL=index.d.ts.map