schema_v1.py 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. from typing import List
  2. import strawberry
  3. import strawberry_django
  4. from .types_v1 import *
  5. @strawberry.type(name="Query")
  6. class ExtrasQueryV1:
  7. config_context: ConfigContextTypeV1 = strawberry_django.field()
  8. config_context_list: List[ConfigContextTypeV1] = strawberry_django.field()
  9. config_context_profile: ConfigContextProfileTypeV1 = strawberry_django.field()
  10. config_context_profile_list: List[ConfigContextProfileTypeV1] = strawberry_django.field()
  11. config_template: ConfigTemplateTypeV1 = strawberry_django.field()
  12. config_template_list: List[ConfigTemplateTypeV1] = strawberry_django.field()
  13. custom_field: CustomFieldTypeV1 = strawberry_django.field()
  14. custom_field_list: List[CustomFieldTypeV1] = strawberry_django.field()
  15. custom_field_choice_set: CustomFieldChoiceSetTypeV1 = strawberry_django.field()
  16. custom_field_choice_set_list: List[CustomFieldChoiceSetTypeV1] = strawberry_django.field()
  17. custom_link: CustomLinkTypeV1 = strawberry_django.field()
  18. custom_link_list: List[CustomLinkTypeV1] = strawberry_django.field()
  19. export_template: ExportTemplateTypeV1 = strawberry_django.field()
  20. export_template_list: List[ExportTemplateTypeV1] = strawberry_django.field()
  21. image_attachment: ImageAttachmentTypeV1 = strawberry_django.field()
  22. image_attachment_list: List[ImageAttachmentTypeV1] = strawberry_django.field()
  23. saved_filter: SavedFilterTypeV1 = strawberry_django.field()
  24. saved_filter_list: List[SavedFilterTypeV1] = strawberry_django.field()
  25. table_config: TableConfigTypeV1 = strawberry_django.field()
  26. table_config_list: List[TableConfigTypeV1] = strawberry_django.field()
  27. journal_entry: JournalEntryTypeV1 = strawberry_django.field()
  28. journal_entry_list: List[JournalEntryTypeV1] = strawberry_django.field()
  29. notification: NotificationTypeV1 = strawberry_django.field()
  30. notification_list: List[NotificationTypeV1] = strawberry_django.field()
  31. notification_group: NotificationGroupTypeV1 = strawberry_django.field()
  32. notification_group_list: List[NotificationGroupTypeV1] = strawberry_django.field()
  33. subscription: SubscriptionTypeV1 = strawberry_django.field()
  34. subscription_list: List[SubscriptionTypeV1] = strawberry_django.field()
  35. tag: TagTypeV1 = strawberry_django.field()
  36. tag_list: List[TagTypeV1] = strawberry_django.field()
  37. webhook: WebhookTypeV1 = strawberry_django.field()
  38. webhook_list: List[WebhookTypeV1] = strawberry_django.field()
  39. event_rule: EventRuleTypeV1 = strawberry_django.field()
  40. event_rule_list: List[EventRuleTypeV1] = strawberry_django.field()