Skip to content

feat!: rename BlueprintMembershipType to BlueprintEntityType + add storage to BlueprintDefinition#1037

Merged
pyramation merged 1 commit intomainfrom
feat/entity-types-rename
Apr 29, 2026
Merged

feat!: rename BlueprintMembershipType to BlueprintEntityType + add storage to BlueprintDefinition#1037
pyramation merged 1 commit intomainfrom
feat/entity-types-rename

Conversation

@pyramation
Copy link
Copy Markdown
Contributor

Summary

TypeScript type updates matching the SQL-level rename in constructive-db #956.

Changes

  1. BlueprintMembershipTypeBlueprintEntityType — interface renamed in codegen source and regenerated output
  2. membership_typesentity_types — the property on BlueprintDefinition now matches the SQL key
  3. storage?: BlueprintStorageConfig — new optional property on BlueprintDefinition for app-level storage configuration (bucket seeds, policies, expiry overrides, CORS)
  4. JSDoc fixBlueprintEntityTableProvision doc now references BlueprintEntityType instead of BlueprintMembershipType

Files changed

  • graphql/node-type-registry/src/codegen/generate-types.ts — codegen source
  • graphql/node-type-registry/src/blueprint-types.generated.ts — regenerated output

Review & Testing Checklist for Human

  • Verify BlueprintEntityType interface has all the same properties as the old BlueprintMembershipType
  • Verify BlueprintDefinition.entity_types autocomplete works in IDE
  • Verify BlueprintDefinition.storage shows BlueprintStorageConfig shape in autocomplete

Notes

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

…rage to BlueprintDefinition

BREAKING: BlueprintMembershipType is now BlueprintEntityType, and the
blueprint JSON key is 'entity_types' instead of 'membership_types'.

Also adds 'storage?: BlueprintStorageConfig' to BlueprintDefinition for
app-level bucket seeding and storage configuration from blueprints.

Updates JSDoc reference from BlueprintMembershipType to BlueprintEntityType
in BlueprintEntityTableProvision.
@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 239fb28 into main Apr 29, 2026
52 checks passed
@pyramation pyramation deleted the feat/entity-types-rename branch April 29, 2026 07:03
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