import { Secret, ResourceListParams, Environments as _Environments, TranslateKey, Workspace } from '@alauda-fe/common'; import { ResourceQuotaItem } from './k8s'; export interface WorkspaceDetailParams extends Workspace { name?: string; } export interface WorkspaceListParams extends Workspace, ResourceListParams { } export interface AdminBaseParams { cluster?: string; namespace?: string; } export interface AdminDetailParams extends AdminBaseParams { name?: string; } export interface AdminListParams extends AdminBaseParams, ResourceListParams { } export type Environments = _Environments; /** * Console related status. * * All feature related status should be mapped into one of the categories */ export declare enum UnifiedStatus { SUCCESS = "SUCCESS", ERROR = "ERROR", PENDING = "PENDING", IN_PROGRESS = "IN_PROGRESS", INACTIVE = "INACTIVE" } export interface SecretsGroup { global: Secret[]; namespace: Secret[]; } export interface ExecInfo { user: string; command: string; } export interface ResourceQuotaDefinition { key: keyof ResourceQuotaItem; fallbackKey?: keyof ResourceQuotaItem; name: TranslateKey; unit: string; description?: TranslateKey; normalizer?: (value: string) => string; }