Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

classes.js 647B

123456789101112131415161718192021222324252627282930
  1. class User {
  2. constructor(id) {
  3. this.user_id = id
  4. this.user_name = ''
  5. this.user_email = ''
  6. this.is_admin = false
  7. this.is_poster = false
  8. this.is_verified = false
  9. }
  10. }
  11. class Profile {
  12. constructor(id, override) {
  13. this.user_id = override?.user_id ? override.user_id : id
  14. this.profile_id = override?.profile_id ? override.profile_id + id : id
  15. }
  16. }
  17. class Response {
  18. constructor(id) {
  19. this.response_id = id
  20. this.profile_id = null
  21. this.response_key_id = null
  22. this.val = null
  23. }
  24. }
  25. module.exports = {
  26. User,
  27. Profile,
  28. Response,
  29. }