rapida-partner 1.1.0 → 1.1.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.
@@ -29,7 +29,7 @@ export interface IOptionsApi {
29
29
  valueField: string;
30
30
  paramsToFilter: string[];
31
31
  paramType: "query" | "path";
32
- relatedEntity?: string;
32
+ relatedEntity: string;
33
33
  populate?: string[];
34
34
  formFieldsFilledByApiResponse?: IApiResponseField[];
35
35
  filtersFromOtherFormFields?: IApiResponseFieldFilter[];
@@ -4,8 +4,8 @@
4
4
  "type": "object",
5
5
  "properties": {
6
6
  "projectFolderCase": {
7
- "type": "string",
8
- "enum": ["kebab", "snake", "pascal", "camel"]
7
+ "type": "string",
8
+ "enum": ["kebab", "snake", "pascal", "camel"]
9
9
  },
10
10
  "controllerFileNomenclature": {
11
11
  "type": "object",
@@ -1,57 +1,47 @@
1
1
  {
2
- "$id": "bdd-and-e2e-narratives.ref.json",
3
- "$schema": "http://json-schema.org/draft-07/schema#",
4
- "type": "array",
5
- "items": {
6
- "type": "object",
7
- "properties": {
2
+ "$id": "bdd-and-e2e-narratives.ref.json",
3
+ "$schema": "http://json-schema.org/draft-07/schema#",
4
+ "type": "array",
5
+ "items": {
6
+ "type": "object",
7
+ "properties": {
8
+ "title": {
9
+ "type": "string"
10
+ },
11
+ "description": {
12
+ "type": "string"
13
+ },
14
+ "businessRules": {
15
+ "$ref": "business-rules.ref.json"
16
+ },
17
+ "scenarios": {
18
+ "type": "array",
19
+ "items": {
20
+ "type": "object",
21
+ "properties": {
8
22
  "title": {
9
- "type": "string"
23
+ "type": "string"
10
24
  },
11
25
  "description": {
12
- "type": "string"
26
+ "type": "string"
13
27
  },
14
28
  "businessRules": {
15
- "$ref": "business-rules.ref.json"
16
- },
17
- "scenarios": {
18
- "type": "array",
19
- "items": {
20
- "type": "object",
21
- "properties": {
22
- "title": {
23
- "type": "string"
24
- },
25
- "description": {
26
- "type": "string"
27
- },
28
- "businessRules": {
29
- "$ref": "business-rules.ref.json"
30
- }
31
- },
32
- "required": [
33
- "title",
34
- "description"
35
- ]
36
- }
37
- },
38
- "e2e": {
39
- "type": "object",
40
- "properties": {
41
- "cypress": {
42
- "type": "string"
43
- }
44
- },
45
- "required": [
46
- "cypress"
47
- ]
29
+ "$ref": "business-rules.ref.json"
48
30
  }
31
+ },
32
+ "required": ["title", "description"]
33
+ }
34
+ },
35
+ "e2e": {
36
+ "type": "object",
37
+ "properties": {
38
+ "cypress": {
39
+ "type": "string"
40
+ }
49
41
  },
50
- "required": [
51
- "title",
52
- "description",
53
- "scenarios",
54
- "e2e"
55
- ]
56
- }
57
- }
42
+ "required": ["cypress"]
43
+ }
44
+ },
45
+ "required": ["title", "description", "scenarios", "e2e"]
46
+ }
47
+ }
@@ -1,36 +1,33 @@
1
1
  {
2
- "$schema": "http://json-schema.org/draft-07/schema#",
3
- "type": "object",
4
- "properties": {
5
- "bddTitle": {
6
- "type": "string"
7
- },
8
- "businessRules": {
9
- "$ref": "business-rules.ref.json"
10
- },
11
- "forms": {
12
- "type": "array",
13
- "elements": {
14
- "type": "object",
15
- "properties": {
16
- "forms": {
17
- "$ref": "form.ref.json",
18
- "narratives": {
19
- "$ref": "bdd-and-e2e-narratives.ref.json"
20
- }
21
- },
22
- "lists": {
23
- "$ref": "list.ref.json",
24
- "narratives": {
25
- "$ref": "bdd-and-e2e-narratives.ref.json"
26
- }
27
- }
28
- }
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "properties": {
5
+ "bddTitle": {
6
+ "type": "string"
7
+ },
8
+ "businessRules": {
9
+ "$ref": "business-rules.ref.json"
10
+ },
11
+ "forms": {
12
+ "type": "array",
13
+ "elements": {
14
+ "type": "object",
15
+ "properties": {
16
+ "forms": {
17
+ "$ref": "form.ref.json",
18
+ "narratives": {
19
+ "$ref": "bdd-and-e2e-narratives.ref.json"
29
20
  }
21
+ },
22
+ "lists": {
23
+ "$ref": "list.ref.json",
24
+ "narratives": {
25
+ "$ref": "bdd-and-e2e-narratives.ref.json"
26
+ }
27
+ }
30
28
  }
31
- },
32
- "required": [
33
- "bddTitle",
34
- "narratives"
35
- ]
36
- }
29
+ }
30
+ }
31
+ },
32
+ "required": ["bddTitle", "narratives"]
33
+ }
@@ -1,25 +1,25 @@
1
1
  {
2
- "$id": "business-plan.ref.json",
3
- "$schema": "http://json-schema.org/draft-07/schema#",
4
- "type": "object",
5
- "properties": {
6
- "businessValue": {
7
- "type": "string"
8
- },
9
- "targetMarket": {
10
- "type": "string"
11
- },
12
- "benchmarkings": {
13
- "type": "string"
14
- },
15
- "legalIssues": {
16
- "type": "string"
17
- },
18
- "ethicalIssues": {
19
- "type": "string"
20
- },
21
- "afterSale": {
22
- "type": "string"
23
- }
2
+ "$id": "business-plan.ref.json",
3
+ "$schema": "http://json-schema.org/draft-07/schema#",
4
+ "type": "object",
5
+ "properties": {
6
+ "businessValue": {
7
+ "type": "string"
8
+ },
9
+ "targetMarket": {
10
+ "type": "string"
11
+ },
12
+ "benchmarkings": {
13
+ "type": "string"
14
+ },
15
+ "legalIssues": {
16
+ "type": "string"
17
+ },
18
+ "ethicalIssues": {
19
+ "type": "string"
20
+ },
21
+ "afterSale": {
22
+ "type": "string"
24
23
  }
25
- }
24
+ }
25
+ }
@@ -1,34 +1,34 @@
1
1
  {
2
- "$id": "business-rules.ref.json",
3
- "$schema": "http://json-schema.org/draft-07/schema#",
4
- "type": "array",
5
- "items": {
2
+ "$id": "business-rules.ref.json",
3
+ "$schema": "http://json-schema.org/draft-07/schema#",
4
+ "type": "array",
5
+ "items": {
6
+ "type": "object",
7
+ "properties": {
8
+ "rule": {
6
9
  "type": "object",
7
10
  "properties": {
8
- "rule": {
9
- "type": "object",
10
- "properties": {
11
+ "description": {
12
+ "type": "string"
13
+ },
14
+ "subrules": {
15
+ "type": "array",
16
+ "items": {
17
+ "type": "object",
18
+ "properties": {
19
+ "subrule": {
20
+ "type": "object",
21
+ "properties": {
11
22
  "description": {
12
- "type": "string"
13
- },
14
- "subrules": {
15
- "type": "array",
16
- "items": {
17
- "type": "object",
18
- "properties": {
19
- "subrule": {
20
- "type": "object",
21
- "properties": {
22
- "description": {
23
- "type": "string"
24
- }
25
- }
26
- }
27
- }
28
- }
23
+ "type": "string"
29
24
  }
25
+ }
30
26
  }
27
+ }
31
28
  }
29
+ }
32
30
  }
31
+ }
33
32
  }
34
- }
33
+ }
34
+ }
@@ -12,4 +12,4 @@
12
12
  { "$ref": "dashboard.ref.json" },
13
13
  { "$ref": "panel.ref.json" }
14
14
  ]
15
- }
15
+ }
@@ -172,5 +172,5 @@
172
172
  "type": "string"
173
173
  }
174
174
  },
175
- "required": ["type", "dataType", "name", "label"]
175
+ "required": ["type", "dataType", "name", "label", "relatedEntity"]
176
176
  }
