import type { UserType } from '@/types/user'; import type { PromotionRecordSchema } from '@/types/mongoSchema'; export interface ResLogin { user: UserType; token: string; } export interface PromotionRecordType { _id: PromotionRecordSchema['_id']; type: PromotionRecordSchema['type']; createTime: PromotionRecordSchema['createTime']; amount: PromotionRecordSchema['amount']; }