@jbrowse/core 2.16.1 → 2.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/BaseFeatureWidget/BaseFeatureDetail/ArrayValue.js +1 -2
- package/BaseFeatureWidget/BaseFeatureDetail/Attributes.js +4 -8
- package/BaseFeatureWidget/BaseFeatureDetail/BaseCard.d.ts +1 -1
- package/BaseFeatureWidget/BaseFeatureDetail/BaseCard.js +1 -2
- package/BaseFeatureWidget/BaseFeatureDetail/BasicValue.js +2 -3
- package/BaseFeatureWidget/BaseFeatureDetail/CoreDetails.d.ts +1 -1
- package/BaseFeatureWidget/BaseFeatureDetail/CoreDetails.js +2 -3
- package/BaseFeatureWidget/BaseFeatureDetail/DataGridDetails.js +22 -25
- package/BaseFeatureWidget/BaseFeatureDetail/FeatureDetails.d.ts +2 -2
- package/BaseFeatureWidget/BaseFeatureDetail/FeatureDetails.js +6 -8
- package/BaseFeatureWidget/BaseFeatureDetail/Position.d.ts +1 -1
- package/BaseFeatureWidget/BaseFeatureDetail/SimpleField.js +1 -1
- package/BaseFeatureWidget/BaseFeatureDetail/UriField.js +1 -1
- package/BaseFeatureWidget/BaseFeatureDetail/index.d.ts +3 -4
- package/BaseFeatureWidget/BaseFeatureDetail/index.js +5 -9
- package/BaseFeatureWidget/BaseFeatureDetail/util.js +0 -5
- package/BaseFeatureWidget/SequenceFeatureDetails/SequenceFeatureDetails.d.ts +2 -2
- package/BaseFeatureWidget/SequenceFeatureDetails/SequenceFeatureDetails.js +0 -7
- package/BaseFeatureWidget/SequenceFeatureDetails/SequenceFeaturePanel.d.ts +2 -2
- package/BaseFeatureWidget/SequenceFeatureDetails/SequenceFeaturePanel.js +1 -7
- package/BaseFeatureWidget/SequenceFeatureDetails/SequencePanel.d.ts +3 -3
- package/BaseFeatureWidget/SequenceFeatureDetails/SequencePanel.js +24 -33
- package/BaseFeatureWidget/SequenceFeatureDetails/dialogs/HelpDialog.js +1 -2
- package/BaseFeatureWidget/SequenceFeatureDetails/dialogs/SequenceDialog.d.ts +2 -2
- package/BaseFeatureWidget/SequenceFeatureDetails/dialogs/SequenceDialog.js +3 -4
- package/BaseFeatureWidget/SequenceFeatureDetails/dialogs/SequenceFeatureMenu.d.ts +2 -2
- package/BaseFeatureWidget/SequenceFeatureDetails/dialogs/SequenceFeatureMenu.js +3 -6
- package/BaseFeatureWidget/SequenceFeatureDetails/dialogs/SequenceTypeSelector.d.ts +1 -1
- package/BaseFeatureWidget/SequenceFeatureDetails/dialogs/SettingsDialog.d.ts +1 -1
- package/BaseFeatureWidget/SequenceFeatureDetails/dialogs/SettingsDialog.js +2 -2
- package/BaseFeatureWidget/SequenceFeatureDetails/hooks.d.ts +2 -2
- package/BaseFeatureWidget/SequenceFeatureDetails/hooks.js +1 -2
- package/BaseFeatureWidget/SequenceFeatureDetails/model.d.ts +2 -35
- package/BaseFeatureWidget/SequenceFeatureDetails/model.js +19 -44
- package/BaseFeatureWidget/SequenceFeatureDetails/seqtypes/CDNASequence.d.ts +3 -3
- package/BaseFeatureWidget/SequenceFeatureDetails/seqtypes/CDSSequence.d.ts +2 -2
- package/BaseFeatureWidget/SequenceFeatureDetails/seqtypes/CDSSequence.js +5 -6
- package/BaseFeatureWidget/SequenceFeatureDetails/seqtypes/GenomicSequence.d.ts +2 -2
- package/BaseFeatureWidget/SequenceFeatureDetails/seqtypes/GenomicSequence.js +0 -1
- package/BaseFeatureWidget/SequenceFeatureDetails/seqtypes/ProteinSequence.d.ts +2 -2
- package/BaseFeatureWidget/SequenceFeatureDetails/seqtypes/ProteinSequence.js +0 -2
- package/BaseFeatureWidget/SequenceFeatureDetails/seqtypes/SequenceDisplay.d.ts +1 -1
- package/BaseFeatureWidget/SequenceFeatureDetails/seqtypes/SequenceDisplay.js +1 -3
- package/BaseFeatureWidget/SequenceFeatureDetails/util.js +1 -5
- package/BaseFeatureWidget/stateModelFactory.d.ts +3 -94
- package/BaseFeatureWidget/stateModelFactory.js +3 -73
- package/BaseFeatureWidget/types.d.ts +3 -3
- package/BaseFeatureWidget/util.js +0 -4
- package/CorePlugin.d.ts +1 -1
- package/CorePlugin.js +2 -5
- package/Plugin.d.ts +2 -5
- package/Plugin.js +0 -3
- package/PluginLoader.d.ts +1 -1
- package/PluginLoader.js +2 -19
- package/PluginManager.d.ts +15 -31
- package/PluginManager.js +11 -39
- package/ReExports/DataGrid.js +0 -1
- package/ReExports/list.d.ts +0 -5
- package/ReExports/list.js +0 -5
- package/ReExports/modules.d.ts +22 -20
- package/ReExports/modules.js +16 -25
- package/TextSearch/BaseResults.d.ts +3 -3
- package/TextSearch/TextSearchManager.d.ts +4 -16
- package/TextSearch/TextSearchManager.js +1 -13
- package/assemblyManager/assembly.d.ts +5 -100
- package/assemblyManager/assembly.js +27 -143
- package/assemblyManager/assemblyConfigSchema.d.ts +1 -34
- package/assemblyManager/assemblyConfigSchema.js +12 -46
- package/assemblyManager/assemblyManager.d.ts +7 -57
- package/assemblyManager/assemblyManager.js +2 -57
- package/configuration/configurationSchema.d.ts +4 -4
- package/configuration/configurationSchema.js +2 -14
- package/configuration/configurationSlot.d.ts +1 -12
- package/configuration/configurationSlot.js +2 -32
- package/configuration/index.d.ts +2 -2
- package/configuration/index.js +2 -2
- package/configuration/types.d.ts +2 -3
- package/configuration/util.d.ts +1 -25
- package/configuration/util.js +19 -56
- package/data_adapters/BaseAdapter/BaseAdapter.d.ts +4 -14
- package/data_adapters/BaseAdapter/BaseAdapter.js +1 -10
- package/data_adapters/BaseAdapter/BaseFeatureDataAdapter.d.ts +10 -114
- package/data_adapters/BaseAdapter/BaseFeatureDataAdapter.js +13 -79
- package/data_adapters/BaseAdapter/BaseOptions.d.ts +2 -2
- package/data_adapters/BaseAdapter/BaseRefNameAliasAdapter.d.ts +2 -2
- package/data_adapters/BaseAdapter/BaseSequenceAdapter.d.ts +3 -6
- package/data_adapters/BaseAdapter/BaseTextSearchAdapter.d.ts +3 -3
- package/data_adapters/BaseAdapter/RegionsAdapter.d.ts +3 -3
- package/data_adapters/BaseAdapter/index.d.ts +4 -4
- package/data_adapters/BaseAdapter/types.d.ts +2 -2
- package/data_adapters/BaseAdapter/util.d.ts +6 -6
- package/data_adapters/CytobandAdapter/CytobandAdapter.d.ts +2 -1
- package/data_adapters/CytobandAdapter/CytobandAdapter.js +11 -12
- package/data_adapters/CytobandAdapter/configSchema.d.ts +0 -3
- package/data_adapters/CytobandAdapter/configSchema.js +1 -7
- package/data_adapters/CytobandAdapter/index.d.ts +1 -1
- package/data_adapters/CytobandAdapter/index.js +1 -1
- package/data_adapters/dataAdapterCache.d.ts +4 -21
- package/data_adapters/dataAdapterCache.js +0 -19
- package/package.json +4 -5
- package/pluggableElementTypes/AdapterType.d.ts +2 -2
- package/pluggableElementTypes/AddTrackWorkflowType.d.ts +2 -2
- package/pluggableElementTypes/ConnectionType.d.ts +3 -3
- package/pluggableElementTypes/DisplayType.d.ts +3 -9
- package/pluggableElementTypes/InternetAccountType.d.ts +2 -2
- package/pluggableElementTypes/PluggableElementBase.d.ts +1 -1
- package/pluggableElementTypes/PluggableElementBase.js +2 -2
- package/pluggableElementTypes/RpcMethodType.d.ts +5 -11
- package/pluggableElementTypes/RpcMethodType.js +7 -19
- package/pluggableElementTypes/RpcMethodTypeWithFiltersAndRenameRegions.d.ts +9 -0
- package/pluggableElementTypes/RpcMethodTypeWithFiltersAndRenameRegions.js +35 -0
- package/pluggableElementTypes/TextSearchAdapterType.d.ts +2 -2
- package/pluggableElementTypes/TrackType.d.ts +3 -3
- package/pluggableElementTypes/ViewType.d.ts +3 -3
- package/pluggableElementTypes/WidgetType.d.ts +4 -3
- package/pluggableElementTypes/index.d.ts +11 -11
- package/pluggableElementTypes/models/BaseConnectionModelFactory.d.ts +2 -29
- package/pluggableElementTypes/models/BaseConnectionModelFactory.js +1 -28
- package/pluggableElementTypes/models/BaseDisplayModel.d.ts +3 -83
- package/pluggableElementTypes/models/BaseDisplayModel.js +2 -69
- package/pluggableElementTypes/models/BaseTrackModel.d.ts +4 -46
- package/pluggableElementTypes/models/BaseTrackModel.js +0 -58
- package/pluggableElementTypes/models/BaseViewModel.d.ts +2 -42
- package/pluggableElementTypes/models/BaseViewModel.js +2 -38
- package/pluggableElementTypes/models/InternetAccountModel.d.ts +3 -119
- package/pluggableElementTypes/models/InternetAccountModel.js +3 -123
- package/pluggableElementTypes/models/baseConnectionConfig.d.ts +0 -6
- package/pluggableElementTypes/models/baseConnectionConfig.js +1 -13
- package/pluggableElementTypes/models/baseInternetAccountConfig.d.ts +0 -15
- package/pluggableElementTypes/models/baseInternetAccountConfig.js +1 -23
- package/pluggableElementTypes/models/baseTrackConfig.d.ts +2 -53
- package/pluggableElementTypes/models/baseTrackConfig.js +1 -58
- package/pluggableElementTypes/renderers/BoxRendererType.d.ts +7 -15
- package/pluggableElementTypes/renderers/BoxRendererType.js +3 -14
- package/pluggableElementTypes/renderers/CircularChordRendererType.d.ts +3 -2
- package/pluggableElementTypes/renderers/CircularChordRendererType.js +1 -6
- package/pluggableElementTypes/renderers/ComparativeServerSideRendererType.d.ts +6 -21
- package/pluggableElementTypes/renderers/ComparativeServerSideRendererType.js +2 -25
- package/pluggableElementTypes/renderers/FeatureRendererType.d.ts +5 -47
- package/pluggableElementTypes/renderers/FeatureRendererType.js +15 -68
- package/pluggableElementTypes/renderers/RendererType.d.ts +4 -8
- package/pluggableElementTypes/renderers/RendererType.js +1 -5
- package/pluggableElementTypes/renderers/RpcRenderedSvgGroup.d.ts +2 -2
- package/pluggableElementTypes/renderers/RpcRenderedSvgGroup.js +3 -12
- package/pluggableElementTypes/renderers/ServerSideRenderedContent.d.ts +1 -1
- package/pluggableElementTypes/renderers/ServerSideRenderedContent.js +6 -14
- package/pluggableElementTypes/renderers/ServerSideRendererType.d.ts +9 -49
- package/pluggableElementTypes/renderers/ServerSideRendererType.js +7 -57
- package/pluggableElementTypes/renderers/index.d.ts +1 -1
- package/pluggableElementTypes/renderers/util/serializableFilterChain.js +1 -3
- package/rpc/BaseRpcDriver.d.ts +3 -4
- package/rpc/BaseRpcDriver.js +20 -80
- package/rpc/MainThreadRpcDriver.d.ts +3 -7
- package/rpc/MainThreadRpcDriver.js +0 -5
- package/rpc/RpcManager.d.ts +3 -3
- package/rpc/RpcManager.js +2 -4
- package/rpc/WebWorkerRpcDriver.d.ts +3 -2
- package/rpc/WebWorkerRpcDriver.js +2 -13
- package/rpc/baseRpcConfig.d.ts +0 -3
- package/rpc/baseRpcConfig.js +1 -7
- package/rpc/configSchema.d.ts +0 -6
- package/rpc/configSchema.js +2 -11
- package/rpc/mainThreadRpcConfig.js +1 -7
- package/rpc/methods/CoreFreeResources.d.ts +0 -6
- package/rpc/methods/CoreFreeResources.js +2 -9
- package/rpc/methods/CoreGetFeatureDensityStats.d.ts +4 -5
- package/rpc/methods/CoreGetFeatureDensityStats.js +1 -1
- package/rpc/methods/CoreGetFeatureDetails.d.ts +2 -7
- package/rpc/methods/CoreGetFeatureDetails.js +0 -5
- package/rpc/methods/CoreGetFeatures.d.ts +5 -5
- package/rpc/methods/CoreGetFeatures.js +4 -5
- package/rpc/methods/CoreGetFileInfo.d.ts +1 -2
- package/rpc/methods/CoreGetFileInfo.js +1 -1
- package/rpc/methods/CoreGetMetadata.d.ts +1 -2
- package/rpc/methods/CoreGetMetadata.js +1 -1
- package/rpc/methods/CoreGetRefNames.d.ts +1 -2
- package/rpc/methods/CoreGetRefNames.js +1 -1
- package/rpc/methods/CoreRender.d.ts +2 -6
- package/rpc/methods/CoreRender.js +5 -7
- package/rpc/methods/util.d.ts +3 -3
- package/rpc/methods/util.js +0 -1
- package/rpc/webWorkerRpcConfig.js +1 -7
- package/stories/JBrowseCore.stories.d.ts +1 -1
- package/stories/JBrowseCore.stories.js +3 -3
- package/stories/examples/WithSequencePanel.d.ts +1 -1
- package/stories/examples/WithSequencePanel.js +3 -3
- package/tsconfig.build.tsbuildinfo +1 -1
- package/ui/AppLogo.d.ts +1 -1
- package/ui/AppLogo.js +0 -2
- package/ui/AssemblySelector.d.ts +2 -2
- package/ui/AssemblySelector.js +5 -5
- package/ui/BaseTooltip.js +2 -6
- package/ui/CascadingMenu.d.ts +2 -2
- package/ui/CascadingMenu.js +3 -4
- package/ui/CascadingMenuButton.d.ts +1 -1
- package/ui/CascadingMenuButton.js +1 -1
- package/ui/ColorPicker.js +1 -7
- package/ui/Dialog.d.ts +1 -1
- package/ui/Dialog.js +2 -6
- package/ui/DropDownMenu.d.ts +1 -1
- package/ui/DropDownMenu.js +2 -2
- package/ui/EditableTypography.d.ts +1 -1
- package/ui/EditableTypography.js +1 -5
- package/ui/ErrorBoundary.d.ts +2 -1
- package/ui/ErrorMessage.js +2 -9
- package/ui/ErrorMessageStackTraceDialog.js +2 -10
- package/ui/FactoryResetDialog.js +1 -1
- package/ui/FatalErrorDialog.js +1 -1
- package/ui/FileSelector/FileSelector.d.ts +4 -3
- package/ui/FileSelector/FileSelector.js +40 -40
- package/ui/FileSelector/LocalFileChooser.d.ts +1 -1
- package/ui/FileSelector/LocalFileChooser.js +0 -1
- package/ui/FileSelector/UrlChooser.d.ts +4 -3
- package/ui/FileSelector/UrlChooser.js +6 -2
- package/ui/Icons.d.ts +1 -1
- package/ui/Icons.js +1 -7
- package/ui/LoadingEllipses.d.ts +1 -1
- package/ui/LoadingEllipses.js +3 -3
- package/ui/Menu.d.ts +1 -1
- package/ui/Menu.js +3 -10
- package/ui/MenuButton.d.ts +1 -1
- package/ui/ResizeHandle.js +2 -2
- package/ui/ReturnToImportFormDialog.js +1 -1
- package/ui/SanitizedHTML.js +2 -19
- package/ui/Snackbar.d.ts +2 -2
- package/ui/Snackbar.js +1 -2
- package/ui/SnackbarModel.d.ts +1 -26
- package/ui/SnackbarModel.js +2 -30
- package/ui/colors.d.ts +1 -1
- package/ui/colors.js +1 -1
- package/ui/react-colorful.js +0 -3
- package/ui/theme.d.ts +1 -1
- package/ui/theme.js +24 -84
- package/util/Base1DUtils.d.ts +1 -1
- package/util/Base1DUtils.js +0 -12
- package/util/Base1DViewModel.d.ts +4 -81
- package/util/Base1DViewModel.js +4 -108
- package/util/QuickLRU.js +0 -9
- package/util/TimeTraveller.js +0 -4
- package/util/aborting.d.ts +0 -20
- package/util/aborting.js +0 -31
- package/util/analytics.js +1 -12
- package/util/blockTypes.d.ts +0 -11
- package/util/blockTypes.js +0 -13
- package/util/calculateDynamicBlocks.d.ts +1 -20
- package/util/calculateDynamicBlocks.js +1 -22
- package/util/calculateStaticBlocks.d.ts +2 -2
- package/util/calculateStaticBlocks.js +0 -2
- package/util/color/cssColorsLevel4.js +0 -1
- package/util/color/index.d.ts +0 -19
- package/util/color/index.js +0 -30
- package/util/compositeMap.js +0 -2
- package/util/dedupe.js +0 -1
- package/util/formatFastaStrings.d.ts +0 -13
- package/util/formatFastaStrings.js +0 -13
- package/util/idMaker.d.ts +1 -1
- package/util/idMaker.js +16 -12
- package/util/index.d.ts +25 -173
- package/util/index.js +87 -326
- package/util/io/RemoteFileWithRangeCache.d.ts +3 -2
- package/util/io/RemoteFileWithRangeCache.js +6 -10
- package/util/io/index.d.ts +3 -4
- package/util/io/index.js +3 -17
- package/util/jexl.js +3 -13
- package/util/jexlStrings.d.ts +0 -6
- package/util/jexlStrings.js +0 -8
- package/util/layouts/BaseLayout.d.ts +1 -1
- package/util/layouts/GranularRectLayout.d.ts +1 -17
- package/util/layouts/GranularRectLayout.js +4 -81
- package/util/layouts/MultiLayout.d.ts +1 -6
- package/util/layouts/MultiLayout.js +0 -6
- package/util/layouts/PrecomputedLayout.d.ts +1 -4
- package/util/layouts/PrecomputedLayout.js +0 -5
- package/util/layouts/PrecomputedMultiLayout.js +0 -2
- package/util/layouts/SceneGraph.d.ts +0 -12
- package/util/layouts/SceneGraph.js +0 -13
- package/util/makeAbortableReaction.d.ts +2 -0
- package/util/makeAbortableReaction.js +50 -0
- package/util/map-obj.js +0 -4
- package/util/mst-reflection.d.ts +1 -14
- package/util/mst-reflection.js +1 -28
- package/util/nanoid.js +0 -31
- package/util/nextTick.d.ts +1 -0
- package/util/nextTick.js +6 -0
- package/util/offscreenCanvasPonyfill.d.ts +0 -1
- package/util/offscreenCanvasPonyfill.js +1 -9
- package/util/offscreenCanvasUtils.js +1 -8
- package/util/range.d.ts +0 -25
- package/util/range.js +0 -34
- package/util/rxjs.d.ts +3 -7
- package/util/rxjs.js +2 -9
- package/util/simpleFeature.d.ts +0 -58
- package/util/simpleFeature.js +0 -35
- package/util/stats.d.ts +4 -34
- package/util/stats.js +0 -60
- package/util/stopToken.d.ts +3 -0
- package/util/stopToken.js +29 -0
- package/util/tracks.d.ts +3 -25
- package/util/tracks.js +0 -30
- package/util/types/index.d.ts +14 -30
- package/util/types/index.js +5 -14
- package/util/types/mst.js +0 -9
- package/util/types/util.d.ts +2 -9
- package/util/useMeasure.js +0 -1
- package/util/when.d.ts +1 -15
- package/util/when.js +3 -70
- package/rpc/remoteAbortSignals.d.ts +0 -36
- package/rpc/remoteAbortSignals.js +0 -79
|
@@ -1,19 +1,10 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Instance } from 'mobx-state-tree';
|
|
1
|
+
import type React from 'react';
|
|
3
2
|
import { RemoteFileWithRangeCache } from '../../util/io';
|
|
4
|
-
import {
|
|
3
|
+
import type { AnyReactComponentType, UriLocation } from '../../util/types';
|
|
4
|
+
import type { Instance } from 'mobx-state-tree';
|
|
5
5
|
export declare const InternetAccount: import("mobx-state-tree").IModelType<{
|
|
6
|
-
/**
|
|
7
|
-
* #property
|
|
8
|
-
*/
|
|
9
6
|
id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
10
|
-
/**
|
|
11
|
-
* #property
|
|
12
|
-
*/
|
|
13
7
|
type: import("mobx-state-tree").ISimpleType<string>;
|
|
14
|
-
/**
|
|
15
|
-
* #property
|
|
16
|
-
*/
|
|
17
8
|
configuration: import("../../configuration/configurationSchema").ConfigurationSchemaType<{
|
|
18
9
|
name: {
|
|
19
10
|
description: string;
|
|
@@ -42,111 +33,27 @@ export declare const InternetAccount: import("mobx-state-tree").IModelType<{
|
|
|
42
33
|
};
|
|
43
34
|
}, import("../../configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "internetAccountId">>;
|
|
44
35
|
}, {
|
|
45
|
-
/**
|
|
46
|
-
* #getter
|
|
47
|
-
*/
|
|
48
36
|
readonly name: string;
|
|
49
|
-
/**
|
|
50
|
-
* #getter
|
|
51
|
-
*/
|
|
52
37
|
readonly description: string;
|
|
53
|
-
/**
|
|
54
|
-
* #getter
|
|
55
|
-
*/
|
|
56
38
|
readonly internetAccountId: string;
|
|
57
|
-
/**
|
|
58
|
-
* #getter
|
|
59
|
-
*/
|
|
60
39
|
readonly authHeader: string;
|
|
61
|
-
/**
|
|
62
|
-
* #getter
|
|
63
|
-
*/
|
|
64
40
|
readonly tokenType: string;
|
|
65
|
-
/**
|
|
66
|
-
* #getter
|
|
67
|
-
*/
|
|
68
41
|
readonly domains: string[];
|
|
69
|
-
/**
|
|
70
|
-
* #getter
|
|
71
|
-
* Can use this to customize what is displayed in fileSelector's toggle box
|
|
72
|
-
*/
|
|
73
42
|
readonly toggleContents: React.ReactNode;
|
|
74
|
-
/**
|
|
75
|
-
* #getter
|
|
76
|
-
* Can use this to customize what the fileSelector. It takes a prop called
|
|
77
|
-
* `setLocation` that should be used to set a UriLocation
|
|
78
|
-
*/
|
|
79
43
|
readonly SelectorComponent: AnyReactComponentType | undefined;
|
|
80
|
-
/**
|
|
81
|
-
* #getter
|
|
82
|
-
* Can use this to add a label to the UrlChooser. Has no effect if a custom
|
|
83
|
-
* SelectorComponent is supplied
|
|
84
|
-
*/
|
|
85
44
|
readonly selectorLabel: string | undefined;
|
|
86
45
|
} & {
|
|
87
|
-
/**
|
|
88
|
-
* #method
|
|
89
|
-
* Determine whether this internetAccount provides credentials for a URL
|
|
90
|
-
* @param location - UriLocation of resource
|
|
91
|
-
* @returns true or false
|
|
92
|
-
*/
|
|
93
46
|
handlesLocation(location: UriLocation): boolean;
|
|
94
|
-
/**
|
|
95
|
-
* #getter
|
|
96
|
-
* The key used to store this internetAccount's token in sessionStorage
|
|
97
|
-
*/
|
|
98
47
|
readonly tokenKey: string;
|
|
99
48
|
} & {
|
|
100
|
-
/**
|
|
101
|
-
* #action
|
|
102
|
-
* Must be implemented by a model extending or composing this one. Pass the
|
|
103
|
-
* user's token to `resolve`.
|
|
104
|
-
* @param resolve - Pass the token to this function
|
|
105
|
-
* @param reject - If there is an error getting the token, call this function
|
|
106
|
-
*/
|
|
107
49
|
getTokenFromUser(_resolve: (token: string) => void, _reject: (error: Error) => void): void;
|
|
108
|
-
/**
|
|
109
|
-
* #action
|
|
110
|
-
*/
|
|
111
50
|
storeToken(token: string): void;
|
|
112
|
-
/**
|
|
113
|
-
* #action
|
|
114
|
-
*/
|
|
115
51
|
removeToken(): void;
|
|
116
|
-
/**
|
|
117
|
-
* #action
|
|
118
|
-
*/
|
|
119
52
|
retrieveToken(): string | null;
|
|
120
|
-
/**
|
|
121
|
-
* #action
|
|
122
|
-
* This can be used by an internetAccount to validate a token works before
|
|
123
|
-
* it is used. This is run when preAuthorizationInformation is requested,
|
|
124
|
-
* so it can be used to check that a token is valid before sending it to a
|
|
125
|
-
* worker thread. It expects the token to be returned so that this action
|
|
126
|
-
* can also be used to generate a new token (e.g. by using a refresh token)
|
|
127
|
-
* if the original one was invalid. Should throw an error if a token is
|
|
128
|
-
* invalid.
|
|
129
|
-
*
|
|
130
|
-
* @param token - Auth token
|
|
131
|
-
* @param loc - UriLocation of the resource
|
|
132
|
-
* @returns - Valid auth token
|
|
133
|
-
*/
|
|
134
53
|
validateToken(token: string, _loc: UriLocation): Promise<string>;
|
|
135
54
|
} & {
|
|
136
|
-
/**
|
|
137
|
-
* #action
|
|
138
|
-
* Try to get the token from the location pre-auth, from local storage,
|
|
139
|
-
* or from a previously cached promise. If token is not available, uses
|
|
140
|
-
* `getTokenFromUser`.
|
|
141
|
-
*
|
|
142
|
-
* @param location - UriLocation of the resource
|
|
143
|
-
* @returns A promise for the token
|
|
144
|
-
*/
|
|
145
55
|
getToken(location?: UriLocation): Promise<string>;
|
|
146
56
|
} & {
|
|
147
|
-
/**
|
|
148
|
-
* #action
|
|
149
|
-
*/
|
|
150
57
|
addAuthHeaderToInit(init?: RequestInit, token?: string): {
|
|
151
58
|
headers: Headers;
|
|
152
59
|
body?: BodyInit | null;
|
|
@@ -163,14 +70,6 @@ export declare const InternetAccount: import("mobx-state-tree").IModelType<{
|
|
|
163
70
|
signal?: AbortSignal | null;
|
|
164
71
|
window?: null;
|
|
165
72
|
};
|
|
166
|
-
/**
|
|
167
|
-
* #action
|
|
168
|
-
* Gets the token and returns it along with the information needed to
|
|
169
|
-
* create a new internetAccount.
|
|
170
|
-
*
|
|
171
|
-
* @param location - UriLocation of the resource
|
|
172
|
-
* @returns
|
|
173
|
-
*/
|
|
174
73
|
getPreAuthorizationInformation(location: UriLocation): Promise<{
|
|
175
74
|
internetAccountType: string;
|
|
176
75
|
authInfo: {
|
|
@@ -179,23 +78,8 @@ export declare const InternetAccount: import("mobx-state-tree").IModelType<{
|
|
|
179
78
|
};
|
|
180
79
|
}>;
|
|
181
80
|
} & {
|
|
182
|
-
/**
|
|
183
|
-
* #action
|
|
184
|
-
* Get a fetch method that will add any needed authentication headers to
|
|
185
|
-
* the request before sending it. If location is provided, it will be
|
|
186
|
-
* checked to see if it includes a token in it pre-auth information.
|
|
187
|
-
*
|
|
188
|
-
* @param loc - UriLocation of the resource
|
|
189
|
-
* @returns A function that can be used to fetch
|
|
190
|
-
*/
|
|
191
81
|
getFetcher(loc?: UriLocation): (input: RequestInfo, init?: RequestInit) => Promise<Response>;
|
|
192
82
|
} & {
|
|
193
|
-
/**
|
|
194
|
-
* #action
|
|
195
|
-
* Gets a filehandle that uses a fetch that adds auth headers
|
|
196
|
-
* @param location - UriLocation of the resource
|
|
197
|
-
* @returns A filehandle
|
|
198
|
-
*/
|
|
199
83
|
openLocation(location: UriLocation): RemoteFileWithRangeCache;
|
|
200
84
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
|
|
201
85
|
export type BaseInternetAccountStateModel = typeof InternetAccount;
|
|
@@ -2,153 +2,68 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.InternetAccount = void 0;
|
|
4
4
|
const mobx_state_tree_1 = require("mobx-state-tree");
|
|
5
|
+
const baseInternetAccountConfig_1 = require("./baseInternetAccountConfig");
|
|
5
6
|
const configuration_1 = require("../../configuration");
|
|
6
7
|
const io_1 = require("../../util/io");
|
|
7
8
|
const mst_1 = require("../../util/types/mst");
|
|
8
|
-
const baseInternetAccountConfig_1 = require("./baseInternetAccountConfig");
|
|
9
9
|
const inWebWorker = typeof sessionStorage === 'undefined';
|
|
10
|
-
|
|
11
|
-
* #stateModel BaseInternetAccountModel
|
|
12
|
-
* #category internetAccount
|
|
13
|
-
*/
|
|
14
|
-
function x() { } // eslint-disable-line @typescript-eslint/no-unused-vars
|
|
10
|
+
function x() { }
|
|
15
11
|
exports.InternetAccount = mobx_state_tree_1.types
|
|
16
12
|
.model('InternetAccount', {
|
|
17
|
-
/**
|
|
18
|
-
* #property
|
|
19
|
-
*/
|
|
20
13
|
id: mst_1.ElementId,
|
|
21
|
-
/**
|
|
22
|
-
* #property
|
|
23
|
-
*/
|
|
24
14
|
type: mobx_state_tree_1.types.string,
|
|
25
|
-
/**
|
|
26
|
-
* #property
|
|
27
|
-
*/
|
|
28
15
|
configuration: (0, configuration_1.ConfigurationReference)(baseInternetAccountConfig_1.BaseInternetAccountConfig),
|
|
29
16
|
})
|
|
30
17
|
.views(self => ({
|
|
31
|
-
/**
|
|
32
|
-
* #getter
|
|
33
|
-
*/
|
|
34
18
|
get name() {
|
|
35
19
|
return (0, configuration_1.getConf)(self, 'name');
|
|
36
20
|
},
|
|
37
|
-
/**
|
|
38
|
-
* #getter
|
|
39
|
-
*/
|
|
40
21
|
get description() {
|
|
41
22
|
return (0, configuration_1.getConf)(self, 'description');
|
|
42
23
|
},
|
|
43
|
-
/**
|
|
44
|
-
* #getter
|
|
45
|
-
*/
|
|
46
24
|
get internetAccountId() {
|
|
47
|
-
return (0, configuration_1.getConf)(self, 'internetAccountId');
|
|
25
|
+
return (0, configuration_1.getConf)(self, 'internetAccountId');
|
|
48
26
|
},
|
|
49
|
-
/**
|
|
50
|
-
* #getter
|
|
51
|
-
*/
|
|
52
27
|
get authHeader() {
|
|
53
28
|
return (0, configuration_1.getConf)(self, 'authHeader');
|
|
54
29
|
},
|
|
55
|
-
/**
|
|
56
|
-
* #getter
|
|
57
|
-
*/
|
|
58
30
|
get tokenType() {
|
|
59
31
|
return (0, configuration_1.getConf)(self, 'tokenType');
|
|
60
32
|
},
|
|
61
|
-
/**
|
|
62
|
-
* #getter
|
|
63
|
-
*/
|
|
64
33
|
get domains() {
|
|
65
34
|
return (0, configuration_1.getConf)(self, 'domains');
|
|
66
35
|
},
|
|
67
|
-
/**
|
|
68
|
-
* #getter
|
|
69
|
-
* Can use this to customize what is displayed in fileSelector's toggle box
|
|
70
|
-
*/
|
|
71
36
|
get toggleContents() {
|
|
72
37
|
return null;
|
|
73
38
|
},
|
|
74
|
-
/**
|
|
75
|
-
* #getter
|
|
76
|
-
* Can use this to customize what the fileSelector. It takes a prop called
|
|
77
|
-
* `setLocation` that should be used to set a UriLocation
|
|
78
|
-
*/
|
|
79
39
|
get SelectorComponent() {
|
|
80
40
|
return undefined;
|
|
81
41
|
},
|
|
82
|
-
/**
|
|
83
|
-
* #getter
|
|
84
|
-
* Can use this to add a label to the UrlChooser. Has no effect if a custom
|
|
85
|
-
* SelectorComponent is supplied
|
|
86
|
-
*/
|
|
87
42
|
get selectorLabel() {
|
|
88
43
|
return undefined;
|
|
89
44
|
},
|
|
90
45
|
}))
|
|
91
46
|
.views(self => ({
|
|
92
|
-
/**
|
|
93
|
-
* #method
|
|
94
|
-
* Determine whether this internetAccount provides credentials for a URL
|
|
95
|
-
* @param location - UriLocation of resource
|
|
96
|
-
* @returns true or false
|
|
97
|
-
*/
|
|
98
47
|
handlesLocation(location) {
|
|
99
48
|
return self.domains.some(domain => location.uri.includes(domain));
|
|
100
49
|
},
|
|
101
|
-
/**
|
|
102
|
-
* #getter
|
|
103
|
-
* The key used to store this internetAccount's token in sessionStorage
|
|
104
|
-
*/
|
|
105
50
|
get tokenKey() {
|
|
106
51
|
return `${self.internetAccountId}-token`;
|
|
107
52
|
},
|
|
108
53
|
}))
|
|
109
54
|
.actions(self => ({
|
|
110
|
-
/**
|
|
111
|
-
* #action
|
|
112
|
-
* Must be implemented by a model extending or composing this one. Pass the
|
|
113
|
-
* user's token to `resolve`.
|
|
114
|
-
* @param resolve - Pass the token to this function
|
|
115
|
-
* @param reject - If there is an error getting the token, call this function
|
|
116
|
-
*/
|
|
117
55
|
getTokenFromUser(_resolve, _reject) {
|
|
118
56
|
throw new Error('getTokenFromUser must be implemented by extending model');
|
|
119
57
|
},
|
|
120
|
-
/**
|
|
121
|
-
* #action
|
|
122
|
-
*/
|
|
123
58
|
storeToken(token) {
|
|
124
59
|
sessionStorage.setItem(self.tokenKey, token);
|
|
125
60
|
},
|
|
126
|
-
/**
|
|
127
|
-
* #action
|
|
128
|
-
*/
|
|
129
61
|
removeToken() {
|
|
130
62
|
sessionStorage.removeItem(self.tokenKey);
|
|
131
63
|
},
|
|
132
|
-
/**
|
|
133
|
-
* #action
|
|
134
|
-
*/
|
|
135
64
|
retrieveToken() {
|
|
136
65
|
return sessionStorage.getItem(self.tokenKey);
|
|
137
66
|
},
|
|
138
|
-
/**
|
|
139
|
-
* #action
|
|
140
|
-
* This can be used by an internetAccount to validate a token works before
|
|
141
|
-
* it is used. This is run when preAuthorizationInformation is requested,
|
|
142
|
-
* so it can be used to check that a token is valid before sending it to a
|
|
143
|
-
* worker thread. It expects the token to be returned so that this action
|
|
144
|
-
* can also be used to generate a new token (e.g. by using a refresh token)
|
|
145
|
-
* if the original one was invalid. Should throw an error if a token is
|
|
146
|
-
* invalid.
|
|
147
|
-
*
|
|
148
|
-
* @param token - Auth token
|
|
149
|
-
* @param loc - UriLocation of the resource
|
|
150
|
-
* @returns - Valid auth token
|
|
151
|
-
*/
|
|
152
67
|
async validateToken(token, _loc) {
|
|
153
68
|
return token;
|
|
154
69
|
},
|
|
@@ -156,15 +71,6 @@ exports.InternetAccount = mobx_state_tree_1.types
|
|
|
156
71
|
.actions(self => {
|
|
157
72
|
let tokenPromise = undefined;
|
|
158
73
|
return {
|
|
159
|
-
/**
|
|
160
|
-
* #action
|
|
161
|
-
* Try to get the token from the location pre-auth, from local storage,
|
|
162
|
-
* or from a previously cached promise. If token is not available, uses
|
|
163
|
-
* `getTokenFromUser`.
|
|
164
|
-
*
|
|
165
|
-
* @param location - UriLocation of the resource
|
|
166
|
-
* @returns A promise for the token
|
|
167
|
-
*/
|
|
168
74
|
async getToken(location) {
|
|
169
75
|
var _a, _b;
|
|
170
76
|
if (tokenPromise) {
|
|
@@ -197,9 +103,6 @@ exports.InternetAccount = mobx_state_tree_1.types
|
|
|
197
103
|
};
|
|
198
104
|
})
|
|
199
105
|
.actions(self => ({
|
|
200
|
-
/**
|
|
201
|
-
* #action
|
|
202
|
-
*/
|
|
203
106
|
addAuthHeaderToInit(init, token) {
|
|
204
107
|
return {
|
|
205
108
|
...init,
|
|
@@ -215,14 +118,6 @@ exports.InternetAccount = mobx_state_tree_1.types
|
|
|
215
118
|
}),
|
|
216
119
|
};
|
|
217
120
|
},
|
|
218
|
-
/**
|
|
219
|
-
* #action
|
|
220
|
-
* Gets the token and returns it along with the information needed to
|
|
221
|
-
* create a new internetAccount.
|
|
222
|
-
*
|
|
223
|
-
* @param location - UriLocation of the resource
|
|
224
|
-
* @returns
|
|
225
|
-
*/
|
|
226
121
|
async getPreAuthorizationInformation(location) {
|
|
227
122
|
const authToken = await self.getToken(location);
|
|
228
123
|
let validatedToken;
|
|
@@ -243,15 +138,6 @@ exports.InternetAccount = mobx_state_tree_1.types
|
|
|
243
138
|
},
|
|
244
139
|
}))
|
|
245
140
|
.actions(self => ({
|
|
246
|
-
/**
|
|
247
|
-
* #action
|
|
248
|
-
* Get a fetch method that will add any needed authentication headers to
|
|
249
|
-
* the request before sending it. If location is provided, it will be
|
|
250
|
-
* checked to see if it includes a token in it pre-auth information.
|
|
251
|
-
*
|
|
252
|
-
* @param loc - UriLocation of the resource
|
|
253
|
-
* @returns A function that can be used to fetch
|
|
254
|
-
*/
|
|
255
141
|
getFetcher(loc) {
|
|
256
142
|
return async (input, init) => {
|
|
257
143
|
const authToken = await self.getToken(loc);
|
|
@@ -261,12 +147,6 @@ exports.InternetAccount = mobx_state_tree_1.types
|
|
|
261
147
|
},
|
|
262
148
|
}))
|
|
263
149
|
.actions(self => ({
|
|
264
|
-
/**
|
|
265
|
-
* #action
|
|
266
|
-
* Gets a filehandle that uses a fetch that adds auth headers
|
|
267
|
-
* @param location - UriLocation of the resource
|
|
268
|
-
* @returns A filehandle
|
|
269
|
-
*/
|
|
270
150
|
openLocation(location) {
|
|
271
151
|
return new io_1.RemoteFileWithRangeCache(location.uri, {
|
|
272
152
|
fetch: self.getFetcher(location),
|
|
@@ -1,16 +1,10 @@
|
|
|
1
1
|
import type { Instance } from 'mobx-state-tree';
|
|
2
2
|
declare const BaseConnectionConfig: import("../../configuration/configurationSchema").ConfigurationSchemaType<{
|
|
3
|
-
/**
|
|
4
|
-
* #slot
|
|
5
|
-
*/
|
|
6
3
|
name: {
|
|
7
4
|
type: string;
|
|
8
5
|
defaultValue: string;
|
|
9
6
|
description: string;
|
|
10
7
|
};
|
|
11
|
-
/**
|
|
12
|
-
* #slot
|
|
13
|
-
*/
|
|
14
8
|
assemblyNames: {
|
|
15
9
|
type: string;
|
|
16
10
|
defaultValue: never[];
|
|
@@ -1,22 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const configuration_1 = require("../../configuration");
|
|
4
|
-
|
|
5
|
-
* #config BaseConnection
|
|
6
|
-
*/
|
|
7
|
-
function x() { } // eslint-disable-line @typescript-eslint/no-unused-vars
|
|
4
|
+
function x() { }
|
|
8
5
|
const BaseConnectionConfig = (0, configuration_1.ConfigurationSchema)('BaseConnection', {
|
|
9
|
-
/**
|
|
10
|
-
* #slot
|
|
11
|
-
*/
|
|
12
6
|
name: {
|
|
13
7
|
type: 'string',
|
|
14
8
|
defaultValue: 'nameOfConnection',
|
|
15
9
|
description: 'a unique name for this connection',
|
|
16
10
|
},
|
|
17
|
-
/**
|
|
18
|
-
* #slot
|
|
19
|
-
*/
|
|
20
11
|
assemblyNames: {
|
|
21
12
|
type: 'stringArray',
|
|
22
13
|
defaultValue: [],
|
|
@@ -24,9 +15,6 @@ const BaseConnectionConfig = (0, configuration_1.ConfigurationSchema)('BaseConne
|
|
|
24
15
|
},
|
|
25
16
|
}, {
|
|
26
17
|
explicitlyTyped: true,
|
|
27
|
-
/**
|
|
28
|
-
* #identifier
|
|
29
|
-
*/
|
|
30
18
|
explicitIdentifier: 'connectionId',
|
|
31
19
|
});
|
|
32
20
|
exports.default = BaseConnectionConfig;
|
|
@@ -1,39 +1,24 @@
|
|
|
1
1
|
export declare const BaseInternetAccountConfig: import("../../configuration/configurationSchema").ConfigurationSchemaType<{
|
|
2
|
-
/**
|
|
3
|
-
* #slot
|
|
4
|
-
*/
|
|
5
2
|
name: {
|
|
6
3
|
description: string;
|
|
7
4
|
type: string;
|
|
8
5
|
defaultValue: string;
|
|
9
6
|
};
|
|
10
|
-
/**
|
|
11
|
-
* #slot
|
|
12
|
-
*/
|
|
13
7
|
description: {
|
|
14
8
|
description: string;
|
|
15
9
|
type: string;
|
|
16
10
|
defaultValue: string;
|
|
17
11
|
};
|
|
18
|
-
/**
|
|
19
|
-
* #slot
|
|
20
|
-
*/
|
|
21
12
|
authHeader: {
|
|
22
13
|
description: string;
|
|
23
14
|
type: string;
|
|
24
15
|
defaultValue: string;
|
|
25
16
|
};
|
|
26
|
-
/**
|
|
27
|
-
* #slot
|
|
28
|
-
*/
|
|
29
17
|
tokenType: {
|
|
30
18
|
description: string;
|
|
31
19
|
type: string;
|
|
32
20
|
defaultValue: string;
|
|
33
21
|
};
|
|
34
|
-
/**
|
|
35
|
-
* #slot
|
|
36
|
-
*/
|
|
37
22
|
domains: {
|
|
38
23
|
description: string;
|
|
39
24
|
type: string;
|
|
@@ -2,56 +2,34 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.BaseInternetAccountConfig = void 0;
|
|
4
4
|
const configuration_1 = require("../../configuration");
|
|
5
|
-
|
|
6
|
-
* #config BaseInternetAccount
|
|
7
|
-
* the "base" internet account type
|
|
8
|
-
*/
|
|
9
|
-
function x() { } // eslint-disable-line @typescript-eslint/no-unused-vars
|
|
5
|
+
function x() { }
|
|
10
6
|
exports.BaseInternetAccountConfig = (0, configuration_1.ConfigurationSchema)('InternetAccount', {
|
|
11
|
-
/**
|
|
12
|
-
* #slot
|
|
13
|
-
*/
|
|
14
7
|
name: {
|
|
15
8
|
description: 'descriptive name of the internet account',
|
|
16
9
|
type: 'string',
|
|
17
10
|
defaultValue: '',
|
|
18
11
|
},
|
|
19
|
-
/**
|
|
20
|
-
* #slot
|
|
21
|
-
*/
|
|
22
12
|
description: {
|
|
23
13
|
description: 'a description of the internet account',
|
|
24
14
|
type: 'string',
|
|
25
15
|
defaultValue: '',
|
|
26
16
|
},
|
|
27
|
-
/**
|
|
28
|
-
* #slot
|
|
29
|
-
*/
|
|
30
17
|
authHeader: {
|
|
31
18
|
description: 'request header for credentials',
|
|
32
19
|
type: 'string',
|
|
33
20
|
defaultValue: 'Authorization',
|
|
34
21
|
},
|
|
35
|
-
/**
|
|
36
|
-
* #slot
|
|
37
|
-
*/
|
|
38
22
|
tokenType: {
|
|
39
23
|
description: 'a custom name for a token to include in the header',
|
|
40
24
|
type: 'string',
|
|
41
25
|
defaultValue: '',
|
|
42
26
|
},
|
|
43
|
-
/**
|
|
44
|
-
* #slot
|
|
45
|
-
*/
|
|
46
27
|
domains: {
|
|
47
28
|
description: 'array of valid domains the url can contain to use this account',
|
|
48
29
|
type: 'stringArray',
|
|
49
30
|
defaultValue: [],
|
|
50
31
|
},
|
|
51
32
|
}, {
|
|
52
|
-
/**
|
|
53
|
-
* #identifier
|
|
54
|
-
*/
|
|
55
33
|
explicitIdentifier: 'internetAccountId',
|
|
56
34
|
explicitlyTyped: true,
|
|
57
35
|
});
|
|
@@ -1,109 +1,64 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
/**
|
|
4
|
-
* #config BaseTrack
|
|
5
|
-
*/
|
|
1
|
+
import type PluginManager from '../../PluginManager';
|
|
2
|
+
import type { Instance } from 'mobx-state-tree';
|
|
6
3
|
export declare function createBaseTrackConfig(pluginManager: PluginManager): import("../../configuration/configurationSchema").ConfigurationSchemaType<{
|
|
7
|
-
/**
|
|
8
|
-
* #slot
|
|
9
|
-
*/
|
|
10
4
|
name: {
|
|
11
5
|
description: string;
|
|
12
6
|
type: string;
|
|
13
7
|
defaultValue: string;
|
|
14
8
|
};
|
|
15
|
-
/**
|
|
16
|
-
* #slot
|
|
17
|
-
*/
|
|
18
9
|
assemblyNames: {
|
|
19
10
|
description: string;
|
|
20
11
|
type: string;
|
|
21
12
|
defaultValue: string[];
|
|
22
13
|
};
|
|
23
|
-
/**
|
|
24
|
-
* #slot
|
|
25
|
-
*/
|
|
26
14
|
description: {
|
|
27
15
|
description: string;
|
|
28
16
|
type: string;
|
|
29
17
|
defaultValue: string;
|
|
30
18
|
};
|
|
31
|
-
/**
|
|
32
|
-
* #slot
|
|
33
|
-
*/
|
|
34
19
|
category: {
|
|
35
20
|
description: string;
|
|
36
21
|
type: string;
|
|
37
22
|
defaultValue: never[];
|
|
38
23
|
};
|
|
39
|
-
/**
|
|
40
|
-
* #slot
|
|
41
|
-
*/
|
|
42
24
|
metadata: {
|
|
43
25
|
type: string;
|
|
44
26
|
description: string;
|
|
45
27
|
defaultValue: {};
|
|
46
28
|
};
|
|
47
|
-
/**
|
|
48
|
-
* #slot
|
|
49
|
-
*/
|
|
50
29
|
adapter: import("mobx-state-tree").IAnyModelType;
|
|
51
30
|
textSearching: import("../../configuration/configurationSchema").ConfigurationSchemaType<{
|
|
52
|
-
/**
|
|
53
|
-
* #slot textSearching.indexedAttributes
|
|
54
|
-
*/
|
|
55
31
|
indexingAttributes: {
|
|
56
32
|
type: string;
|
|
57
33
|
description: string;
|
|
58
34
|
defaultValue: string[];
|
|
59
35
|
};
|
|
60
|
-
/**
|
|
61
|
-
* #slot textSearching.indexingFeatureTypesToExclude
|
|
62
|
-
*/
|
|
63
36
|
indexingFeatureTypesToExclude: {
|
|
64
37
|
type: string;
|
|
65
38
|
description: string;
|
|
66
39
|
defaultValue: string[];
|
|
67
40
|
};
|
|
68
|
-
/**
|
|
69
|
-
* #slot textSearching.textSearchAdapter
|
|
70
|
-
*/
|
|
71
41
|
textSearchAdapter: import("mobx-state-tree").IAnyModelType;
|
|
72
42
|
}, import("../../configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
|
|
73
|
-
/**
|
|
74
|
-
* #slot
|
|
75
|
-
*/
|
|
76
43
|
displays: import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyModelType>;
|
|
77
44
|
formatDetails: import("../../configuration/configurationSchema").ConfigurationSchemaType<{
|
|
78
|
-
/**
|
|
79
|
-
* #slot formatDetails.feature
|
|
80
|
-
*/
|
|
81
45
|
feature: {
|
|
82
46
|
type: string;
|
|
83
47
|
description: string;
|
|
84
48
|
defaultValue: {};
|
|
85
49
|
contextVariable: string[];
|
|
86
50
|
};
|
|
87
|
-
/**
|
|
88
|
-
* #slot formatDetails.subfeatures
|
|
89
|
-
*/
|
|
90
51
|
subfeatures: {
|
|
91
52
|
type: string;
|
|
92
53
|
description: string;
|
|
93
54
|
defaultValue: {};
|
|
94
55
|
contextVariable: string[];
|
|
95
56
|
};
|
|
96
|
-
/**
|
|
97
|
-
* #slot formatDetails.depth
|
|
98
|
-
*/
|
|
99
57
|
depth: {
|
|
100
58
|
type: string;
|
|
101
59
|
defaultValue: number;
|
|
102
60
|
description: string;
|
|
103
61
|
};
|
|
104
|
-
/**
|
|
105
|
-
* #slot formatDetails.maxDepth
|
|
106
|
-
*/
|
|
107
62
|
maxDepth: {
|
|
108
63
|
type: string;
|
|
109
64
|
defaultValue: number;
|
|
@@ -111,18 +66,12 @@ export declare function createBaseTrackConfig(pluginManager: PluginManager): imp
|
|
|
111
66
|
};
|
|
112
67
|
}, import("../../configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
|
|
113
68
|
formatAbout: import("../../configuration/configurationSchema").ConfigurationSchemaType<{
|
|
114
|
-
/**
|
|
115
|
-
* #slot formatAbout.config
|
|
116
|
-
*/
|
|
117
69
|
config: {
|
|
118
70
|
type: string;
|
|
119
71
|
description: string;
|
|
120
72
|
defaultValue: {};
|
|
121
73
|
contextVariable: string[];
|
|
122
74
|
};
|
|
123
|
-
/**
|
|
124
|
-
* #slot formatAbout.hideUris
|
|
125
|
-
*/
|
|
126
75
|
hideUris: {
|
|
127
76
|
type: string;
|
|
128
77
|
defaultValue: boolean;
|