@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.
@@ -9,6 +9,7 @@ export interface EnrichedBinding {
9
9
  display?: {
10
10
  name: string;
11
11
  type: string;
12
+ rank: unknown;
12
13
  };
13
14
  fieldSchema?: {
14
15
  name: string;
@@ -11,13 +11,18 @@ interface HBSEditorMode {
11
11
  interface HTMLEditorMode {
12
12
  name: "text/html";
13
13
  }
14
- export type EditorMode = JSEditorMode | HBSEditorMode | HTMLEditorMode;
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: any;
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.0",
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": "255f35eea6023bbc035d9dee8c56ba3e600c6b89"
28
+ "gitHead": "43d59f5579dd910575d8aebefb40fae25570c05d"
30
29
  }