sveltekit-superforms
Version:
Making SvelteKit forms a pleasure to use!
10 lines (9 loc) • 1.08 kB
TypeScript
export { superForm } from './superForm.js';
export { intProxy, numberProxy, booleanProxy, dateProxy, fieldProxy, formFieldProxy, stringProxy, arrayProxy, fileProxy, fileFieldProxy, filesProxy, filesFieldProxy, type FieldProxy, type ArrayProxy, type FormFieldProxy } from './proxies.js';
export { defaults, defaultValues } from '../defaults.js';
export { actionResult } from '../actionResult.js';
export { schemaShape } from '../jsonSchema/schemaShape.js';
export { superValidate, message, setMessage, setError, withFiles, removeFiles, fail, type SuperValidated, type SuperValidateOptions, type TaintedFields, type ValidationErrors } from '../superValidate.js';
export type { Infer, InferIn, Schema } from '../adapters/adapters.js';
export type { FormResult, FormOptions, SuperForm, SuperFormData, SuperFormErrors, SuperFormEventList, SuperFormEvents, SuperFormSnapshot, ValidateOptions, TaintOption, ChangeEvent } from './superForm.js';
export { type FormPath, type FormPathLeaves, type FormPathLeavesWithErrors, type FormPathArrays, type FormPathType } from '../stringPath.js';