@superdurable/connector-airtable 0.1.0 → 0.1.1
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/README.md +3 -0
- package/dex-connector.json +1 -1
- package/dist/index.js +4 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -50,6 +50,9 @@ next page cursor. Field values use Airtable's JSON cell types. A missing
|
|
|
50
50
|
field means Airtable omitted an empty cell, while explicit JSON `null` clears
|
|
51
51
|
one on write.
|
|
52
52
|
|
|
53
|
+
Failure and not-found branch results contain empty `records` and record ID
|
|
54
|
+
lists, and an empty `fields` map for a missing record.
|
|
55
|
+
|
|
53
56
|
## Verify
|
|
54
57
|
|
|
55
58
|
```sh
|
package/dex-connector.json
CHANGED
package/dist/index.js
CHANGED
|
@@ -110,10 +110,10 @@ import { newMutationBranch, newMutationRetry, newQueryBranch, newQueryRetry } fr
|
|
|
110
110
|
var baseIdPattern = /^app[0-9A-Za-z]{14}$/;
|
|
111
111
|
var recordIdPattern = /^rec[0-9A-Za-z]{14}$/;
|
|
112
112
|
var zeroTime = "0001-01-01T00:00:00Z";
|
|
113
|
-
var zeroRecord = { id: "", createdTime: zeroTime, fields:
|
|
114
|
-
var zeroPage = { records:
|
|
115
|
-
var zeroUpserted = { records:
|
|
116
|
-
var zeroUpdated = { records:
|
|
113
|
+
var zeroRecord = { id: "", createdTime: zeroTime, fields: {} };
|
|
114
|
+
var zeroPage = { records: [] };
|
|
115
|
+
var zeroUpserted = { records: [], createdRecordIds: [], updatedRecordIds: [] };
|
|
116
|
+
var zeroUpdated = { records: [] };
|
|
117
117
|
var ListRecordsOperation = class {
|
|
118
118
|
/** Bind one authenticated client. */
|
|
119
119
|
constructor(client) {
|