@forgenex/cli 0.2.1 → 0.4.1
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/GUIA-IA.md +200 -13
- package/README.md +12 -4
- package/REFERENCIA.md +42 -2
- package/dist/forgenex.js +22 -14
- package/dist/locales/ca.js +1 -1
- package/dist/locales/en.js +1 -1
- package/dist/locales/es.js +1 -1
- package/ejemplos/archivos-ficha/extension.json +18 -0
- package/ejemplos/archivos-ficha/interfaz/index.html +100 -0
- package/extension.schema.json +232 -8
- package/licencias.txt +1 -1
- package/package.json +1 -1
- package/puente-extension.d.ts +40 -2
- package/puente-extension.mjs +19 -2
- package/solucion.schema.json +146 -0
package/solucion.schema.json
CHANGED
|
@@ -62,6 +62,150 @@
|
|
|
62
62
|
"type": "string",
|
|
63
63
|
"pattern": "^[a-z0-9-]{1,40}$"
|
|
64
64
|
},
|
|
65
|
+
"conexiones": {
|
|
66
|
+
"type": "array",
|
|
67
|
+
"maxItems": 25,
|
|
68
|
+
"items": {
|
|
69
|
+
"oneOf": [
|
|
70
|
+
{
|
|
71
|
+
"type": "object",
|
|
72
|
+
"additionalProperties": false,
|
|
73
|
+
"required": [
|
|
74
|
+
"tipo",
|
|
75
|
+
"conector"
|
|
76
|
+
],
|
|
77
|
+
"properties": {
|
|
78
|
+
"clave": {
|
|
79
|
+
"type": "string"
|
|
80
|
+
},
|
|
81
|
+
"nombre": {
|
|
82
|
+
"type": "string",
|
|
83
|
+
"maxLength": 80
|
|
84
|
+
},
|
|
85
|
+
"tipo": {
|
|
86
|
+
"const": "conector"
|
|
87
|
+
},
|
|
88
|
+
"conector": {
|
|
89
|
+
"type": "string",
|
|
90
|
+
"pattern": "^[a-z][a-z0-9_-]{0,39}$"
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"type": "object",
|
|
96
|
+
"additionalProperties": false,
|
|
97
|
+
"required": [
|
|
98
|
+
"clave",
|
|
99
|
+
"nombre",
|
|
100
|
+
"tipo"
|
|
101
|
+
],
|
|
102
|
+
"properties": {
|
|
103
|
+
"clave": {
|
|
104
|
+
"type": "string",
|
|
105
|
+
"pattern": "^[a-z][a-z0-9_]{0,39}$"
|
|
106
|
+
},
|
|
107
|
+
"nombre": {
|
|
108
|
+
"type": "string",
|
|
109
|
+
"minLength": 1,
|
|
110
|
+
"maxLength": 120
|
|
111
|
+
},
|
|
112
|
+
"tipo": {
|
|
113
|
+
"enum": [
|
|
114
|
+
"api",
|
|
115
|
+
"mcp"
|
|
116
|
+
]
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
]
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
"fuentesExternas": {
|
|
124
|
+
"type": "array",
|
|
125
|
+
"maxItems": 30,
|
|
126
|
+
"items": {
|
|
127
|
+
"type": "object",
|
|
128
|
+
"additionalProperties": false,
|
|
129
|
+
"required": [
|
|
130
|
+
"modulo",
|
|
131
|
+
"conexion",
|
|
132
|
+
"operacion",
|
|
133
|
+
"filas",
|
|
134
|
+
"mapeo",
|
|
135
|
+
"modo"
|
|
136
|
+
],
|
|
137
|
+
"properties": {
|
|
138
|
+
"modulo": {
|
|
139
|
+
"type": "string"
|
|
140
|
+
},
|
|
141
|
+
"conexion": {
|
|
142
|
+
"type": "string"
|
|
143
|
+
},
|
|
144
|
+
"operacion": {
|
|
145
|
+
"type": "string"
|
|
146
|
+
},
|
|
147
|
+
"filas": {
|
|
148
|
+
"type": "string",
|
|
149
|
+
"maxLength": 160
|
|
150
|
+
},
|
|
151
|
+
"mapeo": {
|
|
152
|
+
"type": "object",
|
|
153
|
+
"minProperties": 1,
|
|
154
|
+
"additionalProperties": {
|
|
155
|
+
"type": "string",
|
|
156
|
+
"maxLength": 160
|
|
157
|
+
}
|
|
158
|
+
},
|
|
159
|
+
"modo": {
|
|
160
|
+
"enum": [
|
|
161
|
+
"vivo",
|
|
162
|
+
"espejo"
|
|
163
|
+
]
|
|
164
|
+
},
|
|
165
|
+
"minutos": {
|
|
166
|
+
"type": "integer",
|
|
167
|
+
"minimum": 5,
|
|
168
|
+
"maximum": 10080
|
|
169
|
+
},
|
|
170
|
+
"id_externo": {
|
|
171
|
+
"type": "string",
|
|
172
|
+
"maxLength": 160
|
|
173
|
+
},
|
|
174
|
+
"cursor": {
|
|
175
|
+
"type": "object",
|
|
176
|
+
"additionalProperties": false,
|
|
177
|
+
"required": [
|
|
178
|
+
"ruta",
|
|
179
|
+
"parametro"
|
|
180
|
+
],
|
|
181
|
+
"properties": {
|
|
182
|
+
"ruta": {
|
|
183
|
+
"type": "string",
|
|
184
|
+
"maxLength": 160
|
|
185
|
+
},
|
|
186
|
+
"parametro": {
|
|
187
|
+
"type": "string",
|
|
188
|
+
"maxLength": 80
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
},
|
|
193
|
+
"if": {
|
|
194
|
+
"properties": {
|
|
195
|
+
"modo": {
|
|
196
|
+
"const": "espejo"
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
},
|
|
200
|
+
"then": {
|
|
201
|
+
"required": [
|
|
202
|
+
"minutos",
|
|
203
|
+
"id_externo",
|
|
204
|
+
"cursor"
|
|
205
|
+
]
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
},
|
|
65
209
|
"modulos": {
|
|
66
210
|
"type": "array",
|
|
67
211
|
"minItems": 1,
|
|
@@ -196,6 +340,7 @@
|
|
|
196
340
|
"telefono",
|
|
197
341
|
"relacion",
|
|
198
342
|
"archivos",
|
|
343
|
+
"archivo",
|
|
199
344
|
"busqueda",
|
|
200
345
|
"resumen",
|
|
201
346
|
"duracion",
|
|
@@ -212,6 +357,7 @@
|
|
|
212
357
|
"firma",
|
|
213
358
|
"hora",
|
|
214
359
|
"articulo",
|
|
360
|
+
"dispositivo",
|
|
215
361
|
"creado_el",
|
|
216
362
|
"creado_por",
|
|
217
363
|
"modificado_el",
|