Skip to content

feat(api): add data_assets array to cells and enhance minimal model#116

Merged
ericfitz merged 1 commit intomainfrom
feat/data-assets-array
Jan 25, 2026
Merged

feat(api): add data_assets array to cells and enhance minimal model#116
ericfitz merged 1 commit intomainfrom
feat/data-assets-array

Conversation

@ericfitz
Copy link
Owner

Summary

  • 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 shapes)
    • Fetch and include referenced assets in minimal model output
    • Set SecurityBoundary flag based on shape or explicit cell data

Test plan

  • make validate-openapi passes
  • make lint passes
  • make build-server passes
  • make test-unit passes

🤖 Generated with Claude Code

- 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>
@ericfitz ericfitz merged commit a4ff9ab into main Jan 25, 2026
7 checks passed
@dosubot dosubot bot added the enhancement New feature or request label Jan 25, 2026
@ericfitz ericfitz deleted the feat/data-assets-array branch January 27, 2026 02:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant