@geode/vease-modeling-back 1.10.0-rc.3 → 1.10.0-rc.4

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@geode/vease-modeling-back",
3
- "version": "1.10.0-rc.3",
3
+ "version": "1.10.0-rc.4",
4
4
  "description": "Vease Modeling Backend - Microservice for geological modeling operations",
5
5
  "homepage": "https://github.com/Geode-solutions/Vease-Modeling-Back",
6
6
  "bugs": {
@@ -1,5 +1,53 @@
1
1
  {
2
2
  "vease_modeling_back": {
3
+ "aoi": {
4
+ "create": {
5
+ "$id": "vease_modeling_back/aoi/create",
6
+ "route": "/create",
7
+ "methods": [
8
+ "POST"
9
+ ],
10
+ "type": "object",
11
+ "properties": {
12
+ "name": {
13
+ "type": "string",
14
+ "description": "Name of the AOI"
15
+ },
16
+ "points": {
17
+ "type": "array",
18
+ "items": {
19
+ "type": "object",
20
+ "properties": {
21
+ "x": {
22
+ "type": "number"
23
+ },
24
+ "y": {
25
+ "type": "number"
26
+ }
27
+ },
28
+ "required": [
29
+ "x",
30
+ "y"
31
+ ],
32
+ "additionalProperties": false
33
+ },
34
+ "minItems": 3
35
+ },
36
+ "z": {
37
+ "type": "number"
38
+ },
39
+ "id": {
40
+ "type": "string"
41
+ }
42
+ },
43
+ "required": [
44
+ "name",
45
+ "points",
46
+ "z"
47
+ ],
48
+ "additionalProperties": false
49
+ }
50
+ },
3
51
  "model": {
4
52
  "remesh": {
5
53
  "$id": "vease_modeling_back/model/remesh",
@@ -296,106 +344,6 @@
296
344
  "additionalProperties": false
297
345
  }
298
346
  },
299
- "voi_curve": {
300
- "$id": "vease_modeling_back/voi/create/curve",
301
- "route": "/voi/create/curve",
302
- "methods": [
303
- "POST"
304
- ],
305
- "type": "object",
306
- "properties": {
307
- "name": {
308
- "type": "string",
309
- "description": "Name of the VOI"
310
- },
311
- "topography_id": {
312
- "type": "string",
313
- "description": "ID of the topography (TriangulatedSurface3D or PolygonalSurface3D)"
314
- },
315
- "curve_id": {
316
- "type": "string",
317
- "description": "ID of the curve (EdgedCurve2D or 3D)"
318
- },
319
- "bottom_surface_depth": {
320
- "type": "number",
321
- "description": "Bottom surface depth"
322
- }
323
- },
324
- "required": [
325
- "name",
326
- "topography_id",
327
- "curve_id",
328
- "bottom_surface_depth"
329
- ],
330
- "additionalProperties": false
331
- },
332
- "voi_aoi": {
333
- "$id": "vease_modeling_back/voi/create/aoi",
334
- "route": "/voi/create/aoi",
335
- "methods": [
336
- "POST"
337
- ],
338
- "type": "object",
339
- "properties": {
340
- "name": {
341
- "type": "string",
342
- "description": "Name of the VOI"
343
- },
344
- "aoi_id": {
345
- "type": "string",
346
- "description": "ID of the corresponding AOI"
347
- },
348
- "z_min": {
349
- "type": "number",
350
- "description": "Minimum Z coordinate"
351
- },
352
- "z_max": {
353
- "type": "number",
354
- "description": "Maximum Z coordinate"
355
- },
356
- "id": {
357
- "type": "string",
358
- "description": "Optional ID for updating existing VOI"
359
- }
360
- },
361
- "required": [
362
- "name",
363
- "aoi_id",
364
- "z_min",
365
- "z_max"
366
- ],
367
- "additionalProperties": false
368
- },
369
- "voi": {
370
- "$id": "vease_modeling_back/voi/create/surfaces",
371
- "route": "/voi/create/surfaces",
372
- "methods": [
373
- "POST"
374
- ],
375
- "type": "object",
376
- "properties": {
377
- "name": {
378
- "type": "string",
379
- "description": "Name of the VOI"
380
- },
381
- "surface_ids": {
382
- "type": "array",
383
- "items": {
384
- "type": "string"
385
- },
386
- "description": "IDs of the surfaces forming the VOI"
387
- },
388
- "id": {
389
- "type": "string",
390
- "description": "Optional ID for updating existing VOI"
391
- }
392
- },
393
- "required": [
394
- "name",
395
- "surface_ids"
396
- ],
397
- "additionalProperties": false
398
- },
399
347
  "microservice_version": {
400
348
  "$id": "vease_modeling_back/microservice_version",
401
349
  "route": "/microservice_version",
@@ -405,51 +353,109 @@
405
353
  "type": "object",
406
354
  "additionalProperties": false
407
355
  },
408
- "aoi": {
409
- "$id": "vease_modeling_back/aoi/create",
410
- "route": "/aoi/create",
411
- "methods": [
412
- "POST"
413
- ],
414
- "type": "object",
415
- "properties": {
416
- "name": {
417
- "type": "string",
418
- "description": "Name of the AOI"
419
- },
420
- "points": {
421
- "type": "array",
422
- "items": {
423
- "type": "object",
424
- "properties": {
425
- "x": {
426
- "type": "number"
356
+ "voi": {
357
+ "create": {
358
+ "surfaces": {
359
+ "$id": "vease_modeling_back/voi/create/surfaces",
360
+ "route": "/surfaces",
361
+ "methods": [
362
+ "POST"
363
+ ],
364
+ "type": "object",
365
+ "properties": {
366
+ "name": {
367
+ "type": "string",
368
+ "description": "Name of the VOI"
369
+ },
370
+ "surface_ids": {
371
+ "type": "array",
372
+ "items": {
373
+ "type": "string"
427
374
  },
428
- "y": {
429
- "type": "number"
430
- }
375
+ "description": "IDs of the surfaces forming the VOI"
431
376
  },
432
- "required": [
433
- "x",
434
- "y"
435
- ],
436
- "additionalProperties": false
377
+ "id": {
378
+ "type": "string",
379
+ "description": "Optional ID for updating existing VOI"
380
+ }
437
381
  },
438
- "minItems": 3
382
+ "required": [
383
+ "name",
384
+ "surface_ids"
385
+ ],
386
+ "additionalProperties": false
439
387
  },
440
- "z": {
441
- "type": "number"
388
+ "curve": {
389
+ "$id": "vease_modeling_back/voi/create/curve",
390
+ "route": "/curve",
391
+ "methods": [
392
+ "POST"
393
+ ],
394
+ "type": "object",
395
+ "properties": {
396
+ "name": {
397
+ "type": "string",
398
+ "description": "Name of the VOI"
399
+ },
400
+ "topography_id": {
401
+ "type": "string",
402
+ "description": "ID of the topography (TriangulatedSurface3D or PolygonalSurface3D)"
403
+ },
404
+ "curve_id": {
405
+ "type": "string",
406
+ "description": "ID of the curve (EdgedCurve2D or 3D)"
407
+ },
408
+ "bottom_surface_depth": {
409
+ "type": "number",
410
+ "description": "Bottom surface depth"
411
+ }
412
+ },
413
+ "required": [
414
+ "name",
415
+ "topography_id",
416
+ "curve_id",
417
+ "bottom_surface_depth"
418
+ ],
419
+ "additionalProperties": false
442
420
  },
443
- "id": {
444
- "type": "string"
421
+ "aoi": {
422
+ "$id": "vease_modeling_back/voi/create/aoi",
423
+ "route": "/aoi",
424
+ "methods": [
425
+ "POST"
426
+ ],
427
+ "type": "object",
428
+ "properties": {
429
+ "name": {
430
+ "type": "string",
431
+ "description": "Name of the VOI"
432
+ },
433
+ "aoi_id": {
434
+ "type": "string",
435
+ "description": "ID of the corresponding AOI"
436
+ },
437
+ "z_min": {
438
+ "type": "number",
439
+ "description": "Minimum Z coordinate"
440
+ },
441
+ "z_max": {
442
+ "type": "number",
443
+ "description": "Maximum Z coordinate"
444
+ },
445
+ "id": {
446
+ "type": "string",
447
+ "description": "Optional ID for updating existing VOI"
448
+ }
449
+ },
450
+ "required": [
451
+ "name",
452
+ "aoi_id",
453
+ "z_min",
454
+ "z_max"
455
+ ],
456
+ "additionalProperties": false
445
457
  }
446
- },
447
- "required": [
448
- "name",
449
- "points",
450
- "z"
451
- ],
452
- "additionalProperties": false
458
+ }
453
459
  }
454
460
  }
455
461
  }