@axiom-lattice/core 4.0.1 → 4.1.0

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.d.mts CHANGED
@@ -1295,6 +1295,8 @@ interface FileInfo {
1295
1295
  size?: number;
1296
1296
  /** ISO 8601 timestamp of last modification */
1297
1297
  modified_at?: string;
1298
+ /** ISO 8601 timestamp of creation (where the underlying store provides it) */
1299
+ created_at?: string;
1298
1300
  }
1299
1301
  /**
1300
1302
  * Structured grep match entry.
package/dist/index.d.ts CHANGED
@@ -1295,6 +1295,8 @@ interface FileInfo {
1295
1295
  size?: number;
1296
1296
  /** ISO 8601 timestamp of last modification */
1297
1297
  modified_at?: string;
1298
+ /** ISO 8601 timestamp of creation (where the underlying store provides it) */
1299
+ created_at?: string;
1298
1300
  }
1299
1301
  /**
1300
1302
  * Structured grep match entry.
package/dist/index.js CHANGED
@@ -9832,7 +9832,8 @@ var StateBackend = class {
9832
9832
  path: k,
9833
9833
  is_dir: false,
9834
9834
  size,
9835
- modified_at: fd.modified_at
9835
+ modified_at: fd.modified_at,
9836
+ created_at: fd.created_at
9836
9837
  });
9837
9838
  }
9838
9839
  for (const subdir of Array.from(subdirs).sort()) {
@@ -9840,7 +9841,8 @@ var StateBackend = class {
9840
9841
  path: subdir,
9841
9842
  is_dir: true,
9842
9843
  size: 0,
9843
- modified_at: ""
9844
+ modified_at: "",
9845
+ created_at: ""
9844
9846
  });
9845
9847
  }
9846
9848
  infos.sort((a, b) => a.path.localeCompare(b.path));
@@ -18707,7 +18709,8 @@ var StoreBackend = class {
18707
18709
  path: itemKey,
18708
18710
  is_dir: false,
18709
18711
  size,
18710
- modified_at: fd.modified_at
18712
+ modified_at: fd.modified_at,
18713
+ created_at: fd.created_at
18711
18714
  });
18712
18715
  } catch {
18713
18716
  continue;
@@ -18718,7 +18721,8 @@ var StoreBackend = class {
18718
18721
  path: subdir,
18719
18722
  is_dir: true,
18720
18723
  size: 0,
18721
- modified_at: ""
18724
+ modified_at: "",
18725
+ created_at: ""
18722
18726
  });
18723
18727
  }
18724
18728
  infos.sort((a, b) => a.path.localeCompare(b.path));
@@ -19025,14 +19029,16 @@ var FilesystemBackend = class {
19025
19029
  path: fullPath,
19026
19030
  is_dir: false,
19027
19031
  size: entryStat.size,
19028
- modified_at: entryStat.mtime.toISOString()
19032
+ modified_at: entryStat.mtime.toISOString(),
19033
+ created_at: entryStat.birthtime.toISOString()
19029
19034
  });
19030
19035
  } else if (isDir) {
19031
19036
  results.push({
19032
19037
  path: fullPath + path4.sep,
19033
19038
  is_dir: true,
19034
19039
  size: 0,
19035
- modified_at: entryStat.mtime.toISOString()
19040
+ modified_at: entryStat.mtime.toISOString(),
19041
+ created_at: entryStat.birthtime.toISOString()
19036
19042
  });
19037
19043
  }
19038
19044
  } else {
@@ -19051,14 +19057,16 @@ var FilesystemBackend = class {
19051
19057
  path: virtPath,
19052
19058
  is_dir: false,
19053
19059
  size: entryStat.size,
19054
- modified_at: entryStat.mtime.toISOString()
19060
+ modified_at: entryStat.mtime.toISOString(),
19061
+ created_at: entryStat.birthtime.toISOString()
19055
19062
  });
19056
19063
  } else if (isDir) {
19057
19064
  results.push({
19058
19065
  path: virtPath + "/",
19059
19066
  is_dir: true,
19060
19067
  size: 0,
19061
- modified_at: entryStat.mtime.toISOString()
19068
+ modified_at: entryStat.mtime.toISOString(),
19069
+ created_at: entryStat.birthtime.toISOString()
19062
19070
  });
19063
19071
  }
19064
19072
  }
@@ -19535,7 +19543,8 @@ var CompositeBackend = class {
19535
19543
  path: routePrefix,
19536
19544
  is_dir: true,
19537
19545
  size: 0,
19538
- modified_at: ""
19546
+ modified_at: "",
19547
+ created_at: ""
19539
19548
  });
19540
19549
  }
19541
19550
  results.sort((a, b) => a.path.localeCompare(b.path));
@@ -19693,7 +19702,8 @@ var MemoryBackend = class {
19693
19702
  path: k,
19694
19703
  is_dir: false,
19695
19704
  size,
19696
- modified_at: fd.modified_at
19705
+ modified_at: fd.modified_at,
19706
+ created_at: fd.created_at
19697
19707
  });
19698
19708
  }
19699
19709
  for (const subdir of Array.from(subdirs).sort()) {
@@ -19701,7 +19711,8 @@ var MemoryBackend = class {
19701
19711
  path: subdir,
19702
19712
  is_dir: true,
19703
19713
  size: 0,
19704
- modified_at: ""
19714
+ modified_at: "",
19715
+ created_at: ""
19705
19716
  });
19706
19717
  }
19707
19718
  infos.sort((a, b) => a.path.localeCompare(b.path));