@updog/data-editor 0.1.35 → 0.1.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 (3) hide show
  1. package/index.d.ts +4 -4
  2. package/index.js +2964 -2939
  3. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -1110,11 +1110,11 @@ type ImportMappings = {
1110
1110
  /** Number format detected from the file contents. Affects how `"1.234,56"` vs `"1,234.56"` is read. */
1111
1111
  numberFormat: "EU" | "US";
1112
1112
  /**
1113
- * Per-column date disambiguation. Key = CSV header (not column ID).
1114
- * `"EU"` = day-first, `"US"` = month-first.
1115
- * Only includes columns where the format was ambiguous and had to be resolved.
1113
+ * Date order detected from the file's date columns. `"EU"` = day-first,
1114
+ * `"US"` = month-first. One verdict for the file, since date order follows
1115
+ * the source locale; ISO values are parsed regardless of this.
1116
1116
  */
1117
- dateFormats: Record<string, "EU" | "US">;
1117
+ dateFormat: "EU" | "US";
1118
1118
  /**
1119
1119
  * Columns the user created during import for unmatched headers.
1120
1120
  * These don't exist in your schema yet — you decide whether to persist them.