easyeda 0.0.169 → 0.0.170

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.
@@ -3052,14 +3052,14 @@ var OwnerSchema = z86.object({
3052
3052
  avatar: z86.string()
3053
3053
  });
3054
3054
  var HeadSchema = z86.object({
3055
- docType: z86.string(),
3055
+ docType: z86.union([z86.string(), z86.number()]).transform((val) => val.toString()),
3056
3056
  editorVersion: z86.string(),
3057
3057
  c_para: z86.record(z86.string(), z86.union([z86.string(), z86.null()])),
3058
3058
  x: z86.number(),
3059
3059
  y: z86.number(),
3060
3060
  puuid: z86.string().optional(),
3061
3061
  uuid: z86.string(),
3062
- utime: z86.number(),
3062
+ utime: z86.union([z86.string(), z86.number()]).transform((val) => val === "" ? 0 : Number(val)),
3063
3063
  importFlag: z86.number().optional(),
3064
3064
  c_spiceCmd: z86.any().optional(),
3065
3065
  hasIdFlag: z86.boolean()
@@ -3423,4 +3423,4 @@ export {
3423
3423
  convertRawEasyToTsx,
3424
3424
  convertEasyEdaJsonToVariousFormats
3425
3425
  };
3426
- //# sourceMappingURL=chunk-UZ5L5YJS.js.map
3426
+ //# sourceMappingURL=chunk-5J7QOD5Y.js.map