21 lines
403 B
TypeScript
21 lines
403 B
TypeScript
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,
|
|
};
|
|
}
|