|
@@ -0,0 +1,17 @@
|
|
|
+/**
|
|
|
+ * Copyright (c) 2019 mol* contributors, licensed under MIT, See LICENSE file for more info.
|
|
|
+ *
|
|
|
+ * @author David Sehnal <david.sehnal@gmail.com>
|
|
|
+ */
|
|
|
+
|
|
|
+// TODO: primites
|
|
|
+
|
|
|
+// import { StateObject, State, StateObjectCell, StateBuilder, StateTransformer } from '../../../mol-state';
|
|
|
+// import { RuntimeContext } from '../../../mol-task';
|
|
|
+// import { PluginContext } from '../../context';
|
|
|
+
|
|
|
+// export type StateAction<P = any, O extends StateObject = StateObject, R = {}> =
|
|
|
+// (ctx: RuntimeContext, state: State, cell: StateObjectCell<O>, params: P, plugin: PluginContext) => Promise<R> | R;
|
|
|
+
|
|
|
+// export type BuilderAction<P = any, O extends StateObject = StateObject, T extends StateTransformer = StateTransformer, R = {}> =
|
|
|
+// (builder: StateBuilder.To<O, T>, params: P, plugin: PluginContext) => R;
|