feat: implement role-based sidebar navigation and admin dashboard layout with statistics components
All checks were successful
Build and Release / release (push) Successful in 30s
All checks were successful
Build and Release / release (push) Successful in 30s
This commit is contained in:
4
api.ts
4
api.ts
@@ -64,5 +64,9 @@ export const API = {
|
||||
UPDATE_STATUS: (id: number | string) => `${API_URL_ROOT}/submissions/${id}/status`,
|
||||
CREATE: `${API_URL_ROOT}/submissions`,
|
||||
DELETE: (id: string) => `${API_URL_ROOT}/submissions/${id}`,
|
||||
},
|
||||
Statistics: {
|
||||
GET_ALL: `${API_URL_ROOT}/statistics`,
|
||||
GET_BY_DATE: (date: string) => `${API_URL_ROOT}/statistics/${date}`,
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user