Alembic Β· KBP Distribution
Superadmin for one tenant β features live in the app, central grants come from Passport.
Modules
app
Perishables tracking
perishablesDLC/DDM, lots, weight variance on inbound.
central
B2B portal
b2b_portalExternal storefront exposing stock + receiving orders.
Billing
central
Plan
planCommercial plan gating seats and volume.
Limits
central
Max seats
max_seatsHard cap on active users.
Operations
app-provided actionsReindex catalog
Rebuild product search index for this tenant.
Resend pending invites
Re-send all unaccepted user invitations.
Purge sandbox data
Delete all demo/sandbox records.
Launch descriptor
the shrunken 'contract'- app key
- alembic
- kind
- product
- subject
- tenant
- audience
- alembic
- base URL
- https://alembic.midnightcore.com
- OpenAPI (Hey API)
- https://alembic.midnightcore.com/api/openapi.json
- deep-link
- https://alembic.midnightcore.com/admin?tenant=kbp
central features would write a Passport grant. app features would call Alembic via a Hey API client generated from the OpenAPI above.