vona-module-a-openapi 5.0.40 → 5.0.41

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 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -768,9 +768,7 @@ function schemaTableIdentity() {
768
768
  const ormConfig = app.util.getModuleConfigRaw('a-orm');
769
769
  const _identityType = ormConfig?.table?.identityType ?? 'bigint';
770
770
  return function (_schema) {
771
- if (_identityType === 'string') {
772
- return z.string();
773
- } else if (_identityType === 'number') {
771
+ if (_identityType === 'number') {
774
772
  return z.number();
775
773
  } else if (_identityType === 'bigint') {
776
774
  return z.string().regex(/^\d+$/);
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.40",
4
+ "version": "5.0.41",
5
5
  "title": "a-openapi",
6
6
  "vonaModule": {
7
7
  "capabilities": {