@atscript/ui
v0.1.72
Published
Framework-agnostic runtime for form and table definitions from atscript annotated types
Downloads
2,512
Maintainers
Readme
@atscript/ui
📚 Documentation: ui.atscript.dev
Framework-agnostic runtime for form and table definitions from atscript annotated types.
Part of the atscript-ui monorepo.
What it provides
FormDef/TableDef— parsed metadata containers for a.astypeFieldResolver— pluggable strategy that reads@ui.*,@meta.*,@expect.*annotations- Path utilities (
getByPath,setByPath) and the wrapped form-data convention ({ value: domainData }) - Built-in validators sourced from
@expect.*annotations
The runtime is pure TypeScript — no Vue, no React. Vue bindings live in @atscript/vue-form and @atscript/vue-table; a React port can be built on the same primitives.
Install
pnpm add @atscript/uiEntry points
| Subpath | What it exports |
| --------------------- | ------------------------------------------------------------------ |
| @atscript/ui | FormDef, TableDef, FieldResolver, validators, path utilities |
| @atscript/ui/plugin | atscript code-generation plugin (build-time) |
License
MIT © Artem Maltsev
