chore(architecture): enforce app data boundaries
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
"use client";
|
||||
|
||||
import type { PaymentVipStatusResponse } from "@/data/dto/payment";
|
||||
import { getPaymentRepository } from "@/data/repositories/payment_repository";
|
||||
import type { Result } from "@/utils";
|
||||
|
||||
export function getCurrentVipPaymentStatus(): Promise<
|
||||
Result<PaymentVipStatusResponse>
|
||||
> {
|
||||
return getPaymentRepository().getVipStatus();
|
||||
}
|
||||
Reference in New Issue
Block a user