Skip to content

Commit e8c7f44

Browse files
committed
feat: export missing types and classes from attributes module
1 parent a918b91 commit e8c7f44

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@phr3nzy/rulekit",
3-
"version": "1.0.2",
3+
"version": "1.0.3",
44
"description": "A powerful and flexible toolkit for building rule-based product recommendations and dynamic filtering",
55
"main": "dist/index.js",
66
"module": "dist/index.mjs",

src/index.ts

+13
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,19 @@ export type {
1010
} from './core/models/types';
1111
export { ComparisonOperators } from './core/models/types';
1212

13+
// Attribute types and validation
14+
export { AttributeType } from './core/attributes/types';
15+
export type {
16+
AttributeTypeValue,
17+
ValidationRule,
18+
AttributeDefinition,
19+
AttributeRegistry,
20+
AttributeValue,
21+
DynamicAttributes,
22+
} from './core/attributes/types';
23+
export { ProductAttributeRegistry } from './core/attributes/registry';
24+
export { validateAttribute, AttributeValidationError } from './core/attributes/validator';
25+
1326
// Validation
1427
export {
1528
validateRule,

0 commit comments

Comments
 (0)