Commit 5248e77 1 parent 516db92 commit 5248e77 Copy full SHA for 5248e77
File tree 3 files changed +29
-2
lines changed
3 files changed +29
-2
lines changed Original file line number Diff line number Diff line change 1
- import Geometry from "@arcgis/core/geometry/Geometry" ;
2
1
import type { IActivityHandler } from "@vertigis/workflow" ;
3
2
import { getSegmentsForRoute } from "../utils/geometryUtils" ;
4
3
import { LinearReferencingConfig } from "../models/LinearReferencingConfig" ;
@@ -30,7 +29,7 @@ interface GetCurrentRouteGeometryOutputs {
30
29
/**
31
30
* @description The result of the activity.
32
31
*/
33
- geometry : Geometry | Geometry [ ] ;
32
+ geometry : __esri . Geometry | __esri . Geometry [ ] ;
34
33
}
35
34
36
35
/**
Original file line number Diff line number Diff line change
1
+ import type { IActivityHandler } from "@vertigis/workflow" ;
2
+ import { IActivityContext } from "@vertigis/workflow/IActivityHandler" ;
3
+
4
+ /** An interface that defines the inputs of the activity. */
5
+ interface SetFeatureSetForDataSourceInputs {
6
+
7
+ /**
8
+ * @displayName FeatureSet
9
+ * @description The FeatureSet that will be used by the data source.
10
+ * @required
11
+ */
12
+ featureSet : __esri . FeatureSet ;
13
+ }
14
+
15
+ /**
16
+ * @displayName Set FeatureSet For Data Source
17
+ * @category VertiGIS Inline
18
+ * @description Designate a FeatureSet to be used in an Inline data source.
19
+ */
20
+ export default class SetFeatureSetForDataSourceActivity implements IActivityHandler {
21
+ /** Perform the execution logic of the activity. */
22
+ execute ( inputs : SetFeatureSetForDataSourceInputs , context : IActivityContext ) {
23
+ context . ambient . outputs [ "featureSet" ] = inputs . featureSet ;
24
+ return { } ;
25
+ }
26
+ }
Original file line number Diff line number Diff line change 2
2
export { default as GetMValuesFromCoordinatesActivity } from "./activities/GetMValuesFromCoordinates" ;
3
3
4
4
export { default as GetCurrentRouteGeometryActivity } from "./activities/GetCurrentRouteGeometry" ;
5
+
6
+ export { default as SetFeatureSetForDataSourceActivity } from "./activities/SetFeatureSetForDataSource" ;
You can’t perform that action at this time.
0 commit comments