@celigo/api-specs 0.2.324 → 0.2.326
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api.yml +6 -1
- package/dist/export.yml +6 -1
- package/dist/flow.yml +24 -1
- package/dist/sync.yml +85 -36
- package/dist/tool.yml +6 -1
- package/package.json +1 -1
- package/schemas.json +1 -1
package/dist/api.yml
CHANGED
|
@@ -6059,6 +6059,9 @@ components:
|
|
|
6059
6059
|
results returns each group as an array inside `data`
|
|
6060
6060
|
(`"data": [[<row>, <row>]]`): `data[0][0].name` (or `data.0.0.name`)
|
|
6061
6061
|
reads the first row of the first group, and `data[0]` copies the group.
|
|
6062
|
+
A page-processor preview (`previewPageProcessor`) fills `data` with
|
|
6063
|
+
the lookup's first record only; a test run fills it with every
|
|
6064
|
+
record the lookup returns.
|
|
6062
6065
|
- **Import steps**: `{"id": "<destination record id>", "statusCode": 200,
|
|
6063
6066
|
"ignored": false, "errors": [], "_json": <raw destination response>,
|
|
6064
6067
|
...<response body fields flattened at the root>}` — use `id` for the
|
|
@@ -6111,7 +6114,9 @@ components:
|
|
|
6111
6114
|
To carry several lookup results onto the record, use `extract: "data"`
|
|
6112
6115
|
(the whole result array) or a `lists` entry whose extracts use
|
|
6113
6116
|
`data[*].x` — never `data[*].x` in `fields[].extract`, which merges
|
|
6114
|
-
nothing: the record simply never gains the field.
|
|
6117
|
+
nothing: the record simply never gains the field. A page-processor
|
|
6118
|
+
preview shows one result in that array either way, so check the full
|
|
6119
|
+
list in a test run.
|
|
6115
6120
|
examples:
|
|
6116
6121
|
- fields:
|
|
6117
6122
|
- extract: id
|
package/dist/export.yml
CHANGED
|
@@ -17116,7 +17116,8 @@ components:
|
|
|
17116
17116
|
calling the source, in a test run of the flow, API or Tool that holds the export, and in a
|
|
17117
17117
|
page-processor preview (`previewPageProcessor`) for the flow's source export and for a
|
|
17118
17118
|
lookup upstream of the previewed step. That preview carries only the first record of a
|
|
17119
|
-
source export's mock
|
|
17119
|
+
source export's mock, and of an upstream lookup's mock only the first record reaches the
|
|
17120
|
+
lookup's results mapping. A target lookup in the preview runs its live query, invoking the
|
|
17120
17121
|
export (`POST /v1/exports/{_id}/invoke`) reads the source, and real runs ignore the mock.
|
|
17121
17122
|
This allows you to:
|
|
17122
17123
|
- Test mappings with representative data
|
|
@@ -17164,6 +17165,10 @@ components:
|
|
|
17164
17165
|
A page-processor preview follows only the first record of a source export's mockOutput,
|
|
17165
17166
|
while a test run takes the whole page. On an export with an output `filter`, put a record
|
|
17166
17167
|
the filter keeps first, so a preview of a later step has a record to follow.
|
|
17168
|
+
- |-
|
|
17169
|
+
A page-processor preview hands a lookup's results mapping only the first record of the
|
|
17170
|
+
lookup's mockOutput, while a test run hands it every record. Put first the record a later
|
|
17171
|
+
step's preview should be built from.
|
|
17167
17172
|
properties:
|
|
17168
17173
|
page_of_records:
|
|
17169
17174
|
type: array
|
package/dist/flow.yml
CHANGED
|
@@ -4804,6 +4804,17 @@ paths:
|
|
|
4804
4804
|
request did execute. With `includeStages: false` the response is the
|
|
4805
4805
|
bare result object rather than the `{data, stages}` envelope.
|
|
4806
4806
|
|
|
4807
|
+
A lookup contributes one record to this preview: the first record of
|
|
4808
|
+
its saved `mockOutput`, or of its live response. An upstream lookup's
|
|
4809
|
+
results mapping therefore reads a `data` array of one record, where a
|
|
4810
|
+
test run reads every record the lookup returned, and a target lookup
|
|
4811
|
+
returns that first record as `data` (an HTTP lookup's `raw` stage
|
|
4812
|
+
still holds the whole response). A later step that works on the
|
|
4813
|
+
mapped array sees the one record: a one-to-many step previews one
|
|
4814
|
+
child, and a filter or expression over the lookup's results is
|
|
4815
|
+
evaluated on it — when the step's own input filter then excludes the
|
|
4816
|
+
record, the response is `422 no_data_available`.
|
|
4817
|
+
|
|
4807
4818
|
Body carries the flow shape plus resolved maps of page-generator and
|
|
4808
4819
|
page-processor docs keyed by `_id`. The server uses those maps as the
|
|
4809
4820
|
source of truth for the preview — it does not read the persisted flow
|
|
@@ -5240,6 +5251,9 @@ components:
|
|
|
5240
5251
|
results returns each group as an array inside `data`
|
|
5241
5252
|
(`"data": [[<row>, <row>]]`): `data[0][0].name` (or `data.0.0.name`)
|
|
5242
5253
|
reads the first row of the first group, and `data[0]` copies the group.
|
|
5254
|
+
A page-processor preview (`previewPageProcessor`) fills `data` with
|
|
5255
|
+
the lookup's first record only; a test run fills it with every
|
|
5256
|
+
record the lookup returns.
|
|
5243
5257
|
- **Import steps**: `{"id": "<destination record id>", "statusCode": 200,
|
|
5244
5258
|
"ignored": false, "errors": [], "_json": <raw destination response>,
|
|
5245
5259
|
...<response body fields flattened at the root>}` — use `id` for the
|
|
@@ -5292,7 +5306,9 @@ components:
|
|
|
5292
5306
|
To carry several lookup results onto the record, use `extract: "data"`
|
|
5293
5307
|
(the whole result array) or a `lists` entry whose extracts use
|
|
5294
5308
|
`data[*].x` — never `data[*].x` in `fields[].extract`, which merges
|
|
5295
|
-
nothing: the record simply never gains the field.
|
|
5309
|
+
nothing: the record simply never gains the field. A page-processor
|
|
5310
|
+
preview shows one result in that array either way, so check the full
|
|
5311
|
+
list in a test run.
|
|
5296
5312
|
examples:
|
|
5297
5313
|
- fields:
|
|
5298
5314
|
- extract: id
|
|
@@ -9792,6 +9808,13 @@ components:
|
|
|
9792
9808
|
whole first page through the same steps, so read what reaches a step from a test run. To
|
|
9793
9809
|
preview a step with a record that reaches it, put that record first in the source's
|
|
9794
9810
|
`mockOutput`.
|
|
9811
|
+
- |-
|
|
9812
|
+
A lookup on the way passes on only the first record it returns (the first record of its
|
|
9813
|
+
`mockOutput`, else of its live response), so its results mapping's `data` holds one record
|
|
9814
|
+
and a step that needs the others — a one-to-many over the mapped array, a filter or a total
|
|
9815
|
+
across it — previews one record or answers `422 no_data_available`. A test run hands the
|
|
9816
|
+
mapping every record. To preview with a representative result, put it first in the lookup's
|
|
9817
|
+
`mockOutput`, or supply the whole record as the target's `options.inputData`.
|
|
9795
9818
|
properties:
|
|
9796
9819
|
flow:
|
|
9797
9820
|
type: object
|
package/dist/sync.yml
CHANGED
|
@@ -1363,6 +1363,8 @@ paths:
|
|
|
1363
1363
|
Only `createdAt_gt` and `createdAt_lte` filter by date; `createdAt_gte` and `createdAt_lt`
|
|
1364
1364
|
are ignored. A blank or whitespace-only bound counts as not sent. A bound that is not a
|
|
1365
1365
|
valid date answers 422 `invalid_query_param` before the sync is looked up.
|
|
1366
|
+
x-celigo-ai-guidance:
|
|
1367
|
+
- A job's `status` alone does not say whether the run loaded anything. A run that failed at initialization, before any table work started, has been recorded `completed` as well as `failed` -- either way with `numErrors` above zero and `numTablesSynced`, `numExtractedRecords` and `numLoadedRecords` at zero. Read those counters with the status.
|
|
1366
1368
|
parameters:
|
|
1367
1369
|
- name: _syncId
|
|
1368
1370
|
in: path
|
|
@@ -1691,10 +1693,11 @@ paths:
|
|
|
1691
1693
|
A sync job family maps to one sync execution: the parent is the overall sync job and the children
|
|
1692
1694
|
represent each table the run attempted -- a delta table with no changed records included, with
|
|
1693
1695
|
zero counts. Parent-level counters are the authoritative totals; `tables[]` provides the
|
|
1694
|
-
per-table breakdown. `tables`
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1696
|
+
per-table breakdown. `tables` is empty when the run ended before any table work started -- it
|
|
1697
|
+
was canceled, or it failed at initialization and its error record carries stage `init`
|
|
1698
|
+
(GET /v1/syncJobs/{_parentJobId}/errors). An enabled dataset with no entry in `tables` was not
|
|
1699
|
+
attempted by the run; compare the list with the sync's enabled datasets to find such datasets,
|
|
1700
|
+
since neither the parent's status nor its error records name them.
|
|
1698
1701
|
parameters:
|
|
1699
1702
|
- name: _syncJobId
|
|
1700
1703
|
in: path
|
|
@@ -1761,12 +1764,15 @@ paths:
|
|
|
1761
1764
|
- Sync Jobs
|
|
1762
1765
|
summary: List errors for a sync job
|
|
1763
1766
|
description: |-
|
|
1764
|
-
Returns errors
|
|
1765
|
-
|
|
1767
|
+
Returns the errors the given parent sync job recorded: the errors of its tables and,
|
|
1768
|
+
when the run failed before any table work started, the error of the run itself.
|
|
1766
1769
|
|
|
1767
|
-
Use `_childJobId` to filter to a single table. Without it,
|
|
1768
|
-
|
|
1770
|
+
Use `_childJobId` to filter to a single table. Without it, every error of the run is
|
|
1771
|
+
returned. To find a child job id, call
|
|
1769
1772
|
`GET /v1/syncJobs/{_syncJobId}/family` and read `tables[]._id`.
|
|
1773
|
+
x-celigo-ai-guidance:
|
|
1774
|
+
- Each record's `source` is the platform's classification of where the failure was raised -- `internal` (Celigo's own processing), `application` (the source or destination application), `connection` (a connection the run uses) or `resource` (the configuration of a resource the run uses). It says where a fix belongs; `message` carries the detail.
|
|
1775
|
+
- A record with `scope` `sync` and `stage` `init` is an error of the run itself, raised before any table work started -- it names no table, dataset or child job. The family of such a run (GET /v1/syncJobs/{_syncJobId}/family) has an empty `tables`.
|
|
1770
1776
|
parameters:
|
|
1771
1777
|
- name: _parentJobId
|
|
1772
1778
|
in: path
|
|
@@ -1838,8 +1844,8 @@ paths:
|
|
|
1838
1844
|
with_errors:
|
|
1839
1845
|
summary: Two errors from different tables
|
|
1840
1846
|
value:
|
|
1841
|
-
- scope:
|
|
1842
|
-
source:
|
|
1847
|
+
- scope: table
|
|
1848
|
+
source: application
|
|
1843
1849
|
code: INVALID_FIELD
|
|
1844
1850
|
message: No such column 'Custom_Field__c' on entity 'Account'.
|
|
1845
1851
|
_datasetId: 6821c01c39db7c2b9cdc0e35
|
|
@@ -1847,12 +1853,12 @@ paths:
|
|
|
1847
1853
|
_parentSyncJobId: 6821c01c39db7c2b9cdc0e30
|
|
1848
1854
|
_childSyncJobId: 6821c01c39db7c2b9cdc0e31
|
|
1849
1855
|
flowExecutionGroupId: 6821c01c39db7c2b9cdc0e29
|
|
1850
|
-
stage:
|
|
1856
|
+
stage: extract
|
|
1851
1857
|
datasetName: Salesforce Accounts
|
|
1852
1858
|
tableName: accounts
|
|
1853
1859
|
occurredAt: '2026-04-28T14:31:22.789Z'
|
|
1854
|
-
- scope:
|
|
1855
|
-
source:
|
|
1860
|
+
- scope: table
|
|
1861
|
+
source: application
|
|
1856
1862
|
code: DUPLICATE_KEY
|
|
1857
1863
|
message: Duplicate key value violates unique constraint on 'contacts.email'.
|
|
1858
1864
|
_datasetId: 6821c01c39db7c2b9cdc0e36
|
|
@@ -1860,10 +1866,22 @@ paths:
|
|
|
1860
1866
|
_parentSyncJobId: 6821c01c39db7c2b9cdc0e30
|
|
1861
1867
|
_childSyncJobId: 6821c01c39db7c2b9cdc0e32
|
|
1862
1868
|
flowExecutionGroupId: 6821c01c39db7c2b9cdc0e29
|
|
1863
|
-
stage:
|
|
1869
|
+
stage: load
|
|
1864
1870
|
datasetName: Salesforce Contacts
|
|
1865
1871
|
tableName: contacts
|
|
1866
1872
|
occurredAt: '2026-04-28T14:32:05.123Z'
|
|
1873
|
+
run_failed_at_initialization:
|
|
1874
|
+
summary: One error of the run itself
|
|
1875
|
+
value:
|
|
1876
|
+
- scope: sync
|
|
1877
|
+
source: resource
|
|
1878
|
+
code: di_ping_failure
|
|
1879
|
+
message: 'Unknown host: warehouse.example.invalid. We were unable to verify this host using a DNS lookup. Please check that you entered the correct host name. Error message: "getaddrinfo ENOTFOUND warehouse.example.invalid"'
|
|
1880
|
+
_syncId: 682094fa7eb7fc3e7ab7a4a0
|
|
1881
|
+
_parentSyncJobId: 6821c01c39db7c2b9cdc0e50
|
|
1882
|
+
flowExecutionGroupId: 6821c01c39db7c2b9cdc0e49
|
|
1883
|
+
stage: init
|
|
1884
|
+
occurredAt: '2026-04-28T16:00:33.504Z'
|
|
1867
1885
|
empty:
|
|
1868
1886
|
summary: No errors
|
|
1869
1887
|
value: []
|
|
@@ -5347,8 +5365,11 @@ components:
|
|
|
5347
5365
|
no changed records is still attempted and counted, with zero record counts. An enabled dataset
|
|
5348
5366
|
the run did not attempt -- a run scoped with `datasetIds` covers only the selected datasets --
|
|
5349
5367
|
is absent from the run's counts and from the family's `tables`, and no error record names it.
|
|
5368
|
+
A run that fails at initialization, before any table work starts, attempts no table: its
|
|
5369
|
+
record counts and `numTablesSynced` are zero and `numErrors` counts the run's own error.
|
|
5350
5370
|
x-celigo-ai-guidance:
|
|
5351
5371
|
- A completed parent with zero errors says nothing about datasets the run did not attempt. To find them, compare the family's `tables` (GET /v1/syncJobs/{_syncJobId}/family) with the sync's enabled datasets (GET /v1/syncs/{_syncId}/datasets?enable=true) -- never infer it from `numTablesSynced` alone or from the table jobs that did run.
|
|
5372
|
+
- A run that failed at initialization -- an error record with stage `init` and an empty `tables` in the family -- has been recorded with status `completed` as well as with `failed`. Decide whether a run loaded anything from `numErrors`, the record counts and the family's `tables`, never from `status` alone.
|
|
5352
5373
|
properties:
|
|
5353
5374
|
_id:
|
|
5354
5375
|
type: string
|
|
@@ -5424,13 +5445,15 @@ components:
|
|
|
5424
5445
|
queued: Run accepted and waiting for a worker to start execution.
|
|
5425
5446
|
running: Sync is currently executing.
|
|
5426
5447
|
canceling: Cancellation requested; in-flight work has not yet stopped.
|
|
5427
|
-
completed:
|
|
5448
|
+
completed: Run ended on its own; it can still have recorded errors, or loaded nothing -- read `numErrors` and the record counts
|
|
5428
5449
|
failed: Sync finished with a fatal error.
|
|
5429
5450
|
canceled: Sync was canceled by a user or the system.
|
|
5430
5451
|
numErrors:
|
|
5431
5452
|
type: integer
|
|
5432
5453
|
readOnly: true
|
|
5433
|
-
description:
|
|
5454
|
+
description: |-
|
|
5455
|
+
Total number of errors this run recorded -- the errors of its tables plus any error of the
|
|
5456
|
+
run itself (stage `init`).
|
|
5434
5457
|
examples:
|
|
5435
5458
|
- 0
|
|
5436
5459
|
numLoadedRecords:
|
|
@@ -5654,8 +5677,8 @@ components:
|
|
|
5654
5677
|
A sync job family consisting of the parent sync job and its per-table child jobs. Each entry in
|
|
5655
5678
|
`tables` represents one table the run attempted, with its own status, record counts, and
|
|
5656
5679
|
timing. The parent-level counters are the authoritative totals; `tables[]` provides the
|
|
5657
|
-
per-table breakdown. `tables`
|
|
5658
|
-
|
|
5680
|
+
per-table breakdown. `tables` is empty when the run ended before any table work started --
|
|
5681
|
+
it was canceled, or it failed at initialization.
|
|
5659
5682
|
allOf:
|
|
5660
5683
|
- $ref: '#/components/schemas/SyncJob'
|
|
5661
5684
|
- type: object
|
|
@@ -5672,22 +5695,38 @@ components:
|
|
|
5672
5695
|
SyncError:
|
|
5673
5696
|
type: object
|
|
5674
5697
|
description: |-
|
|
5675
|
-
An individual error record from a sync run.
|
|
5676
|
-
`tableName` and `
|
|
5677
|
-
|
|
5698
|
+
An individual error record from a sync run. An error belongs to one table of the run
|
|
5699
|
+
(identified by `tableName`, `_datasetId` and `_childSyncJobId`) or, when the run fails before
|
|
5700
|
+
any table work starts, to the run itself -- that record names no table, dataset or child job.
|
|
5701
|
+
`_parentSyncJobId` links to the parent sync job.
|
|
5678
5702
|
properties:
|
|
5679
5703
|
scope:
|
|
5680
5704
|
type: string
|
|
5681
5705
|
readOnly: true
|
|
5682
|
-
description:
|
|
5706
|
+
description: |-
|
|
5707
|
+
What the error belongs to: `table` for an error of one table of the run, `sync` for an
|
|
5708
|
+
error of the run itself.
|
|
5683
5709
|
examples:
|
|
5684
|
-
-
|
|
5710
|
+
- table
|
|
5711
|
+
- sync
|
|
5685
5712
|
source:
|
|
5686
5713
|
type: string
|
|
5687
5714
|
readOnly: true
|
|
5688
|
-
description:
|
|
5715
|
+
description: |-
|
|
5716
|
+
Where the platform classifies the failure as having been raised. It says where a fix
|
|
5717
|
+
belongs; `message` carries the detail.
|
|
5718
|
+
enum:
|
|
5719
|
+
- internal
|
|
5720
|
+
- application
|
|
5721
|
+
- connection
|
|
5722
|
+
- resource
|
|
5723
|
+
x-enumDescriptions:
|
|
5724
|
+
internal: Celigo's own processing; `message` points to Celigo Support and, at stage `init`, is a generic sentence that names no cause
|
|
5725
|
+
application: The source or destination application; `message` carries the application's own answer
|
|
5726
|
+
connection: A connection the run uses -- for example one that is offline or whose authorization has expired
|
|
5727
|
+
resource: The configuration of a resource the run uses, such as a connection's host name or a dataset's primary key
|
|
5689
5728
|
examples:
|
|
5690
|
-
-
|
|
5729
|
+
- application
|
|
5691
5730
|
code:
|
|
5692
5731
|
type: string
|
|
5693
5732
|
readOnly: true
|
|
@@ -5704,7 +5743,7 @@ components:
|
|
|
5704
5743
|
type: string
|
|
5705
5744
|
format: objectId
|
|
5706
5745
|
readOnly: true
|
|
5707
|
-
description: Dataset id associated with this error.
|
|
5746
|
+
description: Dataset id associated with this error. Absent on an error of the run itself.
|
|
5708
5747
|
examples:
|
|
5709
5748
|
- 6821c01c39db7c2b9cdc0e35
|
|
5710
5749
|
_syncId:
|
|
@@ -5726,7 +5765,7 @@ components:
|
|
|
5726
5765
|
type: string
|
|
5727
5766
|
format: objectId
|
|
5728
5767
|
readOnly: true
|
|
5729
|
-
description: Child (table-level) sync job id.
|
|
5768
|
+
description: Child (table-level) sync job id. Absent on an error of the run itself.
|
|
5730
5769
|
examples:
|
|
5731
5770
|
- 6821c01c39db7c2b9cdc0e31
|
|
5732
5771
|
flowExecutionGroupId:
|
|
@@ -5739,22 +5778,23 @@ components:
|
|
|
5739
5778
|
type: string
|
|
5740
5779
|
readOnly: true
|
|
5741
5780
|
description: |-
|
|
5742
|
-
Pipeline stage
|
|
5743
|
-
|
|
5744
|
-
|
|
5781
|
+
Pipeline stage that failed. `init` is the run's start-up, before any table work: it tests
|
|
5782
|
+
the source and destination connections (`di_ping_failure` when a test fails), then reads
|
|
5783
|
+
the source's objects and starts the datasets. `extract`, `transform` and `load` are the
|
|
5784
|
+
stages of one table.
|
|
5745
5785
|
examples:
|
|
5746
|
-
-
|
|
5786
|
+
- extract
|
|
5747
5787
|
- init
|
|
5748
5788
|
datasetName:
|
|
5749
5789
|
type: string
|
|
5750
5790
|
readOnly: true
|
|
5751
|
-
description: Human-readable dataset name.
|
|
5791
|
+
description: Human-readable dataset name. Absent on an error of the run itself.
|
|
5752
5792
|
examples:
|
|
5753
5793
|
- Salesforce Accounts
|
|
5754
5794
|
tableName:
|
|
5755
5795
|
type: string
|
|
5756
5796
|
readOnly: true
|
|
5757
|
-
description: Table name where the error occurred.
|
|
5797
|
+
description: Table name where the error occurred. Absent on an error of the run itself.
|
|
5758
5798
|
examples:
|
|
5759
5799
|
- accounts
|
|
5760
5800
|
occurredAt:
|
|
@@ -5765,8 +5805,8 @@ components:
|
|
|
5765
5805
|
examples:
|
|
5766
5806
|
- '2026-04-28T14:31:22.789Z'
|
|
5767
5807
|
examples:
|
|
5768
|
-
- scope:
|
|
5769
|
-
source:
|
|
5808
|
+
- scope: table
|
|
5809
|
+
source: application
|
|
5770
5810
|
code: INVALID_FIELD
|
|
5771
5811
|
message: No such column 'Custom_Field__c' on entity 'Account'.
|
|
5772
5812
|
_datasetId: 6821c01c39db7c2b9cdc0e35
|
|
@@ -5774,10 +5814,19 @@ components:
|
|
|
5774
5814
|
_parentSyncJobId: 6821c01c39db7c2b9cdc0e30
|
|
5775
5815
|
_childSyncJobId: 6821c01c39db7c2b9cdc0e31
|
|
5776
5816
|
flowExecutionGroupId: 6821c01c39db7c2b9cdc0e29
|
|
5777
|
-
stage:
|
|
5817
|
+
stage: extract
|
|
5778
5818
|
datasetName: Salesforce Accounts
|
|
5779
5819
|
tableName: accounts
|
|
5780
5820
|
occurredAt: '2026-04-28T14:31:22.789Z'
|
|
5821
|
+
- scope: sync
|
|
5822
|
+
source: resource
|
|
5823
|
+
code: di_ping_failure
|
|
5824
|
+
message: 'Unknown host: warehouse.example.invalid. We were unable to verify this host using a DNS lookup. Please check that you entered the correct host name. Error message: "getaddrinfo ENOTFOUND warehouse.example.invalid"'
|
|
5825
|
+
_syncId: 682094fa7eb7fc3e7ab7a4a0
|
|
5826
|
+
_parentSyncJobId: 6821c01c39db7c2b9cdc0e50
|
|
5827
|
+
flowExecutionGroupId: 6821c01c39db7c2b9cdc0e49
|
|
5828
|
+
stage: init
|
|
5829
|
+
occurredAt: '2026-04-28T16:00:33.504Z'
|
|
5781
5830
|
SyncEvent:
|
|
5782
5831
|
type: object
|
|
5783
5832
|
description: |-
|
package/dist/tool.yml
CHANGED
|
@@ -40245,7 +40245,8 @@ components:
|
|
|
40245
40245
|
calling the source, in a test run of the flow, API or Tool that holds the export, and in a
|
|
40246
40246
|
page-processor preview (`previewPageProcessor`) for the flow's source export and for a
|
|
40247
40247
|
lookup upstream of the previewed step. That preview carries only the first record of a
|
|
40248
|
-
source export's mock
|
|
40248
|
+
source export's mock, and of an upstream lookup's mock only the first record reaches the
|
|
40249
|
+
lookup's results mapping. A target lookup in the preview runs its live query, invoking the
|
|
40249
40250
|
export (`POST /v1/exports/{_id}/invoke`) reads the source, and real runs ignore the mock.
|
|
40250
40251
|
This allows you to:
|
|
40251
40252
|
- Test mappings with representative data
|
|
@@ -40293,6 +40294,10 @@ components:
|
|
|
40293
40294
|
A page-processor preview follows only the first record of a source export's mockOutput,
|
|
40294
40295
|
while a test run takes the whole page. On an export with an output `filter`, put a record
|
|
40295
40296
|
the filter keeps first, so a preview of a later step has a record to follow.
|
|
40297
|
+
- |-
|
|
40298
|
+
A page-processor preview hands a lookup's results mapping only the first record of the
|
|
40299
|
+
lookup's mockOutput, while a test run hands it every record. Put first the record a later
|
|
40300
|
+
step's preview should be built from.
|
|
40296
40301
|
properties:
|
|
40297
40302
|
page_of_records:
|
|
40298
40303
|
type: array
|
package/package.json
CHANGED