kibana/x-pack/plugins/saved_objects_tagging/common/types.ts
Joe Portner 2ef468ef82
Fixes session idle timeout (#91070)
* Fix calls to `/api/saved_objects_tagging/tags`

Seen on all pages.

* Fix calls to `/api/ui_counters/_report`

Seen on all pages.

* Fix calls to `/api/index_management/indices/reload`

Seen on page: /app/management/data/index_management

* Fix calls to `/api/watcher/watches`

Seen on page: /app/management/insightsAndAlerting/watcher/watches

* Fix calls to `/api/rollup/jobs`

Seen on page: /app/management/data/rollup_jobs/job_list

* Fix calls to `/api/cross_cluster_replication/follower_indices`

Seen on page: /app/management/data/cross_cluster_replication/follower_indices

* Fix calls to `/api/cross_cluster_replication/auto_follow_patterns`

Seen on page: /app/management/data/cross_cluster_replication/auto_follow_patterns

* Fix calls to `/api/transform/transforms` and `/api/transform/transforms/_stats`

Seen on page: /app/management/data/transform

* Fix calls to `/api/console/proxy`

Seen on page: /app/dev_tools#/console

* Fix calls to `/api/monitoring/v1/clusters` and `/api/monitoring/v1/elasticsearch_settings/check/cluster`

Seen on page: /app/monitoring
2021-02-16 07:19:41 -05:00

27 lines
777 B
TypeScript

/*
* 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 { SavedObject } from 'src/core/types';
import type { Tag, TagAttributes } from '../../../../src/plugins/saved_objects_tagging_oss/common';
export type TagSavedObject = SavedObject<TagAttributes>;
export type TagWithRelations = Tag & {
/**
* The number of objects that are assigned to this tag.
*/
relationCount: number;
};
// re-export types from oss definition
export type {
Tag,
TagAttributes,
GetAllTagsOptions,
ITagsClient,
} from '../../../../src/plugins/saved_objects_tagging_oss/common';