import type { ListsPluginRouter } from '../types' ; import { ConfigType } from '../config' ; import { createEndpointListItemRoute , createEndpointListRoute , createExceptionListItemRoute , createExceptionListRoute , createListIndexRoute , createListItemRoute , createListRoute , deleteEndpointListItemRoute , deleteExceptionListItemRoute , deleteExceptionListRoute , deleteListIndexRoute , deleteListItemRoute , deleteListRoute , exportExceptionsRoute , exportListItemRoute , findEndpointListItemRoute , findExceptionListItemRoute , findExceptionListRoute , findListItemRoute , findListRoute , importExceptionsRoute , importListItemRoute , patchListItemRoute , patchListRoute , readEndpointListItemRoute , readExceptionListItemRoute , readExceptionListRoute , readListIndexRoute , readListItemRoute , readListRoute , readPrivilegesRoute , summaryExceptionListRoute , updateEndpointListItemRoute , updateExceptionListItemRoute , updateExceptionListRoute , updateListItemRoute , updateListRoute , } from '.' ; export const initRoutes = ( router , config ) : void => { createListRoute ( router ) ; readListRoute ( router ) ; updateListRoute ( router ) ; deleteListRoute ( router ) ; patchListRoute ( router ) ; findListRoute ( router ) ; readPrivilegesRoute ( router ) ; createListItemRoute ( router ) ; readListItemRoute ( router ) ; updateListItemRoute ( router ) ; deleteListItemRoute ( router ) ; patchListItemRoute ( router ) ; exportListItemRoute ( router ) ; importListItemRoute ( router , config ) ; findListItemRoute ( router ) ; createListIndexRoute ( router ) ; readListIndexRoute ( router ) ; deleteListIndexRoute ( router ) ; exportExceptionsRoute ( router ) ; importExceptionsRoute ( router , config ) ; createExceptionListRoute ( router ) ; readExceptionListRoute ( router ) ; updateExceptionListRoute ( router ) ; deleteExceptionListRoute ( router ) ; findExceptionListRoute ( router ) ; createExceptionListItemRoute ( router ) ; readExceptionListItemRoute ( router ) ; updateExceptionListItemRoute ( router ) ; deleteExceptionListItemRoute ( router ) ; findExceptionListItemRoute ( router ) ; createEndpointListRoute ( router ) ; createEndpointListItemRoute ( router ) ; readEndpointListItemRoute ( router ) ; updateEndpointListItemRoute ( router ) ; deleteEndpointListItemRoute ( router ) ; findEndpointListItemRoute ( router ) ; summaryExceptionListRoute ( router ) ; } ;