import type { CreateNamespaceForm, CreateTenantForm, SortField, StatusFilter } from '../_types' export const FALLBACK_TENANT_ID = '00000000-0000-0000-0000-000000000001' export const FALLBACK_USER_ID = '00000000-0000-0000-0000-000000000001' export const API_BASE = '/api/sdk/v1/multi-tenant' export const STATUS_OPTIONS = [ { value: 'active', label: 'Aktiv' }, { value: 'suspended', label: 'Suspendiert' }, { value: 'inactive', label: 'Inaktiv' }, ] export const FILTER_OPTIONS: { value: StatusFilter; label: string }[] = [ { value: 'all', label: 'Alle' }, { value: 'active', label: 'Aktiv' }, { value: 'suspended', label: 'Suspendiert' }, { value: 'inactive', label: 'Inaktiv' }, ] export const SORT_OPTIONS: { value: SortField; label: string }[] = [ { value: 'name', label: 'Name' }, { value: 'score', label: 'Score' }, { value: 'risk', label: 'Risiko' }, ] export const ISOLATION_LEVELS = [ { value: 'shared', label: 'Shared' }, { value: 'isolated', label: 'Isoliert' }, { value: 'dedicated', label: 'Dediziert' }, ] export const DATA_CLASSIFICATIONS = [ { value: 'public', label: 'Oeffentlich' }, { value: 'internal', label: 'Intern' }, { value: 'confidential', label: 'Vertraulich' }, { value: 'restricted', label: 'Eingeschraenkt' }, ] export const RISK_ORDER: Record = { LOW: 0, MEDIUM: 1, HIGH: 2, CRITICAL: 3, } export const EMPTY_CREATE_FORM: CreateTenantForm = { name: '', slug: '', max_users: 100, llm_quota_monthly: 10000, } export const EMPTY_NAMESPACE_FORM: CreateNamespaceForm = { name: '', slug: '', isolation_level: 'shared', data_classification: 'internal', }