backend.ts 621 B

12345678910111213141516171819202122
  1. export const NoctBotService = {
  2. getPing: {
  3. request: {} as { ping: string },
  4. response: {} as { text: string },
  5. },
  6. userInServer: {
  7. request: {} as { userId: string },
  8. response: {} as { exists: boolean },
  9. },
  10. userAuthorised: {
  11. request: {} as { userId: string },
  12. response: {} as { authorised: boolean },
  13. },
  14. userVerified: {
  15. request: {} as { userId: string },
  16. response: {} as { verified: boolean },
  17. },
  18. verifyUser: {
  19. request: {} as { userId: string },
  20. response: {} as { ok: boolean },
  21. }
  22. };