2021-03-03 04:02:17 +01:00
{
"id" : "spacesOss" ,
"client" : {
"classes" : [ ] ,
"functions" : [ ] ,
"interfaces" : [
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "spacesOss" ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.LegacyUrlConflictProps" ,
2021-03-03 04:02:17 +01:00
"type" : "Interface" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"label" : "LegacyUrlConflictProps" ,
2021-05-05 16:50:59 +02:00
"description" : [
"\nProperties for the LegacyUrlConflict component."
2021-03-03 04:02:17 +01:00
] ,
2021-05-06 21:29:47 +02:00
"source" : {
"path" : "src/plugins/spaces_oss/public/api.ts" ,
2021-06-29 18:29:58 +02:00
"lineNumber" : 254
2021-05-06 21:29:47 +02:00
} ,
"deprecated" : false ,
2021-03-03 04:02:17 +01:00
"children" : [
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "spacesOss" ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.LegacyUrlConflictProps.objectNoun" ,
"type" : "string" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"label" : "objectNoun" ,
"description" : [
"\nThe string that is used to describe the object in the callout, e.g., _There is a legacy URL for this page that points to a different\n**object**_.\n\nDefault value is 'object'."
] ,
2021-05-06 21:29:47 +02:00
"signature" : [
"string | undefined"
] ,
2021-03-03 04:02:17 +01:00
"source" : {
"path" : "src/plugins/spaces_oss/public/api.ts" ,
2021-06-29 18:29:58 +02:00
"lineNumber" : 261
2021-03-03 04:02:17 +01:00
} ,
2021-05-06 21:29:47 +02:00
"deprecated" : false
2021-03-03 04:02:17 +01:00
} ,
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "spacesOss" ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.LegacyUrlConflictProps.currentObjectId" ,
"type" : "string" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"label" : "currentObjectId" ,
"description" : [
"\nThe ID of the object that is currently shown on the page."
2021-03-03 04:02:17 +01:00
] ,
2021-03-06 02:12:28 +01:00
"source" : {
"path" : "src/plugins/spaces_oss/public/api.ts" ,
2021-06-29 18:29:58 +02:00
"lineNumber" : 265
2021-05-06 21:29:47 +02:00
} ,
"deprecated" : false
2021-03-06 02:12:28 +01:00
} ,
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "spacesOss" ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.LegacyUrlConflictProps.otherObjectId" ,
"type" : "string" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"label" : "otherObjectId" ,
"description" : [
"\nThe ID of the other object that the legacy URL alias points to."
] ,
2021-03-03 04:02:17 +01:00
"source" : {
"path" : "src/plugins/spaces_oss/public/api.ts" ,
2021-06-29 18:29:58 +02:00
"lineNumber" : 269
2021-05-06 21:29:47 +02:00
} ,
"deprecated" : false
2021-03-03 04:02:17 +01:00
} ,
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "spacesOss" ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.LegacyUrlConflictProps.otherObjectPath" ,
"type" : "string" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"label" : "otherObjectPath" ,
2021-03-03 04:02:17 +01:00
"description" : [
2021-03-06 02:12:28 +01:00
"\nThe path to use for the new URL, optionally including `search` and/or `hash` URL components."
2021-03-03 04:02:17 +01:00
] ,
"source" : {
"path" : "src/plugins/spaces_oss/public/api.ts" ,
2021-06-29 18:29:58 +02:00
"lineNumber" : 273
2021-05-06 21:29:47 +02:00
} ,
"deprecated" : false
2021-03-03 04:02:17 +01:00
}
] ,
"initialIsOpen" : false
} ,
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "spacesOss" ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.ShareToSpaceFlyoutProps" ,
2021-03-03 04:02:17 +01:00
"type" : "Interface" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"label" : "ShareToSpaceFlyoutProps" ,
2021-05-05 16:50:59 +02:00
"description" : [
"\nProperties for the ShareToSpaceFlyout."
2021-03-03 04:02:17 +01:00
] ,
2021-05-06 21:29:47 +02:00
"source" : {
"path" : "src/plugins/spaces_oss/public/api.ts" ,
"lineNumber" : 131
} ,
"deprecated" : false ,
2021-03-03 04:02:17 +01:00
"children" : [
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "spacesOss" ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.ShareToSpaceFlyoutProps.savedObjectTarget" ,
2021-03-03 04:02:17 +01:00
"type" : "Object" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"label" : "savedObjectTarget" ,
2021-03-03 04:02:17 +01:00
"description" : [
2021-03-06 02:12:28 +01:00
"\nThe object to render the flyout for."
2021-03-03 04:02:17 +01:00
] ,
"signature" : [
{
"pluginId" : "spacesOss" ,
"scope" : "public" ,
"docId" : "kibSpacesOssPluginApi" ,
2021-03-06 02:12:28 +01:00
"section" : "def-public.ShareToSpaceSavedObjectTarget" ,
"text" : "ShareToSpaceSavedObjectTarget"
2021-03-03 04:02:17 +01:00
}
2021-05-06 21:29:47 +02:00
] ,
"source" : {
"path" : "src/plugins/spaces_oss/public/api.ts" ,
"lineNumber" : 135
} ,
"deprecated" : false
2021-03-03 04:02:17 +01:00
} ,
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "spacesOss" ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.ShareToSpaceFlyoutProps.flyoutIcon" ,
"type" : "string" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"label" : "flyoutIcon" ,
2021-03-03 04:02:17 +01:00
"description" : [
2021-03-06 02:12:28 +01:00
"\nThe EUI icon that is rendered in the flyout's title.\n\nDefault is 'share'."
2021-03-03 04:02:17 +01:00
] ,
2021-05-06 21:29:47 +02:00
"signature" : [
"string | undefined"
] ,
2021-03-03 04:02:17 +01:00
"source" : {
"path" : "src/plugins/spaces_oss/public/api.ts" ,
2021-05-05 16:50:59 +02:00
"lineNumber" : 141
2021-03-03 04:02:17 +01:00
} ,
2021-05-06 21:29:47 +02:00
"deprecated" : false
2021-03-06 02:12:28 +01:00
} ,
2021-03-03 04:02:17 +01:00
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "spacesOss" ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.ShareToSpaceFlyoutProps.flyoutTitle" ,
"type" : "string" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"label" : "flyoutTitle" ,
2021-03-03 04:02:17 +01:00
"description" : [
2021-03-06 02:12:28 +01:00
"\nThe string that is rendered in the flyout's title.\n\nDefault is 'Edit spaces for object'."
2021-03-03 04:02:17 +01:00
] ,
2021-05-06 21:29:47 +02:00
"signature" : [
"string | undefined"
] ,
2021-03-03 04:02:17 +01:00
"source" : {
"path" : "src/plugins/spaces_oss/public/api.ts" ,
2021-05-05 16:50:59 +02:00
"lineNumber" : 147
2021-03-03 04:02:17 +01:00
} ,
2021-05-06 21:29:47 +02:00
"deprecated" : false
2021-03-03 04:02:17 +01:00
} ,
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "spacesOss" ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.ShareToSpaceFlyoutProps.enableCreateCopyCallout" ,
"type" : "CompoundType" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"label" : "enableCreateCopyCallout" ,
2021-03-03 04:02:17 +01:00
"description" : [
2021-03-06 02:12:28 +01:00
"\nWhen enabled, if the object is not yet shared to multiple spaces, a callout will be displayed that suggests the user might want to\ncreate a copy instead.\n\nDefault value is false."
2021-03-03 04:02:17 +01:00
] ,
2021-05-06 21:29:47 +02:00
"signature" : [
"boolean | undefined"
] ,
2021-03-03 04:02:17 +01:00
"source" : {
"path" : "src/plugins/spaces_oss/public/api.ts" ,
2021-05-05 16:50:59 +02:00
"lineNumber" : 154
2021-03-03 04:02:17 +01:00
} ,
2021-05-06 21:29:47 +02:00
"deprecated" : false
2021-03-03 04:02:17 +01:00
} ,
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "spacesOss" ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.ShareToSpaceFlyoutProps.enableCreateNewSpaceLink" ,
"type" : "CompoundType" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"label" : "enableCreateNewSpaceLink" ,
2021-03-03 04:02:17 +01:00
"description" : [
2021-03-06 02:12:28 +01:00
"\nWhen enabled, if no other spaces exist _and_ the user has the appropriate privileges, a sentence will be displayed that suggests the\nuser might want to create a space.\n\nDefault value is false."
2021-03-03 04:02:17 +01:00
] ,
2021-05-06 21:29:47 +02:00
"signature" : [
"boolean | undefined"
] ,
2021-03-03 04:02:17 +01:00
"source" : {
"path" : "src/plugins/spaces_oss/public/api.ts" ,
2021-05-05 16:50:59 +02:00
"lineNumber" : 161
2021-03-03 04:02:17 +01:00
} ,
2021-05-06 21:29:47 +02:00
"deprecated" : false
2021-03-03 04:02:17 +01:00
} ,
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "spacesOss" ,
2021-03-03 04:02:17 +01:00
"id" : "def-public.ShareToSpaceFlyoutProps.behaviorContext" ,
"type" : "CompoundType" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-03 04:02:17 +01:00
"label" : "behaviorContext" ,
"description" : [
"\nWhen set to 'within-space' (default), the flyout behaves like it is running on a page within the active space, and it will prevent the\nuser from removing the object from the active space.\n\nConversely, when set to 'outside-space', the flyout behaves like it is running on a page outside of any space, so it will allow the\nuser to remove the object from the active space."
] ,
2021-05-06 21:29:47 +02:00
"signature" : [
"\"within-space\" | \"outside-space\" | undefined"
] ,
2021-03-03 04:02:17 +01:00
"source" : {
"path" : "src/plugins/spaces_oss/public/api.ts" ,
2021-05-05 16:50:59 +02:00
"lineNumber" : 169
2021-03-03 04:02:17 +01:00
} ,
2021-05-06 21:29:47 +02:00
"deprecated" : false
2021-03-03 04:02:17 +01:00
} ,
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "spacesOss" ,
2021-03-03 04:02:17 +01:00
"id" : "def-public.ShareToSpaceFlyoutProps.changeSpacesHandler" ,
"type" : "Function" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-03 04:02:17 +01:00
"label" : "changeSpacesHandler" ,
"description" : [
2021-06-29 18:29:58 +02:00
"\nOptional handler that is called when the user has saved changes and there are spaces to be added to and/or removed from the object and\nits relatives. If this is not defined, a default handler will be used that calls `/api/spaces/_update_objects_spaces` and displays a\ntoast indicating what occurred."
2021-03-03 04:02:17 +01:00
] ,
2021-05-06 21:29:47 +02:00
"signature" : [
2021-06-29 18:29:58 +02:00
"((objects: { type: string; id: string; }[], spacesToAdd: string[], spacesToRemove: string[]) => Promise<void>) | undefined"
2021-05-06 21:29:47 +02:00
] ,
2021-03-03 04:02:17 +01:00
"source" : {
"path" : "src/plugins/spaces_oss/public/api.ts" ,
2021-05-05 16:50:59 +02:00
"lineNumber" : 175
2021-03-03 04:02:17 +01:00
} ,
2021-05-06 21:29:47 +02:00
"deprecated" : false
2021-03-03 04:02:17 +01:00
} ,
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "spacesOss" ,
2021-03-03 04:02:17 +01:00
"id" : "def-public.ShareToSpaceFlyoutProps.onUpdate" ,
"type" : "Function" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-03 04:02:17 +01:00
"label" : "onUpdate" ,
"description" : [
2021-06-29 18:29:58 +02:00
"\nOptional callback when the target object and its relatives are updated."
2021-03-03 04:02:17 +01:00
] ,
2021-05-06 21:29:47 +02:00
"signature" : [
2021-06-29 18:29:58 +02:00
"((updatedObjects: { type: string; id: string; }[]) => void) | undefined"
2021-05-06 21:29:47 +02:00
] ,
2021-03-03 04:02:17 +01:00
"source" : {
"path" : "src/plugins/spaces_oss/public/api.ts" ,
2021-06-29 18:29:58 +02:00
"lineNumber" : 183
2021-03-03 04:02:17 +01:00
} ,
2021-05-06 21:29:47 +02:00
"deprecated" : false
2021-03-03 04:02:17 +01:00
} ,
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "spacesOss" ,
2021-03-03 04:02:17 +01:00
"id" : "def-public.ShareToSpaceFlyoutProps.onClose" ,
"type" : "Function" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-03 04:02:17 +01:00
"label" : "onClose" ,
"description" : [
"\nOptional callback when the flyout is closed."
] ,
2021-05-06 21:29:47 +02:00
"signature" : [
"(() => void) | undefined"
] ,
2021-03-03 04:02:17 +01:00
"source" : {
"path" : "src/plugins/spaces_oss/public/api.ts" ,
2021-06-29 18:29:58 +02:00
"lineNumber" : 187
2021-03-03 04:02:17 +01:00
} ,
2021-05-06 21:29:47 +02:00
"deprecated" : false
2021-03-03 04:02:17 +01:00
}
] ,
"initialIsOpen" : false
} ,
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "spacesOss" ,
2021-03-03 04:02:17 +01:00
"id" : "def-public.ShareToSpaceSavedObjectTarget" ,
"type" : "Interface" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-03 04:02:17 +01:00
"label" : "ShareToSpaceSavedObjectTarget" ,
2021-05-05 16:50:59 +02:00
"description" : [
"\nDescribes the target saved object during a share operation."
2021-03-03 04:02:17 +01:00
] ,
2021-05-06 21:29:47 +02:00
"source" : {
"path" : "src/plugins/spaces_oss/public/api.ts" ,
2021-06-29 18:29:58 +02:00
"lineNumber" : 193
2021-05-06 21:29:47 +02:00
} ,
"deprecated" : false ,
2021-03-03 04:02:17 +01:00
"children" : [
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "spacesOss" ,
2021-03-03 04:02:17 +01:00
"id" : "def-public.ShareToSpaceSavedObjectTarget.type" ,
"type" : "string" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-03 04:02:17 +01:00
"label" : "type" ,
"description" : [
"\nThe object's type."
] ,
"source" : {
"path" : "src/plugins/spaces_oss/public/api.ts" ,
2021-06-29 18:29:58 +02:00
"lineNumber" : 197
2021-05-06 21:29:47 +02:00
} ,
"deprecated" : false
2021-03-03 04:02:17 +01:00
} ,
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "spacesOss" ,
2021-03-03 04:02:17 +01:00
"id" : "def-public.ShareToSpaceSavedObjectTarget.id" ,
"type" : "string" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-03 04:02:17 +01:00
"label" : "id" ,
"description" : [
"\nThe object's ID."
] ,
"source" : {
"path" : "src/plugins/spaces_oss/public/api.ts" ,
2021-06-29 18:29:58 +02:00
"lineNumber" : 201
2021-05-06 21:29:47 +02:00
} ,
"deprecated" : false
2021-03-03 04:02:17 +01:00
} ,
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "spacesOss" ,
2021-03-03 04:02:17 +01:00
"id" : "def-public.ShareToSpaceSavedObjectTarget.namespaces" ,
"type" : "Array" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-03 04:02:17 +01:00
"label" : "namespaces" ,
"description" : [
"\nThe namespaces that the object currently exists in."
] ,
2021-05-06 21:29:47 +02:00
"signature" : [
"string[]"
] ,
2021-03-03 04:02:17 +01:00
"source" : {
"path" : "src/plugins/spaces_oss/public/api.ts" ,
2021-06-29 18:29:58 +02:00
"lineNumber" : 205
2021-03-03 04:02:17 +01:00
} ,
2021-05-06 21:29:47 +02:00
"deprecated" : false
2021-03-03 04:02:17 +01:00
} ,
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "spacesOss" ,
2021-03-03 04:02:17 +01:00
"id" : "def-public.ShareToSpaceSavedObjectTarget.icon" ,
"type" : "string" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-03 04:02:17 +01:00
"label" : "icon" ,
"description" : [
"\nThe EUI icon that is rendered in the flyout's subtitle.\n\nDefault is 'empty'."
] ,
2021-05-06 21:29:47 +02:00
"signature" : [
"string | undefined"
] ,
2021-03-03 04:02:17 +01:00
"source" : {
"path" : "src/plugins/spaces_oss/public/api.ts" ,
2021-06-29 18:29:58 +02:00
"lineNumber" : 211
2021-03-03 04:02:17 +01:00
} ,
2021-05-06 21:29:47 +02:00
"deprecated" : false
2021-03-03 04:02:17 +01:00
} ,
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "spacesOss" ,
2021-03-03 04:02:17 +01:00
"id" : "def-public.ShareToSpaceSavedObjectTarget.title" ,
"type" : "string" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-03 04:02:17 +01:00
"label" : "title" ,
"description" : [
"\nThe string that is rendered in the flyout's subtitle.\n\nDefault is `${type} [id=${id}]`."
] ,
2021-05-06 21:29:47 +02:00
"signature" : [
"string | undefined"
] ,
2021-03-03 04:02:17 +01:00
"source" : {
"path" : "src/plugins/spaces_oss/public/api.ts" ,
2021-06-29 18:29:58 +02:00
"lineNumber" : 217
2021-03-03 04:02:17 +01:00
} ,
2021-05-06 21:29:47 +02:00
"deprecated" : false
2021-03-03 04:02:17 +01:00
} ,
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "spacesOss" ,
2021-03-03 04:02:17 +01:00
"id" : "def-public.ShareToSpaceSavedObjectTarget.noun" ,
"type" : "string" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-03 04:02:17 +01:00
"label" : "noun" ,
"description" : [
"\nThe string that is used to describe the object in several places, e.g., _Make **object** available in selected spaces only_.\n\nDefault value is 'object'."
] ,
2021-05-06 21:29:47 +02:00
"signature" : [
"string | undefined"
] ,
2021-03-03 04:02:17 +01:00
"source" : {
"path" : "src/plugins/spaces_oss/public/api.ts" ,
2021-06-29 18:29:58 +02:00
"lineNumber" : 223
2021-03-03 04:02:17 +01:00
} ,
2021-05-06 21:29:47 +02:00
"deprecated" : false
2021-03-03 04:02:17 +01:00
}
] ,
"initialIsOpen" : false
} ,
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "spacesOss" ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.SpaceAvatarProps" ,
2021-03-03 04:02:17 +01:00
"type" : "Interface" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"label" : "SpaceAvatarProps" ,
2021-05-05 16:50:59 +02:00
"description" : [
"\nProperties for the SpaceAvatar component."
2021-03-03 04:02:17 +01:00
] ,
2021-05-06 21:29:47 +02:00
"source" : {
"path" : "src/plugins/spaces_oss/public/api.ts" ,
2021-06-29 18:29:58 +02:00
"lineNumber" : 279
2021-05-06 21:29:47 +02:00
} ,
"deprecated" : false ,
2021-03-03 04:02:17 +01:00
"children" : [
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "spacesOss" ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.SpaceAvatarProps.space" ,
"type" : "Object" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"label" : "space" ,
2021-05-05 16:50:59 +02:00
"description" : [
"The space to represent with an avatar."
] ,
2021-03-03 04:02:17 +01:00
"signature" : [
2021-06-07 23:55:35 +02:00
"{ id?: string | undefined; name?: string | undefined; description?: string | undefined; color?: string | undefined; initials?: string | undefined; imageUrl?: string | undefined; disabledFeatures?: string[] | undefined; _reserved?: boolean | undefined; }"
2021-05-06 21:29:47 +02:00
] ,
"source" : {
"path" : "src/plugins/spaces_oss/public/api.ts" ,
2021-06-29 18:29:58 +02:00
"lineNumber" : 281
2021-05-06 21:29:47 +02:00
} ,
"deprecated" : false
2021-03-03 04:02:17 +01:00
} ,
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "spacesOss" ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.SpaceAvatarProps.size" ,
"type" : "CompoundType" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"label" : "size" ,
2021-05-05 16:50:59 +02:00
"description" : [
"The size of the avatar."
] ,
2021-05-06 21:29:47 +02:00
"signature" : [
"\"m\" | \"s\" | \"l\" | \"xl\" | undefined"
] ,
2021-03-03 04:02:17 +01:00
"source" : {
"path" : "src/plugins/spaces_oss/public/api.ts" ,
2021-06-29 18:29:58 +02:00
"lineNumber" : 284
2021-03-03 04:02:17 +01:00
} ,
2021-05-06 21:29:47 +02:00
"deprecated" : false
2021-03-03 04:02:17 +01:00
} ,
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "spacesOss" ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.SpaceAvatarProps.className" ,
"type" : "string" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"label" : "className" ,
2021-05-05 16:50:59 +02:00
"description" : [
"Optional CSS class(es) to apply."
] ,
2021-05-06 21:29:47 +02:00
"signature" : [
"string | undefined"
] ,
2021-03-06 02:12:28 +01:00
"source" : {
"path" : "src/plugins/spaces_oss/public/api.ts" ,
2021-06-29 18:29:58 +02:00
"lineNumber" : 287
2021-03-06 02:12:28 +01:00
} ,
2021-05-06 21:29:47 +02:00
"deprecated" : false
2021-03-06 02:12:28 +01:00
} ,
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "spacesOss" ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.SpaceAvatarProps.announceSpaceName" ,
2021-03-03 04:02:17 +01:00
"type" : "CompoundType" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"label" : "announceSpaceName" ,
2021-03-03 04:02:17 +01:00
"description" : [
2021-03-06 02:12:28 +01:00
"\nWhen enabled, allows EUI to provide an aria-label for this component, which is announced on screen readers.\n\nDefault value is true."
2021-03-03 04:02:17 +01:00
] ,
2021-05-06 21:29:47 +02:00
"signature" : [
"boolean | undefined"
] ,
2021-03-03 04:02:17 +01:00
"source" : {
"path" : "src/plugins/spaces_oss/public/api.ts" ,
2021-06-29 18:29:58 +02:00
"lineNumber" : 294
} ,
"deprecated" : false
} ,
{
"parentPluginId" : "spacesOss" ,
"id" : "def-public.SpaceAvatarProps.isDisabled" ,
"type" : "CompoundType" ,
"tags" : [ ] ,
"label" : "isDisabled" ,
"description" : [
"\nWhether or not to render the avatar in a disabled state.\n\nDefault value is false."
] ,
"signature" : [
"boolean | undefined"
] ,
"source" : {
"path" : "src/plugins/spaces_oss/public/api.ts" ,
"lineNumber" : 301
2021-03-03 04:02:17 +01:00
} ,
2021-05-06 21:29:47 +02:00
"deprecated" : false
2021-03-03 04:02:17 +01:00
}
] ,
"initialIsOpen" : false
} ,
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "spacesOss" ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.SpaceListProps" ,
2021-03-03 04:02:17 +01:00
"type" : "Interface" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"label" : "SpaceListProps" ,
2021-05-05 16:50:59 +02:00
"description" : [
"\nProperties for the SpaceList component."
2021-03-03 04:02:17 +01:00
] ,
2021-05-06 21:29:47 +02:00
"source" : {
"path" : "src/plugins/spaces_oss/public/api.ts" ,
2021-06-29 18:29:58 +02:00
"lineNumber" : 229
2021-05-06 21:29:47 +02:00
} ,
"deprecated" : false ,
2021-03-03 04:02:17 +01:00
"children" : [
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "spacesOss" ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.SpaceListProps.namespaces" ,
"type" : "Array" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"label" : "namespaces" ,
2021-03-03 04:02:17 +01:00
"description" : [
2021-03-06 02:12:28 +01:00
"\nThe namespaces of a saved object to render into a corresponding list of spaces."
2021-03-03 04:02:17 +01:00
] ,
2021-05-06 21:29:47 +02:00
"signature" : [
"string[]"
] ,
2021-03-03 04:02:17 +01:00
"source" : {
"path" : "src/plugins/spaces_oss/public/api.ts" ,
2021-06-29 18:29:58 +02:00
"lineNumber" : 233
2021-03-03 04:02:17 +01:00
} ,
2021-05-06 21:29:47 +02:00
"deprecated" : false
2021-03-03 04:02:17 +01:00
} ,
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "spacesOss" ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.SpaceListProps.displayLimit" ,
"type" : "number" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"label" : "displayLimit" ,
2021-03-03 04:02:17 +01:00
"description" : [
2021-03-06 02:12:28 +01:00
"\nOptional limit to the number of spaces that can be displayed in the list. If the number of spaces exceeds this limit, they will be\nhidden behind a \"show more\" button. Set to 0 to disable.\n\nDefault value is 5."
2021-03-03 04:02:17 +01:00
] ,
2021-05-06 21:29:47 +02:00
"signature" : [
"number | undefined"
] ,
2021-03-03 04:02:17 +01:00
"source" : {
"path" : "src/plugins/spaces_oss/public/api.ts" ,
2021-06-29 18:29:58 +02:00
"lineNumber" : 240
2021-03-06 02:12:28 +01:00
} ,
2021-05-06 21:29:47 +02:00
"deprecated" : false
2021-03-03 04:02:17 +01:00
} ,
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "spacesOss" ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.SpaceListProps.behaviorContext" ,
"type" : "CompoundType" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"label" : "behaviorContext" ,
2021-03-03 04:02:17 +01:00
"description" : [
2021-03-06 02:12:28 +01:00
"\nWhen set to 'within-space' (default), the space list behaves like it is running on a page within the active space, and it will omit the\nactive space (e.g., it displays a list of all the _other_ spaces that an object is shared to).\n\nConversely, when set to 'outside-space', the space list behaves like it is running on a page outside of any space, so it will not omit\nthe active space."
] ,
2021-05-06 21:29:47 +02:00
"signature" : [
"\"within-space\" | \"outside-space\" | undefined"
] ,
2021-03-06 02:12:28 +01:00
"source" : {
"path" : "src/plugins/spaces_oss/public/api.ts" ,
2021-06-29 18:29:58 +02:00
"lineNumber" : 248
2021-03-06 02:12:28 +01:00
} ,
2021-05-06 21:29:47 +02:00
"deprecated" : false
2021-03-06 02:12:28 +01:00
}
] ,
"initialIsOpen" : false
} ,
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "spacesOss" ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.SpacesApi" ,
"type" : "Interface" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"label" : "SpacesApi" ,
2021-05-05 16:50:59 +02:00
"description" : [
"\nClient-side Spaces API."
2021-03-06 02:12:28 +01:00
] ,
2021-05-06 21:29:47 +02:00
"source" : {
"path" : "src/plugins/spaces_oss/public/api.ts" ,
"lineNumber" : 17
} ,
"deprecated" : false ,
2021-03-06 02:12:28 +01:00
"children" : [
{
2021-05-20 19:22:41 +02:00
"parentPluginId" : "spacesOss" ,
2021-05-11 18:00:23 +02:00
"id" : "def-public.SpacesApi.getActiveSpace$" ,
"type" : "Function" ,
2021-05-20 19:22:41 +02:00
"tags" : [ ] ,
2021-05-11 18:00:23 +02:00
"label" : "getActiveSpace$" ,
2021-05-20 19:22:41 +02:00
"description" : [
"\nObservable representing the currently active space.\nThe details of the space can change without a full page reload (such as display name, color, etc.)"
] ,
2021-03-06 02:12:28 +01:00
"signature" : [
2021-05-11 18:00:23 +02:00
"() => " ,
2021-03-06 02:12:28 +01:00
"Observable" ,
"<" ,
{
"pluginId" : "spacesOss" ,
"scope" : "common" ,
"docId" : "kibSpacesOssPluginApi" ,
"section" : "def-common.Space" ,
"text" : "Space"
} ,
">"
2021-05-06 21:29:47 +02:00
] ,
"source" : {
"path" : "src/plugins/spaces_oss/public/api.ts" ,
"lineNumber" : 22
2021-05-20 19:22:41 +02:00
} ,
"deprecated" : false ,
"children" : [ ] ,
"returnComment" : [ ]
2021-03-06 02:12:28 +01:00
} ,
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "spacesOss" ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.SpacesApi.getActiveSpace" ,
"type" : "Function" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"label" : "getActiveSpace" ,
2021-05-06 21:29:47 +02:00
"description" : [
"\nRetrieve the currently active space."
] ,
2021-03-06 02:12:28 +01:00
"signature" : [
"() => Promise<" ,
{
"pluginId" : "spacesOss" ,
"scope" : "common" ,
"docId" : "kibSpacesOssPluginApi" ,
"section" : "def-common.Space" ,
"text" : "Space"
} ,
">"
2021-03-03 04:02:17 +01:00
] ,
"source" : {
"path" : "src/plugins/spaces_oss/public/api.ts" ,
2021-05-05 16:50:59 +02:00
"lineNumber" : 27
2021-05-06 21:29:47 +02:00
} ,
"deprecated" : false ,
"children" : [ ] ,
"returnComment" : [ ]
2021-03-03 04:02:17 +01:00
} ,
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "spacesOss" ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.SpacesApi.ui" ,
"type" : "Object" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"label" : "ui" ,
2021-03-03 04:02:17 +01:00
"description" : [
2021-05-05 16:50:59 +02:00
"\nUI components and services to add spaces capabilities to an application."
2021-03-03 04:02:17 +01:00
] ,
2021-03-06 02:12:28 +01:00
"signature" : [
{
"pluginId" : "spacesOss" ,
"scope" : "public" ,
"docId" : "kibSpacesOssPluginApi" ,
"section" : "def-public.SpacesApiUi" ,
"text" : "SpacesApiUi"
}
2021-05-06 21:29:47 +02:00
] ,
"source" : {
"path" : "src/plugins/spaces_oss/public/api.ts" ,
"lineNumber" : 32
} ,
"deprecated" : false
2021-03-03 04:02:17 +01:00
}
] ,
"initialIsOpen" : false
} ,
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "spacesOss" ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.SpacesApiUi" ,
2021-03-03 04:02:17 +01:00
"type" : "Interface" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"label" : "SpacesApiUi" ,
2021-05-05 16:50:59 +02:00
"description" : [
"\nUI components and services to add spaces capabilities to an application."
2021-03-03 04:02:17 +01:00
] ,
2021-05-06 21:29:47 +02:00
"source" : {
"path" : "src/plugins/spaces_oss/public/api.ts" ,
"lineNumber" : 43
} ,
"deprecated" : false ,
2021-03-03 04:02:17 +01:00
"children" : [
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "spacesOss" ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.SpacesApiUi.components" ,
2021-03-03 04:02:17 +01:00
"type" : "Object" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"label" : "components" ,
"description" : [
2021-05-05 16:50:59 +02:00
"\nLazy-loadable {@link SpacesApiUiComponent | React components} to support the Spaces feature."
2021-03-06 02:12:28 +01:00
] ,
2021-03-03 04:02:17 +01:00
"signature" : [
{
"pluginId" : "spacesOss" ,
2021-03-06 02:12:28 +01:00
"scope" : "public" ,
2021-03-03 04:02:17 +01:00
"docId" : "kibSpacesOssPluginApi" ,
2021-03-06 02:12:28 +01:00
"section" : "def-public.SpacesApiUiComponent" ,
"text" : "SpacesApiUiComponent"
}
2021-05-06 21:29:47 +02:00
] ,
"source" : {
"path" : "src/plugins/spaces_oss/public/api.ts" ,
"lineNumber" : 47
} ,
"deprecated" : false
2021-03-06 02:12:28 +01:00
} ,
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "spacesOss" ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.SpacesApiUi.redirectLegacyUrl" ,
"type" : "Function" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"label" : "redirectLegacyUrl" ,
"description" : [
"\nRedirect the user from a legacy URL to a new URL. This needs to be used if a call to `SavedObjectsClient.resolve()` results in an\n`\"aliasMatch\"` outcome, which indicates that the user has loaded the page using a legacy URL. Calling this function will trigger a\nclient-side redirect to the new URL, and it will display a toast to the user.\n\nConsumers need to determine the local path for the new URL on their own, based on the object ID that was used to call\n`SavedObjectsClient.resolve()` (old ID) and the object ID in the result (new ID). For example...\n\nThe old object ID is `workpad-123` and the new object ID is `workpad-e08b9bdb-ec14-4339-94c4-063bddfd610e`.\n\nFull legacy URL: `https://localhost:5601/app/canvas#/workpad/workpad-123/page/1`\n\nNew URL path: `#/workpad/workpad-e08b9bdb-ec14-4339-94c4-063bddfd610e/page/1`\n\nThe protocol, hostname, port, base path, and app path are automatically included.\n"
] ,
2021-05-06 21:29:47 +02:00
"signature" : [
"(path: string, objectNoun?: string | undefined) => Promise<void>"
] ,
2021-03-06 02:12:28 +01:00
"source" : {
"path" : "src/plugins/spaces_oss/public/api.ts" ,
2021-05-05 16:50:59 +02:00
"lineNumber" : 68
2021-03-06 02:12:28 +01:00
} ,
2021-06-07 23:55:35 +02:00
"deprecated" : false ,
"returnComment" : [ ] ,
"children" : [
{
"parentPluginId" : "spacesOss" ,
"id" : "def-public.path" ,
"type" : "string" ,
"tags" : [ ] ,
"label" : "path" ,
"description" : [
"The path to use for the new URL, optionally including `search` and/or `hash` URL components."
] ,
"source" : {
"path" : "src/plugins/spaces_oss/public/api.ts" ,
"lineNumber" : 68
} ,
"deprecated" : false
} ,
{
"parentPluginId" : "spacesOss" ,
"id" : "def-public.objectNoun" ,
"type" : "string" ,
"tags" : [ ] ,
"label" : "objectNoun" ,
"description" : [
"The string that is used to describe the object in the toast, e.g., _The **object** you're looking for has a new\nlocation_. Default value is 'object'."
] ,
"signature" : [
"string | undefined"
] ,
"source" : {
"path" : "src/plugins/spaces_oss/public/api.ts" ,
"lineNumber" : 68
} ,
"deprecated" : false
}
]
2021-03-06 02:12:28 +01:00
}
] ,
"initialIsOpen" : false
} ,
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "spacesOss" ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.SpacesApiUiComponent" ,
"type" : "Interface" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"label" : "SpacesApiUiComponent" ,
"description" : [
2021-05-05 16:50:59 +02:00
"\nReact UI components to be used to display the Spaces feature in any application."
2021-03-06 02:12:28 +01:00
] ,
2021-05-06 21:29:47 +02:00
"source" : {
"path" : "src/plugins/spaces_oss/public/api.ts" ,
"lineNumber" : 74
} ,
"deprecated" : false ,
2021-03-06 02:12:28 +01:00
"children" : [
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "spacesOss" ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.SpacesApiUiComponent.getSpacesContextProvider" ,
"type" : "Function" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"label" : "getSpacesContextProvider" ,
"description" : [
"\nProvides a context that is required to render some Spaces components."
] ,
"signature" : [
2021-06-07 23:55:35 +02:00
"(props: " ,
2021-03-06 02:12:28 +01:00
{
"pluginId" : "spacesOss" ,
"scope" : "public" ,
"docId" : "kibSpacesOssPluginApi" ,
"section" : "def-public.SpacesContextProps" ,
"text" : "SpacesContextProps"
2021-03-03 04:02:17 +01:00
} ,
2021-06-07 23:55:35 +02:00
") => 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>)>"
2021-05-06 21:29:47 +02:00
] ,
"source" : {
"path" : "src/plugins/spaces_oss/public/api.ts" ,
"lineNumber" : 78
} ,
2021-06-07 23:55:35 +02:00
"deprecated" : false ,
"returnComment" : [ ] ,
"children" : [
{
"parentPluginId" : "spacesOss" ,
"id" : "def-public.props" ,
"type" : "Uncategorized" ,
"tags" : [ ] ,
"label" : "props" ,
"description" : [ ] ,
"signature" : [
"T"
] ,
"source" : {
"path" : "src/plugins/spaces_oss/public/api.ts" ,
"lineNumber" : 38
} ,
"deprecated" : false
}
]
2021-03-03 04:02:17 +01:00
} ,
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "spacesOss" ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.SpacesApiUiComponent.getShareToSpaceFlyout" ,
"type" : "Function" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"label" : "getShareToSpaceFlyout" ,
"description" : [
"\nDisplays a flyout to edit the spaces that an object is shared to.\n\nNote: must be rendered inside of a SpacesContext."
] ,
2021-03-03 04:02:17 +01:00
"signature" : [
2021-06-07 23:55:35 +02:00
"(props: " ,
2021-03-06 02:12:28 +01:00
{
"pluginId" : "spacesOss" ,
"scope" : "public" ,
"docId" : "kibSpacesOssPluginApi" ,
"section" : "def-public.ShareToSpaceFlyoutProps" ,
"text" : "ShareToSpaceFlyoutProps"
} ,
2021-06-07 23:55:35 +02:00
") => 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>)>"
2021-05-06 21:29:47 +02:00
] ,
"source" : {
"path" : "src/plugins/spaces_oss/public/api.ts" ,
"lineNumber" : 84
} ,
2021-06-07 23:55:35 +02:00
"deprecated" : false ,
"returnComment" : [ ] ,
"children" : [
{
"parentPluginId" : "spacesOss" ,
"id" : "def-public.props" ,
"type" : "Uncategorized" ,
"tags" : [ ] ,
"label" : "props" ,
"description" : [ ] ,
"signature" : [
"T"
] ,
"source" : {
"path" : "src/plugins/spaces_oss/public/api.ts" ,
"lineNumber" : 38
} ,
"deprecated" : false
}
]
2021-03-03 04:02:17 +01:00
} ,
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "spacesOss" ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.SpacesApiUiComponent.getSpaceList" ,
"type" : "Function" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"label" : "getSpaceList" ,
"description" : [
"\nDisplays a corresponding list of spaces for a given list of saved object namespaces. It shows up to five spaces (and an indicator for\nany number of spaces that the user is not authorized to see) by default. If more than five named spaces would be displayed, the extras\n(along with the unauthorized spaces indicator, if present) are hidden behind a button. If '*' (aka \"All spaces\") is present, it\nsupersedes all of the above and just displays a single badge without a button.\n\nNote: must be rendered inside of a SpacesContext."
] ,
2021-03-03 04:02:17 +01:00
"signature" : [
2021-06-07 23:55:35 +02:00
"(props: " ,
2021-03-06 02:12:28 +01:00
{
"pluginId" : "spacesOss" ,
"scope" : "public" ,
"docId" : "kibSpacesOssPluginApi" ,
"section" : "def-public.SpaceListProps" ,
"text" : "SpaceListProps"
} ,
2021-06-07 23:55:35 +02:00
") => 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>)>"
2021-05-06 21:29:47 +02:00
] ,
"source" : {
"path" : "src/plugins/spaces_oss/public/api.ts" ,
"lineNumber" : 93
} ,
2021-06-07 23:55:35 +02:00
"deprecated" : false ,
"returnComment" : [ ] ,
"children" : [
{
"parentPluginId" : "spacesOss" ,
"id" : "def-public.props" ,
"type" : "Uncategorized" ,
"tags" : [ ] ,
"label" : "props" ,
"description" : [ ] ,
"signature" : [
"T"
] ,
"source" : {
"path" : "src/plugins/spaces_oss/public/api.ts" ,
"lineNumber" : 38
} ,
"deprecated" : false
}
]
2021-03-03 04:02:17 +01:00
} ,
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "spacesOss" ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.SpacesApiUiComponent.getLegacyUrlConflict" ,
"type" : "Function" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"label" : "getLegacyUrlConflict" ,
2021-03-03 04:02:17 +01:00
"description" : [
2021-03-06 02:12:28 +01:00
"\nDisplays a callout that needs to be used if a call to `SavedObjectsClient.resolve()` results in an `\"conflict\"` outcome, which\nindicates that the user has loaded the page which is associated directly with one object (A), *and* with a legacy URL that points to a\ndifferent object (B).\n\nIn this case, `SavedObjectsClient.resolve()` has returned object A. This component displays a warning callout to the user explaining\nthat there is a conflict, and it includes a button that will redirect the user to object B when clicked.\n\nConsumers need to determine the local path for the new URL on their own, based on the object ID that was used to call\n`SavedObjectsClient.resolve()` (A) and the `aliasTargetId` value in the response (B). For example...\n\nA is `workpad-123` and B is `workpad-e08b9bdb-ec14-4339-94c4-063bddfd610e`.\n\nFull legacy URL: `https://localhost:5601/app/canvas#/workpad/workpad-123/page/1`\n\nNew URL path: `#/workpad/workpad-e08b9bdb-ec14-4339-94c4-063bddfd610e/page/1`"
2021-03-03 04:02:17 +01:00
] ,
"signature" : [
2021-06-07 23:55:35 +02:00
"(props: " ,
2021-03-06 02:12:28 +01:00
{
"pluginId" : "spacesOss" ,
"scope" : "public" ,
"docId" : "kibSpacesOssPluginApi" ,
"section" : "def-public.LegacyUrlConflictProps" ,
"text" : "LegacyUrlConflictProps"
} ,
2021-06-07 23:55:35 +02:00
") => 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>)>"
2021-05-06 21:29:47 +02:00
] ,
"source" : {
"path" : "src/plugins/spaces_oss/public/api.ts" ,
"lineNumber" : 111
} ,
2021-06-07 23:55:35 +02:00
"deprecated" : false ,
"returnComment" : [ ] ,
"children" : [
{
"parentPluginId" : "spacesOss" ,
"id" : "def-public.props" ,
"type" : "Uncategorized" ,
"tags" : [ ] ,
"label" : "props" ,
"description" : [ ] ,
"signature" : [
"T"
] ,
"source" : {
"path" : "src/plugins/spaces_oss/public/api.ts" ,
"lineNumber" : 38
} ,
"deprecated" : false
}
]
2021-03-06 02:12:28 +01:00
} ,
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "spacesOss" ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.SpacesApiUiComponent.getSpaceAvatar" ,
"type" : "Function" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"label" : "getSpaceAvatar" ,
"description" : [
"\nDisplays an avatar for the given space."
] ,
"signature" : [
2021-06-07 23:55:35 +02:00
"(props: " ,
2021-03-06 02:12:28 +01:00
{
"pluginId" : "spacesOss" ,
"scope" : "public" ,
"docId" : "kibSpacesOssPluginApi" ,
"section" : "def-public.SpaceAvatarProps" ,
"text" : "SpaceAvatarProps"
} ,
2021-06-07 23:55:35 +02:00
") => 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>)>"
2021-05-06 21:29:47 +02:00
] ,
"source" : {
"path" : "src/plugins/spaces_oss/public/api.ts" ,
"lineNumber" : 115
} ,
2021-06-07 23:55:35 +02:00
"deprecated" : false ,
"returnComment" : [ ] ,
"children" : [
{
"parentPluginId" : "spacesOss" ,
"id" : "def-public.props" ,
"type" : "Uncategorized" ,
"tags" : [ ] ,
"label" : "props" ,
"description" : [ ] ,
"signature" : [
"T"
] ,
"source" : {
"path" : "src/plugins/spaces_oss/public/api.ts" ,
"lineNumber" : 38
} ,
"deprecated" : false
}
]
2021-03-03 04:02:17 +01:00
}
] ,
2021-03-06 02:12:28 +01:00
"initialIsOpen" : false
} ,
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "spacesOss" ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.SpacesAvailableStartContract" ,
"type" : "Interface" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"label" : "SpacesAvailableStartContract" ,
2021-05-06 21:29:47 +02:00
"description" : [
"\nOSS Spaces plugin start contract when the Spaces feature is enabled."
] ,
2021-03-06 02:12:28 +01:00
"signature" : [
{
"pluginId" : "spacesOss" ,
"scope" : "public" ,
"docId" : "kibSpacesOssPluginApi" ,
"section" : "def-public.SpacesAvailableStartContract" ,
"text" : "SpacesAvailableStartContract"
} ,
" extends " ,
{
"pluginId" : "spacesOss" ,
"scope" : "public" ,
"docId" : "kibSpacesOssPluginApi" ,
"section" : "def-public.SpacesApi" ,
"text" : "SpacesApi"
}
] ,
2021-05-06 21:29:47 +02:00
"source" : {
"path" : "src/plugins/spaces_oss/public/types.ts" ,
"lineNumber" : 14
} ,
"deprecated" : false ,
2021-03-06 02:12:28 +01:00
"children" : [
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "spacesOss" ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.SpacesAvailableStartContract.isSpacesAvailable" ,
"type" : "boolean" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"label" : "isSpacesAvailable" ,
2021-05-05 16:50:59 +02:00
"description" : [
"Indicates if the Spaces feature is enabled."
] ,
2021-05-06 21:29:47 +02:00
"signature" : [
"true"
] ,
2021-03-06 02:12:28 +01:00
"source" : {
"path" : "src/plugins/spaces_oss/public/types.ts" ,
2021-05-05 16:50:59 +02:00
"lineNumber" : 16
2021-03-06 02:12:28 +01:00
} ,
2021-05-06 21:29:47 +02:00
"deprecated" : false
2021-03-06 02:12:28 +01:00
}
] ,
"initialIsOpen" : false
} ,
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "spacesOss" ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.SpacesContextProps" ,
"type" : "Interface" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"label" : "SpacesContextProps" ,
2021-05-05 16:50:59 +02:00
"description" : [
"\nProperties for the SpacesContext."
2021-03-06 02:12:28 +01:00
] ,
2021-05-06 21:29:47 +02:00
"source" : {
"path" : "src/plugins/spaces_oss/public/api.ts" ,
"lineNumber" : 121
} ,
"deprecated" : false ,
2021-03-06 02:12:28 +01:00
"children" : [
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "spacesOss" ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.SpacesContextProps.feature" ,
"type" : "string" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"label" : "feature" ,
"description" : [
"\nIf a feature is specified, all Spaces components will treat it appropriately if the feature is disabled in a given Space."
] ,
2021-05-06 21:29:47 +02:00
"signature" : [
"string | undefined"
] ,
2021-03-06 02:12:28 +01:00
"source" : {
"path" : "src/plugins/spaces_oss/public/api.ts" ,
2021-05-05 16:50:59 +02:00
"lineNumber" : 125
2021-03-06 02:12:28 +01:00
} ,
2021-05-06 21:29:47 +02:00
"deprecated" : false
2021-03-06 02:12:28 +01:00
}
] ,
"initialIsOpen" : false
} ,
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "spacesOss" ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.SpacesUnavailableStartContract" ,
"type" : "Interface" ,
2021-05-06 21:29:47 +02:00
"tags" : [
"deprecated"
] ,
2021-03-06 02:12:28 +01:00
"label" : "SpacesUnavailableStartContract" ,
2021-05-05 16:50:59 +02:00
"description" : [
"\nOSS Spaces plugin start contract when the Spaces feature is disabled."
] ,
2021-05-06 21:29:47 +02:00
"source" : {
"path" : "src/plugins/spaces_oss/public/types.ts" ,
"lineNumber" : 24
} ,
"deprecated" : true ,
"removeBy" : "8.0" ,
"references" : [ ] ,
2021-03-06 02:12:28 +01:00
"children" : [
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "spacesOss" ,
2021-03-06 02:12:28 +01:00
"id" : "def-public.SpacesUnavailableStartContract.isSpacesAvailable" ,
"type" : "boolean" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-06 02:12:28 +01:00
"label" : "isSpacesAvailable" ,
2021-05-05 16:50:59 +02:00
"description" : [
"Indicates if the Spaces feature is enabled."
] ,
2021-05-06 21:29:47 +02:00
"signature" : [
"false"
] ,
2021-03-06 02:12:28 +01:00
"source" : {
"path" : "src/plugins/spaces_oss/public/types.ts" ,
2021-05-05 16:50:59 +02:00
"lineNumber" : 26
2021-03-06 02:12:28 +01:00
} ,
2021-05-06 21:29:47 +02:00
"deprecated" : false
2021-03-06 02:12:28 +01:00
}
] ,
2021-03-03 04:02:17 +01:00
"initialIsOpen" : false
}
] ,
"enums" : [ ] ,
"misc" : [
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "spacesOss" ,
2021-03-03 04:02:17 +01:00
"id" : "def-public.LazyComponentFn" ,
"type" : "Type" ,
2021-05-05 16:50:59 +02:00
"tags" : [ ] ,
2021-05-06 21:29:47 +02:00
"label" : "LazyComponentFn" ,
2021-03-03 04:02:17 +01:00
"description" : [
2021-05-05 16:50:59 +02:00
"\nFunction that returns a promise for a lazy-loadable component."
2021-03-03 04:02:17 +01:00
] ,
2021-05-06 21:29:47 +02:00
"signature" : [
"(props: T) => 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>)>"
] ,
2021-03-03 04:02:17 +01:00
"source" : {
"path" : "src/plugins/spaces_oss/public/api.ts" ,
2021-05-05 16:50:59 +02:00
"lineNumber" : 38
2021-03-03 04:02:17 +01:00
} ,
2021-05-06 21:29:47 +02:00
"deprecated" : false ,
2021-03-03 04:02:17 +01:00
"initialIsOpen" : false
}
] ,
"objects" : [ ] ,
"setup" : {
2021-05-06 21:29:47 +02:00
"parentPluginId" : "spacesOss" ,
2021-03-03 04:02:17 +01:00
"id" : "def-public.SpacesOssPluginSetup" ,
"type" : "Interface" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-03 04:02:17 +01:00
"label" : "SpacesOssPluginSetup" ,
2021-05-05 16:50:59 +02:00
"description" : [
"\nOSS Spaces plugin setup contract."
] ,
2021-05-06 21:29:47 +02:00
"source" : {
"path" : "src/plugins/spaces_oss/public/types.ts" ,
"lineNumber" : 32
} ,
"deprecated" : false ,
2021-03-03 04:02:17 +01:00
"children" : [
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "spacesOss" ,
2021-03-03 04:02:17 +01:00
"id" : "def-public.SpacesOssPluginSetup.registerSpacesApi" ,
"type" : "Function" ,
2021-05-06 21:29:47 +02:00
"tags" : [
"private"
] ,
2021-03-03 04:02:17 +01:00
"label" : "registerSpacesApi" ,
2021-05-06 21:29:47 +02:00
"description" : [
"\nRegister a provider for the Spaces API.\n\nOnly one provider can be registered, subsequent calls to this method will fail.\n"
] ,
2021-03-03 04:02:17 +01:00
"signature" : [
"(provider: " ,
{
"pluginId" : "spacesOss" ,
"scope" : "public" ,
"docId" : "kibSpacesOssPluginApi" ,
"section" : "def-public.SpacesApi" ,
"text" : "SpacesApi"
} ,
") => void"
] ,
2021-05-06 21:29:47 +02:00
"source" : {
"path" : "src/plugins/spaces_oss/public/types.ts" ,
"lineNumber" : 42
} ,
"deprecated" : false ,
2021-03-03 04:02:17 +01:00
"children" : [
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "spacesOss" ,
2021-04-15 17:36:10 +02:00
"id" : "def-public.SpacesOssPluginSetup.registerSpacesApi.$1" ,
2021-03-03 04:02:17 +01:00
"type" : "Object" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-03 04:02:17 +01:00
"label" : "provider" ,
2021-05-06 21:29:47 +02:00
"description" : [
"the API provider."
] ,
2021-03-03 04:02:17 +01:00
"signature" : [
{
"pluginId" : "spacesOss" ,
"scope" : "public" ,
"docId" : "kibSpacesOssPluginApi" ,
"section" : "def-public.SpacesApi" ,
"text" : "SpacesApi"
}
] ,
"source" : {
"path" : "src/plugins/spaces_oss/public/types.ts" ,
2021-05-05 16:50:59 +02:00
"lineNumber" : 42
2021-05-06 21:29:47 +02:00
} ,
"deprecated" : false ,
"isRequired" : true
2021-03-03 04:02:17 +01:00
}
] ,
2021-05-06 21:29:47 +02:00
"returnComment" : [ ]
2021-03-03 04:02:17 +01:00
}
] ,
"lifecycle" : "setup" ,
"initialIsOpen" : true
} ,
"start" : {
2021-05-06 21:29:47 +02:00
"parentPluginId" : "spacesOss" ,
2021-03-03 04:02:17 +01:00
"id" : "def-public.SpacesOssPluginStart" ,
"type" : "Type" ,
"tags" : [ ] ,
2021-05-06 21:29:47 +02:00
"label" : "SpacesOssPluginStart" ,
2021-05-05 16:50:59 +02:00
"description" : [
"\nOSS Spaces plugin start contract."
] ,
2021-03-03 04:02:17 +01:00
"signature" : [
{
"pluginId" : "spacesOss" ,
"scope" : "public" ,
"docId" : "kibSpacesOssPluginApi" ,
"section" : "def-public.SpacesAvailableStartContract" ,
"text" : "SpacesAvailableStartContract"
} ,
" | " ,
{
"pluginId" : "spacesOss" ,
"scope" : "public" ,
"docId" : "kibSpacesOssPluginApi" ,
"section" : "def-public.SpacesUnavailableStartContract" ,
"text" : "SpacesUnavailableStartContract"
}
] ,
2021-05-06 21:29:47 +02:00
"source" : {
"path" : "src/plugins/spaces_oss/public/types.ts" ,
"lineNumber" : 48
} ,
"deprecated" : false ,
2021-03-03 04:02:17 +01:00
"lifecycle" : "start" ,
"initialIsOpen" : true
}
} ,
"server" : {
"classes" : [ ] ,
"functions" : [ ] ,
"interfaces" : [ ] ,
"enums" : [ ] ,
"misc" : [ ] ,
"objects" : [ ]
} ,
"common" : {
"classes" : [ ] ,
"functions" : [ ] ,
"interfaces" : [
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "spacesOss" ,
2021-03-03 04:02:17 +01:00
"id" : "def-common.Space" ,
"type" : "Interface" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-03 04:02:17 +01:00
"label" : "Space" ,
2021-05-05 16:50:59 +02:00
"description" : [
2021-05-06 21:29:47 +02:00
"\nA Space."
2021-05-05 16:50:59 +02:00
] ,
2021-05-06 21:29:47 +02:00
"source" : {
"path" : "src/plugins/spaces_oss/common/types.ts" ,
"lineNumber" : 12
} ,
"deprecated" : false ,
2021-03-03 04:02:17 +01:00
"children" : [
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "spacesOss" ,
2021-03-03 04:02:17 +01:00
"id" : "def-common.Space.id" ,
"type" : "string" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-03 04:02:17 +01:00
"label" : "id" ,
2021-05-05 16:50:59 +02:00
"description" : [
"\nThe unique identifier for this space.\nThe id becomes part of the \"URL Identifier\" of the space.\n\nExample: an id of `marketing` would result in the URL identifier of `/s/marketing`."
] ,
2021-03-03 04:02:17 +01:00
"source" : {
"path" : "src/plugins/spaces_oss/common/types.ts" ,
2021-05-05 16:50:59 +02:00
"lineNumber" : 19
2021-05-06 21:29:47 +02:00
} ,
"deprecated" : false
2021-03-03 04:02:17 +01:00
} ,
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "spacesOss" ,
2021-03-03 04:02:17 +01:00
"id" : "def-common.Space.name" ,
"type" : "string" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-03 04:02:17 +01:00
"label" : "name" ,
2021-05-05 16:50:59 +02:00
"description" : [
"\nDisplay name for this space."
] ,
2021-03-03 04:02:17 +01:00
"source" : {
"path" : "src/plugins/spaces_oss/common/types.ts" ,
2021-05-05 16:50:59 +02:00
"lineNumber" : 24
2021-05-06 21:29:47 +02:00
} ,
"deprecated" : false
2021-03-03 04:02:17 +01:00
} ,
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "spacesOss" ,
2021-03-03 04:02:17 +01:00
"id" : "def-common.Space.description" ,
"type" : "string" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-03 04:02:17 +01:00
"label" : "description" ,
2021-05-05 16:50:59 +02:00
"description" : [
"\nOptional description for this space."
] ,
2021-05-06 21:29:47 +02:00
"signature" : [
"string | undefined"
] ,
2021-03-03 04:02:17 +01:00
"source" : {
"path" : "src/plugins/spaces_oss/common/types.ts" ,
2021-05-05 16:50:59 +02:00
"lineNumber" : 29
2021-03-03 04:02:17 +01:00
} ,
2021-05-06 21:29:47 +02:00
"deprecated" : false
2021-03-03 04:02:17 +01:00
} ,
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "spacesOss" ,
2021-03-03 04:02:17 +01:00
"id" : "def-common.Space.color" ,
"type" : "string" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-03 04:02:17 +01:00
"label" : "color" ,
2021-05-05 16:50:59 +02:00
"description" : [
"\nOptional color (hex code) for this space.\nIf neither `color` nor `imageUrl` is specified, then a color will be automatically generated."
] ,
2021-05-06 21:29:47 +02:00
"signature" : [
"string | undefined"
] ,
2021-03-03 04:02:17 +01:00
"source" : {
"path" : "src/plugins/spaces_oss/common/types.ts" ,
2021-05-05 16:50:59 +02:00
"lineNumber" : 35
2021-03-03 04:02:17 +01:00
} ,
2021-05-06 21:29:47 +02:00
"deprecated" : false
2021-03-03 04:02:17 +01:00
} ,
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "spacesOss" ,
2021-03-03 04:02:17 +01:00
"id" : "def-common.Space.initials" ,
"type" : "string" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-03-03 04:02:17 +01:00
"label" : "initials" ,
2021-05-05 16:50:59 +02:00
"description" : [
"\nOptional display initials for this space's avatar. Supports a maximum of 2 characters.\nIf initials are not provided, then they will be derived from the space name automatically.\n\nInitials are not displayed if an `imageUrl` has been specified."
] ,
2021-05-06 21:29:47 +02:00
"signature" : [
"string | undefined"
] ,
2021-03-03 04:02:17 +01:00
"source" : {
"path" : "src/plugins/spaces_oss/common/types.ts" ,
2021-05-05 16:50:59 +02:00
"lineNumber" : 43
2021-03-03 04:02:17 +01:00
} ,
2021-05-06 21:29:47 +02:00
"deprecated" : false
2021-03-03 04:02:17 +01:00
} ,
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "spacesOss" ,
2021-05-05 16:50:59 +02:00
"id" : "def-common.Space.imageUrl" ,
"type" : "string" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-05-05 16:50:59 +02:00
"label" : "imageUrl" ,
"description" : [
"\nOptional base-64 encoded data image url to show as this space's avatar.\nThis setting takes precedence over any configured `color` or `initials`."
] ,
2021-05-06 21:29:47 +02:00
"signature" : [
"string | undefined"
] ,
2021-03-03 04:02:17 +01:00
"source" : {
"path" : "src/plugins/spaces_oss/common/types.ts" ,
2021-05-05 16:50:59 +02:00
"lineNumber" : 49
2021-03-03 04:02:17 +01:00
} ,
2021-05-06 21:29:47 +02:00
"deprecated" : false
2021-03-03 04:02:17 +01:00
} ,
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "spacesOss" ,
2021-05-05 16:50:59 +02:00
"id" : "def-common.Space.disabledFeatures" ,
"type" : "Array" ,
2021-05-06 21:29:47 +02:00
"tags" : [ ] ,
2021-05-05 16:50:59 +02:00
"label" : "disabledFeatures" ,
"description" : [
"\nThe set of feature ids that should be hidden within this space."
] ,
2021-05-06 21:29:47 +02:00
"signature" : [
"string[]"
] ,
2021-03-03 04:02:17 +01:00
"source" : {
"path" : "src/plugins/spaces_oss/common/types.ts" ,
2021-05-05 16:50:59 +02:00
"lineNumber" : 54
2021-03-03 04:02:17 +01:00
} ,
2021-05-06 21:29:47 +02:00
"deprecated" : false
2021-03-03 04:02:17 +01:00
} ,
{
2021-05-06 21:29:47 +02:00
"parentPluginId" : "spacesOss" ,
"id" : "def-common.Space._reserved" ,
"type" : "CompoundType" ,
2021-05-05 16:50:59 +02:00
"tags" : [
"private"
] ,
"label" : "_reserved" ,
"description" : [
"\nIndicates that this space is reserved (system controlled).\nReserved spaces cannot be created or deleted by end-users."
] ,
2021-05-06 21:29:47 +02:00
"signature" : [
"boolean | undefined"
] ,
2021-03-03 04:02:17 +01:00
"source" : {
"path" : "src/plugins/spaces_oss/common/types.ts" ,
2021-05-05 16:50:59 +02:00
"lineNumber" : 61
2021-03-03 04:02:17 +01:00
} ,
2021-05-06 21:29:47 +02:00
"deprecated" : false
2021-03-03 04:02:17 +01:00
}
] ,
"initialIsOpen" : false
}
] ,
"enums" : [ ] ,
"misc" : [ ] ,
"objects" : [ ]
}
}