Skip to content

Commit

Permalink
include HDAInaccessible in AnyHDA union
Browse files Browse the repository at this point in the history
I assume the union_mode does not trickle down...
  • Loading branch information
martenson committed Mar 25, 2024
1 parent 7d5f46d commit a06a881
Show file tree
Hide file tree
Showing 2 changed files with 96 additions and 2 deletions.
96 changes: 95 additions & 1 deletion client/src/api/schema/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5997,6 +5997,87 @@ export interface components {
*/
visible: boolean;
};
/**
* HDAInaccessible
* @description History Dataset Association information when the user can not access it.
*/
HDAInaccessible: {
/**
* Accessible
* @description Whether this item is accessible to the current user due to permissions.
*/
accessible: boolean;
/** Copied From Ldda Id */
copied_from_ldda_id?: string | null;
/**
* 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;
/**
* HID
* @description The index position of this item in the History.
*/
hid: number;
/**
* History Content Type
* @description This is always `dataset` for datasets.
* @constant
*/
history_content_type: "dataset";
/**
* History ID
* @example 0123456789ABCDEF
*/
history_id: string;
/**
* Id
* @example 0123456789ABCDEF
*/
id: string;
/**
* Name
* @description The name of the item.
*/
name: string | null;
/**
* State
* @description The current state of this dataset.
*/
state: components["schemas"]["DatasetState"];
tags: components["schemas"]["TagCollection"];
/**
* Type
* @description The type of this item.
*/
type: string;
/**
* 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;
};
/**
* HDAObject
* @description History Dataset Association Object
Expand Down Expand Up @@ -6905,6 +6986,7 @@ export interface components {
| components["schemas"]["HDACustom"]
| components["schemas"]["HDADetailed"]
| components["schemas"]["HDASummary"]
| components["schemas"]["HDAInaccessible"]
| components["schemas"]["HDCADetailed"]
| components["schemas"]["HDCASummary"]
)[];
Expand All @@ -6921,6 +7003,7 @@ export interface components {
| components["schemas"]["HDACustom"]
| components["schemas"]["HDADetailed"]
| components["schemas"]["HDASummary"]
| components["schemas"]["HDAInaccessible"]
| components["schemas"]["HDCADetailed"]
| components["schemas"]["HDCASummary"]
)[];
Expand Down Expand Up @@ -13511,6 +13594,7 @@ export interface operations {
| components["schemas"]["HDACustom"]
| components["schemas"]["HDADetailed"]
| components["schemas"]["HDASummary"]
| components["schemas"]["HDAInaccessible"]
| components["schemas"]["HDCADetailed"]
| components["schemas"]["HDCASummary"]
)[];
Expand Down Expand Up @@ -13691,7 +13775,8 @@ export interface operations {
"application/json":
| components["schemas"]["HDACustom"]
| components["schemas"]["HDADetailed"]
| components["schemas"]["HDASummary"];
| components["schemas"]["HDASummary"]
| components["schemas"]["HDAInaccessible"];
};
};
/** @description Validation Error */
Expand Down Expand Up @@ -16441,12 +16526,14 @@ export interface operations {
| components["schemas"]["HDACustom"]
| components["schemas"]["HDADetailed"]
| components["schemas"]["HDASummary"]
| components["schemas"]["HDAInaccessible"]
| components["schemas"]["HDCADetailed"]
| components["schemas"]["HDCASummary"]
| (
| components["schemas"]["HDACustom"]
| components["schemas"]["HDADetailed"]
| components["schemas"]["HDASummary"]
| components["schemas"]["HDAInaccessible"]
| components["schemas"]["HDCADetailed"]
| components["schemas"]["HDCASummary"]
)[];
Expand Down Expand Up @@ -17030,6 +17117,7 @@ export interface operations {
| components["schemas"]["HDACustom"]
| components["schemas"]["HDADetailed"]
| components["schemas"]["HDASummary"]
| components["schemas"]["HDAInaccessible"]
| components["schemas"]["HDCADetailed"]
| components["schemas"]["HDCASummary"];
};
Expand Down Expand Up @@ -17081,6 +17169,7 @@ export interface operations {
| components["schemas"]["HDACustom"]
| components["schemas"]["HDADetailed"]
| components["schemas"]["HDASummary"]
| components["schemas"]["HDAInaccessible"]
| components["schemas"]["HDCADetailed"]
| components["schemas"]["HDCASummary"];
};
Expand Down Expand Up @@ -17313,12 +17402,14 @@ export interface operations {
| components["schemas"]["HDACustom"]
| components["schemas"]["HDADetailed"]
| components["schemas"]["HDASummary"]
| components["schemas"]["HDAInaccessible"]
| components["schemas"]["HDCADetailed"]
| components["schemas"]["HDCASummary"]
| (
| components["schemas"]["HDACustom"]
| components["schemas"]["HDADetailed"]
| components["schemas"]["HDASummary"]
| components["schemas"]["HDAInaccessible"]
| components["schemas"]["HDCADetailed"]
| components["schemas"]["HDCASummary"]
)[];
Expand Down Expand Up @@ -17369,6 +17460,7 @@ export interface operations {
| components["schemas"]["HDACustom"]
| components["schemas"]["HDADetailed"]
| components["schemas"]["HDASummary"]
| components["schemas"]["HDAInaccessible"]
| components["schemas"]["HDCADetailed"]
| components["schemas"]["HDCASummary"];
};
Expand Down Expand Up @@ -17419,6 +17511,7 @@ export interface operations {
| components["schemas"]["HDACustom"]
| components["schemas"]["HDADetailed"]
| components["schemas"]["HDASummary"]
| components["schemas"]["HDAInaccessible"]
| components["schemas"]["HDCADetailed"]
| components["schemas"]["HDCASummary"];
};
Expand Down Expand Up @@ -17650,6 +17743,7 @@ export interface operations {
| components["schemas"]["HDACustom"]
| components["schemas"]["HDADetailed"]
| components["schemas"]["HDASummary"]
| components["schemas"]["HDAInaccessible"]
| components["schemas"]["HDCADetailed"]
| components["schemas"]["HDCASummary"]
)[];
Expand Down
2 changes: 1 addition & 1 deletion lib/galaxy/schema/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -3271,7 +3271,7 @@ class HDACustom(HDADetailed):
model_config = ConfigDict(extra="allow")


AnyHDA = Union[HDACustom, HDADetailed, HDASummary]
AnyHDA = Union[HDACustom, HDADetailed, HDASummary, HDAInaccessible]
AnyHDCA = Union[HDCADetailed, HDCASummary]
AnyHistoryContentItem = Annotated[
Union[
Expand Down

0 comments on commit a06a881

Please sign in to comment.