@pattern-stack/codegen 0.7.1 → 0.7.3
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/CHANGELOG.md +47 -0
- package/dist/runtime/subsystems/sync/deep-equal.differ.js +4 -0
- package/dist/runtime/subsystems/sync/deep-equal.differ.js.map +1 -1
- package/dist/runtime/subsystems/sync/index.js +4 -0
- package/dist/runtime/subsystems/sync/index.js.map +1 -1
- package/dist/runtime/subsystems/sync/sync.module.js +4 -0
- package/dist/runtime/subsystems/sync/sync.module.js.map +1 -1
- package/dist/src/cli/index.js +735 -568
- package/dist/src/cli/index.js.map +1 -1
- package/dist/src/index.js +4 -0
- package/dist/src/index.js.map +1 -1
- package/package.json +1 -1
- package/runtime/subsystems/sync/deep-equal.differ.ts +12 -0
package/package.json
CHANGED
|
@@ -44,6 +44,14 @@ import type {
|
|
|
44
44
|
/**
|
|
45
45
|
* Default ignore list. Keep in sync with consumer canonical-record shapes —
|
|
46
46
|
* adding a row-metadata field here means no sync will ever mark it changed.
|
|
47
|
+
*
|
|
48
|
+
* Includes the columns contributed by the `external_id_tracking` behavior
|
|
49
|
+
* (`external_id`/`externalId`, `provider`, `provider_metadata`/`providerMetadata`).
|
|
50
|
+
* These are sync-tracking metadata, not domain attributes: they ride on the
|
|
51
|
+
* canonical record but must never register as a field change (the external id
|
|
52
|
+
* is the record's identity, not a mutable value). Listed in both snake_case
|
|
53
|
+
* and camelCase so the differ ignores them regardless of the consumer's
|
|
54
|
+
* canonical projection casing.
|
|
47
55
|
*/
|
|
48
56
|
const DEFAULT_IGNORE_FIELDS: ReadonlySet<string> = new Set([
|
|
49
57
|
'id',
|
|
@@ -53,6 +61,10 @@ const DEFAULT_IGNORE_FIELDS: ReadonlySet<string> = new Set([
|
|
|
53
61
|
'type',
|
|
54
62
|
'lastModifiedAt',
|
|
55
63
|
'fields',
|
|
64
|
+
'external_id',
|
|
65
|
+
'externalId',
|
|
66
|
+
'provider',
|
|
67
|
+
'provider_metadata',
|
|
56
68
|
'providerMetadata',
|
|
57
69
|
]);
|
|
58
70
|
|