跳转到内容

SolidSchemaHandle

Defined in: packages/solid/src/schema-handle.ts:4

new SolidSchemaHandle(globalConfig, callSchemaHandle?, callDefineSchema?, context?): SolidSchemaHandle

Defined in: node_modules/.pnpm/@piying+valibot-visit@1.4.0_typescript@6.0.3/node_modules/@piying/valibot-visit/handle/schema-handle.d.ts:48

Omit<ConvertOptions<(…args) => SolidSchemaHandle>, "name"> & object

SolidSchemaHandle

BaseSchema<unknown, unknown, BaseIssue<unknown>>

ConvertContext

SolidSchemaHandle

CoreSchemaHandle< SolidSchemaHandle, () => PiResolvedViewFieldConfig >.constructor

afterSchemaTypeList: any[]

Defined in: node_modules/.pnpm/@piying+valibot-visit@1.4.0_typescript@6.0.3/node_modules/@piying/valibot-visit/handle/schema-handle.d.ts:47

CoreSchemaHandle.afterSchemaTypeList


optional alias?: string

Defined in: dist/view-core/types/piying-view-core.d.ts:608

CoreSchemaHandle.alias


optional arrayChild?: SolidSchemaHandle

Defined in: node_modules/.pnpm/@piying+valibot-visit@1.4.0_typescript@6.0.3/node_modules/@piying/valibot-visit/handle/schema-handle.d.ts:26

CoreSchemaHandle.arrayChild


attributes: ViewAttributes

Defined in: dist/view-core/types/piying-view-core.d.ts:601

CoreSchemaHandle.attributes


callDefineSchema: BaseSchema<unknown, unknown, BaseIssue<unknown>> | undefined

Defined in: node_modules/.pnpm/@piying+valibot-visit@1.4.0_typescript@6.0.3/node_modules/@piying/valibot-visit/handle/schema-handle.d.ts:43

CoreSchemaHandle.callDefineSchema


callSchemaHandle: SolidSchemaHandle | undefined

Defined in: node_modules/.pnpm/@piying+valibot-visit@1.4.0_typescript@6.0.3/node_modules/@piying/valibot-visit/handle/schema-handle.d.ts:42

CoreSchemaHandle.callSchemaHandle


checkActions: (BaseValidation<any, any, any> | BaseTransformation<any, any, any>)[]

Defined in: dist/view-core/types/piying-view-core.d.ts:622

CoreSchemaHandle.checkActions


optional checkSchema?: BaseSchema<unknown, unknown, BaseIssue<unknown>>

Defined in: dist/view-core/types/piying-view-core.d.ts:621

CoreSchemaHandle.checkSchema


children: SolidSchemaHandle[]

Defined in: node_modules/.pnpm/@piying+valibot-visit@1.4.0_typescript@6.0.3/node_modules/@piying/valibot-visit/handle/schema-handle.d.ts:19

CoreSchemaHandle.children


childrenAsVirtualGroup: boolean

Defined in: node_modules/.pnpm/@piying+valibot-visit@1.4.0_typescript@6.0.3/node_modules/@piying/valibot-visit/handle/schema-handle.d.ts:31

CoreSchemaHandle.childrenAsVirtualGroup


context: ConvertContext

Defined in: node_modules/.pnpm/@piying+valibot-visit@1.4.0_typescript@6.0.3/node_modules/@piying/valibot-visit/handle/schema-handle.d.ts:46

CoreSchemaHandle.context


coreSchema: BaseSchema<any, any, any>

Defined in: dist/view-core/types/piying-view-core.d.ts:641

CoreSchemaHandle.coreSchema


optional createOptions?: any

Defined in: dist/view-core/types/piying-view-core.d.ts:605

创建组件时的额外配置,由各前端框架确定泛型

CoreSchemaHandle.createOptions


optional defaultValue?: any

Defined in: node_modules/.pnpm/@piying+valibot-visit@1.4.0_typescript@6.0.3/node_modules/@piying/valibot-visit/handle/schema-handle.d.ts:27

