mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-27 02:48:38 -06:00
16224 review changes
This commit is contained in:
parent
c02d32cdb2
commit
33fbdc0737
@ -47,6 +47,10 @@ class ObjectChangeType(BaseObjectType):
|
||||
pass
|
||||
|
||||
|
||||
@strawberry_django.type(DjangoContentType, fields='__all__')
|
||||
@strawberry_django.type(
|
||||
DjangoContentType,
|
||||
fields='__all__',
|
||||
pagination=True
|
||||
)
|
||||
class ContentType:
|
||||
pass
|
||||
|
@ -151,6 +151,7 @@ class JournalEntryType(CustomFieldsMixin, TagsMixin, ObjectType):
|
||||
@strawberry_django.type(
|
||||
models.Notification,
|
||||
# filters=NotificationFilter
|
||||
pagination=True
|
||||
)
|
||||
class NotificationType(ObjectType):
|
||||
user: Annotated["UserType", strawberry.lazy('users.graphql.types')] | None
|
||||
@ -179,6 +180,7 @@ class SavedFilterType(ObjectType):
|
||||
@strawberry_django.type(
|
||||
models.Subscription,
|
||||
# filters=NotificationFilter
|
||||
pagination=True
|
||||
)
|
||||
class SubscriptionType(ObjectType):
|
||||
user: Annotated["UserType", strawberry.lazy('users.graphql.types')] | None
|
||||
|
Loading…
Reference in New Issue
Block a user