@dxos/plugin-automation 0.8.1-main.ae460ac → 0.8.1-staging.31c3ee1
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/{AutomationPanel-ITYXSN5Z.mjs → AutomationPanel-YAHFXQX6.mjs} +28 -21
- package/dist/lib/browser/AutomationPanel-YAHFXQX6.mjs.map +7 -0
- package/dist/lib/browser/app-graph-builder-K3BIQFWW.mjs +40 -0
- package/dist/lib/browser/app-graph-builder-K3BIQFWW.mjs.map +7 -0
- package/dist/lib/browser/chunk-FALBBJNO.mjs +138 -0
- package/dist/lib/browser/chunk-FALBBJNO.mjs.map +7 -0
- package/dist/lib/browser/chunk-MT3FZH4V.mjs +8 -0
- package/dist/lib/browser/{chunk-OFDNNRLE.mjs → chunk-WKKQV4PC.mjs} +2 -2
- package/dist/lib/browser/chunk-WKKQV4PC.mjs.map +7 -0
- package/dist/lib/browser/index.mjs +33 -18
- package/dist/lib/browser/index.mjs.map +3 -3
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/react-surface-4QQSJR4A.mjs +42 -0
- package/dist/lib/browser/react-surface-4QQSJR4A.mjs.map +7 -0
- package/dist/lib/node/{AutomationPanel-X33HHDMQ.cjs → AutomationPanel-ZKAMIU6O.cjs} +36 -29
- package/dist/lib/node/AutomationPanel-ZKAMIU6O.cjs.map +7 -0
- package/dist/lib/node/app-graph-builder-HO4FPGZ5.cjs +56 -0
- package/dist/lib/node/app-graph-builder-HO4FPGZ5.cjs.map +7 -0
- package/dist/lib/node/{chunk-ORMEYEBE.cjs → chunk-7GXNXMSM.cjs} +4 -4
- package/dist/lib/node/chunk-7GXNXMSM.cjs.map +7 -0
- package/dist/lib/node/{chunk-CB5OB6JH.cjs → chunk-AGJ6XTDN.cjs} +5 -5
- package/dist/lib/node/chunk-FTEDH5Q6.cjs +167 -0
- package/dist/lib/node/chunk-FTEDH5Q6.cjs.map +7 -0
- package/dist/lib/node/index.cjs +40 -25
- package/dist/lib/node/index.cjs.map +3 -3
- package/dist/lib/node/meta.json +1 -1
- package/dist/lib/node/{react-surface-2WRVAPGR.cjs → react-surface-52M54VWV.cjs} +28 -13
- package/dist/lib/node/react-surface-52M54VWV.cjs.map +7 -0
- package/dist/lib/node-esm/{AutomationPanel-HY3GB4BT.mjs → AutomationPanel-XF7YPSKM.mjs} +28 -21
- package/dist/lib/node-esm/AutomationPanel-XF7YPSKM.mjs.map +7 -0
- package/dist/lib/node-esm/app-graph-builder-XCJR33VS.mjs +41 -0
- package/dist/lib/node-esm/app-graph-builder-XCJR33VS.mjs.map +7 -0
- package/dist/lib/node-esm/{chunk-6MUUH67V.mjs → chunk-DZ44LGYT.mjs} +2 -2
- package/dist/lib/node-esm/chunk-DZ44LGYT.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-M4QXMIIB.mjs +139 -0
- package/dist/lib/node-esm/chunk-M4QXMIIB.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-OA75PSGH.mjs +10 -0
- package/dist/lib/node-esm/index.mjs +33 -18
- package/dist/lib/node-esm/index.mjs.map +3 -3
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/lib/node-esm/react-surface-MGKM3OO3.mjs +43 -0
- package/dist/lib/node-esm/react-surface-MGKM3OO3.mjs.map +7 -0
- package/dist/types/src/AutomationPlugin.d.ts.map +1 -1
- package/dist/types/src/capabilities/app-graph-builder.d.ts +181 -0
- package/dist/types/src/capabilities/app-graph-builder.d.ts.map +1 -0
- package/dist/types/src/capabilities/index.d.ts +177 -1
- package/dist/types/src/capabilities/index.d.ts.map +1 -1
- package/dist/types/src/capabilities/react-surface.d.ts.map +1 -1
- package/dist/types/src/components/AutomationPanel/AutomationPanel.d.ts +2 -1
- package/dist/types/src/components/AutomationPanel/AutomationPanel.d.ts.map +1 -1
- package/dist/types/src/components/TriggerEditor/TriggerEditor.d.ts +3 -2
- package/dist/types/src/components/TriggerEditor/TriggerEditor.d.ts.map +1 -1
- package/dist/types/src/components/index.d.ts +1 -1
- package/dist/types/src/components/index.d.ts.map +1 -1
- package/dist/types/src/meta.d.ts +2 -7
- package/dist/types/src/meta.d.ts.map +1 -1
- package/dist/types/src/translations.d.ts +5 -3
- package/dist/types/src/translations.d.ts.map +1 -1
- package/package.json +24 -20
- package/src/AutomationPlugin.tsx +15 -6
- package/src/capabilities/app-graph-builder.ts +31 -0
- package/src/capabilities/index.ts +1 -1
- package/src/capabilities/react-surface.tsx +22 -7
- package/src/components/AutomationPanel/AutomationPanel.stories.tsx +1 -1
- package/src/components/AutomationPanel/AutomationPanel.tsx +60 -56
- package/src/components/TriggerEditor/TriggerEditor.stories.tsx +1 -1
- package/src/components/TriggerEditor/TriggerEditor.tsx +90 -81
- package/src/meta.ts +2 -2
- package/src/translations.ts +6 -4
- package/dist/lib/browser/AutomationPanel-ITYXSN5Z.mjs.map +0 -7
- package/dist/lib/browser/chunk-OFDNNRLE.mjs.map +0 -7
- package/dist/lib/browser/chunk-U7QLNY2S.mjs +0 -8
- package/dist/lib/browser/chunk-WY2C7JY4.mjs +0 -119
- package/dist/lib/browser/chunk-WY2C7JY4.mjs.map +0 -7
- package/dist/lib/browser/complementary-panel-4CPOJL4Y.mjs +0 -56
- package/dist/lib/browser/complementary-panel-4CPOJL4Y.mjs.map +0 -7
- package/dist/lib/browser/react-surface-SAPMN4PF.mjs +0 -27
- package/dist/lib/browser/react-surface-SAPMN4PF.mjs.map +0 -7
- package/dist/lib/node/AutomationPanel-X33HHDMQ.cjs.map +0 -7
- package/dist/lib/node/chunk-7Q5SNGCL.cjs +0 -148
- package/dist/lib/node/chunk-7Q5SNGCL.cjs.map +0 -7
- package/dist/lib/node/chunk-ORMEYEBE.cjs.map +0 -7
- package/dist/lib/node/complementary-panel-ZYJJ42ZU.cjs +0 -72
- package/dist/lib/node/complementary-panel-ZYJJ42ZU.cjs.map +0 -7
- package/dist/lib/node/react-surface-2WRVAPGR.cjs.map +0 -7
- package/dist/lib/node-esm/AutomationPanel-HY3GB4BT.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-6MUUH67V.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-R3P2WPBQ.mjs +0 -10
- package/dist/lib/node-esm/chunk-UDD2VA6G.mjs +0 -120
- package/dist/lib/node-esm/chunk-UDD2VA6G.mjs.map +0 -7
- package/dist/lib/node-esm/complementary-panel-S42RIIAY.mjs +0 -57
- package/dist/lib/node-esm/complementary-panel-S42RIIAY.mjs.map +0 -7
- package/dist/lib/node-esm/react-surface-QWLPOYXO.mjs +0 -28
- package/dist/lib/node-esm/react-surface-QWLPOYXO.mjs.map +0 -7
- package/dist/types/src/capabilities/complementary-panel.d.ts +0 -4
- package/dist/types/src/capabilities/complementary-panel.d.ts.map +0 -1
- package/src/capabilities/complementary-panel.ts +0 -56
- /package/dist/lib/browser/{chunk-U7QLNY2S.mjs.map → chunk-MT3FZH4V.mjs.map} +0 -0
- /package/dist/lib/node/{chunk-CB5OB6JH.cjs.map → chunk-AGJ6XTDN.cjs.map} +0 -0
- /package/dist/lib/node-esm/{chunk-R3P2WPBQ.mjs.map → chunk-OA75PSGH.mjs.map} +0 -0
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
import { type PluginsContext } from '@dxos/app-framework';
|
|
2
|
+
import { type Node } from '@dxos/plugin-graph';
|
|
3
|
+
declare const _default: (context: PluginsContext) => import("@dxos/app-framework").Capability<Readonly<{
|
|
4
|
+
id: string;
|
|
5
|
+
position: import("@dxos/util").Position;
|
|
6
|
+
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
7
|
+
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
8
|
+
relation?: import("@dxos/app-graph").Relation;
|
|
9
|
+
type?: string;
|
|
10
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
11
|
+
}> | Readonly<{
|
|
12
|
+
id: string;
|
|
13
|
+
position: import("@dxos/util").Position;
|
|
14
|
+
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
15
|
+
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
16
|
+
relation?: import("@dxos/app-graph").Relation;
|
|
17
|
+
type?: string;
|
|
18
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
19
|
+
}>[] | (Readonly<{
|
|
20
|
+
id: string;
|
|
21
|
+
position: import("@dxos/util").Position;
|
|
22
|
+
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
23
|
+
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
24
|
+
relation?: import("@dxos/app-graph").Relation;
|
|
25
|
+
type?: string;
|
|
26
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
27
|
+
}> | Readonly<{
|
|
28
|
+
id: string;
|
|
29
|
+
position: import("@dxos/util").Position;
|
|
30
|
+
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
31
|
+
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
32
|
+
relation?: import("@dxos/app-graph").Relation;
|
|
33
|
+
type?: string;
|
|
34
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
35
|
+
}>[] | (Readonly<{
|
|
36
|
+
id: string;
|
|
37
|
+
position: import("@dxos/util").Position;
|
|
38
|
+
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
39
|
+
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
40
|
+
relation?: import("@dxos/app-graph").Relation;
|
|
41
|
+
type?: string;
|
|
42
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
43
|
+
}> | Readonly<{
|
|
44
|
+
id: string;
|
|
45
|
+
position: import("@dxos/util").Position;
|
|
46
|
+
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
47
|
+
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
48
|
+
relation?: import("@dxos/app-graph").Relation;
|
|
49
|
+
type?: string;
|
|
50
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
51
|
+
}>[] | (Readonly<{
|
|
52
|
+
id: string;
|
|
53
|
+
position: import("@dxos/util").Position;
|
|
54
|
+
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
55
|
+
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
56
|
+
relation?: import("@dxos/app-graph").Relation;
|
|
57
|
+
type?: string;
|
|
58
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
59
|
+
}> | Readonly<{
|
|
60
|
+
id: string;
|
|
61
|
+
position: import("@dxos/util").Position;
|
|
62
|
+
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
63
|
+
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
64
|
+
relation?: import("@dxos/app-graph").Relation;
|
|
65
|
+
type?: string;
|
|
66
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
67
|
+
}>[] | (Readonly<{
|
|
68
|
+
id: string;
|
|
69
|
+
position: import("@dxos/util").Position;
|
|
70
|
+
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
71
|
+
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
72
|
+
relation?: import("@dxos/app-graph").Relation;
|
|
73
|
+
type?: string;
|
|
74
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
75
|
+
}> | Readonly<{
|
|
76
|
+
id: string;
|
|
77
|
+
position: import("@dxos/util").Position;
|
|
78
|
+
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
79
|
+
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
80
|
+
relation?: import("@dxos/app-graph").Relation;
|
|
81
|
+
type?: string;
|
|
82
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
83
|
+
}>[] | (Readonly<{
|
|
84
|
+
id: string;
|
|
85
|
+
position: import("@dxos/util").Position;
|
|
86
|
+
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
87
|
+
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
88
|
+
relation?: import("@dxos/app-graph").Relation;
|
|
89
|
+
type?: string;
|
|
90
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
91
|
+
}> | Readonly<{
|
|
92
|
+
id: string;
|
|
93
|
+
position: import("@dxos/util").Position;
|
|
94
|
+
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
95
|
+
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
96
|
+
relation?: import("@dxos/app-graph").Relation;
|
|
97
|
+
type?: string;
|
|
98
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
99
|
+
}>[] | (Readonly<{
|
|
100
|
+
id: string;
|
|
101
|
+
position: import("@dxos/util").Position;
|
|
102
|
+
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
103
|
+
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
104
|
+
relation?: import("@dxos/app-graph").Relation;
|
|
105
|
+
type?: string;
|
|
106
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
107
|
+
}> | Readonly<{
|
|
108
|
+
id: string;
|
|
109
|
+
position: import("@dxos/util").Position;
|
|
110
|
+
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
111
|
+
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
112
|
+
relation?: import("@dxos/app-graph").Relation;
|
|
113
|
+
type?: string;
|
|
114
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
115
|
+
}>[] | (Readonly<{
|
|
116
|
+
id: string;
|
|
117
|
+
position: import("@dxos/util").Position;
|
|
118
|
+
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
119
|
+
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
120
|
+
relation?: import("@dxos/app-graph").Relation;
|
|
121
|
+
type?: string;
|
|
122
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
123
|
+
}> | Readonly<{
|
|
124
|
+
id: string;
|
|
125
|
+
position: import("@dxos/util").Position;
|
|
126
|
+
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
127
|
+
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
128
|
+
relation?: import("@dxos/app-graph").Relation;
|
|
129
|
+
type?: string;
|
|
130
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
131
|
+
}>[] | (Readonly<{
|
|
132
|
+
id: string;
|
|
133
|
+
position: import("@dxos/util").Position;
|
|
134
|
+
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
135
|
+
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
136
|
+
relation?: import("@dxos/app-graph").Relation;
|
|
137
|
+
type?: string;
|
|
138
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
139
|
+
}> | Readonly<{
|
|
140
|
+
id: string;
|
|
141
|
+
position: import("@dxos/util").Position;
|
|
142
|
+
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
143
|
+
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
144
|
+
relation?: import("@dxos/app-graph").Relation;
|
|
145
|
+
type?: string;
|
|
146
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
147
|
+
}>[] | (Readonly<{
|
|
148
|
+
id: string;
|
|
149
|
+
position: import("@dxos/util").Position;
|
|
150
|
+
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
151
|
+
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
152
|
+
relation?: import("@dxos/app-graph").Relation;
|
|
153
|
+
type?: string;
|
|
154
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
155
|
+
}> | Readonly<{
|
|
156
|
+
id: string;
|
|
157
|
+
position: import("@dxos/util").Position;
|
|
158
|
+
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
159
|
+
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
160
|
+
relation?: import("@dxos/app-graph").Relation;
|
|
161
|
+
type?: string;
|
|
162
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
163
|
+
}>[] | (any[] | Readonly<{
|
|
164
|
+
id: string;
|
|
165
|
+
position: import("@dxos/util").Position;
|
|
166
|
+
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
167
|
+
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
168
|
+
relation?: import("@dxos/app-graph").Relation;
|
|
169
|
+
type?: string;
|
|
170
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
171
|
+
}> | Readonly<{
|
|
172
|
+
id: string;
|
|
173
|
+
position: import("@dxos/util").Position;
|
|
174
|
+
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
175
|
+
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
176
|
+
relation?: import("@dxos/app-graph").Relation;
|
|
177
|
+
type?: string;
|
|
178
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
179
|
+
}>[])[])[])[])[])[])[])[])[])[])[]>;
|
|
180
|
+
export default _default;
|
|
181
|
+
//# sourceMappingURL=app-graph-builder.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app-graph-builder.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/app-graph-builder.ts"],"names":[],"mappings":"AAIA,OAAO,EAA6B,KAAK,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAIrF,OAAO,EAAmB,KAAK,IAAI,EAAE,MAAM,oBAAoB,CAAC;kCAKvC,cAAc;;qBAkByzE,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAqF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAwF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAqF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAwF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAqF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAwF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAqF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAwF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAqF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAwF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAqF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAwF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAqF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAwF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAqF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAwF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAqF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAwF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAqF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAwF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAqF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;AAlBvoU,wBAiBK"}
|
|
@@ -1,3 +1,179 @@
|
|
|
1
|
-
export declare const
|
|
1
|
+
export declare const AppGraphBuilder: (props?: import("@dxos/app-framework").PluginsContext | undefined) => Promise<() => Promise<import("@dxos/app-framework").Capability<Readonly<{
|
|
2
|
+
id: string;
|
|
3
|
+
position: import("@dxos/util").Position;
|
|
4
|
+
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
5
|
+
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
6
|
+
relation?: import("@dxos/app-graph").Relation;
|
|
7
|
+
type?: string;
|
|
8
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
9
|
+
}> | Readonly<{
|
|
10
|
+
id: string;
|
|
11
|
+
position: import("@dxos/util").Position;
|
|
12
|
+
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
13
|
+
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
14
|
+
relation?: import("@dxos/app-graph").Relation;
|
|
15
|
+
type?: string;
|
|
16
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
17
|
+
}>[] | (Readonly<{
|
|
18
|
+
id: string;
|
|
19
|
+
position: import("@dxos/util").Position;
|
|
20
|
+
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
21
|
+
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
22
|
+
relation?: import("@dxos/app-graph").Relation;
|
|
23
|
+
type?: string;
|
|
24
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
25
|
+
}> | Readonly<{
|
|
26
|
+
id: string;
|
|
27
|
+
position: import("@dxos/util").Position;
|
|
28
|
+
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
29
|
+
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
30
|
+
relation?: import("@dxos/app-graph").Relation;
|
|
31
|
+
type?: string;
|
|
32
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
33
|
+
}>[] | (Readonly<{
|
|
34
|
+
id: string;
|
|
35
|
+
position: import("@dxos/util").Position;
|
|
36
|
+
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
37
|
+
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
38
|
+
relation?: import("@dxos/app-graph").Relation;
|
|
39
|
+
type?: string;
|
|
40
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
41
|
+
}> | Readonly<{
|
|
42
|
+
id: string;
|
|
43
|
+
position: import("@dxos/util").Position;
|
|
44
|
+
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
45
|
+
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
46
|
+
relation?: import("@dxos/app-graph").Relation;
|
|
47
|
+
type?: string;
|
|
48
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
49
|
+
}>[] | (Readonly<{
|
|
50
|
+
id: string;
|
|
51
|
+
position: import("@dxos/util").Position;
|
|
52
|
+
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
53
|
+
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
54
|
+
relation?: import("@dxos/app-graph").Relation;
|
|
55
|
+
type?: string;
|
|
56
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
57
|
+
}> | Readonly<{
|
|
58
|
+
id: string;
|
|
59
|
+
position: import("@dxos/util").Position;
|
|
60
|
+
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
61
|
+
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
62
|
+
relation?: import("@dxos/app-graph").Relation;
|
|
63
|
+
type?: string;
|
|
64
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
65
|
+
}>[] | (Readonly<{
|
|
66
|
+
id: string;
|
|
67
|
+
position: import("@dxos/util").Position;
|
|
68
|
+
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
69
|
+
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
70
|
+
relation?: import("@dxos/app-graph").Relation;
|
|
71
|
+
type?: string;
|
|
72
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
73
|
+
}> | Readonly<{
|
|
74
|
+
id: string;
|
|
75
|
+
position: import("@dxos/util").Position;
|
|
76
|
+
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
77
|
+
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
78
|
+
relation?: import("@dxos/app-graph").Relation;
|
|
79
|
+
type?: string;
|
|
80
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
81
|
+
}>[] | (Readonly<{
|
|
82
|
+
id: string;
|
|
83
|
+
position: import("@dxos/util").Position;
|
|
84
|
+
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
85
|
+
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
86
|
+
relation?: import("@dxos/app-graph").Relation;
|
|
87
|
+
type?: string;
|
|
88
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
89
|
+
}> | Readonly<{
|
|
90
|
+
id: string;
|
|
91
|
+
position: import("@dxos/util").Position;
|
|
92
|
+
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
93
|
+
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
94
|
+
relation?: import("@dxos/app-graph").Relation;
|
|
95
|
+
type?: string;
|
|
96
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
97
|
+
}>[] | (Readonly<{
|
|
98
|
+
id: string;
|
|
99
|
+
position: import("@dxos/util").Position;
|
|
100
|
+
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
101
|
+
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
102
|
+
relation?: import("@dxos/app-graph").Relation;
|
|
103
|
+
type?: string;
|
|
104
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
105
|
+
}> | Readonly<{
|
|
106
|
+
id: string;
|
|
107
|
+
position: import("@dxos/util").Position;
|
|
108
|
+
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
109
|
+
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
110
|
+
relation?: import("@dxos/app-graph").Relation;
|
|
111
|
+
type?: string;
|
|
112
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
113
|
+
}>[] | (Readonly<{
|
|
114
|
+
id: string;
|
|
115
|
+
position: import("@dxos/util").Position;
|
|
116
|
+
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
117
|
+
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
118
|
+
relation?: import("@dxos/app-graph").Relation;
|
|
119
|
+
type?: string;
|
|
120
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
121
|
+
}> | Readonly<{
|
|
122
|
+
id: string;
|
|
123
|
+
position: import("@dxos/util").Position;
|
|
124
|
+
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
125
|
+
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
126
|
+
relation?: import("@dxos/app-graph").Relation;
|
|
127
|
+
type?: string;
|
|
128
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
129
|
+
}>[] | (Readonly<{
|
|
130
|
+
id: string;
|
|
131
|
+
position: import("@dxos/util").Position;
|
|
132
|
+
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
133
|
+
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
134
|
+
relation?: import("@dxos/app-graph").Relation;
|
|
135
|
+
type?: string;
|
|
136
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
137
|
+
}> | Readonly<{
|
|
138
|
+
id: string;
|
|
139
|
+
position: import("@dxos/util").Position;
|
|
140
|
+
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
141
|
+
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
142
|
+
relation?: import("@dxos/app-graph").Relation;
|
|
143
|
+
type?: string;
|
|
144
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
145
|
+
}>[] | (Readonly<{
|
|
146
|
+
id: string;
|
|
147
|
+
position: import("@dxos/util").Position;
|
|
148
|
+
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
149
|
+
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
150
|
+
relation?: import("@dxos/app-graph").Relation;
|
|
151
|
+
type?: string;
|
|
152
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
153
|
+
}> | Readonly<{
|
|
154
|
+
id: string;
|
|
155
|
+
position: import("@dxos/util").Position;
|
|
156
|
+
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
157
|
+
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
158
|
+
relation?: import("@dxos/app-graph").Relation;
|
|
159
|
+
type?: string;
|
|
160
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
161
|
+
}>[] | (any[] | Readonly<{
|
|
162
|
+
id: string;
|
|
163
|
+
position: import("@dxos/util").Position;
|
|
164
|
+
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
165
|
+
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
166
|
+
relation?: import("@dxos/app-graph").Relation;
|
|
167
|
+
type?: string;
|
|
168
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
169
|
+
}> | Readonly<{
|
|
170
|
+
id: string;
|
|
171
|
+
position: import("@dxos/util").Position;
|
|
172
|
+
resolver?: import("@dxos/app-graph").ResolverExtension;
|
|
173
|
+
connector?: import("@dxos/app-graph").ConnectorExtension;
|
|
174
|
+
relation?: import("@dxos/app-graph").Relation;
|
|
175
|
+
type?: string;
|
|
176
|
+
filter?: (node: import("@dxos/app-graph").Node) => boolean;
|
|
177
|
+
}>[])[])[])[])[])[])[])[])[])[])[]> | import("@dxos/app-framework").AnyCapability[]>>;
|
|
2
178
|
export declare const ReactSurface: (props?: unknown) => Promise<() => Promise<import("@dxos/app-framework").Capability<import("@dxos/app-framework").Capabilities.ReactSurface> | import("@dxos/app-framework").AnyCapability[]>>;
|
|
3
179
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,eAAe;;qBAEypG,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAqF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAwF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAqF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAwF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAqF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAwF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAqF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAwF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAqF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAwF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAqF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAwF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAqF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAwF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAqF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAwF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAqF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAwF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAqF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAwF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAqF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;qFAFp5V,CAAC;AACzE,eAAO,MAAM,YAAY,gMAAwC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"react-surface.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/react-surface.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,YAAY,EAA8B,MAAM,qBAAqB,CAAC;;
|
|
1
|
+
{"version":3,"file":"react-surface.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/react-surface.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,YAAY,EAA8B,MAAM,qBAAqB,CAAC;;AAS/E,wBAqBK"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { type Space, type ReactiveObject } from '@dxos/react-client/echo';
|
|
2
3
|
export type AutomationPanelProps = {
|
|
3
4
|
space: Space;
|
|
4
5
|
object?: ReactiveObject<any>;
|
|
5
6
|
};
|
|
6
|
-
export declare const AutomationPanel: ({ space, object }: AutomationPanelProps) =>
|
|
7
|
+
export declare const AutomationPanel: ({ space, object }: AutomationPanelProps) => React.JSX.Element;
|
|
7
8
|
//# sourceMappingURL=AutomationPanel.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AutomationPanel.d.ts","sourceRoot":"","sources":["../../../../../src/components/AutomationPanel/AutomationPanel.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AutomationPanel.d.ts","sourceRoot":"","sources":["../../../../../src/components/AutomationPanel/AutomationPanel.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAYxC,OAAO,EAA4B,KAAK,KAAK,EAAE,KAAK,cAAc,EAAY,MAAM,yBAAyB,CAAC;AAY9G,MAAM,MAAM,oBAAoB,GAAG;IACjC,KAAK,EAAE,KAAK,CAAC;IACb,MAAM,CAAC,EAAE,cAAc,CAAC,GAAG,CAAC,CAAC;CAC9B,CAAC;AAGF,eAAO,MAAM,eAAe,sBAAuB,oBAAoB,sBAsGtE,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type FunctionTriggerType, type FunctionTrigger } from '@dxos/functions/types';
|
|
2
3
|
import { type Space } from '@dxos/react-client/echo';
|
|
3
4
|
export type TriggerEditorProps = {
|
|
4
5
|
space: Space;
|
|
@@ -6,5 +7,5 @@ export type TriggerEditorProps = {
|
|
|
6
7
|
onSave?: (trigger: Omit<FunctionTrigger, 'id'>) => void;
|
|
7
8
|
onCancel?: () => void;
|
|
8
9
|
};
|
|
9
|
-
export declare const TriggerEditor: ({ space, trigger, onSave, onCancel }: TriggerEditorProps) =>
|
|
10
|
+
export declare const TriggerEditor: ({ space, trigger, onSave, onCancel }: TriggerEditorProps) => React.JSX.Element;
|
|
10
11
|
//# sourceMappingURL=TriggerEditor.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TriggerEditor.d.ts","sourceRoot":"","sources":["../../../../../src/components/TriggerEditor/TriggerEditor.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TriggerEditor.d.ts","sourceRoot":"","sources":["../../../../../src/components/TriggerEditor/TriggerEditor.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAoD,MAAM,OAAO,CAAC;AAGzE,OAAO,EAGL,KAAK,mBAAmB,EACxB,KAAK,eAAe,EAGrB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAoB,KAAK,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAMvE,MAAM,MAAM,kBAAkB,GAAG;IAC/B,KAAK,EAAE,KAAK,CAAC;IACb,OAAO,EAAE,mBAAmB,CAAC;IAC7B,MAAM,CAAC,EAAE,CAAC,OAAO,EAAE,IAAI,CAAC,eAAe,EAAE,IAAI,CAAC,KAAK,IAAI,CAAC;IACxD,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;CACvB,CAAC;AA0BF,eAAO,MAAM,aAAa,yCAA0C,kBAAkB,sBAkFrF,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export * from './TriggerEditor';
|
|
2
|
-
export declare const AutomationPanel: import("react").LazyExoticComponent<({ space, object }: import("./AutomationPanel/AutomationPanel").AutomationPanelProps) => import("react
|
|
2
|
+
export declare const AutomationPanel: import("react").LazyExoticComponent<({ space, object }: import("./AutomationPanel/AutomationPanel").AutomationPanelProps) => import("react").JSX.Element>;
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAMA,cAAc,iBAAiB,CAAC;AAEhC,eAAO,MAAM,eAAe,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAMA,cAAc,iBAAiB,CAAC;AAEhC,eAAO,MAAM,eAAe,2JAA0C,CAAC"}
|
package/dist/types/src/meta.d.ts
CHANGED
|
@@ -1,9 +1,4 @@
|
|
|
1
|
+
import { type PluginMeta } from '@dxos/app-framework';
|
|
1
2
|
export declare const AUTOMATION_PLUGIN = "dxos.org/plugin/automation";
|
|
2
|
-
export declare const meta:
|
|
3
|
-
id: string;
|
|
4
|
-
name: string;
|
|
5
|
-
description: string;
|
|
6
|
-
icon: string;
|
|
7
|
-
source: string;
|
|
8
|
-
};
|
|
3
|
+
export declare const meta: PluginMeta;
|
|
9
4
|
//# sourceMappingURL=meta.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../../src/meta.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../../src/meta.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEtD,eAAO,MAAM,iBAAiB,+BAA+B,CAAC;AAE9D,eAAO,MAAM,IAAI,EAAE,UAOlB,CAAC"}
|
|
@@ -3,6 +3,8 @@ declare const _default: {
|
|
|
3
3
|
"dxos.org/plugin/automation": {
|
|
4
4
|
'plugin name': string;
|
|
5
5
|
'automation panel label': string;
|
|
6
|
+
'script automation label': string;
|
|
7
|
+
'trigger editor title': string;
|
|
6
8
|
'new trigger label': string;
|
|
7
9
|
'trigger type timer': string;
|
|
8
10
|
'trigger type webhook': string;
|
|
@@ -12,9 +14,9 @@ declare const _default: {
|
|
|
12
14
|
'trigger type queue': string;
|
|
13
15
|
'trigger copy url': string;
|
|
14
16
|
'trigger copy email': string;
|
|
15
|
-
'trigger
|
|
16
|
-
'trigger
|
|
17
|
-
'trigger
|
|
17
|
+
'trigger payload add': string;
|
|
18
|
+
'trigger payload remove': string;
|
|
19
|
+
'trigger payload prop name placeholder': string;
|
|
18
20
|
};
|
|
19
21
|
};
|
|
20
22
|
}[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../src/translations.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../src/translations.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAMA,wBA0BE"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dxos/plugin-automation",
|
|
3
|
-
"version": "0.8.1-
|
|
3
|
+
"version": "0.8.1-staging.31c3ee1",
|
|
4
4
|
"description": "Prompt chain plugin",
|
|
5
5
|
"homepage": "https://dxos.org",
|
|
6
6
|
"bugs": "https://github.com/dxos/dxos/issues",
|
|
@@ -26,20 +26,24 @@
|
|
|
26
26
|
],
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@preact/signals-core": "^1.6.0",
|
|
29
|
-
"@dxos/app-framework": "0.8.1-
|
|
30
|
-
"@dxos/async": "0.8.1-
|
|
31
|
-
"@dxos/conductor": "0.8.1-
|
|
32
|
-
"@dxos/echo-schema": "0.8.1-
|
|
33
|
-
"@dxos/
|
|
34
|
-
"@dxos/
|
|
35
|
-
"@dxos/
|
|
36
|
-
"@dxos/
|
|
37
|
-
"@dxos/plugin-
|
|
38
|
-
"@dxos/
|
|
39
|
-
"@dxos/
|
|
40
|
-
"@dxos/
|
|
41
|
-
"@dxos/
|
|
42
|
-
"@dxos/
|
|
29
|
+
"@dxos/app-framework": "0.8.1-staging.31c3ee1",
|
|
30
|
+
"@dxos/async": "0.8.1-staging.31c3ee1",
|
|
31
|
+
"@dxos/conductor": "0.8.1-staging.31c3ee1",
|
|
32
|
+
"@dxos/echo-schema": "0.8.1-staging.31c3ee1",
|
|
33
|
+
"@dxos/invariant": "0.8.1-staging.31c3ee1",
|
|
34
|
+
"@dxos/functions": "0.8.1-staging.31c3ee1",
|
|
35
|
+
"@dxos/live-object": "0.8.1-staging.31c3ee1",
|
|
36
|
+
"@dxos/log": "0.8.1-staging.31c3ee1",
|
|
37
|
+
"@dxos/plugin-client": "0.8.1-staging.31c3ee1",
|
|
38
|
+
"@dxos/plugin-deck": "0.8.1-staging.31c3ee1",
|
|
39
|
+
"@dxos/plugin-graph": "0.8.1-staging.31c3ee1",
|
|
40
|
+
"@dxos/plugin-script": "0.8.1-staging.31c3ee1",
|
|
41
|
+
"@dxos/plugin-space": "0.8.1-staging.31c3ee1",
|
|
42
|
+
"@dxos/react-client": "0.8.1-staging.31c3ee1",
|
|
43
|
+
"@dxos/react-ui-list": "0.8.1-staging.31c3ee1",
|
|
44
|
+
"@dxos/react-ui-form": "0.8.1-staging.31c3ee1",
|
|
45
|
+
"@dxos/react-ui-stack": "0.8.1-staging.31c3ee1",
|
|
46
|
+
"@dxos/util": "0.8.1-staging.31c3ee1"
|
|
43
47
|
},
|
|
44
48
|
"devDependencies": {
|
|
45
49
|
"@types/react": "~18.2.0",
|
|
@@ -47,15 +51,15 @@
|
|
|
47
51
|
"react": "~18.2.0",
|
|
48
52
|
"react-dom": "~18.2.0",
|
|
49
53
|
"vite": "5.4.7",
|
|
50
|
-
"@dxos/
|
|
51
|
-
"@dxos/react-ui
|
|
52
|
-
"@dxos/
|
|
54
|
+
"@dxos/storybook-utils": "0.8.1-staging.31c3ee1",
|
|
55
|
+
"@dxos/react-ui": "0.8.1-staging.31c3ee1",
|
|
56
|
+
"@dxos/react-ui-theme": "0.8.1-staging.31c3ee1"
|
|
53
57
|
},
|
|
54
58
|
"peerDependencies": {
|
|
55
59
|
"react": "~18.2.0",
|
|
56
60
|
"react-dom": "~18.2.0",
|
|
57
|
-
"@dxos/react-ui": "0.8.1-
|
|
58
|
-
"@dxos/react-ui-theme": "0.8.1-
|
|
61
|
+
"@dxos/react-ui": "0.8.1-staging.31c3ee1",
|
|
62
|
+
"@dxos/react-ui-theme": "0.8.1-staging.31c3ee1"
|
|
59
63
|
},
|
|
60
64
|
"publishConfig": {
|
|
61
65
|
"access": "public"
|
package/src/AutomationPlugin.tsx
CHANGED
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
//
|
|
4
4
|
|
|
5
5
|
import { Capabilities, contributes, defineModule, definePlugin, Events } from '@dxos/app-framework';
|
|
6
|
-
import { FunctionType, FunctionTrigger } from '@dxos/functions';
|
|
6
|
+
import { FunctionType, FunctionTrigger } from '@dxos/functions/types';
|
|
7
7
|
import { ClientCapabilities, ClientEvents } from '@dxos/plugin-client';
|
|
8
|
-
import {
|
|
8
|
+
import { SpaceCapabilities, SpaceEvents } from '@dxos/plugin-space';
|
|
9
9
|
|
|
10
|
-
import {
|
|
10
|
+
import { AppGraphBuilder, ReactSurface } from './capabilities';
|
|
11
11
|
import { meta } from './meta';
|
|
12
12
|
import translations from './translations';
|
|
13
13
|
|
|
@@ -24,9 +24,18 @@ export const AutomationPlugin = () =>
|
|
|
24
24
|
activate: () => contributes(ClientCapabilities.Schema, [FunctionType, FunctionTrigger]),
|
|
25
25
|
}),
|
|
26
26
|
defineModule({
|
|
27
|
-
id: `${meta.id}/module/
|
|
28
|
-
activatesOn:
|
|
29
|
-
activate:
|
|
27
|
+
id: `${meta.id}/module/app-graph-builder`,
|
|
28
|
+
activatesOn: Events.SetupAppGraph,
|
|
29
|
+
activate: AppGraphBuilder,
|
|
30
|
+
}),
|
|
31
|
+
defineModule({
|
|
32
|
+
id: `${meta.id}/module/space-settings`,
|
|
33
|
+
activatesOn: SpaceEvents.SetupSettingsPanel,
|
|
34
|
+
activate: () =>
|
|
35
|
+
contributes(SpaceCapabilities.SettingsSection, {
|
|
36
|
+
id: 'automation',
|
|
37
|
+
label: ['automation panel label', { ns: meta.id }],
|
|
38
|
+
}),
|
|
30
39
|
}),
|
|
31
40
|
defineModule({
|
|
32
41
|
id: `${meta.id}/module/react-surface`,
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Copyright 2025 DXOS.org
|
|
3
|
+
//
|
|
4
|
+
|
|
5
|
+
import { Capabilities, contributes, type PluginsContext } from '@dxos/app-framework';
|
|
6
|
+
import { isInstanceOf } from '@dxos/echo-schema';
|
|
7
|
+
import { ScriptType } from '@dxos/functions';
|
|
8
|
+
import { PLANK_COMPANION_TYPE, ATTENDABLE_PATH_SEPARATOR } from '@dxos/plugin-deck/types';
|
|
9
|
+
import { createExtension, type Node } from '@dxos/plugin-graph';
|
|
10
|
+
import { SCRIPT_PLUGIN } from '@dxos/plugin-script/types';
|
|
11
|
+
|
|
12
|
+
import { meta } from '../meta';
|
|
13
|
+
|
|
14
|
+
export default (context: PluginsContext) =>
|
|
15
|
+
contributes(Capabilities.AppGraphBuilder, [
|
|
16
|
+
createExtension({
|
|
17
|
+
id: `${SCRIPT_PLUGIN}/script-companion`,
|
|
18
|
+
filter: (node): node is Node<ScriptType> => isInstanceOf(ScriptType, node.data),
|
|
19
|
+
connector: ({ node }) => [
|
|
20
|
+
{
|
|
21
|
+
id: [node.id, 'automation'].join(ATTENDABLE_PATH_SEPARATOR),
|
|
22
|
+
type: PLANK_COMPANION_TYPE,
|
|
23
|
+
data: 'automation',
|
|
24
|
+
properties: {
|
|
25
|
+
label: ['script automation label', { ns: meta.id }],
|
|
26
|
+
icon: 'ph--lightning--regular',
|
|
27
|
+
},
|
|
28
|
+
},
|
|
29
|
+
],
|
|
30
|
+
}),
|
|
31
|
+
]);
|
|
@@ -4,5 +4,5 @@
|
|
|
4
4
|
|
|
5
5
|
import { lazy } from '@dxos/app-framework';
|
|
6
6
|
|
|
7
|
-
export const
|
|
7
|
+
export const AppGraphBuilder = lazy(() => import('./app-graph-builder'));
|
|
8
8
|
export const ReactSurface = lazy(() => import('./react-surface'));
|