Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: rewrite of typescript client for new API #54

Draft
wants to merge 11 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
chore: fix package build output
Signed-off-by: Adithya Krishna <[email protected]>
adithyaakrishna committed Sep 30, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit d6fd6f67b80d2396fe2c406062ac7d3cbe17c588
4 changes: 2 additions & 2 deletions 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 package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "getindexify",
"version": "0.1.3",
"version": "0.1.4",
"description": "This is the TypeScript client for interacting with the Indexify service.",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
19 changes: 15 additions & 4 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import IndexifyClient from "./client";
import IndexifyClient, { namespaces, createNamespace, listExecutors } from "./client";
import {
ComputeFn,
DynamicRouter,
@@ -13,11 +13,18 @@ import {
TaskOutcome,
Task,
Tasks,
ComputeGraphCreateType
ComputeGraphCreateType,
ExecutorMetadata,
GraphVersion,
NamespaceList,
GraphInvocations
} from "./types";

export {
IndexifyClient,
namespaces,
createNamespace,
listExecutors
};

export type {
@@ -34,5 +41,9 @@ export type {
TaskOutcome,
Task,
Tasks,
ComputeGraphCreateType
};
ComputeGraphCreateType,
ExecutorMetadata,
GraphVersion,
NamespaceList,
GraphInvocations
};