@@ -1,17 +1,24 @@
1
1
  {
2
+ "$id": "form-contract-request-array.ref.json",
2
3
  "type": "object",
3
4
  "properties": {
4
- "body": {
5
+ "name": {
6
+ "type": "string"
7
+ },
8
+ "dataType": {
9
+ "const": "array"
10
+ },
11
+ "elements": {
5
12
  "type": "array",
6
13
  "items": {
7
- "type": "object",
8
- "properties": {
9
- "name": {
10
- "type": "string"
14
+ "oneOf": [
15
+ {
16
+ "$ref": "form-contract-request.ref.json"
11
17
  },
12
- "dataType": "array",
13
- "elements": { "$ref": "form-contract.ref.json" }
14
- }
18
+ {
19
+ "$ref": "form-contract-request-array.ref.json"
20
+ }
21
+ ]
15
22
  }
16
23
  }
17
24
  }
@@ -4,8 +4,8 @@
4
4
  "type": "array",
5
5
  "items": {
6
6
  "oneOf": [
7
- { "$ref": "form-contract-array.ref.json" },
8
- { "$ref": "form-contract.ref.json" }
7
+ { "$ref": "form-contract-request-array.ref.json" },
8
+ { "$ref": "form-contract-request.ref.json" }
9
9
  ]
10
10
  }
11
11
  }
@@ -1,49 +1,42 @@
1
1
  {
2
+ "$id": "form-contract-request.ref.json",
2
3
  "type": "object",
3
4
  "properties": {
4
- "body": {
5
- "type": "array",
6
- "items": {
7
- "type": "object",
8
- "properties": {
9
- "name": {
10
- "type": "string"
11
- },
12
- "dataType": {
13
- "type": "string",
14
- "enum": [
15
- "text",
16
- "number",
17
- "password",
18
- "email",
19
- "color",
20
- "date",
21
- "time",
22
- "wysiwyg",
23
- "file",
24
- "char",
25
- "nchar",
26
- "varchar",
27
- "varchar2",
28
- "nvarchar",
29
- "longtext",
30
- "clob",
31
- "nclob",
32
- "decimal",
33
- "numeric",
34
- "integer",
35
- "float",
36
- "double",
37
- "real",
38
- "timestamp",
39
- "datetime",
40
- "datetime2",
41
- "uniqueidentifier",
42
- "boolean"
43
- ]
44
- }
45
- }
46
- }
5
+ "name": {
6
+ "type": "string"
7
+ },
8
+ "dataType": {
9
+ "type": "string",
10
+ "enum": [
11
+ "text",
12
+ "number",
13
+ "password",
14
+ "email",
15
+ "color",
16
+ "date",
17
+ "time",
18
+ "wysiwyg",
19
+ "file",
20
+ "char",
21
+ "nchar",
22
+ "varchar",
23
+ "varchar2",
24
+ "nvarchar",
25
+ "longtext",
26
+ "clob",
27
+ "nclob",
28
+ "decimal",
29
+ "numeric",
30
+ "integer",
31
+ "float",
32
+ "double",
33
+ "real",
34
+ "timestamp",
35
+ "datetime",
36
+ "datetime2",
37
+ "uniqueidentifier",
38
+ "boolean"
39
+ ]
47
40
  }
48
41
  }
49
42
  }
@@ -49,12 +49,17 @@
49
49
  }
50
50
  },
51
51
  "request": {
52
- "type": "array",
53
- "items": {
54
- "oneOf": [
55
- { "$ref": "form-contract.ref.json" },
56
- { "$ref": "form-contract-array.ref.json" }
57
- ]
52
+ "type": "object",
53
+ "properties": {
54
+ "body": {
55
+ "type": "array",
56
+ "items": {
57
+ "oneOf": [
58
+ { "$ref": "form-contract-request.ref.json" },
59
+ { "$ref": "form-contract-request-array.ref.json" }
60
+ ]
61
+ }
62
+ }
58
63
  }
59
64
  }
60
65
  },
@@ -170,9 +170,5 @@
170
170
  }
