@dxos/app-framework 0.8.2-main.f11618f → 0.8.2-staging.42af850
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/dist/lib/browser/{app-graph-builder-OHM2Z6YQ.mjs → app-graph-builder-DYEAGZPS.mjs} +23 -23
- package/dist/lib/browser/app-graph-builder-DYEAGZPS.mjs.map +7 -0
- package/dist/lib/browser/{chunk-DVNSCQJ5.mjs → chunk-5GE2ERNU.mjs} +314 -280
- package/dist/lib/browser/chunk-5GE2ERNU.mjs.map +7 -0
- package/dist/lib/browser/{chunk-SFPT4Z2C.mjs → chunk-WWEJRWFX.mjs} +10 -10
- package/dist/lib/browser/chunk-WWEJRWFX.mjs.map +7 -0
- package/dist/lib/browser/{chunk-X2YC645Z.mjs → chunk-ZMXJV64L.mjs} +122 -62
- package/dist/lib/browser/chunk-ZMXJV64L.mjs.map +7 -0
- package/dist/lib/browser/index.mjs +10 -10
- package/dist/lib/browser/{intent-dispatcher-J7QIFHLO.mjs → intent-dispatcher-ELZN5EM7.mjs} +2 -2
- package/dist/lib/browser/{intent-resolver-QV5MDMDV.mjs → intent-resolver-SGWLINTO.mjs} +3 -3
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/{store-XMPVLJOQ.mjs → store-YIU6IPZ2.mjs} +7 -6
- package/dist/lib/browser/store-YIU6IPZ2.mjs.map +7 -0
- package/dist/lib/browser/testing/index.mjs +30 -14
- package/dist/lib/browser/testing/index.mjs.map +3 -3
- package/dist/lib/browser/worker.mjs +3 -3
- package/dist/lib/node/app-graph-builder-GBLISL7L.cjs +146 -0
- package/dist/lib/node/app-graph-builder-GBLISL7L.cjs.map +7 -0
- package/dist/lib/node/{chunk-JUSEAFDU.cjs → chunk-G774ASXO.cjs} +5 -5
- package/dist/lib/node/chunk-G774ASXO.cjs.map +7 -0
- package/dist/lib/node/{chunk-I3CJYEBC.cjs → chunk-HIVITTZD.cjs} +156 -122
- package/dist/lib/node/chunk-HIVITTZD.cjs.map +7 -0
- package/dist/lib/node/{chunk-5UOVF3OR.cjs → chunk-Z2PMVDJ5.cjs} +155 -95
- package/dist/lib/node/chunk-Z2PMVDJ5.cjs.map +7 -0
- package/dist/lib/node/index.cjs +81 -81
- package/dist/lib/node/{intent-dispatcher-FQPJNKIZ.cjs → intent-dispatcher-LFXZJTAS.cjs} +8 -8
- package/dist/lib/node/{intent-dispatcher-FQPJNKIZ.cjs.map → intent-dispatcher-LFXZJTAS.cjs.map} +2 -2
- package/dist/lib/node/{intent-resolver-PBAOGJS6.cjs → intent-resolver-EPSFTHL6.cjs} +12 -12
- package/dist/lib/node/meta.json +1 -1
- package/dist/lib/node/{store-N7JLYYDI.cjs → store-CVVRXUTH.cjs} +10 -9
- package/dist/lib/node/store-CVVRXUTH.cjs.map +7 -0
- package/dist/lib/node/testing/index.cjs +34 -17
- package/dist/lib/node/testing/index.cjs.map +3 -3
- package/dist/lib/node/worker.cjs +39 -39
- package/dist/lib/node/worker.cjs.map +1 -1
- package/dist/lib/node-esm/{app-graph-builder-OMH534A4.mjs → app-graph-builder-LUBDEIT6.mjs} +23 -23
- package/dist/lib/node-esm/app-graph-builder-LUBDEIT6.mjs.map +7 -0
- package/dist/lib/node-esm/{chunk-QHXUTJHE.mjs → chunk-6IKYKERU.mjs} +122 -62
- package/dist/lib/node-esm/chunk-6IKYKERU.mjs.map +7 -0
- package/dist/lib/node-esm/{chunk-PHOUQACM.mjs → chunk-I6BVZMAH.mjs} +10 -10
- package/dist/lib/node-esm/chunk-I6BVZMAH.mjs.map +7 -0
- package/dist/lib/node-esm/{chunk-GSDBF2CK.mjs → chunk-Z2ZHH4HN.mjs} +314 -280
- package/dist/lib/node-esm/chunk-Z2ZHH4HN.mjs.map +7 -0
- package/dist/lib/node-esm/index.mjs +10 -10
- package/dist/lib/node-esm/{intent-dispatcher-QDUGA7NT.mjs → intent-dispatcher-A2JCMWRD.mjs} +2 -2
- package/dist/lib/node-esm/{intent-resolver-P7TC5RBD.mjs → intent-resolver-5C4O43GK.mjs} +3 -3
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/lib/node-esm/{store-M2BYJL6K.mjs → store-HRZXZ2D2.mjs} +7 -6
- package/dist/lib/node-esm/store-HRZXZ2D2.mjs.map +7 -0
- package/dist/lib/node-esm/testing/index.mjs +30 -14
- package/dist/lib/node-esm/testing/index.mjs.map +3 -3
- package/dist/lib/node-esm/worker.mjs +3 -3
- package/dist/types/src/App.d.ts +3 -1
- package/dist/types/src/App.d.ts.map +1 -1
- package/dist/types/src/common/capabilities.d.ts +40 -222
- package/dist/types/src/common/capabilities.d.ts.map +1 -1
- package/dist/types/src/common/collaboration.d.ts +8 -8
- package/dist/types/src/common/collaboration.d.ts.map +1 -1
- package/dist/types/src/common/events.d.ts.map +1 -1
- package/dist/types/src/common/file.d.ts +7 -7
- package/dist/types/src/common/file.d.ts.map +1 -1
- package/dist/types/src/common/layout.d.ts +165 -163
- package/dist/types/src/common/layout.d.ts.map +1 -1
- package/dist/types/src/common/surface.d.ts.map +1 -1
- package/dist/types/src/common/translations.d.ts +7 -7
- package/dist/types/src/common/translations.d.ts.map +1 -1
- package/dist/types/src/core/capabilities.d.ts +28 -13
- package/dist/types/src/core/capabilities.d.ts.map +1 -1
- package/dist/types/src/core/events.d.ts.map +1 -1
- package/dist/types/src/core/manager.d.ts +6 -3
- package/dist/types/src/core/manager.d.ts.map +1 -1
- package/dist/types/src/core/plugin.d.ts +2 -2
- package/dist/types/src/core/plugin.d.ts.map +1 -1
- package/dist/types/src/helpers.d.ts.map +1 -1
- package/dist/types/src/playground/generator/generator.d.ts.map +1 -1
- package/dist/types/src/playground/logger/schema.d.ts +6 -6
- package/dist/types/src/playground/logger/schema.d.ts.map +1 -1
- package/dist/types/src/playground/playground.stories.d.ts.map +1 -1
- package/dist/types/src/plugin-intent/actions.d.ts +14 -14
- package/dist/types/src/plugin-intent/actions.d.ts.map +1 -1
- package/dist/types/src/plugin-intent/intent-dispatcher.d.ts +3 -3
- package/dist/types/src/plugin-intent/intent-dispatcher.d.ts.map +1 -1
- package/dist/types/src/plugin-intent/intent.d.ts +14 -20
- package/dist/types/src/plugin-intent/intent.d.ts.map +1 -1
- package/dist/types/src/plugin-settings/actions.d.ts +10 -10
- package/dist/types/src/plugin-settings/actions.d.ts.map +1 -1
- package/dist/types/src/plugin-settings/app-graph-builder.d.ts +2 -195
- package/dist/types/src/plugin-settings/app-graph-builder.d.ts.map +1 -1
- package/dist/types/src/plugin-settings/store.d.ts +2 -2
- package/dist/types/src/plugin-settings/store.d.ts.map +1 -1
- package/dist/types/src/react/ErrorBoundary.d.ts +1 -1
- package/dist/types/src/react/ErrorBoundary.d.ts.map +1 -1
- package/dist/types/src/react/IntentContext.d.ts.map +1 -1
- package/dist/types/src/react/Surface.d.ts +2 -2
- package/dist/types/src/react/Surface.d.ts.map +1 -1
- package/dist/types/src/react/useCapabilities.d.ts +2 -2
- package/dist/types/src/react/useCapabilities.d.ts.map +1 -1
- package/dist/types/src/react/useIntentResolver.d.ts.map +1 -1
- package/dist/types/src/testing/withPluginManager.d.ts +6 -2
- package/dist/types/src/testing/withPluginManager.d.ts.map +1 -1
- package/dist/types/src/testing/withPluginManager.stories.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +28 -21
- package/src/App.tsx +97 -47
- package/src/common/capabilities.ts +18 -7
- package/src/common/collaboration.ts +9 -9
- package/src/common/file.ts +7 -7
- package/src/common/layout.ts +156 -136
- package/src/common/translations.ts +7 -7
- package/src/core/capabilities.test.ts +55 -36
- package/src/core/capabilities.ts +79 -59
- package/src/core/manager.test.ts +19 -19
- package/src/core/manager.ts +24 -16
- package/src/core/plugin.ts +2 -2
- package/src/playground/generator/generator.ts +4 -4
- package/src/playground/logger/schema.ts +5 -5
- package/src/playground/playground.stories.tsx +13 -9
- package/src/plugin-intent/actions.ts +9 -9
- package/src/plugin-intent/intent-dispatcher.test.ts +23 -42
- package/src/plugin-intent/intent-dispatcher.ts +7 -11
- package/src/plugin-intent/intent.ts +22 -20
- package/src/plugin-settings/actions.ts +8 -8
- package/src/plugin-settings/app-graph-builder.ts +129 -94
- package/src/plugin-settings/store.ts +20 -17
- package/src/react/ErrorBoundary.tsx +3 -3
- package/src/react/Surface.stories.tsx +1 -1
- package/src/react/Surface.tsx +3 -3
- package/src/react/useCapabilities.ts +9 -19
- package/src/testing/withPluginManager.stories.tsx +0 -1
- package/src/testing/withPluginManager.tsx +35 -16
- package/tsconfig.json +1 -53
- package/typedoc/assets/navigation.js +1 -1
- package/typedoc/assets/search.js +1 -1
- package/typedoc/classes/CollaborationActions.InsertContent.html +280 -280
- package/typedoc/classes/ErrorBoundary.html +6 -6
- package/typedoc/classes/IntentAction.ShowUndo.html +125 -125
- package/typedoc/classes/IntentAction.Track.html +239 -239
- package/typedoc/classes/LayoutAction.AddToast.html +163 -163
- package/typedoc/classes/LayoutAction.Close.html +352 -352
- package/typedoc/classes/LayoutAction.Expose.html +238 -238
- package/typedoc/classes/LayoutAction.Open.html +904 -748
- package/typedoc/classes/LayoutAction.RevertWorkspace.html +241 -241
- package/typedoc/classes/LayoutAction.ScrollIntoView.html +280 -280
- package/typedoc/classes/LayoutAction.Set.html +436 -358
- package/typedoc/classes/LayoutAction.SetLayoutMode.html +469 -391
- package/typedoc/classes/LayoutAction.SwitchWorkspace.html +238 -238
- package/typedoc/classes/LayoutAction.UpdateComplementary.html +358 -358
- package/typedoc/classes/LayoutAction.UpdateDialog.html +865 -475
- package/typedoc/classes/LayoutAction.UpdateLayout.html +281 -281
- package/typedoc/classes/LayoutAction.UpdatePopover.html +826 -826
- package/typedoc/classes/LayoutAction.UpdateSidebar.html +397 -319
- package/typedoc/classes/Plugin.html +3 -3
- package/typedoc/classes/PluginContext.html +38 -0
- package/typedoc/classes/PluginManager.html +17 -16
- package/typedoc/classes/PluginModule.html +9 -9
- package/typedoc/classes/SettingsAction.Open.html +199 -199
- package/typedoc/classes/SettingsAction.OpenPluginRegistry.html +124 -124
- package/typedoc/functions/Events.createStateEvent.html +2 -2
- package/typedoc/functions/IntentPlugin.html +1 -1
- package/typedoc/functions/SettingsPlugin.html +1 -1
- package/typedoc/functions/allOf.html +2 -2
- package/typedoc/functions/chain.html +2 -2
- package/typedoc/functions/contributes.html +2 -2
- package/typedoc/functions/createDispatcher.html +3 -3
- package/typedoc/functions/createIntent.html +3 -3
- package/typedoc/functions/createResolver.html +2 -2
- package/typedoc/functions/createSurface.html +2 -2
- package/typedoc/functions/defineCapability.html +2 -2
- package/typedoc/functions/defineEvent.html +2 -2
- package/typedoc/functions/defineModule.html +2 -2
- package/typedoc/functions/definePlugin.html +2 -2
- package/typedoc/functions/eventKey.html +2 -2
- package/typedoc/functions/getEvents.html +2 -2
- package/typedoc/functions/isAllOf.html +2 -2
- package/typedoc/functions/isOneOf.html +2 -2
- package/typedoc/functions/isSurfaceAvailable.html +2 -2
- package/typedoc/functions/lazy.html +2 -2
- package/typedoc/functions/oneOf.html +2 -2
- package/typedoc/functions/{createApp.html → useApp.html} +2 -2
- package/typedoc/functions/useAppGraph.html +1 -1
- package/typedoc/functions/useCapabilities.html +3 -3
- package/typedoc/functions/useCapability.html +3 -3
- package/typedoc/functions/useIntentDispatcher.html +1 -1
- package/typedoc/functions/useIntentResolver.html +1 -1
- package/typedoc/functions/useLayout.html +1 -1
- package/typedoc/functions/usePluginManager.html +2 -2
- package/typedoc/hierarchy.html +1 -1
- package/typedoc/index.html +2 -2
- package/typedoc/interfaces/LayoutAction.Toast.html +2 -2
- package/typedoc/modules/Capabilities.html +1 -1
- package/typedoc/modules/CollaborationActions.html +1 -1
- package/typedoc/modules/Events.html +1 -1
- package/typedoc/modules/IntentAction.html +1 -1
- package/typedoc/modules/LayoutAction.html +2 -2
- package/typedoc/modules/SettingsAction.html +1 -1
- package/typedoc/modules.html +1 -1
- package/typedoc/types/ActivationEvent.html +3 -3
- package/typedoc/types/ActivationEvents.html +2 -2
- package/typedoc/types/AnyCapability.html +1 -1
- package/typedoc/types/AnyIntent.html +1 -1
- package/typedoc/types/AnyIntentChain.html +1 -1
- package/typedoc/types/AnyIntentEffectResult.html +1 -1
- package/typedoc/types/AnyIntentResolver.html +1 -1
- package/typedoc/types/AnyIntentResult.html +1 -1
- package/typedoc/types/Capabilities.FileUploader.html +1 -1
- package/typedoc/types/Capabilities.IntentResolver.html +1 -1
- package/typedoc/types/Capabilities.Layout.html +1 -1
- package/typedoc/types/Capabilities.Metadata.html +1 -1
- package/typedoc/types/Capabilities.ReactContext.html +1 -1
- package/typedoc/types/Capabilities.ReactRoot.html +1 -1
- package/typedoc/types/Capabilities.ReactSurface.html +1 -1
- package/typedoc/types/Capabilities.Settings.html +2 -2
- package/typedoc/types/Capability.html +5 -5
- package/typedoc/types/CreateAppOptions.html +3 -2
- package/typedoc/types/FileInfo.html +1 -1
- package/typedoc/types/Intent.html +6 -10
- package/typedoc/types/IntentChain.html +3 -3
- package/typedoc/types/IntentContext.html +2 -2
- package/typedoc/types/IntentData.html +1 -1
- package/typedoc/types/IntentDispatcher.html +2 -2
- package/typedoc/types/IntentDispatcherResult.html +2 -2
- package/typedoc/types/IntentEffectDefinition.html +2 -2
- package/typedoc/types/IntentEffectResult.html +6 -6
- package/typedoc/types/IntentParams.html +2 -2
- package/typedoc/types/IntentResolver.html +2 -2
- package/typedoc/types/IntentResultData.html +1 -1
- package/typedoc/types/IntentSchema.html +1 -1
- package/typedoc/types/IntentUndo.html +2 -2
- package/typedoc/types/InterfaceDef.html +3 -3
- package/typedoc/types/Label.html +1 -1
- package/typedoc/types/NodeSerializer.html +3 -3
- package/typedoc/types/PluginManagerOptions.html +3 -2
- package/typedoc/types/PluginMeta.html +9 -9
- package/typedoc/types/PromiseIntentDispatcher.html +2 -2
- package/typedoc/types/PromiseIntentUndo.html +2 -2
- package/typedoc/types/Resource.html +1 -1
- package/typedoc/types/ResourceKey.html +1 -1
- package/typedoc/types/ResourceLanguage.html +1 -1
- package/typedoc/types/SerializedNode.html +2 -2
- package/typedoc/types/SurfaceComponent.html +2 -2
- package/typedoc/types/SurfaceDefinition.html +2 -2
- package/typedoc/types/SurfaceProps.html +2 -2
- package/typedoc/variables/Capabilities.AnchorSort.html +1 -0
- package/typedoc/variables/Capabilities.AppGraph.html +1 -1
- package/typedoc/variables/Capabilities.AppGraphBuilder.html +1 -1
- package/typedoc/variables/Capabilities.AppGraphSerializer.html +1 -1
- package/typedoc/variables/Capabilities.ArtifactDefinition.html +1 -1
- package/typedoc/variables/Capabilities.FileUploader.html +1 -1
- package/typedoc/variables/Capabilities.IntentDispatcher.html +1 -1
- package/typedoc/variables/Capabilities.IntentResolver.html +1 -1
- package/typedoc/variables/Capabilities.Layout.html +1 -1
- package/typedoc/variables/Capabilities.Metadata.html +1 -1
- package/typedoc/variables/Capabilities.Null.html +1 -1
- package/typedoc/variables/Capabilities.PluginManager.html +1 -1
- package/typedoc/variables/Capabilities.ReactContext.html +1 -1
- package/typedoc/variables/Capabilities.ReactRoot.html +1 -1
- package/typedoc/variables/Capabilities.ReactSurface.html +1 -1
- package/typedoc/variables/Capabilities.RxRegistry.html +1 -0
- package/typedoc/variables/Capabilities.Settings.html +1 -1
- package/typedoc/variables/Capabilities.SettingsStore.html +1 -1
- package/typedoc/variables/Capabilities.Tools.html +1 -1
- package/typedoc/variables/Capabilities.Translations.html +1 -1
- package/typedoc/variables/Events.AppGraphReady.html +2 -2
- package/typedoc/variables/Events.DispatcherReady.html +2 -2
- package/typedoc/variables/Events.LayoutReady.html +1 -1
- package/typedoc/variables/Events.SettingsReady.html +2 -2
- package/typedoc/variables/Events.SetupAppGraph.html +2 -2
- package/typedoc/variables/Events.SetupArtifactDefinition.html +2 -2
- package/typedoc/variables/Events.SetupIntentResolver.html +2 -2
- package/typedoc/variables/Events.SetupMetadata.html +2 -2
- package/typedoc/variables/Events.SetupReactSurface.html +2 -2
- package/typedoc/variables/Events.SetupSettings.html +2 -2
- package/typedoc/variables/Events.SetupTranslations.html +2 -2
- package/typedoc/variables/Events.Startup.html +2 -2
- package/typedoc/variables/FileInfoSchema.html +1 -1
- package/typedoc/variables/INTENT_ACTION.html +1 -1
- package/typedoc/variables/INTENT_PLUGIN.html +1 -1
- package/typedoc/variables/LAYOUT_ACTION.html +1 -1
- package/typedoc/variables/LAYOUT_PLUGIN.html +1 -1
- package/typedoc/variables/Label.html +1 -1
- package/typedoc/variables/LayoutAction.Toast.html +1 -1
- package/typedoc/variables/LayoutAction.UPDATE_LAYOUT.html +1 -1
- package/typedoc/variables/PluginManagerProvider.html +2 -2
- package/typedoc/variables/Resource.html +2 -2
- package/typedoc/variables/ResourceKey.html +1 -1
- package/typedoc/variables/ResourceLanguage.html +1 -1
- package/typedoc/variables/SETTINGS_ACTION.html +1 -1
- package/typedoc/variables/SETTINGS_ID.html +1 -1
- package/typedoc/variables/SETTINGS_KEY.html +1 -1
- package/typedoc/variables/SETTINGS_PLUGIN.html +1 -1
- package/typedoc/variables/Surface.html +2 -2
- package/typedoc/variables/defaultFileTypes.html +1 -1
- package/dist/lib/browser/app-graph-builder-OHM2Z6YQ.mjs.map +0 -7
- package/dist/lib/browser/chunk-DVNSCQJ5.mjs.map +0 -7
- package/dist/lib/browser/chunk-SFPT4Z2C.mjs.map +0 -7
- package/dist/lib/browser/chunk-X2YC645Z.mjs.map +0 -7
- package/dist/lib/browser/store-XMPVLJOQ.mjs.map +0 -7
- package/dist/lib/node/app-graph-builder-Z45FKS52.cjs +0 -146
- package/dist/lib/node/app-graph-builder-Z45FKS52.cjs.map +0 -7
- package/dist/lib/node/chunk-5UOVF3OR.cjs.map +0 -7
- package/dist/lib/node/chunk-I3CJYEBC.cjs.map +0 -7
- package/dist/lib/node/chunk-JUSEAFDU.cjs.map +0 -7
- package/dist/lib/node/store-N7JLYYDI.cjs.map +0 -7
- package/dist/lib/node-esm/app-graph-builder-OMH534A4.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-GSDBF2CK.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-PHOUQACM.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-QHXUTJHE.mjs.map +0 -7
- package/dist/lib/node-esm/store-M2BYJL6K.mjs.map +0 -7
- package/typedoc/classes/PluginsContext.html +0 -25
- /package/dist/lib/browser/{intent-dispatcher-J7QIFHLO.mjs.map → intent-dispatcher-ELZN5EM7.mjs.map} +0 -0
- /package/dist/lib/browser/{intent-resolver-QV5MDMDV.mjs.map → intent-resolver-SGWLINTO.mjs.map} +0 -0
- /package/dist/lib/node/{intent-resolver-PBAOGJS6.cjs.map → intent-resolver-EPSFTHL6.cjs.map} +0 -0
- /package/dist/lib/node-esm/{intent-dispatcher-QDUGA7NT.mjs.map → intent-dispatcher-A2JCMWRD.mjs.map} +0 -0
- /package/dist/lib/node-esm/{intent-resolver-P7TC5RBD.mjs.map → intent-resolver-5C4O43GK.mjs.map} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Schema
|
|
1
|
+
import { Schema } from 'effect';
|
|
2
2
|
export declare const LAYOUT_PLUGIN = "dxos.org/plugin/layout";
|
|
3
3
|
export declare const LAYOUT_ACTION = "dxos.org/plugin/layout/action";
|
|
4
4
|
/**
|
|
@@ -6,261 +6,263 @@ export declare const LAYOUT_ACTION = "dxos.org/plugin/layout/action";
|
|
|
6
6
|
*/
|
|
7
7
|
export declare namespace LayoutAction {
|
|
8
8
|
export const UPDATE_LAYOUT = "dxos.org/plugin/layout/action/update-layout";
|
|
9
|
-
const UpdateLayout_base:
|
|
10
|
-
readonly _tag:
|
|
9
|
+
const UpdateLayout_base: Schema.TaggedClass<UpdateLayout, "dxos.org/plugin/layout/action/update-layout", {
|
|
10
|
+
readonly _tag: Schema.tag<"dxos.org/plugin/layout/action/update-layout">;
|
|
11
11
|
} & {
|
|
12
|
-
input:
|
|
13
|
-
part:
|
|
14
|
-
subject:
|
|
15
|
-
options:
|
|
12
|
+
input: Schema.Struct<{
|
|
13
|
+
part: Schema.SchemaClass<string, string, never>;
|
|
14
|
+
subject: Schema.optional<Schema.SchemaClass<any, any, never>>;
|
|
15
|
+
options: Schema.optional<Schema.Record$<typeof Schema.String, typeof Schema.Any>>;
|
|
16
16
|
}>;
|
|
17
|
-
output: typeof
|
|
17
|
+
output: typeof Schema.Void;
|
|
18
18
|
}>;
|
|
19
19
|
/**
|
|
20
20
|
* Generic layout action.
|
|
21
21
|
*/
|
|
22
22
|
export class UpdateLayout extends UpdateLayout_base {
|
|
23
23
|
}
|
|
24
|
-
const SetLayoutMode_base:
|
|
25
|
-
readonly _tag:
|
|
24
|
+
const SetLayoutMode_base: Schema.TaggedClass<SetLayoutMode, "dxos.org/plugin/layout/action/update-layout", {
|
|
25
|
+
readonly _tag: Schema.tag<"dxos.org/plugin/layout/action/update-layout">;
|
|
26
26
|
} & {
|
|
27
|
-
input:
|
|
28
|
-
part:
|
|
29
|
-
subject:
|
|
30
|
-
options:
|
|
31
|
-
mode:
|
|
32
|
-
}>,
|
|
33
|
-
revert:
|
|
27
|
+
input: Schema.Struct<{
|
|
28
|
+
part: Schema.Literal<["mode"]>;
|
|
29
|
+
subject: Schema.optional<Schema.SchemaClass<string, string, never>>;
|
|
30
|
+
options: Schema.Union<[Schema.Struct<{
|
|
31
|
+
mode: Schema.SchemaClass<string, string, never>;
|
|
32
|
+
}>, Schema.Struct<{
|
|
33
|
+
revert: Schema.SchemaClass<boolean, boolean, never>;
|
|
34
34
|
}>]>;
|
|
35
35
|
}>;
|
|
36
|
-
output: typeof
|
|
36
|
+
output: typeof Schema.Void;
|
|
37
37
|
}>;
|
|
38
38
|
export class SetLayoutMode extends SetLayoutMode_base {
|
|
39
39
|
}
|
|
40
|
-
const UpdateSidebar_base:
|
|
41
|
-
readonly _tag:
|
|
40
|
+
const UpdateSidebar_base: Schema.TaggedClass<UpdateSidebar, "dxos.org/plugin/layout/action/update-layout", {
|
|
41
|
+
readonly _tag: Schema.tag<"dxos.org/plugin/layout/action/update-layout">;
|
|
42
42
|
} & {
|
|
43
|
-
input:
|
|
44
|
-
part:
|
|
45
|
-
subject:
|
|
46
|
-
options:
|
|
47
|
-
state:
|
|
43
|
+
input: Schema.Struct<{
|
|
44
|
+
part: Schema.Literal<["sidebar"]>;
|
|
45
|
+
subject: Schema.optional<Schema.SchemaClass<string, string, never>>;
|
|
46
|
+
options: Schema.optional<Schema.Struct<{
|
|
47
|
+
state: Schema.Literal<["closed", "collapsed", "expanded"]>;
|
|
48
48
|
}>>;
|
|
49
49
|
}>;
|
|
50
|
-
output: typeof
|
|
50
|
+
output: typeof Schema.Void;
|
|
51
51
|
}>;
|
|
52
52
|
export class UpdateSidebar extends UpdateSidebar_base {
|
|
53
53
|
}
|
|
54
|
-
const UpdateComplementary_base:
|
|
55
|
-
readonly _tag:
|
|
54
|
+
const UpdateComplementary_base: Schema.TaggedClass<UpdateComplementary, "dxos.org/plugin/layout/action/update-layout", {
|
|
55
|
+
readonly _tag: Schema.tag<"dxos.org/plugin/layout/action/update-layout">;
|
|
56
56
|
} & {
|
|
57
|
-
input:
|
|
58
|
-
part:
|
|
59
|
-
subject:
|
|
60
|
-
options:
|
|
61
|
-
state:
|
|
57
|
+
input: Schema.Struct<{
|
|
58
|
+
part: Schema.Literal<["complementary"]>;
|
|
59
|
+
subject: Schema.optional<Schema.SchemaClass<string, string, never>>;
|
|
60
|
+
options: Schema.optional<Schema.Struct<{
|
|
61
|
+
state: Schema.Literal<["closed", "collapsed", "expanded"]>;
|
|
62
62
|
}>>;
|
|
63
63
|
}>;
|
|
64
|
-
output: typeof
|
|
64
|
+
output: typeof Schema.Void;
|
|
65
65
|
}>;
|
|
66
66
|
export class UpdateComplementary extends UpdateComplementary_base {
|
|
67
67
|
}
|
|
68
|
-
const UpdateDialog_base:
|
|
69
|
-
readonly _tag:
|
|
68
|
+
const UpdateDialog_base: Schema.TaggedClass<UpdateDialog, "dxos.org/plugin/layout/action/update-layout", {
|
|
69
|
+
readonly _tag: Schema.tag<"dxos.org/plugin/layout/action/update-layout">;
|
|
70
70
|
} & {
|
|
71
|
-
input:
|
|
72
|
-
part:
|
|
73
|
-
subject:
|
|
74
|
-
options:
|
|
75
|
-
state:
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
71
|
+
input: Schema.Struct<{
|
|
72
|
+
part: Schema.Literal<["dialog"]>;
|
|
73
|
+
subject: Schema.optional<Schema.SchemaClass<string, string, never>>;
|
|
74
|
+
options: Schema.Struct<{
|
|
75
|
+
state: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
|
|
76
|
+
type: Schema.optional<Schema.Literal<["default", "alert"]>>;
|
|
77
|
+
blockAlign: Schema.optional<Schema.Literal<["start", "center", "end"]>>;
|
|
78
|
+
overlayClasses: Schema.optional<Schema.SchemaClass<string, string, never>>;
|
|
79
|
+
overlayStyle: Schema.optional<Schema.Record$<typeof Schema.String, typeof Schema.Any>>;
|
|
80
|
+
props: Schema.optional<Schema.Record$<typeof Schema.String, typeof Schema.Any>>;
|
|
79
81
|
}>;
|
|
80
82
|
}>;
|
|
81
|
-
output: typeof
|
|
83
|
+
output: typeof Schema.Void;
|
|
82
84
|
}>;
|
|
83
85
|
export class UpdateDialog extends UpdateDialog_base {
|
|
84
86
|
}
|
|
85
|
-
const UpdatePopover_base:
|
|
86
|
-
readonly _tag:
|
|
87
|
+
const UpdatePopover_base: Schema.TaggedClass<UpdatePopover, "dxos.org/plugin/layout/action/update-layout", {
|
|
88
|
+
readonly _tag: Schema.tag<"dxos.org/plugin/layout/action/update-layout">;
|
|
87
89
|
} & {
|
|
88
|
-
input:
|
|
89
|
-
part:
|
|
90
|
-
subject:
|
|
91
|
-
options:
|
|
92
|
-
side:
|
|
93
|
-
state:
|
|
94
|
-
props:
|
|
95
|
-
}>,
|
|
96
|
-
variant:
|
|
97
|
-
anchor:
|
|
98
|
-
}>,
|
|
99
|
-
variant:
|
|
100
|
-
anchorId:
|
|
90
|
+
input: Schema.Struct<{
|
|
91
|
+
part: Schema.Literal<["popover"]>;
|
|
92
|
+
subject: Schema.optional<Schema.SchemaClass<any, any, never>>;
|
|
93
|
+
options: Schema.extend<Schema.Struct<{
|
|
94
|
+
side: Schema.optional<Schema.Literal<["top", "right", "bottom", "left"]>>;
|
|
95
|
+
state: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
|
|
96
|
+
props: Schema.optional<Schema.Record$<typeof Schema.String, typeof Schema.Any>>;
|
|
97
|
+
}>, Schema.Union<[Schema.Struct<{
|
|
98
|
+
variant: Schema.Literal<["virtual"]>;
|
|
99
|
+
anchor: Schema.SchemaClass<any, any, never>;
|
|
100
|
+
}>, Schema.Struct<{
|
|
101
|
+
variant: Schema.optional<Schema.Literal<["react"]>>;
|
|
102
|
+
anchorId: Schema.SchemaClass<string, string, never>;
|
|
101
103
|
}>]>>;
|
|
102
104
|
}>;
|
|
103
|
-
output: typeof
|
|
105
|
+
output: typeof Schema.Void;
|
|
104
106
|
}>;
|
|
105
107
|
export class UpdatePopover extends UpdatePopover_base {
|
|
106
108
|
}
|
|
107
|
-
export const Toast:
|
|
108
|
-
id:
|
|
109
|
-
title:
|
|
110
|
-
ns: typeof
|
|
111
|
-
count:
|
|
109
|
+
export const Toast: Schema.Struct<{
|
|
110
|
+
id: Schema.SchemaClass<string, string, never>;
|
|
111
|
+
title: Schema.optional<Schema.Union<[typeof Schema.String, Schema.mutable<Schema.Tuple2<typeof Schema.String, Schema.mutable<Schema.Struct<{
|
|
112
|
+
ns: typeof Schema.String;
|
|
113
|
+
count: Schema.optional<typeof Schema.Number>;
|
|
112
114
|
}>>>>]>>;
|
|
113
|
-
description:
|
|
114
|
-
ns: typeof
|
|
115
|
-
count:
|
|
115
|
+
description: Schema.optional<Schema.Union<[typeof Schema.String, Schema.mutable<Schema.Tuple2<typeof Schema.String, Schema.mutable<Schema.Struct<{
|
|
116
|
+
ns: typeof Schema.String;
|
|
117
|
+
count: Schema.optional<typeof Schema.Number>;
|
|
116
118
|
}>>>>]>>;
|
|
117
|
-
icon:
|
|
118
|
-
duration:
|
|
119
|
-
closeLabel:
|
|
120
|
-
ns: typeof
|
|
121
|
-
count:
|
|
119
|
+
icon: Schema.optional<Schema.SchemaClass<string, string, never>>;
|
|
120
|
+
duration: Schema.optional<Schema.SchemaClass<number, number, never>>;
|
|
121
|
+
closeLabel: Schema.optional<Schema.Union<[typeof Schema.String, Schema.mutable<Schema.Tuple2<typeof Schema.String, Schema.mutable<Schema.Struct<{
|
|
122
|
+
ns: typeof Schema.String;
|
|
123
|
+
count: Schema.optional<typeof Schema.Number>;
|
|
122
124
|
}>>>>]>>;
|
|
123
|
-
actionLabel:
|
|
124
|
-
ns: typeof
|
|
125
|
-
count:
|
|
125
|
+
actionLabel: Schema.optional<Schema.Union<[typeof Schema.String, Schema.mutable<Schema.Tuple2<typeof Schema.String, Schema.mutable<Schema.Struct<{
|
|
126
|
+
ns: typeof Schema.String;
|
|
127
|
+
count: Schema.optional<typeof Schema.Number>;
|
|
126
128
|
}>>>>]>>;
|
|
127
|
-
actionAlt:
|
|
128
|
-
ns: typeof
|
|
129
|
-
count:
|
|
129
|
+
actionAlt: Schema.optional<Schema.Union<[typeof Schema.String, Schema.mutable<Schema.Tuple2<typeof Schema.String, Schema.mutable<Schema.Struct<{
|
|
130
|
+
ns: typeof Schema.String;
|
|
131
|
+
count: Schema.optional<typeof Schema.Number>;
|
|
130
132
|
}>>>>]>>;
|
|
131
|
-
onAction:
|
|
133
|
+
onAction: Schema.optional<Schema.SchemaClass<any, any, never>>;
|
|
132
134
|
}>;
|
|
133
|
-
export interface Toast extends Omit<
|
|
135
|
+
export interface Toast extends Omit<Schema.Schema.Type<typeof Toast>, 'onAction'> {
|
|
134
136
|
onAction?: () => void;
|
|
135
137
|
}
|
|
136
|
-
const AddToast_base:
|
|
137
|
-
readonly _tag:
|
|
138
|
+
const AddToast_base: Schema.TaggedClass<AddToast, "dxos.org/plugin/layout/action/update-layout", {
|
|
139
|
+
readonly _tag: Schema.tag<"dxos.org/plugin/layout/action/update-layout">;
|
|
138
140
|
} & {
|
|
139
|
-
input:
|
|
140
|
-
part:
|
|
141
|
-
subject:
|
|
142
|
-
id:
|
|
143
|
-
title:
|
|
144
|
-
ns: typeof
|
|
145
|
-
count:
|
|
141
|
+
input: Schema.Struct<{
|
|
142
|
+
part: Schema.Literal<["toast"]>;
|
|
143
|
+
subject: Schema.Struct<{
|
|
144
|
+
id: Schema.SchemaClass<string, string, never>;
|
|
145
|
+
title: Schema.optional<Schema.Union<[typeof Schema.String, Schema.mutable<Schema.Tuple2<typeof Schema.String, Schema.mutable<Schema.Struct<{
|
|
146
|
+
ns: typeof Schema.String;
|
|
147
|
+
count: Schema.optional<typeof Schema.Number>;
|
|
146
148
|
}>>>>]>>;
|
|
147
|
-
description:
|
|
148
|
-
ns: typeof
|
|
149
|
-
count:
|
|
149
|
+
description: Schema.optional<Schema.Union<[typeof Schema.String, Schema.mutable<Schema.Tuple2<typeof Schema.String, Schema.mutable<Schema.Struct<{
|
|
150
|
+
ns: typeof Schema.String;
|
|
151
|
+
count: Schema.optional<typeof Schema.Number>;
|
|
150
152
|
}>>>>]>>;
|
|
151
|
-
icon:
|
|
152
|
-
duration:
|
|
153
|
-
closeLabel:
|
|
154
|
-
ns: typeof
|
|
155
|
-
count:
|
|
153
|
+
icon: Schema.optional<Schema.SchemaClass<string, string, never>>;
|
|
154
|
+
duration: Schema.optional<Schema.SchemaClass<number, number, never>>;
|
|
155
|
+
closeLabel: Schema.optional<Schema.Union<[typeof Schema.String, Schema.mutable<Schema.Tuple2<typeof Schema.String, Schema.mutable<Schema.Struct<{
|
|
156
|
+
ns: typeof Schema.String;
|
|
157
|
+
count: Schema.optional<typeof Schema.Number>;
|
|
156
158
|
}>>>>]>>;
|
|
157
|
-
actionLabel:
|
|
158
|
-
ns: typeof
|
|
159
|
-
count:
|
|
159
|
+
actionLabel: Schema.optional<Schema.Union<[typeof Schema.String, Schema.mutable<Schema.Tuple2<typeof Schema.String, Schema.mutable<Schema.Struct<{
|
|
160
|
+
ns: typeof Schema.String;
|
|
161
|
+
count: Schema.optional<typeof Schema.Number>;
|
|
160
162
|
}>>>>]>>;
|
|
161
|
-
actionAlt:
|
|
162
|
-
ns: typeof
|
|
163
|
-
count:
|
|
163
|
+
actionAlt: Schema.optional<Schema.Union<[typeof Schema.String, Schema.mutable<Schema.Tuple2<typeof Schema.String, Schema.mutable<Schema.Struct<{
|
|
164
|
+
ns: typeof Schema.String;
|
|
165
|
+
count: Schema.optional<typeof Schema.Number>;
|
|
164
166
|
}>>>>]>>;
|
|
165
|
-
onAction:
|
|
167
|
+
onAction: Schema.optional<Schema.SchemaClass<any, any, never>>;
|
|
166
168
|
}>;
|
|
167
169
|
}>;
|
|
168
|
-
output: typeof
|
|
170
|
+
output: typeof Schema.Void;
|
|
169
171
|
}>;
|
|
170
172
|
export class AddToast extends AddToast_base {
|
|
171
173
|
}
|
|
172
|
-
const SwitchWorkspace_base:
|
|
173
|
-
readonly _tag:
|
|
174
|
+
const SwitchWorkspace_base: Schema.TaggedClass<SwitchWorkspace, "dxos.org/plugin/layout/action/update-layout", {
|
|
175
|
+
readonly _tag: Schema.tag<"dxos.org/plugin/layout/action/update-layout">;
|
|
174
176
|
} & {
|
|
175
|
-
input:
|
|
176
|
-
part:
|
|
177
|
-
subject:
|
|
177
|
+
input: Schema.Struct<{
|
|
178
|
+
part: Schema.Literal<["workspace"]>;
|
|
179
|
+
subject: Schema.SchemaClass<string, string, never>;
|
|
178
180
|
}>;
|
|
179
|
-
output: typeof
|
|
181
|
+
output: typeof Schema.Void;
|
|
180
182
|
}>;
|
|
181
183
|
export class SwitchWorkspace extends SwitchWorkspace_base {
|
|
182
184
|
}
|
|
183
|
-
const RevertWorkspace_base:
|
|
184
|
-
readonly _tag:
|
|
185
|
+
const RevertWorkspace_base: Schema.TaggedClass<RevertWorkspace, "dxos.org/plugin/layout/action/update-layout", {
|
|
186
|
+
readonly _tag: Schema.tag<"dxos.org/plugin/layout/action/update-layout">;
|
|
185
187
|
} & {
|
|
186
|
-
input:
|
|
187
|
-
part:
|
|
188
|
-
options:
|
|
189
|
-
revert:
|
|
188
|
+
input: Schema.Struct<{
|
|
189
|
+
part: Schema.Literal<["workspace"]>;
|
|
190
|
+
options: Schema.Struct<{
|
|
191
|
+
revert: Schema.Literal<[true]>;
|
|
190
192
|
}>;
|
|
191
193
|
}>;
|
|
192
|
-
output: typeof
|
|
194
|
+
output: typeof Schema.Void;
|
|
193
195
|
}>;
|
|
194
196
|
export class RevertWorkspace extends RevertWorkspace_base {
|
|
195
197
|
}
|
|
196
|
-
const Open_base:
|
|
197
|
-
readonly _tag:
|
|
198
|
+
const Open_base: Schema.TaggedClass<Open, "dxos.org/plugin/layout/action/update-layout", {
|
|
199
|
+
readonly _tag: Schema.tag<"dxos.org/plugin/layout/action/update-layout">;
|
|
198
200
|
} & {
|
|
199
|
-
input:
|
|
200
|
-
part:
|
|
201
|
-
subject:
|
|
202
|
-
options:
|
|
203
|
-
state:
|
|
204
|
-
variant:
|
|
205
|
-
key:
|
|
206
|
-
workspace:
|
|
207
|
-
scrollIntoView:
|
|
208
|
-
pivotId:
|
|
209
|
-
positioning:
|
|
201
|
+
input: Schema.Struct<{
|
|
202
|
+
part: Schema.Literal<["main"]>;
|
|
203
|
+
subject: Schema.Array$<Schema.SchemaClass<string, string, never>>;
|
|
204
|
+
options: Schema.optional<Schema.Struct<{
|
|
205
|
+
state: Schema.optional<Schema.Literal<[true]>>;
|
|
206
|
+
variant: Schema.optional<Schema.SchemaClass<string, string, never>>;
|
|
207
|
+
key: Schema.optional<Schema.SchemaClass<string, string, never>>;
|
|
208
|
+
workspace: Schema.optional<Schema.SchemaClass<string, string, never>>;
|
|
209
|
+
scrollIntoView: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
|
|
210
|
+
pivotId: Schema.optional<Schema.SchemaClass<string, string, never>>;
|
|
211
|
+
positioning: Schema.optional<Schema.Union<[Schema.Literal<["start"]>, Schema.Literal<["end"]>]>>;
|
|
210
212
|
}>>;
|
|
211
213
|
}>;
|
|
212
|
-
output: typeof
|
|
214
|
+
output: typeof Schema.Void;
|
|
213
215
|
}>;
|
|
214
216
|
export class Open extends Open_base {
|
|
215
217
|
}
|
|
216
|
-
const Set_base:
|
|
217
|
-
readonly _tag:
|
|
218
|
+
const Set_base: Schema.TaggedClass<Set, "dxos.org/plugin/layout/action/update-layout", {
|
|
219
|
+
readonly _tag: Schema.tag<"dxos.org/plugin/layout/action/update-layout">;
|
|
218
220
|
} & {
|
|
219
|
-
input:
|
|
220
|
-
part:
|
|
221
|
-
subject:
|
|
222
|
-
options:
|
|
223
|
-
override:
|
|
221
|
+
input: Schema.Struct<{
|
|
222
|
+
part: Schema.Literal<["main"]>;
|
|
223
|
+
subject: Schema.Array$<Schema.SchemaClass<string, string, never>>;
|
|
224
|
+
options: Schema.Struct<{
|
|
225
|
+
override: Schema.Literal<[true]>;
|
|
224
226
|
}>;
|
|
225
227
|
}>;
|
|
226
|
-
output: typeof
|
|
228
|
+
output: typeof Schema.Void;
|
|
227
229
|
}>;
|
|
228
230
|
export class Set extends Set_base {
|
|
229
231
|
}
|
|
230
|
-
const Close_base:
|
|
231
|
-
readonly _tag:
|
|
232
|
+
const Close_base: Schema.TaggedClass<Close, "dxos.org/plugin/layout/action/update-layout", {
|
|
233
|
+
readonly _tag: Schema.tag<"dxos.org/plugin/layout/action/update-layout">;
|
|
232
234
|
} & {
|
|
233
|
-
input:
|
|
234
|
-
part:
|
|
235
|
-
subject:
|
|
236
|
-
options:
|
|
237
|
-
state:
|
|
235
|
+
input: Schema.Struct<{
|
|
236
|
+
part: Schema.Literal<["main"]>;
|
|
237
|
+
subject: Schema.Array$<Schema.SchemaClass<string, string, never>>;
|
|
238
|
+
options: Schema.Struct<{
|
|
239
|
+
state: Schema.Literal<[false]>;
|
|
238
240
|
}>;
|
|
239
241
|
}>;
|
|
240
|
-
output: typeof
|
|
242
|
+
output: typeof Schema.Void;
|
|
241
243
|
}>;
|
|
242
244
|
export class Close extends Close_base {
|
|
243
245
|
}
|
|
244
|
-
const ScrollIntoView_base:
|
|
245
|
-
readonly _tag:
|
|
246
|
+
const ScrollIntoView_base: Schema.TaggedClass<ScrollIntoView, "dxos.org/plugin/layout/action/update-layout", {
|
|
247
|
+
readonly _tag: Schema.tag<"dxos.org/plugin/layout/action/update-layout">;
|
|
246
248
|
} & {
|
|
247
|
-
input:
|
|
248
|
-
part:
|
|
249
|
-
subject:
|
|
250
|
-
options:
|
|
249
|
+
input: Schema.Struct<{
|
|
250
|
+
part: Schema.Literal<["current"]>;
|
|
251
|
+
subject: Schema.optional<Schema.SchemaClass<string, string, never>>;
|
|
252
|
+
options: Schema.optional<Schema.Record$<typeof Schema.String, typeof Schema.Any>>;
|
|
251
253
|
}>;
|
|
252
|
-
output: typeof
|
|
254
|
+
output: typeof Schema.Void;
|
|
253
255
|
}>;
|
|
254
256
|
export class ScrollIntoView extends ScrollIntoView_base {
|
|
255
257
|
}
|
|
256
|
-
const Expose_base:
|
|
257
|
-
readonly _tag:
|
|
258
|
+
const Expose_base: Schema.TaggedClass<Expose, "dxos.org/plugin/layout/action/update-layout", {
|
|
259
|
+
readonly _tag: Schema.tag<"dxos.org/plugin/layout/action/update-layout">;
|
|
258
260
|
} & {
|
|
259
|
-
input:
|
|
260
|
-
part:
|
|
261
|
-
subject:
|
|
261
|
+
input: Schema.Struct<{
|
|
262
|
+
part: Schema.Literal<["navigation"]>;
|
|
263
|
+
subject: Schema.SchemaClass<string, string, never>;
|
|
262
264
|
}>;
|
|
263
|
-
output: typeof
|
|
265
|
+
output: typeof Schema.Void;
|
|
264
266
|
}>;
|
|
265
267
|
export class Expose extends Expose_base {
|
|
266
268
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"layout.d.ts","sourceRoot":"","sources":["../../../../src/common/layout.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"layout.d.ts","sourceRoot":"","sources":["../../../../src/common/layout.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CA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AS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,IAAI,CACtF,KAAK,EAAE,qBAAqB,CAAC,CAAC,CAAC,EAC/B,YAAY,EAAE,YAAY,CAAC,WAAW,CAAC,KACpC,GAAG,CAAC,OAAO,GAAG,IAAI,CAAC;AAExB;;GAEG;AACH,MAAM,MAAM,iBAAiB,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,GAAG,IAAI,QAAQ,CAAC;IAC5E,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IACxB,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,MAAM,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,IAAI,IAAI,CAAC,CAAC;IACtD,SAAS,EAAE,gBAAgB,CAAC,WAAW,CAAC,iBAAiB,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC;CAC1E,CAAC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,aAAa,GAAI,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,GAAG,EAC/D,YAAY,iBAAiB,CAAC,CAAC,CAAC,KAC/B,iBAAiB,CAAC,CAAC,CAAe,CAAC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { Schema
|
|
2
|
-
export declare const ResourceKey:
|
|
3
|
-
export type ResourceKey =
|
|
4
|
-
export declare const ResourceLanguage:
|
|
5
|
-
export type ResourceLanguage =
|
|
1
|
+
import { Schema } from 'effect';
|
|
2
|
+
export declare const ResourceKey: Schema.Union<[typeof Schema.String, Schema.Record$<typeof Schema.String, typeof Schema.Any>]>;
|
|
3
|
+
export type ResourceKey = Schema.Schema.Type<typeof ResourceKey>;
|
|
4
|
+
export declare const ResourceLanguage: Schema.Record$<typeof Schema.String, Schema.Union<[typeof Schema.String, Schema.Record$<typeof Schema.String, typeof Schema.Any>]>>;
|
|
5
|
+
export type ResourceLanguage = Schema.Schema.Type<typeof ResourceLanguage>;
|
|
6
6
|
/**
|
|
7
7
|
* A resource is a collection of translations for a language.
|
|
8
8
|
*/
|
|
9
|
-
export declare const Resource:
|
|
10
|
-
export type Resource =
|
|
9
|
+
export declare const Resource: Schema.Record$<typeof Schema.String, Schema.Record$<typeof Schema.String, Schema.Union<[typeof Schema.String, Schema.Record$<typeof Schema.String, typeof Schema.Any>]>>>;
|
|
10
|
+
export type Resource = Schema.Schema.Type<typeof Resource>;
|
|
11
11
|
//# sourceMappingURL=translations.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../../src/common/translations.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../../src/common/translations.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAEhC,eAAO,MAAM,WAAW,+FAAwF,CAAC;AACjH,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,WAAW,CAAC,CAAC;AAEjE,eAAO,MAAM,gBAAgB,qIAA4D,CAAC;AAC1F,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAE3E;;GAEG;AACH,eAAO,MAAM,QAAQ,2KAAiE,CAAC;AACvF,MAAM,MAAM,QAAQ,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,QAAQ,CAAC,CAAC"}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* Interface definition for a capability.
|
|
3
|
-
*/
|
|
1
|
+
import { type Registry, Rx } from '@effect-rx/rx-react';
|
|
4
2
|
import { Effect } from 'effect';
|
|
5
3
|
import { type MaybePromise } from '@dxos/util';
|
|
6
4
|
import { type ActivationEvent } from './events';
|
|
@@ -36,6 +34,7 @@ export type Capability<T> = {
|
|
|
36
34
|
};
|
|
37
35
|
export type AnyCapability = Capability<any>;
|
|
38
36
|
type PluginsContextOptions = {
|
|
37
|
+
registry: Registry.Registry;
|
|
39
38
|
activate: (event: ActivationEvent) => Effect.Effect<boolean, Error>;
|
|
40
39
|
reset: (event: ActivationEvent) => Effect.Effect<boolean, Error>;
|
|
41
40
|
};
|
|
@@ -59,8 +58,11 @@ export declare const lazy: <T, U>(c: LoadCapability<T, U> | LoadCapabilities<T>)
|
|
|
59
58
|
* It tracks the capabilities that are contributed in an in-memory live object.
|
|
60
59
|
* This allows the application to subscribe to this state and incorporate plugins which are added dynamically.
|
|
61
60
|
*/
|
|
62
|
-
export declare class
|
|
63
|
-
private readonly
|
|
61
|
+
export declare class PluginContext {
|
|
62
|
+
private readonly _registry;
|
|
63
|
+
private readonly _capabilityImpls;
|
|
64
|
+
readonly _capabilities: (arg: string) => Rx.Rx<unknown[]>;
|
|
65
|
+
readonly _capability: (arg: string) => Rx.Rx<unknown>;
|
|
64
66
|
/**
|
|
65
67
|
* Activates plugins based on the activation event.
|
|
66
68
|
* @param event The activation event.
|
|
@@ -73,25 +75,38 @@ export declare class PluginsContext {
|
|
|
73
75
|
* @returns Whether the reset was successful.
|
|
74
76
|
*/
|
|
75
77
|
readonly reset: PluginsContextOptions['reset'];
|
|
76
|
-
constructor({ activate, reset }: PluginsContextOptions);
|
|
78
|
+
constructor({ registry, activate, reset }: PluginsContextOptions);
|
|
79
|
+
/**
|
|
80
|
+
* Get the Rx reference to the available capabilities for a given interface.
|
|
81
|
+
* Primarily useful for deriving other Rx values based on the capabilities or
|
|
82
|
+
* for subscribing to changes in the capabilities.
|
|
83
|
+
* @returns An Rx reference to the available capabilities.
|
|
84
|
+
*/
|
|
85
|
+
capabilities<T>(interfaceDef: InterfaceDef<T>): Rx.Rx<T[]>;
|
|
86
|
+
/**
|
|
87
|
+
* Get the Rx reference to the available capabilities for a given interface.
|
|
88
|
+
* Primarily useful for deriving other Rx values based on the capability or
|
|
89
|
+
* for subscribing to changes in the capability.
|
|
90
|
+
* @returns An Rx reference to the available capability.
|
|
91
|
+
* @throws If no capability is found.
|
|
92
|
+
*/
|
|
93
|
+
capability<T>(interfaceDef: InterfaceDef<T>): Rx.Rx<T>;
|
|
77
94
|
/**
|
|
78
|
-
*
|
|
95
|
+
* Get capabilities from the plugin context.
|
|
79
96
|
* @returns An array of capabilities.
|
|
80
|
-
* @reactive
|
|
81
97
|
*/
|
|
82
|
-
|
|
98
|
+
getCapabilities<T>(interfaceDef: InterfaceDef<T>): T[];
|
|
83
99
|
/**
|
|
84
100
|
* Requests a single capability from the plugin context.
|
|
85
101
|
* @returns The capability.
|
|
86
102
|
* @throws If no capability is found.
|
|
87
|
-
* @reactive
|
|
88
103
|
*/
|
|
89
|
-
|
|
104
|
+
getCapability<T>(interfaceDef: InterfaceDef<T>): T;
|
|
90
105
|
/**
|
|
91
|
-
* Waits for a capability to be
|
|
106
|
+
* Waits for a capability to be available.
|
|
92
107
|
* @returns The capability.
|
|
93
108
|
*/
|
|
94
|
-
waitForCapability<T
|
|
109
|
+
waitForCapability<T>(interfaceDef: InterfaceDef<T>): Promise<T>;
|
|
95
110
|
activatePromise(event: ActivationEvent): Promise<boolean>;
|
|
96
111
|
resetPromise(event: ActivationEvent): Promise<boolean>;
|
|
97
112
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"capabilities.d.ts","sourceRoot":"","sources":["../../../../src/core/capabilities.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"capabilities.d.ts","sourceRoot":"","sources":["../../../../src/core/capabilities.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,QAAQ,EAAE,EAAE,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,MAAM,EA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