aboutsummaryrefslogtreecommitdiffstats
path: root/tests/msw/schema/types/topic.types.ts
blob: 7d6e4a09a9453724b583d5c81a844cba68803191 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
export const topicTypes = `enum TopicIdType {
  DATABASE_ID
  ID
  SLUG
  URI
}

union Topic_Acftopics_PostsInTopic = Post

type Topic_Acftopics {
  officialWebsite: String
  postsInTopic: [Topic_Acftopics_PostsInTopic]
}

type Topic {
  acfTopics: Topic_Acftopics
  contentParts: ContentPartsType
  databaseId: Int!
  date: String
  featuredImage: NodeWithFeaturedImageToMediaItemConnectionEdge
  info: InfoType
  modified: String
  seo: PostTypeSEO
  slug: String
  title(format: PostObjectFieldFormatEnum): String
}

input RootQueryToTopicConnectionWhereArgs {
  authorName: String
  notIn: [ID]
  orderby: [PostObjectsConnectionOrderbyInput]
  search: String
  title: String
}

type RootQueryToTopicConnectionPageInfo {
  endCursor: String
  hasNextPage: Boolean!
  hasPreviousPage: Boolean!
  startCursor: String
  total: Int
}

type RootQueryToTopicConnectionEdge {
  cursor: String
  node: Topic!
}

type RootQueryToTopicConnection {
  edges: [RootQueryToTopicConnectionEdge!]!
  nodes: [Topic!]!
  pageInfo: RootQueryToTopicConnectionPageInfo!
}`;

// cSpell:ignore Acftopics