Skip to content

Commit

Permalink
Update API types
Browse files Browse the repository at this point in the history
  • Loading branch information
SBence committed Dec 1, 2024
1 parent 69f27eb commit 25663ab
Showing 1 changed file with 4 additions and 27 deletions.
31 changes: 4 additions & 27 deletions src/api/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3391,7 +3391,7 @@ export interface components {
pages?: number;
sources?: components["schemas"]["SourceDto"][];
};
PaginatedSearchItemsBasic: {
PaginatedItemsBasicItemBasicDto: {
/** Format: int64 */
hits?: number;
/** Format: int32 */
Expand All @@ -3402,17 +3402,7 @@ export interface components {
perpage?: number;
/** Format: int32 */
pages?: number;
items?: components["schemas"]["SearchItemBasic"][];
};
SearchItemBasic: {
/** Format: int64 */
id?: number;
persistentId?: string;
/** @enum {string} */
category?: "tool-or-service" | "training-material" | "publication" | "dataset" | "workflow" | "step";
label?: string;
version?: string;
lastInfoUpdate?: string;
items?: components["schemas"]["ItemBasicDto"][];
};
PaginatedPublications: {
/** Format: int64 */
Expand Down Expand Up @@ -3513,19 +3503,6 @@ export interface components {
phrase?: string;
suggestions?: components["schemas"]["SuggestedObject"][];
};
PaginatedItemsBasicItemBasicDto: {
/** Format: int64 */
hits?: number;
/** Format: int32 */
count?: number;
/** Format: int32 */
page?: number;
/** Format: int32 */
perpage?: number;
/** Format: int32 */
pages?: number;
items?: components["schemas"]["ItemBasicDto"][];
};
PaginatedDatasets: {
/** Format: int64 */
hits?: number;
Expand Down Expand Up @@ -7713,7 +7690,7 @@ export interface operations {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["PaginatedSearchItemsBasic"];
"application/json": components["schemas"]["PaginatedItemsBasicItemBasicDto"];
};
};
};
Expand All @@ -7739,7 +7716,7 @@ export interface operations {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["PaginatedSearchItemsBasic"];
"application/json": components["schemas"]["PaginatedItemsBasicItemBasicDto"];
};
};
};
Expand Down

0 comments on commit 25663ab

Please sign in to comment.