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