Public API surface for @valon-technologies/gestalt.
@valon-technologies/gestalt
import { definePlugin, ok, operation, s } from "@valon-technologies/gestalt";export const plugin = definePlugin({ displayName: "Example Provider", operations: [ operation({ id: "hello", input: s.object({ name: s.string({ default: "World" }) }), output: s.object({ message: s.string() }), async handler(input) { return ok({ message: `Hello, ${input.name}` }); }, }), ],}); Copy
import { definePlugin, ok, operation, s } from "@valon-technologies/gestalt";export const plugin = definePlugin({ displayName: "Example Provider", operations: [ operation({ id: "hello", input: s.object({ name: s.string({ default: "World" }) }), output: s.object({ message: s.string() }), async handler(input) { return ok({ message: `Hello, ${input.name}` }); }, }), ],});
Public API surface for
@valon-technologies/gestalt.Example