kibana/packages/kbn-search-connectors/index.ts
Navarone Feekery 8ed8cc964e
[Search] Move ConnectorDefinition types and consts (#197676)
## Summary

- Move types and consts for `ConnectorClientSideDefinition` and
`ConnectorServerSideDefinition` to the shared `kbn-search-connectors`
package
- Update ESS references to these values to use it from the package
- Remove them from the connectors plugin
2024-11-06 09:45:22 -06:00

22 lines
1 KiB
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", the "GNU Affero General Public License v3.0 only", 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", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/
export const CONNECTORS_INDEX = '.elastic-connectors';
export const CURRENT_CONNECTORS_INDEX = '.elastic-connectors-v1';
export const CONNECTORS_JOBS_INDEX = '.elastic-connectors-sync-jobs';
export const CURRENT_CONNECTORS_JOB_INDEX = '.elastic-connectors-sync-jobs-v1';
export const CONNECTORS_VERSION = 1;
export const CONNECTORS_ACCESS_CONTROL_INDEX_PREFIX = '.search-acl-filter-';
export const CRAWLER_SERVICE_TYPE = 'elastic-crawler';
export * from './components';
export * from './constants';
export * from './lib';
export * from './types';
export * from './utils';