FactoryOptionFromProperty
FactoryOptionFromProperty<
P> =IsVariableProperty<P> extendstrue?ValueSource<TypeFromPropertySchema<P>> :TypeFromPropertySchema<P>
Defined in: packages/sigma/src/primitives/schema.ts:346
Derives the factory option type from a single property schema.
- Variable-capable properties become
ValueSource<T> - Static properties remain
T
Type Parameters
P
P extends PropertySchema