vona-module-a-openapi 5.0.34 → 5.0.36

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/dist/index.js +1 -1
  2. package/package.json +1 -2
package/dist/index.js CHANGED
@@ -725,7 +725,7 @@ function schemaRegex(regex, params) {
725
725
  function schemaTableIdentity() {
726
726
  const app = useApp();
727
727
  const ormConfig = app.util.getModuleConfigRaw('a-orm');
728
- const _identityType = ormConfig?.table.identityType ?? 'string';
728
+ const _identityType = ormConfig?.table?.identityType ?? 'string';
729
729
  return function (_schema) {
730
730
  if (_identityType === 'string') {
731
731
  return z.string();
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vona-module-a-openapi",
3
3
  "type": "module",
4
- "version": "5.0.34",
4
+ "version": "5.0.36",
5
5
  "title": "a-openapi",
6
6
  "vonaModule": {
7
7
  "capabilities": {
@@ -35,7 +35,6 @@
35
35
  "static"
36
36
  ],
37
37
  "dependencies": {
38
- "@cabloy/zod-errors-custom": "^2.0.2",
39
38
  "@cabloy/zod-openapi": "^1.0.2",
40
39
  "@cabloy/zod-query": "^2.0.1",
41
40
  "@cabloy/zod-to-openapi": "^8.1.1",