31 lines
618 B
TypeScript
31 lines
618 B
TypeScript
// RULES:
|
|
// default variable value for customer
|
|
// empty valur for customer
|
|
|
|
import { defaultBillingAddress } from '@/db/billingAddress/constant';
|
|
|
|
import { dayjs } from '@/lib/dayjs';
|
|
|
|
import type { Teacher } from './type.d';
|
|
|
|
export const defaultTeacher: Teacher = {
|
|
id: '',
|
|
name: '',
|
|
avatar: undefined,
|
|
email: '',
|
|
phone: undefined,
|
|
quota: 0,
|
|
status: 'pending',
|
|
createdAt: dayjs().toDate(),
|
|
billingAddress: defaultBillingAddress,
|
|
state: 'pending',
|
|
// timezone: '',
|
|
// language: '',
|
|
// currency: '',
|
|
collectionId: '',
|
|
};
|
|
|
|
export const emptyLpCategory: Teacher = {
|
|
...defaultTeacher,
|
|
};
|