From 07aa7284d016576b198e9f0ee92bebe8d1368f1a Mon Sep 17 00:00:00 2001 From: heisner-tillman Date: Wed, 3 Apr 2024 15:30:37 +0200 Subject: [PATCH] Regenerate the client schema --- client/src/api/schema/schema.ts | 279 +++++++++++++++++++++++++++++++- 1 file changed, 277 insertions(+), 2 deletions(-) diff --git a/client/src/api/schema/schema.ts b/client/src/api/schema/schema.ts index ca45107b5671..dbadb2f73a3d 100644 --- a/client/src/api/schema/schema.ts +++ b/client/src/api/schema/schema.ts @@ -5001,6 +5001,275 @@ export interface components { }; /** ExportTaskListResponse */ ExportTaskListResponse: components["schemas"]["ObjectExportTaskResponse"][]; + /** ExtendedHDCADetailed */ + ExtendedHDCADetailed: { + /** + * Dataset Collection ID + * @example 0123456789ABCDEF + */ + collection_id: string; + /** + * Collection Type + * @description The type of the collection, can be `list`, `paired`, or define subcollections using `:` as separator like `list:paired` or `list:list`. + */ + collection_type: string; + /** + * Contents URL + * @description The relative URL to access the contents of this History. + */ + contents_url: string; + /** + * Create Time + * @description The time and date this item was created. + */ + create_time: string | null; + /** + * Deleted + * @description Whether this item is marked as deleted. + */ + deleted: boolean; + /** + * Element Count + * @description The number of elements contained in the dataset collection. It may be None or undefined if the collection could not be populated. + */ + element_count?: number | null; + /** + * Elements + * @description The summary information of each of the elements inside the dataset collection. + * @default [] + */ + elements?: components["schemas"]["DCESummary"][]; + /** + * Elements Datatypes + * @description A set containing all the different element datatypes in the collection. + */ + elements_datatypes: string[]; + /** + * HID + * @description The index position of this item in the History. + */ + hid: number; + /** + * History Content Type + * @description This is always `dataset_collection` for dataset collections. + * @constant + */ + history_content_type: "dataset_collection"; + /** + * History ID + * @example 0123456789ABCDEF + */ + history_id: string; + /** + * Id + * @example 0123456789ABCDEF + */ + id: string; + /** + * Implicit Collection Jobs Id + * @description Encoded ID for the ICJ object describing the collection of jobs corresponding to this collection + */ + implicit_collection_jobs_id?: string | null; + /** + * Job Source ID + * @description The encoded ID of the Job that produced this dataset collection. Used to track the state of the job. + */ + job_source_id?: string | null; + /** + * Job Source Type + * @description The type of job (model class) that produced this dataset collection. Used to track the state of the job. + */ + job_source_type?: components["schemas"]["JobSourceType"] | null; + /** + * Job State Summary + * @description Overview of the job states working inside the dataset collection. + */ + job_state_summary?: components["schemas"]["HDCJobStateSummary"] | null; + /** + * Model class + * @description The name of the database model class. + * @constant + */ + model_class: "HistoryDatasetCollectionAssociation"; + /** + * Name + * @description The name of the item. + */ + name: string | null; + /** + * Output Name + * @description The name of the tool output + */ + output_name: string; + /** + * Populated + * @description Whether the dataset collection elements (and any subcollections elements) were successfully populated. + */ + populated?: boolean; + /** + * Populated State + * @description Indicates the general state of the elements in the dataset collection:- 'new': new dataset collection, unpopulated elements.- 'ok': collection elements populated (HDAs may or may not have errors).- 'failed': some problem populating, won't be populated. + */ + populated_state: components["schemas"]["DatasetCollectionPopulatedState"]; + /** + * Populated State Message + * @description Optional message with further information in case the population of the dataset collection failed. + */ + populated_state_message?: string | null; + tags: components["schemas"]["TagCollection"]; + /** + * Type + * @description This is always `collection` for dataset collections. + * @default collection + * @constant + */ + type?: "collection"; + /** + * Type - ID + * @description The type and the encoded ID of this item. Used for caching. + */ + type_id?: string | null; + /** + * Update Time + * @description The last time and date this item was updated. + */ + update_time: string | null; + /** + * URL + * @deprecated + * @description The relative URL to access this item. + */ + url: string; + /** + * Visible + * @description Whether this item is visible or hidden to the user by default. + */ + visible: boolean; + }; + /** ExtendedHDCASummary */ + ExtendedHDCASummary: { + /** + * Dataset Collection ID + * @example 0123456789ABCDEF + */ + collection_id: string; + /** + * Collection Type + * @description The type of the collection, can be `list`, `paired`, or define subcollections using `:` as separator like `list:paired` or `list:list`. + */ + collection_type: string; + /** + * Contents URL + * @description The relative URL to access the contents of this History. + */ + contents_url: string; + /** + * Create Time + * @description The time and date this item was created. + */ + create_time: string | null; + /** + * Deleted + * @description Whether this item is marked as deleted. + */ + deleted: boolean; + /** + * Element Count + * @description The number of elements contained in the dataset collection. It may be None or undefined if the collection could not be populated. + */ + element_count?: number | null; + /** + * HID + * @description The index position of this item in the History. + */ + hid: number; + /** + * History Content Type + * @description This is always `dataset_collection` for dataset collections. + * @constant + */ + history_content_type: "dataset_collection"; + /** + * History ID + * @example 0123456789ABCDEF + */ + history_id: string; + /** + * Id + * @example 0123456789ABCDEF + */ + id: string; + /** + * Job Source ID + * @description The encoded ID of the Job that produced this dataset collection. Used to track the state of the job. + */ + job_source_id?: string | null; + /** + * Job Source Type + * @description The type of job (model class) that produced this dataset collection. Used to track the state of the job. + */ + job_source_type?: components["schemas"]["JobSourceType"] | null; + /** + * Job State Summary + * @description Overview of the job states working inside the dataset collection. + */ + job_state_summary?: components["schemas"]["HDCJobStateSummary"] | null; + /** + * Model class + * @description The name of the database model class. + * @constant + */ + model_class: "HistoryDatasetCollectionAssociation"; + /** + * Name + * @description The name of the item. + */ + name: string | null; + /** + * Output Name + * @description The name of the tool output + */ + output_name: string; + /** + * Populated State + * @description Indicates the general state of the elements in the dataset collection:- 'new': new dataset collection, unpopulated elements.- 'ok': collection elements populated (HDAs may or may not have errors).- 'failed': some problem populating, won't be populated. + */ + populated_state: components["schemas"]["DatasetCollectionPopulatedState"]; + /** + * Populated State Message + * @description Optional message with further information in case the population of the dataset collection failed. + */ + populated_state_message?: string | null; + tags: components["schemas"]["TagCollection"]; + /** + * Type + * @description This is always `collection` for dataset collections. + * @default collection + * @constant + */ + type?: "collection"; + /** + * Type - ID + * @description The type and the encoded ID of this item. Used for caching. + */ + type_id?: string | null; + /** + * Update Time + * @description The last time and date this item was updated. + */ + update_time: string | null; + /** + * URL + * @deprecated + * @description The relative URL to access this item. + */ + url: string; + /** + * Visible + * @description Whether this item is visible or hidden to the user by default. + */ + visible: boolean; + }; /** ExtraFileEntry */ ExtraFileEntry: { /** @description The class of this entry, either File or Directory. */ @@ -11782,7 +12051,10 @@ export interface components { * @description The implicit dataset collections of the tool. * @default [] */ - implicit_collections?: Record[]; + implicit_collections?: ( + | components["schemas"]["ExtendedHDCADetailed"] + | components["schemas"]["ExtendedHDCASummary"] + )[]; /** * Jobs * @description The jobs of the tool. @@ -11798,7 +12070,10 @@ export interface components { * @description The output dataset collections of the tool. * @default [] */ - output_collections?: Record[]; + output_collections?: ( + | components["schemas"]["ExtendedHDCADetailed"] + | components["schemas"]["ExtendedHDCASummary"] + )[]; /** * Outputs * @description The outputs of the tool.