跳转到内容

CoreSchemaHandle

Defined in: projects/view-core/convert/handle/core.schema-handle.ts:130

  • BaseSchemaHandle<Self>

Self extends CoreSchemaHandle<any, any>

RESOLVED_FN extends () => any

new CoreSchemaHandle<Self, RESOLVED_FN>(globalConfig, callSchemaHandle?, callDefineSchema?, context?): CoreSchemaHandle<Self, RESOLVED_FN>

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) => Self>, "name"> & object

Self

BaseSchema<unknown, unknown, BaseIssue<unknown>>

ConvertContext

CoreSchemaHandle<Self, RESOLVED_FN>

BaseSchemaHandle<Self>.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

BaseSchemaHandle.afterSchemaTypeList


optional alias?: string

Defined in: projects/view-core/convert/handle/core.schema-handle.ts:144


optional arrayChild?: Self

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

BaseSchemaHandle.arrayChild


attributes: ViewAttributes = {}

Defined in: projects/view-core/convert/handle/core.schema-handle.ts:137


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

BaseSchemaHandle.callDefineSchema


callSchemaHandle: Self | 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

BaseSchemaHandle.callSchemaHandle


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

Defined in: projects/view-core/convert/handle/core.schema-handle.ts:158


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

Defined in: projects/view-core/convert/handle/core.schema-handle.ts:157


children: Self[]

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

BaseSchemaHandle.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

BaseSchemaHandle.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

BaseSchemaHandle.context


coreSchema: BaseSchema<any, any, any>

Defined in: projects/view-core/convert/handle/core.schema-handle.ts:344


optional createOptions?: any

Defined in: projects/view-core/convert/handle/core.schema-handle.ts:141

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


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

BaseSchemaHandle.defaultValue


events: ViewEvents = {}

Defined in: projects/view-core/convert/handle/core.schema-handle.ts:138


formConfig: FieldFormConfig = {}

Defined in: projects/view-core/convert/handle/core.schema-handle.ts:148

todo 非表单应该可选


globalConfig: Omit<ConvertOptions<(globalConfig, callSchemaHandle?, callDefineSchema?, context?) => Self>, "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[]

BaseSchemaHandle.globalConfig


optional hooks?: HookConfig<ReturnType<RESOLVED_FN>>

Defined in: projects/view-core/convert/handle/core.schema-handle.ts:155


optional id?: string

Defined in: projects/view-core/convert/handle/core.schema-handle.ts:149


inputs: ViewInputs = {}

Defined in: projects/view-core/convert/handle/core.schema-handle.ts:134


isArray: boolean = false

Defined in: projects/view-core/convert/handle/core.schema-handle.ts:152


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组

BaseSchemaHandle.isGroup


isLogicAnd: boolean = false

Defined in: projects/view-core/convert/handle/core.schema-handle.ts:150


isLogicOr: boolean = false

Defined in: projects/view-core/convert/handle/core.schema-handle.ts:151


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

标识为一个普通控件

BaseSchemaHandle.isObjectControl


isTuple: boolean = false

Defined in: projects/view-core/convert/handle/core.schema-handle.ts:153


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

BaseSchemaHandle.key


optional lazyWrapped?: BaseSchemaHandle<Self>

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

BaseSchemaHandle.lazyWrapped


models: ViewModels = {}

Defined in: projects/view-core/convert/handle/core.schema-handle.ts:135


optional movePath?: KeyPath

Defined in: projects/view-core/convert/handle/core.schema-handle.ts:145


nonFieldControl: boolean = false

Defined in: projects/view-core/convert/handle/core.schema-handle.ts:154


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

BaseSchemaHandle.nullable


outputs: ViewOutputs = {}

Defined in: projects/view-core/convert/handle/core.schema-handle.ts:136


optional parent?: Self

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

BaseSchemaHandle.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

权重,排序时可能用到

BaseSchemaHandle.priority


props: ViewProps = {}

Defined in: projects/view-core/convert/handle/core.schema-handle.ts:143

BaseSchemaHandle.props


optional providers?: InjectorProvider[]

Defined in: projects/view-core/convert/handle/core.schema-handle.ts:156


optional renderConfig?: FieldRenderConfig

Defined in: projects/view-core/convert/handle/core.schema-handle.ts:146


slots: ViewSlots = {}

Defined in: projects/view-core/convert/handle/core.schema-handle.ts:139


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

BaseSchemaHandle.sourceSchema


type: string

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:21

BaseSchemaHandle.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用

