@arqel-dev/types
v0.11.0
Published
Shared TypeScript types for Arqel — fields, resources, tables, forms, actions, and Inertia shared props.
Maintainers
Readme
@arqel-dev/types
Shared TypeScript types for the Arqel ecosystem — fields, resources, tables, forms, actions, and Inertia shared props.
Status
🚧 Pre-alpha — covers all serialiser shapes from the PHP packages.
Install
pnpm add -D @arqel-dev/typesUsage
// Tree-shake-friendly subpath imports
import type { FieldSchema, isFieldType } from '@arqel-dev/types/fields';
import type { ResourceIndexProps, RecordType } from '@arqel-dev/types/resources';
import type { SharedProps } from '@arqel-dev/types/inertia';
// Or barrel
import type { FieldSchema, ColumnSchema, FormSchema } from '@arqel-dev/types';Convenções
- Zero runtime — só types + 4 type guards (
isFieldType,isFieldEntry,isLayoutEntry,resolveFieldEntry) sideEffects: falsepara máximo tree-shaking- Synced com
Arqel\Core\Support\FieldSchemaSerializerPHP
Links
- Documentação — em construção
- PLANNING — tickets
TYPES-*
