@admin-layout/client 12.0.16-alpha.56 → 12.0.16-alpha.58
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UpdateSettings.server.d.ts","sourceRoot":"","sources":["../../../src/components/UpdateSettings/UpdateSettings.server.ts"],"names":[],"mappings":"AAgBA,eAAO,MAAM,cAAc,4CAMzB,CAAC;
|
|
1
|
+
{"version":3,"file":"UpdateSettings.server.d.ts","sourceRoot":"","sources":["../../../src/components/UpdateSettings/UpdateSettings.server.ts"],"names":[],"mappings":"AAgBA,eAAO,MAAM,cAAc,4CAMzB,CAAC;AAIH,wBAAsB,0BAA0B,CAAC,OAAO,EAAE,OAAO,EAAE,kBAAkB,CAAC,EAAE,MAAM;;GAqF7F;AAED,wBAAsB,kBAAkB,CAAC,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE;;;;CAAA;;;GAqIpE"}
|
|
@@ -5,8 +5,10 @@ import {createCookie}from'@remix-run/node';import {ConfigCollectionName,ConfigFr
|
|
|
5
5
|
path: '/', // Ensure cookie is available for all paths
|
|
6
6
|
domain: config.isProd ? config.APP_DOMAIN : undefined,
|
|
7
7
|
});
|
|
8
|
-
//
|
|
8
|
+
// Direct fetch-based implementation for fetching settings from GraphQL
|
|
9
|
+
// Note: GraphQL backend already has Redis caching, so no need for additional caching here
|
|
9
10
|
async function fetchPageSettingsWithFetch(request, overrideIdentifier) {
|
|
11
|
+
console.log(`🔍 Fetching settings from GraphQL (Redis-cached backend)...`);
|
|
10
12
|
const resource = generateCdecodeUri(DEFAULT_CONTRIBUTION_TENANT_ID, {
|
|
11
13
|
resourceType: ConfigCollectionName.Applications,
|
|
12
14
|
resourceId: config.APPLICATION_ID,
|
|
@@ -68,7 +70,7 @@ async function fetchPageSettingsWithFetch(request, overrideIdentifier) {
|
|
|
68
70
|
console.error('❌ GraphQL errors:', JSON.stringify(result.errors, null, 2));
|
|
69
71
|
throw new Error(`GraphQL errors: ${JSON.stringify(result.errors)}`);
|
|
70
72
|
}
|
|
71
|
-
console.log('✅ Settings fetched successfully
|
|
73
|
+
console.log('✅ Settings fetched successfully (from Redis-cached backend)');
|
|
72
74
|
return { data: result.data };
|
|
73
75
|
}
|
|
74
76
|
catch (error) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UpdateSettings.server.js","sources":["../../../src/components/UpdateSettings/UpdateSettings.server.ts"],"sourcesContent":[null],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"UpdateSettings.server.js","sources":["../../../src/components/UpdateSettings/UpdateSettings.server.ts"],"sourcesContent":[null],"names":[],"mappings":"qhBAiHqE,MAAA,cAAA,GAAA,YAAA,CAAA,UAAA,EAAA;;;AAqIpE,IAAA,QAAA,EAAA,KAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@admin-layout/client",
|
|
3
|
-
"version": "12.0.16-alpha.
|
|
3
|
+
"version": "12.0.16-alpha.58",
|
|
4
4
|
"description": "Sample client for higher packages to depend on",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"author": "CDMBase LLC",
|
|
@@ -44,5 +44,5 @@
|
|
|
44
44
|
"typescript": {
|
|
45
45
|
"definition": "lib/index.d.ts"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "efd185779ae70bff337be3796834fba601aae848"
|
|
48
48
|
}
|