DevClad-Inc / devclad

Documentation comments not found for functions and classes JS-D1001
Documentation
Minor
a year ago2 years old
Documentation comment not found for arrow function handleBulkMail
 62		}
 63	};
 64
 65	const handleBulkMail = async (type: EmailType) => { 66		if (data !== null) {
 67			const users = data?.data.users as ManagedUser[];
 68			if (type === 'reminder') {
Documentation comment not found for arrow function handleMail
 31	const reminderURL = '/api/email/reminder/';
 32	const approvedURL = '/api/email/approved/';
 33
 34	const handleMail = async ( 35		firstName: string,
 36		email: string,
 37		type: EmailType,
Documentation comment not found for function declaration Internal
 10import type { EmailType } from '../stream/types';
 11import { PrimaryButton } from '@/lib/Buttons.lib';
 12
 13export default function Internal() { 14	const { admin } = useAdmin();
 15	const { token } = useAuth();
 16	const [queryParams] = useSearchParams();
Documentation comment not found for function declaration handler
 72	return false;
 73};
 74
 75export default async function handler(req: VercelRequest, res: VercelResponse) { 76	const { headers } = req;
 77	const cookieToken = headers.cookie?.split('; ').find((c) => c.startsWith('token='));
 78	const tokenValue = cookieToken?.split('=')[1];
Documentation comment not found for arrow function verifyToken
 53		});
 54};
 55
 56const verifyToken = async (token: string): Promise<boolean> => { 57	const apiURL = process.env.VITE_API_URL;
 58	const apiHeaders = {
 59		'Content-Type': 'application/json',