Skip to content

Commit c4bbfdf

Browse files
feat: add models list/create/get/delete commands (#39)
Co-authored-by: Jared Lunde <98760247+jared-paperspace@users.noreply.github.com>
1 parent f642391 commit c4bbfdf

8 files changed

Lines changed: 4349 additions & 1304 deletions

File tree

api/models.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import { client } from "./client.ts";
2+
3+
export const models = {
4+
list: client("/models").get,
5+
create: client("/models").post,
6+
get: client("/models/{id}").get,
7+
delete: client("/models/{id}").delete,
8+
};

0 commit comments

Comments
 (0)