BaseSchemaHandle.undefinedable


wrappers: RawCoreWrapperConfig[] = []

Defined in: projects/view-core/convert/handle/core.schema-handle.ts:142

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

BaseSchemaHandle.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

BaseSchemaHandle.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

BaseSchemaHandle.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

BaseSchemaHandle.anySchema


arraySchema(schema): void

Defined in: projects/view-core/convert/handle/core.schema-handle.ts:176

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

void

BaseSchemaHandle.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

BaseSchemaHandle.basicSchema


beforeSchemaType(schema): void

Defined in: projects/view-core/convert/handle/core.schema-handle.ts:285

Schema

void

BaseSchemaHandle.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

BaseSchemaHandle.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

BaseSchemaHandle.customSchema


defaultSchema(schema): void

Defined in: projects/view-core/convert/handle/core.schema-handle.ts:200

DefaultSchema

void

BaseSchemaHandle.defaultSchema


defineSchema(schema): void

Defined in: projects/view-core/convert/handle/core.schema-handle.ts:345

SchemaOrPipe

void

BaseSchemaHandle.defineSchema


end(schema): void

Defined in: projects/view-core/convert/handle/core.schema-handle.ts:330

定义结束

SchemaOrPipe

void

BaseSchemaHandle.end


enumSchema(schema): void

Defined in: projects/view-core/convert/handle/core.schema-handle.ts:248

EnumSchema

void

BaseSchemaHandle.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

BaseSchemaHandle.initMetadata


intersectBefore(schema): void

Defined in: projects/view-core/convert/handle/core.schema-handle.ts:254

IntersectSchema

void

BaseSchemaHandle.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

BaseSchemaHandle.intersectSchema


lazySchema(schema): void

Defined in: projects/view-core/convert/handle/core.schema-handle.ts:162

LazySchema

void

BaseSchemaHandle.lazySchema


logicItemSchema(schema, index, type): void

Defined in: projects/view-core/convert/handle/core.schema-handle.ts:260

BaseSchema<unknown, unknown, BaseIssue<unknown>>

number

"union" | "intersect"

void

BaseSchemaHandle.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

BaseSchemaHandle.metadata


metadataDefaulthandle(metadata, environments): void

Defined in: projects/view-core/convert/handle/core.schema-handle.ts:295

MetadataAction

string[]

void

BaseSchemaHandle.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

BaseSchemaHandle.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

BaseSchemaHandle.nonOptionalSchema


objectDefault(schema): void

Defined in: projects/view-core/convert/handle/core.schema-handle.ts:214

ObjectSchema

void

BaseSchemaHandle.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

BaseSchemaHandle.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

BaseSchemaHandle.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

BaseSchemaHandle.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

BaseSchemaHandle.otherSchema


recordSchema(key, value): void

Defined in: projects/view-core/convert/handle/core.schema-handle.ts:224

BaseSchema<unknown, unknown, BaseIssue<unknown>>

BaseSchema<unknown, unknown, BaseIssue<unknown>>

void

BaseSchemaHandle.recordSchema


restSchema(schema): void

Defined in: projects/view-core/convert/handle/core.schema-handle.ts:238

BaseSchema<unknown, unknown, BaseIssue<unknown>>

void

BaseSchemaHandle.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

Self

void

BaseSchemaHandle.setParent


transformation(item): void

Defined in: projects/view-core/convert/handle/core.schema-handle.ts:324

BaseTransformation<any, any, BaseIssue<unknown>>

void

BaseSchemaHandle.transformation


tupleDefault(schema): void

Defined in: projects/view-core/convert/handle/core.schema-handle.ts:203

TupleSchema

void

BaseSchemaHandle.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

BaseSchemaHandle.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

BaseSchemaHandle.undefinedSchema


unionBefore(schema): void

Defined in: projects/view-core/convert/handle/core.schema-handle.ts:277

UnionSchema

void

BaseSchemaHandle.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

BaseSchemaHandle.unionSchema


updateProps(key, value): void

Defined in: projects/view-core/convert/handle/core.schema-handle.ts:251

string

any

void

BaseSchemaHandle.updateProps


validation(item): void

Defined in: projects/view-core/convert/handle/core.schema-handle.ts:318

BaseValidation<any, any, BaseIssue<unknown>>

void

BaseSchemaHandle.validation


voidSchema(schema): void

Defined in: projects/view-core/convert/handle/core.schema-handle.ts:291

VoidSchema

void

BaseSchemaHandle.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

BaseSchemaHandle.wrappedSchema