Skip to content

Commit b36cb5b

Browse files
algolia-botmillotp
andcommitted
fix(specs): allow one sided rule validity (generated)
algolia/api-clients-automation#5060 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Pierre Millot <[email protected]>
1 parent 0693a42 commit b36cb5b

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

packages/client-composition/model/timeRange.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ export type TimeRange = {
44
/**
55
* When the rule should start to be active, in Unix epoch time.
66
*/
7-
from: number;
7+
from?: number | undefined;
88

99
/**
1010
* When the rule should stop to be active, in Unix epoch time.
1111
*/
12-
until: number;
12+
until?: number | undefined;
1313
};

packages/client-search/model/timeRange.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ export type TimeRange = {
44
/**
55
* When the rule should start to be active, in Unix epoch time.
66
*/
7-
from: number;
7+
from?: number | undefined;
88

99
/**
1010
* When the rule should stop to be active, in Unix epoch time.
1111
*/
12-
until: number;
12+
until?: number | undefined;
1313
};

packages/recommend/model/timeRange.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ export type TimeRange = {
44
/**
55
* When the rule should start to be active, in Unix epoch time.
66
*/
7-
from: number;
7+
from?: number | undefined;
88

99
/**
1010
* When the rule should stop to be active, in Unix epoch time.
1111
*/
12-
until: number;
12+
until?: number | undefined;
1313
};

0 commit comments

Comments
 (0)