@fugood/bricks-project 2.22.9 → 2.22.10
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/package.json +1 -1
- package/types/bricks/Image.ts +5 -0
- package/types/data-calc-command.ts +7003 -0
- package/types/data-calc-script.ts +21 -0
- package/types/data-calc.ts +0 -7021
- package/types/generators/Mcp.ts +3 -3
- package/types/index.ts +2 -0
- package/types/system.ts +42 -6
package/package.json
CHANGED
package/types/bricks/Image.ts
CHANGED
|
@@ -18,6 +18,7 @@ interface BrickImageDef {
|
|
|
18
18
|
Default property:
|
|
19
19
|
{
|
|
20
20
|
"path": "",
|
|
21
|
+
"templateType": "${}",
|
|
21
22
|
"fadeDuration": 0,
|
|
22
23
|
"blurBackgroundRadius": 8,
|
|
23
24
|
"loadSystemIos": "auto",
|
|
@@ -29,6 +30,10 @@ Default property:
|
|
|
29
30
|
resizeMode?: 'contain' | 'cover' | 'stretch' | 'center' | 'repeat' | DataLink
|
|
30
31
|
/* The image file path (File, URL) */
|
|
31
32
|
path?: string | DataLink
|
|
33
|
+
/* Data to be used in the path template (e.g. `https://example.com/${id}.png`). Supports nested data, such as `${user.avatar}`. */
|
|
34
|
+
templateData?: {} | DataLink
|
|
35
|
+
/* The path template type */
|
|
36
|
+
templateType?: '${}' | '{{}}' | DataLink
|
|
32
37
|
/* The checksum of file */
|
|
33
38
|
md5?: string | DataLink
|
|
34
39
|
/* The image fade duration */
|