CoreSchemaHandle.defaultValue


events: ViewEvents

Defined in: dist/view-core/types/piying-view-core.d.ts:602

CoreSchemaHandle.events


formConfig: FieldFormConfig

Defined in: dist/view-core/types/piying-view-core.d.ts:612

todo 非表单应该可选

CoreSchemaHandle.formConfig


globalConfig: Omit<ConvertOptions<(globalConfig, callSchemaHandle?, callDefineSchema?, context?) => SolidSchemaHandle>, "name"> & object

Defined in: node_modules/.pnpm/@piying+valibot-visit@1.4.0_typescript@6.0.3/node_modules/@piying/valibot-visit/handle/schema-handle.d.ts:35

environments: string[]

CoreSchemaHandle.globalConfig


optional hooks?: HookConfig<PiResolvedViewFieldConfig>

Defined in: dist/view-core/types/piying-view-core.d.ts:619

CoreSchemaHandle.hooks


optional id?: string

Defined in: dist/view-core/types/piying-view-core.d.ts:613

CoreSchemaHandle.id


inputs: ViewInputs

Defined in: dist/view-core/types/piying-view-core.d.ts:598

CoreSchemaHandle.inputs


isArray: boolean

Defined in: dist/view-core/types/piying-view-core.d.ts:616

CoreSchemaHandle.isArray


isGroup: boolean | undefined

Defined in: node_modules/.pnpm/@piying+valibot-visit@1.4.0_typescript@6.0.3/node_modules/@piying/valibot-visit/handle/schema-handle.d.ts:23

标识为一个group组

CoreSchemaHandle.isGroup


isLogicAnd: boolean

Defined in: dist/view-core/types/piying-view-core.d.ts:614

CoreSchemaHandle.isLogicAnd


isLogicOr: boolean

Defined in: dist/view-core/types/piying-view-core.d.ts:615

CoreSchemaHandle.isLogicOr


isObjectControl: boolean

Defined in: node_modules/.pnpm/@piying+valibot-visit@1.4.0_typescript@6.0.3/node_modules/@piying/valibot-visit/handle/schema-handle.d.ts:25

标识为一个普通控件

CoreSchemaHandle.isObjectControl


isTuple: boolean

Defined in: dist/view-core/types/piying-view-core.d.ts:617

CoreSchemaHandle.isTuple


optional key?: string | number

Defined in: node_modules/.pnpm/@piying+valibot-visit@1.4.0_typescript@6.0.3/node_modules/@piying/valibot-visit/handle/schema-handle.d.ts:18

CoreSchemaHandle.key


optional lazyWrapped?: BaseSchemaHandle<SolidSchemaHandle>

Defined in: node_modules/.pnpm/@piying+valibot-visit@1.4.0_typescript@6.0.3/node_modules/@piying/valibot-visit/handle/schema-handle.d.ts:45

CoreSchemaHandle.lazyWrapped


models: ViewModels

Defined in: dist/view-core/types/piying-view-core.d.ts:599

CoreSchemaHandle.models


optional movePath?: KeyPath

Defined in: dist/view-core/types/piying-view-core.d.ts:609

CoreSchemaHandle.movePath


nonFieldControl: boolean

Defined in: dist/view-core/types/piying-view-core.d.ts:618

CoreSchemaHandle.nonFieldControl


nullable: boolean

Defined in: node_modules/.pnpm/@piying+valibot-visit@1.4.0_typescript@6.0.3/node_modules/@piying/valibot-visit/handle/schema-handle.d.ts:34

CoreSchemaHandle.nullable


outputs: ViewOutputs

Defined in: dist/view-core/types/piying-view-core.d.ts:600

CoreSchemaHandle.outputs


optional parent?: SolidSchemaHandle

Defined in: node_modules/.pnpm/@piying+valibot-visit@1.4.0_typescript@6.0.3/node_modules/@piying/valibot-visit/handle/schema-handle.d.ts:20

CoreSchemaHandle.parent


