Add Organization.isTopLevel, PaymentMethod.COMP, COMP_* event types; remove OrganizationType enum

Featurekamo-shared-library
Shipped
April 20, 2026 at 7:42 PM UTC
Author
Kamo
Commit
d63b27c

- Organization: replace dead `type` field with `isTopLevel` flag for platform-owner identification - PaymentMethod: add COMP for complimentary platform-admin grants (no Stripe) - SubscriptionEventType: add COMP_GRANTED, COMP_REVOKED, COMP_EXPIRED, COMP_MODIFIED - OrganizationRepository: add findFirstByIsTopLevelTrue() - OrganizationService: drop setType() call; fields are now driven by isTopLevel

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing