@pushwoosh/rpc-gateway-ai-assistant 0.1.219 → 0.1.221
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/data.js +10 -0
- package/package.json +1 -1
- package/pushwoosh_aibuilder_v1.d.ts +24 -5
package/data.js
CHANGED
|
@@ -169,6 +169,10 @@ export const data = {
|
|
|
169
169
|
"borderRadiusCss": {
|
|
170
170
|
"type": "string",
|
|
171
171
|
"optional": true
|
|
172
|
+
},
|
|
173
|
+
"backgroundImage": {
|
|
174
|
+
"type": "string",
|
|
175
|
+
"optional": true
|
|
172
176
|
}
|
|
173
177
|
}
|
|
174
178
|
},
|
|
@@ -446,6 +450,12 @@ export const data = {
|
|
|
446
450
|
"items": {
|
|
447
451
|
"type": "pushwoosh.aibuilder.v1.ListItem",
|
|
448
452
|
"array": true
|
|
453
|
+
},
|
|
454
|
+
"ordered": {
|
|
455
|
+
"type": "boolean"
|
|
456
|
+
},
|
|
457
|
+
"variant": {
|
|
458
|
+
"type": "string"
|
|
449
459
|
}
|
|
450
460
|
}
|
|
451
461
|
},
|
package/package.json
CHANGED
|
@@ -43,7 +43,12 @@ export type DocumentBlockType = 'DOCUMENT_BLOCK_TYPE_UNSPECIFIED' | 'DOCUMENT_BL
|
|
|
43
43
|
* shared between the document model and the AiGen wire types.
|
|
44
44
|
*/
|
|
45
45
|
export type GroupDirection = 'GROUP_DIRECTION_UNSPECIFIED' | 'GROUP_DIRECTION_VERTICAL' | 'GROUP_DIRECTION_HORIZONTAL';
|
|
46
|
-
export type CardLayout = 'CARD_LAYOUT_UNSPECIFIED' | 'CARD_LAYOUT_RIGHT' | 'CARD_LAYOUT_LEFT' | 'CARD_LAYOUT_TOP' | 'CARD_LAYOUT_NO'
|
|
46
|
+
export type CardLayout = 'CARD_LAYOUT_UNSPECIFIED' | 'CARD_LAYOUT_RIGHT' | 'CARD_LAYOUT_LEFT' | 'CARD_LAYOUT_TOP' | 'CARD_LAYOUT_NO'
|
|
47
|
+
/**
|
|
48
|
+
* The card image renders as the card backdrop (dark overlay + light text).
|
|
49
|
+
* Takes precedence over BlockStyles.background_image on the same block.
|
|
50
|
+
*/
|
|
51
|
+
| 'CARD_LAYOUT_BACKGROUND';
|
|
47
52
|
export type ButtonGroupAlign = 'BUTTON_GROUP_ALIGN_UNSPECIFIED' | 'BUTTON_GROUP_ALIGN_LEFT' | 'BUTTON_GROUP_ALIGN_CENTER' | 'BUTTON_GROUP_ALIGN_RIGHT';
|
|
48
53
|
/**
|
|
49
54
|
* TextAlign is the horizontal alignment of a single TextBlock's copy.
|
|
@@ -199,8 +204,9 @@ export type EdgeInsets = {
|
|
|
199
204
|
* LLM-managed: background_color, border_color, border_radius — the
|
|
200
205
|
* block generator may emit these via AiGenBlockStyles and the
|
|
201
206
|
* pipeline lifts them into BlockStyles.
|
|
202
|
-
* Client-managed: border_width and
|
|
203
|
-
*
|
|
207
|
+
* Client-managed: border_width, border_radius_css and background_image —
|
|
208
|
+
* the LLM never emits them (absent from its schema), the backend
|
|
209
|
+
* preserves them verbatim across edits.
|
|
204
210
|
*/
|
|
205
211
|
export type BlockStyles = {
|
|
206
212
|
/**
|
|
@@ -223,6 +229,13 @@ export type BlockStyles = {
|
|
|
223
229
|
* when set (user-edited uniform value wins), else this.
|
|
224
230
|
*/
|
|
225
231
|
borderRadiusCss?: string;
|
|
232
|
+
/**
|
|
233
|
+
* Block backdrop image URL over background_color (CSS cover/center/no-repeat).
|
|
234
|
+
* Reintroduces a block backdrop the old field (tag 5) removed, now client-managed
|
|
235
|
+
* (user-set, LLM never touches it). "" ≡ unset. Ignored on a CARD_LAYOUT_BACKGROUND
|
|
236
|
+
* card — that layout's own image is the backdrop.
|
|
237
|
+
*/
|
|
238
|
+
backgroundImage?: string;
|
|
226
239
|
};
|
|
227
240
|
/** Two-stop CSS linear gradient: `linear-gradient(<angle>deg, from, to)`. */
|
|
228
241
|
export type BackgroundGradient = {
|
|
@@ -416,11 +429,17 @@ export type ListItem = {
|
|
|
416
429
|
};
|
|
417
430
|
/**
|
|
418
431
|
* List is a simple list of short entries — features, benefits, steps,
|
|
419
|
-
* FAQ-style runs
|
|
420
|
-
* (CSS), not modelled here.
|
|
432
|
+
* FAQ-style runs, terms & conditions.
|
|
421
433
|
*/
|
|
422
434
|
export type List = {
|
|
423
435
|
items: ListItem[];
|
|
436
|
+
/** true = numbered (<ol>), false/unset = bulleted (<ul>). */
|
|
437
|
+
ordered: boolean;
|
|
438
|
+
/**
|
|
439
|
+
* Text variant of the entries (same registry as TextBlock.variant);
|
|
440
|
+
* unset = "normal".
|
|
441
|
+
*/
|
|
442
|
+
variant: string;
|
|
424
443
|
};
|
|
425
444
|
export type FormFieldType =
|
|
426
445
|
/** treated as TEXT */
|