Positioning, sizing and sorting of the gadgets improved.
This commit is contained in:
@@ -36,6 +36,7 @@ export type TodaySummaryCharts = {
|
||||
appointmentsWeekMine?: TodayChartBucket[];
|
||||
labTaskActivityWeek?: TodayStackedDayBucket[];
|
||||
inProgressTasksByProsthesis?: TodayChartBucket[];
|
||||
efficiencyReport?: TodayChartBucket[];
|
||||
};
|
||||
|
||||
export type TodayWidgetKey =
|
||||
@@ -49,10 +50,23 @@ export type TodayWidgetKey =
|
||||
| 'tasksInProgress'
|
||||
| 'importantTasks'
|
||||
| 'pendingConnections'
|
||||
| 'seats'
|
||||
| 'pendingStaffInvites'
|
||||
| 'providersWithoutWorkingHours';
|
||||
|
||||
export type TodaySubscriptionSnapshot = {
|
||||
hasActivePlan: boolean;
|
||||
planName: string | null;
|
||||
seatsUsed: number;
|
||||
seatsLimit: number | null;
|
||||
seatsUnlimited: boolean;
|
||||
seatsPercent: number;
|
||||
periodStartAt: string;
|
||||
periodEndAt: string | null;
|
||||
periodTotalDays: number;
|
||||
periodElapsedDays: number;
|
||||
periodPercent: number;
|
||||
};
|
||||
|
||||
export type TodaySummaryWidgets = Partial<
|
||||
Record<
|
||||
TodayWidgetKey,
|
||||
@@ -68,6 +82,7 @@ export interface TodaySummaryData {
|
||||
widgets: TodaySummaryWidgets;
|
||||
charts: TodaySummaryCharts;
|
||||
actions: TodaySummaryActions;
|
||||
subscription?: TodaySubscriptionSnapshot;
|
||||
}
|
||||
|
||||
export interface TodaySummaryResponse {
|
||||
|
||||
Reference in New Issue
Block a user