@dxos/plugin-deck 0.8.4-main.f9ba587 → 0.8.4-main.fffef41
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-JTFSDT2I.mjs → app-graph-builder-D74NTOMK.mjs} +19 -43
- package/dist/lib/browser/app-graph-builder-D74NTOMK.mjs.map +7 -0
- package/dist/lib/browser/{check-app-scheme-57U62A3A.mjs → check-app-scheme-HIEVFAAX.mjs} +6 -6
- package/dist/lib/browser/check-app-scheme-HIEVFAAX.mjs.map +7 -0
- package/dist/lib/browser/chunk-5KMJPIQC.mjs +16 -0
- package/dist/lib/browser/chunk-5KMJPIQC.mjs.map +7 -0
- package/dist/lib/browser/{chunk-XL7EWOGI.mjs → chunk-F3VCCHVL.mjs} +13 -13
- package/dist/lib/browser/chunk-F3VCCHVL.mjs.map +7 -0
- package/dist/lib/browser/{chunk-7LJDT5OH.mjs → chunk-QKCGZ45E.mjs} +19 -18
- package/dist/lib/browser/chunk-QKCGZ45E.mjs.map +7 -0
- package/dist/lib/browser/chunk-UXLU6CMW.mjs +16 -0
- package/dist/lib/browser/chunk-UXLU6CMW.mjs.map +7 -0
- package/dist/lib/browser/{chunk-QO3VIMKQ.mjs → chunk-VBYJ664A.mjs} +13 -9
- package/dist/lib/browser/chunk-VBYJ664A.mjs.map +7 -0
- package/dist/lib/browser/{chunk-QBKDUEDV.mjs → chunk-VUJ6UNIJ.mjs} +579 -520
- package/dist/lib/browser/chunk-VUJ6UNIJ.mjs.map +7 -0
- package/dist/lib/browser/index.mjs +20 -14
- package/dist/lib/browser/index.mjs.map +3 -3
- package/dist/lib/browser/{intent-resolver-6YMAE4SF.mjs → intent-resolver-UA4YQGAC.mjs} +21 -18
- package/dist/lib/browser/intent-resolver-UA4YQGAC.mjs.map +7 -0
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/{react-root-UVN2LMU3.mjs → react-root-JAMHKYWN.mjs} +13 -12
- package/dist/lib/browser/react-root-JAMHKYWN.mjs.map +7 -0
- package/dist/lib/browser/{react-surface-WOLHGHMN.mjs → react-surface-6LW337ZT.mjs} +13 -13
- package/dist/lib/browser/react-surface-6LW337ZT.mjs.map +7 -0
- package/dist/lib/browser/{settings-L5CR5GTJ.mjs → settings-SDPTOCCM.mjs} +7 -6
- package/dist/lib/browser/{settings-L5CR5GTJ.mjs.map → settings-SDPTOCCM.mjs.map} +3 -3
- package/dist/lib/browser/state-7IFAGZQO.mjs +12 -0
- package/dist/lib/browser/toolkit-L5CFXJCF.mjs +52 -0
- package/dist/lib/browser/toolkit-L5CFXJCF.mjs.map +7 -0
- package/dist/lib/browser/{types.mjs → types/index.mjs} +3 -5
- package/dist/lib/browser/{url-handler-KZW7GBA2.mjs → url-handler-QEYGYE2H.mjs} +7 -7
- package/dist/lib/browser/url-handler-QEYGYE2H.mjs.map +7 -0
- package/dist/types/src/DeckPlugin.d.ts +1 -1
- package/dist/types/src/DeckPlugin.d.ts.map +1 -1
- package/dist/types/src/capabilities/app-graph-builder.d.ts +1 -1
- package/dist/types/src/capabilities/app-graph-builder.d.ts.map +1 -1
- package/dist/types/src/capabilities/capabilities.d.ts.map +1 -1
- package/dist/types/src/capabilities/check-app-scheme.d.ts +1 -1
- package/dist/types/src/capabilities/check-app-scheme.d.ts.map +1 -1
- package/dist/types/src/capabilities/index.d.ts +9 -9
- package/dist/types/src/capabilities/index.d.ts.map +1 -1
- package/dist/types/src/capabilities/intent-resolver.d.ts +1 -1
- package/dist/types/src/capabilities/intent-resolver.d.ts.map +1 -1
- package/dist/types/src/capabilities/react-root.d.ts +2 -2
- package/dist/types/src/capabilities/react-root.d.ts.map +1 -1
- package/dist/types/src/capabilities/react-surface.d.ts +1 -1
- package/dist/types/src/capabilities/settings.d.ts +1 -1
- package/dist/types/src/capabilities/settings.d.ts.map +1 -1
- package/dist/types/src/capabilities/state.d.ts +5 -2
- package/dist/types/src/capabilities/state.d.ts.map +1 -1
- package/dist/types/src/capabilities/toolkit.d.ts +25 -0
- package/dist/types/src/capabilities/toolkit.d.ts.map +1 -0
- package/dist/types/src/capabilities/tools.d.ts +1 -1
- package/dist/types/src/capabilities/tools.d.ts.map +1 -1
- package/dist/types/src/capabilities/url-handler.d.ts +1 -1
- package/dist/types/src/capabilities/url-handler.d.ts.map +1 -1
- package/dist/types/src/components/DeckLayout/Banner.d.ts.map +1 -1
- package/dist/types/src/components/DeckLayout/DeckLayout.d.ts +2 -3
- package/dist/types/src/components/DeckLayout/DeckLayout.d.ts.map +1 -1
- package/dist/types/src/components/DeckLayout/DeckLayout.stories.d.ts +74 -0
- package/dist/types/src/components/DeckLayout/DeckLayout.stories.d.ts.map +1 -0
- package/dist/types/src/components/DeckLayout/DeckMain.d.ts +3 -0
- package/dist/types/src/components/DeckLayout/DeckMain.d.ts.map +1 -0
- package/dist/types/src/components/DeckLayout/Popover.d.ts.map +1 -1
- package/dist/types/src/components/DeckLayout/Toast.d.ts +5 -0
- package/dist/types/src/components/DeckLayout/Toast.d.ts.map +1 -1
- package/dist/types/src/components/DeckSettings/DeckSettings.d.ts.map +1 -1
- package/dist/types/src/components/Plank/Plank.d.ts +1 -1
- package/dist/types/src/components/Plank/Plank.d.ts.map +1 -1
- package/dist/types/src/components/Plank/Plank.stories.d.ts +86 -5
- package/dist/types/src/components/Plank/Plank.stories.d.ts.map +1 -1
- package/dist/types/src/components/Plank/PlankControls.d.ts.map +1 -1
- package/dist/types/src/components/Plank/PlankError.d.ts.map +1 -1
- package/dist/types/src/components/Plank/PlankHeading.d.ts +1 -1
- package/dist/types/src/components/Plank/PlankHeading.d.ts.map +1 -1
- package/dist/types/src/components/Sidebar/ComplementarySidebar.d.ts.map +1 -1
- package/dist/types/src/components/Sidebar/SidebarButton.d.ts.map +1 -1
- package/dist/types/src/events.d.ts.map +1 -1
- package/dist/types/src/hooks/useDeckCompanions.d.ts.map +1 -1
- package/dist/types/src/hooks/useHoistStatusbar.d.ts.map +1 -1
- package/dist/types/src/hooks/useNodeActionExpander.d.ts.map +1 -1
- package/dist/types/src/meta.d.ts +0 -1
- package/dist/types/src/meta.d.ts.map +1 -1
- package/dist/types/src/translations.d.ts +2 -0
- package/dist/types/src/translations.d.ts.map +1 -1
- package/dist/types/src/types/index.d.ts +2 -0
- package/dist/types/src/types/index.d.ts.map +1 -0
- package/dist/types/src/{types.d.ts → types/schema.d.ts} +11 -11
- package/dist/types/src/types/schema.d.ts.map +1 -0
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +49 -45
- package/src/DeckPlugin.ts +64 -59
- package/src/capabilities/app-graph-builder.ts +33 -31
- package/src/capabilities/capabilities.ts +3 -3
- package/src/capabilities/check-app-scheme.ts +3 -3
- package/src/capabilities/index.ts +2 -1
- package/src/capabilities/intent-resolver.ts +22 -19
- package/src/capabilities/react-root.tsx +6 -4
- package/src/capabilities/react-surface.tsx +5 -5
- package/src/capabilities/settings.ts +2 -1
- package/src/capabilities/state.ts +15 -6
- package/src/capabilities/toolkit.ts +66 -0
- package/src/capabilities/tools.ts +10 -7
- package/src/capabilities/url-handler.ts +3 -2
- package/src/components/DeckLayout/ActiveNode.tsx +1 -1
- package/src/components/DeckLayout/Banner.tsx +4 -4
- package/src/components/DeckLayout/ContentEmpty.tsx +2 -2
- package/src/components/DeckLayout/DeckLayout.stories.tsx +63 -0
- package/src/components/DeckLayout/DeckLayout.tsx +10 -279
- package/src/components/DeckLayout/DeckMain.tsx +281 -0
- package/src/components/DeckLayout/Dialog.tsx +1 -1
- package/src/components/DeckLayout/Fallback.tsx +3 -3
- package/src/components/DeckLayout/Popover.tsx +5 -14
- package/src/components/DeckLayout/StatusBar.tsx +1 -1
- package/src/components/DeckLayout/Toast.tsx +28 -3
- package/src/components/DeckSettings/DeckSettings.tsx +80 -65
- package/src/components/Plank/Plank.stories.tsx +10 -11
- package/src/components/Plank/Plank.tsx +75 -42
- package/src/components/Plank/PlankControls.tsx +6 -5
- package/src/components/Plank/PlankError.tsx +5 -7
- package/src/components/Plank/PlankHeading.tsx +14 -12
- package/src/components/Sidebar/ComplementarySidebar.tsx +40 -19
- package/src/components/Sidebar/Sidebar.tsx +3 -3
- package/src/components/Sidebar/SidebarButton.tsx +15 -14
- package/src/events.ts +2 -2
- package/src/hooks/useCompanions.ts +1 -1
- package/src/hooks/useDeckCompanions.ts +4 -3
- package/src/hooks/useHoistStatusbar.ts +6 -4
- package/src/hooks/useNodeActionExpander.ts +1 -1
- package/src/meta.ts +6 -3
- package/src/translations.ts +2 -0
- package/src/types/index.ts +5 -0
- package/src/{types.ts → types/schema.ts} +9 -9
- package/dist/lib/browser/app-graph-builder-JTFSDT2I.mjs.map +0 -7
- package/dist/lib/browser/check-app-scheme-57U62A3A.mjs.map +0 -7
- package/dist/lib/browser/chunk-7LJDT5OH.mjs.map +0 -7
- package/dist/lib/browser/chunk-M57WD3V6.mjs +0 -16
- package/dist/lib/browser/chunk-M57WD3V6.mjs.map +0 -7
- package/dist/lib/browser/chunk-QBKDUEDV.mjs.map +0 -7
- package/dist/lib/browser/chunk-QO3VIMKQ.mjs.map +0 -7
- package/dist/lib/browser/chunk-XL7EWOGI.mjs.map +0 -7
- package/dist/lib/browser/chunk-Z5KITAZW.mjs +0 -13
- package/dist/lib/browser/chunk-Z5KITAZW.mjs.map +0 -7
- package/dist/lib/browser/intent-resolver-6YMAE4SF.mjs.map +0 -7
- package/dist/lib/browser/react-root-UVN2LMU3.mjs.map +0 -7
- package/dist/lib/browser/react-surface-WOLHGHMN.mjs.map +0 -7
- package/dist/lib/browser/state-ZTYWMORZ.mjs +0 -10
- package/dist/lib/browser/tools-2YYFHQAS.mjs +0 -88
- package/dist/lib/browser/tools-2YYFHQAS.mjs.map +0 -7
- package/dist/lib/browser/url-handler-KZW7GBA2.mjs.map +0 -7
- package/dist/lib/node-esm/app-graph-builder-YCSX45KJ.mjs +0 -153
- package/dist/lib/node-esm/app-graph-builder-YCSX45KJ.mjs.map +0 -7
- package/dist/lib/node-esm/check-app-scheme-3YZIA73T.mjs +0 -33
- package/dist/lib/node-esm/check-app-scheme-3YZIA73T.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-ANLUUC3J.mjs +0 -129
- package/dist/lib/node-esm/chunk-ANLUUC3J.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-F4YIQ5GG.mjs +0 -128
- package/dist/lib/node-esm/chunk-F4YIQ5GG.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-HHG6H2BX.mjs +0 -15
- package/dist/lib/node-esm/chunk-HHG6H2BX.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-KTPDAVNM.mjs +0 -17
- package/dist/lib/node-esm/chunk-KTPDAVNM.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-NMSUKHE3.mjs +0 -1495
- package/dist/lib/node-esm/chunk-NMSUKHE3.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-QFKYT4JK.mjs +0 -163
- package/dist/lib/node-esm/chunk-QFKYT4JK.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-UJGQAMF7.mjs +0 -147
- package/dist/lib/node-esm/chunk-UJGQAMF7.mjs.map +0 -7
- package/dist/lib/node-esm/index.mjs +0 -169
- package/dist/lib/node-esm/index.mjs.map +0 -7
- package/dist/lib/node-esm/intent-resolver-URTWBGD7.mjs +0 -522
- package/dist/lib/node-esm/intent-resolver-URTWBGD7.mjs.map +0 -7
- package/dist/lib/node-esm/meta.json +0 -1
- package/dist/lib/node-esm/react-root-GFX4GOJT.mjs +0 -44
- package/dist/lib/node-esm/react-root-GFX4GOJT.mjs.map +0 -7
- package/dist/lib/node-esm/react-surface-F6L5PLWK.mjs +0 -41
- package/dist/lib/node-esm/react-surface-F6L5PLWK.mjs.map +0 -7
- package/dist/lib/node-esm/settings-WE3TBMOC.mjs +0 -30
- package/dist/lib/node-esm/settings-WE3TBMOC.mjs.map +0 -7
- package/dist/lib/node-esm/state-DUK6WFDX.mjs +0 -11
- package/dist/lib/node-esm/state-DUK6WFDX.mjs.map +0 -7
- package/dist/lib/node-esm/tools-HH6NN7HB.mjs +0 -89
- package/dist/lib/node-esm/tools-HH6NN7HB.mjs.map +0 -7
- package/dist/lib/node-esm/types.mjs +0 -35
- package/dist/lib/node-esm/types.mjs.map +0 -7
- package/dist/lib/node-esm/url-handler-774BWWKI.mjs +0 -71
- package/dist/lib/node-esm/url-handler-774BWWKI.mjs.map +0 -7
- package/dist/types/src/types.d.ts.map +0 -1
- /package/dist/lib/browser/{state-ZTYWMORZ.mjs.map → state-7IFAGZQO.mjs.map} +0 -0
- /package/dist/lib/browser/{types.mjs.map → types/index.mjs.map} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Popover.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/Popover.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,EAAE,KAAK,iBAAiB,
|
|
1
|
+
{"version":3,"file":"Popover.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/Popover.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAA4C,MAAM,OAAO,CAAC;AAOhG,MAAM,MAAM,oBAAoB,GAAG,iBAAiB,CAAC,EAAE,CAAC,CAAC;AAUzD,eAAO,MAAM,WAAW,GAAI,cAAc,oBAAoB,sBA+B7D,CAAC;AAEF,eAAO,MAAM,cAAc,yBAuC1B,CAAC"}
|
|
@@ -2,4 +2,9 @@ import React from 'react';
|
|
|
2
2
|
import { type LayoutAction } from '@dxos/app-framework';
|
|
3
3
|
import { type ToastRootProps } from '@dxos/react-ui';
|
|
4
4
|
export declare const Toast: ({ id, title, description, icon, duration, actionLabel, actionAlt, closeLabel, onAction, onOpenChange, }: LayoutAction.Toast & Pick<ToastRootProps, "onOpenChange">) => React.JSX.Element;
|
|
5
|
+
export type ToasterProps = {
|
|
6
|
+
toasts?: LayoutAction.Toast[];
|
|
7
|
+
onDismissToast?: (id: string) => void;
|
|
8
|
+
};
|
|
9
|
+
export declare const Toaster: ({ toasts, onDismissToast }: ToasterProps) => React.JSX.Element;
|
|
5
10
|
//# sourceMappingURL=Toast.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Toast.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/Toast.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAIL,KAAK,cAAc,EAGpB,MAAM,gBAAgB,CAAC;AAKxB,eAAO,MAAM,KAAK,GAAI,yGAWnB,YAAY,CAAC,KAAK,GAAG,IAAI,CAAC,cAAc,EAAE,cAAc,CAAC,sBA8B3D,CAAC"}
|
|
1
|
+
{"version":3,"file":"Toast.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/Toast.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAIL,KAAK,cAAc,EAGpB,MAAM,gBAAgB,CAAC;AAKxB,eAAO,MAAM,KAAK,GAAI,yGAWnB,YAAY,CAAC,KAAK,GAAG,IAAI,CAAC,cAAc,EAAE,cAAc,CAAC,sBA8B3D,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG;IACzB,MAAM,CAAC,EAAE,YAAY,CAAC,KAAK,EAAE,CAAC;IAC9B,cAAc,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;CACvC,CAAC;AAEF,eAAO,MAAM,OAAO,GAAI,4BAA4B,YAAY,sBAkB/D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DeckSettings.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckSettings/DeckSettings.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,EACL,KAAK,iBAAiB,EAKvB,MAAM,aAAa,CAAC;AAIrB,eAAO,MAAM,YAAY,GAAI,cAAc;IAAE,QAAQ,EAAE,iBAAiB,CAAA;CAAE,
|
|
1
|
+
{"version":3,"file":"DeckSettings.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckSettings/DeckSettings.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,EACL,KAAK,iBAAiB,EAKvB,MAAM,aAAa,CAAC;AAIrB,eAAO,MAAM,YAAY,GAAI,cAAc;IAAE,QAAQ,EAAE,iBAAiB,CAAA;CAAE,sBAkFzE,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { type Node } from '@dxos/plugin-graph';
|
|
3
|
-
import { type
|
|
3
|
+
import { type DeckSettingsProps, type LayoutMode, type ResolvedPart } from '../../types';
|
|
4
4
|
export type PlankProps = Pick<PlankComponentProps, 'layoutMode' | 'part' | 'path' | 'order' | 'active' | 'settings'> & {
|
|
5
5
|
id?: string;
|
|
6
6
|
companionId?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Plank.d.ts","sourceRoot":"","sources":["../../../../../src/components/Plank/Plank.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Plank.d.ts","sourceRoot":"","sources":["../../../../../src/components/Plank/Plank.tsx"],"names":[],"mappings":"AAKA,OAAO,KAQN,MAAM,OAAO,CAAC;AAKf,OAAO,EAAE,KAAK,IAAI,EAAW,MAAM,oBAAoB,CAAC;AAQxD,OAAO,EAAc,KAAK,iBAAiB,EAAE,KAAK,UAAU,EAAE,KAAK,YAAY,EAAE,MAAM,aAAa,CAAC;AAYrG,MAAM,MAAM,UAAU,GAAG,IAAI,CAAC,mBAAmB,EAAE,YAAY,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,QAAQ,GAAG,UAAU,CAAC,GAAG;IACrH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAgBF;;;GAGG;AACH,eAAO,MAAM,KAAK,4DAAqD,UAAU,uBAkC/E,CAAC;AAqCH,KAAK,mBAAmB,GAAG;IACzB,UAAU,EAAE,UAAU,CAAC;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,YAAY,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,WAAW,CAAC,EAAE,SAAS,GAAG,WAAW,CAAC;IACtC,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,OAAO,CAAC,EAAE,IAAI,CAAC;IACf,UAAU,CAAC,EAAE,IAAI,EAAE,CAAC;IACpB,QAAQ,CAAC,EAAE,iBAAiB,CAAC;CAC9B,CAAC"}
|
|
@@ -1,8 +1,89 @@
|
|
|
1
|
-
import '@
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { type StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: React.MemoExoticComponent<({ id, companionId, ...props }: import("./Plank").PlankProps) => React.JSX.Element>;
|
|
6
|
+
render: (args: Pick<{
|
|
7
|
+
layoutMode: import("../../types").LayoutMode;
|
|
8
|
+
id: string;
|
|
9
|
+
part: import("../../types").ResolvedPart;
|
|
10
|
+
path?: string[];
|
|
11
|
+
order?: number;
|
|
12
|
+
active?: string[];
|
|
13
|
+
companioned?: "primary" | "companion";
|
|
14
|
+
node?: import("@dxos/app-graph").Node;
|
|
15
|
+
primary?: import("@dxos/app-graph").Node;
|
|
16
|
+
companions?: import("@dxos/app-graph").Node[];
|
|
17
|
+
settings?: import("../../types").DeckSettingsProps;
|
|
18
|
+
}, "active" | "part" | "order" | "path" | "layoutMode" | "settings"> & {
|
|
19
|
+
id?: string;
|
|
20
|
+
companionId?: string;
|
|
21
|
+
}) => React.JSX.Element;
|
|
22
|
+
decorators: import("@storybook/react").Decorator[];
|
|
23
|
+
parameters: {
|
|
24
|
+
layout: string;
|
|
25
|
+
translations: [{
|
|
26
|
+
readonly 'en-US': {
|
|
27
|
+
readonly [meta.id]: {
|
|
28
|
+
readonly 'plugin name': "Deck";
|
|
29
|
+
readonly 'settings title': "Deck settings";
|
|
30
|
+
readonly 'main header label': "Main header";
|
|
31
|
+
readonly 'open navigation sidebar label': "Open sidebar";
|
|
32
|
+
readonly 'collapse navigation sidebar label': "Minimize sidebar";
|
|
33
|
+
readonly 'open complementary sidebar label': "Open context sidebar";
|
|
34
|
+
readonly 'close complementary sidebar label': "Minimize context sidebar";
|
|
35
|
+
readonly 'sidebar title': "Navigation sidebar";
|
|
36
|
+
readonly 'complementary sidebar title': "Context sidebar";
|
|
37
|
+
readonly 'plugin error message': "Content failed to render.";
|
|
38
|
+
readonly 'content fallback message': "Unsupported";
|
|
39
|
+
readonly 'content fallback description': "No plugin had a response for the address you navigated to. Double-check the URL, and ensure you’ve enabled a plugin that supports the object.";
|
|
40
|
+
readonly 'toggle fullscreen label': "Toggle fullscreen";
|
|
41
|
+
readonly 'settings show hints label': "Show hints";
|
|
42
|
+
readonly 'settings native redirect label': "Enable native url redirect (experimental)";
|
|
43
|
+
readonly 'settings new plank position start label': "Start";
|
|
44
|
+
readonly 'settings new plank position end label': "End";
|
|
45
|
+
readonly 'select new plank positioning placeholder': "Select new plank positioning";
|
|
46
|
+
readonly 'select new plank positioning label': "New plank positioning";
|
|
47
|
+
readonly 'undo available label': "Click to undo previous action.";
|
|
48
|
+
readonly 'undo action label': "Undo";
|
|
49
|
+
readonly 'undo action alt': "Undo previous action";
|
|
50
|
+
readonly 'undo close label': "Dismiss";
|
|
51
|
+
readonly 'error fallback message': "Unable to open this item";
|
|
52
|
+
readonly 'plank heading fallback label': "Untitled";
|
|
53
|
+
readonly 'actions menu label': "Options";
|
|
54
|
+
readonly 'settings deck label': "Disable deck";
|
|
55
|
+
readonly 'pending heading': "Loading…";
|
|
56
|
+
readonly 'insert plank label': "Open";
|
|
57
|
+
readonly 'resize label': "Drag to resize";
|
|
58
|
+
readonly 'pin start label': "Pin to the left sidebar";
|
|
59
|
+
readonly 'pin end label': "Pin to the right sidebar";
|
|
60
|
+
readonly 'increment start label': "Move to the left";
|
|
61
|
+
readonly 'increment end label': "Move to the right";
|
|
62
|
+
readonly 'show deck plank label': "Return to deck";
|
|
63
|
+
readonly 'show solo plank label': "Maximize";
|
|
64
|
+
readonly 'exit fullscreen label': "Exit fullscreen";
|
|
65
|
+
readonly 'show fullscreen plank label': "Fullscreen";
|
|
66
|
+
readonly 'close label': "Close";
|
|
67
|
+
readonly 'minify label': "Minify";
|
|
68
|
+
readonly 'open companion label': "Open companion";
|
|
69
|
+
readonly 'close companion label': "Close companion";
|
|
70
|
+
readonly 'settings overscroll label': "Plank scrolling";
|
|
71
|
+
readonly 'select overscroll placeholder': "Select plank scrolling behavior";
|
|
72
|
+
readonly 'settings overscroll centering label': "Centering";
|
|
73
|
+
readonly 'settings overscroll none label': "None";
|
|
74
|
+
readonly 'settings enable statusbar label': "Show status bar";
|
|
75
|
+
readonly 'settings enable deck label': "Enable Deck";
|
|
76
|
+
readonly 'settings encapsulated planks label': "Encapsulated planks";
|
|
77
|
+
readonly 'close current label': "Close current plank";
|
|
78
|
+
readonly 'close others label': "Close other planks";
|
|
79
|
+
readonly 'close all label': "Close all planks";
|
|
80
|
+
readonly 'companion plank heading fallback label': "Related";
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
}];
|
|
84
|
+
};
|
|
85
|
+
};
|
|
5
86
|
export default meta;
|
|
6
|
-
type Story = StoryObj<
|
|
87
|
+
type Story = StoryObj<typeof meta>;
|
|
7
88
|
export declare const Default: Story;
|
|
8
89
|
//# sourceMappingURL=Plank.stories.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Plank.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Plank/Plank.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,
|
|
1
|
+
{"version":3,"file":"Plank.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Plank/Plank.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAK,MAAM,OAAO,CAAC;AAc1B,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;yBAZyB,CAAQ,IAAI,CAAC,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiCrB,CAAC;AAE/B,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAGnC,eAAO,MAAM,OAAO,EAAE,KAMrB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PlankControls.d.ts","sourceRoot":"","sources":["../../../../../src/components/Plank/PlankControls.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAkC,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"PlankControls.d.ts","sourceRoot":"","sources":["../../../../../src/components/Plank/PlankControls.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAkC,MAAM,OAAO,CAAC;AAKvD,OAAO,EAAe,KAAK,gBAAgB,EAAgD,MAAM,gBAAgB,CAAC;AAGlH,OAAO,EAAE,UAAU,EAAE,KAAK,UAAU,EAAE,MAAM,aAAa,CAAC;AAE1D,MAAM,MAAM,mBAAmB,GAAG,CAAC,KAAK,EAAE,UAAU,CAAC,cAAc,KAAK,IAAI,CAAC;AAE7E,MAAM,MAAM,iBAAiB,GAAG;IAC9B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,IAAI,CAAC,gBAAgB,EAAE,SAAS,CAAC,GAAG;IACnE,OAAO,CAAC,EAAE,mBAAmB,CAAC;IAC9B,OAAO,CAAC,EAAE,eAAe,GAAG,SAAS,CAAC;IACtC,KAAK,CAAC,EAAE,OAAO,GAAG,cAAc,GAAG,YAAY,CAAC;IAChD,YAAY,EAAE,iBAAiB,CAAC;IAChC,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,GAAG,CAAC,EAAE,OAAO,GAAG,KAAK,GAAG,MAAM,CAAC;CAChC,CAAC;AAQF,KAAK,4BAA4B,GAAG;IAClC,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,sBAAsB,qGAoBlC,CAAC;AAKF,eAAO,MAAM,aAAa,wGAyGzB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PlankError.d.ts","sourceRoot":"","sources":["../../../../../src/components/Plank/PlankError.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"PlankError.d.ts","sourceRoot":"","sources":["../../../../../src/components/Plank/PlankError.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAM/C,OAAO,EAAgB,KAAK,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAGtE,eAAO,MAAM,iBAAiB,GAAI,WAAW;IAAE,KAAK,CAAC,EAAE,KAAK,CAAA;CAAE,sBAU7D,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,4BAKxB;IACD,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,iBAAiB,CAAC,MAAM,CAAC,CAAC;IAChC,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,KAAK,CAAC,EAAE,KAAK,CAAC;CACf,sBAWA,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { type Node } from '@dxos/plugin-graph';
|
|
3
3
|
import { type StackItemSigilAction } from '@dxos/react-ui-stack';
|
|
4
|
-
import { type
|
|
4
|
+
import { type LayoutMode, type ResolvedPart } from '../../types';
|
|
5
5
|
export type PlankHeadingProps = {
|
|
6
6
|
id: string;
|
|
7
7
|
part: ResolvedPart;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PlankHeading.d.ts","sourceRoot":"","sources":["../../../../../src/components/Plank/PlankHeading.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA2E,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"PlankHeading.d.ts","sourceRoot":"","sources":["../../../../../src/components/Plank/PlankHeading.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA2E,MAAM,OAAO,CAAC;AAIhG,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAE/C,OAAO,EAAa,KAAK,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAO5E,OAAO,EAAc,KAAK,UAAU,EAAwB,KAAK,YAAY,EAAE,MAAM,aAAa,CAAC;AAOnG,MAAM,MAAM,iBAAiB,GAAG;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,YAAY,CAAC;IACnB,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,WAAW,CAAC,EAAE,SAAS,GAAG,WAAW,CAAC;IACtC,UAAU,CAAC,EAAE,IAAI,EAAE,CAAC;IACpB,OAAO,CAAC,EAAE,oBAAoB,EAAE,CAAC;CAClC,CAAC;AAEF,eAAO,MAAM,YAAY,sLAepB,iBAAiB,uBAkLrB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ComplementarySidebar.d.ts","sourceRoot":"","sources":["../../../../../src/components/Sidebar/ComplementarySidebar.tsx"],"names":[],"mappings":"AAIA,OAAO,KAQN,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ComplementarySidebar.d.ts","sourceRoot":"","sources":["../../../../../src/components/Sidebar/ComplementarySidebar.tsx"],"names":[],"mappings":"AAIA,OAAO,KAQN,MAAM,OAAO,CAAC;AAmBf,MAAM,MAAM,yBAAyB,GAAG;IACtC,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAAI,aAAa,yBAAyB,sBAuH1E,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SidebarButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/Sidebar/SidebarButton.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAsB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"SidebarButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/Sidebar/SidebarButton.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAI3C,OAAO,EAAc,KAAK,eAAe,EAAE,KAAK,eAAe,EAAkB,MAAM,gBAAgB,CAAC;AAMxG,eAAO,MAAM,mBAAmB,GAAI,0BAGjC,eAAe,CAAC,IAAI,CAAC,eAAe,EAAE,SAAS,CAAC,CAAC,sBAgBnD,CAAC;AAEF,eAAO,MAAM,kBAAkB,yBAc9B,CAAC;AAEF,eAAO,MAAM,gCAAgC,GAAI,gCAI9C,eAAe,CAAC;IAAE,IAAI,CAAC,EAAE,OAAO,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,sBAgCvD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../../src/events.ts"],"names":[],"mappings":"AAQA,yBAAiB,UAAU,CAAC;IACnB,MAAM,UAAU,+
|
|
1
|
+
{"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../../src/events.ts"],"names":[],"mappings":"AAQA,yBAAiB,UAAU,CAAC;IACnB,MAAM,UAAU,+CAAoD,CAAC;CAC7E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useDeckCompanions.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useDeckCompanions.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,KAAK,
|
|
1
|
+
{"version":3,"file":"useDeckCompanions.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useDeckCompanions.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAEjD,OAAO,EAAE,KAAK,IAAI,EAA2B,MAAM,oBAAoB,CAAC;AACxE,OAAO,EAAE,KAAK,QAAQ,EAAc,MAAM,YAAY,CAAC;AAIvD,eAAO,MAAM,cAAc,GAAI,IAAI,MAAM,WAGxC,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG,IAAI,CAC9B,GAAG,EACH;IACE,KAAK,EAAE,KAAK,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IAEb,+DAA+D;IAC/D,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,QAAQ,CAAC,EAAE,QAAQ,CAAC;CACrB,CACF,CAAC;AAEF,eAAO,MAAM,iBAAiB,QAAO,aAAa,EAKjD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useHoistStatusbar.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useHoistStatusbar.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useHoistStatusbar.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useHoistStatusbar.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAqB,UAAU,EAAE,MAAM,UAAU,CAAC;AAE9D,eAAO,MAAM,iBAAiB,GAAI,YAAY,MAAM,EAAE,aAAa,UAAU,KAAG,OAa/E,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useNodeActionExpander.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useNodeActionExpander.ts"],"names":[],"mappings":"AAMA,OAAO,
|
|
1
|
+
{"version":3,"file":"useNodeActionExpander.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useNodeActionExpander.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,IAAI,EAAY,MAAM,oBAAoB,CAAC;AAEzD,eAAO,MAAM,qBAAqB,GAAI,OAAO,IAAI,SAUhD,CAAC"}
|
package/dist/types/src/meta.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../../src/meta.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../../src/meta.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAGtD,eAAO,MAAM,IAAI,EAAE,UAQlB,CAAC"}
|
|
@@ -3,6 +3,7 @@ export declare const translations: [{
|
|
|
3
3
|
readonly 'en-US': {
|
|
4
4
|
readonly [meta.id]: {
|
|
5
5
|
readonly 'plugin name': "Deck";
|
|
6
|
+
readonly 'settings title': "Deck settings";
|
|
6
7
|
readonly 'main header label': "Main header";
|
|
7
8
|
readonly 'open navigation sidebar label': "Open sidebar";
|
|
8
9
|
readonly 'collapse navigation sidebar label': "Minimize sidebar";
|
|
@@ -49,6 +50,7 @@ export declare const translations: [{
|
|
|
49
50
|
readonly 'settings overscroll none label': "None";
|
|
50
51
|
readonly 'settings enable statusbar label': "Show status bar";
|
|
51
52
|
readonly 'settings enable deck label': "Enable Deck";
|
|
53
|
+
readonly 'settings encapsulated planks label': "Encapsulated planks";
|
|
52
54
|
readonly 'close current label': "Close current plank";
|
|
53
55
|
readonly 'close others label': "Close other planks";
|
|
54
56
|
readonly 'close all label': "Close all planks";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../src/translations.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,eAAO,MAAM,YAAY;;QAGnB,SAAA,CAAC,IAAI,CAAC,EAAE,CAAC
|
|
1
|
+
{"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../src/translations.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,eAAO,MAAM,YAAY;;QAGnB,SAAA,CAAC,IAAI,CAAC,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAuDR;;EAGwB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/types/index.ts"],"names":[],"mappings":"AAIA,cAAc,UAAU,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import
|
|
1
|
+
import * as Schema from 'effect/Schema';
|
|
2
2
|
import { type DeepReadonly } from '@dxos/util';
|
|
3
3
|
export { ATTENDABLE_PATH_SEPARATOR } from '@dxos/react-ui-attention';
|
|
4
|
-
export declare const PLANK_COMPANION_TYPE
|
|
5
|
-
export declare const DECK_COMPANION_TYPE
|
|
4
|
+
export declare const PLANK_COMPANION_TYPE: string;
|
|
5
|
+
export declare const DECK_COMPANION_TYPE: string;
|
|
6
6
|
export declare const NewPlankPositions: readonly ["start", "end"];
|
|
7
7
|
export type NewPlankPositioning = (typeof NewPlankPositions)[number];
|
|
8
8
|
export declare const OverscrollOptions: readonly ["none", "centering"];
|
|
@@ -16,6 +16,7 @@ export declare const DeckSettingsSchema: Schema.mutable<Schema.Struct<{
|
|
|
16
16
|
enableNativeRedirect: Schema.optional<typeof Schema.Boolean>;
|
|
17
17
|
newPlankPositioning: Schema.optional<Schema.Literal<["start", "end"]>>;
|
|
18
18
|
overscroll: Schema.optional<Schema.Literal<["none", "centering"]>>;
|
|
19
|
+
encapsulatedPlanks: Schema.optional<typeof Schema.Boolean>;
|
|
19
20
|
}>>;
|
|
20
21
|
export type DeckSettingsProps = Schema.Schema.Type<typeof DeckSettingsSchema>;
|
|
21
22
|
export declare const PlankSizing: Schema.Record$<typeof Schema.String, typeof Schema.Number>;
|
|
@@ -115,7 +116,6 @@ export declare const DeckPluginState: Schema.mutable<Schema.Struct<{
|
|
|
115
116
|
scrollIntoView: Schema.optional<typeof Schema.String>;
|
|
116
117
|
}>>;
|
|
117
118
|
export type DeckPluginState = Schema.Schema.Type<typeof DeckPluginState>;
|
|
118
|
-
export declare const DECK_ACTION: string;
|
|
119
119
|
export declare namespace DeckAction {
|
|
120
120
|
const PartAdjustmentSchema: Schema.Union<[Schema.Literal<["close"]>, Schema.Literal<["companion"]>, Schema.Literal<["solo"]>, Schema.Literal<["solo--fullscreen"]>, Schema.Literal<["increment-start"]>, Schema.Literal<["increment-end"]>]>;
|
|
121
121
|
export type PartAdjustment = Schema.Schema.Type<typeof PartAdjustmentSchema>;
|
|
@@ -124,8 +124,8 @@ export declare namespace DeckAction {
|
|
|
124
124
|
type: Schema.Union<[Schema.Literal<["close"]>, Schema.Literal<["companion"]>, Schema.Literal<["solo"]>, Schema.Literal<["solo--fullscreen"]>, Schema.Literal<["increment-start"]>, Schema.Literal<["increment-end"]>]>;
|
|
125
125
|
}>>;
|
|
126
126
|
export type Adjustment = Schema.Schema.Type<typeof Adjustment>;
|
|
127
|
-
const Adjust_base: Schema.TaggedClass<Adjust, `${string}/adjust`, {
|
|
128
|
-
readonly _tag: Schema.tag<`${string}/adjust`>;
|
|
127
|
+
const Adjust_base: Schema.TaggedClass<Adjust, `${string}/action/adjust`, {
|
|
128
|
+
readonly _tag: Schema.tag<`${string}/action/adjust`>;
|
|
129
129
|
} & {
|
|
130
130
|
input: Schema.mutable<Schema.Struct<{
|
|
131
131
|
id: typeof Schema.String;
|
|
@@ -135,8 +135,8 @@ export declare namespace DeckAction {
|
|
|
135
135
|
}>;
|
|
136
136
|
export class Adjust extends Adjust_base {
|
|
137
137
|
}
|
|
138
|
-
const UpdatePlankSize_base: Schema.TaggedClass<UpdatePlankSize, `${string}/update-plank-size`, {
|
|
139
|
-
readonly _tag: Schema.tag<`${string}/update-plank-size`>;
|
|
138
|
+
const UpdatePlankSize_base: Schema.TaggedClass<UpdatePlankSize, `${string}/action/update-plank-size`, {
|
|
139
|
+
readonly _tag: Schema.tag<`${string}/action/update-plank-size`>;
|
|
140
140
|
} & {
|
|
141
141
|
input: Schema.Struct<{
|
|
142
142
|
id: typeof Schema.String;
|
|
@@ -146,8 +146,8 @@ export declare namespace DeckAction {
|
|
|
146
146
|
}>;
|
|
147
147
|
export class UpdatePlankSize extends UpdatePlankSize_base {
|
|
148
148
|
}
|
|
149
|
-
const ChangeCompanion_base: Schema.TaggedClass<ChangeCompanion, `${string}/change-companion`, {
|
|
150
|
-
readonly _tag: Schema.tag<`${string}/change-companion`>;
|
|
149
|
+
const ChangeCompanion_base: Schema.TaggedClass<ChangeCompanion, `${string}/action/change-companion`, {
|
|
150
|
+
readonly _tag: Schema.tag<`${string}/action/change-companion`>;
|
|
151
151
|
} & {
|
|
152
152
|
input: Schema.Struct<{
|
|
153
153
|
primary: typeof Schema.String;
|
|
@@ -159,4 +159,4 @@ export declare namespace DeckAction {
|
|
|
159
159
|
}
|
|
160
160
|
export {};
|
|
161
161
|
}
|
|
162
|
-
//# sourceMappingURL=
|
|
162
|
+
//# sourceMappingURL=schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/types/schema.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAI/C,OAAO,EAAE,yBAAyB,EAAE,MAAM,0BAA0B,CAAC;AAErE,eAAO,MAAM,oBAAoB,QAA+B,CAAC;AACjE,eAAO,MAAM,mBAAmB,QAA8B,CAAC;AAG/D,eAAO,MAAM,iBAAiB,2BAA4B,CAAC;AAC3D,MAAM,MAAM,mBAAmB,GAAG,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,CAAC,CAAC;AAErE,eAAO,MAAM,iBAAiB,gCAAiC,CAAC;AAChE,MAAM,MAAM,UAAU,GAAG,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,CAAC,CAAC;AAE5D,MAAM,MAAM,IAAI,GAAG,MAAM,GAAG,MAAM,GAAG,eAAe,CAAC;AACrD,MAAM,MAAM,YAAY,GAAG,IAAI,GAAG,cAAc,GAAG,gBAAgB,CAAC;AAEpE,eAAO,MAAM,kBAAkB;;;;;;;;GASR,CAAC;AACxB,MAAM,MAAM,iBAAiB,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAE9E,eAAO,MAAM,WAAW,4DAA8D,CAAC;AACvF,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,WAAW,CAAC,CAAC;AAGjE,eAAO,MAAM,SAAS;IACpB,qFAAqF;;;;;;;;;EAUrF,CAAC;AACH,MAAM,MAAM,SAAS,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,SAAS,CAAC,CAAC;AAE7D,eAAO,MAAM,WAAW,EAAE,SASzB,CAAC;AAEF,QAAA,MAAM,UAAU,sDAAqD,CAAC;AACtE,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,UAAU,CAAC,CAAC;AAC/D,eAAO,MAAM,YAAY,GAAI,OAAO,GAAG,KAAG,KAAK,IAAI,UAA0C,CAAC;AAE9F,eAAO,MAAM,OAAO,GAAI,MAAM,SAAS,GAAG,YAAY,CAAC,SAAS,CAAC,KAAG,UAMnE,CAAC;AAGF,eAAO,MAAM,eAAe;;;;;;;;;IAU1B,+CAA+C;;;;;;IAO/C,gDAAgD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAtDhD,qFAAqF;;;;;;;;;;;;QAArF,qFAAqF;;;;;;;;;;IAkErF,4EAA4E;;GAEvD,CAAC;AAExB,MAAM,MAAM,eAAe,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,eAAe,CAAC,CAAC;AAEzE,yBAAiB,UAAU,CAAC;IAC1B,MAAM,oBAAoB,kNAOzB,CAAC;IACF,MAAM,MAAM,cAAc,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,oBAAoB,CAAC,CAAC;IAC7E,MAAM,CAAC,MAAM,UAAU;;;OAAmF,CAAC;IAC3G,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,UAAU,CAAC,CAAC;;;;;;;;;;IAG/D,MAAM,OAAO,MAAO,SAAQ,WAG1B;KAAG;;;;;;;;;;IAEL,MAAM,OAAO,eAAgB,SAAQ,oBAMnC;KAAG;;;;;;;;;;IAEL,MAAM,OAAO,eAAgB,SAAQ,oBAMnC;KAAG;;CACN"}
|