mirror of
https://github.com/jarvis2f/vortex.git
synced 2024-11-16 03:32:41 +08:00
15 lines
381 B
TypeScript
15 lines
381 B
TypeScript
|
import { Wallet } from "@prisma/client";
|
||
|
import { Decimal } from "@prisma/client/runtime/library";
|
||
|
import { userStub } from "./user.stub";
|
||
|
|
||
|
export const walletStub = {
|
||
|
wallet: Object.freeze<Wallet>({
|
||
|
id: "payment-id",
|
||
|
balance: new Decimal(0),
|
||
|
incomeBalance: new Decimal(0),
|
||
|
createdAt: new Date(),
|
||
|
updatedAt: new Date(),
|
||
|
userId: userStub.user.id,
|
||
|
}),
|
||
|
};
|