@@ -19,7 +19,10 @@ export declare function DefaultableMixin<T extends Constructor<InMemoryEntity> =
1919 isValid ( ) : boolean ;
2020 readonly cls : string ;
2121 getClsName ( ) : string ;
22- getAsEntityReference ( byIdOnly ?: boolean ) : import ( "@mat3ra/esse/dist/js/types" ) . EntityReferenceSchema ;
22+ getAsEntityReference ( byIdOnly : true ) : {
23+ _id : string ;
24+ } ;
25+ getAsEntityReference ( byIdOnly : false ) : Required < import ( "@mat3ra/esse/dist/js/types" ) . EntityReferenceSchema > ;
2326 getEntityByName ( entities : InMemoryEntity [ ] , entity : string , name : string ) : InMemoryEntity ;
2427 id : string ;
2528 _id : string ;
@@ -50,7 +53,10 @@ export declare function TaggableMixin<T extends InMemoryEntityConstructor>(super
5053 isValid ( ) : boolean ;
5154 readonly cls : string ;
5255 getClsName ( ) : string ;
53- getAsEntityReference ( byIdOnly ?: boolean ) : import ( "@mat3ra/esse/dist/js/types" ) . EntityReferenceSchema ;
56+ getAsEntityReference ( byIdOnly : true ) : {
57+ _id : string ;
58+ } ;
59+ getAsEntityReference ( byIdOnly : false ) : Required < import ( "@mat3ra/esse/dist/js/types" ) . EntityReferenceSchema > ;
5460 getEntityByName ( entities : InMemoryEntity [ ] , entity : string , name : string ) : InMemoryEntity ;
5561 id : string ;
5662 _id : string ;
@@ -78,7 +84,10 @@ export declare function HasScopeTrackMixin<T extends InMemoryEntityConstructor>(
7884 isValid ( ) : boolean ;
7985 readonly cls : string ;
8086 getClsName ( ) : string ;
81- getAsEntityReference ( byIdOnly ?: boolean ) : import ( "@mat3ra/esse/dist/js/types" ) . EntityReferenceSchema ;
87+ getAsEntityReference ( byIdOnly : true ) : {
88+ _id : string ;
89+ } ;
90+ getAsEntityReference ( byIdOnly : false ) : Required < import ( "@mat3ra/esse/dist/js/types" ) . EntityReferenceSchema > ;
8291 getEntityByName ( entities : InMemoryEntity [ ] , entity : string , name : string ) : InMemoryEntity ;
8392 id : string ;
8493 _id : string ;
@@ -107,7 +116,10 @@ export declare function HasMetadataMixin<T extends InMemoryEntityConstructor>(su
107116 isValid ( ) : boolean ;
108117 readonly cls : string ;
109118 getClsName ( ) : string ;
110- getAsEntityReference ( byIdOnly ?: boolean ) : import ( "@mat3ra/esse/dist/js/types" ) . EntityReferenceSchema ;
119+ getAsEntityReference ( byIdOnly : true ) : {
120+ _id : string ;
121+ } ;
122+ getAsEntityReference ( byIdOnly : false ) : Required < import ( "@mat3ra/esse/dist/js/types" ) . EntityReferenceSchema > ;
111123 getEntityByName ( entities : InMemoryEntity [ ] , entity : string , name : string ) : InMemoryEntity ;
112124 id : string ;
113125 _id : string ;
@@ -136,7 +148,10 @@ export declare function HasDescriptionMixin<T extends InMemoryEntityConstructor>
136148 isValid ( ) : boolean ;
137149 readonly cls : string ;
138150 getClsName ( ) : string ;
139- getAsEntityReference ( byIdOnly ?: boolean ) : import ( "@mat3ra/esse/dist/js/types" ) . EntityReferenceSchema ;
151+ getAsEntityReference ( byIdOnly : true ) : {
152+ _id : string ;
153+ } ;
154+ getAsEntityReference ( byIdOnly : false ) : Required < import ( "@mat3ra/esse/dist/js/types" ) . EntityReferenceSchema > ;
140155 getEntityByName ( entities : InMemoryEntity [ ] , entity : string , name : string ) : InMemoryEntity ;
141156 id : string ;
142157 _id : string ;
@@ -165,7 +180,10 @@ export declare function NamedEntityMixin<T extends InMemoryEntityConstructor>(su
165180 isValid ( ) : boolean ;
166181 readonly cls : string ;
167182 getClsName ( ) : string ;
168- getAsEntityReference ( byIdOnly ?: boolean ) : import ( "@mat3ra/esse/dist/js/types" ) . EntityReferenceSchema ;
183+ getAsEntityReference ( byIdOnly : true ) : {
184+ _id : string ;
185+ } ;
186+ getAsEntityReference ( byIdOnly : false ) : Required < import ( "@mat3ra/esse/dist/js/types" ) . EntityReferenceSchema > ;
169187 getEntityByName ( entities : InMemoryEntity [ ] , entity : string , name : string ) : InMemoryEntity ;
170188 id : string ;
171189 _id : string ;
@@ -194,7 +212,10 @@ export declare function HasConsistencyChecksMixin<T extends InMemoryEntityConstr
194212 isValid ( ) : boolean ;
195213 readonly cls : string ;
196214 getClsName ( ) : string ;
197- getAsEntityReference ( byIdOnly ?: boolean ) : import ( "@mat3ra/esse/dist/js/types" ) . EntityReferenceSchema ;
215+ getAsEntityReference ( byIdOnly : true ) : {
216+ _id : string ;
217+ } ;
218+ getAsEntityReference ( byIdOnly : false ) : Required < import ( "@mat3ra/esse/dist/js/types" ) . EntityReferenceSchema > ;
198219 getEntityByName ( entities : InMemoryEntity [ ] , entity : string , name : string ) : InMemoryEntity ;
199220 id : string ;
200221 _id : string ;
0 commit comments