@dxos/plugin-debug 0.8.4-main.2e9d522 → 0.8.4-main.5ea62a8
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/DebugGraph-EDOH6R2G.mjs +20 -0
- package/dist/lib/browser/DebugGraph-EDOH6R2G.mjs.map +7 -0
- package/dist/lib/browser/{SpaceGenerator-AG3XGNMV.mjs → SpaceGenerator-C7XYY4YG.mjs} +46 -49
- package/dist/lib/browser/SpaceGenerator-C7XYY4YG.mjs.map +7 -0
- package/dist/lib/browser/{app-graph-builder-SQXFD2BL.mjs → app-graph-builder-JTIEFOWZ.mjs} +22 -32
- package/dist/lib/browser/app-graph-builder-JTIEFOWZ.mjs.map +7 -0
- package/dist/lib/browser/index.mjs +7 -4
- package/dist/lib/browser/index.mjs.map +3 -3
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/{react-surface-3GD2OWCA.mjs → react-surface-446ZZTL6.mjs} +25 -20
- package/dist/lib/browser/react-surface-446ZZTL6.mjs.map +7 -0
- 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/index.d.ts +5 -5
- package/dist/types/src/capabilities/index.d.ts.map +1 -1
- package/dist/types/src/capabilities/react-context.d.ts +2 -2
- package/dist/types/src/capabilities/react-surface.d.ts +1 -1
- package/dist/types/src/capabilities/react-surface.d.ts.map +1 -1
- package/dist/types/src/capabilities/settings.d.ts +1 -1
- package/dist/types/src/components/DebugGraph.d.ts +8 -0
- package/dist/types/src/components/DebugGraph.d.ts.map +1 -0
- package/dist/types/src/components/DebugSettings.d.ts.map +1 -1
- package/dist/types/src/components/SpaceGenerator/ObjectGenerator.d.ts.map +1 -1
- package/dist/types/src/components/SpaceGenerator/SpaceGenerator.d.ts.map +1 -1
- package/dist/types/src/components/SpaceGenerator/SpaceGenerator.stories.d.ts +13 -3
- package/dist/types/src/components/SpaceGenerator/SpaceGenerator.stories.d.ts.map +1 -1
- package/dist/types/src/components/SpaceGenerator/draw-util.d.ts.map +1 -1
- package/dist/types/src/components/SpaceGenerator/presets.d.ts +31 -2
- package/dist/types/src/components/SpaceGenerator/presets.d.ts.map +1 -1
- package/dist/types/src/components/Wireframe.d.ts.map +1 -1
- package/dist/types/src/components/index.d.ts +2 -1
- package/dist/types/src/components/index.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/tsconfig.tsbuildinfo +1 -1
- package/package.json +55 -54
- package/src/DebugPlugin.tsx +1 -1
- package/src/capabilities/app-graph-builder.ts +13 -40
- package/src/capabilities/react-surface.tsx +7 -6
- package/src/components/DebugGraph.tsx +14 -0
- package/src/components/DebugSettings.tsx +72 -64
- package/src/components/SpaceGenerator/ObjectGenerator.tsx +7 -7
- package/src/components/SpaceGenerator/SpaceGenerator.stories.tsx +8 -6
- package/src/components/SpaceGenerator/SpaceGenerator.tsx +6 -6
- package/src/components/SpaceGenerator/draw-util.ts +3 -3
- package/src/components/SpaceGenerator/presets.ts +9 -9
- package/src/components/Wireframe.tsx +1 -0
- package/src/components/index.ts +1 -1
- package/src/translations.ts +2 -0
- package/dist/lib/browser/DebugApp-ZDL4CPY5.mjs +0 -228
- package/dist/lib/browser/DebugApp-ZDL4CPY5.mjs.map +0 -7
- package/dist/lib/browser/SpaceGenerator-AG3XGNMV.mjs.map +0 -7
- package/dist/lib/browser/app-graph-builder-SQXFD2BL.mjs.map +0 -7
- package/dist/lib/browser/react-surface-3GD2OWCA.mjs.map +0 -7
- package/dist/types/src/components/DebugApp/DebugApp.d.ts +0 -6
- package/dist/types/src/components/DebugApp/DebugApp.d.ts.map +0 -1
- package/dist/types/src/components/DebugApp/Tree.d.ts +0 -18
- package/dist/types/src/components/DebugApp/Tree.d.ts.map +0 -1
- package/dist/types/src/components/DebugApp/index.d.ts +0 -3
- package/dist/types/src/components/DebugApp/index.d.ts.map +0 -1
- package/src/components/DebugApp/DebugApp.tsx +0 -84
- package/src/components/DebugApp/Tree.tsx +0 -103
- package/src/components/DebugApp/index.ts +0 -7
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { Capabilities } from '@dxos/app-framework';
|
|
2
|
-
declare const _default: () => import("@dxos/app-framework").Capability<Capabilities.Settings
|
|
2
|
+
declare const _default: () => import("@dxos/app-framework").Capability<import("@dxos/app-framework").InterfaceDef<Capabilities.Settings>>;
|
|
3
3
|
export default _default;
|
|
4
4
|
//# sourceMappingURL=settings.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DebugGraph.d.ts","sourceRoot":"","sources":["../../../../src/components/DebugGraph.tsx"],"names":[],"mappings":"AAIA,OAAc,EAAE,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAGvC,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAEhD,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC;IAAE,KAAK,EAAE,KAAK,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,CAEzD,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DebugSettings.d.ts","sourceRoot":"","sources":["../../../../src/components/DebugSettings.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAWnD,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAYnD,eAAO,MAAM,aAAa,GAAI,cAAc;IAAE,QAAQ,EAAE,kBAAkB,CAAA;CAAE,
|
|
1
|
+
{"version":3,"file":"DebugSettings.d.ts","sourceRoot":"","sources":["../../../../src/components/DebugSettings.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAWnD,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAYnD,eAAO,MAAM,aAAa,GAAI,cAAc;IAAE,QAAQ,EAAE,kBAAkB,CAAA;CAAE,sBA0H3E,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObjectGenerator.d.ts","sourceRoot":"","sources":["../../../../../src/components/SpaceGenerator/ObjectGenerator.tsx"],"names":[],"mappings":"AAIA,OAAO,
|
|
1
|
+
{"version":3,"file":"ObjectGenerator.d.ts","sourceRoot":"","sources":["../../../../../src/components/SpaceGenerator/ObjectGenerator.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,uBAAuB,EAAgB,MAAM,qBAAqB,CAAC;AAGjF,OAAO,EAAoB,GAAG,EAAa,MAAM,YAAY,CAAC;AAC9D,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAOrD,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAOrD,MAAM,MAAM,eAAe,CAAC,CAAC,SAAS,GAAG,CAAC,GAAG,IAAI,CAAC,KAAK,EAAE,KAAK,EAAE,CAAC,EAAE,MAAM,EAAE,EAAE,CAAC,EAAE,CAAC,OAAO,EAAE,CAAC,EAAE,KAAK,IAAI,KAAK,OAAO,CAAC,CAAC,EAAE,CAAC,CAAC;AAMxH,eAAO,MAAM,eAAe,GAAI,CAAC,SAAS,GAAG,CAAC,GAAG,EAC/C,QAAQ,MAAM,EACd,UAAU,uBAAuB,EACjC,QAAQ,WAAW,CAAC,CAAC,CAAC,KACrB,eAAe,CAAC,CAAC,CAkBnB,CAAC;AAEF,eAAO,MAAM,gBAAgB,mCAqG3B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SpaceGenerator.d.ts","sourceRoot":"","sources":["../../../../../src/components/SpaceGenerator/SpaceGenerator.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAyC,MAAM,OAAO,CAAC;AAI9D,OAAO,EAAU,KAAK,GAAG,EAAE,MAAM,YAAY,CAAC;AAK9C,OAAO,
|
|
1
|
+
{"version":3,"file":"SpaceGenerator.d.ts","sourceRoot":"","sources":["../../../../../src/components/SpaceGenerator/SpaceGenerator.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAyC,MAAM,OAAO,CAAC;AAI9D,OAAO,EAAU,KAAK,GAAG,EAAE,MAAM,YAAY,CAAC;AAK9C,OAAO,EAAE,KAAK,KAAK,EAAe,MAAM,yBAAyB,CAAC;AAUlE,MAAM,MAAM,mBAAmB,GAAG;IAChC,KAAK,EAAE,KAAK,CAAC;IACb,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE,GAAG,CAAC,GAAG,EAAE,KAAK,IAAI,CAAC;CAChD,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,4BAA4B,mBAAmB,sBA6F7E,CAAC"}
|
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
import '@dxos-theme';
|
|
2
|
-
import { type
|
|
3
|
-
|
|
2
|
+
import { type StoryObj } from '@storybook/react-vite';
|
|
3
|
+
import React from 'react';
|
|
4
|
+
declare const meta: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: any;
|
|
7
|
+
render: (args: unknown) => React.JSX.Element;
|
|
8
|
+
decorators: import("@storybook/react").Decorator[];
|
|
9
|
+
parameters: {
|
|
10
|
+
layout: string;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
4
13
|
export default meta;
|
|
5
|
-
|
|
14
|
+
type Story = StoryObj<typeof meta>;
|
|
15
|
+
export declare const Default: Story;
|
|
6
16
|
//# sourceMappingURL=SpaceGenerator.stories.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SpaceGenerator.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/SpaceGenerator/SpaceGenerator.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAErB,OAAO,
|
|
1
|
+
{"version":3,"file":"SpaceGenerator.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/SpaceGenerator/SpaceGenerator.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAErB,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAK,MAAM,OAAO,CAAC;AAmB1B,QAAA,MAAM,IAAI;;eAEqB,GAAG;;;;;;CAmBG,CAAC;AAEtC,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"draw-util.d.ts","sourceRoot":"","sources":["../../../../../src/components/SpaceGenerator/draw-util.ts"],"names":[],"mappings":"AAKA,OAAO,
|
|
1
|
+
{"version":3,"file":"draw-util.d.ts","sourceRoot":"","sources":["../../../../../src/components/SpaceGenerator/draw-util.ts"],"names":[],"mappings":"AAKA,OAAO,EAAa,KAAK,EAAE,KAAK,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAUpE,OAAO,EAAE,KAAK,MAAM,EAAE,KAAK,eAAe,EAAE,KAAK,QAAQ,EAAkC,MAAM,gBAAgB,CAAC;AAalH;;GAEG;AAGH,eAAO,MAAM,aAAa,QAAO,KAAK,CAAC,WAAW,EAAE,WAAW,CAiD9D,CAAC;AAEF,eAAO,MAAM,SAAS,GACpB,QAAQ,MAAM,EACd,OAAO,KAAK,CAAC,WAAW,EAAE,WAAW,CAAC,KACrC,OAAO,CAAC,eAAe,CAAC,QAAQ,CAAC,CAuGnC,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Schema } from 'effect';
|
|
2
|
+
import { Type } from '@dxos/echo';
|
|
2
3
|
import { CanvasBoardType } from '@dxos/react-ui-canvas-editor';
|
|
3
4
|
import { type ObjectGenerator } from './ObjectGenerator';
|
|
4
5
|
export declare enum PresetName {
|
|
@@ -10,7 +11,35 @@ export declare enum PresetName {
|
|
|
10
11
|
DISCORD_MESSAGES = "discord-messages"
|
|
11
12
|
}
|
|
12
13
|
export declare const generator: () => {
|
|
13
|
-
schemas: (
|
|
14
|
+
schemas: (Type.obj<Schema.Struct<{
|
|
15
|
+
function: Schema.optional<Schema.SchemaClass<import("@dxos/echo-schema").Ref<import("@dxos/echo-schema").Expando>, import("@dxos/echo-protocol").EncodedReference, never>>;
|
|
16
|
+
inputNodeId: Schema.optional<Schema.SchemaClass<string, string, never>>;
|
|
17
|
+
enabled: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
|
|
18
|
+
spec: Schema.optional<Schema.Union<[Schema.mutable<Schema.Struct<{
|
|
19
|
+
kind: Schema.Literal<["timer"]>;
|
|
20
|
+
cron: Schema.SchemaClass<string, string, never>;
|
|
21
|
+
}>>, Schema.mutable<Schema.Struct<{
|
|
22
|
+
kind: Schema.Literal<["webhook"]>;
|
|
23
|
+
method: Schema.optional<Schema.SchemaClass<string, string, never>>;
|
|
24
|
+
port: Schema.optional<Schema.SchemaClass<number, number, never>>;
|
|
25
|
+
}>>, Schema.mutable<Schema.Struct<{
|
|
26
|
+
kind: Schema.Literal<["subscription"]>;
|
|
27
|
+
filter: Schema.Struct<{
|
|
28
|
+
type: Schema.optional<Schema.SchemaClass<string, string, never>>;
|
|
29
|
+
props: Schema.optional<Schema.Record$<typeof Schema.String, typeof Schema.Any>>;
|
|
30
|
+
}>;
|
|
31
|
+
options: Schema.optional<Schema.Struct<{
|
|
32
|
+
deep: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
|
|
33
|
+
delay: Schema.optional<Schema.SchemaClass<number, number, never>>;
|
|
34
|
+
}>>;
|
|
35
|
+
}>>, Schema.mutable<Schema.Struct<{
|
|
36
|
+
kind: Schema.Literal<["email"]>;
|
|
37
|
+
}>>, Schema.mutable<Schema.Struct<{
|
|
38
|
+
kind: Schema.Literal<["queue"]>;
|
|
39
|
+
queue: Schema.refine<string, typeof Schema.NonEmptyString>;
|
|
40
|
+
}>>]>>;
|
|
41
|
+
input: Schema.optional<Schema.mutable<Schema.Record$<typeof Schema.String, typeof Schema.Any>>>;
|
|
42
|
+
}>> | typeof CanvasBoardType)[];
|
|
14
43
|
types: {
|
|
15
44
|
typename: PresetName;
|
|
16
45
|
}[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"presets.d.ts","sourceRoot":"","sources":["../../../../../src/components/SpaceGenerator/presets.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"presets.d.ts","sourceRoot":"","sources":["../../../../../src/components/SpaceGenerator/presets.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAGhC,OAAO,EAAsB,IAAI,EAAE,MAAM,YAAY,CAAC;AAmBtD,OAAO,EACL,eAAe,EAKhB,MAAM,8BAA8B,CAAC;AAGtC,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEzD,oBAAY,UAAU;IAEpB,SAAS,sBAAsB;IAC/B,QAAQ,kBAAkB;IAE1B,mBAAmB,uBAAuB;IAC1C,mBAAmB,wBAAwB;IAC3C,gBAAgB,oBAAoB;IACpC,gBAAgB,qBAAqB;CAEtC;AAED,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WA8Yf,CAAC,UAAU,EAAE,eAAe,CAAC,GAAG,CAAC,CAAC,EAAE;CACzC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Wireframe.d.ts","sourceRoot":"","sources":["../../../../src/components/Wireframe.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,KAAK,GAAG,EAAE,MAAM,YAAY,CAAC;AAEtC,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAMtD,MAAM,MAAM,cAAc,GAAG,eAAe,CAAC;IAC3C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,GAAG,CAAC,GAAG,CAAC;CACjB,CAAC,CAAC;AAGH,eAAO,MAAM,SAAS,GAAI,+BAA+B,cAAc,
|
|
1
|
+
{"version":3,"file":"Wireframe.d.ts","sourceRoot":"","sources":["../../../../src/components/Wireframe.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,KAAK,GAAG,EAAE,MAAM,YAAY,CAAC;AAEtC,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAMtD,MAAM,MAAM,cAAc,GAAG,eAAe,CAAC;IAC3C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,GAAG,CAAC,GAAG,CAAC;CACjB,CAAC,CAAC;AAGH,eAAO,MAAM,SAAS,GAAI,+BAA+B,cAAc,sBAwBtE,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
export declare const
|
|
1
|
+
export declare const DebugGraph: import("react").LazyExoticComponent<import("react").FC<{
|
|
2
2
|
graph: import("@dxos/app-graph").Graph;
|
|
3
|
+
root: string;
|
|
3
4
|
}>>;
|
|
4
5
|
export declare const DevtoolsOverviewContainer: import("react").LazyExoticComponent<() => import("react").JSX.Element>;
|
|
5
6
|
export declare const SpaceGenerator: import("react").LazyExoticComponent<({ space, onCreateObjects }: import("./SpaceGenerator/SpaceGenerator").SpaceGeneratorProps) => import("react").JSX.Element>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,UAAU;;;GAAqC,CAAC;AAC7D,eAAO,MAAM,yBAAyB,wEAAoD,CAAC;AAC3F,eAAO,MAAM,cAAc,iKAAyC,CAAC;AAErE,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC"}
|
|
@@ -3,12 +3,14 @@ export declare const translations: [{
|
|
|
3
3
|
readonly 'en-US': {
|
|
4
4
|
readonly [meta.id]: {
|
|
5
5
|
readonly 'plugin name': "Debug";
|
|
6
|
+
readonly 'settings title': "Debug settings";
|
|
6
7
|
readonly 'mutation count': "Number of mutations";
|
|
7
8
|
readonly 'mutation period': "Mutation period";
|
|
8
9
|
readonly 'open devtools label': "Open DevTools";
|
|
9
10
|
readonly 'devtools label': "DevTools";
|
|
10
11
|
readonly 'devtools overview label': "DevTools Stats";
|
|
11
12
|
readonly 'debug label': "Debug";
|
|
13
|
+
readonly 'debug app graph label': "App Graph";
|
|
12
14
|
readonly 'settings show debug panel': "Show Debug panel.";
|
|
13
15
|
readonly 'settings show devtools panel': "Show DevTools panel.";
|
|
14
16
|
readonly 'settings wireframe': "Show wireframes.";
|
|
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UA2DR;;EAGwB,CAAC"}
|