graphile-plugin-fulltext-filter 2.0.1 → 2.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -3
- package/package.json +11 -11
package/README.md
CHANGED
|
@@ -9,9 +9,10 @@
|
|
|
9
9
|
<img height="20" src="https://github.com/launchql/launchql/actions/workflows/run-tests.yaml/badge.svg" />
|
|
10
10
|
</a>
|
|
11
11
|
<a href="https://github.com/launchql/launchql/blob/main/LICENSE"><img height="20" src="https://img.shields.io/badge/license-MIT-blue.svg"/></a>
|
|
12
|
+
<a href="https://www.npmjs.com/package/graphile-plugin-fulltext-filter"><img height="20" src="https://img.shields.io/github/package-json/v/launchql/launchql?filename=graphile%2Fgraphile-plugin-fulltext-filter%2Fpackage.json"/></a>
|
|
12
13
|
</p>
|
|
13
14
|
|
|
14
|
-
Full text searching on `tsvector` fields for use with `
|
|
15
|
+
Full text searching on `tsvector` fields for use with `graphile-plugin-connection-filter`. This plugin implements a full text search operator for `tsvector` columns in PostGraphile v4.
|
|
15
16
|
|
|
16
17
|
## Install
|
|
17
18
|
|
|
@@ -24,7 +25,7 @@ pnpm add graphile-plugin-fulltext-filter
|
|
|
24
25
|
### CLI
|
|
25
26
|
|
|
26
27
|
```bash
|
|
27
|
-
postgraphile --append-plugins
|
|
28
|
+
postgraphile --append-plugins graphile-plugin-connection-filter,graphile-plugin-fulltext-filter
|
|
28
29
|
```
|
|
29
30
|
|
|
30
31
|
See [here](https://www.graphile.org/postgraphile/extending/#loading-additional-plugins) for more information about loading plugins with PostGraphile.
|
|
@@ -34,7 +35,7 @@ See [here](https://www.graphile.org/postgraphile/extending/#loading-additional-p
|
|
|
34
35
|
```js
|
|
35
36
|
const express = require('express');
|
|
36
37
|
const { postgraphile } = require('postgraphile');
|
|
37
|
-
const PostGraphileConnectionFilterPlugin = require('
|
|
38
|
+
const PostGraphileConnectionFilterPlugin = require('graphile-plugin-connection-filter');
|
|
38
39
|
const FulltextFilterPlugin = require('graphile-plugin-fulltext-filter');
|
|
39
40
|
|
|
40
41
|
const app = express();
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "graphile-plugin-fulltext-filter",
|
|
3
|
-
"version": "2.0.
|
|
4
|
-
"description": "Full text searching on tsvector fields for use with
|
|
3
|
+
"version": "2.0.2",
|
|
4
|
+
"description": "Full text searching on tsvector fields for use with graphile-plugin-connection-filter",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "esm/index.js",
|
|
7
7
|
"types": "index.d.ts",
|
|
@@ -42,19 +42,19 @@
|
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"graphile-build": "^4.14.1",
|
|
44
44
|
"graphile-build-pg": "^4.14.1",
|
|
45
|
-
"
|
|
46
|
-
"
|
|
45
|
+
"graphile-plugin-connection-filter": "^2.3.1",
|
|
46
|
+
"pg-tsquery": "^8.1.0"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
|
-
"
|
|
50
|
-
"postgraphile-
|
|
49
|
+
"graphile-plugin-connection-filter": "workspace:^",
|
|
50
|
+
"postgraphile-core": "^4.2.0"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"graphile-
|
|
53
|
+
"graphile-plugin-connection-filter": "workspace:^",
|
|
54
|
+
"graphile-test": "^2.8.9",
|
|
54
55
|
"graphql": "15.10.1",
|
|
55
|
-
"makage": "^0.1.
|
|
56
|
-
"pgsql-test": "^2.14.
|
|
57
|
-
"postgraphile-plugin-connection-filter": "^2.0.0"
|
|
56
|
+
"makage": "^0.1.8",
|
|
57
|
+
"pgsql-test": "^2.14.12"
|
|
58
58
|
},
|
|
59
|
-
"gitHead": "
|
|
59
|
+
"gitHead": "3812f24a480b2035b3413ec7fecfe492f294e590"
|
|
60
60
|
}
|