@syncmatters/script-api 1.0.40 → 1.0.41
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/lib/sync.d.ts +4 -0
- package/package.json +2 -2
package/lib/sync.d.ts
CHANGED
|
@@ -363,6 +363,8 @@ export interface SyncLogicFilterMatchedContext {
|
|
|
363
363
|
readonly lookups?: SyncLookupFields;
|
|
364
364
|
/** the destination row that the src row has been matched with, if any */
|
|
365
365
|
readonly dest?: unknown;
|
|
366
|
+
/** loop child syncs: the parent's matched destination row as it was before this run's write; absent when the parent adds a new row */
|
|
367
|
+
readonly parentDest?: unknown;
|
|
366
368
|
/** the caller requests that, if possible, filters be bypassed */
|
|
367
369
|
force?: boolean;
|
|
368
370
|
}
|
|
@@ -396,4 +398,6 @@ export interface SyncLogicCalcContext {
|
|
|
396
398
|
calculated: SyncCalculatedFields;
|
|
397
399
|
/** the destination row that the src is matched with, if any */
|
|
398
400
|
readonly dest?: unknown;
|
|
401
|
+
/** loop child syncs: the parent's matched destination row as it was before this run's write; absent when the parent adds a new row */
|
|
402
|
+
readonly parentDest?: unknown;
|
|
399
403
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@syncmatters/script-api",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.41",
|
|
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": "
|
|
31
|
+
"typesContentHash": "980f3d2636c2a3562254b332aeb9ab89d2ec2c62abbe5d02e7e7188942388041",
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@types/node": "*"
|
|
34
34
|
}
|