Skip to content

Commit

Permalink
Update deps.
Browse files Browse the repository at this point in the history
  • Loading branch information
PoslavskySV committed Oct 9, 2024
1 parent 30f828d commit 5f070ef
Show file tree
Hide file tree
Showing 4 changed files with 1,106 additions and 848 deletions.
8 changes: 4 additions & 4 deletions model/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
import { BlockModel, InferOutputsType } from "@platforma-sdk/model";
import { BlockModel, InferOutputsType } from '@platforma-sdk/model';

export type BlockArgs = {
name?: string;
};

export const model = BlockModel.create<BlockArgs>("Heavy")
export const model = BlockModel.create<BlockArgs>()

.initialArgs({})

.output("message", (wf) => wf.outputs?.resolve("message")?.getDataAsJson())
.output('message', (ctx) => ctx.outputs?.resolve('message')?.getDataAsJson())

.sections([{ type: "link", href: "/", label: "Main" }])
.sections([{ type: 'link', href: '/', label: 'Main' }])

.done();

Expand Down
Loading

0 comments on commit 5f070ef

Please sign in to comment.