Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

31 строка
770B

  1. import {Photo} from "./photo.js";
  2. export class Instance {
  3. /**
  4. * @param {Instance} instance
  5. */
  6. constructor(instance) {
  7. this._id = instance?._id;
  8. this.instanceId = instance?.instanceId;
  9. this.title = instance?.title;
  10. this.subtitle = instance?.subtitle;
  11. this.coverPhoto = instance?.coverPhoto ? new Photo(instance?.coverPhoto) : null;
  12. this.homeLayout = instance?.homeLayout;
  13. this.urls = instance?.urls || [];
  14. }
  15. /** @type {string} **/
  16. _id;
  17. /** @type {string} **/
  18. instanceId;
  19. /** @type {string} **/
  20. title;
  21. /** @type {string} **/
  22. subtitle;
  23. /** @type {Photo} **/
  24. coverPhoto;
  25. /** @type {Number} **/
  26. homeLayout;
  27. /** @type {string[]} **/
  28. urls;
  29. }