Skip to content

Commit

Permalink
Rebuild schema for sample sheets.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmchilton committed Dec 12, 2024
1 parent 1eec06e commit 65ede6b
Showing 1 changed file with 118 additions and 0 deletions.
118 changes: 118 additions & 0 deletions client/src/api/schema/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4060,6 +4060,23 @@ export interface paths {
patch?: never;
trace?: never;
};
"/api/sample_sheet_workbook/generate": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
/** Create an XLSX workbook for a sample sheet definition. */
get: operations["dataset_collections__workbook_download"];
put?: never;
post?: never;
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/api/short_term_storage/{storage_request_id}": {
parameters: {
query?: never;
Expand Down Expand Up @@ -6929,6 +6946,11 @@ export interface components {
* @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 | null;
/**
* Column Definitions
* @description Specify definitions for row data if collection_type if sample_sheet
*/
column_definitions?: components["schemas"]["SampleSheetColumnDefinition"][] | null;
/**
* Content
* @description Depending on the `source` it can be:
Expand Down Expand Up @@ -6982,6 +7004,13 @@ export interface components {
* @description The name of the new collection.
*/
name?: string | null;
/**
* Row data
* @description Specify rows of metadata data corresponding to an indentifier if collection_type is sample_sheet
*/
rows?: {
[key: string]: (string | number | boolean)[];
} | null;
/**
* Source
* @description The source of the content. Can be other history element to be copied or library elements.
Expand Down Expand Up @@ -7136,6 +7165,11 @@ export interface components {
* @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 | null;
/**
* Column Definitions
* @description Specify definitions for row data if collection_type if sample_sheet
*/
column_definitions?: components["schemas"]["SampleSheetColumnDefinition"][] | null;
/**
* Copy Elements
* @description Whether to create a copy of the source HDAs for the new collection.
Expand Down Expand Up @@ -7174,6 +7208,13 @@ export interface components {
* @description The name of the new collection.
*/
name?: string | null;
/**
* Row data
* @description Specify rows of metadata data corresponding to an indentifier if collection_type is sample_sheet
*/
rows?: {
[key: string]: (string | number | boolean)[];
} | null;
};
/** CreatePagePayload */
CreatePagePayload: {
Expand Down Expand Up @@ -7774,6 +7815,11 @@ export interface components {
* @description Dataset Collection Element summary information.
*/
DCESummary: {
/**
* Columns
* @description A row (or list of columns) of data associated with this element
*/
columns?: (string | number | boolean)[] | null;
/**
* Element Identifier
* @description The actual name of this element.
Expand Down Expand Up @@ -10376,6 +10422,11 @@ export interface components {
* @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 | null;
/**
* Column Definitions
* @description Column data associated with each element of this collection.
*/
column_definitions?: components["schemas"]["SampleSheetColumnDefinition"][] | null;
/**
* Contents URL
* @description The relative URL to access the contents of this History.
Expand Down Expand Up @@ -10515,6 +10566,11 @@ export interface components {
* @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;
/**
* Column Definitions
* @description Column data associated with each element of this collection.
*/
column_definitions?: components["schemas"]["SampleSheetColumnDefinition"][] | null;
/**
* Contents URL
* @description The relative URL to access the contents of this History.
Expand Down Expand Up @@ -15735,6 +15791,24 @@ export interface components {
RootModel_Dict_str__int__: {
[key: string]: number;
};
/** SampleSheetColumnDefinition */
SampleSheetColumnDefinition: {
/** Description */
description?: string | null;
/** Name */
name: string;
/** Restrictions */
restrictions?: string[] | null;
/** Suggestions */
suggestions?: string[] | null;
/**
* Type
* @enum {string}
*/
type: "string" | "int" | "float" | "boolean";
/** Validators */
validators?: Record<string, never>[] | null;
};
/** SearchJobsPayload */
SearchJobsPayload: {
/**
Expand Down Expand Up @@ -31902,6 +31976,50 @@ export interface operations {
};
};
};
dataset_collections__workbook_download: {
parameters: {
query: {
/** @description Base64 encoding of column definitions. */
column_definitions: string;
/** @description Filename of the workbook download to generate */
filename?: string | null;
};
header?: {
/** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */
"run-as"?: string | null;
};
path?: never;
cookie?: never;
};
requestBody?: never;
responses: {
/** @description Successful Response */
200: {
headers: {
[name: string]: unknown;
};
content?: never;
};
/** @description Request Error */
"4XX": {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["MessageExceptionModel"];
};
};
/** @description Server Error */
"5XX": {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["MessageExceptionModel"];
};
};
};
};
serve_api_short_term_storage__storage_request_id__get: {
parameters: {
query?: never;
Expand Down

0 comments on commit 65ede6b

Please sign in to comment.