UNPKG

sveltekit-superforms-5

Version:

<p align="center"> <img src="https://github.com/ciscoheat/sveltekit-superforms/raw/main/logo.svg" width="150px" align="center" alt="Superforms logo" /> <h1 align="center">Superforms 💥</h1> <p align="center">Making SvelteKit forms a pleasure to use!

13 lines (12 loc) • 857 B
// Backwards compatibility, everything should be imported from top-level in v2. export { superForm } from './superForm.js'; export { intProxy, numberProxy, booleanProxy, dateProxy, fieldProxy, formFieldProxy, stringProxy, arrayProxy, fileProxy, fileFieldProxy, filesProxy, filesFieldProxy } from './proxies.js'; ///////////////////////////////////////////////////////////////////// // Duplicated from server/index.ts, // because "server" path cannot be imported on client. 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 } from '../superValidate.js'; // Exporting from stringPath also, for convenience in components. export {} from '../stringPath.js';