Skip to content

Commit

Permalink
Export from index.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmoseley committed Dec 14, 2024
1 parent 0a3f88c commit d65bd09
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 8 deletions.
2 changes: 1 addition & 1 deletion playground/blog/BlogWritingWorkflow.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { createWorkflow } from "@/src//utils/workflow-builder";
import { createWorkflow } from "@/src/index";

import { LLMEditor } from "../shared/components/LLMEditor";
import { LLMResearcher } from "../shared/components/LLMResearcher";
Expand Down
6 changes: 3 additions & 3 deletions playground/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Workflow } from "@/src/components/Workflow";
import { WorkflowContext } from "@/src/components/Workflow";
import { createWorkflowOutput } from "@/src/hooks/useWorkflowOutput";
import { Workflow } from "@/src/index";
import { WorkflowContext } from "@/src/index";
import { createWorkflowOutput } from "@/src/index";

import { BlogWritingWorkflow } from "./blog/BlogWritingWorkflow";
import { TweetWritingWorkflow } from "./tweet/TweetWritingWorkflow";
Expand Down
2 changes: 1 addition & 1 deletion playground/shared/components/LLMEditor.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { createWorkflow } from "@/src/utils/workflow-builder";
import { createWorkflow } from "@/src/index";

interface EditorProps {
content: string;
Expand Down
2 changes: 1 addition & 1 deletion playground/shared/components/LLMResearcher.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { createWorkflow } from "@/src/utils/workflow-builder";
import { createWorkflow } from "@/src/index";

interface ResearcherProps {
title: string;
Expand Down
2 changes: 1 addition & 1 deletion playground/shared/components/LLMWriter.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { createWorkflow } from "@/src/utils/workflow-builder";
import { createWorkflow } from "@/src/index";

interface WriterProps {
content: string;
Expand Down
2 changes: 1 addition & 1 deletion playground/tweet/TweetWritingWorkflow.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { createWorkflow } from "@/src/utils/workflow-builder";
import { createWorkflow } from "@/src/index";

import { LLMEditor } from "../shared/components/LLMEditor";
import { LLMWriter } from "../shared/components/LLMWriter";
Expand Down
5 changes: 5 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import { Workflow, WorkflowContext } from "./components/Workflow";
import { createWorkflowOutput } from "./hooks/useWorkflowOutput";
import { createWorkflow } from "./utils/workflow-builder";

export { createWorkflow, createWorkflowOutput, Workflow, WorkflowContext };

0 comments on commit d65bd09

Please sign in to comment.