From 78f6520bfb37fa166a411787b1dfbf36b8c66ada Mon Sep 17 00:00:00 2001 From: John Chilton Date: Mon, 16 Sep 2024 15:10:45 -0400 Subject: [PATCH] Rebuild schema for hashes... --- client/src/api/schema/schema.ts | 48 ++++++++++++++++++++------------- 1 file changed, 29 insertions(+), 19 deletions(-) diff --git a/client/src/api/schema/schema.ts b/client/src/api/schema/schema.ts index f25355497157..9482be8878bd 100644 --- a/client/src/api/schema/schema.ts +++ b/client/src/api/schema/schema.ts @@ -6614,8 +6614,6 @@ export interface components { }; /** CompositeDataElement */ CompositeDataElement: { - /** Md5 */ - MD5?: string | null; /** * Auto Decompress * @description Decompress compressed data before sniffing? @@ -6646,6 +6644,8 @@ export interface components { */ ext: string; extra_files?: components["schemas"]["ExtraFiles"] | null; + /** Hashes */ + hashes?: components["schemas"]["DatasetHash-Input"][] | null; /** Info */ info?: string | null; /** Name */ @@ -8242,7 +8242,17 @@ export interface components { */ DatasetExtraFiles: components["schemas"]["ExtraFileEntry"][]; /** DatasetHash */ - DatasetHash: { + "DatasetHash-Input": { + /** + * Hash Function + * @enum {string} + */ + hash_function: "MD5" | "SHA-1" | "SHA-256" | "SHA-512"; + /** Hash Value */ + hash_value: string; + }; + /** DatasetHash */ + "DatasetHash-Output": { /** * Extra Files Path * @description The path to the extra files used to generate the hash. @@ -9420,8 +9430,6 @@ export interface components { }; /** FileDataElement */ FileDataElement: { - /** Md5 */ - MD5?: string | null; /** * Auto Decompress * @description Decompress compressed data before sniffing? @@ -9451,6 +9459,8 @@ export interface components { */ ext: string; extra_files?: components["schemas"]["ExtraFiles"] | null; + /** Hashes */ + hashes?: components["schemas"]["DatasetHash-Input"][] | null; /** Info */ info?: string | null; /** Name */ @@ -9753,8 +9763,6 @@ export interface components { }; /** FtpImportElement */ FtpImportElement: { - /** Md5 */ - MD5?: string | null; /** * Auto Decompress * @description Decompress compressed data before sniffing? @@ -9786,6 +9794,8 @@ export interface components { extra_files?: components["schemas"]["ExtraFiles"] | null; /** Ftp Path */ ftp_path: string; + /** Hashes */ + hashes?: components["schemas"]["DatasetHash-Input"][] | null; /** Info */ info?: string | null; /** Name */ @@ -10158,7 +10168,7 @@ export interface components { * Hashes * @description The list of hashes associated with this dataset. */ - hashes?: components["schemas"]["DatasetHash"][] | null; + hashes?: components["schemas"]["DatasetHash-Output"][] | null; /** * HDA or LDDA * @description Whether this dataset belongs to a history (HDA) or a library (LDDA). @@ -10409,7 +10419,7 @@ export interface components { * Hashes * @description The list of hashes associated with this dataset. */ - hashes: components["schemas"]["DatasetHash"][]; + hashes: components["schemas"]["DatasetHash-Output"][]; /** * HDA or LDDA * @description Whether this dataset belongs to a history (HDA) or a library (LDDA). @@ -14386,8 +14396,6 @@ export interface components { ModelStoreFormat: "tgz" | "tar" | "tar.gz" | "bag.zip" | "bag.tar" | "bag.tgz" | "rocrate.zip" | "bco.json"; /** NestedElement */ NestedElement: { - /** Md5 */ - MD5?: string | null; /** * Auto Decompress * @description Decompress compressed data before sniffing? @@ -14430,6 +14438,8 @@ export interface components { */ ext: string; extra_files?: components["schemas"]["ExtraFiles"] | null; + /** Hashes */ + hashes?: components["schemas"]["DatasetHash-Input"][] | null; /** Info */ info?: string | null; /** Name */ @@ -15030,8 +15040,6 @@ export interface components { PageSummaryList: components["schemas"]["PageSummary"][]; /** PastedDataElement */ PastedDataElement: { - /** Md5 */ - MD5?: string | null; /** * Auto Decompress * @description Decompress compressed data before sniffing? @@ -15061,6 +15069,8 @@ export interface components { */ ext: string; extra_files?: components["schemas"]["ExtraFiles"] | null; + /** Hashes */ + hashes?: components["schemas"]["DatasetHash-Input"][] | null; /** Info */ info?: string | null; /** Name */ @@ -15090,8 +15100,6 @@ export interface components { }; /** PathDataElement */ PathDataElement: { - /** Md5 */ - MD5?: string | null; /** * Auto Decompress * @description Decompress compressed data before sniffing? @@ -15121,6 +15129,8 @@ export interface components { */ ext: string; extra_files?: components["schemas"]["ExtraFiles"] | null; + /** Hashes */ + hashes?: components["schemas"]["DatasetHash-Input"][] | null; /** Info */ info?: string | null; /** Link Data Only */ @@ -16011,8 +16021,6 @@ export interface components { }; /** ServerDirElement */ ServerDirElement: { - /** Md5 */ - MD5?: string | null; /** * Auto Decompress * @description Decompress compressed data before sniffing? @@ -16042,6 +16050,8 @@ export interface components { */ ext: string; extra_files?: components["schemas"]["ExtraFiles"] | null; + /** Hashes */ + hashes?: components["schemas"]["DatasetHash-Input"][] | null; /** Info */ info?: string | null; /** Link Data Only */ @@ -17735,8 +17745,6 @@ export interface components { }; /** UrlDataElement */ UrlDataElement: { - /** Md5 */ - MD5?: string | null; /** * Auto Decompress * @description Decompress compressed data before sniffing? @@ -17766,6 +17774,8 @@ export interface components { */ ext: string; extra_files?: components["schemas"]["ExtraFiles"] | null; + /** Hashes */ + hashes?: components["schemas"]["DatasetHash-Input"][] | null; /** Info */ info?: string | null; /** Name */