16224 review changes

This commit is contained in:
Arthur 2025-03-20 09:58:46 -07:00
parent c02d32cdb2
commit 33fbdc0737
2 changed files with 7 additions and 1 deletions

View File

@ -47,6 +47,10 @@ class ObjectChangeType(BaseObjectType):
pass pass
@strawberry_django.type(DjangoContentType, fields='__all__') @strawberry_django.type(
DjangoContentType,
fields='__all__',
pagination=True
)
class ContentType: class ContentType:
pass pass

View File

@ -151,6 +151,7 @@ class JournalEntryType(CustomFieldsMixin, TagsMixin, ObjectType):
@strawberry_django.type( @strawberry_django.type(
models.Notification, models.Notification,
# filters=NotificationFilter # filters=NotificationFilter
pagination=True
) )
class NotificationType(ObjectType): class NotificationType(ObjectType):
user: Annotated["UserType", strawberry.lazy('users.graphql.types')] | None user: Annotated["UserType", strawberry.lazy('users.graphql.types')] | None
@ -179,6 +180,7 @@ class SavedFilterType(ObjectType):
@strawberry_django.type( @strawberry_django.type(
models.Subscription, models.Subscription,
# filters=NotificationFilter # filters=NotificationFilter
pagination=True
) )
class SubscriptionType(ObjectType): class SubscriptionType(ObjectType):
user: Annotated["UserType", strawberry.lazy('users.graphql.types')] | None user: Annotated["UserType", strawberry.lazy('users.graphql.types')] | None