Update hivegrid-cloud reference to latest main
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e98d38e716
commit
7b21524c86
3781 files changed
+373484
-225607
No files matched your search
@@ -1,4 +1,4 @@
|
||||
# @toolctrl/plugin-sdk
|
||||
# @hivegrid/plugin-sdk
|
||||
|
||||
Phase 06 Task #21 foundation — TypeScript SDK plugin authors import against.
|
||||
|
||||
@@ -9,11 +9,11 @@ Phase 06 Task #21 foundation — TypeScript SDK plugin authors import against.
|
||||
|
||||
## How plugin authors use this
|
||||
|
||||
1. `pnpm add -D @toolctrl/plugin-sdk`
|
||||
1. `pnpm add -D @hivegrid/plugin-sdk`
|
||||
2. Implement a hook handler:
|
||||
|
||||
```ts
|
||||
import type { HookHandler } from "@toolctrl/plugin-sdk";
|
||||
import type { HookHandler } from "@hivegrid/plugin-sdk";
|
||||
|
||||
export const handler: HookHandler<{ name: string }, { greeting: string }> = (input, ctx) => {
|
||||
ctx.log.info({ name: input.name }, "hello");
|
||||
|
||||
Reference in new issue
Block a user