2022-10-12 14:21:49 +00:00
|
|
|
export interface Secret {
|
2022-10-14 00:45:09 +00:00
|
|
|
id: number;
|
2022-10-12 14:21:49 +00:00
|
|
|
key: string;
|
|
|
|
value: string;
|
2022-10-14 00:45:09 +00:00
|
|
|
creator_user_id: string;
|
2022-10-12 14:21:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
export interface RecentProcessModel {
|
|
|
|
processGroupIdentifier: string;
|
|
|
|
processModelIdentifier: string;
|
|
|
|
processModelDisplayName: string;
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface ProcessGroup {
|
|
|
|
id: string;
|
|
|
|
display_name: string;
|
2022-11-03 19:55:50 +00:00
|
|
|
description?: string | null;
|
2022-10-12 14:21:49 +00:00
|
|
|
}
|
|
|
|
|
2022-11-07 19:35:49 +00:00
|
|
|
export interface ProcessFileReference {
|
|
|
|
id: string; // The unique id of the process or decision table.
|
|
|
|
name: string; // The process or decision table name.
|
|
|
|
type: string; // either "decision" or "process"
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface ProcessFile {
|
|
|
|
content_type: string;
|
|
|
|
last_modified: string;
|
|
|
|
name: string;
|
|
|
|
process_group_id: string;
|
|
|
|
process_model_id: string;
|
|
|
|
references: ProcessFileReference[];
|
|
|
|
size: number;
|
|
|
|
type: string;
|
|
|
|
}
|
|
|
|
|
2022-10-12 14:21:49 +00:00
|
|
|
export interface ProcessModel {
|
|
|
|
id: string;
|
2022-11-07 23:37:46 +00:00
|
|
|
description: string;
|
2022-10-12 14:21:49 +00:00
|
|
|
process_group_id: string;
|
|
|
|
display_name: string;
|
|
|
|
primary_file_name: string;
|
2022-11-07 19:35:49 +00:00
|
|
|
files: ProcessFile[];
|
2022-10-12 14:21:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// tuple of display value and URL
|
2022-11-07 19:23:19 +00:00
|
|
|
export type HotCrumbItem = [displayValue: string, url?: string];
|
2022-10-18 20:41:13 +00:00
|
|
|
|
|
|
|
export interface ErrorForDisplay {
|
|
|
|
message: string;
|
|
|
|
sentry_link?: string;
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface AuthenticationParam {
|
|
|
|
id: string;
|
|
|
|
type: string;
|
|
|
|
required: boolean;
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface AuthenticationItem {
|
|
|
|
id: string;
|
|
|
|
parameters: AuthenticationParam[];
|
|
|
|
}
|
2022-11-01 20:26:24 +00:00
|
|
|
|
|
|
|
export interface PaginationObject {
|
|
|
|
count: number;
|
|
|
|
total: number;
|
|
|
|
pages: number;
|
|
|
|
}
|
2022-11-02 21:16:41 +00:00
|
|
|
|
|
|
|
export interface CarbonComboBoxSelection {
|
|
|
|
selectedItem: ProcessModel;
|
|
|
|
}
|