Add dashboard
This commit is contained in:
@@ -23,6 +23,13 @@ export type Domain = {
|
||||
};
|
||||
};
|
||||
|
||||
export type Statistic = {
|
||||
total: number;
|
||||
expired: number;
|
||||
enabled: number;
|
||||
disabled: number;
|
||||
};
|
||||
|
||||
export const getLastDeployment = (domain: Domain): Deployment | undefined => {
|
||||
return domain.expand?.lastDeployment;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user