import{B as e}from"./p-105f7627.js";class t extends e{constructor(e,t,s,r,i,c,h=!1){super(e,"reference"),this.title=t,this.titleField=s,this.imageField=r,this.otherCollection=i,this.fields=c,this.isSingle=h}static decode(e){return Object.assign(Object.create(t.prototype),e)}showPreview(){return this.preview=!0,this}getDisplayValue(e){return e}}t.type="reference";export{t as R}