mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-16 15:31:19 +00:00
feat(infisical-pg): changed frontend api types _id to normal id
This commit is contained in:
@@ -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[];
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user