171
171
  }
172
172
  },
173
- "required": [
174
- "projectFolderCase",
175
- "componentFile",
176
- "moduleFile"
177
- ]
173
+ "required": ["projectFolderCase", "componentFile", "moduleFile"]
178
174
  }
@@ -36,4 +36,4 @@
36
36
  },
37
37
  "required": ["id", "title", "icon", "components"]
38
38
  }
39
- }
39
+ }
@@ -14,7 +14,14 @@
14
14
  },
15
15
  "flow": {
16
16
  "type": "string",
17
- "enum": ["autentikigo", "invito", "permeson", "komerco", "labotablo", "reto"]
17
+ "enum": [
18
+ "autentikigo",
19
+ "invito",
20
+ "permeson",
21
+ "komerco",
22
+ "labotablo",
23
+ "reto"
24
+ ]
18
25
  },
19
26
  "businessPlan": {
20
27
  "$ref": "business-plan.ref.json"
@@ -28,9 +35,6 @@
28
35
  "backend": {
29
36
  "$ref": "backend.ref.json"
30
37
  },
31
- "externalApplications": {
32
- "$ref": "external-application.ref.json"
33
- },
34
38
  "modules": {
35
39
  "$ref": "module.ref.json"
36
40
  }
@@ -7,4 +7,4 @@
7
7
  "description": { "type": "string" }
8
8
  },
