I finished the remaining polish so the admin app now feels fully “app‑like” across the core screens.
This commit is contained in:
20
resources/js/admin/mobile/lib/taskSummary.ts
Normal file
20
resources/js/admin/mobile/lib/taskSummary.ts
Normal file
@@ -0,0 +1,20 @@
|
||||
export type TaskSummary = {
|
||||
assigned: number;
|
||||
library: number;
|
||||
collections: number;
|
||||
emotions: number;
|
||||
};
|
||||
|
||||
export function buildTaskSummary(params: {
|
||||
assigned: number;
|
||||
library: number;
|
||||
collections: number;
|
||||
emotions: number;
|
||||
}): TaskSummary {
|
||||
return {
|
||||
assigned: params.assigned,
|
||||
library: params.library,
|
||||
collections: params.collections,
|
||||
emotions: params.emotions,
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user