rapida-partner 1.6.2 → 1.7.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/package.json +1 -1
- package/rapidaObject.json +3456 -1
- package/src/interfaces/form.interface.ts +1 -15
- package/src/schemas/form.ref.json +6 -0
|
@@ -41,11 +41,6 @@ export interface IForm {
|
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
-
// interface IFormContractGeneral {
|
|
45
|
-
// name: string;
|
|
46
|
-
// dataType: EFormContractDataType;
|
|
47
|
-
// }
|
|
48
|
-
|
|
49
44
|
interface IContractRequest {
|
|
50
45
|
entity: string,
|
|
51
46
|
relatedEntity?: {
|
|
@@ -67,6 +62,7 @@ interface IContractRequest {
|
|
|
67
62
|
interface IContractRequestField {
|
|
68
63
|
name: string;
|
|
69
64
|
dataType: EDataType;
|
|
65
|
+
requiredOneOf: string[];
|
|
70
66
|
isRequired?: boolean;
|
|
71
67
|
foreignKey?: IContractRequestFieldForeignKey;
|
|
72
68
|
isPrimaryKey?: boolean;
|
|
@@ -86,16 +82,6 @@ interface IContractRequestFieldForeignKey {
|
|
|
86
82
|
fields?: IContractRequestField[];
|
|
87
83
|
}
|
|
88
84
|
|
|
89
|
-
// interface IFormContractArray {
|
|
90
|
-
// name: string;
|
|
91
|
-
// dataType: "array";
|
|
92
|
-
// elements: (IFormContractGeneral | IFormContractArray)[];
|
|
93
|
-
// }
|
|
94
|
-
|
|
95
|
-
// export interface IApiRequest {
|
|
96
|
-
// body?: (IFormContractGeneral | IFormContractArray)[];
|
|
97
|
-
// }
|
|
98
|
-
|
|
99
85
|
export type IFormElement =
|
|
100
86
|
| IFormInput
|
|
101
87
|
| IFormSelect
|