Skip to content

Commit

Permalink
Fix: add last missing workflow type
Browse files Browse the repository at this point in the history
  • Loading branch information
avivash committed Nov 23, 2023
1 parent 359e042 commit 3bf1643
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/workflows/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as odd from '@oddjs/odd'
import type { MaybeResult } from '@fission-codes/homestar/codecs/types'
import { workflow as workflowBuilder, type BlurInvocation, type CropInvocation, type GrayscaleInvocation, type Rotate90Invocation } from '@fission-codes/homestar/workflow'
import { workflow as workflowBuilder, type BlurInvocation, type CropInvocation, type GrayscaleInvocation, type Rotate90Invocation, type TemplateWorkflow } from '@fission-codes/homestar/workflow'
import { base64 } from 'iso-base/rfc4648'
import type { CID } from 'multiformats'
import { get as getStore } from 'svelte/store'
Expand Down Expand Up @@ -98,7 +98,7 @@ export type Builder = {

export const WORKFLOWS_DIR = odd.path.directory('private', 'workflows')

const prepareWorkflow = async (payload: any, dataUrl: string) => {
const prepareWorkflow = async (payload: TemplateWorkflow, dataUrl: string) => {
payload.workflow.tasks[0].run.input.args[0] = dataUrl

const builtWorkflow = await workflowBuilder(payload)
Expand Down

0 comments on commit 3bf1643

Please sign in to comment.