Skip to content

Commit

Permalink
fix(specs): move lastRun and nextRun to task.trigger (#1228)
Browse files Browse the repository at this point in the history
  • Loading branch information
millotp authored Jan 11, 2023
1 parent 64355ae commit 9acdc96
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions specs/ingestion/common/schemas/task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@ Task:
# lastCursorValue:
# type: integer
# format: int64
lastRun:
type: string
nextRun:
type: string
createdAt:
$ref: './common.yml#/createdAt'
updatedAt:
Expand Down Expand Up @@ -102,7 +98,13 @@ Trigger:
properties:
type:
$ref: '#/TriggerType'
frequency:
cron:
type: string
lastRun:
description: The last time the task ran (`scheduled` or `on-demand`).
type: string
nextRun:
description: The next scheduled run for the task (`scheduled`).
type: string
required:
- type
Expand Down

0 comments on commit 9acdc96

Please sign in to comment.