Initial commit with Email Import Wizard and Task Processor updates
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
import api from './client';
|
||||
|
||||
export interface StatsCounts {
|
||||
inbox: number;
|
||||
posteingang: number;
|
||||
manuell: number;
|
||||
mailpostfach: number;
|
||||
}
|
||||
|
||||
export const statsApi = {
|
||||
getCounts: () =>
|
||||
api.get<StatsCounts>('/api/stats/counts').then((r) => r.data),
|
||||
};
|
||||
Reference in New Issue
Block a user