@@ -125,12 +125,12 @@ export interface SearchWikiOptions {
125
125
* The text to search for within wiki pages
126
126
*/
127
127
searchText : string ;
128
-
128
+
129
129
/**
130
130
* The ID or name of the project to search in
131
131
*/
132
132
projectId : string ;
133
-
133
+
134
134
/**
135
135
* Optional filters to narrow search results
136
136
*/
@@ -140,22 +140,22 @@ export interface SearchWikiOptions {
140
140
*/
141
141
Project ?: string [ ] ;
142
142
} ;
143
-
143
+
144
144
/**
145
145
* Number of results to return
146
146
* @default 100
147
147
* @minimum 1
148
148
* @maximum 1000
149
149
*/
150
150
top ?: number ;
151
-
151
+
152
152
/**
153
153
* Number of results to skip for pagination
154
154
* @default 0
155
155
* @minimum 0
156
156
*/
157
157
skip ?: number ;
158
-
158
+
159
159
/**
160
160
* Whether to include faceting in results
161
161
* @default true
@@ -171,17 +171,17 @@ export interface WikiSearchRequest {
171
171
* The search text to find in wiki pages
172
172
*/
173
173
searchText : string ;
174
-
174
+
175
175
/**
176
176
* Number of results to skip for pagination
177
177
*/
178
178
$skip ?: number ;
179
-
179
+
180
180
/**
181
181
* Number of results to return
182
182
*/
183
183
$top ?: number ;
184
-
184
+
185
185
/**
186
186
* Filters to be applied. Set to null if no filters are needed.
187
187
*/
@@ -191,13 +191,13 @@ export interface WikiSearchRequest {
191
191
*/
192
192
Project ?: string [ ] ;
193
193
} ;
194
-
194
+
195
195
/**
196
196
* Options for sorting search results
197
197
* If null, results are sorted by relevance
198
198
*/
199
199
$orderBy ?: SortOption [ ] ;
200
-
200
+
201
201
/**
202
202
* Whether to include faceting in the result
203
203
* @default false
@@ -213,7 +213,7 @@ export interface SortOption {
213
213
* Field to sort by
214
214
*/
215
215
field : string ;
216
-
216
+
217
217
/**
218
218
* Sort direction
219
219
*/
@@ -228,7 +228,7 @@ export interface WikiHit {
228
228
* Reference name of the highlighted field
229
229
*/
230
230
fieldReferenceName : string ;
231
-
231
+
232
232
/**
233
233
* Matched/highlighted snippets of the field
234
234
*/
@@ -243,12 +243,12 @@ export interface WikiResult {
243
243
* Name of the result file
244
244
*/
245
245
fileName : string ;
246
-
246
+
247
247
/**
248
248
* Path at which result file is present
249
249
*/
250
250
path : string ;
251
-
251
+
252
252
/**
253
253
* Collection of the result file
254
254
*/
@@ -258,7 +258,7 @@ export interface WikiResult {
258
258
*/
259
259
name : string ;
260
260
} ;
261
-
261
+
262
262
/**
263
263
* Project details of the wiki document
264
264
*/
@@ -267,18 +267,18 @@ export interface WikiResult {
267
267
* ID of the project
268
268
*/
269
269
id : string ;
270
-
270
+
271
271
/**
272
272
* Name of the project
273
273
*/
274
274
name : string ;
275
-
275
+
276
276
/**
277
277
* Visibility of the project
278
278
*/
279
279
visibility ?: string ;
280
280
} ;
281
-
281
+
282
282
/**
283
283
* Wiki information for the result
284
284
*/
@@ -287,28 +287,28 @@ export interface WikiResult {
287
287
* ID of the wiki
288
288
*/
289
289
id : string ;
290
-
290
+
291
291
/**
292
292
* Mapped path for the wiki
293
293
*/
294
294
mappedPath : string ;
295
-
295
+
296
296
/**
297
297
* Name of the wiki
298
298
*/
299
299
name : string ;
300
-
300
+
301
301
/**
302
302
* Version for wiki
303
303
*/
304
304
version : string ;
305
305
} ;
306
-
306
+
307
307
/**
308
308
* Content ID of the result file
309
309
*/
310
310
contentId : string ;
311
-
311
+
312
312
/**
313
313
* Highlighted snippets of fields that match the search request
314
314
* The list is sorted by relevance of the snippets
@@ -324,12 +324,12 @@ export interface WikiSearchResponse {
324
324
* Total number of matched wiki documents
325
325
*/
326
326
count : number ;
327
-
327
+
328
328
/**
329
329
* List of top matched wiki documents
330
330
*/
331
331
results : WikiResult [ ] ;
332
-
332
+
333
333
/**
334
334
* Numeric code indicating additional information:
335
335
* 0 - Ok
@@ -339,7 +339,7 @@ export interface WikiSearchResponse {
339
339
* ... and others as defined in the API
340
340
*/
341
341
infoCode ?: number ;
342
-
342
+
343
343
/**
344
344
* A dictionary storing an array of Filter objects against each facet
345
345
*/
0 commit comments