mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
27 lines
975 B
Python
27 lines
975 B
Python
from typing import List
|
|
import strawberry
|
|
|
|
from circuits import models
|
|
from .types import *
|
|
|
|
|
|
@strawberry.type
|
|
class CircuitsQuery:
|
|
circuit: CircuitType = strawberry.django.field()
|
|
circuit_list: List[CircuitType] = strawberry.django.field()
|
|
|
|
circuit_termination: CircuitTerminationType = strawberry.django.field()
|
|
circuit_termination_list: List[CircuitTerminationType] = strawberry.django.field()
|
|
|
|
circuit_type: CircuitTypeType = strawberry.django.field()
|
|
circuit_type_list: List[CircuitTypeType] = strawberry.django.field()
|
|
|
|
provider: ProviderType = strawberry.django.field()
|
|
provider_list: List[ProviderType] = strawberry.django.field()
|
|
|
|
provider_account: ProviderAccountType = strawberry.django.field()
|
|
provider_account_list: List[ProviderAccountType] = strawberry.django.field()
|
|
|
|
provider_network: ProviderNetworkType = strawberry.django.field()
|
|
provider_network_list: List[ProviderNetworkType] = strawberry.django.field()
|