export interface Secret { id: number; key: string; value: string; creator_user_id: string; } export interface RecentProcessModel { processGroupIdentifier?: string; processModelIdentifier: string; processModelDisplayName: string; } export interface ProcessReference { id: string; // The unique id of the process or decision table. name: string; // The process or decision Display name. identifier: string; display_name: string; process_group_id: string; process_model_id: string; type: string; // either "decision" or "process" file_name: string; has_lanes: boolean; is_executable: boolean; is_primary: boolean; } export interface ProcessFile { content_type: string; last_modified: string; name: string; process_model_id: string; references: ProcessReference[]; size: number; type: string; file_contents?: string; } export interface ProcessInstance { id: number; process_model_identifier: string; } export interface ProcessModel { id: string; description: string; display_name: string; primary_file_name: string; files: ProcessFile[]; } export interface ProcessGroup { id: string; display_name: string; description?: string | null; process_models?: ProcessModel[]; process_groups?: ProcessGroup[]; } // tuple of display value and URL export type HotCrumbItem = [displayValue: string, url?: string]; export interface ErrorForDisplay { message: string; sentry_link?: string; } export interface AuthenticationParam { id: string; type: string; required: boolean; } export interface AuthenticationItem { id: string; parameters: AuthenticationParam[]; } export interface PaginationObject { count: number; total: number; pages: number; } export interface CarbonComboBoxSelection { selectedItem: ProcessModel; } export interface CarbonComboBoxProcessSelection { selectedItem: ProcessReference; } export interface PermissionsToCheck { [key: string]: string[]; } export interface PermissionVerbResults { [key: string]: boolean; } export interface PermissionCheckResult { [key: string]: PermissionVerbResults; } export interface PermissionCheckResponseBody { results: PermissionCheckResult; }