fmea-api-mcp-server 1.1.57 → 1.1.59

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.
@@ -38,26 +38,216 @@
38
38
  ]
39
39
  },
40
40
  "query": {
41
- "type": "object"
41
+ "oneOf": [
42
+ {
43
+ "type": "object",
44
+ "properties": {
45
+ "anchor": {
46
+ "type": "object",
47
+ "properties": {
48
+ "typeKey": {
49
+ "type": "string"
50
+ }
51
+ }
52
+ },
53
+ "constraints": {
54
+ "type": "array",
55
+ "items": {
56
+ "type": "object",
57
+ "properties": {
58
+ "direction": {
59
+ "type": "string",
60
+ "enum": [
61
+ "ANCESTOR",
62
+ "DESCENDANT"
63
+ ]
64
+ },
65
+ "typeKey": {
66
+ "type": "string"
67
+ },
68
+ "match": {
69
+ "type": "object",
70
+ "properties": {
71
+ "name": {
72
+ "type": "string"
73
+ }
74
+ }
75
+ },
76
+ "matchType": {
77
+ "type": "string",
78
+ "enum": [
79
+ "EXACT",
80
+ "CONTAINS"
81
+ ]
82
+ },
83
+ "depth": {
84
+ "type": "object",
85
+ "properties": {
86
+ "min": {
87
+ "type": "integer"
88
+ },
89
+ "max": {
90
+ "type": "integer"
91
+ }
92
+ }
93
+ }
94
+ }
95
+ }
96
+ }
97
+ },
98
+ "description": "queryMode=ANCHOR_PATTERN"
99
+ },
100
+ {
101
+ "type": "object",
102
+ "properties": {
103
+ "target": {
104
+ "type": "object",
105
+ "properties": {
106
+ "typeKey": {
107
+ "type": "string"
108
+ }
109
+ }
110
+ },
111
+ "source": {
112
+ "type": "object",
113
+ "properties": {
114
+ "stored": {
115
+ "type": "object",
116
+ "properties": {
117
+ "projectId": {
118
+ "type": "string"
119
+ },
120
+ "failureModeId": {
121
+ "type": "string"
122
+ }
123
+ }
124
+ },
125
+ "snapshot": {
126
+ "type": "object",
127
+ "properties": {
128
+ "root": {
129
+ "type": "object",
130
+ "properties": {
131
+ "id": {
132
+ "type": "string"
133
+ },
134
+ "typeKey": {
135
+ "type": "string"
136
+ },
137
+ "name": {
138
+ "type": "string"
139
+ },
140
+ "parentId": {
141
+ "type": "string"
142
+ },
143
+ "attributes": {
144
+ "type": "object"
145
+ },
146
+ "children": {
147
+ "type": "array",
148
+ "items": {
149
+ "type": "object",
150
+ "description": "(circular: TreeSearchNodeInputDTO)"
151
+ }
152
+ }
153
+ }
154
+ }
155
+ }
156
+ }
157
+ }
158
+ },
159
+ "exclude": {
160
+ "type": "array",
161
+ "items": {
162
+ "type": "string"
163
+ }
164
+ },
165
+ "context": {
166
+ "type": "array",
167
+ "items": {
168
+ "type": "object",
169
+ "properties": {
170
+ "typeKey": {
171
+ "type": "string"
172
+ },
173
+ "name": {
174
+ "type": "string"
175
+ }
176
+ }
177
+ }
178
+ }
179
+ },
180
+ "description": "queryMode=CONTEXT_COMPLETION"
181
+ },
182
+ {
183
+ "type": "object",
184
+ "properties": {
185
+ "root": {
186
+ "type": "object",
187
+ "properties": {
188
+ "id": {
189
+ "type": "string"
190
+ },
191
+ "typeKey": {
192
+ "type": "string"
193
+ },
194
+ "name": {
195
+ "type": "string"
196
+ },
197
+ "parentId": {
198
+ "type": "string"
199
+ },
200
+ "attributes": {
201
+ "type": "object"
202
+ },
203
+ "children": {
204
+ "type": "array",
205
+ "items": {
206
+ "type": "object",
207
+ "description": "(circular: TreeSearchNodeInputDTO)"
208
+ }
209
+ }
210
+ }
211
+ },
212
+ "children": {
213
+ "type": "array",
214
+ "items": {
215
+ "type": "object",
216
+ "properties": {
217
+ "id": {
218
+ "type": "string"
219
+ },
220
+ "typeKey": {
221
+ "type": "string"
222
+ },
223
+ "name": {
224
+ "type": "string"
225
+ },
226
+ "parentId": {
227
+ "type": "string"
228
+ },
229
+ "attributes": {
230
+ "type": "object"
231
+ },
232
+ "children": {
233
+ "type": "array",
234
+ "items": {
235
+ "type": "object",
236
+ "description": "(circular: TreeSearchNodeInputDTO)"
237
+ }
238
+ }
239
+ }
240
+ }
241
+ }
242
+ },
243
+ "description": "queryMode=REFERENCE_NODE"
244
+ }
245
+ ],
246
+ "description": "Polymorphic, discriminated by 'queryMode'"
42
247
  },
