Coverage for extras/graphql/schema.py: 100%

39 statements  

« prev     ^ index     » next       coverage.py v7.15.2, created at 2026-10-10 18:35 +0000

1import strawberry 

2import strawberry_django 

3 

4from .types import * 

5 

6 

7@strawberry.type(name="Query") 

8class ExtrasQuery: 

9 config_context: ConfigContextType = strawberry_django.field() 

10 config_context_list: list[ConfigContextType] = strawberry_django.field() 

11 

12 config_context_profile: ConfigContextProfileType = strawberry_django.field() 

13 config_context_profile_list: list[ConfigContextProfileType] = strawberry_django.field() 

14 

15 config_template: ConfigTemplateType = strawberry_django.field() 

16 config_template_list: list[ConfigTemplateType] = strawberry_django.field() 

17 

18 custom_field: CustomFieldType = strawberry_django.field() 

19 custom_field_list: list[CustomFieldType] = strawberry_django.field() 

20 

21 custom_field_choice_set: CustomFieldChoiceSetType = strawberry_django.field() 

22 custom_field_choice_set_list: list[CustomFieldChoiceSetType] = strawberry_django.field() 

23 

24 custom_link: CustomLinkType = strawberry_django.field() 

25 custom_link_list: list[CustomLinkType] = strawberry_django.field() 

26 

27 export_template: ExportTemplateType = strawberry_django.field() 

28 export_template_list: list[ExportTemplateType] = strawberry_django.field() 

29 

30 image_attachment: ImageAttachmentType = strawberry_django.field() 

31 image_attachment_list: list[ImageAttachmentType] = strawberry_django.field() 

32 

33 saved_filter: SavedFilterType = strawberry_django.field() 

34 saved_filter_list: list[SavedFilterType] = strawberry_django.field() 

35 

36 table_config: TableConfigType = strawberry_django.field() 

37 table_config_list: list[TableConfigType] = strawberry_django.field() 

38 

39 journal_entry: JournalEntryType = strawberry_django.field() 

40 journal_entry_list: list[JournalEntryType] = strawberry_django.field() 

41 

42 notification: NotificationType = strawberry_django.field() 

43 notification_list: list[NotificationType] = strawberry_django.field() 

44 

45 notification_group: NotificationGroupType = strawberry_django.field() 

46 notification_group_list: list[NotificationGroupType] = strawberry_django.field() 

47 

48 subscription: SubscriptionType = strawberry_django.field() 

49 subscription_list: list[SubscriptionType] = strawberry_django.field() 

50 

51 tag: TagType = strawberry_django.field() 

52 tag_list: list[TagType] = strawberry_django.field() 

53 

54 webhook: WebhookType = strawberry_django.field() 

55 webhook_list: list[WebhookType] = strawberry_django.field() 

56 

57 event_rule: EventRuleType = strawberry_django.field() 

58 event_rule_list: list[EventRuleType] = strawberry_django.field()