Files
lettersoup-online/002_source/cms/src/components/dashboard/student/_constants.ts
2025-04-24 12:40:42 +08:00

22 lines
408 B
TypeScript

// RULES:
// default variable value for customer
// empty valur for customer
import { dayjs } from '@/lib/dayjs';
import type { Student } from './type.d';
export const defaultStudent: Student = {
id: '',
name: '',
avatar: undefined,
email: '',
phone: undefined,
quota: 0,
status: 'pending',
createdAt: dayjs().toDate(),
};
export const emptyLpCategory: Student = {
...defaultStudent,
};