mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-28 19:36:26 -06:00
16224 review changes
This commit is contained in:
parent
c02d32cdb2
commit
33fbdc0737
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user