Add Khanegi uiVariant modular/newTheme with get_user payload split.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -13,6 +13,12 @@ enum ProductType {
|
||||
khanegi
|
||||
}
|
||||
|
||||
/// Khanegi front-end appearance family (ignored for hamkar).
|
||||
enum KhanegiUiVariant {
|
||||
modular
|
||||
newTheme
|
||||
}
|
||||
|
||||
enum UserRole {
|
||||
super_admin
|
||||
viewer
|
||||
@@ -63,6 +69,8 @@ model Tenant {
|
||||
smsSyncedAt DateTime? @map("sms_synced_at")
|
||||
/// Full Khanegi UI JSON (theme, navigation, pages). Hamkar: unused for now.
|
||||
appUiConfig Json? @map("app_ui_config")
|
||||
/// Khanegi only: which appearance editor / get_user payload shape to use.
|
||||
uiVariant KhanegiUiVariant @default(modular) @map("ui_variant")
|
||||
/// Client cache-bust / force-reload signal for this sold version (GET /get_version).
|
||||
appVersion String @default("1") @map("app_version")
|
||||
isActive Boolean @default(true) @map("is_active")
|
||||
|
||||
Reference in New Issue
Block a user