mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-21 17:12:43 +00:00
Resolve "Retype mapping generation using @elastic/elasticsearch"
This commit is contained in:
committed by
Rainer Killinger
parent
fc850fe7ac
commit
d90416e201
@@ -12,8 +12,7 @@
|
||||
* You should have received a copy of the GNU General Public License along with
|
||||
* this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
import {ElasticsearchDynamicTemplate, ElasticsearchValue} from '../../src/types/mapping';
|
||||
import {MappingDynamicTemplate, MappingProperty} from '@elastic/elasticsearch/lib/api/types';
|
||||
|
||||
export interface MapAggTestOptions {
|
||||
testName: string;
|
||||
@@ -29,7 +28,7 @@ export interface MapAggTestOptions {
|
||||
|
||||
export interface MinimalMappingDescription {
|
||||
maps?: {
|
||||
[name: string]: ElasticsearchValue;
|
||||
[name: string]: MappingProperty;
|
||||
};
|
||||
dynamicTemplates?: ElasticsearchDynamicTemplate[];
|
||||
dynamicTemplates?: Record<string, MappingDynamicTemplate>[];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user