@syncmatters/script-api 1.0.39 → 1.0.40

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.
@@ -526,6 +526,8 @@ export interface ObjectField {
526
526
  isUserKey?: boolean;
527
527
  /** field holds a unique value and the connector honors it as an idsFilterField key in queries */
528
528
  isAlternateKey?: boolean;
529
+ /** field holds the array element unique identifier, required for update operations */
530
+ isElementKey?: boolean;
529
531
  /** field, and any fields below, are custom (account specific): created by the account, or a vendor
530
532
  * slot with no meaning of its own whose content each account defines (user-defined values,
531
533
  * generic custom-field arrays); set it on the container */
package/lib/sync.d.ts CHANGED
@@ -166,6 +166,8 @@ export interface SyncEndpointField {
166
166
  /** indicates this field holds a unique value the connector can resolve rows by as an alternate to
167
167
  * the row id (e.g. in lookups) */
168
168
  isAlternateId?: boolean;
169
+ /** indicates this field holds the array element unique identifier, required for update operations */
170
+ isElementId?: boolean;
169
171
  /** indicates this field is custom */
170
172
  isCustom?: boolean;
171
173
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@syncmatters/script-api",
3
- "version": "1.0.39",
3
+ "version": "1.0.40",
4
4
  "description": "TypeScript type definitions for the SyncMatters script API (types only - scripts execute on the SyncMatters platform)",
5
5
  "types": "./index.d.ts",
6
6
  "exports": {
@@ -28,7 +28,7 @@
28
28
  "license": "MIT",
29
29
  "author": "SyncMatters",
30
30
  "homepage": "https://syncmatters.com",
31
- "typesContentHash": "bf1b3219da615094a91378081f63cf2e55b80ddd59b630ed937ea6fda8583393",
31
+ "typesContentHash": "fd7c187dfa8d708cbb9e36aae510e6d8cee55119ef233f53fd3fcc494d93a985",
32
32
  "dependencies": {
33
33
  "@types/node": "*"
34
34
  }