update apigen
This commit is contained in:
@@ -79,7 +79,6 @@ export type { PagedFolderTreeItem } from './models/PagedFolderTreeItem';
|
||||
export type { PagedHelpPage } from './models/PagedHelpPage';
|
||||
export type { PagedIndex } from './models/PagedIndex';
|
||||
export type { PagedLanguage } from './models/PagedLanguage';
|
||||
export type { PagedPaged } from './models/PagedPaged';
|
||||
export type { PagedRecycleBinItem } from './models/PagedRecycleBinItem';
|
||||
export type { PagedRelation } from './models/PagedRelation';
|
||||
export type { PagedRelationItem } from './models/PagedRelationItem';
|
||||
|
||||
@@ -3,12 +3,13 @@
|
||||
/* eslint-disable */
|
||||
|
||||
export type Index = {
|
||||
name?: string | null;
|
||||
name: string;
|
||||
healthStatus?: string | null;
|
||||
readonly isHealthy?: boolean;
|
||||
canRebuild?: boolean;
|
||||
readonly isHealthy: boolean;
|
||||
canRebuild: boolean;
|
||||
searcherName?: string | null;
|
||||
documentCount?: number;
|
||||
fieldCount?: number;
|
||||
documentCount: number;
|
||||
fieldCount: number;
|
||||
providerProperties?: Record<string, any> | null;
|
||||
};
|
||||
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
|
||||
import type { PagedSearchResult } from './PagedSearchResult';
|
||||
|
||||
export type PagedPaged = {
|
||||
total: number;
|
||||
items: Array<PagedSearchResult>;
|
||||
};
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
import type { Index } from '../models/Index';
|
||||
import type { OkResult } from '../models/OkResult';
|
||||
import type { PagedIndex } from '../models/PagedIndex';
|
||||
import type { PagedPaged } from '../models/PagedPaged';
|
||||
import type { PagedSearcher } from '../models/PagedSearcher';
|
||||
import type { PagedSearchResult } from '../models/PagedSearchResult';
|
||||
|
||||
import type { CancelablePromise } from '../core/CancelablePromise';
|
||||
import { OpenAPI } from '../core/OpenAPI';
|
||||
@@ -98,7 +98,7 @@ export class SearchResource {
|
||||
}
|
||||
|
||||
/**
|
||||
* @returns PagedPaged Success
|
||||
* @returns PagedSearchResult Success
|
||||
* @throws ApiError
|
||||
*/
|
||||
public static getSearchSearcherBySearcherNameSearch({
|
||||
@@ -111,7 +111,7 @@ export class SearchResource {
|
||||
query?: string,
|
||||
skip?: number,
|
||||
take?: number,
|
||||
}): CancelablePromise<PagedPaged> {
|
||||
}): CancelablePromise<PagedSearchResult> {
|
||||
return __request(OpenAPI, {
|
||||
method: 'GET',
|
||||
url: '/umbraco/management/api/v1/search/searcher/{searcherName}/search',
|
||||
|
||||
Reference in New Issue
Block a user