Related resources for exit value in database using typescript