frontend 2026-06-10 bontva a 2 felület
This commit is contained in:
24
frontend/src/types/organization.ts
Normal file
24
frontend/src/types/organization.ts
Normal file
@@ -0,0 +1,24 @@
|
||||
/**
|
||||
* Organization item returned from GET /api/v1/organizations/my
|
||||
* Maps to the backend Organization model fields.
|
||||
*/
|
||||
export interface OrganizationItem {
|
||||
organization_id: number
|
||||
status: string
|
||||
name: string
|
||||
full_name: string
|
||||
display_name: string | null
|
||||
tax_number: string | null
|
||||
country_code: string
|
||||
is_active: boolean
|
||||
is_deleted: boolean
|
||||
subscription_plan: string
|
||||
/** org_type is not in the current /my response but we keep it for future use */
|
||||
org_type?: string
|
||||
/**
|
||||
* JSONB visual settings for white-labeling / dynamic theming.
|
||||
* Contains keys like: primary_color, secondary_color, bg_color, wall_logo_url, etc.
|
||||
* Set via PATCH /organizations/{org_id}/visual-settings.
|
||||
*/
|
||||
visual_settings?: Record<string, any> | null
|
||||
}
|
||||
Reference in New Issue
Block a user