aboutsummaryrefslogtreecommitdiffstats
path: root/tests/msw/schema/types/thematic.types.ts
blob: 4f8e841bca2ed8710d0a0d325d1909881a297dfd (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
export const thematicTypes = `enum ThematicIdType {
  DATABASE_ID
  ID
  SLUG
  URI
}

union Thematic_Acfthematics_PostsInThematic = Post

type Thematic_Acfthematics {
  postsInThematic: [Thematic_Acfthematics_PostsInThematic]
}

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

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

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

type RootQueryToThematicConnectionEdge {
  cursor: String
  node: Thematic!
}

type RootQueryToThematicConnection {
  edges: [RootQueryToThematicConnectionEdge!]!
  nodes: [Thematic!]!
  pageInfo: RootQueryToThematicConnectionPageInfo!
}`;

// cSpell:ignore Acfthematics