@tanstack/form-core
Advanced tools
Comparing version 0.13.3 to 0.13.4
import { Store } from '@tanstack/store'; | ||
import type { FormApi } from './FormApi'; | ||
import type { ValidationCause, ValidationError, ValidationErrorMap, Validator } from './types'; | ||
import type { DeepKeys, DeepValue, Updater } from './utils'; | ||
import type { FormApi } from './FormApi.js'; | ||
import type { ValidationCause, ValidationError, ValidationErrorMap, Validator } from './types.js'; | ||
import type { DeepKeys, DeepValue, Updater } from './utils.js'; | ||
export type FieldValidateFn<TParentData, TName extends DeepKeys<TParentData>, TFieldValidator extends Validator<DeepValue<TParentData, TName>, unknown> | undefined = undefined, TFormValidator extends Validator<TParentData, unknown> | undefined = undefined, TData extends DeepValue<TParentData, TName> = DeepValue<TParentData, TName>> = (props: { | ||
@@ -6,0 +6,0 @@ value: TData; |
import { Store } from '@tanstack/store'; | ||
import type { DeepKeys, DeepValue, Updater } from './utils'; | ||
import type { FieldApi, FieldMeta } from './FieldApi'; | ||
import type { ValidationError, ValidationErrorMap, Validator, ValidationCause, ValidationErrorMapKeys } from './types'; | ||
import type { DeepKeys, DeepValue, Updater } from './utils.js'; | ||
import type { FieldApi, FieldMeta } from './FieldApi.js'; | ||
import type { ValidationError, ValidationErrorMap, Validator, ValidationCause, ValidationErrorMapKeys } from './types.js'; | ||
export type FormValidateFn<TFormData, TFormValidator extends Validator<TFormData, unknown> | undefined = undefined> = (props: { | ||
@@ -6,0 +6,0 @@ value: TFormData; |
@@ -1,5 +0,5 @@ | ||
export * from './FormApi'; | ||
export * from './FieldApi'; | ||
export * from './utils'; | ||
export * from './types'; | ||
export * from './mergeForm'; | ||
export * from './FormApi.js'; | ||
export * from './FieldApi.js'; | ||
export * from './utils.js'; | ||
export * from './types.js'; | ||
export * from './mergeForm.js'; |
@@ -1,4 +0,4 @@ | ||
import type { FormApi } from './FormApi'; | ||
import type { Validator } from './types'; | ||
import type { FormApi } from './FormApi.js'; | ||
import type { Validator } from './types.js'; | ||
export declare function mutateMergeDeep(target: object, source: object): object; | ||
export declare function mergeForm<TFormData, TFormValidator extends Validator<TFormData, unknown> | undefined = undefined>(baseForm: FormApi<TFormData, TFormValidator>, state: Partial<FormApi<TFormData, TFormValidator>['state']>): FormApi<TFormData, TFormValidator>; |
@@ -1,4 +0,4 @@ | ||
import type { ValidationCause } from './types'; | ||
import type { FormValidators } from './FormApi'; | ||
import type { FieldValidators } from './FieldApi'; | ||
import type { ValidationCause } from './types.js'; | ||
import type { FormValidators } from './FormApi.js'; | ||
import type { FieldValidators } from './FieldApi.js'; | ||
export type UpdaterFn<TInput, TOutput = TInput> = (input: TInput) => TOutput; | ||
@@ -5,0 +5,0 @@ export type Updater<TInput, TOutput = TInput> = TOutput | UpdaterFn<TInput, TOutput>; |
{ | ||
"name": "@tanstack/form-core", | ||
"version": "0.13.3", | ||
"version": "0.13.4", | ||
"description": "Powerful, type-safe, framework agnostic forms.", | ||
@@ -5,0 +5,0 @@ "author": "tannerlinsley", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
341746