@swell/apps-sdk 1.0.163 → 1.0.165
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/dist/index.cjs +26 -5
- package/dist/index.cjs.map +2 -2
- package/dist/index.js +26 -5
- package/dist/index.js.map +2 -2
- package/dist/index.mjs +26 -5
- package/dist/index.mjs.map +2 -2
- package/dist/src/theme/theme-loader.d.ts +10 -0
- package/package.json +1 -1
|
@@ -70,6 +70,16 @@ export declare class ThemeLoader {
|
|
|
70
70
|
* Generate a Swell API query filter for this theme version.
|
|
71
71
|
*/
|
|
72
72
|
private themeVersionQueryFilter;
|
|
73
|
+
/**
|
|
74
|
+
* Check if a config should have file_data based on FILE_DATA_INCLUDE_QUERY rules.
|
|
75
|
+
* This mirrors the server-side logic to avoid fetching data for configs that won't have it.
|
|
76
|
+
*/
|
|
77
|
+
private shouldIncludeFileData;
|
|
78
|
+
/**
|
|
79
|
+
* Filter configs to only those eligible for file_data.
|
|
80
|
+
* Aligns with FILE_DATA_INCLUDE_QUERY server-side logic.
|
|
81
|
+
*/
|
|
82
|
+
private filterConfigsForDataInclusion;
|
|
73
83
|
/**
|
|
74
84
|
* Build cache key with tenant isolation for metadata
|
|
75
85
|
*/
|