{ "id": "@kbn/spaces-utils", "client": { "classes": [], "functions": [], "interfaces": [], "enums": [], "misc": [], "objects": [] }, "server": { "classes": [], "functions": [], "interfaces": [], "enums": [], "misc": [], "objects": [] }, "common": { "classes": [], "functions": [ { "parentPluginId": "@kbn/spaces-utils", "id": "def-common.addSpaceIdToPath", "type": "Function", "tags": [], "label": "addSpaceIdToPath", "description": [ "\nGiven a server base path, space id, and requested resource, this will construct a space-aware path\nthat includes a URL identifier with the space id.\n" ], "signature": [ "(basePath: string, spaceId: string, requestedPath: string) => string" ], "path": "src/platform/packages/shared/kbn-spaces-utils/src/common/spaces_url_parser.ts", "deprecated": false, "trackAdoption": false, "children": [ { "parentPluginId": "@kbn/spaces-utils", "id": "def-common.addSpaceIdToPath.$1", "type": "string", "tags": [], "label": "basePath", "description": [ "the server's base path." ], "signature": [ "string" ], "path": "src/platform/packages/shared/kbn-spaces-utils/src/common/spaces_url_parser.ts", "deprecated": false, "trackAdoption": false, "isRequired": true }, { "parentPluginId": "@kbn/spaces-utils", "id": "def-common.addSpaceIdToPath.$2", "type": "string", "tags": [], "label": "spaceId", "description": [ "the space id." ], "signature": [ "string" ], "path": "src/platform/packages/shared/kbn-spaces-utils/src/common/spaces_url_parser.ts", "deprecated": false, "trackAdoption": false, "isRequired": true }, { "parentPluginId": "@kbn/spaces-utils", "id": "def-common.addSpaceIdToPath.$3", "type": "string", "tags": [], "label": "requestedPath", "description": [ "the requested path (e.g. `/app/dashboard`)." ], "signature": [ "string" ], "path": "src/platform/packages/shared/kbn-spaces-utils/src/common/spaces_url_parser.ts", "deprecated": false, "trackAdoption": false, "isRequired": true } ], "returnComment": [ "the space-aware version of the requested path, inclusive of the server's base path." ], "initialIsOpen": false }, { "parentPluginId": "@kbn/spaces-utils", "id": "def-common.getSpaceIdFromPath", "type": "Function", "tags": [ "private" ], "label": "getSpaceIdFromPath", "description": [ "\nExtracts the space id from the given path.\n" ], "signature": [ "(requestBasePath: string | null | undefined, serverBasePath: string | null | undefined) => { spaceId: string; pathHasExplicitSpaceIdentifier: boolean; }" ], "path": "src/platform/packages/shared/kbn-spaces-utils/src/common/spaces_url_parser.ts", "deprecated": false, "trackAdoption": false, "children": [ { "parentPluginId": "@kbn/spaces-utils", "id": "def-common.getSpaceIdFromPath.$1", "type": "CompoundType", "tags": [], "label": "requestBasePath", "description": [ "The base path of the current request." ], "signature": [ "string | null | undefined" ], "path": "src/platform/packages/shared/kbn-spaces-utils/src/common/spaces_url_parser.ts", "deprecated": false, "trackAdoption": false, "isRequired": false }, { "parentPluginId": "@kbn/spaces-utils", "id": "def-common.getSpaceIdFromPath.$2", "type": "CompoundType", "tags": [], "label": "serverBasePath", "description": [ "The server's base path." ], "signature": [ "string | null | undefined" ], "path": "src/platform/packages/shared/kbn-spaces-utils/src/common/spaces_url_parser.ts", "deprecated": false, "trackAdoption": false, "isRequired": false } ], "returnComment": [ "the space id." ], "initialIsOpen": false } ], "interfaces": [], "enums": [], "misc": [ { "parentPluginId": "@kbn/spaces-utils", "id": "def-common.DEFAULT_SPACE_ID", "type": "string", "tags": [], "label": "DEFAULT_SPACE_ID", "description": [], "signature": [ "\"default\"" ], "path": "src/platform/packages/shared/kbn-spaces-utils/src/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false } ], "objects": [] } }