@@ -121,33 +121,33 @@ export class Entry {
121121 cachePolicy : number ;
122122 queryCachePolicy : number ;
123123
124- only ( field_uid : string ) : Entry ;
125- only ( field_uids : string [ ] ) : Entry ;
126- only ( reference_field_uid :string , field_uid : string ) : Entry ;
127- only ( reference_field_uid :string , field_uids : string [ ] ) : Entry ;
128-
129- except ( field_uid : string ) : Entry ;
130- except ( field_uids : string [ ] ) : Entry ;
131- except ( reference_field_uid :string , field_uid : string ) : Entry ;
132- except ( reference_field_uid :string , field_uids : string [ ] ) : Entry ;
133-
134- setCacheProvider ( provider : object ) : Entry ;
135- setCachePolicy ( policy : number ) : Entry ;
136- includeReference ( val : string [ ] ) : Entry ;
137- includeReference ( ...val : string [ ] ) : Entry ;
138- language ( language_code : string ) : Entry ;
139- addQuery ( key : string , value : string ) : Entry ;
140- includeFallback ( ) : Entry ;
124+ only ( field_uid : string ) : this ;
125+ only ( field_uids : string [ ] ) : this ;
126+ only ( reference_field_uid :string , field_uid : string ) : this ;
127+ only ( reference_field_uid :string , field_uids : string [ ] ) : this ;
128+
129+ except ( field_uid : string ) : this ;
130+ except ( field_uids : string [ ] ) : this ;
131+ except ( reference_field_uid :string , field_uid : string ) : this ;
132+ except ( reference_field_uid :string , field_uids : string [ ] ) : this ;
133+
134+ setCacheProvider ( provider : object ) : this ;
135+ setCachePolicy ( policy : number ) : this ;
136+ includeReference ( val : string [ ] ) : this ;
137+ includeReference ( ...val : string [ ] ) : this ;
138+ language ( language_code : string ) : this ;
139+ addQuery ( key : string , value : string ) : this ;
140+ includeFallback ( ) : this ;
141141
142142 /**
143143 * @deprecated since verion 3.3.0
144144 */
145- includeSchema ( ) : Entry ;
146- includeReferenceContentTypeUID ( ) : Entry ;
147- includeContentType ( ) : Entry ;
148- includeOwner ( ) : Entry ;
149- toJSON ( ) : Entry ;
150- addParam ( key : string , value : any ) : Entry ;
145+ includeSchema ( ) : this ;
146+ includeReferenceContentTypeUID ( ) : this ;
147+ includeContentType ( ) : this ;
148+ includeOwner ( ) : this ;
149+ toJSON ( ) : this ;
150+ addParam ( key : string , value : any ) : this ;
151151 fetch ( fetchOptions ?: object ) : Promise < any > ;
152152}
153153
0 commit comments