Skip to content

Commit

Permalink
Align deprecation messages
Browse files Browse the repository at this point in the history
  • Loading branch information
Liza K committed Jul 29, 2021
1 parent 16537aa commit 454efff
Show file tree
Hide file tree
Showing 49 changed files with 208 additions and 142 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

> Warning: This API is now obsolete.
>
> - Use serialize() instead.
> Use serialize() instead. 8.0
>
<b>Signature:</b>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

> Warning: This API is now obsolete.
>
> Please import from the package kbn/es-query directly. This import will be removed in v8.0.0.
> Import from the "<!-- -->@<!-- -->kbn/es-query" package directly instead. 8.0
>
<b>Signature:</b>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

> Warning: This API is now obsolete.
>
> Please import helpers from the package kbn/es-query directly. This import will be removed in v8.0.0.
> Import helpers from the "<!-- -->@<!-- -->kbn/es-query" package directly instead. 8.0
>
Filter helpers namespace:
Expand All @@ -28,7 +28,7 @@ esFilters: {
isPhraseFilter: (filter: any) => filter is import("@kbn/es-query").PhraseFilter;
isExistsFilter: (filter: any) => filter is import("@kbn/es-query").ExistsFilter;
isPhrasesFilter: (filter: any) => filter is import("@kbn/es-query").PhrasesFilter;
isRangeFilter: (filter: any) => filter is import("@kbn/es-query").RangeFilter;
isRangeFilter: (filter?: import("@kbn/es-query").ExistsFilter | import("@kbn/es-query").GeoPolygonFilter | import("@kbn/es-query").PhrasesFilter | import("@kbn/es-query").PhraseFilter | import("@kbn/es-query").MatchAllFilter | import("@kbn/es-query").MissingFilter | import("@kbn/es-query").RangeFilter | import("@kbn/es-query").GeoBoundingBoxFilter | undefined) => filter is import("@kbn/es-query").RangeFilter;
isMatchAllFilter: (filter: any) => filter is import("@kbn/es-query").MatchAllFilter;
isMissingFilter: (filter: any) => filter is import("@kbn/es-query").MissingFilter;
isQueryStringFilter: (filter: any) => filter is import("@kbn/es-query/target_types/filters/build_filters").QueryStringFilter;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

> Warning: This API is now obsolete.
>
> Please import helpers from the package kbn/es-query directly. This import will be removed in v8.0.0.
> Import helpers from the "<!-- -->@<!-- -->kbn/es-query" package directly instead. 8.0
>
<b>Signature:</b>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

> Warning: This API is now obsolete.
>
> Please import helpers from the package kbn/es-query directly. This import will be removed in v8.0.0.
> Import helpers from the "<!-- -->@<!-- -->kbn/es-query" package directly instead. 8.0
>
<b>Signature:</b>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

> Warning: This API is now obsolete.
>
> Please import from the package kbn/es-query directly. This import will be removed in v8.0.0.
> Import from the "<!-- -->@<!-- -->kbn/es-query" package directly instead. 8.0
>
<b>Signature:</b>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

> Warning: This API is now obsolete.
>
> Please import from the package kbn/es-query directly. This import will be removed in v8.0.0.
> Import from the "<!-- -->@<!-- -->kbn/es-query" package directly instead. 8.0
>
<b>Signature:</b>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

> Warning: This API is now obsolete.
>
> Please import from the package kbn/es-query directly. This import will be removed in v8.0.0.
> Import from the "<!-- -->@<!-- -->kbn/es-query" package directly instead. 8.0
>
<b>Signature:</b>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

> Warning: This API is now obsolete.
>
> Please import from the package kbn/es-query directly. This import will be removed in v8.0.0.
> Import from the "<!-- -->@<!-- -->kbn/es-query" package directly instead. 8.0
>
<b>Signature:</b>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

> Warning: This API is now obsolete.
>
> Use IndexPatternField or FieldSpec instead
> Use `IndexPatternField` or `FieldSpec` instead 8.0
>
<b>Signature:</b>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

> Warning: This API is now obsolete.
>
> use runtime field instead
> use runtime field instead 8.0
>
Add scripted field to field list
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@
```typescript
getAggregationRestrictions(): Record<string, Record<string, {
agg?: string | undefined;
interval?: number | undefined; /**
* Get last saved saved object fields
*/
interval?: number | undefined;
fixed_interval?: string | undefined;
calendar_interval?: string | undefined;
delay?: string | undefined;
Expand All @@ -22,9 +20,7 @@ getAggregationRestrictions(): Record<string, Record<string, {

`Record<string, Record<string, {
agg?: string | undefined;
interval?: number | undefined; /**
* Get last saved saved object fields
*/
interval?: number | undefined;
fixed_interval?: string | undefined;
calendar_interval?: string | undefined;
delay?: string | undefined;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

> Warning: This API is now obsolete.
>
> use runtime field instead
> use runtime field instead 8.0
>
<b>Signature:</b>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

> Warning: This API is now obsolete.
>
> use runtime field instead
> use runtime field instead 8.0
>
<b>Signature:</b>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

> Warning: This API is now obsolete.
>
> Deprecated. used by time range index patterns
> Used by time range index patterns 8.0
>
<b>Signature:</b>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

> Warning: This API is now obsolete.
>
> use runtime field instead
> use runtime field instead 8.0
>
Remove scripted field from field list
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

> Warning: This API is now obsolete.
>
> Please import from the package kbn/es-query directly. This import will be removed in v8.0.0.
> Import from the "<!-- -->@<!-- -->kbn/es-query" package directly instead. 8.0
>
<b>Signature:</b>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

> Warning: This API is now obsolete.
>
> Please import from the package kbn/es-query directly. This import will be removed in v8.0.0.
> Import from the "<!-- -->@<!-- -->kbn/es-query" package directly instead. 8.0
>
<b>Signature:</b>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

> Warning: This API is now obsolete.
>
> Please import from the package kbn/es-query directly. This import will be removed in v8.0.0.
> Import from the "<!-- -->@<!-- -->kbn/es-query" package directly instead. 8.0
>
<b>Signature:</b>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

> Warning: This API is now obsolete.
>
> Please import from the package kbn/es-query directly. This import will be removed in v8.0.0.
> Import from the "<!-- -->@<!-- -->kbn/es-query" package directly instead. 8.0
>
<b>Signature:</b>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

> Warning: This API is now obsolete.
>
> Please import from the package kbn/es-query directly. This import will be removed in v8.0.0.
> Import from the "<!-- -->@<!-- -->kbn/es-query" package directly instead. 8.0
>
<b>Signature:</b>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

> Warning: This API is now obsolete.
>
> Please import from the package kbn/es-query directly. This import will be removed in v8.0.0.
> Import from the "<!-- -->@<!-- -->kbn/es-query" package directly instead. 8.0
>
<b>Signature:</b>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

> Warning: This API is now obsolete.
>
> Please import from the package kbn/es-query directly. This import will be removed in v8.0.0.
> Import from the "<!-- -->@<!-- -->kbn/es-query" package directly instead. 8.0
>
<b>Signature:</b>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

> Warning: This API is now obsolete.
>
> Please import from the package kbn/es-query directly. This import will be removed in v8.0.0.
> Import from the "<!-- -->@<!-- -->kbn/es-query" package directly instead. 8.0
>
<b>Signature:</b>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

> Warning: This API is now obsolete.
>
> Please import from the package kbn/es-query directly. This import will be removed in v8.0.0.
> Import from the "<!-- -->@<!-- -->kbn/es-query" package directly instead. 8.0
>
<b>Signature:</b>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

> Warning: This API is now obsolete.
>
> Use fetch$ instead
> Use the `fetch$` method instead 8.0
>
Fetch this source and reject the returned Promise on error
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

> Warning: This API is now obsolete.
>
> Please import from the package kbn/es-query directly. This import will be deprecated in v8.0.0.
> Import from the "<!-- -->@<!-- -->kbn/es-query" package directly instead. 8.0
>
<b>Signature:</b>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

> Warning: This API is now obsolete.
>
> Please import from the package kbn/es-query directly. This import will be deprecated in v8.0.0.
> Import from the "<!-- -->@<!-- -->kbn/es-query" package directly instead. 8.0
>
<b>Signature:</b>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

> Warning: This API is now obsolete.
>
> Please import from the package kbn/es-query directly. This import will be deprecated in v8.0.0.
> Import from the "<!-- -->@<!-- -->kbn/es-query" package directly instead. 8.0
>
<b>Signature:</b>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

> Warning: This API is now obsolete.
>
> Please import from the package kbn/es-query directly. This import will be deprecated in v8.0.0.
> Import from the "<!-- -->@<!-- -->kbn/es-query" package directly instead. 8.0
>
<b>Signature:</b>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

> Warning: This API is now obsolete.
>
> Use IndexPatternField or FieldSpec instead
> Use `IndexPatternField` or `FieldSpec` instead 8.0
>
<b>Signature:</b>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

> Warning: This API is now obsolete.
>
> use runtime field instead
> use runtime field instead 8.0
>
Add scripted field to field list
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@
```typescript
getAggregationRestrictions(): Record<string, Record<string, {
agg?: string | undefined;
interval?: number | undefined; /**
* Get last saved saved object fields
*/
interval?: number | undefined;
fixed_interval?: string | undefined;
calendar_interval?: string | undefined;
delay?: string | undefined;
Expand All @@ -22,9 +20,7 @@ getAggregationRestrictions(): Record<string, Record<string, {

`Record<string, Record<string, {
agg?: string | undefined;
interval?: number | undefined; /**
* Get last saved saved object fields
*/
interval?: number | undefined;
fixed_interval?: string | undefined;
calendar_interval?: string | undefined;
delay?: string | undefined;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

> Warning: This API is now obsolete.
>
> use runtime field instead
> use runtime field instead 8.0
>
<b>Signature:</b>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

> Warning: This API is now obsolete.
>
> use runtime field instead
> use runtime field instead 8.0
>
<b>Signature:</b>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

> Warning: This API is now obsolete.
>
> Deprecated. used by time range index patterns
> Used by time range index patterns 8.0
>
<b>Signature:</b>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

> Warning: This API is now obsolete.
>
> use runtime field instead
> use runtime field instead 8.0
>
Remove scripted field from field list
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

> Warning: This API is now obsolete.
>
> Please import from the package kbn/es-query directly. This import will be deprecated in v8.0.0.
> Import from the "<!-- -->@<!-- -->kbn/es-query" package directly instead. 8.0
>
<b>Signature:</b>
Expand Down
Loading

0 comments on commit 454efff

Please sign in to comment.