Skip to content

Commit ea6a745

Browse files
committed
refactor(api): remove "Turf" tag from geo nodes
1 parent 40068a6 commit ea6a745

12 files changed

Lines changed: 6 additions & 12 deletions

apps/api/src/nodes/geo/bbox-node.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ describe("BboxNode", () => {
2727
expect(BboxNode.nodeType.name).toBe("Bounding Box");
2828
expect(BboxNode.nodeType.type).toBe("bbox");
2929
expect(BboxNode.nodeType.tags).toContain("Geo");
30-
expect(BboxNode.nodeType.tags).toContain("Turf");
3130
});
3231

3332
it("should have correct inputs", () => {

apps/api/src/nodes/geo/bbox-node.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export class BboxNode extends ExecutableNode {
1111
type: "bbox",
1212
description:
1313
"Calculates the bounding box of any GeoJSON feature in [minX, minY, maxX, maxY] format.",
14-
tags: ["Geo", "Turf"],
14+
tags: ["Geo"],
1515
icon: "square-dashed",
1616
inlinable: true,
1717
inputs: [

apps/api/src/nodes/geo/bbox-polygon-node.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ describe("BboxPolygonNode", () => {
2727
expect(BboxPolygonNode.nodeType.name).toBe("Bbox Polygon");
2828
expect(BboxPolygonNode.nodeType.type).toBe("bboxPolygon");
2929
expect(BboxPolygonNode.nodeType.tags).toContain("Geo");
30-
expect(BboxPolygonNode.nodeType.tags).toContain("Turf");
3130
});
3231

3332
it("should have correct inputs", () => {

apps/api/src/nodes/geo/bbox-polygon-node.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export class BboxPolygonNode extends ExecutableNode {
1010
name: "Bbox Polygon",
1111
type: "bboxPolygon",
1212
description: "Takes a bbox and returns an equivalent polygon.",
13-
tags: ["Geo", "Turf"],
13+
tags: ["Geo"],
1414
icon: "square",
1515
inlinable: true,
1616
inputs: [

apps/api/src/nodes/geo/boolean-crosses-node.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,6 @@ describe("BooleanCrossesNode", () => {
271271
expect(BooleanCrossesNode.nodeType.name).toBe("Boolean Crosses");
272272
expect(BooleanCrossesNode.nodeType.type).toBe("booleanCrosses");
273273
expect(BooleanCrossesNode.nodeType.tags).toContain("Geo");
274-
expect(BooleanCrossesNode.nodeType.tags).toContain("Turf");
275274
});
276275

277276
it("should have correct input definitions", () => {

apps/api/src/nodes/geo/boolean-crosses-node.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export class BooleanCrossesNode extends ExecutableNode {
1111
type: "booleanCrosses",
1212
description:
1313
"Tests whether two geometries cross each other (intersect but do not contain each other).",
14-
tags: ["Geo", "Turf"],
14+
tags: ["Geo"],
1515
icon: "x",
1616
inlinable: true,
1717
inputs: [

apps/api/src/nodes/geo/boolean-overlap-node.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,6 @@ describe("BooleanOverlapNode", () => {
233233
"Compares two geometries of the same dimension"
234234
);
235235
expect(nodeType.tags).toContain("Geo");
236-
expect(nodeType.tags).toContain("Turf");
237236
});
238237

239238
it("should have correct input definitions", () => {

apps/api/src/nodes/geo/boolean-overlap-node.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export class BooleanOverlapNode extends ExecutableNode {
1111
type: "booleanOverlap",
1212
description:
1313
"Compares two geometries of the same dimension and returns true if their intersection set results in a geometry different from both but of the same dimension. Applies to Polygon/Polygon, LineString/LineString, Multipoint/Multipoint, MultiLineString/MultiLineString and MultiPolygon/MultiPolygon.",
14-
tags: ["Geo", "Turf"],
14+
tags: ["Geo"],
1515
icon: "intersect",
1616
inlinable: true,
1717
inputs: [

apps/api/src/nodes/geo/linestring-node.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ describe("LineStringNode", () => {
2727
expect(LineStringNode.nodeType.name).toBe("LineString");
2828
expect(LineStringNode.nodeType.type).toBe("lineString");
2929
expect(LineStringNode.nodeType.tags).toContain("Geo");
30-
expect(LineStringNode.nodeType.tags).toContain("Turf");
3130
});
3231

3332
it("should have correct inputs", () => {

apps/api/src/nodes/geo/linestring-node.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export class LineStringNode extends ExecutableNode {
1111
type: "lineString",
1212
description:
1313
"Creates a LineString feature from an array of coordinate pairs.",
14-
tags: ["Geo", "Turf"],
14+
tags: ["Geo"],
1515
icon: "route",
1616
inlinable: true,
1717
inputs: [

0 commit comments

Comments
 (0)