@executor-js/plugin-graphql 0.0.1-beta.4 → 0.0.1-beta.5
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 +2 -4
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -2,8 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
Introspect a GraphQL endpoint and expose its queries and mutations as invokable tools on an executor.
|
|
4
4
|
|
|
5
|
-
Pairs with [`@executor/sdk`](https://www.npmjs.com/package/@executor/sdk) (promise-based) or [`@executor/core`](https://www.npmjs.com/package/@executor/core) (Effect-based).
|
|
6
|
-
|
|
7
5
|
## Install
|
|
8
6
|
|
|
9
7
|
```sh
|
|
@@ -56,9 +54,9 @@ await executor.graphql.addSource({
|
|
|
56
54
|
});
|
|
57
55
|
```
|
|
58
56
|
|
|
59
|
-
##
|
|
57
|
+
## Using with Effect
|
|
60
58
|
|
|
61
|
-
If you're
|
|
59
|
+
If you're building on `@executor/sdk/core` (the raw Effect entry), import this plugin from its `/core` subpath instead:
|
|
62
60
|
|
|
63
61
|
```ts
|
|
64
62
|
import { graphqlPlugin } from "@executor/plugin-graphql/core";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@executor-js/plugin-graphql",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.1-beta.
|
|
4
|
+
"version": "0.0.1-beta.5",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@effect/platform": "^0.96.0",
|
|
37
37
|
"@effect/platform-node": "^0.106.0",
|
|
38
|
-
"@executor-js/sdk": "0.0.1-beta.
|
|
38
|
+
"@executor-js/sdk": "0.0.1-beta.5",
|
|
39
39
|
"effect": "^3.21.0"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|