toga-ai 1.0.373 → 1.0.374
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.
|
@@ -40,9 +40,10 @@ privileged column, and there is deliberately **no** cross-system correlation key
|
|
|
40
40
|
every integration asks the same single-anchor question — "for this source record, what's its
|
|
41
41
|
ClickUp/Salesforce/… id?" — which needs no id-to-id web.
|
|
42
42
|
|
|
43
|
-
- **Columns:** `id`, `
|
|
43
|
+
- **Columns:** `id`, `entityType` (e.g. `opportunity`), `sourceSystem` (e.g. `netsuite`),
|
|
44
44
|
`sourceId` (the source record id), `targetSystem` (e.g. `clickup`), `targetExternalId` (the value;
|
|
45
|
-
`NULL` = claimed/in-flight), `dtCreated`/`dtUpdated`.
|
|
45
|
+
`NULL` = claimed/in-flight), `dtCreated`/`dtUpdated`. No synthetic row `uuid` — `uq_claim` is the
|
|
46
|
+
natural key.
|
|
46
47
|
- **Uniqueness:** `UNIQUE (entityType, sourceSystem, sourceId, targetSystem)` = the atomic claim
|
|
47
48
|
(one mapping per source record per target system); `UNIQUE (targetSystem, entityType,
|
|
48
49
|
targetExternalId)` = no two source records share one target id (NULLs exempt, so many in-flight
|
package/package.json
CHANGED