Du kannst nicht mehr als 25 Themen auswählen
Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
|
- import {Photo} from "./photo.js";
-
- export class Instance {
- /**
- * @param {Instance} instance
- */
- constructor(instance) {
- this._id = instance?._id;
- this.instanceId = instance?.instanceId;
- this.title = instance?.title;
- this.subtitle = instance?.subtitle;
- this.coverPhoto = instance?.coverPhoto ? new Photo(instance?.coverPhoto) : null;
- this.homeLayout = instance?.homeLayout;
- this.urls = instance?.urls || [];
- }
-
- /** @type {string} **/
- _id;
- /** @type {string} **/
- instanceId;
- /** @type {string} **/
- title;
- /** @type {string} **/
- subtitle;
- /** @type {Photo} **/
- coverPhoto;
- /** @type {Number} **/
- homeLayout;
- /** @type {string[]} **/
- urls;
- }
|