File tree Expand file tree Collapse file tree 3 files changed +12
-12
lines changed Expand file tree Collapse file tree 3 files changed +12
-12
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " @nintex/form-plugin-contract" ,
3- "version" : " 1.0.2 " ,
3+ "version" : " 1.0.3 " ,
44 "author" : " Nintex" ,
55 "description" : " Nintex Forms Plugin Contract" ,
66 "main" : " dist/cjs/index.js" ,
Original file line number Diff line number Diff line change 1- interface BaseProp {
1+ export interface BaseProp {
22 title : string ;
33 required ?: boolean ;
44 description ?: string ;
5- defaultValue ?: string | boolean | number ;
5+ defaultValue ?: string | boolean | number | object | undefined ;
66 format ?: string ;
77 isValueField ?: boolean ;
88}
99
10- type MinimumSize = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 ;
10+ export type MinimumSize = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 ;
1111
12- interface StringProp extends BaseProp {
12+ export interface StringProp extends BaseProp {
1313 type : 'string' ;
1414 minLength ?: number ;
1515 maxLength ?: number ;
1616}
1717
18- interface ChoiceProp extends BaseProp {
18+ export interface ChoiceProp extends BaseProp {
1919 type : 'string' ;
2020 enum : string [ ] ;
2121 showAsRadio ?: boolean ;
2222 verticalLayout ?: boolean ;
2323}
2424
25- interface NumberProp extends BaseProp {
25+ export interface NumberProp extends BaseProp {
2626 type : 'number' ;
2727 minimum ?: number ;
2828 maximum ?: number ;
2929}
3030
31- interface IntegerProp extends BaseProp {
31+ export interface IntegerProp extends BaseProp {
3232 type : 'integer' ;
3333 minimum ?: number ;
3434 maximum ?: number ;
3535}
3636
37- interface BooleanProp extends BaseProp {
37+ export interface BooleanProp extends BaseProp {
3838 type : 'boolean' ;
3939}
4040
@@ -81,4 +81,4 @@ export interface PluginContract {
8181}
8282
8383// this is same value is in package.json
84- export const PluginContractVersion = '1.0.2 ' ;
84+ export const PluginContractVersion = '1.0.3 ' ;
You can’t perform that action at this time.
0 commit comments