mirror of
https://github.com/elastic/kibana.git
synced 2025-06-28 11:05:39 -04:00
Migrate remaining parts of server-side SO domain to packages (#139305)
* create empty packages * create empty mock packages * start moving client/repository implementation * finish moving client/repo code * move import/export code * move migration code * create empty mocks package * start moving service code * continue fixing stuff, create yet another package * create usage-data package for internal contract * create core-deprecations-server package * fix last problems * fix mock package * start fixing usages * fix index exports * start fixing unit tests for new packages * lint * fix invalid char * fix more violations and test failures * fix more package tests * adapt more test files * one more fix * adapt repo tests * fix last (?) package tests * fix moment mocking * expose import/export error types again * remove test mocking * adapt imports * export as type * trying to fix the schema check task * duplicating usage collection types for now * fix stack trace assertion * fix duplicate import from different paths * [CI] Auto-commit changed files from 'node scripts/generate packages_build_manifest' * update readme's * move mocks to a dedicated folder * self review * move test_utils to integration tests * update package files * rename mocks * manually adapting exclude Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
0b0dd6bac7
commit
34c228b0c9
456 changed files with 3737 additions and 725 deletions
|
@ -17,11 +17,19 @@ export type SavedObjectsCreatePointInTimeFinderOptions = Omit<
|
|||
'page' | 'pit' | 'searchAfter'
|
||||
>;
|
||||
|
||||
/**
|
||||
* @public
|
||||
*/
|
||||
export type SavedObjectsPointInTimeFinderClient = Pick<
|
||||
SavedObjectsClientContract,
|
||||
'find' | 'openPointInTimeForType' | 'closePointInTime'
|
||||
>;
|
||||
|
||||
/**
|
||||
* @public
|
||||
*/
|
||||
export interface SavedObjectsCreatePointInTimeFinderDependencies {
|
||||
client: Pick<SavedObjectsClientContract, 'find' | 'openPointInTimeForType' | 'closePointInTime'>;
|
||||
client: SavedObjectsPointInTimeFinderClient;
|
||||
}
|
||||
|
||||
/** @public */
|
||||
|
|
|
@ -41,6 +41,7 @@ export type {
|
|||
SavedObjectsCreatePointInTimeFinderOptions,
|
||||
SavedObjectsCreatePointInTimeFinderDependencies,
|
||||
ISavedObjectsPointInTimeFinder,
|
||||
SavedObjectsPointInTimeFinderClient,
|
||||
} from './create_point_in_time_finder';
|
||||
export type { SavedObjectsDeleteOptions } from './delete';
|
||||
export type { SavedObjectsDeleteByNamespaceOptions } from './delete_by_namespace';
|
||||
|
|
|
@ -51,4 +51,5 @@ export type {
|
|||
SavedObjectsClosePointInTimeOptions,
|
||||
SavedObjectsCreatePointInTimeFinderOptions,
|
||||
SavedObjectsFindOptions,
|
||||
SavedObjectsPointInTimeFinderClient,
|
||||
} from './apis';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue