Skip to content

feat: make name optional on BlueprintEntityType for extend path#1198

Merged
pyramation merged 1 commit into
mainfrom
feat/entity-type-extend-blueprint-types
May 20, 2026
Merged

feat: make name optional on BlueprintEntityType for extend path#1198
pyramation merged 1 commit into
mainfrom
feat/entity-type-extend-blueprint-types

Conversation

@pyramation
Copy link
Copy Markdown
Contributor

Summary

Makes name optional on BlueprintEntityType. When an entity_types[] entry has prefix but no name, it extends an existing entity type (e.g., the built-in org) with storage instead of creating a new entity type.

Changes:

  • generate-types.ts: requiredProp('name')optionalProp('name'), updated JSDoc
  • blueprint-types.generated.ts: name: stringname?: string, updated interface/field docs

Companion to constructive-db#1250.

Review & Testing Checklist for Human

  • Verify that existing code creating new entity types (with name + prefix) still type-checks correctly
  • Confirm the generated file change matches the generator source change (only name optionality + JSDoc)

Notes

Low risk — types-only change. The SQL implementation (constructive-db#1250) is already merged.

Link to Devin session: https://app.devin.ai/sessions/c0494871633d4beb91f1e16e53c776d1
Requested by: @pyramation

When an entity_types[] entry has prefix but no name, it extends an
existing entity type (e.g., org) with storage instead of creating a
new one. This makes name optional — only prefix is required.

Companion to constructive-db#1250.
@devin-ai-integration
Copy link
Copy Markdown
Contributor

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

@pyramation pyramation merged commit 9d5dbc7 into main May 20, 2026
37 checks passed
@pyramation pyramation deleted the feat/entity-type-extend-blueprint-types branch May 20, 2026 00:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant