Skip to content

Commit 0e899de

Browse files
committed
refactor(graphql): Replace ACLInterfaceAssignment with ACLAssignment
Updates GraphQL schema to rename `ACLInterfaceAssignmentType` to `ACLAssignmentType`. Adjusts related fields and lists to align with the unified `ACLAssignment` model. Enhances consistency and maintainability within the GraphQL layer.
1 parent 72cc0fa commit 0e899de

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

netbox_acls/graphql/schema.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from .types import (
77
AccessListType,
88
ACLExtendedRuleType,
9-
ACLInterfaceAssignmentType,
9+
ACLAssignmentType,
1010
ACLStandardRuleType,
1111
)
1212

@@ -26,5 +26,5 @@ class NetBoxACLSQuery:
2626
acl_standard_rule: ACLStandardRuleType = strawberry_django.field()
2727
acl_standard_rule_list: List[ACLStandardRuleType] = strawberry_django.field()
2828

29-
acl_interface_assignment: ACLInterfaceAssignmentType = strawberry_django.field()
30-
acl_interface_assignment_list: List[ACLInterfaceAssignmentType] = strawberry_django.field()
29+
acl_assignment: ACLAssignmentType = strawberry_django.field()
30+
acl_assignment_list: List[ACLAssignmentType] = strawberry_django.field()

0 commit comments

Comments
 (0)