This change adjusts the import statement to correctly import the ICryptoInUserWalletInfo. Previously, the incorrect syntax was causing import errors and this revision resolves that issue.
29 lines
543 B
TypeScript
29 lines
543 B
TypeScript
import {
|
|
type ICryptoInUserWalletInfo,
|
|
type ICryptoInWalletInfo,
|
|
IUserWalletCryptos,
|
|
} from "@/interfaces/crypto.interface";
|
|
|
|
export interface IUserData {
|
|
id: string;
|
|
firstName: string;
|
|
lastName: string;
|
|
pseudo: string;
|
|
email: string;
|
|
roleId: string;
|
|
isActive: boolean;
|
|
city: string;
|
|
dollarAvailables: number;
|
|
age: number;
|
|
created_at: string;
|
|
updated_at: string;
|
|
//TODO get on register
|
|
wallet: IUserWallet;
|
|
}
|
|
|
|
export interface IUserWallet {
|
|
uat: number;
|
|
update_interval: number;
|
|
owned_cryptos: ICryptoInUserWalletInfo[];
|
|
}
|