43
248
  "scope": {
44
249
  "type": "object",
45
250
  "properties": {
46
- "projectId": {
47
- "type": "string"
48
- },
49
- "projectIds": {
50
- "type": "array",
51
- "items": {
52
- "type": "string"
53
- }
54
- },
55
- "blockId": {
56
- "type": "string"
57
- },
58
- "failureModeId": {
59
- "type": "string"
60
- },
61
251
  "scope": {
62
252
  "type": "string",
63
253
  "enum": [
@@ -68,6 +258,85 @@
68
258
  }
69
259
  }
70
260
  },
261
+ "filter": {
262
+ "type": "object",
263
+ "properties": {
264
+ "includes": {
265
+ "type": "object",
266
+ "properties": {
267
+ "projectIds": {
268
+ "type": "array",
269
+ "items": {
270
+ "type": "string"
271
+ }
272
+ },
273
+ "projectTypes": {
274
+ "type": "array",
275
+ "items": {
276
+ "type": "string",
277
+ "enum": [
278
+ "DESIGN",
279
+ "PROCESS",
280
+ "EQUIPMENT",
281
+ "FA",
282
+ "FTA",
283
+ "CPLAN"
284
+ ]
285
+ }
286
+ },
287
+ "blockDiagramIds": {
288
+ "type": "array",
289
+ "items": {
290
+ "type": "string"
291
+ }
292
+ },
293
+ "failureModeIds": {
294
+ "type": "array",
295
+ "items": {
296
+ "type": "string"
297
+ }
298
+ }
299
+ }
300
+ },
301
+ "excludes": {
302
+ "type": "object",
303
+ "properties": {
304
+ "projectIds": {
305
+ "type": "array",
306
+ "items": {
307
+ "type": "string"
308
+ }
309
+ },
310
+ "projectTypes": {
311
+ "type": "array",
312
+ "items": {
313
+ "type": "string",
314
+ "enum": [
315
+ "DESIGN",
316
+ "PROCESS",
317
+ "EQUIPMENT",
318
+ "FA",
319
+ "FTA",
320
+ "CPLAN"
321
+ ]
322
+ }
323
+ },
324
+ "blockDiagramIds": {
325
+ "type": "array",
326
+ "items": {
327
+ "type": "string"
328
+ }
329
+ },
330
+ "failureModeIds": {
331
+ "type": "array",
332
+ "items": {
333
+ "type": "string"
334
+ }
335
+ }
336
+ }
337
+ }
338
+ }
339
+ },
71
340
  "options": {
72
341
  "type": "object",
73
342
  "properties": {
@@ -334,10 +334,18 @@
334
334
  "actionCode": {
335
335
  "type": "string",
336
336
  "enum": [
337
- "F",
338
- "W",
339
- "F",
340
- "W"
337
+ "CREATE_PROJECT",
338
+ "MODIFY_PROJECT",
339
+ "DELETE_PROJECT",
340
+ "JOIN_REQUEST",
341
+ "JOIN_APPROVED",
342
+ "JOIN_REJECTED",
343
+ "CREATE",
344
+ "COPY",
345
+ "MODIFY",
346
+ "UPDATE",
347
+ "REVISE",
348
+ "DELETE"
341
349
  ]
342
350
  },
343
351
  "projectId": {
@@ -267,6 +267,71 @@
267
267
  "worksheetTemplateId": {
268
268
  "type": "integer"
269
269
  },
270
+ "failureModeWorksheets": {
271
+ "type": "array",
272
+ "items": {
273
+ "type": "object",
274
+ "properties": {
275
+ "id": {
276
+ "type": "integer"
277
+ },
278
+ "reportNo": {
279
+ "type": "string"
280
+ },
281
+ "failureModeId": {
282
+ "type": "string"
283
+ },
284
+ "rows": {
285
+ "type": "array",
286
+ "items": {
287
+ "type": "object",
288
+ "properties": {
289
+ "id": {
290
+ "type": "integer"
291
+ },
292
+ "order": {
293
+ "type": "integer"
294
+ },
295
+ "columns": {
296
+ "type": "array",
297
+ "items": {
298
+ "type": "object",
299
+ "properties": {
300
+ "id": {
301
+ "type": "integer"
302
+ },
303
+ "value": {
304
+ "type": "string"
305
+ },
306
+ "style": {
307
+ "type": "string"
308
+ }
309
+ }
310
+ }
311
+ },
312
+ "followUps": {
313
+ "type": "array",
314
+ "items": {
315
+ "type": "object",
316
+ "properties": {
317
+ "userId": {
318
+ "type": "string"
319
+ }
320
+ }
321
+ }
322
+ },
323
+ "fmmNodeId": {
324
+ "type": "string"
325
+ }
326
+ }
327
+ }
328
+ },
329
+ "order": {
330
+ "type": "integer"
331
+ }
332
+ }
333
+ }
334
+ },
270
335
  "description": {
271
336
  "type": "string"
272
337
  }
@@ -251,15 +251,9 @@
251
251
  "reportNo": {
252
252
  "type": "string"
253
253
  },
254
- "templateId": {
254
+ "startRow": {
255
255
  "type": "integer"
256
256
  },
257
- "idsByFailureMode": {
258
- "type": "array",
259
- "items": {
260
- "type": "integer"
261
- }
262
- },
263
257
  "latestModified": {
264
258
  "type": "string",
265
259
  "format": "date-time"
@@ -267,6 +261,15 @@
267
261
  "targetModified": {
268
262
  "type": "string",
269
263
  "format": "date-time"
264
+ },
265
+ "status": {
266
+ "type": "string",
267
+ "enum": [
268
+ "CREATABLE",
269
+ "UPDATABLE",
270
+ "OUTDATED",
271
+ "UNKNOWN"
272
+ ]
270
273
  }
271
274
  }
272
275
  }
@@ -49,6 +49,51 @@
49
49
  "failureModeId": {
50
50
  "type": "string"
51
51
  },
52
+ "rows": {
53
+ "type": "array",
54
+ "items": {
55
+ "type": "object",
56
+ "properties": {
57
+ "id": {
58
+ "type": "integer"
59
+ },
60
+ "order": {
61
+ "type": "integer"
62
+ },
63
+ "columns": {
64
+ "type": "array",
65
+ "items": {
66
+ "type": "object",
67
+ "properties": {
68
+ "id": {
69
+ "type": "integer"
70
+ },
71
+ "value": {
72
+ "type": "string"
73
+ },
74
+ "style": {
75
+ "type": "string"
76
+ }
77
+ }
78
+ }
79
+ },
80
+ "followUps": {
81
+ "type": "array",
82
+ "items": {
83
+ "type": "object",
84
+ "properties": {
85
+ "userId": {
86
+ "type": "string"
87
+ }
88
+ }
89
+ }
90
+ },
91
+ "fmmNodeId": {
92
+ "type": "string"
93
+ }
94
+ }
95
+ }
96
+ },
52
97
  "order": {
53
98
  "type": "integer"
54
99
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fmea-api-mcp-server",
3
- "version": "1.1.57",
3
+ "version": "1.1.59",
4
4
  "description": "MCP server for serving API documentation from endpoints directory",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",