MCPcopy Create free account
hub / github.com/ShipSecAI/studio / inputs

Function inputs

packages/component-sdk/src/schema-builders.ts:54–58  ·  view source on GitHub ↗
(
  shape: T
)

Source from the content-addressed store, hash-verified

52 * ```
53 */
54export function inputs<T extends Record<string, z.ZodTypeAny>>(
55 shape: T
56): InputsSchema<T> {
57 return z.object(shape) as unknown as InputsSchema<T>;
58}
59
60/**
61 * Create a branded outputs schema from a record of port schemas.

Callers 15

createComponentFunction · 0.90
registry.test.tsFile · 0.90
runner.test.tsFile · 0.90
slack.tsFile · 0.90
resolvePortsFunction · 0.90
abuseipdb.tsFile · 0.90
nuclei.tsFile · 0.90
subfinder.tsFile · 0.90
prowler-scan.tsFile · 0.90

Calls

no outgoing calls

Tested by 2

createComponentFunction · 0.72
resolvePortsFunction · 0.72