Skip to content

Commit 14946de

Browse files
committed
chore(website): add client input args to server code function docs
1 parent 199a09f commit 14946de

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

website/docs/define-actions/instance-methods.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,13 +73,13 @@ Note that when you use `stateAction`, and also want to access `prevResult` in `s
7373

7474
```typescript title="Stateless action"
7575
serverCodeFn(
76-
args: { parsedInput, bindArgsParsedInputs, ctx, metadata }
76+
args: { parsedInput, bindArgsParsedInputs, clientInput, bindArgsClientInputs, ctx, metadata }
7777
) => Promise<Data>;
7878
```
7979

8080
```typescript title="Stateful action"
8181
serverCodeFn = (
82-
args: { parsedInput, bindArgsParsedInputs, ctx, metadata },
82+
args: { parsedInput, bindArgsParsedInputs, clientInput, bindArgsClientInputs, ctx, metadata },
8383
utils: { prevResult }
8484
) => Promise<Data>;
8585
```

0 commit comments

Comments
 (0)