Skip to content

Commit beda779

Browse files
committed
Patch cypher query builder to export more
1 parent 5c4728a commit beda779

File tree

3 files changed

+45
-6
lines changed

3 files changed

+45
-6
lines changed

.yarn/patches/cypher-query-builder.patch renamed to .yarn/patches/cypher-query-builder-npm-6.0.4-e8707a5e8e.patch

Lines changed: 40 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
diff --git a/dist/cjs5.js b/dist/cjs5.js
2-
index 2956424bcab153c6d7a6f24f80ae7aac6a82d62a..108858d5ac65801739a3f022b07113ebb0ef68d9 100644
2+
index 2956424bcab153c6d7a6f24f80ae7aac6a82d62a..92921394496f972735ed0ff3ebd6a5c38ae0817f 100644
33
--- a/dist/cjs5.js
44
+++ b/dist/cjs5.js
55
@@ -1006,10 +1006,13 @@ var comparisions = {
@@ -18,6 +18,20 @@ index 2956424bcab153c6d7a6f24f80ae7aac6a82d62a..108858d5ac65801739a3f022b07113eb
1818
return parts.join(' ');
1919
};
2020
}
21+
@@ -3868,4 +3871,13 @@ exports.regexp = regexp;
22+
exports.relation = relation;
23+
exports.startsWith = startsWith;
24+
exports.xor = xor;
25+
+exports.WhereOp = WhereOp;
26+
+exports.stringCons = stringCons;
27+
+exports.Precedence = Precedence;
28+
+exports.Pattern = Pattern;
29+
+exports.PatternClause = PatternClause;
30+
+exports.Parameter = Parameter;
31+
+exports.ParameterBag = ParameterBag;
32+
+exports.ParameterContainer = ParameterContainer;
33+
+exports.TermListClause = TermListClause;
34+
//# sourceMappingURL=cjs5.js.map
2135
diff --git a/dist/typings/builder.d.ts b/dist/typings/builder.d.ts
2236
index 1c17b5c3f0127cd5aaf03185120e7f72321e2805..b91875030036d20f47d4dda0d9e3eeb22bb9949d 100644
2337
--- a/dist/typings/builder.d.ts
@@ -44,6 +58,21 @@ index 1c17b5c3f0127cd5aaf03185120e7f72321e2805..b91875030036d20f47d4dda0d9e3eeb2
4458
/**
4559
* Adds a [skip]{@link https://neo4j.com/docs/developer-manual/current/cypher/clauses/skip}
4660
* clause to the query.
61+
diff --git a/dist/typings/clauses/index.d.ts b/dist/typings/clauses/index.d.ts
62+
index 32d022ed1018f0c30d5033967facb17f4ea9ba6e..bc3b23b44359fb0cdad832da03ed1f11cc30ef54 100644
63+
--- a/dist/typings/clauses/index.d.ts
64+
+++ b/dist/typings/clauses/index.d.ts
65+
@@ -20,6 +20,10 @@ export { OrderBy } from './order-by';
66+
export { Merge } from './merge';
67+
export { OnMatch } from './on-match';
68+
export { OnCreate } from './on-create';
69+
+export { Pattern } from './pattern';
70+
+export { PatternClause } from './pattern-clause';
71+
+export { TermListClause } from './term-list-clause';
72+
+export {WhereOp, stringCons, Precedence} from './where-utils';
73+
export { and, or, xor, not, operators } from './where-operators';
74+
export { equals, greaterThan, greaterEqualTo, lessThan, lessEqualTo, startsWith, endsWith, contains, inArray, hasLabel, exists, between, isNull, regexp, comparisions, } from './where-comparators';
75+
/**
4776
diff --git a/dist/typings/clauses/where-comparators.d.ts b/dist/typings/clauses/where-comparators.d.ts
4877
index 386c07740c1a24bf3194e5fc59c390b3da500266..1a3027df7872fecbe7df4bd0f6d5c11bac637df6 100644
4978
--- a/dist/typings/clauses/where-comparators.d.ts
@@ -78,6 +107,16 @@ index ad53c58fc2a173403b0ad584ea95c1c26a579538..cc36d50cc8f577e2debe6043fa998e1e
78107
- stream<R = any>(query: Query): Observable<Dictionary<R>>;
79108
+ stream<R>(query: Query<R>): Observable<R>;
80109
}
110+
diff --git a/dist/typings/index.d.ts b/dist/typings/index.d.ts
111+
index e048614470c60a98cb4f34fd2e34b441d9b3befa..713aa03f4814f4913152870eac1ca413ad1e0026 100644
112+
--- a/dist/typings/index.d.ts
113+
+++ b/dist/typings/index.d.ts
114+
@@ -5,3 +5,5 @@ export * from './clause-collection';
115+
export * from './clauses';
116+
export * from './query';
117+
export * from './transformer';
118+
+export {Parameter, ParameterBag} from './parameter-bag';
119+
+export {ParameterContainer} from './parameter-container';
81120
diff --git a/dist/typings/query.d.ts b/dist/typings/query.d.ts
82121
index b31088b60c221927a701e16f03e4a3ffcfddb19f..4e1d858d9b089f915238c955e532ddefd928a0db 100644
83122
--- a/dist/typings/query.d.ts

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
"clipanion": "^4.0.0-rc.3",
6060
"common-tags": "^1.8.2",
6161
"cookie-parser": "^1.4.6",
62-
"cypher-query-builder": "patch:cypher-query-builder@6.0.4#.yarn/patches/cypher-query-builder.patch",
62+
"cypher-query-builder": "patch:cypher-query-builder@npm%3A6.0.4#~/.yarn/patches/cypher-query-builder-npm-6.0.4-e8707a5e8e.patch",
6363
"dotenv": "^16.3.1",
6464
"dotenv-expand": "^10.0.0",
6565
"edgedb": "^1.6.0-canary.20240506T235920",

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5386,7 +5386,7 @@ __metadata:
53865386
clipanion: "npm:^4.0.0-rc.3"
53875387
common-tags: "npm:^1.8.2"
53885388
cookie-parser: "npm:^1.4.6"
5389-
cypher-query-builder: "patch:cypher-query-builder@6.0.4#.yarn/patches/cypher-query-builder.patch"
5389+
cypher-query-builder: "patch:cypher-query-builder@npm%3A6.0.4#~/.yarn/patches/cypher-query-builder-npm-6.0.4-e8707a5e8e.patch"
53905390
debugger-is-attached: "npm:^1.2.0"
53915391
dotenv: "npm:^16.3.1"
53925392
dotenv-expand: "npm:^10.0.0"
@@ -5589,9 +5589,9 @@ __metadata:
55895589
languageName: node
55905590
linkType: hard
55915591

5592-
"cypher-query-builder@patch:cypher-query-builder@6.0.4#.yarn/patches/cypher-query-builder.patch::locator=cord-api-v3%40workspace%3A.":
5592+
"cypher-query-builder@patch:cypher-query-builder@npm%3A6.0.4#~/.yarn/patches/cypher-query-builder-npm-6.0.4-e8707a5e8e.patch":
55935593
version: 6.0.4
5594-
resolution: "cypher-query-builder@patch:cypher-query-builder@npm%3A6.0.4#.yarn/patches/cypher-query-builder.patch::version=6.0.4&hash=4dba1c&locator=cord-api-v3%40workspace%3A."
5594+
resolution: "cypher-query-builder@patch:cypher-query-builder@npm%3A6.0.4#~/.yarn/patches/cypher-query-builder-npm-6.0.4-e8707a5e8e.patch::version=6.0.4&hash=5ae1ee"
55955595
dependencies:
55965596
"@types/lodash": "npm:^4.14.136"
55975597
"@types/node": "npm:^12.6.1"
@@ -5600,7 +5600,7 @@ __metadata:
56005600
node-cleanup: "npm:^2.1.2"
56015601
rxjs: "npm:^6.5.2"
56025602
tslib: "npm:^1.10.0"
5603-
checksum: 10c0/3d1e45fd19a40019426051f272a5455e8745a659dec80f0f0d64e39757249bf13f52c2a42f7525880af6c6327dd5fcfff55d9bb447f4e27c3360a3f71a23adf4
5603+
checksum: 10c0/018f61a14d85d2b82e403baa48ce6455cd7c7992cd1c70bbe6ad6c6b40b7a7fb8fd0acb78446513ef3e431e6f345ca41325425c324ca4263215bf9bbce7e01cb
56045604
languageName: node
56055605
linkType: hard
56065606

0 commit comments

Comments
 (0)