@syncmatters/connector-sdk 1.0.36 → 1.0.37

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.
@@ -215,6 +215,7 @@ show its **Type** as "declared by connector". "Detected from the name" marks an
215
215
  | `isKey: true` | this field is the row's unique id — its value becomes `row.meta.key`. Assign this (or `isUserKey`) to exactly one `queryFields`, plus one `upsertFields`, plus one `deleteFields` |
216
216
  | `isUserKey: true` | user-supplied natural key that can both add and update — see below |
217
217
  | `isAlternateKey: true` | scalar `queryFields` field holding a unique value the connector can resolve rows by (`queryOptions.idsFilterField`) — a COMMITMENT to honor that filter, see [05-query.md](./05-query.md) |
218
+ | `isElementKey: true` | on a field declared directly in an array's `arrayObjectFields`: the field holds each element's unique id (e.g. an order line `id`), required for update operations on existing elements. At most one per array; a nested array carries its own. Rejected anywhere else |
218
219
  | `canMatch: true` | field may be referenced by match rules (set on id/name/email-like fields; apply recursively into nested object fields where meaningful) |
219
220
  | `optionValues` | picklist options `[{ id, name?, group? }]` |
220
221
  | `canUpdateOptions: true` | new picklist options may be added via `upsertFieldOptions()` |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@syncmatters/connector-sdk",
3
- "version": "1.0.36",
3
+ "version": "1.0.37",
4
4
  "description": "TypeScript type definitions for the SyncMatters connector SDK (types only - connectors execute on the SyncMatters platform)",
5
5
  "types": "./index.d.ts",
6
6
  "exports": {
@@ -12,9 +12,9 @@
12
12
  "license": "MIT",
13
13
  "author": "SyncMatters",
14
14
  "homepage": "https://syncmatters.com",
15
- "typesContentHash": "3d73ad11d72941a3c267c95a31a22061cb03cc2f66548112063e9907845af733",
15
+ "typesContentHash": "cba3a175140a1619417a118311c149e51e0d03f6247605343c970823f6f9b26b",
16
16
  "dependencies": {
17
17
  "@types/node": "*",
18
- "@syncmatters/script-api": "^1.0.38"
18
+ "@syncmatters/script-api": "^1.0.40"
19
19
  }
20
20
  }