@budibase/types 3.18.0 → 3.18.2
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/dist/api/web/ai.d.ts +1 -2
- package/dist/documents/app/component.d.ts +8 -5
- package/dist/index.js +1 -32
- package/dist/index.js.map +4 -4
- package/dist/ui/bindings/binding.d.ts +1 -0
- package/dist/ui/components/codeEditor.d.ts +6 -1
- package/dist/ui/stores/grid/condition.d.ts +6 -1
- package/package.json +2 -3
|
@@ -11,13 +11,18 @@ interface HBSEditorMode {
|
|
|
11
11
|
interface HTMLEditorMode {
|
|
12
12
|
name: "text/html";
|
|
13
13
|
}
|
|
14
|
-
|
|
14
|
+
interface PureHTMLEditorMode {
|
|
15
|
+
name: "html";
|
|
16
|
+
}
|
|
17
|
+
export type EditorMode = JSEditorMode | HBSEditorMode | HTMLEditorMode | PureHTMLEditorMode;
|
|
15
18
|
type EditorModeMapBase = (JSEditorMode & {
|
|
16
19
|
key: "JS";
|
|
17
20
|
}) | (HBSEditorMode & {
|
|
18
21
|
key: "Handlebars";
|
|
19
22
|
}) | (HTMLEditorMode & {
|
|
20
23
|
key: "Text";
|
|
24
|
+
}) | (PureHTMLEditorMode & {
|
|
25
|
+
key: "HTML";
|
|
21
26
|
});
|
|
22
27
|
export type EditorModesMap = {
|
|
23
28
|
[M in EditorModeMapBase as M["key"]]: Omit<M, "key">;
|
|
@@ -2,9 +2,14 @@ import { FieldType, SearchFilter } from "@budibase/types";
|
|
|
2
2
|
export interface UICondition {
|
|
3
3
|
column: string;
|
|
4
4
|
type: FieldType;
|
|
5
|
-
referenceValue:
|
|
5
|
+
referenceValue: unknown;
|
|
6
6
|
operator: SearchFilter["operator"];
|
|
7
7
|
metadataKey: string;
|
|
8
8
|
metadataValue: string;
|
|
9
9
|
target: string;
|
|
10
|
+
buttonIndex?: number;
|
|
11
|
+
newValue?: unknown;
|
|
12
|
+
action?: string;
|
|
13
|
+
setting?: string;
|
|
14
|
+
settingValue?: unknown;
|
|
10
15
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@budibase/types",
|
|
3
|
-
"version": "3.18.
|
|
3
|
+
"version": "3.18.2",
|
|
4
4
|
"description": "Budibase types",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -12,7 +12,6 @@
|
|
|
12
12
|
"build:dev": "yarn prebuild && tsc --build --watch --preserveWatchOutput",
|
|
13
13
|
"check:types": "tsc -p tsconfig.json --noEmit --paths null"
|
|
14
14
|
},
|
|
15
|
-
"jest": {},
|
|
16
15
|
"devDependencies": {
|
|
17
16
|
"@budibase/nano": "10.1.5",
|
|
18
17
|
"@types/json-schema": "^7.0.15",
|
|
@@ -26,5 +25,5 @@
|
|
|
26
25
|
"dependencies": {
|
|
27
26
|
"scim-patch": "^0.8.1"
|
|
28
27
|
},
|
|
29
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "43d59f5579dd910575d8aebefb40fae25570c05d"
|
|
30
29
|
}
|