@praxisui/specification 1.0.0-beta.8 → 2.0.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -0
- package/fesm2022/praxisui-specification.mjs +482 -34
- package/fesm2022/praxisui-specification.mjs.map +1 -1
- package/index.d.ts +36 -2
- package/package.json +8 -6
package/README.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @praxisui/specification
|
|
2
2
|
|
|
3
|
+
## Documentation
|
|
4
|
+
|
|
5
|
+
- Documentação oficial: https://praxisui.dev
|
|
6
|
+
- Aplicação de referência: https://github.com/codexrodrigues/praxis-ui-quickstart
|
|
7
|
+
- Indicado para: validacoes composaveis, DSL legivel e regras reutilizaveis em apps Angular e TypeScript
|
|
8
|
+
|
|
9
|
+
## When to use
|
|
10
|
+
|
|
11
|
+
- Declarar regras de negocio composaveis com DSL e JSON serializavel
|
|
12
|
+
- Compartilhar validacoes entre frontend, motores de configuracao e fluxos internos
|
|
13
|
+
- Evitar logica espalhada em componentes e services ad hoc
|
|
14
|
+
|
|
3
15
|
> Biblioteca TypeScript para criar validações composáveis (Specification Pattern), com DSL legível, serialização JSON, metadados ricos e registries de funções/transformações.
|
|
4
16
|
|
|
5
17
|
## Visão Geral
|
|
@@ -63,6 +75,7 @@ const json = userSpec.toJSON();
|
|
|
63
75
|
## Documentação
|
|
64
76
|
|
|
65
77
|
- Guia detalhado e exemplos: `projects/praxis-specification/docs/README.md`
|
|
78
|
+
- Especificação da DSL de regras: `projects/praxis-specification/docs/rules-dsl-spec.md`
|
|
66
79
|
- Conceitos (Rules Engines & Specifications): `docs/concepts/rules-engines-and-specifications.md`
|
|
67
80
|
|
|
68
81
|
## Build local e Publicação
|