rapida-partner 1.18.0 → 1.19.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 +1 -1
- package/src/constants/secrets/database.ts +1 -0
- package/src/constants/secrets/others.ts +3 -0
- package/src/constants/secrets/storage.ts +1 -0
- package/src/examples/components/charts/movieGenre.chart.ts +34 -0
- package/src/examples/components/forms/character.form.ts +4 -4
- package/src/examples/components/forms/company.form.ts +458 -0
- package/src/examples/components/forms/movie.form.ts +21 -7
- package/src/examples/components/forms/movieEpisode.form.ts +47 -22
- package/src/examples/components/forms/movieGenre.form.ts +2 -2
- package/src/examples/components/forms/person.form.ts +565 -0
- package/src/examples/components/lists/actor.list.ts +17 -0
- package/src/examples/components/lists/character.list.ts +1 -1
- package/src/examples/components/lists/movie.list.ts +1 -1
- package/src/examples/components/lists/movieEpisode.list.ts +15 -11
- package/src/examples/components/lists/movieGenre.list.ts +2 -2
- package/src/examples/constants/options/countriesFromEarth.ts +2011 -0
- package/src/examples/constants/options/legalNature.ts +198 -0
- package/src/examples/modules/actor.ts +1 -1
- package/src/examples/modules/character.ts +1 -1
- package/src/examples/modules/movie.ts +3 -3
- package/src/examples/projects/movieBackoffice.ts +22 -2
- package/src/interfaces/data-chart.interface.ts +15 -12
- package/src/interfaces/e2e.interface.ts +4 -0
- package/src/interfaces/form.interface.ts +0 -2
- package/src/interfaces/project.interface.ts +58 -14
- package/src/schemas/business-rules.ref.json +175 -4
- package/src/schemas/component-one-of.ref.json +25 -10
- package/src/schemas/data-chart.ref.json +146 -42
- package/src/schemas/e2e.ref.json +21 -0
- package/src/schemas/module.ref.json +40 -14
- package/src/schemas/project.schema.json +34 -11
- package/src/interfaces/layout-dashboard.interface.ts +0 -52
- package/src/schemas/bdd-and-e2e-narratives.ref.json +0 -47
- package/src/schemas/bdd-and-e2e.json +0 -33
- package/src/schemas/dashboard.ref.json +0 -111
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$id": "dashboard.ref.json",
|
|
3
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
-
"type": "object",
|
|
5
|
-
"properties": {
|
|
6
|
-
"componentType": { "const": "dashboard" },
|
|
7
|
-
"id": { "type": "string" },
|
|
8
|
-
"title": { "type": "string" },
|
|
9
|
-
"icon": { "type": "string" },
|
|
10
|
-
"guards": {
|
|
11
|
-
"type": "string",
|
|
12
|
-
"enum": ["isAuthenticated", "isAuthorized"]
|
|
13
|
-
},
|
|
14
|
-
"businessRules": { "$ref": "business-rules.ref.json" },
|
|
15
|
-
"userStory": { "type": "string" },
|
|
16
|
-
"layout": {
|
|
17
|
-
"type": "array",
|
|
18
|
-
"items": {
|
|
19
|
-
"type": "object",
|
|
20
|
-
"properties": {
|
|
21
|
-
"id": { "type": "string" },
|
|
22
|
-
"title": { "type": "string" },
|
|
23
|
-
"columns": { "type": "number" },
|
|
24
|
-
"widgets": {
|
|
25
|
-
"type": "array",
|
|
26
|
-
"items": {
|
|
27
|
-
"type": "object",
|
|
28
|
-
"properties": {
|
|
29
|
-
"id": { "type": "string" },
|
|
30
|
-
"title": { "type": "string" },
|
|
31
|
-
"type": {
|
|
32
|
-
"type": "string",
|
|
33
|
-
"enum": ["stats", "chart", "table", "list", "component"]
|
|
34
|
-
},
|
|
35
|
-
"width": {
|
|
36
|
-
"type": "number",
|
|
37
|
-
"enum": [1, 2, 3, 4, 6, 12]
|
|
38
|
-
},
|
|
39
|
-
"height": {
|
|
40
|
-
"type": "string",
|
|
41
|
-
"enum": ["auto", "small", "medium", "large"]
|
|
42
|
-
},
|
|
43
|
-
"dataSource": { "$ref": "form-common-api-request.ref.json" },
|
|
44
|
-
"refreshInterval": { "type": "number" },
|
|
45
|
-
"component": {
|
|
46
|
-
"type": "object",
|
|
47
|
-
"properties": {
|
|
48
|
-
"type": {
|
|
49
|
-
"type": "string",
|
|
50
|
-
"enum": ["dataTable", "dataGrid", "dataCard", "dataChart"]
|
|
51
|
-
},
|
|
52
|
-
"config": {}
|
|
53
|
-
},
|
|
54
|
-
"required": ["type", "config"]
|
|
55
|
-
},
|
|
56
|
-
"statsConfig": {
|
|
57
|
-
"type": "object",
|
|
58
|
-
"properties": {
|
|
59
|
-
"property": { "type": "string" },
|
|
60
|
-
"format": { "type": "string" },
|
|
61
|
-
"icon": { "type": "string" },
|
|
62
|
-
"subtitle": { "type": "string" },
|
|
63
|
-
"trend": {
|
|
64
|
-
"type": "object",
|
|
65
|
-
"properties": {
|
|
66
|
-
"property": { "type": "string" },
|
|
67
|
-
"upIsGood": { "type": "boolean" }
|
|
68
|
-
},
|
|
69
|
-
"required": ["property"]
|
|
70
|
-
}
|
|
71
|
-
},
|
|
72
|
-
"required": ["property"]
|
|
73
|
-
},
|
|
74
|
-
"chartConfig": {
|
|
75
|
-
"type": "object",
|
|
76
|
-
"properties": {
|
|
77
|
-
"type": {
|
|
78
|
-
"type": "string",
|
|
79
|
-
"enum": ["line", "bar", "pie", "doughnut", "radar"]
|
|
80
|
-
},
|
|
81
|
-
"properties": {
|
|
82
|
-
"type": "object",
|
|
83
|
-
"properties": {
|
|
84
|
-
"x": { "type": "string" },
|
|
85
|
-
"y": {
|
|
86
|
-
"oneOf": [
|
|
87
|
-
{ "type": "string" },
|
|
88
|
-
{
|
|
89
|
-
"type": "array",
|
|
90
|
-
"items": { "type": "string" }
|
|
91
|
-
}
|
|
92
|
-
]
|
|
93
|
-
}
|
|
94
|
-
},
|
|
95
|
-
"required": ["x", "y"]
|
|
96
|
-
},
|
|
97
|
-
"options": {}
|
|
98
|
-
},
|
|
99
|
-
"required": ["type", "properties"]
|
|
100
|
-
}
|
|
101
|
-
},
|
|
102
|
-
"required": ["id", "title", "type", "width"]
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
},
|
|
106
|
-
"required": ["id", "columns", "widgets"]
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
},
|
|
110
|
-
"required": ["componentType", "id", "title", "layout"]
|
|
111
|
-
}
|