Skip to content

Commit

Permalink
Adds public types to core entry point exports.
Browse files Browse the repository at this point in the history
  • Loading branch information
jeramysoucy committed Nov 15, 2022
1 parent db77463 commit 7f41316
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions src/core/server/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,7 @@ export type {

export type { PluginName, DiscoveredPlugin } from '@kbn/core-base-common';

export type { SavedObjectsStart } from '@kbn/core-saved-objects-browser';
export type {
SavedObject,
SavedObjectAttribute,
Expand All @@ -265,6 +266,7 @@ export type {
SavedObjectsImportSimpleWarning,
SavedObjectsImportActionRequiredWarning,
SavedObjectsImportWarning,
SavedObjectTypeIdTuple,
} from '@kbn/core-saved-objects-common';
export type {
SavedObjectsBulkCreateObject,
Expand Down Expand Up @@ -314,6 +316,8 @@ export type {
SavedObjectsBulkDeleteObject,
SavedObjectsBulkDeleteOptions,
SavedObjectsBulkDeleteResponse,
SavedObjectsPointInTimeFinderClient,
SavedObjectsBulkDeleteStatus,
} from '@kbn/core-saved-objects-api-server';
export type {
SavedObjectsServiceSetup,
Expand Down Expand Up @@ -359,6 +363,23 @@ export type {
SavedObjectsValidationSpec,
ISavedObjectsSerializer,
SavedObjectsRequestHandlerContext,
EncryptedObjectDescriptor,
ISavedObjectsEncryptionExtension,
CheckAuthorizationParams,
AuthorizationTypeEntry,
AuthorizationTypeMap,
CheckAuthorizationResult,
EnforceAuthorizationParams,
AddAuditEventParams,
RedactNamespacesParams,
ISavedObjectsSecurityExtension,
ISavedObjectsSpacesExtension,
SavedObjectsExtensions,
} from '@kbn/core-saved-objects-server';
export {
ENCRYPTION_EXTENSION_ID,
SECURITY_EXTENSION_ID,
SPACES_EXTENSION_ID,
} from '@kbn/core-saved-objects-server';
export {
SavedObjectsErrorHelpers,
Expand Down

0 comments on commit 7f41316

Please sign in to comment.