Skip to content

Commit 9acdc96

Browse files
authored
fix(specs): move lastRun and nextRun to task.trigger (#1228)
1 parent 64355ae commit 9acdc96

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

specs/ingestion/common/schemas/task.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,6 @@ Task:
1818
# lastCursorValue:
1919
# type: integer
2020
# format: int64
21-
lastRun:
22-
type: string
23-
nextRun:
24-
type: string
2521
createdAt:
2622
$ref: './common.yml#/createdAt'
2723
updatedAt:
@@ -102,7 +98,13 @@ Trigger:
10298
properties:
10399
type:
104100
$ref: '#/TriggerType'
105-
frequency:
101+
cron:
102+
type: string
103+
lastRun:
104+
description: The last time the task ran (`scheduled` or `on-demand`).
105+
type: string
106+
nextRun:
107+
description: The next scheduled run for the task (`scheduled`).
106108
type: string
107109
required:
108110
- type

0 commit comments

Comments
 (0)