Skip to content

Commit

Permalink
feat: export missing types and classes from attributes module
Browse files Browse the repository at this point in the history
  • Loading branch information
phr3nzy committed Feb 3, 2025
1 parent a918b91 commit e8c7f44
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@phr3nzy/rulekit",
"version": "1.0.2",
"version": "1.0.3",
"description": "A powerful and flexible toolkit for building rule-based product recommendations and dynamic filtering",
"main": "dist/index.js",
"module": "dist/index.mjs",
Expand Down
13 changes: 13 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,19 @@ export type {
} from './core/models/types';
export { ComparisonOperators } from './core/models/types';

// Attribute types and validation
export { AttributeType } from './core/attributes/types';
export type {
AttributeTypeValue,
ValidationRule,
AttributeDefinition,
AttributeRegistry,
AttributeValue,
DynamicAttributes,
} from './core/attributes/types';
export { ProductAttributeRegistry } from './core/attributes/registry';
export { validateAttribute, AttributeValidationError } from './core/attributes/validator';

// Validation
export {
validateRule,
Expand Down

0 comments on commit e8c7f44

Please sign in to comment.