priority: number

Defined in: node_modules/.pnpm/@piying+valibot-visit@1.4.0_typescript@6.0.3/node_modules/@piying/valibot-visit/handle/schema-handle.d.ts:30

权重,排序时可能用到

CoreSchemaHandle.priority


props: ViewProps

Defined in: dist/view-core/types/piying-view-core.d.ts:607

CoreSchemaHandle.props


optional providers?: InjectorProvider[]

Defined in: dist/view-core/types/piying-view-core.d.ts:620

CoreSchemaHandle.providers


optional renderConfig?: FieldRenderConfig

Defined in: dist/view-core/types/piying-view-core.d.ts:610

CoreSchemaHandle.renderConfig


slots: ViewSlots

Defined in: dist/view-core/types/piying-view-core.d.ts:603

CoreSchemaHandle.slots


sourceSchema: BaseSchema<unknown, unknown, BaseIssue<unknown>>

Defined in: node_modules/.pnpm/@piying+valibot-visit@1.4.0_typescript@6.0.3/node_modules/@piying/valibot-visit/handle/schema-handle.d.ts:44

CoreSchemaHandle.sourceSchema


type: any

Defined in: packages/solid/src/schema-handle.ts:8

CoreSchemaHandle.type


undefinedable: boolean

Defined in: node_modules/.pnpm/@piying+valibot-visit@1.4.0_typescript@6.0.3/node_modules/@piying/valibot-visit/handle/schema-handle.d.ts:33

wrapper用

CoreSchemaHandle.undefinedable


wrappers: RawCoreWrapperConfig[]

Defined in: dist/view-core/types/piying-view-core.d.ts:606

CoreSchemaHandle.wrappers

afterObjectSchema(schema): void

Defined in: node_modules/.pnpm/@piying+valibot-visit@1.4.0_typescript@6.0.3/node_modules/@piying/valibot-visit/handle/schema-handle.d.ts:62

ObjectSchema

void

CoreSchemaHandle.afterObjectSchema


afterSchemaType(schema): void

Defined in: node_modules/.pnpm/@piying+valibot-visit@1.4.0_typescript@6.0.3/node_modules/@piying/valibot-visit/handle/schema-handle.d.ts:72

Schema

void

CoreSchemaHandle.afterSchemaType


afterTupleSchema(schema): void

Defined in: node_modules/.pnpm/@piying+valibot-visit@1.4.0_typescript@6.0.3/node_modules/@piying/valibot-visit/handle/schema-handle.d.ts:59

TupleSchema

void

CoreSchemaHandle.afterTupleSchema


anySchema(schema): void

Defined in: node_modules/.pnpm/@piying+valibot-visit@1.4.0_typescript@6.0.3/node_modules/@piying/valibot-visit/handle/schema-handle.d.ts:83

AnySchema | UnknownSchema

void

CoreSchemaHandle.anySchema


arraySchema(schema): void

Defined in: dist/view-core/types/piying-view-core.d.ts:624

ArraySchema<BaseSchema<unknown, unknown, BaseIssue<unknown>>, ErrorMessage<ArrayIssue> | undefined>

void

CoreSchemaHandle.arraySchema


basicSchema(schema): void

Defined in: node_modules/.pnpm/@piying+valibot-visit@1.4.0_typescript@6.0.3/node_modules/@piying/valibot-visit/handle/schema-handle.d.ts:85

StringSchema<ErrorMessage<StringIssue> | undefined> | BooleanSchema<ErrorMessage<BooleanIssue> | undefined> | NumberSchema<ErrorMessage<NumberIssue> | undefined>

void

CoreSchemaHandle.basicSchema


beforeSchemaType(schema): void

Defined in: dist/view-core/types/piying-view-core.d.ts:635

Schema

void

CoreSchemaHandle.beforeSchemaType


begin(schema): void

Defined in: node_modules/.pnpm/@piying+valibot-visit@1.4.0_typescript@6.0.3/node_modules/@piying/valibot-visit/handle/schema-handle.d.ts:52

