( shape: T )
| 52 | * ``` |
| 53 | */ |
| 54 | export 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. |
no outgoing calls