Skip to content

Commit 5ce873f

Browse files
committed
build(combobox-web): revert turbo.json, running rui-create-translation as prebuild
1 parent 1052d8a commit 5ce873f

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

packages/pluggableWidgets/combobox-web/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
"scripts": {
3333
"start": "pluggable-widgets-tools start:server",
3434
"dev": "pluggable-widgets-tools start:web",
35+
"prebuild": "rui-create-translation",
3536
"build": "pluggable-widgets-tools build:web",
3637
"format": "pluggable-widgets-tools format",
3738
"lint": "eslint --ext .jsx,.js,.ts,.tsx src/",

packages/pluggableWidgets/combobox-web/typings/ComboboxProps.d.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,8 @@ export interface ComboboxContainerProps {
9999

100100
export interface ComboboxPreviewProps {
101101
readOnly: boolean;
102-
renderMode?: "design" | "xray" | "structure";
102+
renderMode: "design" | "xray" | "structure";
103+
translate: (text: string) => string;
103104
source: SourceEnum;
104105
optionsSourceType: OptionsSourceTypeEnum;
105106
attributeEnumeration: string;

0 commit comments

Comments
 (0)