Skip to content

Commit 07a8b64

Browse files
authored
Merge pull request #21147 from davelopez/update_client_api_schema
Update client API schema
2 parents 04c5c0b + 06b6655 commit 07a8b64

File tree

2 files changed

+9
-39
lines changed

2 files changed

+9
-39
lines changed

client/src/api/schema/schema.ts

Lines changed: 8 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -8123,7 +8123,7 @@ export interface components {
81238123
* Column Definitions
81248124
* @description Specify definitions for row data if collection_type is sample_sheet
81258125
*/
8126-
column_definitions?: components["schemas"]["SampleSheetColumnDefinition-Input"][] | null;
8126+
column_definitions?: components["schemas"]["SampleSheetColumnDefinition"][] | null;
81278127
/**
81288128
* Content
81298129
* @description Depending on the `source` it can be:
@@ -8354,7 +8354,7 @@ export interface components {
83548354
* Column Definitions
83558355
* @description Specify definitions for row data if collection_type is sample_sheet
83568356
*/
8357-
column_definitions?: components["schemas"]["SampleSheetColumnDefinition-Input"][] | null;
8357+
column_definitions?: components["schemas"]["SampleSheetColumnDefinition"][] | null;
83588358
/**
83598359
* Copy Elements
83608360
* @description Whether to create a copy of the source HDAs for the new collection.
@@ -11322,8 +11322,6 @@ export interface components {
1132211322
type:
1132311323
| ("File" | "null" | "boolean" | "int" | "float" | "string")
1132411324
| ("File" | "null" | "boolean" | "int" | "float" | "string")[];
11325-
} & {
11326-
[key: string]: unknown;
1132711325
};
1132811326
/** FileDataElement */
1132911327
FileDataElement: {
@@ -12004,7 +12002,7 @@ export interface components {
1200412002
/** Collection Type */
1200512003
collection_type?: string | null;
1200612004
/** Column Definitions */
12007-
column_definitions?: components["schemas"]["SampleSheetColumnDefinition-Input"][] | null;
12005+
column_definitions?: components["schemas"]["SampleSheetColumnDefinition"][] | null;
1200812006
destination: components["schemas"]["HdcaDestination"];
1200912007
/** Ftp Path */
1201012008
ftp_path: string;
@@ -13128,7 +13126,7 @@ export interface components {
1312813126
* Column Definitions
1312913127
* @description Column data associated with each element of this collection.
1313013128
*/
13131-
column_definitions?: components["schemas"]["SampleSheetColumnDefinition-Output"][] | null;
13129+
column_definitions?: components["schemas"]["SampleSheetColumnDefinition"][] | null;
1313213130
/**
1313313131
* Contents URL
1313413132
* @description The relative URL to access the contents of this History.
@@ -13291,7 +13289,7 @@ export interface components {
1329113289
* Column Definitions
1329213290
* @description Column data associated with each element of this collection.
1329313291
*/
13294-
column_definitions?: components["schemas"]["SampleSheetColumnDefinition-Output"][] | null;
13292+
column_definitions?: components["schemas"]["SampleSheetColumnDefinition"][] | null;
1329513293
/**
1329613294
* Contents URL
1329713295
* @description The relative URL to access the contents of this History.
@@ -13699,7 +13697,7 @@ export interface components {
1369913697
/** Collection Type */
1370013698
collection_type?: string | null;
1370113699
/** Column Definitions */
13702-
column_definitions?: components["schemas"]["SampleSheetColumnDefinition-Input"][] | null;
13700+
column_definitions?: components["schemas"]["SampleSheetColumnDefinition"][] | null;
1370313701
destination: components["schemas"]["HdcaDestination"];
1370413702
/** Ftp Path */
1370513703
ftp_path?: string | null;
@@ -13730,7 +13728,7 @@ export interface components {
1373013728
/** Collection Type */
1373113729
collection_type?: string | null;
1373213730
/** Column Definitions */
13733-
column_definitions?: components["schemas"]["SampleSheetColumnDefinition-Input"][] | null;
13731+
column_definitions?: components["schemas"]["SampleSheetColumnDefinition"][] | null;
1373413732
destination: components["schemas"]["HdcaDestination"];
1373513733
/** Elements */
1373613734
elements: (
@@ -19771,35 +19769,7 @@ export interface components {
1977119769
type: "rules";
1977219770
};
1977319771
/** SampleSheetColumnDefinition */
19774-
"SampleSheetColumnDefinition-Input": {
19775-
/** Default Value */
19776-
default_value?: number | boolean | string | null;
19777-
/** Description */
19778-
description?: string | null;
19779-
/** Name */
19780-
name: string;
19781-
/** Optional */
19782-
optional: boolean;
19783-
/** Restrictions */
19784-
restrictions?: (number | boolean | string | null)[] | null;
19785-
/** Suggestions */
19786-
suggestions?: (number | boolean | string | null)[] | null;
19787-
/**
19788-
* Type
19789-
* @enum {string}
19790-
*/
19791-
type: "string" | "int" | "float" | "boolean" | "element_identifier";
19792-
/** Validators */
19793-
validators?:
19794-
| {
19795-
[key: string]: unknown;
19796-
}[]
19797-
| null;
19798-
} & {
19799-
[key: string]: unknown;
19800-
};
19801-
/** SampleSheetColumnDefinition */
19802-
"SampleSheetColumnDefinition-Output": {
19772+
SampleSheetColumnDefinition: {
1980319773
/** Default Value */
1980419774
default_value?: number | boolean | string | null;
1980519775
/** Description */

client/src/components/Collections/sheet/SampleSheetGrid.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ if ("name" in props.initialElements) {
372372
373373
initialize();
374374
375-
type ColumnDefinition = components["schemas"]["SampleSheetColumnDefinition-Input"];
375+
type ColumnDefinition = components["schemas"]["SampleSheetColumnDefinition"];
376376
377377
function uriFromRow(row: AgRowData): string {
378378
return row["url"] as string as string;

0 commit comments

Comments
 (0)