9
9
  "required": ["title", "description"]
10
- }
10
+ }
@@ -7,6 +7,8 @@
7
7
  "email",
8
8
  "color",
9
9
  "date",
10
+ "wysiwyg",
11
+ "time",
10
12
  "file",
11
13
  "array",
12
14
  "char",
@@ -1,97 +0,0 @@
1
- {
2
- "$id": "external-application.ref.json",
3
- "$schema": "http://json-schema.org/draft-07/schema#",
4
- "type": "object",
5
- "properties": {
6
- "applications": {
7
- "type": "array",
8
- "items": {
9
- "oneOf": [
10
- {
11
- "type": "object",
12
- "properties": {
13
- "id": { "const": "financo" },
14
- "icon": { "const": "attach_money" },
15
- "alternativeIcon": { "type": "string" }
16
- },
17
- "required": ["id"],
18
- "additionalProperties": false
19
- },
20
- {
21
- "type": "object",
22
- "properties": {
23
- "id": { "const": "kliento" },
24
- "icon": { "const": "support_agent" },
25
- "alternativeIcon": { "type": "string" }
26
- },
27
- "required": ["id"],
28
- "additionalProperties": false
29
- },
30
- {
31
- "type": "object",
32
- "properties": {
33
- "id": { "const": "kontado" },
34
- "icon": { "const": "account_balance" },
35
- "alternativeIcon": { "type": "string" }
36
- },
37
- "required": ["id"],
38
- "additionalProperties": false
39
- },
40
- {
41
- "type": "object",
42
- "properties": {
43
- "id": { "const": "pago" },
44
- "icon": { "const": "credit_card" },
45
- "alternativeIcon": { "type": "string" }
46
- },
47
- "required": ["id"],
48
- "additionalProperties": false
49
- },
50
- {
51
- "type": "object",
52
- "properties": {
53
- "id": { "const": "produkto" },
54
- "icon": { "const": "qr_code_2" },
55
- "alternativeIcon": { "type": "string" }
56
- },
57
- "required": ["id"],
58
- "additionalProperties": false
59
- },
60
- {
61
- "type": "object",
62
- "properties": {
63
- "id": { "const": "projekto" },
64
- "icon": { "const": "tactic" },
65
- "alternativeIcon": { "type": "string" }
66
- },
67
- "required": ["id"],
68
- "additionalProperties": false
69
- },
70
- {
71
- "type": "object",
72
- "properties": {
73
- "id": { "const": "stoko" },
74
- "icon": { "const": "inventory_2" },
75
- "alternativeIcon": { "type": "string" }
76
- },
77
- "required": ["id"],
78
- "additionalProperties": false
79
- },
80
- {
81
- "type": "object",
82
- "properties": {
83
- "id": { "const": "uzanto" },
84
- "icon": { "const": "face" },
85
- "alternativeIcon": { "type": "string" }
86
- },
87
- "required": ["id"],
88
- "additionalProperties": false
89
- }
90
- ]
91
- },
92
- "uniqueItems": true
93
- }
94
- },
95
- "required": ["applications"],
96
- "additionalProperties": false
97
- }