Skip to content

Commit 4ee373f

Browse files
Polishing
1 parent 590daa2 commit 4ee373f

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

src/dtos/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ export interface ISegmentChangesResponse {
259259
name: string,
260260
added: string[],
261261
removed: string[],
262-
since?: number,
262+
since: number,
263263
till: number
264264
}
265265

src/storages/__tests__/dataLoader.spec.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ const expectedRolloutPlan = {
2121
name: 'segment1',
2222
added: [fullSettings.core.key as string, otherKey],
2323
removed: [],
24+
since: -1,
2425
till: 123
2526
}]
2627
};

src/storages/getRolloutPlan.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ export function getRolloutPlan(log: ILogger, storage: IStorageSync, options: Spl
3636
name: segmentName, // @ts-ignore
3737
added: setToArray(segments.segmentCache[segmentName] as Set<string>),
3838
removed: [],
39+
since: -1,
3940
till: segments.getChangeNumber(segmentName)!
4041
})) :
4142
undefined,

0 commit comments

Comments
 (0)