rapida-partner 1.7.4 → 1.7.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rapida-partner",
3
- "version": "1.7.4",
3
+ "version": "1.7.6",
4
4
  "main": "dist/index.js",
5
5
  "module": "index.ts",
6
6
  "files": [
@@ -10,4 +10,5 @@ export interface IFormArray {
10
10
  conditions?: IFormCondition[];
11
11
  todo?: string;
12
12
  businessRules?: IBusinessRule[];
13
+ elementDescription?: string;
13
14
  }
@@ -22,6 +22,7 @@ export interface IFormAutocomplete {
22
22
  optionsApiWithConditions?: IOptionsApi[];
23
23
  isMultiple?: boolean;
24
24
  businessRules?: IBusinessRule[];
25
+ elementDescription?: string;
25
26
  }
26
27
 
27
28
  export interface IOptionsApi {
@@ -40,4 +40,5 @@ export interface IFormButton {
40
40
  openInNewTab?: boolean;
41
41
  };
42
42
  businessRules?: IBusinessRule[];
43
+ elementDescription?: string;
43
44
  }
@@ -16,4 +16,5 @@ export interface IFormDatePicker {
16
16
  conditions?: IFormCondition[];
17
17
  todo?: string;
18
18
  businessRules?: IBusinessRule[];
19
+ elementDescription?: string;
19
20
  }
@@ -10,4 +10,5 @@ export interface IFormFieldset {
10
10
  title: string;
11
11
  elements: IFormElement[];
12
12
  businessRules?: IBusinessRule[];
13
+ elementDescription?: string;
13
14
  }
@@ -27,4 +27,5 @@ export interface IFormFile {
27
27
  validators?: ("onlyImages" | "png" | "jpg" | "pdf")[];
28
28
  storageConfig: IStorageConfig;
29
29
  businessRules?: IBusinessRule[];
30
+ elementDescription?: string;
30
31
  }
@@ -8,4 +8,5 @@ export interface IFormInheritance {
8
8
  conditions?: IFormCondition[];
9
9
  todo?: string;
10
10
  businessRules?: IBusinessRule[];
11
+ elementDescription?: string;
11
12
  }
@@ -29,6 +29,7 @@ export interface IFormInput {
29
29
  maskRegex?: string;
30
30
  suffix?: string;
31
31
  prefix?: string;
32
+ elementDescription?: string;
32
33
  }
33
34
 
34
35
  export interface IApiRequest {
@@ -23,6 +23,7 @@ export interface IFormSelect {
23
23
  options?: ISelectOption[];
24
24
  optionsApi?: IOptionsApi;
25
25
  businessRules?: IBusinessRule[];
26
+ elementDescription?: string;
26
27
  }
27
28
 
28
29
  interface ISelectOption {
@@ -14,4 +14,5 @@ export interface IFormTab {
14
14
  }[];
15
15
  conditions?: IFormCondition[];
16
16
  businessRules?: IBusinessRule[];
17
+ elementDescription?: string;
17
18
  }
@@ -64,6 +64,7 @@ export interface IContractRequestField {
64
64
  dataType: EDataType;
65
65
  requiredOneOf?: string[];
66
66
  isRequired?: boolean;
67
+ isHidden?: boolean;
67
68
  foreignKey?: IContractRequestFieldForeignKey;
68
69
  isPrimaryKey?: boolean;
69
70
  minSize?: number;
@@ -14,6 +14,9 @@
14
14
  "businessRules": {
15
15
  "$ref": "business-rules.ref.json"
16
16
  },
17
+ "elementDescription": {
18
+ "type": "string"
19
+ },
17
20
  "name": {
18
21
  "type": "string"
19
22
  },
@@ -55,6 +55,9 @@
55
55
  "businessRules": {
56
56
  "$ref": "business-rules.ref.json"
57
57
  },
58
+ "elementDescription": {
59
+ "type": "string"
60
+ },
58
61
  "optionsApi": {
59
62
  "type": "object",
60
63
  "properties": {
@@ -23,6 +23,9 @@
23
23
  "businessRules": {
24
24
  "$ref": "business-rules.ref.json"
25
25
  },
26
+ "elementDescription": {
27
+ "type": "string"
28
+ },
26
29
  "icon": {
27
30
  "type": "string"
28
31
  },
@@ -47,6 +47,9 @@
47
47
  },
48
48
  "businessRules": {
49
49
  "$ref": "business-rules.ref.json"
50
+ },
51
+ "elementDescription": {
52
+ "type": "string"
50
53
  }
51
54
  },
52
55
  "required": ["type", "name", "label"]
@@ -14,6 +14,9 @@
14
14
  "businessRules": {
15
15
  "$ref": "business-rules.ref.json"
16
16
  },
17
+ "elementDescription": {
18
+ "type": "string"
19
+ },
17
20
  "id": {
18
21
  "type": "string"
19
22
  },
@@ -58,6 +58,9 @@
58
58
  "businessRules": {
59
59
  "$ref": "business-rules.ref.json"
60
60
  },
61
+ "elementDescription": {
62
+ "type": "string"
63
+ },
61
64
  "validators": {
62
65
  "type": "array",
63
66
  "items": {
@@ -18,6 +18,9 @@
18
18
  },
19
19
  "businessRules": {
20
20
  "$ref": "business-rules.ref.json"
21
+ },
22
+ "elementDescription": {
23
+ "type": "string"
21
24
  }
22
25
  },
23
26
  "required": ["type", "form"]
@@ -72,6 +72,9 @@
72
72
  },
73
73
  "prefix": {
74
74
  "type": "string"
75
+ },
76
+ "elementDescription": {
77
+ "type": "string"
75
78
  }
76
79
  },
77
80
  "required": ["type", "dataType", "name", "label"]
@@ -55,6 +55,9 @@
55
55
  "businessRules": {
56
56
  "$ref": "business-rules.ref.json"
57
57
  },
58
+ "elementDescription": {
59
+ "type": "string"
60
+ },
58
61
  "isMultiple": {
59
62
  "type": "boolean"
60
63
  },
@@ -14,6 +14,9 @@
14
14
  "businessRules": {
15
15
  "$ref": "business-rules.ref.json"
16
16
  },
17
+ "elementDescription": {
18
+ "type":"string"
19
+ },
17
20
  "tabs": {
18
21
  "type": "array",
19
22
  "items": {
@@ -75,6 +75,10 @@
75
75
  "type": "string"
76
76
  }
77
77
  },
78
+ "isHidden": {
79
+ "type": "boolean",
80
+ "description": "If true, the attribute will not be exposed in the API."
81
+ },
78
82
  "foreignKey": {
79
83
  "type": "object",
80
84
  "properties": {