mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
Export all Security, Spaces and EncryptedSavedObjects types referenced in the public API contracts. (#122421)
This commit is contained in:
parent
3cca7f0630
commit
f2af5c1bd2
8 changed files with 40 additions and 8 deletions
|
@ -8,6 +8,7 @@
|
|||
export type {
|
||||
EncryptedSavedObjectTypeRegistration,
|
||||
SavedObjectDescriptor,
|
||||
AttributeToEncrypt,
|
||||
} from './encrypted_saved_objects_service';
|
||||
export { EncryptedSavedObjectsService, descriptorToArray } from './encrypted_saved_objects_service';
|
||||
export { EncryptionError, EncryptionErrorOperation } from './encryption_error';
|
||||
|
|
|
@ -10,11 +10,19 @@ import type { PluginConfigDescriptor, PluginInitializerContext } from 'src/core/
|
|||
import { ConfigSchema } from './config';
|
||||
import { EncryptedSavedObjectsPlugin } from './plugin';
|
||||
|
||||
export type { EncryptedSavedObjectTypeRegistration } from './crypto';
|
||||
export { EncryptionError } from './crypto';
|
||||
export type { EncryptedSavedObjectTypeRegistration, AttributeToEncrypt } from './crypto';
|
||||
export { EncryptionError, EncryptionErrorOperation } from './crypto';
|
||||
export type { EncryptedSavedObjectsPluginSetup, EncryptedSavedObjectsPluginStart } from './plugin';
|
||||
export type { EncryptedSavedObjectsClient } from './saved_objects';
|
||||
export type { IsMigrationNeededPredicate } from './create_migration';
|
||||
export type {
|
||||
EncryptedSavedObjectsClient,
|
||||
EncryptedSavedObjectsClientOptions,
|
||||
ClientInstanciator,
|
||||
} from './saved_objects';
|
||||
export type {
|
||||
IsMigrationNeededPredicate,
|
||||
CreateEncryptedSavedObjectsMigrationFn,
|
||||
CreateEncryptedSavedObjectsMigrationFnOpts,
|
||||
} from './create_migration';
|
||||
|
||||
export const config: PluginConfigDescriptor = {
|
||||
schema: ConfigSchema,
|
||||
|
|
|
@ -5,5 +5,18 @@
|
|||
* 2.0.
|
||||
*/
|
||||
|
||||
export type { SecurityLicense } from './licensing';
|
||||
export type { AuthenticatedUser, PrivilegeDeprecationsService } from './model';
|
||||
export type { SecurityLicense, SecurityLicenseFeatures, LoginLayout } from './licensing';
|
||||
export type {
|
||||
AuthenticatedUser,
|
||||
AuthenticationProvider,
|
||||
PrivilegeDeprecationsService,
|
||||
PrivilegeDeprecationsRolesByFeatureIdRequest,
|
||||
PrivilegeDeprecationsRolesByFeatureIdResponse,
|
||||
Role,
|
||||
RoleIndexPrivilege,
|
||||
RoleKibanaPrivilege,
|
||||
FeaturesPrivileges,
|
||||
User,
|
||||
ApiKey,
|
||||
UserRealm,
|
||||
} from './model';
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
export type { ApiKey, ApiKeyToInvalidate, ApiKeyRoleDescriptors } from './api_key';
|
||||
export type { User, EditUser } from './user';
|
||||
export { getUserDisplayName } from './user';
|
||||
export type { AuthenticatedUser } from './authenticated_user';
|
||||
export type { AuthenticatedUser, UserRealm } from './authenticated_user';
|
||||
export { canUserChangePassword } from './authenticated_user';
|
||||
export type { AuthenticationProvider } from './authentication_provider';
|
||||
export { shouldProviderUseLoginForm } from './authentication_provider';
|
||||
|
|
|
@ -19,6 +19,8 @@ export type { SecurityPluginSetup, SecurityPluginStart };
|
|||
export type { AuthenticatedUser } from '../common/model';
|
||||
export type { SecurityLicense, SecurityLicenseFeatures } from '../common/licensing';
|
||||
export type { UserMenuLink, SecurityNavControlServiceStart } from '../public/nav_control';
|
||||
export type { UiApi } from './ui_api';
|
||||
export type { PersonalInfoProps, ChangePasswordProps } from './account_management';
|
||||
|
||||
export type { AuthenticationServiceStart, AuthenticationServiceSetup } from './authentication';
|
||||
|
||||
|
|
|
@ -21,6 +21,7 @@ import { SecurityPlugin } from './plugin';
|
|||
// These exports are part of public Security plugin contract, any change in signature of exported
|
||||
// functions or removal of exports should be considered as a breaking change.
|
||||
export type {
|
||||
CreateAPIKeyParams,
|
||||
CreateAPIKeyResult,
|
||||
InvalidateAPIKeysParams,
|
||||
InvalidateAPIKeyResult,
|
||||
|
|
|
@ -6,4 +6,8 @@
|
|||
*/
|
||||
|
||||
export { getCopyToSpaceFlyoutComponent } from './components';
|
||||
export type { CopyToSpaceFlyoutProps, CopyToSpaceSavedObjectTarget } from './types';
|
||||
export type {
|
||||
CopyToSpaceFlyoutProps,
|
||||
CopyToSpaceSavedObjectTarget,
|
||||
CopySavedObjectsToSpaceResponse,
|
||||
} from './types';
|
||||
|
|
|
@ -15,9 +15,12 @@ export type { Space, GetAllSpacesPurpose, GetSpaceResult } from '../common';
|
|||
|
||||
export type { SpacesData, SpacesDataEntry, SpacesApi } from './types';
|
||||
|
||||
export type { SpacesManager } from './spaces_manager';
|
||||
|
||||
export type {
|
||||
CopyToSpaceFlyoutProps,
|
||||
CopyToSpaceSavedObjectTarget,
|
||||
CopySavedObjectsToSpaceResponse,
|
||||
} from './copy_saved_objects_to_space';
|
||||
|
||||
export type { LegacyUrlConflictProps, EmbeddableLegacyUrlConflictProps } from './legacy_urls';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue