Skip to content

Commit

Permalink
Merge pull request #18519 from davelopez/update_openapi_typescript_6.7.6
Browse files Browse the repository at this point in the history
Update openapi-typescript dependency to version 6.7.6
  • Loading branch information
mvdbeek authored Jul 10, 2024
2 parents 268e1d9 + f5dad9d commit 5acd5c1
Show file tree
Hide file tree
Showing 8 changed files with 3,011 additions and 2,942 deletions.
2 changes: 1 addition & 1 deletion client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
"markdown-it": "^13.0.2",
"markdown-it-regexp": "^0.4.0",
"object-hash": "^3.0.0",
"openapi-typescript": "^6.1.0",
"openapi-typescript": "^6.7.6",
"openapi-typescript-fetch": "^1.1.3",
"pinia": "^2.1.7",
"popper.js": "^1.16.1",
Expand Down
2 changes: 1 addition & 1 deletion client/src/api/configTemplates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export type TemplateVariable =
| components["schemas"]["TemplateVariablePathComponent"]
| components["schemas"]["TemplateVariableBoolean"];
export type TemplateSecret = components["schemas"]["TemplateSecret"];
export type VariableValueType = (string | boolean | number) | undefined;
export type VariableValueType = string | boolean | number;
export type VariableData = { [key: string]: VariableValueType };
export type SecretData = { [key: string]: string };

Expand Down
5 changes: 2 additions & 3 deletions client/src/api/datasetCollections.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ export const fetchCollectionAttributes = fetcher
.create();

const postCopyCollection = fetcher.path("/api/dataset_collections/{id}/copy").method("post").create();
export async function copyCollection(id: string, dbkey: string): Promise<Record<string, never>> {
const { data } = await postCopyCollection({ id, dbkey });
return data;
export async function copyCollection(id: string, dbkey: string): Promise<void> {
await postCopyCollection({ id, dbkey });
}
Loading

0 comments on commit 5acd5c1

Please sign in to comment.