@omnifyjp/ts 8.0.4 → 8.0.5

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/generator.js CHANGED
@@ -293,7 +293,7 @@ export function emptyLocaleMap(): Record<Locale, string> {
293
293
  * undefined are skipped so update payloads only include touched fields.
294
294
  */
295
295
  export function buildI18nPayload(
296
- fields: Record<string, Record<string, string> | undefined>,
296
+ fields: Record<string, Partial<Record<string, string>> | undefined>,
297
297
  ): Record<Locale, Record<string, string>> {
298
298
  const out = {} as Record<Locale, Record<string, string>>;
299
299
  for (const locale of SUPPORTED_LOCALES) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@omnifyjp/ts",
3
- "version": "8.0.4",
3
+ "version": "8.0.5",
4
4
  "description": "TypeScript model type generator from Omnify schemas.json",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",