@@ -5,8 +5,6 @@ import { WorkflowStartOptions } from './workflow-options';
5
5
6
6
/**
7
7
* The specification of a Schedule to be created, as expected by {@link ScheduleClient.create}.
8
- *
9
- * @experimental
10
8
*/
11
9
export interface ScheduleOptions < A extends ScheduleOptionsAction = ScheduleOptionsAction > {
12
10
/**
@@ -119,7 +117,6 @@ export interface ScheduleOptions<A extends ScheduleOptionsAction = ScheduleOptio
119
117
} ;
120
118
}
121
119
122
- /** @experimental */
123
120
export type CompiledScheduleOptions = Replace <
124
121
ScheduleOptions ,
125
122
{
@@ -129,8 +126,6 @@ export type CompiledScheduleOptions = Replace<
129
126
130
127
/**
131
128
* The specification of an updated Schedule, as expected by {@link ScheduleHandle.update}.
132
- *
133
- * @experimental
134
129
*/
135
130
export type ScheduleUpdateOptions < A extends ScheduleOptionsAction = ScheduleOptionsAction > = Replace <
136
131
Omit < ScheduleOptions , 'scheduleId' | 'memo' | 'searchAttributes' > ,
@@ -140,7 +135,6 @@ export type ScheduleUpdateOptions<A extends ScheduleOptionsAction = ScheduleOpti
140
135
}
141
136
> ;
142
137
143
- /** @experimental */
144
138
export type CompiledScheduleUpdateOptions = Replace <
145
139
ScheduleUpdateOptions ,
146
140
{
@@ -153,8 +147,6 @@ export type CompiledScheduleUpdateOptions = Replace<
153
147
*
154
148
* Note that schedule listing is eventual consistent; some returned properties may therefore
155
149
* be undefined or incorrect for some time after creating or modifying a schedule.
156
- *
157
- * @experimental
158
150
*/
159
151
export interface ScheduleSummary {
160
152
/**
@@ -212,7 +204,6 @@ export interface ScheduleSummary {
212
204
} ;
213
205
}
214
206
215
- /** @experimental */
216
207
export interface ScheduleExecutionResult {
217
208
/** Time that the Action was scheduled for, including jitter */
218
209
scheduledAt : Date ;
@@ -224,10 +215,8 @@ export interface ScheduleExecutionResult {
224
215
action : ScheduleExecutionActionResult ;
225
216
}
226
217
227
- /** @experimental */
228
218
export type ScheduleExecutionActionResult = ScheduleExecutionStartWorkflowActionResult ;
229
219
230
- /** @experimental */
231
220
export interface ScheduleExecutionStartWorkflowActionResult {
232
221
type : 'startWorkflow' ;
233
222
workflow : {
@@ -243,8 +232,6 @@ export interface ScheduleExecutionStartWorkflowActionResult {
243
232
244
233
/**
245
234
* A detailed description of an exisiting Schedule, as returned by {@link ScheduleHandle.describe}.
246
- *
247
- * @experimental
248
235
*/
249
236
export type ScheduleDescription = {
250
237
/**
@@ -378,8 +365,6 @@ checkExtends<ScheduleUpdateOptions, ScheduleDescription>();
378
365
* The times are the union of `calendars`, `intervals`, and `cronExpressions`, minus the `skip` times. These times
379
366
* never change, except that the definition of a time zone can change over time (most commonly, when daylight saving
380
367
* time policy changes for an area). To create a totally self-contained `ScheduleSpec`, use UTC.
381
- *
382
- * @experimental
383
368
*/
384
369
export interface ScheduleSpec {
385
370
/** Calendar-based specifications of times. */
@@ -483,8 +468,6 @@ export interface ScheduleSpec {
483
468
484
469
/**
485
470
* The version of {@link ScheduleSpec} that you get back from {@link ScheduleHandle.describe} and {@link ScheduleClient.list}
486
- *
487
- * @experimental
488
471
*/
489
472
export type ScheduleSpecDescription = Omit <
490
473
ScheduleSpec ,
@@ -515,8 +498,6 @@ checkExtends<ScheduleSpec, ScheduleSpecDescription>();
515
498
* An event specification relative to the calendar, similar to a traditional cron specification.
516
499
*
517
500
* A second in time matches if all fields match. This includes `dayOfMonth` and `dayOfWeek`.
518
- *
519
- * @experimental
520
501
*/
521
502
export interface CalendarSpec {
522
503
/**
@@ -574,8 +555,6 @@ export interface CalendarSpec {
574
555
* An event specification relative to the calendar, similar to a traditional cron specification.
575
556
*
576
557
* A second in time matches if all fields match. This includes `dayOfMonth` and `dayOfWeek`.
577
- *
578
- * @experimental
579
558
*/
580
559
export interface CalendarSpecDescription {
581
560
/**
@@ -644,8 +623,6 @@ export interface CalendarSpecDescription {
644
623
* of 19 minutes would match every `xx:19:00`. An `every` of 28 days with `offset` zero would match `2022-02-17T00:00:00Z`
645
624
* (among other times). The same `every` with `offset` of 3 days, 5 hours, and 23 minutes would match `2022-02-20T05:23:00Z`
646
625
* instead.
647
- *
648
- * @experimental
649
626
*/
650
627
export interface IntervalSpec {
651
628
/**
@@ -677,8 +654,6 @@ export interface IntervalSpec {
677
654
* instead.
678
655
*
679
656
* This is the version of {@link IntervalSpec} that you get back from {@link ScheduleHandle.describe} and {@link ScheduleClient.list}
680
- *
681
- * @experimental
682
657
*/
683
658
export interface IntervalSpecDescription {
684
659
/**
@@ -699,8 +674,6 @@ export interface IntervalSpecDescription {
699
674
/**
700
675
* Range represents a set of values, used to match fields of a calendar. If end < start, then end is
701
676
* interpreted as equal to start. Similarly, if step is less than 1, then step is interpreted as 1.
702
- *
703
- * @experimental
704
677
*/
705
678
export interface Range < Unit > {
706
679
/**
@@ -733,15 +706,12 @@ export interface Range<Unit> {
733
706
* { start: 2, end: 4 } ➡️ 2, 3, 4
734
707
* { start: 2, end: 10, step: 3 } ➡️ 2, 5, 8
735
708
* ```
736
- *
737
- * @experimental
738
709
*/
739
710
export type LooseRange < Unit > =
740
711
| Range < Unit >
741
712
| { start : Range < Unit > [ 'start' ] ; end ?: Range < Unit > [ 'end' ] ; step ?: never }
742
713
| Unit ;
743
714
744
- /** @experimental */
745
715
export const MONTHS = [
746
716
'JANUARY' ,
747
717
'FEBRUARY' ,
@@ -757,19 +727,14 @@ export const MONTHS = [
757
727
'DECEMBER' ,
758
728
] as const ;
759
729
760
- /** @experimental */
761
730
export type Month = ( typeof MONTHS ) [ number ] ;
762
731
763
- /** @experimental */
764
732
export const DAYS_OF_WEEK = [ 'SUNDAY' , 'MONDAY' , 'TUESDAY' , 'WEDNESDAY' , 'THURSDAY' , 'FRIDAY' , 'SATURDAY' ] as const ;
765
733
766
- /** @experimental */
767
734
export type DayOfWeek = ( typeof DAYS_OF_WEEK ) [ number ] ;
768
735
769
- /** @experimental */
770
736
export type ScheduleOptionsAction = ScheduleOptionsStartWorkflowAction < Workflow > ;
771
737
772
- /** @experimental */
773
738
export type ScheduleOptionsStartWorkflowAction < W extends Workflow > = {
774
739
type : 'startWorkflow' ;
775
740
workflowType : string | W ;
@@ -793,18 +758,15 @@ export type ScheduleOptionsStartWorkflowAction<W extends Workflow> = {
793
758
workflowId ?: string ;
794
759
} ;
795
760
796
- /** @experimental */
797
761
export type ScheduleSummaryAction = ScheduleSummaryStartWorkflowAction ;
798
762
799
- /** @experimental */
800
763
export interface ScheduleSummaryStartWorkflowAction {
801
764
type : 'startWorkflow' ;
802
765
workflowType : string ;
803
766
}
804
- /** @experimental */
767
+
805
768
export type ScheduleDescriptionAction = ScheduleDescriptionStartWorkflowAction ;
806
769
807
- /** @experimental */
808
770
export type ScheduleDescriptionStartWorkflowAction = ScheduleSummaryStartWorkflowAction &
809
771
Pick <
810
772
WorkflowStartOptions < Workflow > ,
@@ -822,7 +784,6 @@ export type ScheduleDescriptionStartWorkflowAction = ScheduleSummaryStartWorkflo
822
784
// Invariant: an existing ScheduleDescriptionAction can be used as is to create or update a schedule
823
785
checkExtends < ScheduleOptionsAction , ScheduleDescriptionAction > ( ) ;
824
786
825
- /** @experimental */
826
787
export type CompiledScheduleAction = Replace <
827
788
ScheduleDescriptionAction ,
828
789
{
@@ -833,8 +794,6 @@ export type CompiledScheduleAction = Replace<
833
794
834
795
/**
835
796
* Policy for overlapping Actions.
836
- *
837
- * @experimental
838
797
*/
839
798
export enum ScheduleOverlapPolicy {
840
799
/**
@@ -888,7 +847,6 @@ checkExtends<
888
847
keyof typeof temporal . api . enums . v1 . ScheduleOverlapPolicy
889
848
> ( ) ;
890
849
891
- /** @experimental */
892
850
export interface Backfill {
893
851
/**
894
852
* Start of the time range to evaluate Schedule in.
0 commit comments