@react-typed-forms/schemas 11.11.1 → 11.12.0

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/lib/types.d.ts CHANGED
@@ -103,7 +103,8 @@ export declare enum ExpressionType {
103
103
  Jsonata = "Jsonata",
104
104
  Data = "Data",
105
105
  DataMatch = "FieldValue",
106
- UserMatch = "UserMatch"
106
+ UserMatch = "UserMatch",
107
+ NotEmpty = "NotEmpty"
107
108
  }
108
109
  export interface JsonataExpression extends EntityExpression {
109
110
  type: ExpressionType.Jsonata;
@@ -118,6 +119,10 @@ export interface DataMatchExpression extends EntityExpression {
118
119
  field: string;
119
120
  value: any;
120
121
  }
122
+ export interface NotEmptyExpression extends EntityExpression {
123
+ type: ExpressionType.DataMatch;
124
+ field: string;
125
+ }
121
126
  export interface UserMatchExpression extends EntityExpression {
122
127
  type: ExpressionType.UserMatch;
123
128
  userMatch: string;
@@ -185,7 +190,8 @@ export declare enum DataRenderType {
185
190
  Checkbox = "Checkbox",
186
191
  Dropdown = "Dropdown",
187
192
  DisplayOnly = "DisplayOnly",
188
- Group = "Group"
193
+ Group = "Group",
194
+ NullToggle = "NullToggle"
189
195
  }
190
196
  export interface TextfieldRenderOptions extends RenderOptions {
191
197
  type: DataRenderType.Textfield;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-typed-forms/schemas",
3
- "version": "11.11.1",
3
+ "version": "11.12.0",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",