@harnessio/react-rmg-service-client 0.54.0 → 0.55.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.
|
@@ -328,3 +328,4 @@ export type { TimeRangeDto } from './schemas/TimeRangeDto';
|
|
|
328
328
|
export type { TriggerType } from './schemas/TriggerType';
|
|
329
329
|
export type { TriggeredByDto } from './schemas/TriggeredByDto';
|
|
330
330
|
export type { User } from './schemas/User';
|
|
331
|
+
export type { Weekday } from './schemas/Weekday';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { ReleaseFrequency } from '../schemas/ReleaseFrequency';
|
|
2
2
|
import type { Freq } from '../schemas/Freq';
|
|
3
|
+
import type { Weekday } from '../schemas/Weekday';
|
|
3
4
|
export interface ReleaseCadence {
|
|
4
5
|
/**
|
|
5
6
|
* duration for the release cadence.
|
|
@@ -17,9 +18,14 @@ export interface ReleaseCadence {
|
|
|
17
18
|
*/
|
|
18
19
|
interval: number;
|
|
19
20
|
/**
|
|
20
|
-
* weekday
|
|
21
|
+
* Single weekday (e.g. '1MO'). Deprecated: use weekdays instead.
|
|
22
|
+
* @deprecated
|
|
21
23
|
*/
|
|
22
24
|
weekday?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Multiple weekdays for the custom cadence (e.g. [MO, TU, WE, TH]).
|
|
27
|
+
*/
|
|
28
|
+
weekdays?: Weekday[];
|
|
23
29
|
};
|
|
24
30
|
/**
|
|
25
31
|
* Start date of the release cadence (YYYY-MM-DD).
|