-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinterfaces.ts
28 lines (26 loc) · 788 Bytes
/
interfaces.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*
* SPDX-License-Identifier: Apache-2.0
*
* The OpenSearch Contributors require contributions made to
* this file be licensed under the Apache-2.0 license or a
* compatible open source license.
*
* Modifications Copyright OpenSearch Contributors. See
* GitHub history for details.
*/
import { UIFilter } from '../../../models/interfaces';
// Formik values used when creating/editing the detector definition
export interface DetectorDefinitionFormikValues {
name: string;
description: string;
index: { label: string }[];
resultIndex?: string;
filters: UIFilter[];
filterQuery: string;
timeField: string;
interval: number;
windowDelay: number;
resultIndexMinAge?: number | string;
resultIndexMinSize?: number | string;
resultIndexTtl?:number | string;
}