@platformatic/sql-graphql 3.52.3 → 3.53.0-alpha.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/utils.js +2 -0
  2. package/package.json +5 -5
package/lib/utils.js CHANGED
@@ -61,6 +61,8 @@ export function sqlTypeToGraphQL (sqlType) {
61
61
  return GraphQLJSONObject
62
62
  case 'jsonb':
63
63
  return GraphQLJSONObject
64
+ case 'vector':
65
+ return new graphql.GraphQLList(graphql.GraphQLFloat)
64
66
  default:
65
67
  return graphql.GraphQLString
66
68
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platformatic/sql-graphql",
3
- "version": "3.52.3",
3
+ "version": "3.53.0-alpha.0",
4
4
  "description": "Map SQL dbs to GraphQL",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -27,9 +27,9 @@
27
27
  "typescript": "^5.5.4",
28
28
  "why-is-node-running": "^2.2.2",
29
29
  "ws": "^8.16.0",
30
- "@platformatic/sql-events": "3.52.3",
31
- "@platformatic/sql-mapper": "3.52.3",
32
- "@platformatic/telemetry": "3.52.3"
30
+ "@platformatic/sql-mapper": "3.53.0-alpha.0",
31
+ "@platformatic/sql-events": "3.53.0-alpha.0",
32
+ "@platformatic/telemetry": "3.53.0-alpha.0"
33
33
  },
34
34
  "dependencies": {
35
35
  "@fastify/error": "^4.0.0",
@@ -41,7 +41,7 @@
41
41
  "graphql-type-json": "^0.3.2",
42
42
  "inflected": "^2.1.0",
43
43
  "mercurius": "^16.0.0",
44
- "@platformatic/foundation": "3.52.3"
44
+ "@platformatic/foundation": "3.53.0-alpha.0"
45
45
  },
46
46
  "engines": {
47
47
  "node": ">=22.19.0"