zova-cli-set-front 1.2.95 → 1.2.97
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.
- package/dist/index.js +5 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1992,6 +1992,10 @@ function _patchOpenapiTSOptions(options) {
|
|
|
1992
1992
|
const res = transformCustom(schemaObject, options);
|
|
1993
1993
|
if (res !== undefined) return res;
|
|
1994
1994
|
}
|
|
1995
|
+
// // null
|
|
1996
|
+
// if (schemaObject.type === 'null') {
|
|
1997
|
+
// return NULL;
|
|
1998
|
+
// }
|
|
1995
1999
|
// multipart
|
|
1996
2000
|
if (schemaObject.format === 'binary') {
|
|
1997
2001
|
if (options.path?.includes('multipart~1form-data') || options.path?.includes('application~1octet-stream')) {
|
|
@@ -3185,7 +3189,7 @@ declare module 'zova' {
|
|
|
3185
3189
|
}
|
|
3186
3190
|
${options.locales ? `\nexport function locale<K extends keyof (typeof locales)[TypeLocaleBase]>(key: K): \`${moduleName}::\${K}\` {
|
|
3187
3191
|
return \`${moduleName}::\${key}\`;
|
|
3188
|
-
}` : ''}
|
|
3192
|
+
}` : ''}
|
|
3189
3193
|
/** scope: end */
|
|
3190
3194
|
`;
|
|
3191
3195
|
return content;
|
package/package.json
CHANGED