Skip to content

Commit a4cbaf0

Browse files
authored
Merge pull request #569 from neo4j/remove-operation
Remove type Cypher.Operation
2 parents e1f24a4 + 9f56213 commit a4cbaf0

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

.changeset/all-signs-live.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@neo4j/cypher-builder": major
3+
---
4+
5+
Remove type `Cypher.Operation` in favor of `Cypher.Expr`

src/Cypher.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ export type { PathAssign } from "./pattern/PathAssign";
190190
export type { InputArgument } from "./procedures/CypherProcedure";
191191
export type { Yield, YieldProjectionColumn } from "./procedures/Yield";
192192
export type { Label } from "./references/Label";
193-
export type { CypherResult, Expr, NormalizationType, Operation, Predicate } from "./types";
193+
export type { CypherResult, Expr, NormalizationType, Predicate } from "./types";
194194

195195
/**
196196
* Utility functions

src/types.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,6 @@ import type { Literal } from "./references/Literal";
4141
import type { PropertyRef } from "./references/PropertyRef";
4242
import type { Variable } from "./references/Variable";
4343

44-
/**
45-
* @group Expressions
46-
* @deprecated This type will no longer be exported, use {@link Expr} instead
47-
*/
48-
export type Operation = BooleanOp | ComparisonOp | MathOp | ConcatOp;
49-
5044
/** Represents a Cypher Expression
5145
* @group Expressions
5246
* @see {@link https://neo4j.com/docs/cypher-manual/current/syntax/expressions/ | Cypher Documentation}

0 commit comments

Comments
 (0)