@trackunit/react-core-contexts 2.7.24 → 2.7.28
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/index.cjs.js +16 -0
- package/index.esm.js +16 -0
- package/package.json +8 -8
- package/migrations/entry.js.map +0 -1
package/index.cjs.js
CHANGED
|
@@ -405,6 +405,22 @@ const createApolloClient = ({ graphqlPublicUrl, graphqlInternalUrl, graphqlRepor
|
|
|
405
405
|
},
|
|
406
406
|
},
|
|
407
407
|
},
|
|
408
|
+
// Merge disjoint properties subfields (e.g. relayedByUser vs timeZone/accuracyRadius)
|
|
409
|
+
// under locations.latest so partial location queries don't drop seen-by data.
|
|
410
|
+
// see libs/react/core-contexts/docs/adr/0001-asset-cache-id-and-properties-merge.md
|
|
411
|
+
GeoJSONFeatureForAsset: {
|
|
412
|
+
fields: {
|
|
413
|
+
properties: {
|
|
414
|
+
merge: true,
|
|
415
|
+
},
|
|
416
|
+
},
|
|
417
|
+
},
|
|
418
|
+
AssetSummary: {
|
|
419
|
+
merge: true,
|
|
420
|
+
},
|
|
421
|
+
AssetTypesSummary: {
|
|
422
|
+
merge: true,
|
|
423
|
+
},
|
|
408
424
|
},
|
|
409
425
|
}),
|
|
410
426
|
defaultOptions,
|
package/index.esm.js
CHANGED
|
@@ -403,6 +403,22 @@ const createApolloClient = ({ graphqlPublicUrl, graphqlInternalUrl, graphqlRepor
|
|
|
403
403
|
},
|
|
404
404
|
},
|
|
405
405
|
},
|
|
406
|
+
// Merge disjoint properties subfields (e.g. relayedByUser vs timeZone/accuracyRadius)
|
|
407
|
+
// under locations.latest so partial location queries don't drop seen-by data.
|
|
408
|
+
// see libs/react/core-contexts/docs/adr/0001-asset-cache-id-and-properties-merge.md
|
|
409
|
+
GeoJSONFeatureForAsset: {
|
|
410
|
+
fields: {
|
|
411
|
+
properties: {
|
|
412
|
+
merge: true,
|
|
413
|
+
},
|
|
414
|
+
},
|
|
415
|
+
},
|
|
416
|
+
AssetSummary: {
|
|
417
|
+
merge: true,
|
|
418
|
+
},
|
|
419
|
+
AssetTypesSummary: {
|
|
420
|
+
merge: true,
|
|
421
|
+
},
|
|
406
422
|
},
|
|
407
423
|
}),
|
|
408
424
|
defaultOptions,
|
package/package.json
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trackunit/react-core-contexts",
|
|
3
|
-
"version": "2.7.
|
|
3
|
+
"version": "2.7.28",
|
|
4
4
|
"repository": "https://github.com/Trackunit/manager",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"engines": {
|
|
7
7
|
"node": ">=24.x"
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@trackunit/iris-app-api": "2.4.
|
|
11
|
-
"@trackunit/iris-app-runtime-core-api": "1.17.
|
|
12
|
-
"@trackunit/react-core-hooks": "1.21.
|
|
13
|
-
"@trackunit/i18n-library-translation": "2.4.
|
|
14
|
-
"@trackunit/react-components": "2.11.
|
|
15
|
-
"@trackunit/iris-app-runtime-core": "1.18.
|
|
10
|
+
"@trackunit/iris-app-api": "2.4.30",
|
|
11
|
+
"@trackunit/iris-app-runtime-core-api": "1.17.39",
|
|
12
|
+
"@trackunit/react-core-hooks": "1.21.39",
|
|
13
|
+
"@trackunit/i18n-library-translation": "2.4.39",
|
|
14
|
+
"@trackunit/react-components": "2.11.7",
|
|
15
|
+
"@trackunit/iris-app-runtime-core": "1.18.39",
|
|
16
16
|
"graphql-sse": "^2.6.0",
|
|
17
|
-
"@trackunit/react-core-contexts-api": "1.18.
|
|
17
|
+
"@trackunit/react-core-contexts-api": "1.18.39"
|
|
18
18
|
},
|
|
19
19
|
"peerDependencies": {
|
|
20
20
|
"@apollo/client": "^3.13.8",
|
package/migrations/entry.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"entry.js","sourceRoot":"","sources":["../../../../../libs/react/core-contexts/migrations/entry.ts"],"names":[],"mappings":"","sourcesContent":["export {};\n"]}
|