@hazeljs/graphql 0.7.8 → 0.8.0
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 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -111,6 +111,7 @@ const result = await client.mutate(`
|
|
|
111
111
|
## Decorators Reference
|
|
112
112
|
|
|
113
113
|
### Server
|
|
114
|
+
|
|
114
115
|
- `@ObjectType(name?)` - Mark class as GraphQL object type
|
|
115
116
|
- `@Field(name?)` - Mark property/method as field
|
|
116
117
|
- `@Resolver(name?)` - Mark class as resolver
|
|
@@ -119,6 +120,7 @@ const result = await client.mutate(`
|
|
|
119
120
|
- `@Arg(name, type?)` - Mark parameter as GraphQL argument
|
|
120
121
|
|
|
121
122
|
### Client
|
|
123
|
+
|
|
122
124
|
- `@GraphQLClientClass(url, headers?)` - Mark class as GraphQL client
|
|
123
125
|
- `@GraphQLQuery()` - Mark method as query executor
|
|
124
126
|
- `@GraphQLMutation()` - Mark method as mutation executor
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hazeljs/graphql",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.0",
|
|
4
4
|
"description": "GraphQL server and client for HazelJS - decorator-based schema and typed client",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -52,5 +52,5 @@
|
|
|
52
52
|
"url": "https://github.com/hazeljs/hazel-js/issues"
|
|
53
53
|
},
|
|
54
54
|
"homepage": "https://hazeljs.ai",
|
|
55
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "e0ed98ca074dd4f7472816d3c32ef576900dcca6"
|
|
56
56
|
}
|