@dxos/plugin-observability 0.8.2-main.f081794 → 0.8.2-main.fbd8ed0
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-3ROXVPV2.mjs +43 -0
- package/dist/lib/browser/app-graph-builder-3ROXVPV2.mjs.map +7 -0
- package/dist/lib/browser/{chunk-DWLES54T.mjs → chunk-LIQQMROG.mjs} +5 -5
- package/dist/lib/browser/{chunk-DWLES54T.mjs.map → chunk-LIQQMROG.mjs.map} +3 -3
- package/dist/lib/browser/chunk-VJOTUVP6.mjs +179 -0
- package/dist/lib/browser/chunk-VJOTUVP6.mjs.map +7 -0
- package/dist/lib/browser/{client-ready-LRY24QM5.mjs → client-ready-SPQ37TSN.mjs} +6 -6
- package/dist/lib/browser/client-ready-SPQ37TSN.mjs.map +7 -0
- package/dist/lib/browser/index.mjs +7 -7
- package/dist/lib/browser/{intent-resolver-ZKNJCLDV.mjs → intent-resolver-WIABW2ED.mjs} +7 -7
- package/dist/lib/browser/intent-resolver-WIABW2ED.mjs.map +7 -0
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/{react-surface-QMP4YECT.mjs → react-surface-KCDNYTFB.mjs} +3 -3
- package/dist/lib/browser/{settings-V5C5V5EJ.mjs → settings-GNURBGMS.mjs} +3 -3
- package/dist/lib/browser/types.mjs +1 -1
- package/dist/lib/node/{app-graph-builder-JPUTX4LQ.cjs → app-graph-builder-EXZP366Q.cjs} +28 -25
- package/dist/lib/node/app-graph-builder-EXZP366Q.cjs.map +7 -0
- package/dist/lib/node/{chunk-HF4SL56O.cjs → chunk-53PICBRX.cjs} +11 -11
- package/dist/lib/node/{chunk-HF4SL56O.cjs.map → chunk-53PICBRX.cjs.map} +3 -3
- package/dist/lib/node/chunk-BPWXRLLR.cjs +199 -0
- package/dist/lib/node/chunk-BPWXRLLR.cjs.map +7 -0
- package/dist/lib/node/{client-ready-KHGLQOQZ.cjs → client-ready-ZWYA3DIS.cjs} +10 -10
- package/dist/lib/node/client-ready-ZWYA3DIS.cjs.map +7 -0
- package/dist/lib/node/index.cjs +11 -11
- package/dist/lib/node/{intent-resolver-5SANBSGX.cjs → intent-resolver-RFEYBIAO.cjs} +13 -13
- package/dist/lib/node/intent-resolver-RFEYBIAO.cjs.map +7 -0
- package/dist/lib/node/meta.json +1 -1
- package/dist/lib/node/{react-surface-O6M5TFVP.cjs → react-surface-OO2LWKVU.cjs} +8 -8
- package/dist/lib/node/{settings-CWIX7OVJ.cjs → settings-4JLLQAVK.cjs} +7 -7
- package/dist/lib/node/types.cjs +3 -3
- package/dist/lib/node/types.cjs.map +1 -1
- package/dist/lib/node-esm/app-graph-builder-T7J46NSQ.mjs +44 -0
- package/dist/lib/node-esm/app-graph-builder-T7J46NSQ.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-QBN3AIYD.mjs +180 -0
- package/dist/lib/node-esm/chunk-QBN3AIYD.mjs.map +7 -0
- package/dist/lib/node-esm/{chunk-Z22V3GLC.mjs → chunk-UBJECDGC.mjs} +5 -5
- package/dist/lib/node-esm/{chunk-Z22V3GLC.mjs.map → chunk-UBJECDGC.mjs.map} +3 -3
- package/dist/lib/node-esm/{client-ready-4BUMAISA.mjs → client-ready-TPMUYLT3.mjs} +6 -6
- package/dist/lib/node-esm/client-ready-TPMUYLT3.mjs.map +7 -0
- package/dist/lib/node-esm/index.mjs +7 -7
- package/dist/lib/node-esm/{intent-resolver-5EFEXLWX.mjs → intent-resolver-BLGADJN2.mjs} +7 -7
- package/dist/lib/node-esm/intent-resolver-BLGADJN2.mjs.map +7 -0
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/lib/node-esm/{react-surface-JP4SJGWP.mjs → react-surface-7MITMWY2.mjs} +3 -3
- package/dist/lib/node-esm/{settings-ZOKCFJET.mjs → settings-VK3GEOYK.mjs} +3 -3
- package/dist/lib/node-esm/types.mjs +1 -1
- package/dist/types/src/ObservabilityPlugin.d.ts.map +1 -1
- package/dist/types/src/capabilities/app-graph-builder.d.ts +2 -179
- package/dist/types/src/capabilities/app-graph-builder.d.ts.map +1 -1
- package/dist/types/src/capabilities/client-ready.d.ts +2 -2
- package/dist/types/src/capabilities/client-ready.d.ts.map +1 -1
- package/dist/types/src/capabilities/index.d.ts +3 -179
- package/dist/types/src/capabilities/index.d.ts.map +1 -1
- package/dist/types/src/capabilities/intent-resolver.d.ts +2 -2
- package/dist/types/src/capabilities/intent-resolver.d.ts.map +1 -1
- package/dist/types/src/capabilities/state.d.ts.map +1 -1
- package/dist/types/src/components/FeedbackForm.d.ts.map +1 -1
- package/dist/types/src/components/ObservabilitySettings.d.ts +4 -4
- package/dist/types/src/components/ObservabilitySettings.d.ts.map +1 -1
- package/dist/types/src/types.d.ts +241 -145
- package/dist/types/src/types.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +29 -23
- package/src/capabilities/app-graph-builder.ts +29 -17
- package/src/capabilities/client-ready.ts +6 -6
- package/src/capabilities/intent-resolver.ts +7 -7
- package/src/components/ObservabilitySettings.tsx +5 -5
- package/src/types.ts +128 -126
- package/dist/lib/browser/app-graph-builder-OCAR3KUZ.mjs +0 -40
- package/dist/lib/browser/app-graph-builder-OCAR3KUZ.mjs.map +0 -7
- package/dist/lib/browser/chunk-RI4RE346.mjs +0 -178
- package/dist/lib/browser/chunk-RI4RE346.mjs.map +0 -7
- package/dist/lib/browser/client-ready-LRY24QM5.mjs.map +0 -7
- package/dist/lib/browser/intent-resolver-ZKNJCLDV.mjs.map +0 -7
- package/dist/lib/node/app-graph-builder-JPUTX4LQ.cjs.map +0 -7
- package/dist/lib/node/chunk-V4ZLLL5M.cjs +0 -198
- package/dist/lib/node/chunk-V4ZLLL5M.cjs.map +0 -7
- package/dist/lib/node/client-ready-KHGLQOQZ.cjs.map +0 -7
- package/dist/lib/node/intent-resolver-5SANBSGX.cjs.map +0 -7
- package/dist/lib/node-esm/app-graph-builder-RKURIIFT.mjs +0 -41
- package/dist/lib/node-esm/app-graph-builder-RKURIIFT.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-M3MGU3DN.mjs +0 -179
- package/dist/lib/node-esm/chunk-M3MGU3DN.mjs.map +0 -7
- package/dist/lib/node-esm/client-ready-4BUMAISA.mjs.map +0 -7
- package/dist/lib/node-esm/intent-resolver-5EFEXLWX.mjs.map +0 -7
- /package/dist/lib/browser/{react-surface-QMP4YECT.mjs.map → react-surface-KCDNYTFB.mjs.map} +0 -0
- /package/dist/lib/browser/{settings-V5C5V5EJ.mjs.map → settings-GNURBGMS.mjs.map} +0 -0
- /package/dist/lib/node/{react-surface-O6M5TFVP.cjs.map → react-surface-OO2LWKVU.cjs.map} +0 -0
- /package/dist/lib/node/{settings-CWIX7OVJ.cjs.map → settings-4JLLQAVK.cjs.map} +0 -0
- /package/dist/lib/node-esm/{react-surface-JP4SJGWP.mjs.map → react-surface-7MITMWY2.mjs.map} +0 -0
- /package/dist/lib/node-esm/{settings-ZOKCFJET.mjs.map → settings-VK3GEOYK.mjs.map} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"inputs":{"packages/plugins/plugin-observability/src/meta.ts":{"bytes":1128,"imports":[],"format":"esm"},"packages/plugins/plugin-observability/src/capabilities/capabilities.ts":{"bytes":2554,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-observability/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-observability/src/capabilities/app-graph-builder.ts":{"bytes":4347,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-observability/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-observability/src/types.ts":{"bytes":20171,"imports":[{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-observability/src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"packages/plugins/plugin-observability/src/capabilities/client-ready.ts":{"bytes":13804,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/observability","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-observability/src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/plugins/plugin-observability/src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"packages/plugins/plugin-observability/src/types.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"packages/plugins/plugin-observability/src/capabilities/intent-resolver.ts":{"bytes":10124,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/observability","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-observability/src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/plugins/plugin-observability/src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"packages/plugins/plugin-observability/src/types.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"packages/plugins/plugin-observability/src/components/FeedbackForm.tsx":{"bytes":9757,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-observability/src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"packages/plugins/plugin-observability/src/types.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"packages/plugins/plugin-observability/src/components/HelpContainer.tsx":{"bytes":5436,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-observability/src/components/FeedbackForm.tsx","kind":"import-statement","original":"./FeedbackForm"},{"path":"packages/plugins/plugin-observability/src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"packages/plugins/plugin-observability/src/types.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"packages/plugins/plugin-observability/src/components/ObservabilitySettings.tsx":{"bytes":5368,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-observability/src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"packages/plugins/plugin-observability/src/types.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"packages/plugins/plugin-observability/src/components/index.ts":{"bytes":758,"imports":[{"path":"packages/plugins/plugin-observability/src/components/FeedbackForm.tsx","kind":"import-statement","original":"./FeedbackForm"},{"path":"packages/plugins/plugin-observability/src/components/HelpContainer.tsx","kind":"import-statement","original":"./HelpContainer"},{"path":"packages/plugins/plugin-observability/src/components/ObservabilitySettings.tsx","kind":"import-statement","original":"./ObservabilitySettings"}],"format":"esm"},"packages/plugins/plugin-observability/src/capabilities/react-surface.tsx":{"bytes":3650,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/local-storage","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-observability/src/components/index.ts","kind":"import-statement","original":"../components"},{"path":"packages/plugins/plugin-observability/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-observability/src/capabilities/settings.ts":{"bytes":2168,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-observability/src/components/index.ts","kind":"import-statement","original":"../components"},{"path":"packages/plugins/plugin-observability/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-observability/src/capabilities/state.ts":{"bytes":3153,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/local-storage","kind":"import-statement","external":true},{"path":"@dxos/observability","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-observability/src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/plugins/plugin-observability/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-observability/src/capabilities/index.ts":{"bytes":2211,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-observability/src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/plugins/plugin-observability/src/capabilities/app-graph-builder.ts","kind":"dynamic-import","original":"./app-graph-builder"},{"path":"packages/plugins/plugin-observability/src/capabilities/client-ready.ts","kind":"dynamic-import","original":"./client-ready"},{"path":"packages/plugins/plugin-observability/src/capabilities/intent-resolver.ts","kind":"dynamic-import","original":"./intent-resolver"},{"path":"packages/plugins/plugin-observability/src/capabilities/react-surface.tsx","kind":"dynamic-import","original":"./react-surface"},{"path":"packages/plugins/plugin-observability/src/capabilities/settings.ts","kind":"dynamic-import","original":"./settings"},{"path":"packages/plugins/plugin-observability/src/capabilities/state.ts","kind":"dynamic-import","original":"./state"}],"format":"esm"},"packages/plugins/plugin-observability/src/events.ts":{"bytes":1845,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-observability/src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"packages/plugins/plugin-observability/src/translations.ts":{"bytes":4530,"imports":[{"path":"packages/plugins/plugin-observability/src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"packages/plugins/plugin-observability/src/ObservabilityPlugin.ts":{"bytes":9048,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-observability/src/capabilities/index.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/plugins/plugin-observability/src/events.ts","kind":"import-statement","original":"./events"},{"path":"packages/plugins/plugin-observability/src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"packages/plugins/plugin-observability/src/translations.ts","kind":"import-statement","original":"./translations"}],"format":"esm"},"packages/plugins/plugin-observability/src/index.ts":{"bytes":1114,"imports":[{"path":"packages/plugins/plugin-observability/src/capabilities/index.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/plugins/plugin-observability/src/events.ts","kind":"import-statement","original":"./events"},{"path":"packages/plugins/plugin-observability/src/components/index.ts","kind":"import-statement","original":"./components"},{"path":"packages/plugins/plugin-observability/src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"packages/plugins/plugin-observability/src/ObservabilityPlugin.ts","kind":"import-statement","original":"./ObservabilityPlugin"}],"format":"esm"}},"outputs":{"packages/plugins/plugin-observability/dist/lib/browser/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":7958},"packages/plugins/plugin-observability/dist/lib/browser/index.mjs":{"imports":[{"path":"packages/plugins/plugin-observability/dist/lib/browser/chunk-DWLES54T.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-observability/dist/lib/browser/chunk-RI4RE346.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-observability/dist/lib/browser/chunk-ECWB7E2O.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-observability/dist/lib/browser/chunk-RKH5BBR4.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-observability/dist/lib/browser/app-graph-builder-OCAR3KUZ.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-observability/dist/lib/browser/client-ready-LRY24QM5.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-observability/dist/lib/browser/intent-resolver-ZKNJCLDV.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-observability/dist/lib/browser/react-surface-QMP4YECT.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-observability/dist/lib/browser/settings-V5C5V5EJ.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-observability/dist/lib/browser/state-GHBXMIQI.mjs","kind":"dynamic-import"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true}],"exports":["FeedbackForm","HelpContainer","OBSERVABILITY_PLUGIN","ObservabilityCapabilities","ObservabilityEvents","ObservabilityPlugin","ObservabilitySettings","ObservabilitySettingsSchema","meta"],"entryPoint":"packages/plugins/plugin-observability/src/index.ts","inputs":{"packages/plugins/plugin-observability/src/capabilities/index.ts":{"bytesInOutput":482},"packages/plugins/plugin-observability/src/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-observability/src/events.ts":{"bytesInOutput":337},"packages/plugins/plugin-observability/src/ObservabilityPlugin.ts":{"bytesInOutput":1831},"packages/plugins/plugin-observability/src/translations.ts":{"bytesInOutput":1427}},"bytes":4941},"packages/plugins/plugin-observability/dist/lib/browser/types.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/plugins/plugin-observability/dist/lib/browser/types.mjs":{"imports":[{"path":"packages/plugins/plugin-observability/dist/lib/browser/chunk-RI4RE346.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-observability/dist/lib/browser/chunk-RKH5BBR4.mjs","kind":"import-statement"}],"exports":["ObservabilityAction","UserFeedback"],"entryPoint":"packages/plugins/plugin-observability/src/types.ts","inputs":{},"bytes":194},"packages/plugins/plugin-observability/dist/lib/browser/app-graph-builder-OCAR3KUZ.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1974},"packages/plugins/plugin-observability/dist/lib/browser/app-graph-builder-OCAR3KUZ.mjs":{"imports":[{"path":"packages/plugins/plugin-observability/dist/lib/browser/chunk-RKH5BBR4.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-observability/src/capabilities/app-graph-builder.ts","inputs":{"packages/plugins/plugin-observability/src/capabilities/app-graph-builder.ts":{"bytesInOutput":881}},"bytes":1131},"packages/plugins/plugin-observability/dist/lib/browser/client-ready-LRY24QM5.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":6746},"packages/plugins/plugin-observability/dist/lib/browser/client-ready-LRY24QM5.mjs":{"imports":[{"path":"packages/plugins/plugin-observability/dist/lib/browser/chunk-RI4RE346.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-observability/dist/lib/browser/chunk-ECWB7E2O.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-observability/dist/lib/browser/chunk-RKH5BBR4.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/observability","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-observability/src/capabilities/client-ready.ts","inputs":{"packages/plugins/plugin-observability/src/capabilities/client-ready.ts":{"bytesInOutput":3255}},"bytes":3640},"packages/plugins/plugin-observability/dist/lib/browser/intent-resolver-ZKNJCLDV.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":4943},"packages/plugins/plugin-observability/dist/lib/browser/intent-resolver-ZKNJCLDV.mjs":{"imports":[{"path":"packages/plugins/plugin-observability/dist/lib/browser/chunk-RI4RE346.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-observability/dist/lib/browser/chunk-ECWB7E2O.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-observability/dist/lib/browser/chunk-RKH5BBR4.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/observability","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-observability/src/capabilities/intent-resolver.ts","inputs":{"packages/plugins/plugin-observability/src/capabilities/intent-resolver.ts":{"bytesInOutput":2254}},"bytes":2648},"packages/plugins/plugin-observability/dist/lib/browser/react-surface-QMP4YECT.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1816},"packages/plugins/plugin-observability/dist/lib/browser/react-surface-QMP4YECT.mjs":{"imports":[{"path":"packages/plugins/plugin-observability/dist/lib/browser/chunk-DWLES54T.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-observability/dist/lib/browser/chunk-RI4RE346.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-observability/dist/lib/browser/chunk-RKH5BBR4.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/local-storage","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-observability/src/capabilities/react-surface.tsx","inputs":{"packages/plugins/plugin-observability/src/capabilities/react-surface.tsx":{"bytesInOutput":738}},"bytes":1089},"packages/plugins/plugin-observability/dist/lib/browser/settings-V5C5V5EJ.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1077},"packages/plugins/plugin-observability/dist/lib/browser/settings-V5C5V5EJ.mjs":{"imports":[{"path":"packages/plugins/plugin-observability/dist/lib/browser/chunk-DWLES54T.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-observability/dist/lib/browser/chunk-RI4RE346.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-observability/dist/lib/browser/chunk-RKH5BBR4.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-observability/src/capabilities/settings.ts","inputs":{"packages/plugins/plugin-observability/src/capabilities/settings.ts":{"bytesInOutput":338}},"bytes":662},"packages/plugins/plugin-observability/dist/lib/browser/chunk-DWLES54T.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":10629},"packages/plugins/plugin-observability/dist/lib/browser/chunk-DWLES54T.mjs":{"imports":[{"path":"packages/plugins/plugin-observability/dist/lib/browser/chunk-RI4RE346.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-observability/dist/lib/browser/chunk-RKH5BBR4.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true}],"exports":["FeedbackForm","HelpContainer","ObservabilitySettings","ObservabilitySettingsSchema"],"inputs":{"packages/plugins/plugin-observability/src/components/FeedbackForm.tsx":{"bytesInOutput":2442},"packages/plugins/plugin-observability/src/components/HelpContainer.tsx":{"bytesInOutput":1159},"packages/plugins/plugin-observability/src/components/ObservabilitySettings.tsx":{"bytesInOutput":1195},"packages/plugins/plugin-observability/src/components/index.ts":{"bytesInOutput":0}},"bytes":5314},"packages/plugins/plugin-observability/dist/lib/browser/chunk-RI4RE346.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":10176},"packages/plugins/plugin-observability/dist/lib/browser/chunk-RI4RE346.mjs":{"imports":[{"path":"packages/plugins/plugin-observability/dist/lib/browser/chunk-RKH5BBR4.mjs","kind":"import-statement"},{"path":"@dxos/echo-schema","kind":"import-statement","external":true}],"exports":["ObservabilityAction","UserFeedback"],"inputs":{"packages/plugins/plugin-observability/src/types.ts":{"bytesInOutput":4712}},"bytes":4925},"packages/plugins/plugin-observability/dist/lib/browser/state-GHBXMIQI.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1586},"packages/plugins/plugin-observability/dist/lib/browser/state-GHBXMIQI.mjs":{"imports":[{"path":"packages/plugins/plugin-observability/dist/lib/browser/chunk-ECWB7E2O.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-observability/dist/lib/browser/chunk-RKH5BBR4.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/local-storage","kind":"import-statement","external":true},{"path":"@dxos/observability","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-observability/src/capabilities/state.ts","inputs":{"packages/plugins/plugin-observability/src/capabilities/state.ts":{"bytesInOutput":544}},"bytes":826},"packages/plugins/plugin-observability/dist/lib/browser/chunk-ECWB7E2O.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1242},"packages/plugins/plugin-observability/dist/lib/browser/chunk-ECWB7E2O.mjs":{"imports":[{"path":"packages/plugins/plugin-observability/dist/lib/browser/chunk-RKH5BBR4.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true}],"exports":["ClientCapability","ObservabilityCapabilities"],"inputs":{"packages/plugins/plugin-observability/src/capabilities/capabilities.ts":{"bytesInOutput":493}},"bytes":736},"packages/plugins/plugin-observability/dist/lib/browser/chunk-RKH5BBR4.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":533},"packages/plugins/plugin-observability/dist/lib/browser/chunk-RKH5BBR4.mjs":{"imports":[],"exports":["OBSERVABILITY_PLUGIN","meta"],"inputs":{"packages/plugins/plugin-observability/src/meta.ts":{"bytesInOutput":152}},"bytes":293}}}
|
|
1
|
+
{"inputs":{"packages/plugins/plugin-observability/src/meta.ts":{"bytes":1128,"imports":[],"format":"esm"},"packages/plugins/plugin-observability/src/capabilities/capabilities.ts":{"bytes":2554,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-observability/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-observability/src/capabilities/app-graph-builder.ts":{"bytes":5741,"imports":[{"path":"@effect-rx/rx-react","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-observability/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-observability/src/types.ts":{"bytes":21808,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-observability/src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"packages/plugins/plugin-observability/src/capabilities/client-ready.ts":{"bytes":13748,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/observability","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-observability/src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/plugins/plugin-observability/src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"packages/plugins/plugin-observability/src/types.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"packages/plugins/plugin-observability/src/capabilities/intent-resolver.ts":{"bytes":10056,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/observability","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-observability/src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/plugins/plugin-observability/src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"packages/plugins/plugin-observability/src/types.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"packages/plugins/plugin-observability/src/components/FeedbackForm.tsx":{"bytes":9757,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-observability/src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"packages/plugins/plugin-observability/src/types.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"packages/plugins/plugin-observability/src/components/HelpContainer.tsx":{"bytes":5436,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-observability/src/components/FeedbackForm.tsx","kind":"import-statement","original":"./FeedbackForm"},{"path":"packages/plugins/plugin-observability/src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"packages/plugins/plugin-observability/src/types.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"packages/plugins/plugin-observability/src/components/ObservabilitySettings.tsx":{"bytes":5401,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-observability/src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"packages/plugins/plugin-observability/src/types.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"packages/plugins/plugin-observability/src/components/index.ts":{"bytes":758,"imports":[{"path":"packages/plugins/plugin-observability/src/components/FeedbackForm.tsx","kind":"import-statement","original":"./FeedbackForm"},{"path":"packages/plugins/plugin-observability/src/components/HelpContainer.tsx","kind":"import-statement","original":"./HelpContainer"},{"path":"packages/plugins/plugin-observability/src/components/ObservabilitySettings.tsx","kind":"import-statement","original":"./ObservabilitySettings"}],"format":"esm"},"packages/plugins/plugin-observability/src/capabilities/react-surface.tsx":{"bytes":3650,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/local-storage","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-observability/src/components/index.ts","kind":"import-statement","original":"../components"},{"path":"packages/plugins/plugin-observability/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-observability/src/capabilities/settings.ts":{"bytes":2168,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-observability/src/components/index.ts","kind":"import-statement","original":"../components"},{"path":"packages/plugins/plugin-observability/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-observability/src/capabilities/state.ts":{"bytes":3153,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/local-storage","kind":"import-statement","external":true},{"path":"@dxos/observability","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-observability/src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/plugins/plugin-observability/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-observability/src/capabilities/index.ts":{"bytes":2211,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-observability/src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/plugins/plugin-observability/src/capabilities/app-graph-builder.ts","kind":"dynamic-import","original":"./app-graph-builder"},{"path":"packages/plugins/plugin-observability/src/capabilities/client-ready.ts","kind":"dynamic-import","original":"./client-ready"},{"path":"packages/plugins/plugin-observability/src/capabilities/intent-resolver.ts","kind":"dynamic-import","original":"./intent-resolver"},{"path":"packages/plugins/plugin-observability/src/capabilities/react-surface.tsx","kind":"dynamic-import","original":"./react-surface"},{"path":"packages/plugins/plugin-observability/src/capabilities/settings.ts","kind":"dynamic-import","original":"./settings"},{"path":"packages/plugins/plugin-observability/src/capabilities/state.ts","kind":"dynamic-import","original":"./state"}],"format":"esm"},"packages/plugins/plugin-observability/src/events.ts":{"bytes":1845,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-observability/src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"packages/plugins/plugin-observability/src/translations.ts":{"bytes":4530,"imports":[{"path":"packages/plugins/plugin-observability/src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"packages/plugins/plugin-observability/src/ObservabilityPlugin.ts":{"bytes":9048,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-observability/src/capabilities/index.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/plugins/plugin-observability/src/events.ts","kind":"import-statement","original":"./events"},{"path":"packages/plugins/plugin-observability/src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"packages/plugins/plugin-observability/src/translations.ts","kind":"import-statement","original":"./translations"}],"format":"esm"},"packages/plugins/plugin-observability/src/index.ts":{"bytes":1114,"imports":[{"path":"packages/plugins/plugin-observability/src/capabilities/index.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/plugins/plugin-observability/src/events.ts","kind":"import-statement","original":"./events"},{"path":"packages/plugins/plugin-observability/src/components/index.ts","kind":"import-statement","original":"./components"},{"path":"packages/plugins/plugin-observability/src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"packages/plugins/plugin-observability/src/ObservabilityPlugin.ts","kind":"import-statement","original":"./ObservabilityPlugin"}],"format":"esm"}},"outputs":{"packages/plugins/plugin-observability/dist/lib/browser/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":7958},"packages/plugins/plugin-observability/dist/lib/browser/index.mjs":{"imports":[{"path":"packages/plugins/plugin-observability/dist/lib/browser/chunk-LIQQMROG.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-observability/dist/lib/browser/chunk-VJOTUVP6.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-observability/dist/lib/browser/chunk-ECWB7E2O.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-observability/dist/lib/browser/chunk-RKH5BBR4.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-observability/dist/lib/browser/app-graph-builder-3ROXVPV2.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-observability/dist/lib/browser/client-ready-SPQ37TSN.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-observability/dist/lib/browser/intent-resolver-WIABW2ED.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-observability/dist/lib/browser/react-surface-KCDNYTFB.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-observability/dist/lib/browser/settings-GNURBGMS.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-observability/dist/lib/browser/state-GHBXMIQI.mjs","kind":"dynamic-import"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true}],"exports":["FeedbackForm","HelpContainer","OBSERVABILITY_PLUGIN","ObservabilityCapabilities","ObservabilityEvents","ObservabilityPlugin","ObservabilitySettings","ObservabilitySettingsSchema","meta"],"entryPoint":"packages/plugins/plugin-observability/src/index.ts","inputs":{"packages/plugins/plugin-observability/src/capabilities/index.ts":{"bytesInOutput":482},"packages/plugins/plugin-observability/src/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-observability/src/events.ts":{"bytesInOutput":337},"packages/plugins/plugin-observability/src/ObservabilityPlugin.ts":{"bytesInOutput":1831},"packages/plugins/plugin-observability/src/translations.ts":{"bytesInOutput":1427}},"bytes":4941},"packages/plugins/plugin-observability/dist/lib/browser/types.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/plugins/plugin-observability/dist/lib/browser/types.mjs":{"imports":[{"path":"packages/plugins/plugin-observability/dist/lib/browser/chunk-VJOTUVP6.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-observability/dist/lib/browser/chunk-RKH5BBR4.mjs","kind":"import-statement"}],"exports":["ObservabilityAction","UserFeedback"],"entryPoint":"packages/plugins/plugin-observability/src/types.ts","inputs":{},"bytes":194},"packages/plugins/plugin-observability/dist/lib/browser/app-graph-builder-3ROXVPV2.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2739},"packages/plugins/plugin-observability/dist/lib/browser/app-graph-builder-3ROXVPV2.mjs":{"imports":[{"path":"packages/plugins/plugin-observability/dist/lib/browser/chunk-RKH5BBR4.mjs","kind":"import-statement"},{"path":"@effect-rx/rx-react","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-observability/src/capabilities/app-graph-builder.ts","inputs":{"packages/plugins/plugin-observability/src/capabilities/app-graph-builder.ts":{"bytesInOutput":1160}},"bytes":1410},"packages/plugins/plugin-observability/dist/lib/browser/client-ready-SPQ37TSN.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":6716},"packages/plugins/plugin-observability/dist/lib/browser/client-ready-SPQ37TSN.mjs":{"imports":[{"path":"packages/plugins/plugin-observability/dist/lib/browser/chunk-VJOTUVP6.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-observability/dist/lib/browser/chunk-ECWB7E2O.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-observability/dist/lib/browser/chunk-RKH5BBR4.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/observability","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-observability/src/capabilities/client-ready.ts","inputs":{"packages/plugins/plugin-observability/src/capabilities/client-ready.ts":{"bytesInOutput":3239}},"bytes":3624},"packages/plugins/plugin-observability/dist/lib/browser/intent-resolver-WIABW2ED.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":4907},"packages/plugins/plugin-observability/dist/lib/browser/intent-resolver-WIABW2ED.mjs":{"imports":[{"path":"packages/plugins/plugin-observability/dist/lib/browser/chunk-VJOTUVP6.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-observability/dist/lib/browser/chunk-ECWB7E2O.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-observability/dist/lib/browser/chunk-RKH5BBR4.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/observability","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-observability/src/capabilities/intent-resolver.ts","inputs":{"packages/plugins/plugin-observability/src/capabilities/intent-resolver.ts":{"bytesInOutput":2234}},"bytes":2628},"packages/plugins/plugin-observability/dist/lib/browser/react-surface-KCDNYTFB.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1816},"packages/plugins/plugin-observability/dist/lib/browser/react-surface-KCDNYTFB.mjs":{"imports":[{"path":"packages/plugins/plugin-observability/dist/lib/browser/chunk-LIQQMROG.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-observability/dist/lib/browser/chunk-VJOTUVP6.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-observability/dist/lib/browser/chunk-RKH5BBR4.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/local-storage","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-observability/src/capabilities/react-surface.tsx","inputs":{"packages/plugins/plugin-observability/src/capabilities/react-surface.tsx":{"bytesInOutput":738}},"bytes":1089},"packages/plugins/plugin-observability/dist/lib/browser/settings-GNURBGMS.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1077},"packages/plugins/plugin-observability/dist/lib/browser/settings-GNURBGMS.mjs":{"imports":[{"path":"packages/plugins/plugin-observability/dist/lib/browser/chunk-LIQQMROG.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-observability/dist/lib/browser/chunk-VJOTUVP6.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-observability/dist/lib/browser/chunk-RKH5BBR4.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-observability/src/capabilities/settings.ts","inputs":{"packages/plugins/plugin-observability/src/capabilities/settings.ts":{"bytesInOutput":338}},"bytes":662},"packages/plugins/plugin-observability/dist/lib/browser/chunk-LIQQMROG.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":10654},"packages/plugins/plugin-observability/dist/lib/browser/chunk-LIQQMROG.mjs":{"imports":[{"path":"packages/plugins/plugin-observability/dist/lib/browser/chunk-VJOTUVP6.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-observability/dist/lib/browser/chunk-RKH5BBR4.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true}],"exports":["FeedbackForm","HelpContainer","ObservabilitySettings","ObservabilitySettingsSchema"],"inputs":{"packages/plugins/plugin-observability/src/components/FeedbackForm.tsx":{"bytesInOutput":2442},"packages/plugins/plugin-observability/src/components/HelpContainer.tsx":{"bytesInOutput":1159},"packages/plugins/plugin-observability/src/components/ObservabilitySettings.tsx":{"bytesInOutput":1204},"packages/plugins/plugin-observability/src/components/index.ts":{"bytesInOutput":0}},"bytes":5323},"packages/plugins/plugin-observability/dist/lib/browser/chunk-VJOTUVP6.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":10907},"packages/plugins/plugin-observability/dist/lib/browser/chunk-VJOTUVP6.mjs":{"imports":[{"path":"packages/plugins/plugin-observability/dist/lib/browser/chunk-RKH5BBR4.mjs","kind":"import-statement"},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true}],"exports":["ObservabilityAction","UserFeedback"],"inputs":{"packages/plugins/plugin-observability/src/types.ts":{"bytesInOutput":5365}},"bytes":5578},"packages/plugins/plugin-observability/dist/lib/browser/state-GHBXMIQI.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1586},"packages/plugins/plugin-observability/dist/lib/browser/state-GHBXMIQI.mjs":{"imports":[{"path":"packages/plugins/plugin-observability/dist/lib/browser/chunk-ECWB7E2O.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-observability/dist/lib/browser/chunk-RKH5BBR4.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/local-storage","kind":"import-statement","external":true},{"path":"@dxos/observability","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-observability/src/capabilities/state.ts","inputs":{"packages/plugins/plugin-observability/src/capabilities/state.ts":{"bytesInOutput":544}},"bytes":826},"packages/plugins/plugin-observability/dist/lib/browser/chunk-ECWB7E2O.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1242},"packages/plugins/plugin-observability/dist/lib/browser/chunk-ECWB7E2O.mjs":{"imports":[{"path":"packages/plugins/plugin-observability/dist/lib/browser/chunk-RKH5BBR4.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true}],"exports":["ClientCapability","ObservabilityCapabilities"],"inputs":{"packages/plugins/plugin-observability/src/capabilities/capabilities.ts":{"bytesInOutput":493}},"bytes":736},"packages/plugins/plugin-observability/dist/lib/browser/chunk-RKH5BBR4.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":533},"packages/plugins/plugin-observability/dist/lib/browser/chunk-RKH5BBR4.mjs":{"imports":[],"exports":["OBSERVABILITY_PLUGIN","meta"],"inputs":{"packages/plugins/plugin-observability/src/meta.ts":{"bytesInOutput":152}},"bytes":293}}}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
HelpContainer,
|
|
3
3
|
ObservabilitySettings
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-LIQQMROG.mjs";
|
|
5
|
+
import "./chunk-VJOTUVP6.mjs";
|
|
6
6
|
import {
|
|
7
7
|
OBSERVABILITY_PLUGIN
|
|
8
8
|
} from "./chunk-RKH5BBR4.mjs";
|
|
@@ -29,4 +29,4 @@ var react_surface_default = () => contributes(Capabilities.ReactSurface, [
|
|
|
29
29
|
export {
|
|
30
30
|
react_surface_default as default
|
|
31
31
|
};
|
|
32
|
-
//# sourceMappingURL=react-surface-
|
|
32
|
+
//# sourceMappingURL=react-surface-KCDNYTFB.mjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ObservabilitySettingsSchema
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-LIQQMROG.mjs";
|
|
4
|
+
import "./chunk-VJOTUVP6.mjs";
|
|
5
5
|
import {
|
|
6
6
|
OBSERVABILITY_PLUGIN
|
|
7
7
|
} from "./chunk-RKH5BBR4.mjs";
|
|
@@ -22,4 +22,4 @@ var settings_default = () => {
|
|
|
22
22
|
export {
|
|
23
23
|
settings_default as default
|
|
24
24
|
};
|
|
25
|
-
//# sourceMappingURL=settings-
|
|
25
|
+
//# sourceMappingURL=settings-GNURBGMS.mjs.map
|
|
@@ -16,12 +16,14 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
16
16
|
return to;
|
|
17
17
|
};
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
var
|
|
20
|
-
__export(
|
|
19
|
+
var app_graph_builder_EXZP366Q_exports = {};
|
|
20
|
+
__export(app_graph_builder_EXZP366Q_exports, {
|
|
21
21
|
default: () => app_graph_builder_default
|
|
22
22
|
});
|
|
23
|
-
module.exports = __toCommonJS(
|
|
23
|
+
module.exports = __toCommonJS(app_graph_builder_EXZP366Q_exports);
|
|
24
24
|
var import_chunk_2ERIOZP3 = require("./chunk-2ERIOZP3.cjs");
|
|
25
|
+
var import_rx_react = require("@effect-rx/rx-react");
|
|
26
|
+
var import_effect = require("effect");
|
|
25
27
|
var import_app_framework = require("@dxos/app-framework");
|
|
26
28
|
var import_plugin_graph = require("@dxos/plugin-graph");
|
|
27
29
|
var ATTENDABLE_PATH_SEPARATOR = "~";
|
|
@@ -29,28 +31,29 @@ var DECK_COMPANION_TYPE = "dxos.org/plugin/deck/deck-companion";
|
|
|
29
31
|
var app_graph_builder_default = (context) => (0, import_app_framework.contributes)(import_app_framework.Capabilities.AppGraphBuilder, [
|
|
30
32
|
(0, import_plugin_graph.createExtension)({
|
|
31
33
|
id: `${import_chunk_2ERIOZP3.OBSERVABILITY_PLUGIN}/help`,
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
34
|
+
connector: (node) => import_rx_react.Rx.make((get) => (0, import_effect.pipe)(get(node), import_effect.Option.flatMap((node2) => node2.id === import_plugin_graph.ROOT_ID ? import_effect.Option.some(node2) : import_effect.Option.none()), import_effect.Option.map((node2) => {
|
|
35
|
+
return [
|
|
36
|
+
{
|
|
37
|
+
id: [
|
|
38
|
+
node2.id,
|
|
39
|
+
"help"
|
|
40
|
+
].join(ATTENDABLE_PATH_SEPARATOR),
|
|
41
|
+
type: DECK_COMPANION_TYPE,
|
|
42
|
+
data: null,
|
|
43
|
+
properties: {
|
|
44
|
+
label: [
|
|
45
|
+
"help label",
|
|
46
|
+
{
|
|
47
|
+
ns: import_chunk_2ERIOZP3.OBSERVABILITY_PLUGIN
|
|
48
|
+
}
|
|
49
|
+
],
|
|
50
|
+
icon: "ph--question--regular",
|
|
51
|
+
disposition: "hidden",
|
|
52
|
+
position: "hoist"
|
|
53
|
+
}
|
|
51
54
|
}
|
|
52
|
-
|
|
53
|
-
]
|
|
55
|
+
];
|
|
56
|
+
}), import_effect.Option.getOrElse(() => [])))
|
|
54
57
|
})
|
|
55
58
|
]);
|
|
56
|
-
//# sourceMappingURL=app-graph-builder-
|
|
59
|
+
//# sourceMappingURL=app-graph-builder-EXZP366Q.cjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/capabilities/app-graph-builder.ts"],
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport { Rx } from '@effect-rx/rx-react';\nimport { Option, pipe } from 'effect';\n\nimport { Capabilities, contributes, type PluginContext } from '@dxos/app-framework';\nimport { createExtension, ROOT_ID } from '@dxos/plugin-graph';\n\nimport { OBSERVABILITY_PLUGIN } from '../meta';\n\n// NOTE: Copied from @dxos/plugin-deck to break circular dependency.\nconst ATTENDABLE_PATH_SEPARATOR = '~';\nconst DECK_COMPANION_TYPE = 'dxos.org/plugin/deck/deck-companion';\n\nexport default (context: PluginContext) =>\n contributes(Capabilities.AppGraphBuilder, [\n createExtension({\n id: `${OBSERVABILITY_PLUGIN}/help`,\n connector: (node) =>\n Rx.make((get) =>\n pipe(\n get(node),\n Option.flatMap((node) => (node.id === ROOT_ID ? Option.some(node) : Option.none())),\n Option.map((node) => {\n return [\n {\n id: [node.id, 'help'].join(ATTENDABLE_PATH_SEPARATOR),\n type: DECK_COMPANION_TYPE,\n data: null,\n properties: {\n label: ['help label', { ns: OBSERVABILITY_PLUGIN }],\n icon: 'ph--question--regular',\n disposition: 'hidden',\n position: 'hoist',\n },\n },\n ];\n }),\n Option.getOrElse(() => []),\n ),\n ),\n }),\n ]);\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;AAIA,sBAAmB;AACnB,oBAA6B;AAE7B,2BAA8D;AAC9D,0BAAyC;AAKzC,IAAMA,4BAA4B;AAClC,IAAMC,sBAAsB;AAE5B,IAAA,4BAAe,CAACC,gBACdC,kCAAYC,kCAAaC,iBAAiB;MACxCC,qCAAgB;IACdC,IAAI,GAAGC,0CAAAA;IACPC,WAAW,CAACC,SACVC,mBAAGC,KAAK,CAACC,YACPC,oBACED,IAAIH,IAAAA,GACJK,qBAAOC,QAAQ,CAACN,UAAUA,MAAKH,OAAOU,8BAAUF,qBAAOG,KAAKR,KAAAA,IAAQK,qBAAOI,KAAI,CAAA,GAC/EJ,qBAAOK,IAAI,CAACV,UAAAA;AACV,aAAO;QACL;UACEH,IAAI;YAACG,MAAKH;YAAI;YAAQc,KAAKrB,yBAAAA;UAC3BsB,MAAMrB;UACNsB,MAAM;UACNC,YAAY;YACVC,OAAO;cAAC;cAAc;gBAAEC,IAAIlB;cAAqB;;YACjDmB,MAAM;YACNC,aAAa;YACbC,UAAU;UACZ;QACF;;IAEJ,CAAA,GACAd,qBAAOe,UAAU,MAAM,CAAA,CAAE,CAAA,CAAA;EAGjC,CAAA;CACD;",
|
|
6
|
+
"names": ["ATTENDABLE_PATH_SEPARATOR", "DECK_COMPANION_TYPE", "context", "contributes", "Capabilities", "AppGraphBuilder", "createExtension", "id", "OBSERVABILITY_PLUGIN", "connector", "node", "Rx", "make", "get", "pipe", "Option", "flatMap", "ROOT_ID", "some", "none", "map", "join", "type", "data", "properties", "label", "ns", "icon", "disposition", "position", "getOrElse"]
|
|
7
|
+
}
|
|
@@ -26,15 +26,15 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
26
26
|
mod
|
|
27
27
|
));
|
|
28
28
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
29
|
+
var chunk_53PICBRX_exports = {};
|
|
30
|
+
__export(chunk_53PICBRX_exports, {
|
|
31
31
|
FeedbackForm: () => FeedbackForm,
|
|
32
32
|
HelpContainer: () => HelpContainer,
|
|
33
33
|
ObservabilitySettings: () => ObservabilitySettings,
|
|
34
34
|
ObservabilitySettingsSchema: () => ObservabilitySettingsSchema
|
|
35
35
|
});
|
|
36
|
-
module.exports = __toCommonJS(
|
|
37
|
-
var
|
|
36
|
+
module.exports = __toCommonJS(chunk_53PICBRX_exports);
|
|
37
|
+
var import_chunk_BPWXRLLR = require("./chunk-BPWXRLLR.cjs");
|
|
38
38
|
var import_chunk_2ERIOZP3 = require("./chunk-2ERIOZP3.cjs");
|
|
39
39
|
var import_react = __toESM(require("react"));
|
|
40
40
|
var import_echo_schema = require("@dxos/echo-schema");
|
|
@@ -43,9 +43,9 @@ var import_react_ui_form = require("@dxos/react-ui-form");
|
|
|
43
43
|
var import_effect = require("effect");
|
|
44
44
|
var import_react2 = __toESM(require("react"));
|
|
45
45
|
var import_app_framework = require("@dxos/app-framework");
|
|
46
|
+
var import_effect2 = require("effect");
|
|
46
47
|
var import_react3 = __toESM(require("react"));
|
|
47
48
|
var import_app_framework2 = require("@dxos/app-framework");
|
|
48
|
-
var import_echo_schema2 = require("@dxos/echo-schema");
|
|
49
49
|
var import_react_ui2 = require("@dxos/react-ui");
|
|
50
50
|
var import_react_ui_form2 = require("@dxos/react-ui-form");
|
|
51
51
|
var defaultValues = {
|
|
@@ -103,7 +103,7 @@ var FeedbackForm = ({ onSave }) => {
|
|
|
103
103
|
const initialValues = (0, import_echo_schema.getSnapshot)(defaultValues);
|
|
104
104
|
return /* @__PURE__ */ import_react.default.createElement(import_react_ui_form.FormProvider, {
|
|
105
105
|
formRef,
|
|
106
|
-
schema:
|
|
106
|
+
schema: import_chunk_BPWXRLLR.UserFeedback,
|
|
107
107
|
initialValues,
|
|
108
108
|
onSave: handleSave
|
|
109
109
|
}, /* @__PURE__ */ import_react.default.createElement("div", {
|
|
@@ -112,7 +112,7 @@ var FeedbackForm = ({ onSave }) => {
|
|
|
112
112
|
};
|
|
113
113
|
var HelpContainer = () => {
|
|
114
114
|
const { dispatchPromise: dispatch } = (0, import_app_framework.useIntentDispatcher)();
|
|
115
|
-
const handleSave = (0, import_react2.useCallback)((values) => dispatch((0, import_effect.pipe)((0, import_app_framework.createIntent)(
|
|
115
|
+
const handleSave = (0, import_react2.useCallback)((values) => dispatch((0, import_effect.pipe)((0, import_app_framework.createIntent)(import_chunk_BPWXRLLR.ObservabilityAction.CaptureUserFeedback, values), (0, import_app_framework.chain)(import_app_framework.LayoutAction.UpdateComplementary, {
|
|
116
116
|
part: "complementary",
|
|
117
117
|
options: {
|
|
118
118
|
state: "collapsed"
|
|
@@ -149,8 +149,8 @@ var HelpContainer = () => {
|
|
|
149
149
|
onSave: handleSave
|
|
150
150
|
});
|
|
151
151
|
};
|
|
152
|
-
var ObservabilitySettingsSchema =
|
|
153
|
-
enabled:
|
|
152
|
+
var ObservabilitySettingsSchema = import_effect2.Schema.mutable(import_effect2.Schema.Struct({
|
|
153
|
+
enabled: import_effect2.Schema.Boolean
|
|
154
154
|
}));
|
|
155
155
|
var ObservabilitySettings = ({ settings }) => {
|
|
156
156
|
const { t } = (0, import_react_ui2.useTranslation)(import_chunk_2ERIOZP3.OBSERVABILITY_PLUGIN);
|
|
@@ -162,7 +162,7 @@ var ObservabilitySettings = ({ settings }) => {
|
|
|
162
162
|
}, /* @__PURE__ */ import_react3.default.createElement(import_react_ui2.Message.Body, null, t("observability description")))
|
|
163
163
|
}, /* @__PURE__ */ import_react3.default.createElement(import_react_ui2.Input.Switch, {
|
|
164
164
|
checked: settings.enabled,
|
|
165
|
-
onCheckedChange: (checked) => dispatch((0, import_app_framework2.createIntent)(
|
|
165
|
+
onCheckedChange: (checked) => dispatch((0, import_app_framework2.createIntent)(import_chunk_BPWXRLLR.ObservabilityAction.Toggle, {
|
|
166
166
|
state: !!checked
|
|
167
167
|
}))
|
|
168
168
|
})));
|
|
@@ -174,4 +174,4 @@ var ObservabilitySettings = ({ settings }) => {
|
|
|
174
174
|
ObservabilitySettings,
|
|
175
175
|
ObservabilitySettingsSchema
|
|
176
176
|
});
|
|
177
|
-
//# sourceMappingURL=chunk-
|
|
177
|
+
//# sourceMappingURL=chunk-53PICBRX.cjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/components/FeedbackForm.tsx", "../../../src/components/HelpContainer.tsx", "../../../src/components/ObservabilitySettings.tsx"],
|
|
4
|
-
"sourcesContent": ["//\n// Copyright 2024 DXOS.org\n//\n\nimport React, { useCallback, useRef, useState } from 'react';\n\nimport { getSnapshot } from '@dxos/echo-schema';\nimport { IconButton, Input, useTranslation } from '@dxos/react-ui';\nimport { FormProvider, useFormContext, useInputProps } from '@dxos/react-ui-form';\n\nimport { OBSERVABILITY_PLUGIN } from '../meta';\nimport { UserFeedback } from '../types';\n\nconst defaultValues: UserFeedback = { message: '' };\n\nconst FormContent = () => {\n const { t } = useTranslation(OBSERVABILITY_PLUGIN);\n const { handleSave, canSave } = useFormContext<UserFeedback>();\n\n const messageProps = useInputProps(['message']);\n\n return (\n <div role='form' className='p-3 flex flex-col gap-2'>\n <div role='none' className='space-b-1'>\n <Input.Root validationValence={messageProps.getStatus().status}>\n <Input.Label>{t('feedback text area label')}</Input.Label>\n <Input.TextArea\n classNames={'text-sm'}\n rows={5}\n cols={30}\n placeholder={t('feedback text area placeholder')}\n value={messageProps.getValue() ?? ''}\n onChange={(e) => messageProps.onValueChange('string', e.target.value)}\n // TODO(wittjosiah): This aggressively shows validation errors.\n onBlur={messageProps.onBlur}\n />\n <Input.DescriptionAndValidation>\n <Input.Validation>{messageProps.getStatus().error}</Input.Validation>\n </Input.DescriptionAndValidation>\n </Input.Root>\n </div>\n\n <div role='none' className='space-b-2'>\n <IconButton\n icon='ph--paper-plane-tilt--regular'\n label={t('send feedback label')}\n variant='primary'\n type='submit'\n classNames='is-full'\n disabled={!canSave}\n onClick={handleSave}\n />\n </div>\n </div>\n );\n};\n\n// TODO(wittjosiah): Use `Form`?\nexport const FeedbackForm = ({ onSave }: { onSave: (values: UserFeedback) => void }) => {\n const formRef = useRef<HTMLDivElement>(null);\n const [_, update] = useState({});\n const forceRender = useCallback(() => update({}), [update]);\n\n const handleSave = useCallback(\n (values: UserFeedback) => {\n onSave(values);\n // TODO(wittjosiah): Force re-render to clear the form.\n forceRender();\n },\n [forceRender, onSave],\n );\n\n const initialValues = getSnapshot(defaultValues);\n\n return (\n <FormProvider formRef={formRef} schema={UserFeedback} initialValues={initialValues} onSave={handleSave}>\n <div ref={formRef}>\n <FormContent />\n </div>\n </FormProvider>\n );\n};\n", "//\n// Copyright 2025 DXOS.org\n//\n\nimport { pipe } from 'effect';\nimport React, { useCallback } from 'react';\n\nimport { chain, createIntent, LayoutAction, useIntentDispatcher } from '@dxos/app-framework';\n\nimport { FeedbackForm } from './FeedbackForm';\nimport { OBSERVABILITY_PLUGIN } from '../meta';\nimport { ObservabilityAction, type UserFeedback } from '../types';\n\nexport const HelpContainer = () => {\n const { dispatchPromise: dispatch } = useIntentDispatcher();\n\n const handleSave = useCallback(\n (values: UserFeedback) =>\n dispatch(\n pipe(\n createIntent(ObservabilityAction.CaptureUserFeedback, values),\n chain(LayoutAction.UpdateComplementary, { part: 'complementary', options: { state: 'collapsed' } }),\n chain(LayoutAction.AddToast, {\n part: 'toast',\n subject: {\n id: `${OBSERVABILITY_PLUGIN}/feedback-success`,\n icon: 'ph--paper-plane-tilt--regular',\n duration: 3000,\n title: ['feedback toast label', { ns: OBSERVABILITY_PLUGIN }],\n description: ['feedback toast description', { ns: OBSERVABILITY_PLUGIN }],\n closeLabel: ['close label', { ns: 'os' }],\n },\n }),\n ),\n ),\n [dispatch],\n );\n\n return <FeedbackForm onSave={handleSave} />;\n};\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport React from 'react';\n\nimport { createIntent, useIntentDispatcher } from '@dxos/app-framework';\nimport {
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,mBAAqD;AAErD,yBAA4B;AAC5B,sBAAkD;AAClD,2BAA4D;ACJ5D,oBAAqB;AACrB,IAAAA,gBAAmC;AAEnC,2BAAuE;ACHvE,
|
|
6
|
-
"names": ["import_react", "
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2024 DXOS.org\n//\n\nimport React, { useCallback, useRef, useState } from 'react';\n\nimport { getSnapshot } from '@dxos/echo-schema';\nimport { IconButton, Input, useTranslation } from '@dxos/react-ui';\nimport { FormProvider, useFormContext, useInputProps } from '@dxos/react-ui-form';\n\nimport { OBSERVABILITY_PLUGIN } from '../meta';\nimport { UserFeedback } from '../types';\n\nconst defaultValues: UserFeedback = { message: '' };\n\nconst FormContent = () => {\n const { t } = useTranslation(OBSERVABILITY_PLUGIN);\n const { handleSave, canSave } = useFormContext<UserFeedback>();\n\n const messageProps = useInputProps(['message']);\n\n return (\n <div role='form' className='p-3 flex flex-col gap-2'>\n <div role='none' className='space-b-1'>\n <Input.Root validationValence={messageProps.getStatus().status}>\n <Input.Label>{t('feedback text area label')}</Input.Label>\n <Input.TextArea\n classNames={'text-sm'}\n rows={5}\n cols={30}\n placeholder={t('feedback text area placeholder')}\n value={messageProps.getValue() ?? ''}\n onChange={(e) => messageProps.onValueChange('string', e.target.value)}\n // TODO(wittjosiah): This aggressively shows validation errors.\n onBlur={messageProps.onBlur}\n />\n <Input.DescriptionAndValidation>\n <Input.Validation>{messageProps.getStatus().error}</Input.Validation>\n </Input.DescriptionAndValidation>\n </Input.Root>\n </div>\n\n <div role='none' className='space-b-2'>\n <IconButton\n icon='ph--paper-plane-tilt--regular'\n label={t('send feedback label')}\n variant='primary'\n type='submit'\n classNames='is-full'\n disabled={!canSave}\n onClick={handleSave}\n />\n </div>\n </div>\n );\n};\n\n// TODO(wittjosiah): Use `Form`?\nexport const FeedbackForm = ({ onSave }: { onSave: (values: UserFeedback) => void }) => {\n const formRef = useRef<HTMLDivElement>(null);\n const [_, update] = useState({});\n const forceRender = useCallback(() => update({}), [update]);\n\n const handleSave = useCallback(\n (values: UserFeedback) => {\n onSave(values);\n // TODO(wittjosiah): Force re-render to clear the form.\n forceRender();\n },\n [forceRender, onSave],\n );\n\n const initialValues = getSnapshot(defaultValues);\n\n return (\n <FormProvider formRef={formRef} schema={UserFeedback} initialValues={initialValues} onSave={handleSave}>\n <div ref={formRef}>\n <FormContent />\n </div>\n </FormProvider>\n );\n};\n", "//\n// Copyright 2025 DXOS.org\n//\n\nimport { pipe } from 'effect';\nimport React, { useCallback } from 'react';\n\nimport { chain, createIntent, LayoutAction, useIntentDispatcher } from '@dxos/app-framework';\n\nimport { FeedbackForm } from './FeedbackForm';\nimport { OBSERVABILITY_PLUGIN } from '../meta';\nimport { ObservabilityAction, type UserFeedback } from '../types';\n\nexport const HelpContainer = () => {\n const { dispatchPromise: dispatch } = useIntentDispatcher();\n\n const handleSave = useCallback(\n (values: UserFeedback) =>\n dispatch(\n pipe(\n createIntent(ObservabilityAction.CaptureUserFeedback, values),\n chain(LayoutAction.UpdateComplementary, { part: 'complementary', options: { state: 'collapsed' } }),\n chain(LayoutAction.AddToast, {\n part: 'toast',\n subject: {\n id: `${OBSERVABILITY_PLUGIN}/feedback-success`,\n icon: 'ph--paper-plane-tilt--regular',\n duration: 3000,\n title: ['feedback toast label', { ns: OBSERVABILITY_PLUGIN }],\n description: ['feedback toast description', { ns: OBSERVABILITY_PLUGIN }],\n closeLabel: ['close label', { ns: 'os' }],\n },\n }),\n ),\n ),\n [dispatch],\n );\n\n return <FeedbackForm onSave={handleSave} />;\n};\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport { Schema } from 'effect';\nimport React from 'react';\n\nimport { createIntent, useIntentDispatcher } from '@dxos/app-framework';\nimport { Input, Message, useTranslation } from '@dxos/react-ui';\nimport { DeprecatedFormContainer, DeprecatedFormInput } from '@dxos/react-ui-form';\n\nimport { OBSERVABILITY_PLUGIN } from '../meta';\nimport { ObservabilityAction } from '../types';\n\nexport const ObservabilitySettingsSchema = Schema.mutable(\n Schema.Struct({\n enabled: Schema.Boolean,\n // TODO(wittjosiah): Separate settings for each observability feature.\n // metrics?: boolean;\n // telemetry?: boolean;\n // errors?: boolean;\n }),\n);\n\nexport type ObservabilitySettingsProps = Schema.Schema.Type<typeof ObservabilitySettingsSchema>;\n\nexport const ObservabilitySettings = ({ settings }: { settings: ObservabilitySettingsProps }) => {\n const { t } = useTranslation(OBSERVABILITY_PLUGIN);\n const { dispatchPromise: dispatch } = useIntentDispatcher();\n\n return (\n <DeprecatedFormContainer>\n <DeprecatedFormInput\n label={t('observability enabled label')}\n secondary={\n <Message.Root valence='info'>\n <Message.Body>{t('observability description')}</Message.Body>\n </Message.Root>\n }\n >\n <Input.Switch\n checked={settings.enabled}\n onCheckedChange={(checked) => dispatch(createIntent(ObservabilityAction.Toggle, { state: !!checked }))}\n />\n </DeprecatedFormInput>\n </DeprecatedFormContainer>\n );\n};\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,mBAAqD;AAErD,yBAA4B;AAC5B,sBAAkD;AAClD,2BAA4D;ACJ5D,oBAAqB;AACrB,IAAAA,gBAAmC;AAEnC,2BAAuE;ACHvE,IAAAC,iBAAuB;AACvB,IAAAD,gBAAkB;AAElB,IAAAE,wBAAkD;AAClD,IAAAC,mBAA+C;AAC/C,IAAAC,wBAA6D;AFI7D,IAAMC,gBAA8B;EAAEC,SAAS;AAAG;AAElD,IAAMC,cAAc,MAAA;AAClB,QAAM,EAAEC,EAAC,QAAKC,gCAAeC,0CAAAA;AAC7B,QAAM,EAAEC,YAAYC,QAAO,QAAKC,qCAAAA;AAEhC,QAAMC,mBAAeC,oCAAc;IAAC;GAAU;AAE9C,SACE,6BAAAC,QAAA,cAACC,OAAAA;IAAIC,MAAK;IAAOC,WAAU;KACzB,6BAAAH,QAAA,cAACC,OAAAA;IAAIC,MAAK;IAAOC,WAAU;KACzB,6BAAAH,QAAA,cAACI,sBAAMC,MAAI;IAACC,mBAAmBR,aAAaS,UAAS,EAAGC;KACtD,6BAAAR,QAAA,cAACI,sBAAMK,OAAK,MAAEjB,EAAE,0BAAA,CAAA,GAChB,6BAAAQ,QAAA,cAACI,sBAAMM,UAAQ;IACbC,YAAY;IACZC,MAAM;IACNC,MAAM;IACNC,aAAatB,EAAE,gCAAA;IACfuB,OAAOjB,aAAakB,SAAQ,KAAM;IAClCC,UAAU,CAACC,MAAMpB,aAAaqB,cAAc,UAAUD,EAAEE,OAAOL,KAAK;;IAEpEM,QAAQvB,aAAauB;MAEvB,6BAAArB,QAAA,cAACI,sBAAMkB,0BAAwB,MAC7B,6BAAAtB,QAAA,cAACI,sBAAMmB,YAAU,MAAEzB,aAAaS,UAAS,EAAGiB,KAAK,CAAA,CAAA,CAAA,GAKvD,6BAAAxB,QAAA,cAACC,OAAAA;IAAIC,MAAK;IAAOC,WAAU;KACzB,6BAAAH,QAAA,cAACyB,4BAAAA;IACCC,MAAK;IACLC,OAAOnC,EAAE,qBAAA;IACToC,SAAQ;IACRC,MAAK;IACLlB,YAAW;IACXmB,UAAU,CAAClC;IACXmC,SAASpC;;AAKnB;AAGO,IAAMqC,eAAe,CAAC,EAAEC,OAAM,MAA8C;AACjF,QAAMC,cAAUC,qBAAuB,IAAA;AACvC,QAAM,CAACC,GAAGC,MAAAA,QAAUC,uBAAS,CAAC,CAAA;AAC9B,QAAMC,kBAAcC,0BAAY,MAAMH,OAAO,CAAC,CAAA,GAAI;IAACA;GAAO;AAE1D,QAAM1C,iBAAa6C,0BACjB,CAACC,WAAAA;AACCR,WAAOQ,MAAAA;AAEPF,gBAAAA;EACF,GACA;IAACA;IAAaN;GAAO;AAGvB,QAAMS,oBAAgBC,gCAAYtD,aAAAA;AAElC,SACE,6BAAAW,QAAA,cAAC4C,mCAAAA;IAAaV;IAAkBW,QAAQC;IAAcJ;IAA8BT,QAAQtC;KAC1F,6BAAAK,QAAA,cAACC,OAAAA;IAAI8C,KAAKb;KACR,6BAAAlC,QAAA,cAACT,aAAAA,IAAAA,CAAAA,CAAAA;AAIT;ACpEO,IAAMyD,gBAAgB,MAAA;AAC3B,QAAM,EAAEC,iBAAiBC,SAAQ,QAAKC,0CAAAA;AAEtC,QAAMxD,iBAAa6C,cAAAA,aACjB,CAACC,WACCS,aACEE,wBACEC,mCAAaC,0CAAoBC,qBAAqBd,MAAAA,OACtDe,4BAAMC,kCAAaC,qBAAqB;IAAEC,MAAM;IAAiBC,SAAS;MAAEC,OAAO;IAAY;EAAE,CAAA,OACjGL,4BAAMC,kCAAaK,UAAU;IAC3BH,MAAM;IACNI,SAAS;MACPC,IAAI,GAAGtE,0CAAAA;MACPgC,MAAM;MACNuC,UAAU;MACVC,OAAO;QAAC;QAAwB;UAAEC,IAAIzE;QAAqB;;MAC3D0E,aAAa;QAAC;QAA8B;UAAED,IAAIzE;QAAqB;;MACvE2E,YAAY;QAAC;QAAe;UAAEF,IAAI;QAAK;;IACzC;EACF,CAAA,CAAA,CAAA,GAGN;IAACjB;GAAS;AAGZ,SAAOlD,8BAAAA,QAAA,cAACgC,cAAAA;IAAaC,QAAQtC;;AAC/B;ACzBO,IAAM2E,8BAA8BC,sBAAOC,QAChDD,sBAAOE,OAAO;EACZC,SAASH,sBAAOI;AAKlB,CAAA,CAAA;AAKK,IAAMC,wBAAwB,CAAC,EAAEC,SAAQ,MAA4C;AAC1F,QAAM,EAAErF,EAAC,QAAKC,iBAAAA,gBAAeC,0CAAAA;AAC7B,QAAM,EAAEuD,iBAAiBC,SAAQ,QAAKC,sBAAAA,qBAAAA;AAEtC,SACEnD,8BAAAA,QAAA,cAAC8E,+CAAAA,MACC9E,8BAAAA,QAAA,cAAC+E,2CAAAA;IACCpD,OAAOnC,EAAE,6BAAA;IACTwF,WACEhF,8BAAAA,QAAA,cAACiF,yBAAQ5E,MAAI;MAAC6E,SAAQ;OACpBlF,8BAAAA,QAAA,cAACiF,yBAAQE,MAAI,MAAE3F,EAAE,2BAAA,CAAA,CAAA;KAIrBQ,8BAAAA,QAAA,cAACI,iBAAAA,MAAMgF,QAAM;IACXC,SAASR,SAASH;IAClBY,iBAAiB,CAACD,YAAYnC,aAASG,sBAAAA,cAAaC,0CAAoBiC,QAAQ;MAAE1B,OAAO,CAAC,CAACwB;IAAQ,CAAA,CAAA;;AAK7G;",
|
|
6
|
+
"names": ["import_react", "import_effect", "import_app_framework", "import_react_ui", "import_react_ui_form", "defaultValues", "message", "FormContent", "t", "useTranslation", "OBSERVABILITY_PLUGIN", "handleSave", "canSave", "useFormContext", "messageProps", "useInputProps", "React", "div", "role", "className", "Input", "Root", "validationValence", "getStatus", "status", "Label", "TextArea", "classNames", "rows", "cols", "placeholder", "value", "getValue", "onChange", "e", "onValueChange", "target", "onBlur", "DescriptionAndValidation", "Validation", "error", "IconButton", "icon", "label", "variant", "type", "disabled", "onClick", "FeedbackForm", "onSave", "formRef", "useRef", "_", "update", "useState", "forceRender", "useCallback", "values", "initialValues", "getSnapshot", "FormProvider", "schema", "UserFeedback", "ref", "HelpContainer", "dispatchPromise", "dispatch", "useIntentDispatcher", "pipe", "createIntent", "ObservabilityAction", "CaptureUserFeedback", "chain", "LayoutAction", "UpdateComplementary", "part", "options", "state", "AddToast", "subject", "id", "duration", "title", "ns", "description", "closeLabel", "ObservabilitySettingsSchema", "Schema", "mutable", "Struct", "enabled", "Boolean", "ObservabilitySettings", "settings", "DeprecatedFormContainer", "DeprecatedFormInput", "secondary", "Message", "valence", "Body", "Switch", "checked", "onCheckedChange", "Toggle"]
|
|
7
7
|
}
|
|
@@ -0,0 +1,199 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var chunk_BPWXRLLR_exports = {};
|
|
20
|
+
__export(chunk_BPWXRLLR_exports, {
|
|
21
|
+
ObservabilityAction: () => ObservabilityAction,
|
|
22
|
+
UserFeedback: () => UserFeedback
|
|
23
|
+
});
|
|
24
|
+
module.exports = __toCommonJS(chunk_BPWXRLLR_exports);
|
|
25
|
+
var import_chunk_2ERIOZP3 = require("./chunk-2ERIOZP3.cjs");
|
|
26
|
+
var import_effect = require("effect");
|
|
27
|
+
var import_echo = require("@dxos/echo");
|
|
28
|
+
var nonEmpty = (field) => import_effect.Schema.nonEmptyString({
|
|
29
|
+
message: () => `Missing field: ${field}`
|
|
30
|
+
});
|
|
31
|
+
var maxLength = (field, length) => import_effect.Schema.maxLength(length, {
|
|
32
|
+
message: () => `Exceeds max length (${length}): ${field}`
|
|
33
|
+
});
|
|
34
|
+
var UserFeedback = import_effect.Schema.Struct({
|
|
35
|
+
message: import_effect.Schema.String.pipe(nonEmpty("Feedback"), maxLength("Feedback", 32768))
|
|
36
|
+
});
|
|
37
|
+
var OBSERVABILITY_ACTION = `${import_chunk_2ERIOZP3.OBSERVABILITY_PLUGIN}/action`;
|
|
38
|
+
var ObservabilityAction;
|
|
39
|
+
(function(ObservabilityAction2) {
|
|
40
|
+
class Toggle extends import_effect.Schema.TaggedClass()(`${OBSERVABILITY_ACTION}/toggle`, {
|
|
41
|
+
input: import_effect.Schema.Struct({
|
|
42
|
+
state: import_effect.Schema.optional(import_effect.Schema.Boolean)
|
|
43
|
+
}),
|
|
44
|
+
output: import_effect.Schema.Boolean
|
|
45
|
+
}) {
|
|
46
|
+
}
|
|
47
|
+
ObservabilityAction2.Toggle = Toggle;
|
|
48
|
+
class CaptureUserFeedback extends import_effect.Schema.TaggedClass()(`${OBSERVABILITY_ACTION}/capture-feedback`, {
|
|
49
|
+
input: UserFeedback,
|
|
50
|
+
output: import_effect.Schema.Void
|
|
51
|
+
}) {
|
|
52
|
+
}
|
|
53
|
+
ObservabilityAction2.CaptureUserFeedback = CaptureUserFeedback;
|
|
54
|
+
class BaseSendEvent extends import_effect.Schema.TaggedClass()(`${OBSERVABILITY_ACTION}/send-event`, {
|
|
55
|
+
input: import_effect.Schema.Struct({
|
|
56
|
+
name: import_effect.Schema.String,
|
|
57
|
+
properties: import_effect.Schema.optional(import_effect.Schema.Object)
|
|
58
|
+
}),
|
|
59
|
+
output: import_effect.Schema.Void
|
|
60
|
+
}) {
|
|
61
|
+
}
|
|
62
|
+
ObservabilityAction2.BaseSendEvent = BaseSendEvent;
|
|
63
|
+
class SendEvent extends import_effect.Schema.TaggedClass()(`${OBSERVABILITY_ACTION}/send-event`, {
|
|
64
|
+
// NOTE: Sort alphabetically by name.
|
|
65
|
+
input: import_effect.Schema.Union(import_effect.Schema.Struct({
|
|
66
|
+
name: import_effect.Schema.Literal("identity.create")
|
|
67
|
+
}), import_effect.Schema.Struct({
|
|
68
|
+
name: import_effect.Schema.Literal("identity.join")
|
|
69
|
+
}), import_effect.Schema.Struct({
|
|
70
|
+
name: import_effect.Schema.Literal("identity.recover")
|
|
71
|
+
}), import_effect.Schema.Struct({
|
|
72
|
+
name: import_effect.Schema.Literal("identity.share")
|
|
73
|
+
}), import_effect.Schema.Struct({
|
|
74
|
+
name: import_effect.Schema.Literal("navigation.activate"),
|
|
75
|
+
properties: import_effect.Schema.Struct({
|
|
76
|
+
subjectId: import_effect.Schema.String,
|
|
77
|
+
typename: import_effect.Schema.optional(import_effect.Schema.String)
|
|
78
|
+
})
|
|
79
|
+
}), import_effect.Schema.Struct({
|
|
80
|
+
name: import_effect.Schema.Literal("page.load"),
|
|
81
|
+
properties: import_effect.Schema.Struct({
|
|
82
|
+
loadDuration: import_effect.Schema.Number
|
|
83
|
+
})
|
|
84
|
+
}), import_effect.Schema.Struct({
|
|
85
|
+
name: import_effect.Schema.Literal("plugins.toggle"),
|
|
86
|
+
properties: import_effect.Schema.Struct({
|
|
87
|
+
plugin: import_effect.Schema.String,
|
|
88
|
+
enabled: import_effect.Schema.Boolean
|
|
89
|
+
})
|
|
90
|
+
}), import_effect.Schema.Struct({
|
|
91
|
+
name: import_effect.Schema.Literal("space.create"),
|
|
92
|
+
properties: import_effect.Schema.Struct({
|
|
93
|
+
spaceId: import_echo.Type.SpaceId
|
|
94
|
+
})
|
|
95
|
+
}), import_effect.Schema.Struct({
|
|
96
|
+
name: import_effect.Schema.Literal("space.join"),
|
|
97
|
+
properties: import_effect.Schema.Struct({
|
|
98
|
+
spaceId: import_echo.Type.SpaceId
|
|
99
|
+
})
|
|
100
|
+
}), import_effect.Schema.Struct({
|
|
101
|
+
name: import_effect.Schema.Literal("space.limit"),
|
|
102
|
+
properties: import_effect.Schema.Struct({
|
|
103
|
+
spaceId: import_echo.Type.SpaceId
|
|
104
|
+
})
|
|
105
|
+
}), import_effect.Schema.Struct({
|
|
106
|
+
name: import_effect.Schema.Literal("space.lock"),
|
|
107
|
+
properties: import_effect.Schema.Struct({
|
|
108
|
+
spaceId: import_echo.Type.SpaceId
|
|
109
|
+
})
|
|
110
|
+
}), import_effect.Schema.Struct({
|
|
111
|
+
name: import_effect.Schema.Literal("space.migrate"),
|
|
112
|
+
properties: import_effect.Schema.Struct({
|
|
113
|
+
spaceId: import_echo.Type.SpaceId,
|
|
114
|
+
targetVersion: import_effect.Schema.optional(import_effect.Schema.String),
|
|
115
|
+
version: import_effect.Schema.optional(import_effect.Schema.String)
|
|
116
|
+
})
|
|
117
|
+
}), import_effect.Schema.Struct({
|
|
118
|
+
name: import_effect.Schema.Literal("space.object.add"),
|
|
119
|
+
properties: import_effect.Schema.Struct({
|
|
120
|
+
spaceId: import_echo.Type.SpaceId,
|
|
121
|
+
objectId: import_effect.Schema.String,
|
|
122
|
+
typename: import_effect.Schema.optional(import_effect.Schema.String)
|
|
123
|
+
})
|
|
124
|
+
}), import_effect.Schema.Struct({
|
|
125
|
+
name: import_effect.Schema.Literal("space.share"),
|
|
126
|
+
properties: import_effect.Schema.Struct({
|
|
127
|
+
spaceId: import_echo.Type.SpaceId
|
|
128
|
+
})
|
|
129
|
+
}), import_effect.Schema.Struct({
|
|
130
|
+
name: import_effect.Schema.Literal("space.unlock"),
|
|
131
|
+
properties: import_effect.Schema.Struct({
|
|
132
|
+
spaceId: import_echo.Type.SpaceId
|
|
133
|
+
})
|
|
134
|
+
}), import_effect.Schema.Struct({
|
|
135
|
+
name: import_effect.Schema.Literal("threads.create"),
|
|
136
|
+
properties: import_effect.Schema.Struct({
|
|
137
|
+
spaceId: import_echo.Type.SpaceId,
|
|
138
|
+
threadId: import_effect.Schema.String
|
|
139
|
+
})
|
|
140
|
+
}), import_effect.Schema.Struct({
|
|
141
|
+
name: import_effect.Schema.Literal("threads.delete"),
|
|
142
|
+
properties: import_effect.Schema.Struct({
|
|
143
|
+
spaceId: import_echo.Type.SpaceId,
|
|
144
|
+
threadId: import_effect.Schema.String
|
|
145
|
+
})
|
|
146
|
+
}), import_effect.Schema.Struct({
|
|
147
|
+
name: import_effect.Schema.Literal("threads.message.add"),
|
|
148
|
+
properties: import_effect.Schema.Struct({
|
|
149
|
+
spaceId: import_echo.Type.SpaceId,
|
|
150
|
+
threadId: import_effect.Schema.String,
|
|
151
|
+
threadLength: import_effect.Schema.Number,
|
|
152
|
+
messageId: import_effect.Schema.String,
|
|
153
|
+
messageLength: import_effect.Schema.Number
|
|
154
|
+
})
|
|
155
|
+
}), import_effect.Schema.Struct({
|
|
156
|
+
name: import_effect.Schema.Literal("threads.message.delete"),
|
|
157
|
+
properties: import_effect.Schema.Struct({
|
|
158
|
+
spaceId: import_echo.Type.SpaceId,
|
|
159
|
+
threadId: import_effect.Schema.String,
|
|
160
|
+
messageId: import_effect.Schema.String
|
|
161
|
+
})
|
|
162
|
+
}), import_effect.Schema.Struct({
|
|
163
|
+
name: import_effect.Schema.Literal("threads.message.undo-delete"),
|
|
164
|
+
properties: import_effect.Schema.Struct({
|
|
165
|
+
spaceId: import_echo.Type.SpaceId,
|
|
166
|
+
threadId: import_effect.Schema.String,
|
|
167
|
+
messageId: import_effect.Schema.String
|
|
168
|
+
})
|
|
169
|
+
}), import_effect.Schema.Struct({
|
|
170
|
+
name: import_effect.Schema.Literal("threads.message.update"),
|
|
171
|
+
properties: import_effect.Schema.Struct({
|
|
172
|
+
spaceId: import_echo.Type.SpaceId,
|
|
173
|
+
messageId: import_effect.Schema.String,
|
|
174
|
+
messageLength: import_effect.Schema.Number
|
|
175
|
+
})
|
|
176
|
+
}), import_effect.Schema.Struct({
|
|
177
|
+
name: import_effect.Schema.Literal("threads.toggle-resolved"),
|
|
178
|
+
properties: import_effect.Schema.Struct({
|
|
179
|
+
spaceId: import_echo.Type.SpaceId,
|
|
180
|
+
threadId: import_effect.Schema.String
|
|
181
|
+
})
|
|
182
|
+
}), import_effect.Schema.Struct({
|
|
183
|
+
name: import_effect.Schema.Literal("threads.undo-delete"),
|
|
184
|
+
properties: import_effect.Schema.Struct({
|
|
185
|
+
spaceId: import_echo.Type.SpaceId,
|
|
186
|
+
threadId: import_effect.Schema.String
|
|
187
|
+
})
|
|
188
|
+
})),
|
|
189
|
+
output: import_effect.Schema.Void
|
|
190
|
+
}) {
|
|
191
|
+
}
|
|
192
|
+
ObservabilityAction2.SendEvent = SendEvent;
|
|
193
|
+
})(ObservabilityAction || (ObservabilityAction = {}));
|
|
194
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
195
|
+
0 && (module.exports = {
|
|
196
|
+
ObservabilityAction,
|
|
197
|
+
UserFeedback
|
|
198
|
+
});
|
|
199
|
+
//# sourceMappingURL=chunk-BPWXRLLR.cjs.map
|