@serve.zone/interfaces 32.36.0 → 32.36.1

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/changelog.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 2026-09-29 - 32.36.1
4
+
5
+ ### Fixes
6
+
7
+ - `IArchivePruneResult.rewrittenPacks` is optional. Corestore 34.0.0 (containerarchive 0.10)
8
+ removes unreferenced packs whole and never rewrites one, so it no longer reports the field;
9
+ Corestore up to 33.x still does. Absent means no pack was rewritten.
10
+
3
11
  ## 2026-09-29 - 32.36.0
4
12
 
5
13
  ### Features
@@ -3,7 +3,7 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@serve.zone/interfaces',
6
- version: '32.36.0',
6
+ version: '32.36.1',
7
7
  description: 'Shared TypeScript interfaces and TypedRequest contracts for the serve.zone ecosystem.'
8
8
  };
9
9
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMDBfY29tbWl0aW5mb19kYXRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvMDBfY29tbWl0aW5mb19kYXRhLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sVUFBVSxHQUFHO0lBQ3hCLElBQUksRUFBRSx3QkFBd0I7SUFDOUIsT0FBTyxFQUFFLFNBQVM7SUFDbEIsV0FBVyxFQUFFLHVGQUF1RjtDQUNyRyxDQUFBIn0=
@@ -106,8 +106,14 @@ export interface IArchiveRetentionPolicy {
106
106
  }
107
107
  export interface IArchivePruneResult {
108
108
  removedSnapshots: number;
109
+ /** Packs holding no chunk of the committed index, removed whole. */
109
110
  removedPacks: number;
110
- rewrittenPacks: number;
111
+ /**
112
+ * Packs a prune rewrote to drop unreferenced chunks. Only Corestore up to 33.x (containerarchive
113
+ * 0.3.2) reports it; containerarchive 0.10 and Corestore 34.0.0 remove unreferenced packs whole
114
+ * and never rewrite one, so they omit it. Absent means no pack was rewritten.
115
+ */
116
+ rewrittenPacks?: number;
111
117
  freedBytes: number;
112
118
  dryRun: boolean;
113
119
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@serve.zone/interfaces",
3
- "version": "32.36.0",
3
+ "version": "32.36.1",
4
4
  "private": false,
5
5
  "description": "Shared TypeScript interfaces and TypedRequest contracts for the serve.zone ecosystem.",
6
6
  "exports": {
@@ -3,6 +3,6 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@serve.zone/interfaces',
6
- version: '32.36.0',
6
+ version: '32.36.1',
7
7
  description: 'Shared TypeScript interfaces and TypedRequest contracts for the serve.zone ecosystem.'
8
8
  }
package/ts/data/backup.ts CHANGED
@@ -134,8 +134,14 @@ export interface IArchiveRetentionPolicy {
134
134
 
135
135
  export interface IArchivePruneResult {
136
136
  removedSnapshots: number;
137
+ /** Packs holding no chunk of the committed index, removed whole. */
137
138
  removedPacks: number;
138
- rewrittenPacks: number;
139
+ /**
140
+ * Packs a prune rewrote to drop unreferenced chunks. Only Corestore up to 33.x (containerarchive
141
+ * 0.3.2) reports it; containerarchive 0.10 and Corestore 34.0.0 remove unreferenced packs whole
142
+ * and never rewrite one, so they omit it. Absent means no pack was rewritten.
143
+ */
144
+ rewrittenPacks?: number;
139
145
  freedBytes: number;
140
146
  dryRun: boolean;
141
147
  }