File tree Expand file tree Collapse file tree 3 files changed +18
-10
lines changed
clients/algoliasearch-client-javascript/packages/ingestion/model Expand file tree Collapse file tree 3 files changed +18
-10
lines changed Original file line number Diff line number Diff line change @@ -16,10 +16,6 @@ export type Task = {
16
16
17
17
action : ActionType ;
18
18
19
- lastRun ?: string ;
20
-
21
- nextRun ?: string ;
22
-
23
19
/**
24
20
* Date of creation (RFC3339 format).
25
21
*/
Original file line number Diff line number Diff line change @@ -5,5 +5,15 @@ import type { TriggerType } from './triggerType';
5
5
export type Trigger = {
6
6
type : TriggerType ;
7
7
8
- frequency ?: string ;
8
+ cron ?: string ;
9
+
10
+ /**
11
+ * The last time the task ran (`scheduled` or `on-demand`).
12
+ */
13
+ lastRun ?: string ;
14
+
15
+ /**
16
+ * The next scheduled run for the task (`scheduled`).
17
+ */
18
+ nextRun ?: string ;
9
19
} ;
Original file line number Diff line number Diff line change @@ -533,7 +533,13 @@ components:
533
533
properties :
534
534
type :
535
535
$ref : ' #/components/schemas/TriggerType'
536
- frequency :
536
+ cron :
537
+ type : string
538
+ lastRun :
539
+ description : The last time the task ran (`scheduled` or `on-demand`).
540
+ type : string
541
+ nextRun :
542
+ description : The next scheduled run for the task (`scheduled`).
537
543
type : string
538
544
required :
539
545
- type
@@ -560,10 +566,6 @@ components:
560
566
default : true
561
567
action :
562
568
$ref : ' #/components/schemas/ActionType'
563
- lastRun :
564
- type : string
565
- nextRun :
566
- type : string
567
569
createdAt :
568
570
$ref : ' #/components/schemas/createdAt'
569
571
updatedAt :
You can’t perform that action at this time.
0 commit comments