定义开始

SchemaOrPipe

void

CoreSchemaHandle.begin


customSchema(schema): void

Defined in: node_modules/.pnpm/@piying+valibot-visit@1.4.0_typescript@6.0.3/node_modules/@piying/valibot-visit/handle/schema-handle.d.ts:70

CustomSchema

void

CoreSchemaHandle.customSchema


defaultSchema(schema): void

Defined in: dist/view-core/types/piying-view-core.d.ts:625

DefaultSchema

void

CoreSchemaHandle.defaultSchema


defineSchema(schema): void

Defined in: dist/view-core/types/piying-view-core.d.ts:642

SchemaOrPipe

void

CoreSchemaHandle.defineSchema


end(schema): void

Defined in: dist/view-core/types/piying-view-core.d.ts:640

定义结束

SchemaOrPipe

void

CoreSchemaHandle.end


enumSchema(schema): void

Defined in: dist/view-core/types/piying-view-core.d.ts:630

EnumSchema

void

CoreSchemaHandle.enumSchema


initMetadata(): void

Defined in: node_modules/.pnpm/@piying+valibot-visit@1.4.0_typescript@6.0.3/node_modules/@piying/valibot-visit/handle/schema-handle.d.ts:76

void

CoreSchemaHandle.initMetadata


intersectBefore(schema): void

Defined in: dist/view-core/types/piying-view-core.d.ts:632

IntersectSchema

void

CoreSchemaHandle.intersectBefore


intersectSchema(schema): void

Defined in: node_modules/.pnpm/@piying+valibot-visit@1.4.0_typescript@6.0.3/node_modules/@piying/valibot-visit/handle/schema-handle.d.ts:86

IntersectSchema

void

CoreSchemaHandle.intersectSchema


lazySchema(schema): void

Defined in: dist/view-core/types/piying-view-core.d.ts:623

LazySchema

void

CoreSchemaHandle.lazySchema


logicItemSchema(schema, index, type): void

Defined in: dist/view-core/types/piying-view-core.d.ts:633

BaseSchema<unknown, unknown, BaseIssue<unknown>>

number

"union" | "intersect"

void

CoreSchemaHandle.logicItemSchema


metadata(metadata, workOn): void

Defined in: node_modules/.pnpm/@piying+valibot-visit@1.4.0_typescript@6.0.3/node_modules/@piying/valibot-visit/handle/schema-handle.d.ts:75

MetadataAction

MetadataWorkOn

void

CoreSchemaHandle.metadata


metadataDefaulthandle(metadata, environments): void

Defined in: dist/view-core/types/piying-view-core.d.ts:637

MetadataAction

string[]

void

CoreSchemaHandle.metadataDefaulthandle


metadataHandle(metadata, environments, workOn): void

Defined in: node_modules/.pnpm/@piying+valibot-visit@1.4.0_typescript@6.0.3/node_modules/@piying/valibot-visit/handle/schema-handle.d.ts:74

MetadataAction

string[]

MetadataWorkOn

void

CoreSchemaHandle.metadataHandle


nonOptionalSchema(schema): void

Defined in: node_modules/.pnpm/@piying+valibot-visit@1.4.0_typescript@6.0.3/node_modules/@piying/valibot-visit/handle/schema-handle.d.ts:64

NonOptionalWrapSchema

void

CoreSchemaHandle.nonOptionalSchema


objectDefault(schema): void

Defined in: dist/view-core/types/piying-view-core.d.ts:627

ObjectSchema

void

CoreSchemaHandle.objectDefault


objectItemSchema(childSchema, index): void

Defined in: node_modules/.pnpm/@piying+valibot-visit@1.4.0_typescript@6.0.3/node_modules/@piying/valibot-visit/handle/schema-handle.d.ts:81

ObjectItemSchema

string | number

void

CoreSchemaHandle.objectItemSchema


objectSchema(schema): void

