@naiv/codegen-axios-client 0.0.10 → 0.0.12

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.
@@ -89,6 +89,7 @@ function mapSQLTypeToJSType(type) {
89
89
  case 'serial2':
90
90
  case 'serial':
91
91
  case 'serial4':
92
+ case 'tinyint':
92
93
  return 'number';
93
94
  case 'text':
94
95
  return 'string';
@@ -110,6 +111,11 @@ function mapSQLTypeToJSType(type) {
110
111
  return 'number';
111
112
  case 'time':
112
113
  case 'timestamp':
114
+ case 'abstime':
115
+ case 'datetime':
116
+ case 'interval':
117
+ case 'reltime':
118
+ case 'timespan':
113
119
  return 'Date';
114
120
  }
115
121
  throw new Error(`unsupported data type '${type.type}'`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@naiv/codegen-axios-client",
3
- "version": "0.0.10",
3
+ "version": "0.0.12",
4
4
  "main": "dist/index.js",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -28,7 +28,7 @@
28
28
  "typescript": "^5.6.3"
29
29
  },
30
30
  "dependencies": {
31
- "@naiv/core": "^0.0.13",
31
+ "@naiv/core": "^0.0.14",
32
32
  "arg": "^5.0.2",
33
33
  "lodash": "^4.17.21"
34
34
  }