km-card-layout-component-miniprogram 0.1.17 → 0.1.18

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "km-card-layout-component-miniprogram",
3
- "version": "0.1.17",
3
+ "version": "0.1.18",
4
4
  "description": "",
5
5
  "main": "miniprogram_dist/index.js",
6
6
  "miniprogram": "miniprogram_dist",
@@ -143,7 +143,7 @@ export function handleSpecialFields(data: { user: Record<string, any> }): {
143
143
 
144
144
  export function processCardLayout(
145
145
  layout: CardLayoutSchema[],
146
- data: Data
146
+ data: any
147
147
  ): CardLayoutSchema[];
148
148
 
149
149
  export type Config = {
@@ -154,3 +154,9 @@ export type Config = {
154
154
  */
155
155
  currentBg: TemplateBackground[];
156
156
  };
157
+
158
+ export function buildRenderData(
159
+ layout: CardLayoutSchema[],
160
+ items: TemplateItem[],
161
+ config: Config
162
+ ): CardLayoutSchema[];