Returns a modified schema that introspectively looks at all keys of the provided
object schema, and applies the augmentations based on meta provided with those keys
in the registry and the selectors provided in the effects parameter.
This assumes that the passed in schema is the "root" schema object for a graph where
the keys of the schema are the channels of the graph. Because we need to represent
the input of a graph in a couple of different ways, the effects parameter allows
us to apply those augmentations based on pre determined conditions.
getExtendedChannelSchemas<T extends InteropZodObject>(schema: T, effects: __type): InteropZodObject| Name | Type | Description |
|---|---|---|
schema* | T | The root schema object to extend. |
effects* | __type | The effects that are being applied. |