Commit a4ff9ab
feat(api): add data_assets array to cells and enhance minimal model (#116)
- Add data_assets array property to Cell.data for referencing Asset UUIDs
- Update MinimalNode/MinimalEdge: rename dataAssetId to dataAssetIds (array)
- Add assets array to MinimalDiagramModel containing referenced Asset objects
- Update diagram model transform to:
- Populate dataAssetIds from cell data (excluding text-box/security-boundary)
- Fetch and include referenced assets in minimal model output
- Set SecurityBoundary flag based on shape or explicit cell data
- Update tests for new MinimalDiagramModel structure
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>1 parent 001440b commit a4ff9ab
File tree
7 files changed
+1136
-927
lines changed- api-schema
- api
7 files changed
+1136
-927
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
| 3 | + | |
| 4 | + | |
5 | 5 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
796 | 796 | | |
797 | 797 | | |
798 | 798 | | |
| 799 | + | |
| 800 | + | |
| 801 | + | |
| 802 | + | |
| 803 | + | |
| 804 | + | |
| 805 | + | |
| 806 | + | |
| 807 | + | |
| 808 | + | |
| 809 | + | |
| 810 | + | |
| 811 | + | |
| 812 | + | |
799 | 813 | | |
800 | 814 | | |
801 | 815 | | |
| |||
5459 | 5473 | | |
5460 | 5474 | | |
5461 | 5475 | | |
5462 | | - | |
| 5476 | + | |
| 5477 | + | |
5463 | 5478 | | |
5464 | 5479 | | |
5465 | 5480 | | |
| |||
5493 | 5508 | | |
5494 | 5509 | | |
5495 | 5510 | | |
| 5511 | + | |
| 5512 | + | |
| 5513 | + | |
| 5514 | + | |
| 5515 | + | |
| 5516 | + | |
| 5517 | + | |
| 5518 | + | |
5496 | 5519 | | |
5497 | 5520 | | |
5498 | 5521 | | |
| |||
5504 | 5527 | | |
5505 | 5528 | | |
5506 | 5529 | | |
5507 | | - | |
| 5530 | + | |
| 5531 | + | |
5508 | 5532 | | |
5509 | 5533 | | |
5510 | 5534 | | |
| |||
5595 | 5619 | | |
5596 | 5620 | | |
5597 | 5621 | | |
5598 | | - | |
5599 | | - | |
5600 | | - | |
5601 | | - | |
5602 | | - | |
5603 | | - | |
5604 | | - | |
| 5622 | + | |
| 5623 | + | |
| 5624 | + | |
| 5625 | + | |
| 5626 | + | |
| 5627 | + | |
| 5628 | + | |
| 5629 | + | |
| 5630 | + | |
| 5631 | + | |
5605 | 5632 | | |
5606 | 5633 | | |
5607 | 5634 | | |
| |||
5627 | 5654 | | |
5628 | 5655 | | |
5629 | 5656 | | |
5630 | | - | |
| 5657 | + | |
5631 | 5658 | | |
5632 | 5659 | | |
5633 | 5660 | | |
| |||
5686 | 5713 | | |
5687 | 5714 | | |
5688 | 5715 | | |
5689 | | - | |
5690 | | - | |
5691 | | - | |
5692 | | - | |
5693 | | - | |
5694 | | - | |
5695 | | - | |
| 5716 | + | |
| 5717 | + | |
| 5718 | + | |
| 5719 | + | |
| 5720 | + | |
| 5721 | + | |
| 5722 | + | |
| 5723 | + | |
| 5724 | + | |
| 5725 | + | |
5696 | 5726 | | |
5697 | 5727 | | |
5698 | 5728 | | |
| |||
5715 | 5745 | | |
5716 | 5746 | | |
5717 | 5747 | | |
5718 | | - | |
| 5748 | + | |
5719 | 5749 | | |
5720 | 5750 | | |
5721 | 5751 | | |
| |||
0 commit comments