feat: show current plan name in usage information

This commit is contained in:
Ali BARIN
2023-03-07 20:48:57 +00:00
parent 7676bc5836
commit 4567ca8fce
5 changed files with 13 additions and 0 deletions

View File

@@ -17,6 +17,7 @@ const getUsageData = async (
.throwIfNotFound();
const computedUsageData = {
name: paymentPlan.name,
allowedTaskCount: paymentPlan.taskCount,
consumedTaskCount: usageData.consumedTaskCount,
remainingTaskCount: paymentPlan.taskCount - usageData.consumedTaskCount,

View File

@@ -470,6 +470,7 @@ type GetAutomatischInfo {
}
type GetUsageData {
name: String
allowedTaskCount: Int
consumedTaskCount: Int
remainingTaskCount: Int