Spaces:
Building
Building
Update flare-ui/src/app/services/api.service.ts
Browse files
flare-ui/src/app/services/api.service.ts
CHANGED
@@ -34,11 +34,18 @@ export interface API {
|
|
34 |
token_refresh_body?: any;
|
35 |
};
|
36 |
response_prompt?: string;
|
|
|
37 |
deleted?: boolean;
|
38 |
last_update_date?: string;
|
39 |
last_update_user?: string;
|
40 |
}
|
41 |
|
|
|
|
|
|
|
|
|
|
|
|
|
42 |
export interface Version {
|
43 |
id: number;
|
44 |
caption?: string;
|
|
|
34 |
token_refresh_body?: any;
|
35 |
};
|
36 |
response_prompt?: string;
|
37 |
+
response_mappings?: ResponseMapping[]; // Yeni alan
|
38 |
deleted?: boolean;
|
39 |
last_update_date?: string;
|
40 |
last_update_user?: string;
|
41 |
}
|
42 |
|
43 |
+
export interface ResponseMapping {
|
44 |
+
variable_name: string;
|
45 |
+
type: 'str' | 'int' | 'float' | 'bool' | 'date';
|
46 |
+
json_path: string;
|
47 |
+
}
|
48 |
+
|
49 |
export interface Version {
|
50 |
id: number;
|
51 |
caption?: string;
|