Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[App Search] Schema: Set up server routes, grand foray into shared/connected Kea logic #99548

Merged
merged 11 commits into from
May 11, 2021
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0; you may not use this file except in compliance with the Elastic License
* 2.0.
*/

import {
Schema,
IndexJob,
SchemaConflicts,
FieldCoercionErrors,
} from '../../../shared/schema/types';

export interface SchemaApiResponse {
schema: Schema;
mostRecentIndexJob: IndexJob;
unconfirmedFields: string[];
JasonStoltz marked this conversation as resolved.
Show resolved Hide resolved
unsearchedUnconfirmedFields: boolean;
}

export interface MetaEngineSchemaApiResponse {
schema: Schema;
fields: SchemaConflicts;
conflictingFields: SchemaConflicts;
}
JasonStoltz marked this conversation as resolved.
Show resolved Hide resolved

export interface ReindexJobApiResponse {
fieldCoercionErrors: FieldCoercionErrors;
}