Skip to content

Commit 1dc0871

Browse files
authored
fix: ingestion cursor for task (#3214)
1 parent 24ea158 commit 1dc0871

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

specs/ingestion/common/schemas/common.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ publishedAt:
1818
type: string
1919
description: Date of publish RFC 3339 format.
2020

21+
cursor:
22+
type: string
23+
description: Date of the last cursor in RFC 3339 format.
24+
2125
DeleteResponse:
2226
type: object
2327
properties:

specs/ingestion/common/schemas/task.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,8 @@ Task:
2020
$ref: '#/failureThreshold'
2121
action:
2222
$ref: '#/ActionType'
23-
# lastCursorValue:
24-
# type: integer
25-
# format: int64
23+
cursor:
24+
$ref: './common.yml#/cursor'
2625
createdAt:
2726
$ref: './common.yml#/createdAt'
2827
updatedAt:
@@ -64,9 +63,8 @@ TaskCreate:
6463
$ref: '#/failureThreshold'
6564
input:
6665
$ref: '#/TaskInput'
67-
# lastCursorValue:
68-
# type: integer
69-
# format: int64
66+
cursor:
67+
$ref: './common.yml#/cursor'
7068
required:
7169
- sourceID
7270
- destinationID

0 commit comments

Comments
 (0)