-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/elastic/kibana into move-st…
…ructure-list-apis
- Loading branch information
Showing
84 changed files
with
1,565 additions
and
466 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
64 changes: 64 additions & 0 deletions
64
packages/kbn-unified-data-table/__mocks__/data_view_without_timefield.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
/* | ||
* 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 and the Server Side Public License, v 1; you may not use this file except | ||
* in compliance with, at your election, the Elastic License 2.0 or the Server | ||
* Side Public License, v 1. | ||
*/ | ||
|
||
import { DataView } from '@kbn/data-views-plugin/public'; | ||
import { buildDataViewMock } from '@kbn/discover-utils/src/__mocks__'; | ||
|
||
const fields = [ | ||
{ | ||
name: '_index', | ||
type: 'string', | ||
scripted: false, | ||
filterable: true, | ||
}, | ||
{ | ||
name: 'timestamp', | ||
displayName: 'timestamp', | ||
type: 'date', | ||
scripted: false, | ||
filterable: true, | ||
aggregatable: true, | ||
sortable: true, | ||
}, | ||
{ | ||
name: 'message', | ||
displayName: 'message', | ||
type: 'string', | ||
scripted: false, | ||
filterable: false, | ||
}, | ||
{ | ||
name: 'extension', | ||
displayName: 'extension', | ||
type: 'string', | ||
scripted: false, | ||
filterable: true, | ||
aggregatable: true, | ||
}, | ||
{ | ||
name: 'bytes', | ||
displayName: 'bytes', | ||
type: 'number', | ||
scripted: false, | ||
filterable: true, | ||
aggregatable: true, | ||
}, | ||
{ | ||
name: 'scripted', | ||
displayName: 'scripted', | ||
type: 'number', | ||
scripted: true, | ||
filterable: false, | ||
}, | ||
] as DataView['fields']; | ||
|
||
export const dataViewWithoutTimefieldMock = buildDataViewMock({ | ||
name: 'index-pattern-without-timefield', | ||
fields, | ||
timeFieldName: undefined, | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.