@kubun/graphql 0.13.1 → 0.14.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.
Files changed (2) hide show
  1. package/lib/schema.js +3 -2
  2. package/package.json +10 -10
package/lib/schema.js CHANGED
@@ -858,12 +858,13 @@ export class SchemaBuilder {
858
858
  fields: queryFields
859
859
  }),
860
860
  // Ensure custom scalars stay reachable from the schema typeMap so plugin
861
- // SDL extensions can reference them by name (URL, DID, DateTimeISO)
861
+ // SDL extensions can reference them by name (URL, DID, DateTimeISO, JSON)
862
862
  // regardless of whether any model field happens to use them.
863
863
  types: [
864
864
  GraphQLURL,
865
865
  GraphQLDID,
866
- GraphQLDateTimeISO
866
+ GraphQLDateTimeISO,
867
+ GraphQLJSON
867
868
  ]
868
869
  };
869
870
  if (this._includeMutations) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kubun/graphql",
3
- "version": "0.13.1",
3
+ "version": "0.14.0",
4
4
  "keywords": [],
5
5
  "license": "see LICENSE.md",
6
6
  "sideEffects": false,
@@ -15,6 +15,10 @@
15
15
  "LICENSE.md"
16
16
  ],
17
17
  "dependencies": {
18
+ "@kubun/hlc": "^0.14.0",
19
+ "@kubun/id": "^0.14.0",
20
+ "@kubun/logger": "^0.14.0",
21
+ "@kubun/protocol": "^0.14.0",
18
22
  "@sozai/async": "^0.2.1",
19
23
  "@sozai/codec": "^0.4.0",
20
24
  "@sozai/event": "^0.1.3",
@@ -23,19 +27,15 @@
23
27
  "graphql": "^16.14.2",
24
28
  "graphql-relay": "^0.10.2",
25
29
  "graphql-scalars": "^2.0.0",
26
- "multiformats": "^14.0.5",
27
- "@kubun/hlc": "^0.13.0",
28
- "@kubun/logger": "^0.13.0",
29
- "@kubun/id": "^0.13.0",
30
- "@kubun/protocol": "^0.13.1"
30
+ "multiformats": "^14.0.5"
31
31
  },
32
32
  "devDependencies": {
33
33
  "@kokuin/capability": "^0.3.0",
34
34
  "@kokuin/token": "^0.5.0",
35
- "@kubun/db": "^0.13.0",
36
- "@kubun/db-better-sqlite": "^0.13.0",
37
- "@kubun/scalars": "^0.13.0",
38
- "@kubun/store-graph": "^0.13.1",
35
+ "@kubun/db": "^0.14.0",
36
+ "@kubun/db-better-sqlite": "^0.14.0",
37
+ "@kubun/scalars": "^0.14.0",
38
+ "@kubun/store-graph": "^0.14.0",
39
39
  "@kubun/test-utils": "^0.13.0"
40
40
  },
41
41
  "publishConfig": {