diff --git a/queryfilter/__init__.py b/queryfilter/__init__.py index e6e4f01..7104c23 100644 --- a/queryfilter/__init__.py +++ b/queryfilter/__init__.py @@ -11,6 +11,12 @@ from .numberfilters import NumberRangeFilter from .birthdayfilters import BirthdayDateRangeFilter +from .schemas import ( + TextFilterQueryType, NumberRangeFilterQueryType, + SelectStringFilterQueryType, SelectFloatFilterQueryType, + BirthFilterQueryType +) + __all__ = [ # Main interface 'QueryFilter', @@ -26,4 +32,11 @@ 'SelectFilter', 'NumberRangeFilter', 'BirthdayDateRangeFilter', + + # Default GraphQL schemas + 'TextFilterQueryType', + 'NumberRangeFilterQueryType', + 'SelectStringFilterQueryType', + 'SelectFloatFilterQueryType', + 'BirthFilterQueryType' ] diff --git a/setup.py b/setup.py index ebf1d42..6ea5159 100644 --- a/setup.py +++ b/setup.py @@ -17,7 +17,7 @@ setup( name="queryfilter", - version="0.2.3", + version="0.3.0", description=("Allow same query interface to be shared between Django ORM," "SQLAlchemy, and GraphQL backend."), long_description=open(os.path.join(source_root, "README.rst")).read(),