rapida-partner 1.0.0 → 1.1.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/README.md +4 -1
- package/package.json +2 -2
- package/rapidaObject.json +342 -770
- package/src/enums/form-contract.enum.ts +30 -0
- package/src/enums/form.enum.ts +31 -0
- package/src/examples/components/forms/character.form.ts +12 -10
- package/src/examples/components/forms/company.form.ts +83 -76
- package/src/examples/components/forms/movie.form.ts +53 -21
- package/src/examples/components/forms/movieGenre.form.ts +6 -4
- package/src/examples/components/forms/person.form.ts +81 -79
- package/src/examples/modules/movie.ts +2 -1
- package/src/examples/projects/movieBackoffice.ts +1 -1
- package/src/interfaces/data-card.interface.ts +2 -30
- package/src/interfaces/data-detail.interface.ts +2 -30
- package/src/interfaces/form-autocomplete.interface.ts +2 -30
- package/src/interfaces/form-file.interface.ts +2 -30
- package/src/interfaces/form-input.interface.ts +2 -30
- package/src/interfaces/form-select.interface.ts +2 -30
- package/src/interfaces/form.interface.ts +22 -33
- package/src/schemas/data-card.ref.json +2 -28
- package/src/schemas/data-detail.ref.json +2 -30
- package/src/schemas/form-autocomplete.ref.json +1 -29
- package/src/schemas/form-contract-request-array.ref.json +18 -0
- package/src/schemas/form-contract-request-one-of.ref.json +11 -0
- package/src/schemas/form-contract-request.ref.json +49 -0
- package/src/schemas/form-file.ref.json +1 -31
- package/src/schemas/form-input.ref.json +1 -31
- package/src/schemas/form-select.ref.json +1 -29
- package/src/schemas/form.ref.json +46 -47
- package/src/schemas/types-datatype.ref.json +32 -0
|
@@ -49,58 +49,57 @@
|
|
|
49
49
|
}
|
|
50
50
|
},
|
|
51
51
|
"request": {
|
|
52
|
-
"type": "
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
|
|
58
|
-
"properties": {
|
|
59
|
-
"name": {
|
|
60
|
-
"type": "string"
|
|
61
|
-
},
|
|
62
|
-
"dataType": {
|
|
63
|
-
"type": "string",
|
|
64
|
-
"enum": [
|
|
65
|
-
"text",
|
|
66
|
-
"number",
|
|
67
|
-
"password",
|
|
68
|
-
"email",
|
|
69
|
-
"color",
|
|
70
|
-
"date",
|
|
71
|
-
"time",
|
|
72
|
-
"wysiwyg",
|
|
73
|
-
"file",
|
|
74
|
-
"array",
|
|
75
|
-
"char",
|
|
76
|
-
"nchar",
|
|
77
|
-
"varchar",
|
|
78
|
-
"varchar2",
|
|
79
|
-
"nvarchar",
|
|
80
|
-
"longtext",
|
|
81
|
-
"clob",
|
|
82
|
-
"nclob",
|
|
83
|
-
"decimal",
|
|
84
|
-
"numeric",
|
|
85
|
-
"integer",
|
|
86
|
-
"float",
|
|
87
|
-
"double",
|
|
88
|
-
"real",
|
|
89
|
-
"timestamp",
|
|
90
|
-
"datetime",
|
|
91
|
-
"datetime2",
|
|
92
|
-
"uniqueidentifier",
|
|
93
|
-
"boolean"
|
|
94
|
-
]
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
}
|
|
52
|
+
"type": "array",
|
|
53
|
+
"items": {
|
|
54
|
+
"oneOf": [
|
|
55
|
+
{ "$ref": "form-contract.ref.json" },
|
|
56
|
+
{ "$ref": "form-contract-array.ref.json" }
|
|
57
|
+
]
|
|
99
58
|
}
|
|
100
59
|
}
|
|
101
60
|
},
|
|
102
61
|
"required": ["endpoint", "methods"]
|
|
103
62
|
}
|
|
63
|
+
},
|
|
64
|
+
"kanban": {
|
|
65
|
+
"type": "object",
|
|
66
|
+
"properties": {
|
|
67
|
+
"status": {
|
|
68
|
+
"type": "string",
|
|
69
|
+
"enum": ["toDo", "inProgress", "done"]
|
|
70
|
+
},
|
|
71
|
+
"assignesIds": {
|
|
72
|
+
"type": "array",
|
|
73
|
+
"items": {
|
|
74
|
+
"type": "string"
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
"validatorsIds": {
|
|
78
|
+
"type": "array",
|
|
79
|
+
"items": {
|
|
80
|
+
"type": "string"
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
"dueDate": {
|
|
84
|
+
"type": "string",
|
|
85
|
+
"format": "date-time"
|
|
86
|
+
},
|
|
87
|
+
"tags": {
|
|
88
|
+
"type": "array",
|
|
89
|
+
"items": {
|
|
90
|
+
"type": "string"
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
"priority": {
|
|
94
|
+
"type": "string",
|
|
95
|
+
"enum": ["low", "medium", "high", "urgent"]
|
|
96
|
+
},
|
|
97
|
+
"storyPoints": {
|
|
98
|
+
"type": "number",
|
|
99
|
+
"minimum": 0
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
"required": ["status"]
|
|
104
103
|
}
|
|
105
104
|
},
|
|
106
105
|
"required": ["componentType", "id", "title", "elements", "contracts"]
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "types-datatype.ref.json",
|
|
3
|
+
"enum": [
|
|
4
|
+
"text",
|
|
5
|
+
"number",
|
|
6
|
+
"password",
|
|
7
|
+
"email",
|
|
8
|
+
"color",
|
|
9
|
+
"date",
|
|
10
|
+
"file",
|
|
11
|
+
"array",
|
|
12
|
+
"char",
|
|
13
|
+
"nchar",
|
|
14
|
+
"varchar",
|
|
15
|
+
"varchar2",
|
|
16
|
+
"nvarchar",
|
|
17
|
+
"longtext",
|
|
18
|
+
"clob",
|
|
19
|
+
"nclob",
|
|
20
|
+
"decimal",
|
|
21
|
+
"numeric",
|
|
22
|
+
"integer",
|
|
23
|
+
"float",
|
|
24
|
+
"double",
|
|
25
|
+
"real",
|
|
26
|
+
"timestamp",
|
|
27
|
+
"datetime",
|
|
28
|
+
"datetime2",
|
|
29
|
+
"uniqueidentifier",
|
|
30
|
+
"boolean"
|
|
31
|
+
]
|
|
32
|
+
}
|