2021-03-03 04:02:17 +01:00
{
"id" : "savedObjects" ,
"client" : {
"classes" : [
{
"id" : "def-public.SavedObjectFinderUi" ,
"type" : "Class" ,
"tags" : [ ] ,
"label" : "SavedObjectFinderUi" ,
"description" : [ ] ,
"signature" : [
{
"pluginId" : "savedObjects" ,
"scope" : "public" ,
"docId" : "kibSavedObjectsPluginApi" ,
"section" : "def-public.SavedObjectFinderUi" ,
"text" : "SavedObjectFinderUi"
} ,
" extends React.Component<" ,
"SavedObjectFinderUiProps" ,
", SavedObjectFinderState, any>"
] ,
"children" : [
{
"id" : "def-public.SavedObjectFinderUi.propTypes" ,
"type" : "Object" ,
"tags" : [ ] ,
"children" : [
{
"tags" : [ ] ,
"id" : "def-public.SavedObjectFinderUi.propTypes.onChoose" ,
"type" : "Function" ,
"label" : "onChoose" ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/public/finder/saved_object_finder.tsx" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 108
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
"Requireable" ,
"<(...args: any[]) => any>"
]
} ,
{
"tags" : [ ] ,
"id" : "def-public.SavedObjectFinderUi.propTypes.noItemsMessage" ,
"type" : "Function" ,
"label" : "noItemsMessage" ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/public/finder/saved_object_finder.tsx" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 109
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
"Requireable" ,
"<" ,
"ReactNodeLike" ,
">"
]
} ,
{
"tags" : [ ] ,
"id" : "def-public.SavedObjectFinderUi.propTypes.savedObjectMetaData" ,
"type" : "Function" ,
"label" : "savedObjectMetaData" ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/public/finder/saved_object_finder.tsx" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 110
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
"Validator" ,
"<any[]>"
]
} ,
{
"tags" : [ ] ,
"id" : "def-public.SavedObjectFinderUi.propTypes.initialPageSize" ,
"type" : "Function" ,
"label" : "initialPageSize" ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/public/finder/saved_object_finder.tsx" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 111
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
"Requireable" ,
"<number>"
]
} ,
{
"tags" : [ ] ,
"id" : "def-public.SavedObjectFinderUi.propTypes.fixedPageSize" ,
"type" : "Function" ,
"label" : "fixedPageSize" ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/public/finder/saved_object_finder.tsx" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 112
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
"Requireable" ,
"<number>"
]
} ,
{
"tags" : [ ] ,
"id" : "def-public.SavedObjectFinderUi.propTypes.showFilter" ,
"type" : "Function" ,
"label" : "showFilter" ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/public/finder/saved_object_finder.tsx" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 113
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
"Requireable" ,
"<boolean>"
]
}
] ,
"description" : [ ] ,
"label" : "propTypes" ,
"source" : {
"path" : "src/plugins/saved_objects/public/finder/saved_object_finder.tsx" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 107
2021-03-03 04:02:17 +01:00
}
} ,
{
"id" : "def-public.SavedObjectFinderUi.Unnamed" ,
"type" : "Function" ,
"label" : "Constructor" ,
"signature" : [
"any"
] ,
"description" : [ ] ,
"children" : [
{
2021-04-15 17:36:10 +02:00
"id" : "def-public.SavedObjectFinderUi.Unnamed.$1" ,
2021-03-03 04:02:17 +01:00
"type" : "CompoundType" ,
"label" : "props" ,
"isRequired" : true ,
"signature" : [
2021-04-15 17:36:10 +02:00
"SavedObjectFinderUiProps"
2021-03-03 04:02:17 +01:00
] ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/public/finder/saved_object_finder.tsx" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 173
2021-03-03 04:02:17 +01:00
}
}
] ,
"tags" : [ ] ,
"returnComment" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/public/finder/saved_object_finder.tsx" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 173
2021-03-03 04:02:17 +01:00
}
} ,
{
"id" : "def-public.SavedObjectFinderUi.componentWillUnmount" ,
"type" : "Function" ,
"label" : "componentWillUnmount" ,
"signature" : [
"() => void"
] ,
"description" : [ ] ,
"children" : [ ] ,
"tags" : [ ] ,
"returnComment" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/public/finder/saved_object_finder.tsx" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 188
2021-03-03 04:02:17 +01:00
}
} ,
{
"id" : "def-public.SavedObjectFinderUi.componentDidMount" ,
"type" : "Function" ,
"label" : "componentDidMount" ,
"signature" : [
"() => void"
] ,
"description" : [ ] ,
"children" : [ ] ,
"tags" : [ ] ,
"returnComment" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/public/finder/saved_object_finder.tsx" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 193
2021-03-03 04:02:17 +01:00
}
} ,
{
"id" : "def-public.SavedObjectFinderUi.render" ,
"type" : "Function" ,
"label" : "render" ,
"signature" : [
"() => JSX.Element"
] ,
"description" : [ ] ,
"children" : [ ] ,
"tags" : [ ] ,
"returnComment" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/public/finder/saved_object_finder.tsx" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 198
2021-03-03 04:02:17 +01:00
}
}
] ,
"source" : {
"path" : "src/plugins/saved_objects/public/finder/saved_object_finder.tsx" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 103
2021-03-03 04:02:17 +01:00
} ,
"initialIsOpen" : false
} ,
{
"id" : "def-public.SavedObjectLoader" ,
"type" : "Class" ,
2021-03-11 20:29:40 +01:00
"tags" : [
"deprecated"
2021-03-03 04:02:17 +01:00
] ,
2021-03-11 20:29:40 +01:00
"label" : "SavedObjectLoader" ,
"description" : [ ] ,
2021-03-03 04:02:17 +01:00
"children" : [
{
"tags" : [ ] ,
"id" : "def-public.SavedObjectLoader.type" ,
"type" : "string" ,
"label" : "type" ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/public/saved_object/saved_object_loader.ts" ,
2021-03-11 20:29:40 +01:00
"lineNumber" : 35
2021-03-03 04:02:17 +01:00
}
} ,
{
"tags" : [ ] ,
"id" : "def-public.SavedObjectLoader.lowercaseType" ,
"type" : "string" ,
"label" : "lowercaseType" ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/public/saved_object/saved_object_loader.ts" ,
2021-03-11 20:29:40 +01:00
"lineNumber" : 36
2021-03-03 04:02:17 +01:00
}
} ,
{
"tags" : [ ] ,
"id" : "def-public.SavedObjectLoader.loaderProperties" ,
"type" : "Object" ,
"label" : "loaderProperties" ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/public/saved_object/saved_object_loader.ts" ,
2021-03-11 20:29:40 +01:00
"lineNumber" : 37
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
"Record<string, string>"
]
} ,
{
"id" : "def-public.SavedObjectLoader.Unnamed" ,
"type" : "Function" ,
"label" : "Constructor" ,
"signature" : [
"any"
] ,
"description" : [ ] ,
"children" : [
{
2021-04-15 17:36:10 +02:00
"id" : "def-public.SavedObjectLoader.Unnamed.$1" ,
2021-03-03 04:02:17 +01:00
"type" : "Any" ,
"label" : "SavedObjectClass" ,
"isRequired" : true ,
"signature" : [
"any"
] ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/public/saved_object/saved_object_loader.ts" ,
2021-03-11 20:29:40 +01:00
"lineNumber" : 40
2021-03-03 04:02:17 +01:00
}
} ,
{
2021-04-15 17:36:10 +02:00
"id" : "def-public.SavedObjectLoader.Unnamed.$2" ,
2021-03-03 04:02:17 +01:00
"type" : "Object" ,
"label" : "savedObjectsClient" ,
"isRequired" : true ,
"signature" : [
"Pick<" ,
{
"pluginId" : "core" ,
"scope" : "public" ,
"docId" : "kibCoreSavedObjectsPluginApi" ,
"section" : "def-public.SavedObjectsClient" ,
"text" : "SavedObjectsClient"
} ,
2021-04-15 17:36:10 +02:00
", \"get\" | \"delete\" | \"create\" | \"bulkCreate\" | \"find\" | \"bulkGet\" | \"update\" | \"bulkUpdate\">"
2021-03-03 04:02:17 +01:00
] ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/public/saved_object/saved_object_loader.ts" ,
2021-03-11 20:29:40 +01:00
"lineNumber" : 41
2021-03-03 04:02:17 +01:00
}
}
] ,
"tags" : [ ] ,
"returnComment" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/public/saved_object/saved_object_loader.ts" ,
2021-03-11 20:29:40 +01:00
"lineNumber" : 39
2021-03-03 04:02:17 +01:00
}
} ,
{
"id" : "def-public.SavedObjectLoader.get" ,
"type" : "Function" ,
"label" : "get" ,
"signature" : [
"(opts?: string | Record<string, unknown> | undefined) => Promise<any>"
] ,
"description" : [
"\nRetrieve a saved object by id or create new one.\nReturns a promise that completes when the object finishes\ninitializing."
] ,
"children" : [
{
2021-04-15 17:36:10 +02:00
"id" : "def-public.SavedObjectLoader.get.$1" ,
2021-03-03 04:02:17 +01:00
"type" : "CompoundType" ,
"label" : "opts" ,
"isRequired" : false ,
"signature" : [
"string | Record<string, unknown> | undefined"
] ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/public/saved_object/saved_object_loader.ts" ,
2021-03-11 20:29:40 +01:00
"lineNumber" : 61
2021-03-03 04:02:17 +01:00
}
}
] ,
"tags" : [ ] ,
"returnComment" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/public/saved_object/saved_object_loader.ts" ,
2021-03-11 20:29:40 +01:00
"lineNumber" : 61
2021-03-03 04:02:17 +01:00
}
} ,
{
"id" : "def-public.SavedObjectLoader.urlFor" ,
"type" : "Function" ,
"label" : "urlFor" ,
"signature" : [
"(id: string) => string"
] ,
"description" : [ ] ,
"children" : [
{
2021-04-15 17:36:10 +02:00
"id" : "def-public.SavedObjectLoader.urlFor.$1" ,
2021-03-03 04:02:17 +01:00
"type" : "string" ,
"label" : "id" ,
"isRequired" : true ,
"signature" : [
"string"
] ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/public/saved_object/saved_object_loader.ts" ,
2021-03-11 20:29:40 +01:00
"lineNumber" : 69
2021-03-03 04:02:17 +01:00
}
}
] ,
"tags" : [ ] ,
"returnComment" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/public/saved_object/saved_object_loader.ts" ,
2021-03-11 20:29:40 +01:00
"lineNumber" : 69
2021-03-03 04:02:17 +01:00
}
} ,
{
"id" : "def-public.SavedObjectLoader.delete" ,
"type" : "Function" ,
"label" : "delete" ,
"signature" : [
"(ids: string | string[]) => Promise<void>"
] ,
"description" : [ ] ,
"children" : [
{
2021-04-15 17:36:10 +02:00
"id" : "def-public.SavedObjectLoader.delete.$1" ,
2021-03-03 04:02:17 +01:00
"type" : "CompoundType" ,
"label" : "ids" ,
"isRequired" : true ,
"signature" : [
"string | string[]"
] ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/public/saved_object/saved_object_loader.ts" ,
2021-03-11 20:29:40 +01:00
"lineNumber" : 73
2021-03-03 04:02:17 +01:00
}
}
] ,
"tags" : [ ] ,
"returnComment" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/public/saved_object/saved_object_loader.ts" ,
2021-03-11 20:29:40 +01:00
"lineNumber" : 73
2021-03-03 04:02:17 +01:00
}
} ,
{
"id" : "def-public.SavedObjectLoader.mapHitSource" ,
"type" : "Function" ,
"label" : "mapHitSource" ,
"signature" : [
"(source: Record<string, unknown>, id: string, references?: " ,
2021-04-15 17:36:10 +02:00
"SavedObjectReference" ,
2021-03-03 04:02:17 +01:00
"[]) => Record<string, unknown>"
] ,
"description" : [
"\nUpdates source to contain an id, url and references fields, and returns the updated\nsource object."
] ,
"children" : [
{
2021-04-15 17:36:10 +02:00
"id" : "def-public.SavedObjectLoader.mapHitSource.$1" ,
2021-03-03 04:02:17 +01:00
"type" : "Object" ,
"label" : "source" ,
"isRequired" : true ,
"signature" : [
"Record<string, unknown>"
] ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/public/saved_object/saved_object_loader.ts" ,
2021-03-11 20:29:40 +01:00
"lineNumber" : 93
2021-03-03 04:02:17 +01:00
}
} ,
{
2021-04-15 17:36:10 +02:00
"id" : "def-public.SavedObjectLoader.mapHitSource.$2" ,
2021-03-03 04:02:17 +01:00
"type" : "string" ,
"label" : "id" ,
"isRequired" : true ,
"signature" : [
"string"
] ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/public/saved_object/saved_object_loader.ts" ,
2021-03-11 20:29:40 +01:00
"lineNumber" : 94
2021-03-03 04:02:17 +01:00
}
} ,
{
2021-04-15 17:36:10 +02:00
"id" : "def-public.SavedObjectLoader.mapHitSource.$3" ,
2021-03-03 04:02:17 +01:00
"type" : "Array" ,
"label" : "references" ,
"isRequired" : true ,
"signature" : [
2021-04-15 17:36:10 +02:00
"SavedObjectReference" ,
2021-03-03 04:02:17 +01:00
"[]"
] ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/public/saved_object/saved_object_loader.ts" ,
2021-03-11 20:29:40 +01:00
"lineNumber" : 95
2021-03-03 04:02:17 +01:00
}
}
] ,
"tags" : [ ] ,
"returnComment" : [
"The modified source object, with an id and url field."
] ,
"source" : {
"path" : "src/plugins/saved_objects/public/saved_object/saved_object_loader.ts" ,
2021-03-11 20:29:40 +01:00
"lineNumber" : 92
2021-03-03 04:02:17 +01:00
}
} ,
{
"id" : "def-public.SavedObjectLoader.mapSavedObjectApiHits" ,
"type" : "Function" ,
"label" : "mapSavedObjectApiHits" ,
"signature" : [
"({ attributes, id, references, }: { attributes: Record<string, unknown>; id: string; references?: " ,
2021-04-15 17:36:10 +02:00
"SavedObjectReference" ,
2021-03-03 04:02:17 +01:00
"[] | undefined; }) => Record<string, unknown>"
] ,
"description" : [
"\nUpdates hit.attributes to contain an id and url field, and returns the updated\nattributes object."
] ,
"children" : [
{
2021-04-15 17:36:10 +02:00
"id" : "def-public.SavedObjectLoader.mapSavedObjectApiHits.$1.attributesidreferences" ,
2021-03-03 04:02:17 +01:00
"type" : "Object" ,
"label" : "{\n attributes,\n id,\n references = [],\n }" ,
"tags" : [ ] ,
"description" : [ ] ,
"children" : [
{
"tags" : [ ] ,
2021-04-15 17:36:10 +02:00
"id" : "def-public.SavedObjectLoader.mapSavedObjectApiHits.$1.attributesidreferences.attributes" ,
2021-03-03 04:02:17 +01:00
"type" : "Object" ,
"label" : "attributes" ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/public/saved_object/saved_object_loader.ts" ,
2021-03-11 20:29:40 +01:00
"lineNumber" : 114
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
"Record<string, unknown>"
]
} ,
{
"tags" : [ ] ,
2021-04-15 17:36:10 +02:00
"id" : "def-public.SavedObjectLoader.mapSavedObjectApiHits.$1.attributesidreferences.id" ,
2021-03-03 04:02:17 +01:00
"type" : "string" ,
"label" : "id" ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/public/saved_object/saved_object_loader.ts" ,
2021-03-11 20:29:40 +01:00
"lineNumber" : 115
2021-03-03 04:02:17 +01:00
}
} ,
{
"tags" : [ ] ,
2021-04-15 17:36:10 +02:00
"id" : "def-public.SavedObjectLoader.mapSavedObjectApiHits.$1.attributesidreferences.references" ,
2021-03-03 04:02:17 +01:00
"type" : "Array" ,
"label" : "references" ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/public/saved_object/saved_object_loader.ts" ,
2021-03-11 20:29:40 +01:00
"lineNumber" : 116
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
2021-04-15 17:36:10 +02:00
"SavedObjectReference" ,
2021-03-03 04:02:17 +01:00
"[] | undefined"
]
}
] ,
"source" : {
"path" : "src/plugins/saved_objects/public/saved_object/saved_object_loader.ts" ,
2021-03-11 20:29:40 +01:00
"lineNumber" : 113
2021-03-03 04:02:17 +01:00
}
}
] ,
"tags" : [ ] ,
"returnComment" : [
"The modified hit.attributes object, with an id and url field."
] ,
"source" : {
"path" : "src/plugins/saved_objects/public/saved_object/saved_object_loader.ts" ,
2021-03-11 20:29:40 +01:00
"lineNumber" : 109
2021-03-03 04:02:17 +01:00
}
} ,
{
"id" : "def-public.SavedObjectLoader.find" ,
"type" : "Function" ,
"label" : "find" ,
"signature" : [
"(search?: string, sizeOrOptions?: number | " ,
{
"pluginId" : "savedObjects" ,
"scope" : "public" ,
"docId" : "kibSavedObjectsPluginApi" ,
"section" : "def-public.SavedObjectLoaderFindOptions" ,
"text" : "SavedObjectLoaderFindOptions"
} ,
") => Promise<{ total: number; hits: Record<string, unknown>[]; }>"
] ,
"description" : [ ] ,
"children" : [
{
2021-04-15 17:36:10 +02:00
"id" : "def-public.SavedObjectLoader.find.$1" ,
2021-03-03 04:02:17 +01:00
"type" : "string" ,
"label" : "search" ,
"isRequired" : true ,
"signature" : [
"string"
] ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/public/saved_object/saved_object_loader.ts" ,
2021-03-11 20:29:40 +01:00
"lineNumber" : 153
2021-03-03 04:02:17 +01:00
}
} ,
{
2021-04-15 17:36:10 +02:00
"id" : "def-public.SavedObjectLoader.find.$2" ,
2021-03-03 04:02:17 +01:00
"type" : "CompoundType" ,
"label" : "sizeOrOptions" ,
"isRequired" : true ,
"signature" : [
"number | " ,
{
"pluginId" : "savedObjects" ,
"scope" : "public" ,
"docId" : "kibSavedObjectsPluginApi" ,
"section" : "def-public.SavedObjectLoaderFindOptions" ,
"text" : "SavedObjectLoaderFindOptions"
}
] ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/public/saved_object/saved_object_loader.ts" ,
2021-03-11 20:29:40 +01:00
"lineNumber" : 153
2021-03-03 04:02:17 +01:00
}
}
] ,
"tags" : [ ] ,
"returnComment" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/public/saved_object/saved_object_loader.ts" ,
2021-03-11 20:29:40 +01:00
"lineNumber" : 153
2021-03-03 04:02:17 +01:00
}
}
] ,
"source" : {
"path" : "src/plugins/saved_objects/public/saved_object/saved_object_loader.ts" ,
2021-03-11 20:29:40 +01:00
"lineNumber" : 33
2021-03-03 04:02:17 +01:00
} ,
"initialIsOpen" : false
2021-03-06 02:12:28 +01:00
} ,
2021-03-03 04:02:17 +01:00
{
2021-03-06 02:12:28 +01:00
"id" : "def-public.SavedObjectSaveModal" ,
"type" : "Class" ,
2021-03-11 20:29:40 +01:00
"tags" : [
"deprecated"
] ,
2021-03-06 02:12:28 +01:00
"label" : "SavedObjectSaveModal" ,
"description" : [ ] ,
2021-03-03 04:02:17 +01:00
"signature" : [
{
"pluginId" : "savedObjects" ,
"scope" : "public" ,
"docId" : "kibSavedObjectsPluginApi" ,
2021-03-06 02:12:28 +01:00
"section" : "def-public.SavedObjectSaveModal" ,
"text" : "SavedObjectSaveModal"
2021-03-03 04:02:17 +01:00
} ,
2021-03-06 02:12:28 +01:00
" extends React.Component<Props, " ,
{
"pluginId" : "savedObjects" ,
"scope" : "public" ,
"docId" : "kibSavedObjectsPluginApi" ,
"section" : "def-public.SaveModalState" ,
"text" : "SaveModalState"
} ,
", any>"
2021-03-03 04:02:17 +01:00
] ,
"children" : [
{
2021-03-06 02:12:28 +01:00
"id" : "def-public.SavedObjectSaveModal.state" ,
2021-03-03 04:02:17 +01:00
"type" : "Object" ,
2021-03-06 02:12:28 +01:00
"tags" : [ ] ,
"children" : [
2021-03-03 04:02:17 +01:00
{
2021-03-06 02:12:28 +01:00
"tags" : [ ] ,
"id" : "def-public.SavedObjectSaveModal.state.title" ,
"type" : "string" ,
"label" : "title" ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/public/save_modal/saved_object_save_modal.tsx" ,
2021-03-11 20:29:40 +01:00
"lineNumber" : 73
2021-03-06 02:12:28 +01:00
}
} ,
{
"tags" : [ ] ,
"id" : "def-public.SavedObjectSaveModal.state.copyOnSave" ,
"type" : "boolean" ,
"label" : "copyOnSave" ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/public/save_modal/saved_object_save_modal.tsx" ,
2021-03-11 20:29:40 +01:00
"lineNumber" : 74
2021-03-06 02:12:28 +01:00
}
} ,
{
"tags" : [ ] ,
"id" : "def-public.SavedObjectSaveModal.state.isTitleDuplicateConfirmed" ,
"type" : "boolean" ,
"label" : "isTitleDuplicateConfirmed" ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/public/save_modal/saved_object_save_modal.tsx" ,
2021-03-11 20:29:40 +01:00
"lineNumber" : 75
2021-03-06 02:12:28 +01:00
}
} ,
{
"tags" : [ ] ,
"id" : "def-public.SavedObjectSaveModal.state.hasTitleDuplicate" ,
"type" : "boolean" ,
"label" : "hasTitleDuplicate" ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/public/save_modal/saved_object_save_modal.tsx" ,
2021-03-11 20:29:40 +01:00
"lineNumber" : 76
2021-03-06 02:12:28 +01:00
}
} ,
{
"tags" : [ ] ,
"id" : "def-public.SavedObjectSaveModal.state.isLoading" ,
"type" : "boolean" ,
"label" : "isLoading" ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/public/save_modal/saved_object_save_modal.tsx" ,
2021-03-11 20:29:40 +01:00
"lineNumber" : 77
2021-03-06 02:12:28 +01:00
}
} ,
{
"tags" : [ ] ,
"id" : "def-public.SavedObjectSaveModal.state.visualizationDescription" ,
"type" : "string" ,
"label" : "visualizationDescription" ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/public/save_modal/saved_object_save_modal.tsx" ,
2021-03-11 20:29:40 +01:00
"lineNumber" : 78
2021-03-06 02:12:28 +01:00
}
2021-03-03 04:02:17 +01:00
}
] ,
"description" : [ ] ,
2021-03-06 02:12:28 +01:00
"label" : "state" ,
2021-03-03 04:02:17 +01:00
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "src/plugins/saved_objects/public/save_modal/saved_object_save_modal.tsx" ,
2021-03-11 20:29:40 +01:00
"lineNumber" : 72
2021-03-06 02:12:28 +01:00
}
} ,
{
"id" : "def-public.SavedObjectSaveModal.render" ,
"type" : "Function" ,
"label" : "render" ,
"signature" : [
"() => JSX.Element"
] ,
"description" : [ ] ,
"children" : [ ] ,
"tags" : [ ] ,
"returnComment" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/public/save_modal/saved_object_save_modal.tsx" ,
2021-03-11 20:29:40 +01:00
"lineNumber" : 81
2021-03-03 04:02:17 +01:00
}
}
] ,
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "src/plugins/saved_objects/public/save_modal/saved_object_save_modal.tsx" ,
2021-03-11 20:29:40 +01:00
"lineNumber" : 70
2021-03-03 04:02:17 +01:00
} ,
"initialIsOpen" : false
2021-03-06 02:12:28 +01:00
}
] ,
"functions" : [
2021-03-03 04:02:17 +01:00
{
2021-03-06 02:12:28 +01:00
"id" : "def-public.checkForDuplicateTitle" ,
2021-03-03 04:02:17 +01:00
"type" : "Function" ,
2021-03-06 02:12:28 +01:00
"label" : "checkForDuplicateTitle" ,
2021-03-03 04:02:17 +01:00
"signature" : [
2021-03-06 02:12:28 +01:00
"(savedObject: Pick<" ,
2021-03-03 04:02:17 +01:00
{
2021-03-06 02:12:28 +01:00
"pluginId" : "savedObjects" ,
"scope" : "public" ,
"docId" : "kibSavedObjectsPluginApi" ,
"section" : "def-public.SavedObject" ,
"text" : "SavedObject"
} ,
2021-03-23 19:31:08 +01:00
", \"title\" | \"id\" | \"getDisplayName\" | \"lastSavedTitle\" | \"copyOnSave\" | \"getEsType\">, isTitleDuplicateConfirmed: boolean, onTitleDuplicate: (() => void) | undefined, services: Pick<" ,
2021-03-06 02:12:28 +01:00
"SavedObjectKibanaServices" ,
", \"savedObjectsClient\" | \"overlays\">) => Promise<true>"
] ,
"description" : [
"\ncheck for an existing SavedObject with the same title in ES\nreturns Promise<true> when it's no duplicate, or the modal displaying the warning\nthat's there's a duplicate is confirmed, else it returns a rejected Promise<ErrorMsg>"
] ,
"children" : [
{
2021-04-15 17:36:10 +02:00
"id" : "def-public.checkForDuplicateTitle.$1" ,
2021-03-06 02:12:28 +01:00
"type" : "Object" ,
"label" : "savedObject" ,
"isRequired" : true ,
"signature" : [
"Pick<" ,
{
"pluginId" : "savedObjects" ,
"scope" : "public" ,
"docId" : "kibSavedObjectsPluginApi" ,
"section" : "def-public.SavedObject" ,
"text" : "SavedObject"
} ,
2021-03-23 19:31:08 +01:00
", \"title\" | \"id\" | \"getDisplayName\" | \"lastSavedTitle\" | \"copyOnSave\" | \"getEsType\">"
2021-03-06 02:12:28 +01:00
] ,
2021-03-03 04:02:17 +01:00
"description" : [ ] ,
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "src/plugins/saved_objects/public/saved_object/helpers/check_for_duplicate_title.ts" ,
"lineNumber" : 24
2021-03-03 04:02:17 +01:00
}
} ,
{
2021-04-15 17:36:10 +02:00
"id" : "def-public.checkForDuplicateTitle.$2" ,
2021-03-06 02:12:28 +01:00
"type" : "boolean" ,
"label" : "isTitleDuplicateConfirmed" ,
2021-03-03 04:02:17 +01:00
"isRequired" : true ,
"signature" : [
2021-03-06 02:12:28 +01:00
"boolean"
2021-03-03 04:02:17 +01:00
] ,
"description" : [ ] ,
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "src/plugins/saved_objects/public/saved_object/helpers/check_for_duplicate_title.ts" ,
"lineNumber" : 28
2021-03-03 04:02:17 +01:00
}
} ,
{
2021-04-15 17:36:10 +02:00
"id" : "def-public.checkForDuplicateTitle.$3" ,
2021-03-03 04:02:17 +01:00
"type" : "Function" ,
2021-03-06 02:12:28 +01:00
"label" : "onTitleDuplicate" ,
2021-03-03 04:02:17 +01:00
"isRequired" : false ,
"signature" : [
2021-03-06 02:12:28 +01:00
"(() => void) | undefined"
2021-03-03 04:02:17 +01:00
] ,
"description" : [ ] ,
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "src/plugins/saved_objects/public/saved_object/helpers/check_for_duplicate_title.ts" ,
"lineNumber" : 29
}
} ,
{
2021-04-15 17:36:10 +02:00
"id" : "def-public.checkForDuplicateTitle.$4" ,
2021-03-06 02:12:28 +01:00
"type" : "Object" ,
"label" : "services" ,
"isRequired" : true ,
"signature" : [
"Pick<" ,
2021-04-15 17:36:10 +02:00
"SavedObjectKibanaServices" ,
2021-03-06 02:12:28 +01:00
", \"savedObjectsClient\" | \"overlays\">"
] ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/public/saved_object/helpers/check_for_duplicate_title.ts" ,
"lineNumber" : 30
2021-03-03 04:02:17 +01:00
}
}
] ,
"tags" : [ ] ,
"returnComment" : [ ] ,
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "src/plugins/saved_objects/public/saved_object/helpers/check_for_duplicate_title.ts" ,
"lineNumber" : 23
2021-03-03 04:02:17 +01:00
} ,
"initialIsOpen" : false
} ,
{
"id" : "def-public.getSavedObjectFinder" ,
"type" : "Function" ,
"children" : [
{
2021-04-15 17:36:10 +02:00
"id" : "def-public.getSavedObjectFinder.$1" ,
2021-03-03 04:02:17 +01:00
"type" : "Object" ,
"label" : "savedObject" ,
"isRequired" : true ,
"signature" : [
{
"pluginId" : "core" ,
"scope" : "public" ,
"docId" : "kibCoreSavedObjectsPluginApi" ,
"section" : "def-public.SavedObjectsStart" ,
"text" : "SavedObjectsStart"
}
] ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/public/finder/saved_object_finder.tsx" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 526
2021-03-03 04:02:17 +01:00
}
} ,
{
2021-04-15 17:36:10 +02:00
"id" : "def-public.getSavedObjectFinder.$2" ,
2021-03-03 04:02:17 +01:00
"type" : "Object" ,
"label" : "uiSettings" ,
"isRequired" : true ,
"signature" : [
{
"pluginId" : "core" ,
"scope" : "public" ,
"docId" : "kibCorePluginApi" ,
"section" : "def-public.IUiSettingsClient" ,
"text" : "IUiSettingsClient"
}
] ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/public/finder/saved_object_finder.tsx" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 526
2021-03-03 04:02:17 +01:00
}
}
] ,
"signature" : [
"(savedObject: " ,
{
"pluginId" : "core" ,
"scope" : "public" ,
"docId" : "kibCoreSavedObjectsPluginApi" ,
"section" : "def-public.SavedObjectsStart" ,
"text" : "SavedObjectsStart"
} ,
", uiSettings: " ,
{
"pluginId" : "core" ,
"scope" : "public" ,
"docId" : "kibCorePluginApi" ,
"section" : "def-public.IUiSettingsClient" ,
"text" : "IUiSettingsClient"
} ,
") => (props: " ,
"SavedObjectFinderProps" ,
") => JSX.Element"
] ,
"description" : [ ] ,
"label" : "getSavedObjectFinder" ,
"source" : {
"path" : "src/plugins/saved_objects/public/finder/saved_object_finder.tsx" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 526
2021-03-03 04:02:17 +01:00
} ,
"tags" : [ ] ,
"returnComment" : [ ] ,
"initialIsOpen" : false
} ,
{
2021-03-06 02:12:28 +01:00
"id" : "def-public.isErrorNonFatal" ,
2021-03-03 04:02:17 +01:00
"type" : "Function" ,
2021-03-06 02:12:28 +01:00
"label" : "isErrorNonFatal" ,
2021-03-03 04:02:17 +01:00
"signature" : [
2021-03-06 02:12:28 +01:00
"(error: { message: string; }) => boolean"
2021-03-03 04:02:17 +01:00
] ,
2021-03-06 02:12:28 +01:00
"description" : [ ] ,
2021-03-03 04:02:17 +01:00
"children" : [
{
2021-04-15 17:36:10 +02:00
"id" : "def-public.isErrorNonFatal.$1.error" ,
2021-03-03 04:02:17 +01:00
"type" : "Object" ,
2021-03-06 02:12:28 +01:00
"label" : "error" ,
"tags" : [ ] ,
2021-03-03 04:02:17 +01:00
"description" : [ ] ,
2021-03-06 02:12:28 +01:00
"children" : [
{
"tags" : [ ] ,
2021-04-15 17:36:10 +02:00
"id" : "def-public.isErrorNonFatal.$1.error.message" ,
2021-03-06 02:12:28 +01:00
"type" : "string" ,
"label" : "message" ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/public/saved_object/helpers/save_saved_object.ts" ,
"lineNumber" : 23
}
}
2021-03-03 04:02:17 +01:00
] ,
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "src/plugins/saved_objects/public/saved_object/helpers/save_saved_object.ts" ,
"lineNumber" : 23
2021-03-03 04:02:17 +01:00
}
2021-03-06 02:12:28 +01:00
}
] ,
"tags" : [
"return"
] ,
"returnComment" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/public/saved_object/helpers/save_saved_object.ts" ,
"lineNumber" : 23
} ,
"initialIsOpen" : false
} ,
{
"id" : "def-public.SavedObjectSaveModalOrigin" ,
"type" : "Function" ,
"label" : "SavedObjectSaveModalOrigin" ,
"signature" : [
"(props: " ,
2021-03-03 04:02:17 +01:00
{
2021-03-06 02:12:28 +01:00
"pluginId" : "savedObjects" ,
"scope" : "public" ,
"docId" : "kibSavedObjectsPluginApi" ,
"section" : "def-public.OriginSaveModalProps" ,
"text" : "OriginSaveModalProps"
2021-03-03 04:02:17 +01:00
} ,
2021-03-06 02:12:28 +01:00
") => JSX.Element"
] ,
"description" : [ ] ,
"children" : [
2021-03-03 04:02:17 +01:00
{
2021-04-15 17:36:10 +02:00
"id" : "def-public.SavedObjectSaveModalOrigin.$1" ,
2021-03-03 04:02:17 +01:00
"type" : "Object" ,
2021-03-06 02:12:28 +01:00
"label" : "props" ,
2021-03-03 04:02:17 +01:00
"isRequired" : true ,
"signature" : [
{
"pluginId" : "savedObjects" ,
"scope" : "public" ,
"docId" : "kibSavedObjectsPluginApi" ,
2021-03-06 02:12:28 +01:00
"section" : "def-public.OriginSaveModalProps" ,
"text" : "OriginSaveModalProps"
}
2021-03-03 04:02:17 +01:00
] ,
"description" : [ ] ,
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "src/plugins/saved_objects/public/save_modal/saved_object_save_modal_origin.tsx" ,
"lineNumber" : 34
2021-03-03 04:02:17 +01:00
}
}
] ,
"tags" : [ ] ,
"returnComment" : [ ] ,
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "src/plugins/saved_objects/public/save_modal/saved_object_save_modal_origin.tsx" ,
"lineNumber" : 34
2021-03-03 04:02:17 +01:00
} ,
"initialIsOpen" : false
} ,
{
"id" : "def-public.saveWithConfirmation" ,
"type" : "Function" ,
"label" : "saveWithConfirmation" ,
"signature" : [
"(source: " ,
"SavedObjectAttributes" ,
", savedObject: { getEsType(): string; title: string; displayName: string; }, options: " ,
{
"pluginId" : "core" ,
"scope" : "public" ,
"docId" : "kibCoreSavedObjectsPluginApi" ,
"section" : "def-public.SavedObjectsCreateOptions" ,
"text" : "SavedObjectsCreateOptions"
} ,
", services: { savedObjectsClient: Pick<" ,
{
"pluginId" : "core" ,
"scope" : "public" ,
"docId" : "kibCoreSavedObjectsPluginApi" ,
"section" : "def-public.SavedObjectsClient" ,
"text" : "SavedObjectsClient"
} ,
2021-04-15 17:36:10 +02:00
", \"get\" | \"delete\" | \"create\" | \"bulkCreate\" | \"find\" | \"bulkGet\" | \"update\" | \"bulkUpdate\">; overlays: " ,
2021-03-03 04:02:17 +01:00
{
"pluginId" : "core" ,
"scope" : "public" ,
"docId" : "kibCorePluginApi" ,
"section" : "def-public.OverlayStart" ,
"text" : "OverlayStart"
} ,
"; }) => Promise<" ,
{
"pluginId" : "core" ,
"scope" : "public" ,
"docId" : "kibCoreSavedObjectsPluginApi" ,
"section" : "def-public.SimpleSavedObject" ,
"text" : "SimpleSavedObject"
}
] ,
"description" : [
"\nAttempts to create the current object using the serialized source. If an object already\nexists, a warning message requests an overwrite confirmation."
] ,
"children" : [
{
2021-04-15 17:36:10 +02:00
"id" : "def-public.saveWithConfirmation.$1" ,
2021-03-03 04:02:17 +01:00
"type" : "Object" ,
"label" : "source" ,
"isRequired" : true ,
"signature" : [
2021-04-15 17:36:10 +02:00
"SavedObjectAttributes"
2021-03-03 04:02:17 +01:00
] ,
"description" : [
"- serialized version of this object what will be indexed into elasticsearch."
] ,
"source" : {
"path" : "src/plugins/saved_objects/public/saved_object/helpers/save_with_confirmation.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 34
2021-03-03 04:02:17 +01:00
}
} ,
{
2021-04-15 17:36:10 +02:00
"id" : "def-public.saveWithConfirmation.$2.savedObject" ,
2021-03-03 04:02:17 +01:00
"type" : "Object" ,
"label" : "savedObject" ,
"tags" : [ ] ,
"description" : [ ] ,
"children" : [
{
2021-04-15 17:36:10 +02:00
"id" : "def-public.saveWithConfirmation.$2.savedObject.getEsType" ,
2021-03-03 04:02:17 +01:00
"type" : "Function" ,
"label" : "getEsType" ,
"signature" : [
"() => string"
] ,
"description" : [ ] ,
"children" : [ ] ,
"tags" : [ ] ,
"returnComment" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/public/saved_object/helpers/save_with_confirmation.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 36
2021-03-03 04:02:17 +01:00
}
} ,
{
"tags" : [ ] ,
2021-04-15 17:36:10 +02:00
"id" : "def-public.saveWithConfirmation.$2.savedObject.title" ,
2021-03-03 04:02:17 +01:00
"type" : "string" ,
"label" : "title" ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/public/saved_object/helpers/save_with_confirmation.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 37
2021-03-03 04:02:17 +01:00
}
} ,
{
"tags" : [ ] ,
2021-04-15 17:36:10 +02:00
"id" : "def-public.saveWithConfirmation.$2.savedObject.displayName" ,
2021-03-03 04:02:17 +01:00
"type" : "string" ,
"label" : "displayName" ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/public/saved_object/helpers/save_with_confirmation.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 38
2021-03-03 04:02:17 +01:00
}
}
] ,
"source" : {
"path" : "src/plugins/saved_objects/public/saved_object/helpers/save_with_confirmation.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 35
2021-03-03 04:02:17 +01:00
}
} ,
{
2021-04-15 17:36:10 +02:00
"id" : "def-public.saveWithConfirmation.$3" ,
2021-03-03 04:02:17 +01:00
"type" : "Object" ,
"label" : "options" ,
"isRequired" : true ,
"signature" : [
{
"pluginId" : "core" ,
"scope" : "public" ,
"docId" : "kibCoreSavedObjectsPluginApi" ,
"section" : "def-public.SavedObjectsCreateOptions" ,
"text" : "SavedObjectsCreateOptions"
}
] ,
"description" : [
"- options to pass to the saved object create method"
] ,
"source" : {
"path" : "src/plugins/saved_objects/public/saved_object/helpers/save_with_confirmation.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 40
2021-03-03 04:02:17 +01:00
}
} ,
{
2021-04-15 17:36:10 +02:00
"id" : "def-public.saveWithConfirmation.$4.services" ,
2021-03-03 04:02:17 +01:00
"type" : "Object" ,
"label" : "services" ,
"tags" : [ ] ,
"description" : [ ] ,
"children" : [
{
"tags" : [ ] ,
2021-04-15 17:36:10 +02:00
"id" : "def-public.saveWithConfirmation.$4.services.savedObjectsClient" ,
2021-03-03 04:02:17 +01:00
"type" : "Object" ,
"label" : "savedObjectsClient" ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/public/saved_object/helpers/save_with_confirmation.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 41
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
"Pick<" ,
{
"pluginId" : "core" ,
"scope" : "public" ,
"docId" : "kibCoreSavedObjectsPluginApi" ,
"section" : "def-public.SavedObjectsClient" ,
"text" : "SavedObjectsClient"
} ,
2021-04-15 17:36:10 +02:00
", \"get\" | \"delete\" | \"create\" | \"bulkCreate\" | \"find\" | \"bulkGet\" | \"update\" | \"bulkUpdate\">"
2021-03-03 04:02:17 +01:00
]
} ,
{
"tags" : [ ] ,
2021-04-15 17:36:10 +02:00
"id" : "def-public.saveWithConfirmation.$4.services.overlays" ,
2021-03-03 04:02:17 +01:00
"type" : "Object" ,
"label" : "overlays" ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/public/saved_object/helpers/save_with_confirmation.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 41
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
{
"pluginId" : "core" ,
"scope" : "public" ,
"docId" : "kibCorePluginApi" ,
"section" : "def-public.OverlayStart" ,
"text" : "OverlayStart"
}
]
}
] ,
"source" : {
"path" : "src/plugins/saved_objects/public/saved_object/helpers/save_with_confirmation.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 41
2021-03-03 04:02:17 +01:00
}
}
] ,
"tags" : [
"resolved"
] ,
"returnComment" : [
"- A promise that is resolved with the objects id if the object is\nsuccessfully indexed. If the overwrite confirmation was rejected, an error is thrown with\na confirmRejected = true parameter so that case can be handled differently than\na create or index error."
] ,
"source" : {
"path" : "src/plugins/saved_objects/public/saved_object/helpers/save_with_confirmation.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 33
2021-03-03 04:02:17 +01:00
} ,
"initialIsOpen" : false
} ,
{
2021-03-06 02:12:28 +01:00
"id" : "def-public.showSaveModal" ,
2021-03-03 04:02:17 +01:00
"type" : "Function" ,
2021-03-06 02:12:28 +01:00
"label" : "showSaveModal" ,
2021-03-03 04:02:17 +01:00
"signature" : [
2021-03-06 02:12:28 +01:00
"(saveModal: React.ReactElement<MinimalSaveModalProps, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)> | null) | (new (props: any) => React.Component<any, any, any>)>, I18nContext: ({ children }: { children: React.ReactNode; }) => JSX.Element, Wrapper: React.FC<{}> | undefined) => void"
2021-03-03 04:02:17 +01:00
] ,
"description" : [ ] ,
"children" : [
{
2021-04-15 17:36:10 +02:00
"id" : "def-public.showSaveModal.$1" ,
2021-03-03 04:02:17 +01:00
"type" : "Object" ,
2021-03-06 02:12:28 +01:00
"label" : "saveModal" ,
"isRequired" : true ,
"signature" : [
"React.ReactElement<MinimalSaveModalProps, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)> | null) | (new (props: any) => React.Component<any, any, any>)>"
] ,
2021-03-03 04:02:17 +01:00
"description" : [ ] ,
2021-03-06 02:12:28 +01:00
"source" : {
"path" : "src/plugins/saved_objects/public/save_modal/show_saved_object_save_modal.tsx" ,
"lineNumber" : 33
}
} ,
{
2021-04-15 17:36:10 +02:00
"id" : "def-public.showSaveModal.$2" ,
2021-03-06 02:12:28 +01:00
"type" : "Function" ,
"label" : "I18nContext" ,
"isRequired" : true ,
"signature" : [
"({ children }: { children: React.ReactNode; }) => JSX.Element"
2021-03-03 04:02:17 +01:00
] ,
2021-03-06 02:12:28 +01:00
"description" : [ ] ,
2021-03-03 04:02:17 +01:00
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "src/plugins/saved_objects/public/save_modal/show_saved_object_save_modal.tsx" ,
"lineNumber" : 34
}
} ,
{
2021-04-15 17:36:10 +02:00
"id" : "def-public.showSaveModal.$3" ,
2021-03-06 02:12:28 +01:00
"type" : "Function" ,
"label" : "Wrapper" ,
"isRequired" : false ,
"signature" : [
"React.FC<{}> | undefined"
] ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/public/save_modal/show_saved_object_save_modal.tsx" ,
"lineNumber" : 35
2021-03-03 04:02:17 +01:00
}
}
] ,
2021-03-06 02:12:28 +01:00
"tags" : [ ] ,
2021-03-03 04:02:17 +01:00
"returnComment" : [ ] ,
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "src/plugins/saved_objects/public/save_modal/show_saved_object_save_modal.tsx" ,
"lineNumber" : 32
2021-03-03 04:02:17 +01:00
} ,
"initialIsOpen" : false
}
] ,
"interfaces" : [
{
"id" : "def-public.OnSaveProps" ,
"type" : "Interface" ,
"label" : "OnSaveProps" ,
"description" : [ ] ,
"tags" : [ ] ,
"children" : [
{
"tags" : [ ] ,
"id" : "def-public.OnSaveProps.newTitle" ,
"type" : "string" ,
"label" : "newTitle" ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/public/save_modal/saved_object_save_modal.tsx" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 35
2021-03-03 04:02:17 +01:00
}
} ,
{
"tags" : [ ] ,
"id" : "def-public.OnSaveProps.newCopyOnSave" ,
"type" : "boolean" ,
"label" : "newCopyOnSave" ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/public/save_modal/saved_object_save_modal.tsx" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 36
2021-03-03 04:02:17 +01:00
}
} ,
{
"tags" : [ ] ,
"id" : "def-public.OnSaveProps.isTitleDuplicateConfirmed" ,
"type" : "boolean" ,
"label" : "isTitleDuplicateConfirmed" ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/public/save_modal/saved_object_save_modal.tsx" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 37
2021-03-03 04:02:17 +01:00
}
} ,
{
"tags" : [ ] ,
"id" : "def-public.OnSaveProps.onTitleDuplicate" ,
"type" : "Function" ,
"label" : "onTitleDuplicate" ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/public/save_modal/saved_object_save_modal.tsx" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 38
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
"() => void"
]
} ,
{
"tags" : [ ] ,
"id" : "def-public.OnSaveProps.newDescription" ,
"type" : "string" ,
"label" : "newDescription" ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/public/save_modal/saved_object_save_modal.tsx" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 39
2021-03-03 04:02:17 +01:00
}
}
] ,
"source" : {
"path" : "src/plugins/saved_objects/public/save_modal/saved_object_save_modal.tsx" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 34
2021-03-03 04:02:17 +01:00
} ,
"initialIsOpen" : false
} ,
{
"id" : "def-public.OriginSaveModalProps" ,
"type" : "Interface" ,
"label" : "OriginSaveModalProps" ,
"description" : [ ] ,
"tags" : [ ] ,
"children" : [
{
"tags" : [ ] ,
"id" : "def-public.OriginSaveModalProps.originatingApp" ,
"type" : "string" ,
"label" : "originatingApp" ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/public/save_modal/saved_object_save_modal_origin.tsx" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 23
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
"string | undefined"
]
} ,
{
"tags" : [ ] ,
"id" : "def-public.OriginSaveModalProps.getAppNameFromId" ,
"type" : "Function" ,
"label" : "getAppNameFromId" ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/public/save_modal/saved_object_save_modal_origin.tsx" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 24
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
"((appId: string) => string | undefined) | undefined"
]
} ,
{
"tags" : [ ] ,
"id" : "def-public.OriginSaveModalProps.originatingAppName" ,
"type" : "string" ,
"label" : "originatingAppName" ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/public/save_modal/saved_object_save_modal_origin.tsx" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 25
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
"string | undefined"
]
} ,
{
"tags" : [ ] ,
"id" : "def-public.OriginSaveModalProps.returnToOriginSwitchLabel" ,
"type" : "string" ,
"label" : "returnToOriginSwitchLabel" ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/public/save_modal/saved_object_save_modal_origin.tsx" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 26
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
"string | undefined"
]
} ,
{
"tags" : [ ] ,
"id" : "def-public.OriginSaveModalProps.documentInfo" ,
"type" : "Object" ,
"label" : "documentInfo" ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/public/save_modal/saved_object_save_modal_origin.tsx" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 27
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
"SaveModalDocumentInfo"
]
} ,
{
"tags" : [ ] ,
"id" : "def-public.OriginSaveModalProps.objectType" ,
"type" : "string" ,
"label" : "objectType" ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/public/save_modal/saved_object_save_modal_origin.tsx" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 28
2021-03-03 04:02:17 +01:00
}
} ,
{
"tags" : [ ] ,
"id" : "def-public.OriginSaveModalProps.onClose" ,
"type" : "Function" ,
"label" : "onClose" ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/public/save_modal/saved_object_save_modal_origin.tsx" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 29
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
"() => void"
]
} ,
{
"tags" : [ ] ,
"id" : "def-public.OriginSaveModalProps.options" ,
"type" : "CompoundType" ,
"label" : "options" ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/public/save_modal/saved_object_save_modal_origin.tsx" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 30
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
"string | number | boolean | {} | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)> | null) | (new (props: any) => React.Component<any, any, any>)> | React.ReactNodeArray | React.ReactPortal | ((state: " ,
{
"pluginId" : "savedObjects" ,
"scope" : "public" ,
"docId" : "kibSavedObjectsPluginApi" ,
"section" : "def-public.SaveModalState" ,
"text" : "SaveModalState"
} ,
") => React.ReactNode) | null | undefined"
]
} ,
{
"tags" : [ ] ,
"id" : "def-public.OriginSaveModalProps.onSave" ,
"type" : "Function" ,
"label" : "onSave" ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/public/save_modal/saved_object_save_modal_origin.tsx" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 31
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
"(props: " ,
{
"pluginId" : "savedObjects" ,
"scope" : "public" ,
"docId" : "kibSavedObjectsPluginApi" ,
"section" : "def-public.OnSaveProps" ,
"text" : "OnSaveProps"
} ,
" & { returnToOrigin: boolean; }) => void"
]
}
] ,
"source" : {
"path" : "src/plugins/saved_objects/public/save_modal/saved_object_save_modal_origin.tsx" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 22
2021-03-03 04:02:17 +01:00
} ,
"initialIsOpen" : false
} ,
{
2021-03-06 02:12:28 +01:00
"id" : "def-public.SavedObject" ,
2021-03-03 04:02:17 +01:00
"type" : "Interface" ,
2021-03-06 02:12:28 +01:00
"label" : "SavedObject" ,
2021-03-03 04:02:17 +01:00
"description" : [ ] ,
2021-03-11 20:29:40 +01:00
"tags" : [
"deprecated"
] ,
2021-03-03 04:02:17 +01:00
"children" : [
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.SavedObject._serialize" ,
"type" : "Function" ,
"label" : "_serialize" ,
2021-03-03 04:02:17 +01:00
"description" : [ ] ,
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "src/plugins/saved_objects/public/types.ts" ,
2021-03-11 20:29:40 +01:00
"lineNumber" : 26
2021-03-06 02:12:28 +01:00
} ,
"signature" : [
"() => { attributes: " ,
2021-04-15 17:36:10 +02:00
"SavedObjectAttributes" ,
2021-03-06 02:12:28 +01:00
"; references: " ,
2021-04-15 17:36:10 +02:00
"SavedObjectReference" ,
2021-03-06 02:12:28 +01:00
"[]; }"
]
2021-03-03 04:02:17 +01:00
} ,
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.SavedObject._source" ,
"type" : "Object" ,
"label" : "_source" ,
2021-03-03 04:02:17 +01:00
"description" : [ ] ,
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "src/plugins/saved_objects/public/types.ts" ,
2021-03-11 20:29:40 +01:00
"lineNumber" : 27
2021-03-06 02:12:28 +01:00
} ,
"signature" : [
"Record<string, unknown>"
]
2021-03-03 04:02:17 +01:00
} ,
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.SavedObject.applyESResp" ,
"type" : "Function" ,
"label" : "applyESResp" ,
2021-03-03 04:02:17 +01:00
"description" : [ ] ,
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "src/plugins/saved_objects/public/types.ts" ,
2021-03-11 20:29:40 +01:00
"lineNumber" : 28
2021-03-06 02:12:28 +01:00
} ,
"signature" : [
"(resp: Record<string, any>) => Promise<" ,
{
"pluginId" : "savedObjects" ,
"scope" : "public" ,
"docId" : "kibSavedObjectsPluginApi" ,
"section" : "def-public.SavedObject" ,
"text" : "SavedObject"
} ,
">"
]
2021-03-03 04:02:17 +01:00
} ,
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.SavedObject.copyOnSave" ,
2021-03-03 04:02:17 +01:00
"type" : "boolean" ,
2021-03-06 02:12:28 +01:00
"label" : "copyOnSave" ,
2021-03-03 04:02:17 +01:00
"description" : [ ] ,
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "src/plugins/saved_objects/public/types.ts" ,
2021-03-11 20:29:40 +01:00
"lineNumber" : 29
2021-03-03 04:02:17 +01:00
}
} ,
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.SavedObject.creationOpts" ,
"type" : "Function" ,
"label" : "creationOpts" ,
2021-03-03 04:02:17 +01:00
"description" : [ ] ,
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "src/plugins/saved_objects/public/types.ts" ,
2021-03-11 20:29:40 +01:00
"lineNumber" : 30
2021-03-06 02:12:28 +01:00
} ,
"signature" : [
"(opts: " ,
2021-04-15 17:36:10 +02:00
"SavedObjectCreationOpts" ,
2021-03-06 02:12:28 +01:00
") => Record<string, unknown>"
]
2021-03-03 04:02:17 +01:00
} ,
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.SavedObject.defaults" ,
"type" : "Any" ,
"label" : "defaults" ,
2021-03-03 04:02:17 +01:00
"description" : [ ] ,
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "src/plugins/saved_objects/public/types.ts" ,
2021-03-11 20:29:40 +01:00
"lineNumber" : 31
2021-03-06 02:12:28 +01:00
} ,
"signature" : [
"any"
]
2021-03-03 04:02:17 +01:00
} ,
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.SavedObject.delete" ,
2021-03-03 04:02:17 +01:00
"type" : "Function" ,
2021-03-06 02:12:28 +01:00
"label" : "delete" ,
2021-03-03 04:02:17 +01:00
"description" : [ ] ,
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "src/plugins/saved_objects/public/types.ts" ,
2021-03-11 20:29:40 +01:00
"lineNumber" : 32
2021-03-06 02:12:28 +01:00
} ,
2021-03-03 04:02:17 +01:00
"signature" : [
2021-03-06 02:12:28 +01:00
"(() => Promise<{}>) | undefined"
]
2021-03-03 04:02:17 +01:00
} ,
{
2021-03-06 02:12:28 +01:00
"tags" : [ ] ,
"id" : "def-public.SavedObject.destroy" ,
2021-03-03 04:02:17 +01:00
"type" : "Function" ,
2021-03-06 02:12:28 +01:00
"label" : "destroy" ,
2021-03-03 04:02:17 +01:00
"description" : [ ] ,
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "src/plugins/saved_objects/public/types.ts" ,
2021-03-11 20:29:40 +01:00
"lineNumber" : 33
2021-03-06 02:12:28 +01:00
} ,
"signature" : [
"() => void"
]
2021-03-03 04:02:17 +01:00
} ,
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.SavedObject.getDisplayName" ,
"type" : "Function" ,
"label" : "getDisplayName" ,
2021-03-03 04:02:17 +01:00
"description" : [ ] ,
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "src/plugins/saved_objects/public/types.ts" ,
2021-03-11 20:29:40 +01:00
"lineNumber" : 34
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
2021-03-06 02:12:28 +01:00
"() => string"
2021-03-03 04:02:17 +01:00
]
2021-03-06 02:12:28 +01:00
} ,
2021-03-03 04:02:17 +01:00
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.SavedObject.getEsType" ,
"type" : "Function" ,
"label" : "getEsType" ,
2021-03-03 04:02:17 +01:00
"description" : [ ] ,
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "src/plugins/saved_objects/public/types.ts" ,
2021-03-11 20:29:40 +01:00
"lineNumber" : 35
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
2021-03-06 02:12:28 +01:00
"() => string"
2021-03-03 04:02:17 +01:00
]
} ,
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.SavedObject.getFullPath" ,
"type" : "Function" ,
"label" : "getFullPath" ,
2021-03-03 04:02:17 +01:00
"description" : [ ] ,
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "src/plugins/saved_objects/public/types.ts" ,
2021-03-11 20:29:40 +01:00
"lineNumber" : 36
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
2021-03-06 02:12:28 +01:00
"() => string"
2021-03-03 04:02:17 +01:00
]
} ,
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.SavedObject.hydrateIndexPattern" ,
"type" : "Function" ,
"label" : "hydrateIndexPattern" ,
2021-03-03 04:02:17 +01:00
"description" : [ ] ,
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "src/plugins/saved_objects/public/types.ts" ,
2021-03-11 20:29:40 +01:00
"lineNumber" : 37
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
2021-03-06 02:12:28 +01:00
"((id?: string | undefined) => Promise<" ,
2021-03-03 04:02:17 +01:00
{
2021-03-06 02:12:28 +01:00
"pluginId" : "data" ,
"scope" : "common" ,
"docId" : "kibDataIndexPatternsPluginApi" ,
"section" : "def-common.IIndexPattern" ,
"text" : "IIndexPattern"
2021-03-03 04:02:17 +01:00
} ,
2021-03-06 02:12:28 +01:00
" | null>) | undefined"
2021-03-03 04:02:17 +01:00
]
} ,
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.SavedObject.id" ,
"type" : "string" ,
"label" : "id" ,
"description" : [ ] ,
2021-03-03 04:02:17 +01:00
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "src/plugins/saved_objects/public/types.ts" ,
2021-03-11 20:29:40 +01:00
"lineNumber" : 38
2021-03-06 02:12:28 +01:00
} ,
"signature" : [
"string | undefined"
]
2021-03-03 04:02:17 +01:00
} ,
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.SavedObject.init" ,
2021-03-03 04:02:17 +01:00
"type" : "Function" ,
2021-03-06 02:12:28 +01:00
"label" : "init" ,
"description" : [ ] ,
2021-03-03 04:02:17 +01:00
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "src/plugins/saved_objects/public/types.ts" ,
2021-03-11 20:29:40 +01:00
"lineNumber" : 39
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
2021-03-06 02:12:28 +01:00
"(() => Promise<" ,
2021-03-03 04:02:17 +01:00
{
"pluginId" : "savedObjects" ,
"scope" : "public" ,
"docId" : "kibSavedObjectsPluginApi" ,
2021-03-06 02:12:28 +01:00
"section" : "def-public.SavedObject" ,
"text" : "SavedObject"
2021-03-03 04:02:17 +01:00
} ,
2021-03-06 02:12:28 +01:00
">) | undefined"
2021-03-03 04:02:17 +01:00
]
} ,
{
2021-03-06 02:12:28 +01:00
"tags" : [ ] ,
"id" : "def-public.SavedObject.isSaving" ,
"type" : "boolean" ,
"label" : "isSaving" ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/public/types.ts" ,
2021-03-11 20:29:40 +01:00
"lineNumber" : 40
2021-03-06 02:12:28 +01:00
}
} ,
{
"tags" : [ ] ,
"id" : "def-public.SavedObject.isTitleChanged" ,
2021-03-03 04:02:17 +01:00
"type" : "Function" ,
2021-03-06 02:12:28 +01:00
"label" : "isTitleChanged" ,
"description" : [ ] ,
2021-03-03 04:02:17 +01:00
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "src/plugins/saved_objects/public/types.ts" ,
2021-03-11 20:29:40 +01:00
"lineNumber" : 41
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
2021-03-06 02:12:28 +01:00
"() => boolean"
2021-03-03 04:02:17 +01:00
]
} ,
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.SavedObject.lastSavedTitle" ,
2021-03-03 04:02:17 +01:00
"type" : "string" ,
2021-03-06 02:12:28 +01:00
"label" : "lastSavedTitle" ,
"description" : [ ] ,
2021-03-03 04:02:17 +01:00
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "src/plugins/saved_objects/public/types.ts" ,
2021-03-11 20:29:40 +01:00
"lineNumber" : 42
2021-03-03 04:02:17 +01:00
}
} ,
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.SavedObject.migrationVersion" ,
"type" : "Object" ,
"label" : "migrationVersion" ,
"description" : [ ] ,
2021-03-03 04:02:17 +01:00
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "src/plugins/saved_objects/public/types.ts" ,
2021-03-11 20:29:40 +01:00
"lineNumber" : 43
2021-03-06 02:12:28 +01:00
} ,
"signature" : [
"Record<string, any> | undefined"
]
2021-03-03 04:02:17 +01:00
} ,
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.SavedObject.save" ,
2021-03-03 04:02:17 +01:00
"type" : "Function" ,
2021-03-06 02:12:28 +01:00
"label" : "save" ,
"description" : [ ] ,
2021-03-03 04:02:17 +01:00
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "src/plugins/saved_objects/public/types.ts" ,
2021-03-11 20:29:40 +01:00
"lineNumber" : 44
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
2021-03-06 02:12:28 +01:00
"(saveOptions: " ,
2021-03-03 04:02:17 +01:00
{
"pluginId" : "savedObjects" ,
"scope" : "public" ,
"docId" : "kibSavedObjectsPluginApi" ,
2021-03-06 02:12:28 +01:00
"section" : "def-public.SavedObjectSaveOpts" ,
"text" : "SavedObjectSaveOpts"
2021-03-03 04:02:17 +01:00
} ,
2021-03-06 02:12:28 +01:00
") => Promise<string>"
2021-03-03 04:02:17 +01:00
]
2021-03-06 02:12:28 +01:00
} ,
2021-03-03 04:02:17 +01:00
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.SavedObject.searchSource" ,
"type" : "Object" ,
"label" : "searchSource" ,
2021-03-03 04:02:17 +01:00
"description" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/public/types.ts" ,
2021-03-11 20:29:40 +01:00
"lineNumber" : 45
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
2021-03-06 02:12:28 +01:00
"Pick<" ,
{
"pluginId" : "data" ,
"scope" : "common" ,
"docId" : "kibDataSearchPluginApi" ,
"section" : "def-common.SearchSource" ,
"text" : "SearchSource"
} ,
", \"create\" | \"history\" | \"setPreferredSearchStrategyId\" | \"setField\" | \"removeField\" | \"setFields\" | \"getId\" | \"getFields\" | \"getField\" | \"getOwnField\" | \"createCopy\" | \"createChild\" | \"setParent\" | \"getParent\" | \"fetch$\" | \"fetch\" | \"onRequestStart\" | \"getSearchRequestBody\" | \"destroy\" | \"getSerializedFields\" | \"serialize\"> | undefined"
2021-03-03 04:02:17 +01:00
]
} ,
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.SavedObject.searchSourceFields" ,
"type" : "Object" ,
"label" : "searchSourceFields" ,
2021-03-03 04:02:17 +01:00
"description" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/public/types.ts" ,
2021-03-11 20:29:40 +01:00
"lineNumber" : 46
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
2021-03-06 02:12:28 +01:00
{
"pluginId" : "data" ,
"scope" : "common" ,
"docId" : "kibDataSearchPluginApi" ,
"section" : "def-common.SearchSourceFields" ,
"text" : "SearchSourceFields"
} ,
" | undefined"
2021-03-03 04:02:17 +01:00
]
} ,
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.SavedObject.showInRecentlyAccessed" ,
"type" : "boolean" ,
"label" : "showInRecentlyAccessed" ,
2021-03-03 04:02:17 +01:00
"description" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/public/types.ts" ,
2021-03-11 20:29:40 +01:00
"lineNumber" : 47
2021-03-06 02:12:28 +01:00
}
2021-03-03 04:02:17 +01:00
} ,
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.SavedObject.title" ,
"type" : "string" ,
"label" : "title" ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/public/types.ts" ,
2021-03-11 20:29:40 +01:00
"lineNumber" : 48
2021-03-06 02:12:28 +01:00
}
} ,
{
"tags" : [ ] ,
"id" : "def-public.SavedObject.unresolvedIndexPatternReference" ,
"type" : "Object" ,
"label" : "unresolvedIndexPatternReference" ,
2021-03-03 04:02:17 +01:00
"description" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/public/types.ts" ,
2021-03-11 20:29:40 +01:00
"lineNumber" : 49
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
2021-04-15 17:36:10 +02:00
"SavedObjectReference" ,
2021-03-06 02:12:28 +01:00
" | undefined"
2021-03-03 04:02:17 +01:00
]
}
] ,
"source" : {
"path" : "src/plugins/saved_objects/public/types.ts" ,
2021-03-11 20:29:40 +01:00
"lineNumber" : 25
2021-03-03 04:02:17 +01:00
} ,
"initialIsOpen" : false
} ,
{
2021-03-06 02:12:28 +01:00
"id" : "def-public.SavedObjectConfig" ,
2021-03-03 04:02:17 +01:00
"type" : "Interface" ,
2021-03-06 02:12:28 +01:00
"label" : "SavedObjectConfig" ,
2021-03-03 04:02:17 +01:00
"description" : [ ] ,
"tags" : [ ] ,
"children" : [
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.SavedObjectConfig.afterESResp" ,
2021-03-03 04:02:17 +01:00
"type" : "Function" ,
2021-03-06 02:12:28 +01:00
"label" : "afterESResp" ,
2021-03-03 04:02:17 +01:00
"description" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/public/types.ts" ,
2021-03-11 20:29:40 +01:00
"lineNumber" : 79
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
2021-03-06 02:12:28 +01:00
"((savedObject: " ,
2021-03-03 04:02:17 +01:00
{
2021-03-06 02:12:28 +01:00
"pluginId" : "savedObjects" ,
"scope" : "public" ,
"docId" : "kibSavedObjectsPluginApi" ,
"section" : "def-public.SavedObject" ,
"text" : "SavedObject"
2021-03-03 04:02:17 +01:00
} ,
2021-03-06 02:12:28 +01:00
") => Promise<" ,
2021-03-03 04:02:17 +01:00
{
2021-03-06 02:12:28 +01:00
"pluginId" : "savedObjects" ,
"scope" : "public" ,
"docId" : "kibSavedObjectsPluginApi" ,
"section" : "def-public.SavedObject" ,
"text" : "SavedObject"
2021-03-03 04:02:17 +01:00
} ,
2021-03-06 02:12:28 +01:00
">) | undefined"
2021-03-03 04:02:17 +01:00
]
} ,
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.SavedObjectConfig.defaults" ,
"type" : "Any" ,
"label" : "defaults" ,
2021-03-03 04:02:17 +01:00
"description" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/public/types.ts" ,
2021-03-11 20:29:40 +01:00
"lineNumber" : 80
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
2021-03-06 02:12:28 +01:00
"any"
2021-03-03 04:02:17 +01:00
]
} ,
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.SavedObjectConfig.extractReferences" ,
2021-03-03 04:02:17 +01:00
"type" : "Function" ,
2021-03-06 02:12:28 +01:00
"label" : "extractReferences" ,
2021-03-03 04:02:17 +01:00
"description" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/public/types.ts" ,
2021-03-11 20:29:40 +01:00
"lineNumber" : 81
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
2021-03-06 02:12:28 +01:00
"((opts: " ,
2021-04-15 17:36:10 +02:00
"SavedObjectAttributesAndRefs" ,
2021-03-06 02:12:28 +01:00
") => " ,
2021-04-15 17:36:10 +02:00
"SavedObjectAttributesAndRefs" ,
2021-03-06 02:12:28 +01:00
") | undefined"
2021-03-03 04:02:17 +01:00
]
} ,
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.SavedObjectConfig.injectReferences" ,
2021-03-03 04:02:17 +01:00
"type" : "Function" ,
2021-03-06 02:12:28 +01:00
"label" : "injectReferences" ,
2021-03-03 04:02:17 +01:00
"description" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/public/types.ts" ,
2021-03-11 20:29:40 +01:00
"lineNumber" : 82
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
2021-03-06 02:12:28 +01:00
"(<T extends " ,
2021-03-03 04:02:17 +01:00
{
"pluginId" : "savedObjects" ,
"scope" : "public" ,
"docId" : "kibSavedObjectsPluginApi" ,
2021-03-06 02:12:28 +01:00
"section" : "def-public.SavedObject" ,
"text" : "SavedObject"
2021-03-03 04:02:17 +01:00
} ,
2021-03-06 02:12:28 +01:00
">(object: T, references: " ,
2021-04-15 17:36:10 +02:00
"SavedObjectReference" ,
2021-03-06 02:12:28 +01:00
"[]) => void) | undefined"
2021-03-03 04:02:17 +01:00
]
} ,
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.SavedObjectConfig.id" ,
"type" : "string" ,
"label" : "id" ,
2021-03-03 04:02:17 +01:00
"description" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/public/types.ts" ,
2021-03-11 20:29:40 +01:00
"lineNumber" : 83
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
2021-03-06 02:12:28 +01:00
"string | undefined"
2021-03-03 04:02:17 +01:00
]
} ,
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.SavedObjectConfig.init" ,
2021-03-03 04:02:17 +01:00
"type" : "Function" ,
2021-03-06 02:12:28 +01:00
"label" : "init" ,
2021-03-03 04:02:17 +01:00
"description" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/public/types.ts" ,
2021-03-11 20:29:40 +01:00
"lineNumber" : 84
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
2021-03-06 02:12:28 +01:00
"(() => void) | undefined"
2021-03-03 04:02:17 +01:00
]
} ,
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.SavedObjectConfig.indexPattern" ,
"type" : "Object" ,
"label" : "indexPattern" ,
2021-03-03 04:02:17 +01:00
"description" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/public/types.ts" ,
2021-03-11 20:29:40 +01:00
"lineNumber" : 85
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
2021-03-06 02:12:28 +01:00
{
"pluginId" : "data" ,
"scope" : "common" ,
"docId" : "kibDataIndexPatternsPluginApi" ,
"section" : "def-common.IIndexPattern" ,
"text" : "IIndexPattern"
} ,
" | undefined"
2021-03-03 04:02:17 +01:00
]
} ,
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.SavedObjectConfig.mapping" ,
"type" : "Object" ,
"label" : "mapping" ,
2021-03-03 04:02:17 +01:00
"description" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/public/types.ts" ,
2021-03-11 20:29:40 +01:00
"lineNumber" : 86
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
2021-03-06 02:12:28 +01:00
"Record<string, any> | undefined"
2021-03-03 04:02:17 +01:00
]
} ,
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.SavedObjectConfig.migrationVersion" ,
"type" : "Object" ,
"label" : "migrationVersion" ,
2021-03-03 04:02:17 +01:00
"description" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/public/types.ts" ,
2021-03-11 20:29:40 +01:00
"lineNumber" : 87
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
2021-03-06 02:12:28 +01:00
"Record<string, any> | undefined"
2021-03-03 04:02:17 +01:00
]
} ,
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.SavedObjectConfig.path" ,
"type" : "string" ,
"label" : "path" ,
2021-03-03 04:02:17 +01:00
"description" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/public/types.ts" ,
2021-03-11 20:29:40 +01:00
"lineNumber" : 88
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
2021-03-06 02:12:28 +01:00
"string | undefined"
2021-03-03 04:02:17 +01:00
]
} ,
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.SavedObjectConfig.searchSource" ,
"type" : "CompoundType" ,
"label" : "searchSource" ,
2021-03-03 04:02:17 +01:00
"description" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/public/types.ts" ,
2021-03-11 20:29:40 +01:00
"lineNumber" : 89
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
2021-03-06 02:12:28 +01:00
"boolean | Pick<" ,
2021-03-03 04:02:17 +01:00
{
"pluginId" : "data" ,
"scope" : "common" ,
2021-03-06 02:12:28 +01:00
"docId" : "kibDataSearchPluginApi" ,
"section" : "def-common.SearchSource" ,
"text" : "SearchSource"
2021-03-03 04:02:17 +01:00
} ,
2021-03-06 02:12:28 +01:00
", \"create\" | \"history\" | \"setPreferredSearchStrategyId\" | \"setField\" | \"removeField\" | \"setFields\" | \"getId\" | \"getFields\" | \"getField\" | \"getOwnField\" | \"createCopy\" | \"createChild\" | \"setParent\" | \"getParent\" | \"fetch$\" | \"fetch\" | \"onRequestStart\" | \"getSearchRequestBody\" | \"destroy\" | \"getSerializedFields\" | \"serialize\"> | undefined"
2021-03-03 04:02:17 +01:00
]
} ,
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.SavedObjectConfig.type" ,
2021-03-03 04:02:17 +01:00
"type" : "string" ,
2021-03-06 02:12:28 +01:00
"label" : "type" ,
2021-03-03 04:02:17 +01:00
"description" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/public/types.ts" ,
2021-03-11 20:29:40 +01:00
"lineNumber" : 90
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
"string | undefined"
]
2021-03-06 02:12:28 +01:00
}
] ,
"source" : {
"path" : "src/plugins/saved_objects/public/types.ts" ,
2021-03-11 20:29:40 +01:00
"lineNumber" : 77
2021-03-06 02:12:28 +01:00
} ,
"initialIsOpen" : false
} ,
{
"id" : "def-public.SavedObjectDecorator" ,
"type" : "Interface" ,
"label" : "SavedObjectDecorator" ,
"signature" : [
{
"pluginId" : "savedObjects" ,
"scope" : "public" ,
"docId" : "kibSavedObjectsPluginApi" ,
"section" : "def-public.SavedObjectDecorator" ,
"text" : "SavedObjectDecorator"
2021-03-03 04:02:17 +01:00
} ,
2021-03-06 02:12:28 +01:00
"<T>"
] ,
"description" : [ ] ,
"tags" : [ ] ,
"children" : [
2021-03-03 04:02:17 +01:00
{
2021-03-06 02:12:28 +01:00
"id" : "def-public.SavedObjectDecorator.getId" ,
"type" : "Function" ,
"label" : "getId" ,
"signature" : [
"() => string"
] ,
"description" : [
"\nId of the decorator"
] ,
"children" : [ ] ,
2021-03-03 04:02:17 +01:00
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"returnComment" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/public/saved_object/decorators/types.ts" ,
"lineNumber" : 15
}
} ,
{
"tags" : [ ] ,
"id" : "def-public.SavedObjectDecorator.decorateConfig" ,
2021-03-03 04:02:17 +01:00
"type" : "Function" ,
2021-03-06 02:12:28 +01:00
"label" : "decorateConfig" ,
"description" : [
"\nDecorate the saved object provided config. This can be used to enhance or alter the object's provided\nconfiguration."
] ,
2021-03-03 04:02:17 +01:00
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "src/plugins/saved_objects/public/saved_object/decorators/types.ts" ,
"lineNumber" : 21
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
2021-03-06 02:12:28 +01:00
"(config: " ,
2021-03-03 04:02:17 +01:00
{
"pluginId" : "savedObjects" ,
"scope" : "public" ,
"docId" : "kibSavedObjectsPluginApi" ,
2021-03-06 02:12:28 +01:00
"section" : "def-public.SavedObjectConfig" ,
"text" : "SavedObjectConfig"
2021-03-03 04:02:17 +01:00
} ,
2021-03-06 02:12:28 +01:00
") => void"
2021-03-03 04:02:17 +01:00
]
} ,
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.SavedObjectDecorator.decorateObject" ,
2021-03-03 04:02:17 +01:00
"type" : "Function" ,
2021-03-06 02:12:28 +01:00
"label" : "decorateObject" ,
"description" : [
"\nDecorate the saved object instance. Can be used to add additional methods to it.\n"
] ,
2021-03-03 04:02:17 +01:00
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "src/plugins/saved_objects/public/saved_object/decorators/types.ts" ,
"lineNumber" : 28
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
2021-03-06 02:12:28 +01:00
"(object: T) => void"
2021-03-03 04:02:17 +01:00
]
2021-03-06 02:12:28 +01:00
}
] ,
"source" : {
"path" : "src/plugins/saved_objects/public/saved_object/decorators/types.ts" ,
"lineNumber" : 11
} ,
"initialIsOpen" : false
} ,
{
"id" : "def-public.SavedObjectDecoratorConfig" ,
"type" : "Interface" ,
"label" : "SavedObjectDecoratorConfig" ,
"signature" : [
{
"pluginId" : "savedObjects" ,
"scope" : "public" ,
"docId" : "kibSavedObjectsPluginApi" ,
"section" : "def-public.SavedObjectDecoratorConfig" ,
"text" : "SavedObjectDecoratorConfig"
2021-03-03 04:02:17 +01:00
} ,
2021-03-06 02:12:28 +01:00
"<T>"
] ,
"description" : [ ] ,
"tags" : [ ] ,
"children" : [
2021-03-03 04:02:17 +01:00
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.SavedObjectDecoratorConfig.id" ,
2021-03-03 04:02:17 +01:00
"type" : "string" ,
2021-03-06 02:12:28 +01:00
"label" : "id" ,
"description" : [
"\nThe id of the decorator"
] ,
2021-03-03 04:02:17 +01:00
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "src/plugins/saved_objects/public/saved_object/decorators/registry.ts" ,
"lineNumber" : 17
2021-03-03 04:02:17 +01:00
}
} ,
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.SavedObjectDecoratorConfig.priority" ,
"type" : "number" ,
"label" : "priority" ,
"description" : [
"\nHighest priority will be called **last**\n(the decoration will be at the highest level)"
] ,
2021-03-03 04:02:17 +01:00
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "src/plugins/saved_objects/public/saved_object/decorators/registry.ts" ,
"lineNumber" : 22
}
} ,
{
"tags" : [ ] ,
"id" : "def-public.SavedObjectDecoratorConfig.factory" ,
"type" : "Function" ,
"label" : "factory" ,
"description" : [
"\nThe factory to use to create the decorator"
] ,
"source" : {
"path" : "src/plugins/saved_objects/public/saved_object/decorators/registry.ts" ,
"lineNumber" : 26
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
2021-03-06 02:12:28 +01:00
{
"pluginId" : "savedObjects" ,
"scope" : "public" ,
"docId" : "kibSavedObjectsPluginApi" ,
"section" : "def-public.SavedObjectDecoratorFactory" ,
"text" : "SavedObjectDecoratorFactory"
} ,
"<T>"
2021-03-03 04:02:17 +01:00
]
2021-03-06 02:12:28 +01:00
}
] ,
"source" : {
"path" : "src/plugins/saved_objects/public/saved_object/decorators/registry.ts" ,
"lineNumber" : 13
} ,
"initialIsOpen" : false
} ,
{
"id" : "def-public.SavedObjectLoaderFindOptions" ,
"type" : "Interface" ,
"label" : "SavedObjectLoaderFindOptions" ,
"description" : [ ] ,
"tags" : [ ] ,
"children" : [
2021-03-03 04:02:17 +01:00
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.SavedObjectLoaderFindOptions.size" ,
"type" : "number" ,
"label" : "size" ,
2021-03-03 04:02:17 +01:00
"description" : [ ] ,
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "src/plugins/saved_objects/public/saved_object/saved_object_loader.ts" ,
"lineNumber" : 19
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
2021-03-06 02:12:28 +01:00
"number | undefined"
2021-03-03 04:02:17 +01:00
]
} ,
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.SavedObjectLoaderFindOptions.fields" ,
"type" : "Array" ,
"label" : "fields" ,
2021-03-03 04:02:17 +01:00
"description" : [ ] ,
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "src/plugins/saved_objects/public/saved_object/saved_object_loader.ts" ,
"lineNumber" : 20
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
2021-03-06 02:12:28 +01:00
"string[] | undefined"
2021-03-03 04:02:17 +01:00
]
} ,
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.SavedObjectLoaderFindOptions.hasReference" ,
"type" : "Array" ,
"label" : "hasReference" ,
2021-03-03 04:02:17 +01:00
"description" : [ ] ,
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "src/plugins/saved_objects/public/saved_object/saved_object_loader.ts" ,
"lineNumber" : 21
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
{
2021-03-06 02:12:28 +01:00
"pluginId" : "core" ,
"scope" : "server" ,
"docId" : "kibCoreSavedObjectsPluginApi" ,
"section" : "def-server.SavedObjectsFindOptionsReference" ,
"text" : "SavedObjectsFindOptionsReference"
2021-03-03 04:02:17 +01:00
} ,
2021-03-06 02:12:28 +01:00
"[] | undefined"
2021-03-03 04:02:17 +01:00
]
2021-03-06 02:12:28 +01:00
}
] ,
"source" : {
"path" : "src/plugins/saved_objects/public/saved_object/saved_object_loader.ts" ,
"lineNumber" : 18
} ,
"initialIsOpen" : false
} ,
{
"id" : "def-public.SavedObjectMetaData" ,
"type" : "Interface" ,
"label" : "SavedObjectMetaData" ,
"signature" : [
{
"pluginId" : "savedObjects" ,
"scope" : "public" ,
"docId" : "kibSavedObjectsPluginApi" ,
"section" : "def-public.SavedObjectMetaData" ,
"text" : "SavedObjectMetaData"
2021-03-03 04:02:17 +01:00
} ,
2021-03-06 02:12:28 +01:00
"<T>"
] ,
"description" : [ ] ,
"tags" : [ ] ,
"children" : [
2021-03-03 04:02:17 +01:00
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.SavedObjectMetaData.type" ,
"type" : "string" ,
"label" : "type" ,
2021-03-03 04:02:17 +01:00
"description" : [ ] ,
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "src/plugins/saved_objects/public/finder/saved_object_finder.tsx" ,
"lineNumber" : 44
2021-03-03 04:02:17 +01:00
}
} ,
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.SavedObjectMetaData.name" ,
2021-03-03 04:02:17 +01:00
"type" : "string" ,
2021-03-06 02:12:28 +01:00
"label" : "name" ,
2021-03-03 04:02:17 +01:00
"description" : [ ] ,
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "src/plugins/saved_objects/public/finder/saved_object_finder.tsx" ,
"lineNumber" : 45
2021-03-03 04:02:17 +01:00
}
} ,
{
2021-03-06 02:12:28 +01:00
"id" : "def-public.SavedObjectMetaData.getIconForSavedObject" ,
"type" : "Function" ,
"label" : "getIconForSavedObject" ,
2021-03-03 04:02:17 +01:00
"signature" : [
2021-03-06 02:12:28 +01:00
"(savedObject: " ,
2021-03-03 04:02:17 +01:00
{
"pluginId" : "core" ,
2021-03-06 02:12:28 +01:00
"scope" : "public" ,
"docId" : "kibCoreSavedObjectsPluginApi" ,
"section" : "def-public.SimpleSavedObject" ,
"text" : "SimpleSavedObject"
2021-03-03 04:02:17 +01:00
} ,
2021-03-06 02:12:28 +01:00
"<T>) => " ,
"IconType"
] ,
2021-03-03 04:02:17 +01:00
"description" : [ ] ,
2021-03-06 02:12:28 +01:00
"children" : [
{
2021-04-15 17:36:10 +02:00
"id" : "def-public.SavedObjectMetaData.getIconForSavedObject.$1" ,
2021-03-06 02:12:28 +01:00
"type" : "Object" ,
"label" : "savedObject" ,
"isRequired" : true ,
"signature" : [
{
"pluginId" : "core" ,
"scope" : "public" ,
"docId" : "kibCoreSavedObjectsPluginApi" ,
"section" : "def-public.SimpleSavedObject" ,
"text" : "SimpleSavedObject"
} ,
"<T>"
] ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/public/finder/saved_object_finder.tsx" ,
"lineNumber" : 46
}
}
] ,
"tags" : [ ] ,
"returnComment" : [ ] ,
2021-03-03 04:02:17 +01:00
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "src/plugins/saved_objects/public/finder/saved_object_finder.tsx" ,
"lineNumber" : 46
}
} ,
{
"id" : "def-public.SavedObjectMetaData.getTooltipForSavedObject" ,
"type" : "Function" ,
"label" : "getTooltipForSavedObject" ,
2021-03-03 04:02:17 +01:00
"signature" : [
"((savedObject: " ,
{
2021-03-06 02:12:28 +01:00
"pluginId" : "core" ,
2021-03-03 04:02:17 +01:00
"scope" : "public" ,
2021-03-06 02:12:28 +01:00
"docId" : "kibCoreSavedObjectsPluginApi" ,
"section" : "def-public.SimpleSavedObject" ,
"text" : "SimpleSavedObject"
2021-03-03 04:02:17 +01:00
} ,
2021-03-06 02:12:28 +01:00
"<T>) => string) | undefined"
] ,
"description" : [ ] ,
"children" : [
2021-03-03 04:02:17 +01:00
{
2021-04-15 17:36:10 +02:00
"id" : "def-public.SavedObjectMetaData.getTooltipForSavedObject.$1" ,
2021-03-06 02:12:28 +01:00
"type" : "Object" ,
"label" : "savedObject" ,
"isRequired" : true ,
"signature" : [
{
"pluginId" : "core" ,
"scope" : "public" ,
"docId" : "kibCoreSavedObjectsPluginApi" ,
"section" : "def-public.SimpleSavedObject" ,
"text" : "SimpleSavedObject"
} ,
"<T>"
] ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/public/finder/saved_object_finder.tsx" ,
"lineNumber" : 47
}
}
] ,
2021-03-03 04:02:17 +01:00
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"returnComment" : [ ] ,
2021-03-03 04:02:17 +01:00
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "src/plugins/saved_objects/public/finder/saved_object_finder.tsx" ,
"lineNumber" : 47
}
} ,
{
"id" : "def-public.SavedObjectMetaData.showSavedObject" ,
"type" : "Function" ,
"label" : "showSavedObject" ,
2021-03-03 04:02:17 +01:00
"signature" : [
2021-03-06 02:12:28 +01:00
"((savedObject: " ,
{
"pluginId" : "core" ,
"scope" : "public" ,
"docId" : "kibCoreSavedObjectsPluginApi" ,
"section" : "def-public.SimpleSavedObject" ,
"text" : "SimpleSavedObject"
} ,
"<T>) => boolean) | undefined"
] ,
"description" : [ ] ,
"children" : [
{
2021-04-15 17:36:10 +02:00
"id" : "def-public.SavedObjectMetaData.showSavedObject.$1" ,
2021-03-06 02:12:28 +01:00
"type" : "Object" ,
"label" : "savedObject" ,
"isRequired" : true ,
"signature" : [
{
"pluginId" : "core" ,
"scope" : "public" ,
"docId" : "kibCoreSavedObjectsPluginApi" ,
"section" : "def-public.SimpleSavedObject" ,
"text" : "SimpleSavedObject"
} ,
"<T>"
] ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/public/finder/saved_object_finder.tsx" ,
"lineNumber" : 48
}
}
] ,
"tags" : [ ] ,
"returnComment" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/public/finder/saved_object_finder.tsx" ,
"lineNumber" : 48
}
2021-03-03 04:02:17 +01:00
} ,
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.SavedObjectMetaData.includeFields" ,
"type" : "Array" ,
"label" : "includeFields" ,
2021-03-03 04:02:17 +01:00
"description" : [ ] ,
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "src/plugins/saved_objects/public/finder/saved_object_finder.tsx" ,
"lineNumber" : 49
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
2021-03-06 02:12:28 +01:00
"string[] | undefined"
2021-03-03 04:02:17 +01:00
]
2021-03-06 02:12:28 +01:00
}
] ,
"source" : {
"path" : "src/plugins/saved_objects/public/finder/saved_object_finder.tsx" ,
"lineNumber" : 43
} ,
"initialIsOpen" : false
} ,
{
"id" : "def-public.SavedObjectSaveOpts" ,
"type" : "Interface" ,
"label" : "SavedObjectSaveOpts" ,
"description" : [ ] ,
"tags" : [ ] ,
"children" : [
2021-03-03 04:02:17 +01:00
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.SavedObjectSaveOpts.confirmOverwrite" ,
"type" : "CompoundType" ,
"label" : "confirmOverwrite" ,
2021-03-03 04:02:17 +01:00
"description" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/public/types.ts" ,
2021-03-11 20:29:40 +01:00
"lineNumber" : 53
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
2021-03-06 02:12:28 +01:00
"boolean | undefined"
2021-03-03 04:02:17 +01:00
]
} ,
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.SavedObjectSaveOpts.isTitleDuplicateConfirmed" ,
"type" : "CompoundType" ,
"label" : "isTitleDuplicateConfirmed" ,
2021-03-03 04:02:17 +01:00
"description" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/public/types.ts" ,
2021-03-11 20:29:40 +01:00
"lineNumber" : 54
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
2021-03-06 02:12:28 +01:00
"boolean | undefined"
2021-03-03 04:02:17 +01:00
]
} ,
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.SavedObjectSaveOpts.onTitleDuplicate" ,
2021-03-03 04:02:17 +01:00
"type" : "Function" ,
2021-03-06 02:12:28 +01:00
"label" : "onTitleDuplicate" ,
2021-03-03 04:02:17 +01:00
"description" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/public/types.ts" ,
2021-03-11 20:29:40 +01:00
"lineNumber" : 55
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
"(() => void) | undefined"
]
} ,
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.SavedObjectSaveOpts.returnToOrigin" ,
"type" : "CompoundType" ,
"label" : "returnToOrigin" ,
2021-03-03 04:02:17 +01:00
"description" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/public/types.ts" ,
2021-03-11 20:29:40 +01:00
"lineNumber" : 56
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
2021-03-06 02:12:28 +01:00
"boolean | undefined"
2021-03-03 04:02:17 +01:00
]
2021-03-06 02:12:28 +01:00
}
] ,
"source" : {
"path" : "src/plugins/saved_objects/public/types.ts" ,
2021-03-11 20:29:40 +01:00
"lineNumber" : 52
2021-03-06 02:12:28 +01:00
} ,
"initialIsOpen" : false
} ,
{
"id" : "def-public.SaveModalState" ,
"type" : "Interface" ,
"label" : "SaveModalState" ,
"description" : [ ] ,
"tags" : [ ] ,
"children" : [
{
"tags" : [ ] ,
"id" : "def-public.SaveModalState.title" ,
"type" : "string" ,
"label" : "title" ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/public/save_modal/saved_object_save_modal.tsx" ,
"lineNumber" : 59
}
2021-03-03 04:02:17 +01:00
} ,
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.SaveModalState.copyOnSave" ,
"type" : "boolean" ,
"label" : "copyOnSave" ,
2021-03-03 04:02:17 +01:00
"description" : [ ] ,
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "src/plugins/saved_objects/public/save_modal/saved_object_save_modal.tsx" ,
"lineNumber" : 60
}
2021-03-03 04:02:17 +01:00
} ,
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.SaveModalState.isTitleDuplicateConfirmed" ,
"type" : "boolean" ,
"label" : "isTitleDuplicateConfirmed" ,
2021-03-03 04:02:17 +01:00
"description" : [ ] ,
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "src/plugins/saved_objects/public/save_modal/saved_object_save_modal.tsx" ,
"lineNumber" : 61
}
2021-03-03 04:02:17 +01:00
} ,
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.SaveModalState.hasTitleDuplicate" ,
"type" : "boolean" ,
"label" : "hasTitleDuplicate" ,
2021-03-03 04:02:17 +01:00
"description" : [ ] ,
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "src/plugins/saved_objects/public/save_modal/saved_object_save_modal.tsx" ,
"lineNumber" : 62
}
2021-03-03 04:02:17 +01:00
} ,
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.SaveModalState.isLoading" ,
"type" : "boolean" ,
"label" : "isLoading" ,
2021-03-03 04:02:17 +01:00
"description" : [ ] ,
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "src/plugins/saved_objects/public/save_modal/saved_object_save_modal.tsx" ,
"lineNumber" : 63
}
2021-03-03 04:02:17 +01:00
} ,
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.SaveModalState.visualizationDescription" ,
2021-03-03 04:02:17 +01:00
"type" : "string" ,
2021-03-06 02:12:28 +01:00
"label" : "visualizationDescription" ,
2021-03-03 04:02:17 +01:00
"description" : [ ] ,
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "src/plugins/saved_objects/public/save_modal/saved_object_save_modal.tsx" ,
"lineNumber" : 64
}
2021-03-03 04:02:17 +01:00
}
] ,
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "src/plugins/saved_objects/public/save_modal/saved_object_save_modal.tsx" ,
"lineNumber" : 58
2021-03-03 04:02:17 +01:00
} ,
"initialIsOpen" : false
}
] ,
"enums" : [ ] ,
"misc" : [
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.LISTING_LIMIT_SETTING" ,
"type" : "string" ,
"label" : "LISTING_LIMIT_SETTING" ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/common/index.ts" ,
"lineNumber" : 10
} ,
"signature" : [
"\"savedObjects:listingLimit\""
2021-03-03 04:02:17 +01:00
] ,
2021-03-06 02:12:28 +01:00
"initialIsOpen" : false
} ,
{
"tags" : [ ] ,
"id" : "def-public.PER_PAGE_SETTING" ,
"type" : "string" ,
"label" : "PER_PAGE_SETTING" ,
"description" : [ ] ,
2021-03-03 04:02:17 +01:00
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "src/plugins/saved_objects/common/index.ts" ,
"lineNumber" : 9
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
2021-03-06 02:12:28 +01:00
"\"savedObjects:perPage\""
2021-03-03 04:02:17 +01:00
] ,
"initialIsOpen" : false
} ,
{
"id" : "def-public.SavedObjectDecoratorFactory" ,
"type" : "Type" ,
"label" : "SavedObjectDecoratorFactory" ,
"tags" : [ ] ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/public/saved_object/decorators/types.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 31
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
"(services: " ,
"SavedObjectKibanaServices" ,
") => " ,
{
"pluginId" : "savedObjects" ,
"scope" : "public" ,
"docId" : "kibSavedObjectsPluginApi" ,
"section" : "def-public.SavedObjectDecorator" ,
"text" : "SavedObjectDecorator"
} ,
"<T>"
] ,
"initialIsOpen" : false
} ,
{
2021-03-06 02:12:28 +01:00
"id" : "def-public.SaveResult" ,
"type" : "Type" ,
"label" : "SaveResult" ,
2021-03-03 04:02:17 +01:00
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"description" : [
"\nRepresents the result of trying to persist the saved object.\nContains `error` prop if something unexpected happened (e.g. network error).\nContains an `id` if persisting was successful. If `id` and\n`error` are undefined, persisting was not successful, but the\nmodal can still recover (e.g. the name of the saved object was already taken)."
2021-03-03 04:02:17 +01:00
] ,
"source" : {
2021-03-06 02:12:28 +01:00
"path" : "src/plugins/saved_objects/public/save_modal/show_saved_object_save_modal.tsx" ,
"lineNumber" : 21
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
2021-03-06 02:12:28 +01:00
"{ id?: string | undefined; } | { error: Error; }"
2021-03-03 04:02:17 +01:00
] ,
"initialIsOpen" : false
}
] ,
"objects" : [ ] ,
"start" : {
"id" : "def-public.SavedObjectsStart" ,
"type" : "Interface" ,
"label" : "SavedObjectsStart" ,
"description" : [ ] ,
"tags" : [ ] ,
"children" : [
{
2021-03-11 20:29:40 +01:00
"tags" : [
"deprecated"
] ,
2021-03-03 04:02:17 +01:00
"id" : "def-public.SavedObjectsStart.SavedObjectClass" ,
"type" : "Object" ,
"label" : "SavedObjectClass" ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/public/plugin.ts" ,
2021-03-11 20:29:40 +01:00
"lineNumber" : 27
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
"new (raw: Record<string, any>) => " ,
{
"pluginId" : "savedObjects" ,
"scope" : "public" ,
"docId" : "kibSavedObjectsPluginApi" ,
"section" : "def-public.SavedObject" ,
"text" : "SavedObject"
}
]
} ,
{
2021-03-11 20:29:40 +01:00
"tags" : [
"deprecated"
] ,
2021-03-03 04:02:17 +01:00
"id" : "def-public.SavedObjectsStart.settings" ,
"type" : "Object" ,
"label" : "settings" ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/public/plugin.ts" ,
2021-03-11 20:29:40 +01:00
"lineNumber" : 29
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
"{ getPerPage: () => number; getListingLimit: () => number; }"
]
}
] ,
"source" : {
"path" : "src/plugins/saved_objects/public/plugin.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 25
2021-03-03 04:02:17 +01:00
} ,
"lifecycle" : "start" ,
"initialIsOpen" : true
} ,
"setup" : {
"id" : "def-public.SavedObjectSetup" ,
"type" : "Interface" ,
"label" : "SavedObjectSetup" ,
"description" : [ ] ,
"tags" : [ ] ,
"children" : [
{
"tags" : [ ] ,
"id" : "def-public.SavedObjectSetup.registerDecorator" ,
"type" : "Function" ,
"label" : "registerDecorator" ,
"description" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/public/plugin.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 22
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
"(config: " ,
{
"pluginId" : "savedObjects" ,
"scope" : "public" ,
"docId" : "kibSavedObjectsPluginApi" ,
"section" : "def-public.SavedObjectDecoratorConfig" ,
"text" : "SavedObjectDecoratorConfig"
} ,
"<any>) => void"
]
}
] ,
"source" : {
"path" : "src/plugins/saved_objects/public/plugin.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 21
2021-03-03 04:02:17 +01:00
} ,
"lifecycle" : "setup" ,
"initialIsOpen" : true
}
} ,
"server" : {
"classes" : [ ] ,
"functions" : [ ] ,
"interfaces" : [ ] ,
"enums" : [ ] ,
"misc" : [ ] ,
"objects" : [ ]
} ,
"common" : {
"classes" : [ ] ,
"functions" : [ ] ,
"interfaces" : [ ] ,
"enums" : [ ] ,
"misc" : [
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-common.LISTING_LIMIT_SETTING" ,
2021-03-03 04:02:17 +01:00
"type" : "string" ,
2021-03-06 02:12:28 +01:00
"label" : "LISTING_LIMIT_SETTING" ,
2021-03-03 04:02:17 +01:00
"description" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/common/index.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 10
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
2021-03-06 02:12:28 +01:00
"\"savedObjects:listingLimit\""
2021-03-03 04:02:17 +01:00
] ,
"initialIsOpen" : false
} ,
{
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"id" : "def-common.PER_PAGE_SETTING" ,
2021-03-03 04:02:17 +01:00
"type" : "string" ,
2021-03-06 02:12:28 +01:00
"label" : "PER_PAGE_SETTING" ,
2021-03-03 04:02:17 +01:00
"description" : [ ] ,
"source" : {
"path" : "src/plugins/saved_objects/common/index.ts" ,
2021-03-06 02:12:28 +01:00
"lineNumber" : 9
2021-03-03 04:02:17 +01:00
} ,
"signature" : [
2021-03-06 02:12:28 +01:00
"\"savedObjects:perPage\""
2021-03-03 04:02:17 +01:00
] ,
"initialIsOpen" : false
}
] ,
"objects" : [ ]
}
}