SlotBuilder
Defined in: packages/schema/src/builders/slot.ts:9
Extends
Section titled “Extends”Type Parameters
Section titled “Type Parameters”TOut
TWrapped
Section titled “TWrapped”TWrapped extends Type<Node, TOut>
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new SlotBuilder<
TOut,TWrapped>(wrapped):SlotBuilder<TOut,TWrapped>
Defined in: packages/schema/src/builders/slot.ts:16
Parameters
Section titled “Parameters”wrapped
Section titled “wrapped”TWrapped
Returns
Section titled “Returns”SlotBuilder<TOut, TWrapped>
Overrides
Section titled “Overrides”Properties
Section titled “Properties”input_
Section titled “input_”
readonlyinput_:Node
Defined in: packages/schema/src/builders/base.ts:9
Inherited from
Section titled “Inherited from”output_
Section titled “output_”
readonlyoutput_:TOut
Defined in: packages/schema/src/builders/base.ts:10
Inherited from
Section titled “Inherited from”
readonlytype_:SlotType
Defined in: packages/schema/src/builders/base.ts:11
Inherited from
Section titled “Inherited from”validators_
Section titled “validators_”
protectedvalidators_:Validator<TOut>[]
Defined in: packages/schema/src/builders/base.ts:13
Inherited from
Section titled “Inherited from”Accessors
Section titled “Accessors”params
Section titled “params”Get Signature
Section titled “Get Signature”get params():
SlotTypeParams<TOut,TWrapped>
Defined in: packages/schema/src/builders/slot.ts:22
Returns
Section titled “Returns”SlotTypeParams<TOut, TWrapped>
Overrides
Section titled “Overrides”Methods
Section titled “Methods”build()
Section titled “build()”build():
SlotType<TOut,TWrapped>
Defined in: packages/schema/src/builders/slot.ts:35
Returns
Section titled “Returns”SlotType<TOut, TWrapped>
Overrides
Section titled “Overrides”clone()
Section titled “clone()”clone():
this
Defined in: packages/schema/src/builders/base.ts:27
Returns
Section titled “Returns”this
Inherited from
Section titled “Inherited from”keyword()
Section titled “keyword()”keyword(
val):this
Defined in: packages/schema/src/builders/slot.ts:30
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”this
oneOf()
Section titled “oneOf()”oneOf(
values,equal?):SlotBuilder<TOut,TWrapped>
Defined in: packages/schema/src/builders/base.ts:42
Parameters
Section titled “Parameters”values
Section titled “values”TOut[]
equal?
Section titled “equal?”(value, other) => boolean
Returns
Section titled “Returns”SlotBuilder<TOut, TWrapped>
Inherited from
Section titled “Inherited from”test()
Section titled “test()”test(
func,message?):this
Defined in: packages/schema/src/builders/base.ts:33
Parameters
Section titled “Parameters”ValidatorFunction<TOut>
message?
Section titled “message?”string
Returns
Section titled “Returns”this