Defined in: node_modules/.pnpm/@piying+valibot-visit@1.4.0_typescript@6.0.3/node_modules/@piying/valibot-visit/handle/schema-handle.d.ts:60

ObjectSchema

void

CoreSchemaHandle.objectSchema


optionalWrapSchema(schema): void

Defined in: node_modules/.pnpm/@piying+valibot-visit@1.4.0_typescript@6.0.3/node_modules/@piying/valibot-visit/handle/schema-handle.d.ts:63

OptionalWrapSchema

void

CoreSchemaHandle.optionalWrapSchema


otherSchema(schema): void

Defined in: node_modules/.pnpm/@piying+valibot-visit@1.4.0_typescript@6.0.3/node_modules/@piying/valibot-visit/handle/schema-handle.d.ts:71

BaseSchema<unknown, unknown, BaseIssue<unknown>>

void

CoreSchemaHandle.otherSchema


recordSchema(key, value): void

Defined in: dist/view-core/types/piying-view-core.d.ts:628

BaseSchema<unknown, unknown, BaseIssue<unknown>>

BaseSchema<unknown, unknown, BaseIssue<unknown>>

void

CoreSchemaHandle.recordSchema


restSchema(schema): void

Defined in: dist/view-core/types/piying-view-core.d.ts:629

BaseSchema<unknown, unknown, BaseIssue<unknown>>

void

CoreSchemaHandle.restSchema


setParent(parent): void

Defined in: node_modules/.pnpm/@piying+valibot-visit@1.4.0_typescript@6.0.3/node_modules/@piying/valibot-visit/handle/schema-handle.d.ts:91

SolidSchemaHandle

void

CoreSchemaHandle.setParent


transformation(item): void

Defined in: dist/view-core/types/piying-view-core.d.ts:639

BaseTransformation<any, any, BaseIssue<unknown>>

void

CoreSchemaHandle.transformation


tupleDefault(schema): void

Defined in: dist/view-core/types/piying-view-core.d.ts:626

TupleSchema

void

CoreSchemaHandle.tupleDefault


tupleSchema(schema): void

Defined in: node_modules/.pnpm/@piying+valibot-visit@1.4.0_typescript@6.0.3/node_modules/@piying/valibot-visit/handle/schema-handle.d.ts:57

TupleSchema

void

CoreSchemaHandle.tupleSchema


undefinedSchema(schema): void

Defined in: node_modules/.pnpm/@piying+valibot-visit@1.4.0_typescript@6.0.3/node_modules/@piying/valibot-visit/handle/schema-handle.d.ts:84

NullSchema<ErrorMessage<NullIssue> | undefined> | UndefinedSchema<ErrorMessage<UndefinedIssue> | undefined>

void

CoreSchemaHandle.undefinedSchema


unionBefore(schema): void

Defined in: dist/view-core/types/piying-view-core.d.ts:634

UnionSchema

void

CoreSchemaHandle.unionBefore


unionSchema(schema): void

Defined in: node_modules/.pnpm/@piying+valibot-visit@1.4.0_typescript@6.0.3/node_modules/@piying/valibot-visit/handle/schema-handle.d.ts:89

UnionSchema

void

CoreSchemaHandle.unionSchema


updateProps(key, value): void

Defined in: dist/view-core/types/piying-view-core.d.ts:631

string

any

void

CoreSchemaHandle.updateProps


validation(item): void

Defined in: dist/view-core/types/piying-view-core.d.ts:638

BaseValidation<any, any, BaseIssue<unknown>>

void

CoreSchemaHandle.validation


voidSchema(schema): void

Defined in: dist/view-core/types/piying-view-core.d.ts:636

VoidSchema

void

CoreSchemaHandle.voidSchema


wrappedSchema(schema): void

Defined in: node_modules/.pnpm/@piying+valibot-visit@1.4.0_typescript@6.0.3/node_modules/@piying/valibot-visit/handle/schema-handle.d.ts:65

OptionalWrapSchema | NonOptionalWrapSchema

void

CoreSchemaHandle.wrappedSchema