feat(infisical-pg): changed frontend api types _id to normal id

This commit is contained in:
Akhil Mohan
2024-01-27 12:38:22 +05:30
parent f3b37de3f3
commit aaba4a0895
161 changed files with 5358 additions and 4510 deletions
+13 -13
View File
@@ -13,7 +13,7 @@ export type RenameOrgDTO = {
export type BillingDetails = {
name: string;
email: string;
}
};
export type PlanBillingInfo = {
amount: number;
@@ -22,7 +22,7 @@ export type PlanBillingInfo = {
interval: "month" | "year";
intervalCount: number;
quantity: number;
}
};
export type Invoice = {
id: string;
@@ -31,23 +31,23 @@ export type Invoice = {
number: string;
paid: boolean;
total: number;
}
};
export type PmtMethod = {
id: string;
brand: string;
exp_month: number;
exp_month: number;
exp_year: number;
funding: string;
last4: string;
}
};
export type TaxID = {
id: string;
country: string;
type: string;
value: string;
}
};
export type License = {
id: string;
@@ -58,22 +58,22 @@ export type License = {
expiresAt: string;
createdAt: string;
updatedAt: string;
}
};
export type OrgPlanTableHead = {
name: string;
}
};
export type OrgPlanTableRow = {
name: string;
allowed: number | boolean | null;
used: string;
}
};
export type OrgPlanTable = {
head: OrgPlanTableHead[];
rows: OrgPlanTableRow[];
}
};
export type ProductsTableHead = {
name: string;
@@ -82,7 +82,7 @@ export type ProductsTableHead = {
productId: string;
slug: string;
tier: number;
}
};
export type ProductsTableRow = {
name: string;
@@ -90,9 +90,9 @@ export type ProductsTableRow = {
team: number | boolean | null;
pro: number | boolean | null;
enterprise: number | boolean | null;
}
};
export type ProductsTable = {
head: ProductsTableHead[];
rows: ProductsTableRow[];
}
};