Skip to content

Commit

Permalink
update tapis-typescript library, update useList and listBy files in t… (
Browse files Browse the repository at this point in the history
#385)

* update tapis-typescript library, update useList and listBy files in tapisui-api and tapisui-hooks models folder to reflect RespModelsDownload

* update tapis typescript in all package.json
  • Loading branch information
carrythemountain authored Jun 27, 2024
1 parent 82b8975 commit f7393bf
Show file tree
Hide file tree
Showing 26 changed files with 6,544 additions and 1,981 deletions.
29 changes: 19 additions & 10 deletions lib/icicle-tapisui-extension/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/icicle-tapisui-extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
},
"homepage": "https://github.com/ICICLE-ai/tapisui-extension-icicle#readme",
"dependencies": {
"@tapis/tapis-typescript": "^0.0.29",
"@tapis/tapis-typescript": "^0.0.31",
"@tapis/tapisui-extensions-core": "file:../tapisui-extensions-core",
"react": "^18.3.1"
},
Expand Down
21 changes: 14 additions & 7 deletions lib/tapisui-api/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/tapisui-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
]
},
"dependencies": {
"@tapis/tapis-typescript": "^0.0.29",
"@tapis/tapis-typescript": "^0.0.31",
"axios": "^0.21.4",
"cross-fetch": "^3.1.4",
"streamsaver": "^2.0.5",
Expand Down
2 changes: 1 addition & 1 deletion lib/tapisui-api/src/ml-hub/models/list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const list = (basePath: string, jwt: string) => {
basePath,
jwt
);
return errorDecoder<Models.RespModelObject>(() => api.listModels());
return errorDecoder<Models.RespModelsObject>(() => api.listModels());
};

export default list;
2 changes: 1 addition & 1 deletion lib/tapisui-api/src/ml-hub/models/listByAuthor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const listByAuthor = (
basePath,
jwt
);
return errorDecoder<Models.RespModelObject>(() =>
return errorDecoder<Models.RespModelsObject>(() =>
api.listModelsByAuthor(params)
);
};
Expand Down
2 changes: 1 addition & 1 deletion lib/tapisui-api/src/ml-hub/models/listByDataset.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const listByDataset = (
basePath,
jwt
);
return errorDecoder<Models.RespModelObject>(() =>
return errorDecoder<Models.RespModelsObject>(() =>
api.listModelsByDataset(params)
);
};
Expand Down
2 changes: 1 addition & 1 deletion lib/tapisui-api/src/ml-hub/models/listByLanguage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const listByLanguage = (
basePath,
jwt
);
return errorDecoder<Models.RespModelObject>(() =>
return errorDecoder<Models.RespModelsObject>(() =>
api.listModelsByLanguage(params)
);
};
Expand Down
2 changes: 1 addition & 1 deletion lib/tapisui-api/src/ml-hub/models/listByLibrary.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const listByLibrary = (
basePath,
jwt
);
return errorDecoder<Models.RespModelObject>(() =>
return errorDecoder<Models.RespModelsObject>(() =>
api.listModelsByLibrary(params)
);
};
Expand Down
2 changes: 1 addition & 1 deletion lib/tapisui-api/src/ml-hub/models/listByQuery.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const listByQuery = (
basePath,
jwt
);
return errorDecoder<Models.RespModelObject>(() =>
return errorDecoder<Models.RespModelsObject>(() =>
api.listModelsByQuery(params)
);
};
Expand Down
2 changes: 1 addition & 1 deletion lib/tapisui-api/src/ml-hub/models/listByTask.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const listByTask = (
basePath,
jwt
);
return errorDecoder<Models.RespModelObject>(() =>
return errorDecoder<Models.RespModelsObject>(() =>
api.listModelsByTask(params)
);
};
Expand Down
85 changes: 75 additions & 10 deletions lib/tapisui-common/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit f7393bf

Please sign in to comment.