@tramvai/tokens-render 3.40.57 → 3.40.60
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/lib/index.d.ts +17 -0
- package/package.json +2 -2
package/lib/index.d.ts
CHANGED
|
@@ -166,6 +166,23 @@ export type RenderMode = 'legacy' | 'strict' | 'blocking' | 'concurrent';
|
|
|
166
166
|
type ResourceInlineOptions = {
|
|
167
167
|
threshold: number;
|
|
168
168
|
types: (keyof typeof StorageRecord)[];
|
|
169
|
+
cacheSize?: {
|
|
170
|
+
/**
|
|
171
|
+
* @description
|
|
172
|
+
* Cache size for fetched resources
|
|
173
|
+
*/
|
|
174
|
+
files: number;
|
|
175
|
+
/**
|
|
176
|
+
* @description
|
|
177
|
+
* Cache size for fetched resource sizes
|
|
178
|
+
*/
|
|
179
|
+
size: number;
|
|
180
|
+
/**
|
|
181
|
+
* @description
|
|
182
|
+
* Cache size for disabled urls of unavailable resources
|
|
183
|
+
*/
|
|
184
|
+
disabledUrl: number;
|
|
185
|
+
};
|
|
169
186
|
};
|
|
170
187
|
/**
|
|
171
188
|
* @description
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tramvai/tokens-render",
|
|
3
|
-
"version": "3.40.
|
|
3
|
+
"version": "3.40.60",
|
|
4
4
|
"description": "Tramvai tokens for @tramvai/module-render",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "lib/index.es.js",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"watch": "tsc -w"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
|
-
"@tramvai/react": "3.40.
|
|
21
|
+
"@tramvai/react": "3.40.60"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@tinkoff/htmlpagebuilder": "0.6.1"
|