mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 01:13:23 -04:00
TS project refs: Migrates snapshot_restore to a TS Project (#89653)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
f91d7bf188
commit
09c2ee7203
5 changed files with 35 additions and 1 deletions
|
@ -8,7 +8,7 @@ import { getRandomString } from '@kbn/test/jest';
|
|||
import { RepositoryType } from '../../common/types';
|
||||
const defaultSettings: any = { chunkSize: '10mb', location: '/tmp/es-backups' };
|
||||
|
||||
interface Repository {
|
||||
export interface Repository {
|
||||
name: string;
|
||||
type: RepositoryType;
|
||||
settings: any;
|
||||
|
|
30
x-pack/plugins/snapshot_restore/tsconfig.json
Normal file
30
x-pack/plugins/snapshot_restore/tsconfig.json
Normal file
|
@ -0,0 +1,30 @@
|
|||
{
|
||||
"extends": "../../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"composite": true,
|
||||
"outDir": "./target/types",
|
||||
"emitDeclarationOnly": true,
|
||||
"declaration": true,
|
||||
"declarationMap": true
|
||||
},
|
||||
"include": [
|
||||
"__jest__/**/*",
|
||||
"common/**/*",
|
||||
"public/**/*",
|
||||
"server/**/*",
|
||||
"test/**/*",
|
||||
"../../typings/**/*",
|
||||
],
|
||||
"references": [
|
||||
{ "path": "../../../src/core/tsconfig.json" },
|
||||
{ "path": "../licensing/tsconfig.json" },
|
||||
{ "path": "../features/tsconfig.json" },
|
||||
{ "path": "../cloud/tsconfig.json" },
|
||||
{ "path": "../security/tsconfig.json" },
|
||||
{ "path": "../../../src/plugins/management/tsconfig.json"},
|
||||
{ "path": "../../../src/plugins/usage_collection/tsconfig.json"},
|
||||
{ "path": "../../../src/plugins/home/tsconfig.json"},
|
||||
{ "path": "../../../src/plugins/kibana_react/tsconfig.json" },
|
||||
{ "path": "../../../src/plugins/es_ui_shared/tsconfig.json" }
|
||||
]
|
||||
}
|
|
@ -64,6 +64,7 @@
|
|||
{ "path": "../plugins/global_search_bar/tsconfig.json" },
|
||||
{ "path": "../plugins/ingest_pipelines/tsconfig.json" },
|
||||
{ "path": "../plugins/license_management/tsconfig.json" },
|
||||
{ "path": "../plugins/snapshot_restore/tsconfig.json" },
|
||||
{ "path": "../plugins/grokdebugger/tsconfig.json" },
|
||||
{ "path": "../plugins/painless_lab/tsconfig.json" },
|
||||
{ "path": "../plugins/watcher/tsconfig.json" }
|
||||
|
|
|
@ -42,6 +42,7 @@
|
|||
"plugins/global_search_bar/**/*",
|
||||
"plugins/ingest_pipelines/**/*",
|
||||
"plugins/license_management/**/*",
|
||||
"plugins/snapshot_restore/**/*",
|
||||
"plugins/painless_lab/**/*",
|
||||
"plugins/watcher/**/*",
|
||||
"plugins/grokdebugger/**/*",
|
||||
|
@ -120,6 +121,7 @@
|
|||
{ "path": "./plugins/translations/tsconfig.json" },
|
||||
{ "path": "./plugins/triggers_actions_ui/tsconfig.json"},
|
||||
{ "path": "./plugins/stack_alerts/tsconfig.json"},
|
||||
{ "path": "./plugins/snapshot_restore/tsconfig.json" },
|
||||
{ "path": "./plugins/grokdebugger/tsconfig.json" },
|
||||
{ "path": "./plugins/ingest_pipelines/tsconfig.json"},
|
||||
{ "path": "./plugins/license_management/tsconfig.json" },
|
||||
|
|
|
@ -44,6 +44,7 @@
|
|||
{ "path": "./plugins/cloud/tsconfig.json" },
|
||||
{ "path": "./plugins/saved_objects_tagging/tsconfig.json" },
|
||||
{ "path": "./plugins/global_search_bar/tsconfig.json" },
|
||||
{ "path": "./plugins/snapshot_restore/tsconfig.json" },
|
||||
{ "path": "./plugins/grokdebugger/tsconfig.json" },
|
||||
{ "path": "./plugins/ingest_pipelines/tsconfig.json" },
|
||||
{ "path": "./plugins/license_management/tsconfig.json" },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue