@dxos/app-framework 0.8.2-main.fbd8ed0 → 0.8.2-staging.7ac8446
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-6E7NCZ77.mjs → app-graph-builder-576BHZC7.mjs} +23 -23
- package/dist/lib/browser/app-graph-builder-576BHZC7.mjs.map +7 -0
- package/dist/lib/browser/{chunk-2KSDY3EZ.mjs → chunk-6AVTZPMT.mjs} +267 -325
- package/dist/lib/browser/chunk-6AVTZPMT.mjs.map +7 -0
- package/dist/lib/browser/{chunk-K3HOLGVH.mjs → chunk-PPIBZ5N4.mjs} +28 -40
- package/dist/lib/browser/chunk-PPIBZ5N4.mjs.map +7 -0
- package/dist/lib/browser/{chunk-KPRHX73H.mjs → chunk-SFPT4Z2C.mjs} +9 -9
- package/dist/lib/browser/chunk-SFPT4Z2C.mjs.map +7 -0
- package/dist/lib/browser/index.mjs +8 -10
- package/dist/lib/browser/index.mjs.map +1 -1
- package/dist/lib/browser/{intent-dispatcher-VGUJBPPN.mjs → intent-dispatcher-3Q67MHZZ.mjs} +2 -2
- package/dist/lib/browser/{intent-resolver-QLFZY5R5.mjs → intent-resolver-O763LCLG.mjs} +3 -3
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/{store-QGVXOY4T.mjs → store-URSN7DZI.mjs} +6 -7
- package/dist/lib/browser/store-URSN7DZI.mjs.map +7 -0
- package/dist/lib/browser/testing/index.mjs +3 -7
- package/dist/lib/browser/testing/index.mjs.map +3 -3
- package/dist/lib/browser/worker.mjs +3 -5
- package/dist/lib/node/app-graph-builder-JZCSKYPY.cjs +146 -0
- package/dist/lib/node/app-graph-builder-JZCSKYPY.cjs.map +7 -0
- package/dist/lib/node/{chunk-JQMNABMK.cjs → chunk-JUSEAFDU.cjs} +4 -4
- package/dist/lib/node/chunk-JUSEAFDU.cjs.map +7 -0
- package/dist/lib/node/{chunk-2EBZ2ICH.cjs → chunk-YIFTVCOR.cjs} +247 -304
- package/dist/lib/node/chunk-YIFTVCOR.cjs.map +7 -0
- package/dist/lib/node/{chunk-7J66KH2T.cjs → chunk-YNTKVTVX.cjs} +67 -79
- package/dist/lib/node/chunk-YNTKVTVX.cjs.map +7 -0
- package/dist/lib/node/index.cjs +79 -81
- package/dist/lib/node/index.cjs.map +1 -1
- package/dist/lib/node/{intent-dispatcher-TASJBG5M.cjs → intent-dispatcher-H334XLFD.cjs} +8 -8
- package/dist/lib/node/{intent-dispatcher-TASJBG5M.cjs.map → intent-dispatcher-H334XLFD.cjs.map} +2 -2
- package/dist/lib/node/{intent-resolver-5CG5NIJY.cjs → intent-resolver-3F4POWAM.cjs} +12 -12
- package/dist/lib/node/meta.json +1 -1
- package/dist/lib/node/{store-IF3UR2KA.cjs → store-OFDHTDCB.cjs} +9 -10
- package/dist/lib/node/store-OFDHTDCB.cjs.map +7 -0
- package/dist/lib/node/testing/index.cjs +9 -14
- package/dist/lib/node/testing/index.cjs.map +3 -3
- package/dist/lib/node/worker.cjs +38 -40
- package/dist/lib/node/worker.cjs.map +2 -2
- package/dist/lib/node-esm/{app-graph-builder-LYCG5CO3.mjs → app-graph-builder-VYKLSMSZ.mjs} +23 -23
- package/dist/lib/node-esm/app-graph-builder-VYKLSMSZ.mjs.map +7 -0
- package/dist/lib/node-esm/{chunk-BOEJMAVK.mjs → chunk-AHKIPS2L.mjs} +267 -325
- package/dist/lib/node-esm/chunk-AHKIPS2L.mjs.map +7 -0
- package/dist/lib/node-esm/{chunk-JUJF5L4G.mjs → chunk-PHOUQACM.mjs} +9 -9
- package/dist/lib/node-esm/chunk-PHOUQACM.mjs.map +7 -0
- package/dist/lib/node-esm/{chunk-ISNBS46Y.mjs → chunk-R6A7Z4LU.mjs} +28 -40
- package/dist/lib/node-esm/chunk-R6A7Z4LU.mjs.map +7 -0
- package/dist/lib/node-esm/index.mjs +8 -10
- package/dist/lib/node-esm/index.mjs.map +1 -1
- package/dist/lib/node-esm/{intent-dispatcher-ZUSNX2OY.mjs → intent-dispatcher-YDE2ONZA.mjs} +2 -2
- package/dist/lib/node-esm/{intent-resolver-NGDHUKDD.mjs → intent-resolver-LAGJ7LXM.mjs} +3 -3
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/lib/node-esm/{store-NCRSE25X.mjs → store-EYSUVNCS.mjs} +6 -7
- package/dist/lib/node-esm/store-EYSUVNCS.mjs.map +7 -0
- package/dist/lib/node-esm/testing/index.mjs +3 -7
- package/dist/lib/node-esm/testing/index.mjs.map +3 -3
- package/dist/lib/node-esm/worker.mjs +3 -5
- package/dist/types/src/App.d.ts +1 -3
- package/dist/types/src/App.d.ts.map +1 -1
- package/dist/types/src/common/capabilities.d.ts +196 -6
- package/dist/types/src/common/capabilities.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/index.d.ts +0 -1
- package/dist/types/src/common/index.d.ts.map +1 -1
- package/dist/types/src/common/layout.d.ts +158 -164
- 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 +15 -33
- package/dist/types/src/core/capabilities.d.ts.map +1 -1
- package/dist/types/src/core/events.d.ts +1 -4
- package/dist/types/src/core/events.d.ts.map +1 -1
- package/dist/types/src/core/manager.d.ts +11 -14
- package/dist/types/src/core/manager.d.ts.map +1 -1
- package/dist/types/src/core/plugin.d.ts +3 -4
- 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/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 -29
- package/dist/types/src/plugin-intent/intent-dispatcher.d.ts.map +1 -1
- package/dist/types/src/plugin-intent/intent.d.ts +20 -14
- 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 +195 -2
- 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/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 +2 -5
- 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 +20 -29
- package/project.json +1 -2
- package/src/App.tsx +4 -16
- package/src/common/capabilities.ts +4 -7
- package/src/common/file.ts +7 -7
- package/src/common/index.ts +0 -1
- package/src/common/layout.ts +128 -159
- package/src/common/translations.ts +7 -7
- package/src/core/capabilities.test.ts +36 -55
- package/src/core/capabilities.ts +58 -82
- package/src/core/events.ts +1 -4
- package/src/core/manager.test.ts +22 -22
- package/src/core/manager.ts +16 -24
- package/src/core/plugin.ts +3 -4
- package/src/playground/generator/generator.ts +4 -4
- package/src/playground/logger/schema.ts +5 -5
- package/src/playground/playground.stories.tsx +1 -1
- package/src/plugin-intent/actions.ts +9 -9
- package/src/plugin-intent/intent-dispatcher.test.ts +42 -23
- package/src/plugin-intent/intent-dispatcher.ts +13 -25
- package/src/plugin-intent/intent.ts +20 -22
- package/src/plugin-settings/actions.ts +8 -8
- package/src/plugin-settings/app-graph-builder.ts +94 -129
- package/src/plugin-settings/store.ts +17 -20
- package/src/react/Surface.stories.tsx +1 -1
- package/src/react/Surface.tsx +3 -3
- package/src/react/useCapabilities.ts +19 -9
- package/src/testing/withPluginManager.stories.tsx +1 -0
- package/src/testing/withPluginManager.tsx +3 -11
- package/tsconfig.json +0 -3
- package/dist/lib/browser/app-graph-builder-6E7NCZ77.mjs.map +0 -7
- package/dist/lib/browser/chunk-2KSDY3EZ.mjs.map +0 -7
- package/dist/lib/browser/chunk-K3HOLGVH.mjs.map +0 -7
- package/dist/lib/browser/chunk-KPRHX73H.mjs.map +0 -7
- package/dist/lib/browser/store-QGVXOY4T.mjs.map +0 -7
- package/dist/lib/node/app-graph-builder-4IWMG67O.cjs +0 -146
- package/dist/lib/node/app-graph-builder-4IWMG67O.cjs.map +0 -7
- package/dist/lib/node/chunk-2EBZ2ICH.cjs.map +0 -7
- package/dist/lib/node/chunk-7J66KH2T.cjs.map +0 -7
- package/dist/lib/node/chunk-JQMNABMK.cjs.map +0 -7
- package/dist/lib/node/store-IF3UR2KA.cjs.map +0 -7
- package/dist/lib/node-esm/app-graph-builder-LYCG5CO3.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-BOEJMAVK.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-ISNBS46Y.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-JUJF5L4G.mjs.map +0 -7
- package/dist/lib/node-esm/store-NCRSE25X.mjs.map +0 -7
- package/dist/types/src/common/collaboration.d.ts +0 -26
- package/dist/types/src/common/collaboration.d.ts.map +0 -1
- package/src/common/collaboration.ts +0 -24
- package/typedoc/.nojekyll +0 -1
- package/typedoc/assets/hierarchy.js +0 -1
- package/typedoc/assets/highlight.css +0 -106
- package/typedoc/assets/icons.js +0 -18
- package/typedoc/assets/icons.svg +0 -1
- package/typedoc/assets/main.js +0 -60
- package/typedoc/assets/navigation.js +0 -1
- package/typedoc/assets/search.js +0 -1
- package/typedoc/assets/style.css +0 -1640
- package/typedoc/classes/CollaborationActions.InsertContent.html +0 -460
- package/typedoc/classes/ErrorBoundary.html +0 -125
- package/typedoc/classes/IntentAction.ShowUndo.html +0 -227
- package/typedoc/classes/IntentAction.Track.html +0 -266
- package/typedoc/classes/LayoutAction.AddToast.html +0 -265
- package/typedoc/classes/LayoutAction.Close.html +0 -382
- package/typedoc/classes/LayoutAction.Expose.html +0 -265
- package/typedoc/classes/LayoutAction.Open.html +0 -1123
- package/typedoc/classes/LayoutAction.RevertWorkspace.html +0 -343
- package/typedoc/classes/LayoutAction.ScrollIntoView.html +0 -460
- package/typedoc/classes/LayoutAction.Set.html +0 -460
- package/typedoc/classes/LayoutAction.SetLayoutMode.html +0 -499
- package/typedoc/classes/LayoutAction.SwitchWorkspace.html +0 -265
- package/typedoc/classes/LayoutAction.UpdateComplementary.html +0 -616
- package/typedoc/classes/LayoutAction.UpdateDialog.html +0 -811
- package/typedoc/classes/LayoutAction.UpdateLayout.html +0 -461
- package/typedoc/classes/LayoutAction.UpdatePopover.html +0 -1435
- package/typedoc/classes/LayoutAction.UpdateSidebar.html +0 -616
- package/typedoc/classes/Plugin.html +0 -6
- package/typedoc/classes/PluginContext.html +0 -38
- package/typedoc/classes/PluginManager.html +0 -43
- package/typedoc/classes/PluginModule.html +0 -18
- package/typedoc/classes/SettingsAction.Open.html +0 -226
- package/typedoc/classes/SettingsAction.OpenPluginRegistry.html +0 -265
- package/typedoc/functions/Events.createStateEvent.html +0 -2
- package/typedoc/functions/IntentPlugin.html +0 -1
- package/typedoc/functions/SettingsPlugin.html +0 -1
- package/typedoc/functions/allOf.html +0 -2
- package/typedoc/functions/chain.html +0 -3
- package/typedoc/functions/contributes.html +0 -2
- package/typedoc/functions/createApp.html +0 -6
- package/typedoc/functions/createDispatcher.html +0 -3
- package/typedoc/functions/createIntent.html +0 -6
- package/typedoc/functions/createResolver.html +0 -2
- package/typedoc/functions/createSurface.html +0 -2
- package/typedoc/functions/defineCapability.html +0 -2
- package/typedoc/functions/defineEvent.html +0 -2
- package/typedoc/functions/defineModule.html +0 -2
- package/typedoc/functions/definePlugin.html +0 -2
- package/typedoc/functions/eventKey.html +0 -2
- package/typedoc/functions/getEvents.html +0 -2
- package/typedoc/functions/isAllOf.html +0 -2
- package/typedoc/functions/isOneOf.html +0 -2
- package/typedoc/functions/isSurfaceAvailable.html +0 -2
- package/typedoc/functions/lazy.html +0 -2
- package/typedoc/functions/oneOf.html +0 -2
- package/typedoc/functions/useAppGraph.html +0 -1
- package/typedoc/functions/useCapabilities.html +0 -3
- package/typedoc/functions/useCapability.html +0 -4
- package/typedoc/functions/useIntentDispatcher.html +0 -1
- package/typedoc/functions/useIntentResolver.html +0 -1
- package/typedoc/functions/useLayout.html +0 -1
- package/typedoc/functions/usePluginManager.html +0 -2
- package/typedoc/hierarchy.html +0 -1
- package/typedoc/index.html +0 -16
- package/typedoc/interfaces/LayoutAction.Toast.html +0 -10
- package/typedoc/media/LICENSE +0 -8
- package/typedoc/modules/Capabilities.html +0 -1
- package/typedoc/modules/CollaborationActions.html +0 -1
- package/typedoc/modules/Events.html +0 -1
- package/typedoc/modules/IntentAction.html +0 -1
- package/typedoc/modules/LayoutAction.html +0 -2
- package/typedoc/modules/SettingsAction.html +0 -1
- package/typedoc/modules.html +0 -1
- package/typedoc/types/ActivationEvent.html +0 -8
- package/typedoc/types/ActivationEvents.html +0 -2
- package/typedoc/types/AnyCapability.html +0 -1
- package/typedoc/types/AnyIntent.html +0 -1
- package/typedoc/types/AnyIntentChain.html +0 -1
- package/typedoc/types/AnyIntentEffectResult.html +0 -1
- package/typedoc/types/AnyIntentResolver.html +0 -1
- package/typedoc/types/AnyIntentResult.html +0 -1
- package/typedoc/types/Capabilities.FileUploader.html +0 -1
- package/typedoc/types/Capabilities.IntentResolver.html +0 -1
- package/typedoc/types/Capabilities.Layout.html +0 -1
- package/typedoc/types/Capabilities.Metadata.html +0 -1
- package/typedoc/types/Capabilities.ReactContext.html +0 -1
- package/typedoc/types/Capabilities.ReactRoot.html +0 -1
- package/typedoc/types/Capabilities.ReactSurface.html +0 -1
- package/typedoc/types/Capabilities.Settings.html +0 -4
- package/typedoc/types/Capability.html +0 -9
- package/typedoc/types/CreateAppOptions.html +0 -10
- package/typedoc/types/FileInfo.html +0 -1
- package/typedoc/types/Intent.html +0 -10
- package/typedoc/types/IntentChain.html +0 -6
- package/typedoc/types/IntentContext.html +0 -5
- package/typedoc/types/IntentData.html +0 -1
- package/typedoc/types/IntentDispatcher.html +0 -2
- package/typedoc/types/IntentDispatcherResult.html +0 -2
- package/typedoc/types/IntentEffectDefinition.html +0 -2
- package/typedoc/types/IntentEffectResult.html +0 -15
- package/typedoc/types/IntentParams.html +0 -3
- package/typedoc/types/IntentResolver.html +0 -2
- package/typedoc/types/IntentResultData.html +0 -1
- package/typedoc/types/IntentSchema.html +0 -1
- package/typedoc/types/IntentUndo.html +0 -2
- package/typedoc/types/InterfaceDef.html +0 -4
- package/typedoc/types/Label.html +0 -1
- package/typedoc/types/NodeSerializer.html +0 -8
- package/typedoc/types/PluginManagerOptions.html +0 -6
- package/typedoc/types/PluginMeta.html +0 -21
- package/typedoc/types/PromiseIntentDispatcher.html +0 -2
- package/typedoc/types/PromiseIntentUndo.html +0 -2
- package/typedoc/types/Resource.html +0 -1
- package/typedoc/types/ResourceKey.html +0 -1
- package/typedoc/types/ResourceLanguage.html +0 -1
- package/typedoc/types/SerializedNode.html +0 -4
- package/typedoc/types/SurfaceComponent.html +0 -2
- package/typedoc/types/SurfaceDefinition.html +0 -2
- package/typedoc/types/SurfaceProps.html +0 -4
- package/typedoc/variables/Capabilities.AppGraph.html +0 -1
- package/typedoc/variables/Capabilities.AppGraphBuilder.html +0 -1
- package/typedoc/variables/Capabilities.AppGraphSerializer.html +0 -1
- package/typedoc/variables/Capabilities.ArtifactDefinition.html +0 -1
- package/typedoc/variables/Capabilities.FileUploader.html +0 -1
- package/typedoc/variables/Capabilities.IntentDispatcher.html +0 -1
- package/typedoc/variables/Capabilities.IntentResolver.html +0 -1
- package/typedoc/variables/Capabilities.Layout.html +0 -1
- package/typedoc/variables/Capabilities.Metadata.html +0 -1
- package/typedoc/variables/Capabilities.Null.html +0 -1
- package/typedoc/variables/Capabilities.PluginManager.html +0 -1
- package/typedoc/variables/Capabilities.ReactContext.html +0 -1
- package/typedoc/variables/Capabilities.ReactRoot.html +0 -1
- package/typedoc/variables/Capabilities.ReactSurface.html +0 -1
- package/typedoc/variables/Capabilities.RxRegistry.html +0 -1
- package/typedoc/variables/Capabilities.Settings.html +0 -1
- package/typedoc/variables/Capabilities.SettingsStore.html +0 -1
- package/typedoc/variables/Capabilities.Tools.html +0 -1
- package/typedoc/variables/Capabilities.Translations.html +0 -1
- package/typedoc/variables/Events.AppGraphReady.html +0 -2
- package/typedoc/variables/Events.DispatcherReady.html +0 -2
- package/typedoc/variables/Events.LayoutReady.html +0 -1
- package/typedoc/variables/Events.SettingsReady.html +0 -2
- package/typedoc/variables/Events.SetupAppGraph.html +0 -2
- package/typedoc/variables/Events.SetupArtifactDefinition.html +0 -2
- package/typedoc/variables/Events.SetupIntentResolver.html +0 -2
- package/typedoc/variables/Events.SetupMetadata.html +0 -2
- package/typedoc/variables/Events.SetupReactSurface.html +0 -2
- package/typedoc/variables/Events.SetupSettings.html +0 -2
- package/typedoc/variables/Events.SetupTranslations.html +0 -2
- package/typedoc/variables/Events.Startup.html +0 -2
- package/typedoc/variables/FileInfoSchema.html +0 -1
- package/typedoc/variables/INTENT_ACTION.html +0 -1
- package/typedoc/variables/INTENT_PLUGIN.html +0 -1
- package/typedoc/variables/LAYOUT_ACTION.html +0 -1
- package/typedoc/variables/LAYOUT_PLUGIN.html +0 -1
- package/typedoc/variables/Label.html +0 -1
- package/typedoc/variables/LayoutAction.Toast.html +0 -1
- package/typedoc/variables/LayoutAction.UPDATE_LAYOUT.html +0 -1
- package/typedoc/variables/PluginManagerProvider.html +0 -2
- package/typedoc/variables/Resource.html +0 -2
- package/typedoc/variables/ResourceKey.html +0 -1
- package/typedoc/variables/ResourceLanguage.html +0 -1
- package/typedoc/variables/SETTINGS_ACTION.html +0 -1
- package/typedoc/variables/SETTINGS_ID.html +0 -1
- package/typedoc/variables/SETTINGS_KEY.html +0 -1
- package/typedoc/variables/SETTINGS_PLUGIN.html +0 -1
- package/typedoc/variables/Surface.html +0 -2
- package/typedoc/variables/defaultFileTypes.html +0 -1
- /package/dist/lib/browser/{intent-dispatcher-VGUJBPPN.mjs.map → intent-dispatcher-3Q67MHZZ.mjs.map} +0 -0
- /package/dist/lib/browser/{intent-resolver-QLFZY5R5.mjs.map → intent-resolver-O763LCLG.mjs.map} +0 -0
- /package/dist/lib/node/{intent-resolver-5CG5NIJY.cjs.map → intent-resolver-3F4POWAM.cjs.map} +0 -0
- /package/dist/lib/node-esm/{intent-dispatcher-ZUSNX2OY.mjs.map → intent-dispatcher-YDE2ONZA.mjs.map} +0 -0
- /package/dist/lib/node-esm/{intent-resolver-NGDHUKDD.mjs.map → intent-resolver-LAGJ7LXM.mjs.map} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Schema } from 'effect';
|
|
1
|
+
import { Schema as S } 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,255 @@ 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: S.TaggedClass<UpdateLayout, "dxos.org/plugin/layout/action/update-layout", {
|
|
10
|
+
readonly _tag: S.tag<"dxos.org/plugin/layout/action/update-layout">;
|
|
11
11
|
} & {
|
|
12
|
-
input:
|
|
13
|
-
part:
|
|
14
|
-
subject:
|
|
15
|
-
options:
|
|
12
|
+
input: S.Struct<{
|
|
13
|
+
part: S.SchemaClass<string, string, never>;
|
|
14
|
+
subject: S.optional<S.SchemaClass<any, any, never>>;
|
|
15
|
+
options: S.optional<S.Record$<typeof S.String, typeof S.Any>>;
|
|
16
16
|
}>;
|
|
17
|
-
output: typeof
|
|
17
|
+
output: typeof S.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: S.TaggedClass<SetLayoutMode, "dxos.org/plugin/layout/action/update-layout", {
|
|
25
|
+
readonly _tag: S.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: S.Struct<{
|
|
28
|
+
part: S.Literal<["mode"]>;
|
|
29
|
+
subject: S.optional<S.SchemaClass<string, string, never>>;
|
|
30
|
+
options: S.Union<[S.Struct<{
|
|
31
|
+
mode: S.SchemaClass<string, string, never>;
|
|
32
|
+
}>, S.Struct<{
|
|
33
|
+
revert: S.SchemaClass<boolean, boolean, never>;
|
|
34
34
|
}>]>;
|
|
35
35
|
}>;
|
|
36
|
-
output: typeof
|
|
36
|
+
output: typeof S.Void;
|
|
37
37
|
}>;
|
|
38
38
|
export class SetLayoutMode extends SetLayoutMode_base {
|
|
39
39
|
}
|
|
40
|
-
const UpdateSidebar_base:
|
|
41
|
-
readonly _tag:
|
|
40
|
+
const UpdateSidebar_base: S.TaggedClass<UpdateSidebar, "dxos.org/plugin/layout/action/update-layout", {
|
|
41
|
+
readonly _tag: S.tag<"dxos.org/plugin/layout/action/update-layout">;
|
|
42
42
|
} & {
|
|
43
|
-
input:
|
|
44
|
-
part:
|
|
45
|
-
subject:
|
|
46
|
-
options:
|
|
47
|
-
state:
|
|
43
|
+
input: S.Struct<{
|
|
44
|
+
part: S.Literal<["sidebar"]>;
|
|
45
|
+
subject: S.optional<S.SchemaClass<string, string, never>>;
|
|
46
|
+
options: S.optional<S.Struct<{
|
|
47
|
+
state: S.Literal<["closed", "collapsed", "expanded"]>;
|
|
48
48
|
}>>;
|
|
49
49
|
}>;
|
|
50
|
-
output: typeof
|
|
50
|
+
output: typeof S.Void;
|
|
51
51
|
}>;
|
|
52
52
|
export class UpdateSidebar extends UpdateSidebar_base {
|
|
53
53
|
}
|
|
54
|
-
const UpdateComplementary_base:
|
|
55
|
-
readonly _tag:
|
|
54
|
+
const UpdateComplementary_base: S.TaggedClass<UpdateComplementary, "dxos.org/plugin/layout/action/update-layout", {
|
|
55
|
+
readonly _tag: S.tag<"dxos.org/plugin/layout/action/update-layout">;
|
|
56
56
|
} & {
|
|
57
|
-
input:
|
|
58
|
-
part:
|
|
59
|
-
subject:
|
|
60
|
-
options:
|
|
61
|
-
state:
|
|
57
|
+
input: S.Struct<{
|
|
58
|
+
part: S.Literal<["complementary"]>;
|
|
59
|
+
subject: S.optional<S.SchemaClass<string, string, never>>;
|
|
60
|
+
options: S.optional<S.Struct<{
|
|
61
|
+
state: S.Literal<["closed", "collapsed", "expanded"]>;
|
|
62
62
|
}>>;
|
|
63
63
|
}>;
|
|
64
|
-
output: typeof
|
|
64
|
+
output: typeof S.Void;
|
|
65
65
|
}>;
|
|
66
66
|
export class UpdateComplementary extends UpdateComplementary_base {
|
|
67
67
|
}
|
|
68
|
-
const UpdateDialog_base:
|
|
69
|
-
readonly _tag:
|
|
68
|
+
const UpdateDialog_base: S.TaggedClass<UpdateDialog, "dxos.org/plugin/layout/action/update-layout", {
|
|
69
|
+
readonly _tag: S.tag<"dxos.org/plugin/layout/action/update-layout">;
|
|
70
70
|
} & {
|
|
71
|
-
input:
|
|
72
|
-
part:
|
|
73
|
-
subject:
|
|
74
|
-
options:
|
|
75
|
-
state:
|
|
76
|
-
blockAlign:
|
|
77
|
-
type:
|
|
78
|
-
props:
|
|
71
|
+
input: S.Struct<{
|
|
72
|
+
part: S.Literal<["dialog"]>;
|
|
73
|
+
subject: S.optional<S.SchemaClass<string, string, never>>;
|
|
74
|
+
options: S.Struct<{
|
|
75
|
+
state: S.optional<S.SchemaClass<boolean, boolean, never>>;
|
|
76
|
+
blockAlign: S.optional<S.Literal<["start", "center", "end"]>>;
|
|
77
|
+
type: S.optional<S.Literal<["default", "alert"]>>;
|
|
78
|
+
props: S.optional<S.Record$<typeof S.String, typeof S.Any>>;
|
|
79
79
|
}>;
|
|
80
80
|
}>;
|
|
81
|
-
output: typeof
|
|
81
|
+
output: typeof S.Void;
|
|
82
82
|
}>;
|
|
83
83
|
export class UpdateDialog extends UpdateDialog_base {
|
|
84
84
|
}
|
|
85
|
-
const UpdatePopover_base:
|
|
86
|
-
readonly _tag:
|
|
85
|
+
const UpdatePopover_base: S.TaggedClass<UpdatePopover, "dxos.org/plugin/layout/action/update-layout", {
|
|
86
|
+
readonly _tag: S.tag<"dxos.org/plugin/layout/action/update-layout">;
|
|
87
87
|
} & {
|
|
88
|
-
input:
|
|
89
|
-
part:
|
|
90
|
-
subject:
|
|
91
|
-
options:
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
anchor: Schema.SchemaClass<any, any, never>;
|
|
98
|
-
}>, Schema.Struct<{
|
|
99
|
-
variant: Schema.optional<Schema.Literal<["react"]>>;
|
|
100
|
-
anchorId: Schema.SchemaClass<string, string, never>;
|
|
101
|
-
}>]>>;
|
|
88
|
+
input: S.Struct<{
|
|
89
|
+
part: S.Literal<["popover"]>;
|
|
90
|
+
subject: S.optional<S.SchemaClass<string, string, never>>;
|
|
91
|
+
options: S.Struct<{
|
|
92
|
+
anchorId: S.SchemaClass<string, string, never>;
|
|
93
|
+
side: S.optional<S.Literal<["top", "right", "bottom", "left"]>>;
|
|
94
|
+
state: S.optional<S.SchemaClass<boolean, boolean, never>>;
|
|
95
|
+
props: S.optional<S.Record$<typeof S.String, typeof S.Any>>;
|
|
96
|
+
}>;
|
|
102
97
|
}>;
|
|
103
|
-
output: typeof
|
|
98
|
+
output: typeof S.Void;
|
|
104
99
|
}>;
|
|
105
100
|
export class UpdatePopover extends UpdatePopover_base {
|
|
106
101
|
}
|
|
107
|
-
export const Toast:
|
|
108
|
-
id:
|
|
109
|
-
title:
|
|
110
|
-
ns: typeof
|
|
111
|
-
count:
|
|
102
|
+
export const Toast: S.Struct<{
|
|
103
|
+
id: S.SchemaClass<string, string, never>;
|
|
104
|
+
title: S.optional<S.Union<[typeof S.String, S.mutable<S.Tuple2<typeof S.String, S.mutable<S.Struct<{
|
|
105
|
+
ns: typeof S.String;
|
|
106
|
+
count: S.optional<typeof S.Number>;
|
|
112
107
|
}>>>>]>>;
|
|
113
|
-
description:
|
|
114
|
-
ns: typeof
|
|
115
|
-
count:
|
|
108
|
+
description: S.optional<S.Union<[typeof S.String, S.mutable<S.Tuple2<typeof S.String, S.mutable<S.Struct<{
|
|
109
|
+
ns: typeof S.String;
|
|
110
|
+
count: S.optional<typeof S.Number>;
|
|
116
111
|
}>>>>]>>;
|
|
117
|
-
icon:
|
|
118
|
-
duration:
|
|
119
|
-
closeLabel:
|
|
120
|
-
ns: typeof
|
|
121
|
-
count:
|
|
112
|
+
icon: S.optional<S.SchemaClass<string, string, never>>;
|
|
113
|
+
duration: S.optional<S.SchemaClass<number, number, never>>;
|
|
114
|
+
closeLabel: S.optional<S.Union<[typeof S.String, S.mutable<S.Tuple2<typeof S.String, S.mutable<S.Struct<{
|
|
115
|
+
ns: typeof S.String;
|
|
116
|
+
count: S.optional<typeof S.Number>;
|
|
122
117
|
}>>>>]>>;
|
|
123
|
-
actionLabel:
|
|
124
|
-
ns: typeof
|
|
125
|
-
count:
|
|
118
|
+
actionLabel: S.optional<S.Union<[typeof S.String, S.mutable<S.Tuple2<typeof S.String, S.mutable<S.Struct<{
|
|
119
|
+
ns: typeof S.String;
|
|
120
|
+
count: S.optional<typeof S.Number>;
|
|
126
121
|
}>>>>]>>;
|
|
127
|
-
actionAlt:
|
|
128
|
-
ns: typeof
|
|
129
|
-
count:
|
|
122
|
+
actionAlt: S.optional<S.Union<[typeof S.String, S.mutable<S.Tuple2<typeof S.String, S.mutable<S.Struct<{
|
|
123
|
+
ns: typeof S.String;
|
|
124
|
+
count: S.optional<typeof S.Number>;
|
|
130
125
|
}>>>>]>>;
|
|
131
|
-
onAction:
|
|
126
|
+
onAction: S.optional<S.SchemaClass<any, any, never>>;
|
|
132
127
|
}>;
|
|
133
|
-
export interface Toast extends Omit<
|
|
128
|
+
export interface Toast extends Omit<S.Schema.Type<typeof Toast>, 'onAction'> {
|
|
134
129
|
onAction?: () => void;
|
|
135
130
|
}
|
|
136
|
-
const AddToast_base:
|
|
137
|
-
readonly _tag:
|
|
131
|
+
const AddToast_base: S.TaggedClass<AddToast, "dxos.org/plugin/layout/action/update-layout", {
|
|
132
|
+
readonly _tag: S.tag<"dxos.org/plugin/layout/action/update-layout">;
|
|
138
133
|
} & {
|
|
139
|
-
input:
|
|
140
|
-
part:
|
|
141
|
-
subject:
|
|
142
|
-
id:
|
|
143
|
-
title:
|
|
144
|
-
ns: typeof
|
|
145
|
-
count:
|
|
134
|
+
input: S.Struct<{
|
|
135
|
+
part: S.Literal<["toast"]>;
|
|
136
|
+
subject: S.Struct<{
|
|
137
|
+
id: S.SchemaClass<string, string, never>;
|
|
138
|
+
title: S.optional<S.Union<[typeof S.String, S.mutable<S.Tuple2<typeof S.String, S.mutable<S.Struct<{
|
|
139
|
+
ns: typeof S.String;
|
|
140
|
+
count: S.optional<typeof S.Number>;
|
|
146
141
|
}>>>>]>>;
|
|
147
|
-
description:
|
|
148
|
-
ns: typeof
|
|
149
|
-
count:
|
|
142
|
+
description: S.optional<S.Union<[typeof S.String, S.mutable<S.Tuple2<typeof S.String, S.mutable<S.Struct<{
|
|
143
|
+
ns: typeof S.String;
|
|
144
|
+
count: S.optional<typeof S.Number>;
|
|
150
145
|
}>>>>]>>;
|
|
151
|
-
icon:
|
|
152
|
-
duration:
|
|
153
|
-
closeLabel:
|
|
154
|
-
ns: typeof
|
|
155
|
-
count:
|
|
146
|
+
icon: S.optional<S.SchemaClass<string, string, never>>;
|
|
147
|
+
duration: S.optional<S.SchemaClass<number, number, never>>;
|
|
148
|
+
closeLabel: S.optional<S.Union<[typeof S.String, S.mutable<S.Tuple2<typeof S.String, S.mutable<S.Struct<{
|
|
149
|
+
ns: typeof S.String;
|
|
150
|
+
count: S.optional<typeof S.Number>;
|
|
156
151
|
}>>>>]>>;
|
|
157
|
-
actionLabel:
|
|
158
|
-
ns: typeof
|
|
159
|
-
count:
|
|
152
|
+
actionLabel: S.optional<S.Union<[typeof S.String, S.mutable<S.Tuple2<typeof S.String, S.mutable<S.Struct<{
|
|
153
|
+
ns: typeof S.String;
|
|
154
|
+
count: S.optional<typeof S.Number>;
|
|
160
155
|
}>>>>]>>;
|
|
161
|
-
actionAlt:
|
|
162
|
-
ns: typeof
|
|
163
|
-
count:
|
|
156
|
+
actionAlt: S.optional<S.Union<[typeof S.String, S.mutable<S.Tuple2<typeof S.String, S.mutable<S.Struct<{
|
|
157
|
+
ns: typeof S.String;
|
|
158
|
+
count: S.optional<typeof S.Number>;
|
|
164
159
|
}>>>>]>>;
|
|
165
|
-
onAction:
|
|
160
|
+
onAction: S.optional<S.SchemaClass<any, any, never>>;
|
|
166
161
|
}>;
|
|
167
162
|
}>;
|
|
168
|
-
output: typeof
|
|
163
|
+
output: typeof S.Void;
|
|
169
164
|
}>;
|
|
170
165
|
export class AddToast extends AddToast_base {
|
|
171
166
|
}
|
|
172
|
-
const SwitchWorkspace_base:
|
|
173
|
-
readonly _tag:
|
|
167
|
+
const SwitchWorkspace_base: S.TaggedClass<SwitchWorkspace, "dxos.org/plugin/layout/action/update-layout", {
|
|
168
|
+
readonly _tag: S.tag<"dxos.org/plugin/layout/action/update-layout">;
|
|
174
169
|
} & {
|
|
175
|
-
input:
|
|
176
|
-
part:
|
|
177
|
-
subject:
|
|
170
|
+
input: S.Struct<{
|
|
171
|
+
part: S.Literal<["workspace"]>;
|
|
172
|
+
subject: S.SchemaClass<string, string, never>;
|
|
178
173
|
}>;
|
|
179
|
-
output: typeof
|
|
174
|
+
output: typeof S.Void;
|
|
180
175
|
}>;
|
|
181
176
|
export class SwitchWorkspace extends SwitchWorkspace_base {
|
|
182
177
|
}
|
|
183
|
-
const RevertWorkspace_base:
|
|
184
|
-
readonly _tag:
|
|
178
|
+
const RevertWorkspace_base: S.TaggedClass<RevertWorkspace, "dxos.org/plugin/layout/action/update-layout", {
|
|
179
|
+
readonly _tag: S.tag<"dxos.org/plugin/layout/action/update-layout">;
|
|
185
180
|
} & {
|
|
186
|
-
input:
|
|
187
|
-
part:
|
|
188
|
-
options:
|
|
189
|
-
revert:
|
|
181
|
+
input: S.Struct<{
|
|
182
|
+
part: S.Literal<["workspace"]>;
|
|
183
|
+
options: S.Struct<{
|
|
184
|
+
revert: S.Literal<[true]>;
|
|
190
185
|
}>;
|
|
191
186
|
}>;
|
|
192
|
-
output: typeof
|
|
187
|
+
output: typeof S.Void;
|
|
193
188
|
}>;
|
|
194
189
|
export class RevertWorkspace extends RevertWorkspace_base {
|
|
195
190
|
}
|
|
196
|
-
const Open_base:
|
|
197
|
-
readonly _tag:
|
|
191
|
+
const Open_base: S.TaggedClass<Open, "dxos.org/plugin/layout/action/update-layout", {
|
|
192
|
+
readonly _tag: S.tag<"dxos.org/plugin/layout/action/update-layout">;
|
|
198
193
|
} & {
|
|
199
|
-
input:
|
|
200
|
-
part:
|
|
201
|
-
subject:
|
|
202
|
-
options:
|
|
203
|
-
state:
|
|
204
|
-
variant:
|
|
205
|
-
key:
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
positioning: Schema.optional<Schema.Union<[Schema.Literal<["start"]>, Schema.Literal<["end"]>]>>;
|
|
194
|
+
input: S.Struct<{
|
|
195
|
+
part: S.Literal<["main"]>;
|
|
196
|
+
subject: S.Array$<S.SchemaClass<string, string, never>>;
|
|
197
|
+
options: S.optional<S.Struct<{
|
|
198
|
+
state: S.optional<S.Literal<[true]>>;
|
|
199
|
+
variant: S.optional<S.SchemaClass<string, string, never>>;
|
|
200
|
+
key: S.optional<S.SchemaClass<string, string, never>>;
|
|
201
|
+
scrollIntoView: S.optional<S.SchemaClass<boolean, boolean, never>>;
|
|
202
|
+
pivotId: S.optional<S.SchemaClass<string, string, never>>;
|
|
203
|
+
positioning: S.optional<S.Union<[S.Literal<["start"]>, S.Literal<["end"]>]>>;
|
|
210
204
|
}>>;
|
|
211
205
|
}>;
|
|
212
|
-
output: typeof
|
|
206
|
+
output: typeof S.Void;
|
|
213
207
|
}>;
|
|
214
208
|
export class Open extends Open_base {
|
|
215
209
|
}
|
|
216
|
-
const Set_base:
|
|
217
|
-
readonly _tag:
|
|
210
|
+
const Set_base: S.TaggedClass<Set, "dxos.org/plugin/layout/action/update-layout", {
|
|
211
|
+
readonly _tag: S.tag<"dxos.org/plugin/layout/action/update-layout">;
|
|
218
212
|
} & {
|
|
219
|
-
input:
|
|
220
|
-
part:
|
|
221
|
-
subject:
|
|
222
|
-
options:
|
|
223
|
-
override:
|
|
213
|
+
input: S.Struct<{
|
|
214
|
+
part: S.Literal<["main"]>;
|
|
215
|
+
subject: S.Array$<S.SchemaClass<string, string, never>>;
|
|
216
|
+
options: S.Struct<{
|
|
217
|
+
override: S.Literal<[true]>;
|
|
224
218
|
}>;
|
|
225
219
|
}>;
|
|
226
|
-
output: typeof
|
|
220
|
+
output: typeof S.Void;
|
|
227
221
|
}>;
|
|
228
222
|
export class Set extends Set_base {
|
|
229
223
|
}
|
|
230
|
-
const Close_base:
|
|
231
|
-
readonly _tag:
|
|
224
|
+
const Close_base: S.TaggedClass<Close, "dxos.org/plugin/layout/action/update-layout", {
|
|
225
|
+
readonly _tag: S.tag<"dxos.org/plugin/layout/action/update-layout">;
|
|
232
226
|
} & {
|
|
233
|
-
input:
|
|
234
|
-
part:
|
|
235
|
-
subject:
|
|
236
|
-
options:
|
|
237
|
-
state:
|
|
227
|
+
input: S.Struct<{
|
|
228
|
+
part: S.Literal<["main"]>;
|
|
229
|
+
subject: S.Array$<S.SchemaClass<string, string, never>>;
|
|
230
|
+
options: S.Struct<{
|
|
231
|
+
state: S.Literal<[false]>;
|
|
238
232
|
}>;
|
|
239
233
|
}>;
|
|
240
|
-
output: typeof
|
|
234
|
+
output: typeof S.Void;
|
|
241
235
|
}>;
|
|
242
236
|
export class Close extends Close_base {
|
|
243
237
|
}
|
|
244
|
-
const ScrollIntoView_base:
|
|
245
|
-
readonly _tag:
|
|
238
|
+
const ScrollIntoView_base: S.TaggedClass<ScrollIntoView, "dxos.org/plugin/layout/action/update-layout", {
|
|
239
|
+
readonly _tag: S.tag<"dxos.org/plugin/layout/action/update-layout">;
|
|
246
240
|
} & {
|
|
247
|
-
input:
|
|
248
|
-
part:
|
|
249
|
-
subject:
|
|
250
|
-
options:
|
|
241
|
+
input: S.Struct<{
|
|
242
|
+
part: S.Literal<["current"]>;
|
|
243
|
+
subject: S.optional<S.SchemaClass<string, string, never>>;
|
|
244
|
+
options: S.optional<S.Record$<typeof S.String, typeof S.Any>>;
|
|
251
245
|
}>;
|
|
252
|
-
output: typeof
|
|
246
|
+
output: typeof S.Void;
|
|
253
247
|
}>;
|
|
254
248
|
export class ScrollIntoView extends ScrollIntoView_base {
|
|
255
249
|
}
|
|
256
|
-
const Expose_base:
|
|
257
|
-
readonly _tag:
|
|
250
|
+
const Expose_base: S.TaggedClass<Expose, "dxos.org/plugin/layout/action/update-layout", {
|
|
251
|
+
readonly _tag: S.tag<"dxos.org/plugin/layout/action/update-layout">;
|
|
258
252
|
} & {
|
|
259
|
-
input:
|
|
260
|
-
part:
|
|
261
|
-
subject:
|
|
253
|
+
input: S.Struct<{
|
|
254
|
+
part: S.Literal<["navigation"]>;
|
|
255
|
+
subject: S.SchemaClass<string, string, never>;
|
|
262
256
|
}>;
|
|
263
|
-
output: typeof
|
|
257
|
+
output: typeof S.Void;
|
|
264
258
|
}>;
|
|
265
259
|
export class Expose extends Expose_base {
|
|
266
260
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"layout.d.ts","sourceRoot":"","sources":["../../../../src/common/layout.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"layout.d.ts","sourceRoot":"","sources":["../../../../src/common/layout.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,IAAI,CAAC,EAAE,MAAM,QAAQ,CAAC;AAIrC,eAAO,MAAM,aAAa,2BAA2B,CAAC;AACtD,eAAO,MAAM,aAAa,kCAA4B,CAAC;AAEvD;;GAEG;AACH,yBAAiB,YAAY,CAAC;IAC5B,MAAM,CAAC,MAAM,aAAa,gDAAmC,CAAC;;;;;;;;;;;IAE9D;;OAEG;IACH,MAAM,OAAO,YAAa,SAAQ,iBAWhC;KAAG;;;;;;;;;;;;;;;IAYL,MAAM,OAAO,aAAc,SAAQ,kBAUjC;KAAG;;;;;;;;;;;;;IAEL,MAAM,OAAO,aAAc,SAAQ,kBAajC;KAAG;;;;;;;;;;;;;IAEL,MAAM,OAAO,mBAAoB,SAAQ,wBAevC;KAAG;;;;;;;;;;;;;;;;IAEL,MAAM,OAAO,YAAa,SAAQ,iBAkBhC;KAAG;;;;;;;;;;;;;;;;IAEL,MAAM,OAAO,aAAc,SAAQ,kBAkBjC;KAAG;IAEL,MAAM,CAAC,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;MAYhB,CAAC;IAEH,MAAM,WAAW,KAAM,S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AC,CAAC,CAAC;CAC1E,CAAC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,aAAa,GAAI,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,oBAC7C,iBAAiB,CAAC,CAAC,CAAC,KAC/B,iBAAiB,CAAC,CAAC,CAAe,CAAC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { Schema } from 'effect';
|
|
2
|
-
export declare const ResourceKey:
|
|
3
|
-
export type ResourceKey =
|
|
4
|
-
export declare const ResourceLanguage:
|
|
5
|
-
export type ResourceLanguage =
|
|
1
|
+
import { Schema as S } from 'effect';
|
|
2
|
+
export declare const ResourceKey: S.Union<[typeof S.String, S.Record$<typeof S.String, typeof S.Any>]>;
|
|
3
|
+
export type ResourceKey = S.Schema.Type<typeof ResourceKey>;
|
|
4
|
+
export declare const ResourceLanguage: S.Record$<typeof S.String, S.Union<[typeof S.String, S.Record$<typeof S.String, typeof S.Any>]>>;
|
|
5
|
+
export type ResourceLanguage = S.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: S.Record$<typeof S.String, S.Record$<typeof S.String, S.Union<[typeof S.String, S.Record$<typeof S.String, typeof S.Any>]>>>;
|
|
10
|
+
export type Resource = S.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,EAAE,MAAM,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../../src/common/translations.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,IAAI,CAAC,EAAE,MAAM,QAAQ,CAAC;AAErC,eAAO,MAAM,WAAW,sEAA+D,CAAC;AACxF,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,WAAW,CAAC,CAAC;AAE5D,eAAO,MAAM,gBAAgB,kGAAkD,CAAC;AAChF,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAEtE;;GAEG;AACH,eAAO,MAAM,QAAQ,8HAAuD,CAAC;AAC7E,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,QAAQ,CAAC,CAAC"}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Interface definition for a capability.
|
|
3
|
+
*/
|
|
2
4
|
import { Effect } from 'effect';
|
|
3
5
|
import { type MaybePromise } from '@dxos/util';
|
|
4
6
|
import { type ActivationEvent } from './events';
|
|
@@ -15,8 +17,7 @@ export type InterfaceDef<T> = {
|
|
|
15
17
|
*/
|
|
16
18
|
export declare const defineCapability: <T>(identifier: string) => InterfaceDef<T>;
|
|
17
19
|
/**
|
|
18
|
-
*
|
|
19
|
-
* When a capability is contributed to the application an implementation of the interface is provided.
|
|
20
|
+
* Functionality contributed to the application by a plugin module.
|
|
20
21
|
*/
|
|
21
22
|
export type Capability<T> = {
|
|
22
23
|
/**
|
|
@@ -34,7 +35,6 @@ export type Capability<T> = {
|
|
|
34
35
|
};
|
|
35
36
|
export type AnyCapability = Capability<any>;
|
|
36
37
|
type PluginsContextOptions = {
|
|
37
|
-
registry: Registry.Registry;
|
|
38
38
|
activate: (event: ActivationEvent) => Effect.Effect<boolean, Error>;
|
|
39
39
|
reset: (event: ActivationEvent) => Effect.Effect<boolean, Error>;
|
|
40
40
|
};
|
|
@@ -54,15 +54,10 @@ type LazyCapability<T, U> = (props?: T) => Promise<() => Promise<Capability<U> |
|
|
|
54
54
|
*/
|
|
55
55
|
export declare const lazy: <T, U>(c: LoadCapability<T, U> | LoadCapabilities<T>) => LazyCapability<T, U>;
|
|
56
56
|
/**
|
|
57
|
-
*
|
|
58
|
-
* It tracks the capabilities that are contributed in an in-memory live object.
|
|
59
|
-
* This allows the application to subscribe to this state and incorporate plugins which are added dynamically.
|
|
57
|
+
* Context which is passed to plugins, allowing them to interact with each other.
|
|
60
58
|
*/
|
|
61
|
-
export declare class
|
|
62
|
-
private readonly
|
|
63
|
-
private readonly _capabilityImpls;
|
|
64
|
-
readonly _capabilities: (arg: string) => Rx.Rx<unknown[]>;
|
|
65
|
-
readonly _capability: (arg: string) => Rx.Rx<unknown>;
|
|
59
|
+
export declare class PluginsContext {
|
|
60
|
+
private readonly _definedCapabilities;
|
|
66
61
|
/**
|
|
67
62
|
* Activates plugins based on the activation event.
|
|
68
63
|
* @param event The activation event.
|
|
@@ -75,38 +70,25 @@ export declare class PluginContext {
|
|
|
75
70
|
* @returns Whether the reset was successful.
|
|
76
71
|
*/
|
|
77
72
|
readonly reset: PluginsContextOptions['reset'];
|
|
78
|
-
constructor({
|
|
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>;
|
|
73
|
+
constructor({ activate, reset }: PluginsContextOptions);
|
|
94
74
|
/**
|
|
95
|
-
*
|
|
75
|
+
* Requests capabilities from the plugin context.
|
|
96
76
|
* @returns An array of capabilities.
|
|
77
|
+
* @reactive
|
|
97
78
|
*/
|
|
98
|
-
|
|
79
|
+
requestCapabilities<T, U extends T = T>(interfaceDef: InterfaceDef<T>, filter?: (capability: T, moduleId: string) => capability is U): U[];
|
|
99
80
|
/**
|
|
100
81
|
* Requests a single capability from the plugin context.
|
|
101
82
|
* @returns The capability.
|
|
102
83
|
* @throws If no capability is found.
|
|
84
|
+
* @reactive
|
|
103
85
|
*/
|
|
104
|
-
|
|
86
|
+
requestCapability<T, U extends T = T>(interfaceDef: InterfaceDef<T>, filter?: (capability: T, moduleId: string) => capability is U): U;
|
|
105
87
|
/**
|
|
106
|
-
* Waits for a capability to be
|
|
88
|
+
* Waits for a capability to be contributed.
|
|
107
89
|
* @returns The capability.
|
|
108
90
|
*/
|
|
109
|
-
waitForCapability<T>(interfaceDef: InterfaceDef<T
|
|
91
|
+
waitForCapability<T, U extends T = T>(interfaceDef: InterfaceDef<T>, filter?: (capability: T) => capability is U): Promise<U>;
|
|
110
92
|
activatePromise(event: ActivationEvent): Promise<boolean>;
|
|
111
93
|
resetPromise(event: ActivationEvent): Promise<boolean>;
|
|
112
94
|
}
|
|
@@ -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":"AAAA;;GAEG;AAMH,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAMhC,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAE/C,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,UAAU,CAAC;AAEhD,QAAA,MAAM,kBAAkB,EAAE,OAAO,MAAyC,CAAC;AAE3E;;GAEG;AACH,MAAM,MAAM,YAAY,CAA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AAK,UAAU,IAAI,CAAC,GAC5D,CAAC;IAMJ;;;OAGG;IACG,iBAAiB,CAAC,CAAC,EAAE,CAAC,SAAS,CAAC,GAAG,CAAC,EACxC,YAAY,EAAE,YAAY,CAAC,CAAC,CAAC,EAC7B,MAAM,CAAC,EAAE,CAAC,UAAU,EAAE,CAAC,KAAK,UAAU,IAAI,CAAC,GAC1C,OAAO,CAAC,CAAC,CAAC;IAaP,eAAe,CAAC,KAAK,EAAE,eAAe,GAAG,OAAO,CAAC,OAAO,CAAC;IAIzD,YAAY,CAAC,KAAK,EAAE,eAAe,GAAG,OAAO,CAAC,OAAO,CAAC;CAG7D"}
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
* This is expected to be a URI, where initial parts are often the id of the plugin whose package defines the event.
|
|
4
|
-
*
|
|
5
|
-
* @example dxos.org/plugin/example/event/ready
|
|
2
|
+
* An event which activates a plugin module.
|
|
6
3
|
*/
|
|
7
4
|
export type ActivationEvent = {
|
|
8
5
|
id: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../../../src/core/events.ts"],"names":[],"mappings":"AAIA
|
|
1
|
+
{"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../../../src/core/events.ts"],"names":[],"mappings":"AAIA;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,gBAAgB,GACxB,eAAe,GACf;IAAE,IAAI,EAAE,QAAQ,CAAC;IAAC,MAAM,EAAE,eAAe,EAAE,CAAA;CAAE,GAC7C;IAAE,IAAI,EAAE,QAAQ,CAAC;IAAC,MAAM,EAAE,eAAe,EAAE,CAAA;CAAE,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,WAAW,OAAQ,MAAM,cAAc,MAAM,KAC5B,eAC7B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,QAAQ,UAAW,eAAe,WAAoE,CAAC;AAEpH;;GAEG;AACH,eAAO,MAAM,KAAK,cAAe,eAAe,EAAE;;;CAA0C,CAAC;AAE7F;;GAEG;AACH,eAAO,MAAM,KAAK,cAAe,eAAe,EAAE;;;CAA0C,CAAC;AAE7F;;GAEG;AACH,eAAO,MAAM,OAAO,WAAY,gBAAgB,KAAG,MAAM,IAAI;IAAE,IAAI,EAAE,QAAQ,CAAC;IAAC,MAAM,EAAE,eAAe,EAAE,CAAA;CAC1D,CAAC;AAE/C;;GAEG;AACH,eAAO,MAAM,OAAO,WAAY,gBAAgB,KAAG,MAAM,IAAI;IAAE,IAAI,EAAE,QAAQ,CAAC;IAAC,MAAM,EAAE,eAAe,EAAE,CAAA;CAC1D,CAAC;AAE/C;;GAEG;AACH,eAAO,MAAM,SAAS,WAAY,gBAAgB,sBAAkD,CAAC"}
|