@studio-fes/create-fes-app 0.1.1 → 0.3.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (287) hide show
  1. package/README.md +6 -3
  2. package/bin/create-fes-app.mjs +14 -1
  3. package/{templates → dist/templates}/craft/package.json +2 -2
  4. package/{templates → dist/templates}/craft/queries/Entries.gql +4 -0
  5. package/dist/templates/craft/server/api/health.get.ts +5 -0
  6. package/dist/templates/craft/server/api/sitemap.ts +35 -0
  7. package/dist/templates/craft/server/multiCache.serverOptions.ts +25 -0
  8. package/{templates → dist/templates}/strapi/package.json +2 -2
  9. package/package.json +2 -2
  10. package/templates/craft/.env +0 -6
  11. package/templates/craft/.nuxt/app.config.mjs +0 -25
  12. package/templates/craft/.nuxt/components.d.ts +0 -212
  13. package/templates/craft/.nuxt/eslint.config.d.mts +0 -9
  14. package/templates/craft/.nuxt/eslint.config.mjs +0 -77
  15. package/templates/craft/.nuxt/fetch.d.ts +0 -1
  16. package/templates/craft/.nuxt/graphql-operations/index.d.ts +0 -2064
  17. package/templates/craft/.nuxt/graphql-operations/index.js +0 -0
  18. package/templates/craft/.nuxt/i18n-route-resources.mjs +0 -8
  19. package/templates/craft/.nuxt/image/providers.d.ts +0 -53
  20. package/templates/craft/.nuxt/imports.d.ts +0 -128
  21. package/templates/craft/.nuxt/link-checker/routes.json +0 -1
  22. package/templates/craft/.nuxt/manifest/meta/8c7a2100-6449-4269-93f2-c4a4d3c46ac1.json +0 -1
  23. package/templates/craft/.nuxt/module/nuxt-schema-org.d.ts +0 -14
  24. package/templates/craft/.nuxt/module/nuxt-seo-utils.assets.d.ts +0 -25
  25. package/templates/craft/.nuxt/module/nuxt-seo-utils.d.ts +0 -36
  26. package/templates/craft/.nuxt/module/nuxt-site-config.d.ts +0 -46
  27. package/templates/craft/.nuxt/nuxt-graphql-middleware/client-options.d.ts +0 -7
  28. package/templates/craft/.nuxt/nuxt-graphql-middleware/client-options.js +0 -4
  29. package/templates/craft/.nuxt/nuxt-graphql-middleware/config.d.ts +0 -7
  30. package/templates/craft/.nuxt/nuxt-graphql-middleware/config.js +0 -7
  31. package/templates/craft/.nuxt/nuxt-graphql-middleware/documents.d.ts +0 -12
  32. package/templates/craft/.nuxt/nuxt-graphql-middleware/graphql.config.d.ts +0 -10
  33. package/templates/craft/.nuxt/nuxt-graphql-middleware/graphql.config.js +0 -21
  34. package/templates/craft/.nuxt/nuxt-graphql-middleware/helpers.d.ts +0 -5
  35. package/templates/craft/.nuxt/nuxt-graphql-middleware/helpers.js +0 -7
  36. package/templates/craft/.nuxt/nuxt-graphql-middleware/hook-documents.graphql +0 -0
  37. package/templates/craft/.nuxt/nuxt-graphql-middleware/hook-files.d.ts +0 -4
  38. package/templates/craft/.nuxt/nuxt-graphql-middleware/hook-files.js +0 -4
  39. package/templates/craft/.nuxt/nuxt-graphql-middleware/mcp.d.ts +0 -15
  40. package/templates/craft/.nuxt/nuxt-graphql-middleware/mcp.js +0 -74
  41. package/templates/craft/.nuxt/nuxt-graphql-middleware/nitro.d.ts +0 -27
  42. package/templates/craft/.nuxt/nuxt-graphql-middleware/operation-hashes.d.ts +0 -6
  43. package/templates/craft/.nuxt/nuxt-graphql-middleware/operation-types.d.ts +0 -46
  44. package/templates/craft/.nuxt/nuxt-graphql-middleware/operation-types.js +0 -4
  45. package/templates/craft/.nuxt/nuxt-graphql-middleware/operation-variables.d.ts +0 -4
  46. package/templates/craft/.nuxt/nuxt-graphql-middleware/operation-variables.js +0 -29
  47. package/templates/craft/.nuxt/nuxt-graphql-middleware/response.d.ts +0 -22
  48. package/templates/craft/.nuxt/nuxt-graphql-middleware/server-options.d.ts +0 -11
  49. package/templates/craft/.nuxt/nuxt-graphql-middleware/server-options.js +0 -5
  50. package/templates/craft/.nuxt/nuxt-graphql-middleware/sources.d.ts +0 -4
  51. package/templates/craft/.nuxt/nuxt-graphql-middleware/sources.js +0 -9
  52. package/templates/craft/.nuxt/nuxt-multi-cache/config.d.ts +0 -57
  53. package/templates/craft/.nuxt/nuxt-multi-cache/config.js +0 -10
  54. package/templates/craft/.nuxt/nuxt-multi-cache/nitro.d.ts +0 -46
  55. package/templates/craft/.nuxt/nuxt-multi-cache/server-options.d.ts +0 -3
  56. package/templates/craft/.nuxt/nuxt-multi-cache/server-options.js +0 -2
  57. package/templates/craft/.nuxt/nuxt.d.ts +0 -59
  58. package/templates/craft/.nuxt/nuxt.node.d.ts +0 -29
  59. package/templates/craft/.nuxt/nuxt.shared.d.ts +0 -8
  60. package/templates/craft/.nuxt/schema/nuxt.schema.d.ts +0 -17
  61. package/templates/craft/.nuxt/schema/nuxt.schema.json +0 -3
  62. package/templates/craft/.nuxt/tsconfig.app.json +0 -461
  63. package/templates/craft/.nuxt/tsconfig.json +0 -471
  64. package/templates/craft/.nuxt/tsconfig.node.json +0 -245
  65. package/templates/craft/.nuxt/tsconfig.server.json +0 -336
  66. package/templates/craft/.nuxt/tsconfig.shared.json +0 -267
  67. package/templates/craft/.nuxt/types/app.config.d.ts +0 -39
  68. package/templates/craft/.nuxt/types/build.d.ts +0 -60
  69. package/templates/craft/.nuxt/types/builder-env.d.ts +0 -1
  70. package/templates/craft/.nuxt/types/components.d.ts +0 -217
  71. package/templates/craft/.nuxt/types/i18n-plugin.d.ts +0 -133
  72. package/templates/craft/.nuxt/types/imports.d.ts +0 -1132
  73. package/templates/craft/.nuxt/types/layouts.d.ts +0 -20
  74. package/templates/craft/.nuxt/types/middleware.d.ts +0 -7
  75. package/templates/craft/.nuxt/types/modules.d.ts +0 -589
  76. package/templates/craft/.nuxt/types/nitro-config.d.ts +0 -14
  77. package/templates/craft/.nuxt/types/nitro-imports.d.ts +0 -222
  78. package/templates/craft/.nuxt/types/nitro-layouts.d.ts +0 -17
  79. package/templates/craft/.nuxt/types/nitro-middleware.d.ts +0 -11
  80. package/templates/craft/.nuxt/types/nitro-nuxt.d.ts +0 -90
  81. package/templates/craft/.nuxt/types/nitro-routes.d.ts +0 -59
  82. package/templates/craft/.nuxt/types/nitro.d.ts +0 -3
  83. package/templates/craft/.nuxt/types/nuxt-robots-nitro.d.ts +0 -65
  84. package/templates/craft/.nuxt/types/nuxt-robots-nuxt.d.ts +0 -10
  85. package/templates/craft/.nuxt/types/nuxt-scripts-augments.d.ts +0 -15
  86. package/templates/craft/.nuxt/types/nuxt-sitemap-augments.d.ts +0 -61
  87. package/templates/craft/.nuxt/types/nuxt-sitemap-virtual.d.ts +0 -23
  88. package/templates/craft/.nuxt/types/plugins.d.ts +0 -61
  89. package/templates/craft/.nuxt/types/runtime-config.d.ts +0 -236
  90. package/templates/craft/.nuxt/types/shared-app.config.d.ts +0 -32
  91. package/templates/craft/.nuxt/types/shared-imports.d.ts +0 -10
  92. package/templates/craft/.nuxt/types/vue-shim.d.ts +0 -0
  93. package/templates/craft/node_modules/.bin/acorn +0 -43
  94. package/templates/craft/node_modules/.bin/browserslist +0 -43
  95. package/templates/craft/node_modules/.bin/esbuild +0 -34
  96. package/templates/craft/node_modules/.bin/eslint +0 -43
  97. package/templates/craft/node_modules/.bin/eslint-config +0 -43
  98. package/templates/craft/node_modules/.bin/jiti +0 -43
  99. package/templates/craft/node_modules/.bin/nuxi +0 -43
  100. package/templates/craft/node_modules/.bin/nuxt +0 -43
  101. package/templates/craft/node_modules/.bin/rolldown +0 -43
  102. package/templates/craft/node_modules/.bin/rollup +0 -43
  103. package/templates/craft/node_modules/.bin/rollup-plugin-visualizer +0 -43
  104. package/templates/craft/node_modules/.bin/terser +0 -43
  105. package/templates/craft/node_modules/.bin/tsc +0 -43
  106. package/templates/craft/node_modules/.bin/vite +0 -43
  107. package/templates/craft/node_modules/.bin/webpack +0 -43
  108. package/templates/craft/node_modules/.bin/yaml +0 -43
  109. package/templates/craft/node_modules/.cache/jiti/craft-nuxt.config.96899b85.mjs +0 -39
  110. package/templates/craft/node_modules/.cache/jiti/i18n-index.2e90cf09.mjs +0 -6
  111. package/templates/craft/node_modules/.cache/jiti/i18n-index.a093f66a.mjs +0 -6
  112. package/templates/craft/node_modules/.cache/jiti/layer-base-nuxt.config.5fd074c8.mjs +0 -75
  113. package/templates/craft/node_modules/.cache/jiti/layer-craft-nuxt.config.c163264b.mjs +0 -36
  114. package/templates/craft/node_modules/.cache/jiti/layer-craft-parse-env.a47fc157.mjs +0 -23
  115. package/templates/craft/node_modules/.cache/jiti/locales-index.3d828a7c.mjs +0 -16
  116. package/templates/craft/node_modules/.cache/jiti/locales-index.c7376a42.mjs +0 -16
  117. package/templates/craft/node_modules/.cache/jiti/modules-og-image-detect.3072b6e2.mjs +0 -25
  118. package/templates/craft/node_modules/.cache/jiti/modules-og-image-detect.e32906d8.mjs +0 -25
  119. package/templates/craft/node_modules/.cache/jiti/starter-craft-nuxt.config.573fb392.mjs +0 -39
  120. package/templates/craft/node_modules/.cache/nuxt/chrome-workspace.json +0 -1
  121. package/templates/strapi/.env +0 -7
  122. package/templates/strapi/.nuxt/app.config.mjs +0 -25
  123. package/templates/strapi/.nuxt/components.d.ts +0 -216
  124. package/templates/strapi/.nuxt/eslint.config.d.mts +0 -9
  125. package/templates/strapi/.nuxt/eslint.config.mjs +0 -77
  126. package/templates/strapi/.nuxt/fetch.d.ts +0 -1
  127. package/templates/strapi/.nuxt/graphql-operations/index.d.ts +0 -315
  128. package/templates/strapi/.nuxt/graphql-operations/index.js +0 -31
  129. package/templates/strapi/.nuxt/i18n-route-resources.mjs +0 -5
  130. package/templates/strapi/.nuxt/image/providers.d.ts +0 -53
  131. package/templates/strapi/.nuxt/imports.d.ts +0 -126
  132. package/templates/strapi/.nuxt/link-checker/routes.json +0 -1
  133. package/templates/strapi/.nuxt/manifest/meta/7053ffc6-a484-4262-9af2-d3139913c2af.json +0 -1
  134. package/templates/strapi/.nuxt/module/nuxt-schema-org.d.ts +0 -14
  135. package/templates/strapi/.nuxt/module/nuxt-seo-utils.assets.d.ts +0 -25
  136. package/templates/strapi/.nuxt/module/nuxt-seo-utils.d.ts +0 -36
  137. package/templates/strapi/.nuxt/module/nuxt-site-config.d.ts +0 -46
  138. package/templates/strapi/.nuxt/nuxt-graphql-middleware/client-options.d.ts +0 -7
  139. package/templates/strapi/.nuxt/nuxt-graphql-middleware/client-options.js +0 -4
  140. package/templates/strapi/.nuxt/nuxt-graphql-middleware/config.d.ts +0 -7
  141. package/templates/strapi/.nuxt/nuxt-graphql-middleware/config.js +0 -7
  142. package/templates/strapi/.nuxt/nuxt-graphql-middleware/documents.d.ts +0 -12
  143. package/templates/strapi/.nuxt/nuxt-graphql-middleware/graphql.config.d.ts +0 -10
  144. package/templates/strapi/.nuxt/nuxt-graphql-middleware/graphql.config.js +0 -21
  145. package/templates/strapi/.nuxt/nuxt-graphql-middleware/helpers.d.ts +0 -5
  146. package/templates/strapi/.nuxt/nuxt-graphql-middleware/helpers.js +0 -7
  147. package/templates/strapi/.nuxt/nuxt-graphql-middleware/hook-documents.graphql +0 -0
  148. package/templates/strapi/.nuxt/nuxt-graphql-middleware/hook-files.d.ts +0 -4
  149. package/templates/strapi/.nuxt/nuxt-graphql-middleware/hook-files.js +0 -4
  150. package/templates/strapi/.nuxt/nuxt-graphql-middleware/mcp.d.ts +0 -15
  151. package/templates/strapi/.nuxt/nuxt-graphql-middleware/mcp.js +0 -74
  152. package/templates/strapi/.nuxt/nuxt-graphql-middleware/nitro.d.ts +0 -19
  153. package/templates/strapi/.nuxt/nuxt-graphql-middleware/operation-hashes.d.ts +0 -6
  154. package/templates/strapi/.nuxt/nuxt-graphql-middleware/operation-types.d.ts +0 -32
  155. package/templates/strapi/.nuxt/nuxt-graphql-middleware/operation-types.js +0 -4
  156. package/templates/strapi/.nuxt/nuxt-graphql-middleware/operation-variables.d.ts +0 -4
  157. package/templates/strapi/.nuxt/nuxt-graphql-middleware/operation-variables.js +0 -12
  158. package/templates/strapi/.nuxt/nuxt-graphql-middleware/response.d.ts +0 -18
  159. package/templates/strapi/.nuxt/nuxt-graphql-middleware/server-options.d.ts +0 -8
  160. package/templates/strapi/.nuxt/nuxt-graphql-middleware/server-options.js +0 -5
  161. package/templates/strapi/.nuxt/nuxt-graphql-middleware/sources.d.ts +0 -4
  162. package/templates/strapi/.nuxt/nuxt-graphql-middleware/sources.js +0 -7
  163. package/templates/strapi/.nuxt/nuxt-multi-cache/config.d.ts +0 -57
  164. package/templates/strapi/.nuxt/nuxt-multi-cache/config.js +0 -10
  165. package/templates/strapi/.nuxt/nuxt-multi-cache/nitro.d.ts +0 -46
  166. package/templates/strapi/.nuxt/nuxt-multi-cache/server-options.d.ts +0 -3
  167. package/templates/strapi/.nuxt/nuxt-multi-cache/server-options.js +0 -2
  168. package/templates/strapi/.nuxt/nuxt.d.ts +0 -58
  169. package/templates/strapi/.nuxt/nuxt.node.d.ts +0 -28
  170. package/templates/strapi/.nuxt/nuxt.shared.d.ts +0 -8
  171. package/templates/strapi/.nuxt/schema/nuxt.schema.d.ts +0 -17
  172. package/templates/strapi/.nuxt/schema/nuxt.schema.json +0 -3
  173. package/templates/strapi/.nuxt/tsconfig.app.json +0 -456
  174. package/templates/strapi/.nuxt/tsconfig.json +0 -466
  175. package/templates/strapi/.nuxt/tsconfig.node.json +0 -243
  176. package/templates/strapi/.nuxt/tsconfig.server.json +0 -334
  177. package/templates/strapi/.nuxt/tsconfig.shared.json +0 -267
  178. package/templates/strapi/.nuxt/types/app.config.d.ts +0 -39
  179. package/templates/strapi/.nuxt/types/build.d.ts +0 -60
  180. package/templates/strapi/.nuxt/types/builder-env.d.ts +0 -1
  181. package/templates/strapi/.nuxt/types/components.d.ts +0 -221
  182. package/templates/strapi/.nuxt/types/i18n-plugin.d.ts +0 -133
  183. package/templates/strapi/.nuxt/types/imports.d.ts +0 -1120
  184. package/templates/strapi/.nuxt/types/layouts.d.ts +0 -20
  185. package/templates/strapi/.nuxt/types/middleware.d.ts +0 -7
  186. package/templates/strapi/.nuxt/types/modules.d.ts +0 -569
  187. package/templates/strapi/.nuxt/types/nitro-config.d.ts +0 -14
  188. package/templates/strapi/.nuxt/types/nitro-imports.d.ts +0 -220
  189. package/templates/strapi/.nuxt/types/nitro-layouts.d.ts +0 -17
  190. package/templates/strapi/.nuxt/types/nitro-middleware.d.ts +0 -11
  191. package/templates/strapi/.nuxt/types/nitro-nuxt.d.ts +0 -90
  192. package/templates/strapi/.nuxt/types/nitro-routes.d.ts +0 -44
  193. package/templates/strapi/.nuxt/types/nitro.d.ts +0 -3
  194. package/templates/strapi/.nuxt/types/nuxt-robots-nitro.d.ts +0 -65
  195. package/templates/strapi/.nuxt/types/nuxt-robots-nuxt.d.ts +0 -10
  196. package/templates/strapi/.nuxt/types/nuxt-scripts-augments.d.ts +0 -15
  197. package/templates/strapi/.nuxt/types/nuxt-sitemap-augments.d.ts +0 -61
  198. package/templates/strapi/.nuxt/types/nuxt-sitemap-virtual.d.ts +0 -23
  199. package/templates/strapi/.nuxt/types/plugins.d.ts +0 -58
  200. package/templates/strapi/.nuxt/types/runtime-config.d.ts +0 -244
  201. package/templates/strapi/.nuxt/types/shared-app.config.d.ts +0 -32
  202. package/templates/strapi/.nuxt/types/shared-imports.d.ts +0 -10
  203. package/templates/strapi/.nuxt/types/vue-shim.d.ts +0 -0
  204. package/templates/strapi/node_modules/.bin/esbuild +0 -34
  205. package/templates/strapi/node_modules/.bin/jiti +0 -43
  206. package/templates/strapi/node_modules/.bin/nuxi +0 -43
  207. package/templates/strapi/node_modules/.bin/nuxt +0 -43
  208. package/templates/strapi/node_modules/.bin/rolldown +0 -43
  209. package/templates/strapi/node_modules/.bin/rollup +0 -43
  210. package/templates/strapi/node_modules/.bin/rollup-plugin-visualizer +0 -43
  211. package/templates/strapi/node_modules/.bin/terser +0 -43
  212. package/templates/strapi/node_modules/.bin/tsc +0 -43
  213. package/templates/strapi/node_modules/.bin/vite +0 -43
  214. package/templates/strapi/node_modules/.bin/webpack +0 -43
  215. package/templates/strapi/node_modules/.bin/yaml +0 -43
  216. package/templates/strapi/node_modules/.cache/jiti/layer-base-nuxt.config.5fd074c8.mjs +0 -75
  217. package/templates/strapi/node_modules/.cache/jiti/layer-strapi-nuxt.config.29354bb2.mjs +0 -33
  218. package/templates/strapi/node_modules/.cache/jiti/layer-strapi-parse-env.46647a07.mjs +0 -23
  219. package/templates/strapi/node_modules/.cache/jiti/modules-og-image-detect.3072b6e2.mjs +0 -25
  220. package/templates/strapi/node_modules/.cache/jiti/modules-vue-strapi-blocks-renderer.5518edfe.mjs +0 -22
  221. package/templates/strapi/node_modules/.cache/jiti/starter-strapi-nuxt.config.b85f8ac6.mjs +0 -15
  222. package/templates/strapi/node_modules/.cache/jiti/strapi-nuxt.config.5d4f493c.mjs +0 -15
  223. package/templates/strapi/node_modules/.cache/nuxt/chrome-workspace.json +0 -1
  224. /package/{templates → dist/templates}/craft/.env.example +0 -0
  225. /package/{templates → dist/templates}/craft/.vscode/extensions.json +0 -0
  226. /package/{templates → dist/templates}/craft/.vscode/launch.json +0 -0
  227. /package/{templates → dist/templates}/craft/.vscode/settings.json +0 -0
  228. /package/{templates → dist/templates}/craft/.vscode/unocss.json +0 -0
  229. /package/{templates → dist/templates}/craft/Dockerfile +0 -0
  230. /package/{templates → dist/templates}/craft/README.md +0 -0
  231. /package/{templates → dist/templates}/craft/_gitignore +0 -0
  232. /package/{templates → dist/templates}/craft/app/app.vue +0 -0
  233. /package/{templates → dist/templates}/craft/app/components/.gitkeep +0 -0
  234. /package/{templates → dist/templates}/craft/app/components/LocaleSwitcher.vue +0 -0
  235. /package/{templates → dist/templates}/craft/app/pages/[slug].vue +0 -0
  236. /package/{templates → dist/templates}/craft/app/pages/index.vue +0 -0
  237. /package/{templates → dist/templates}/craft/app/plugins/gsap-reduced-motion.client.ts +0 -0
  238. /package/{templates → dist/templates}/craft/app/plugins/org-schema.server.ts +0 -0
  239. /package/{templates → dist/templates}/craft/app/plugins/site-config.server.ts +0 -0
  240. /package/{templates → dist/templates}/craft/eslint.config.js +0 -0
  241. /package/{templates → dist/templates}/craft/graphql.config.ts +0 -0
  242. /package/{templates → dist/templates}/craft/i18n/index.ts +0 -0
  243. /package/{templates → dist/templates}/craft/i18n/locales/en.ts +0 -0
  244. /package/{templates → dist/templates}/craft/i18n/locales/index.ts +0 -0
  245. /package/{templates → dist/templates}/craft/i18n/locales/it.ts +0 -0
  246. /package/{templates → dist/templates}/craft/i18n.config.ts +0 -0
  247. /package/{templates → dist/templates}/craft/nuxt.config.ts +0 -0
  248. /package/{templates → dist/templates}/craft/public/_robots.txt +0 -0
  249. /package/{templates → dist/templates}/craft/public/favicon.ico +0 -0
  250. /package/{templates → dist/templates}/craft/public/og-image.jpg +0 -0
  251. /package/{templates → dist/templates}/craft/queries/Entry.gql +0 -0
  252. /package/{templates → dist/templates}/craft/queries/OrgSchema.gql +0 -0
  253. /package/{templates → dist/templates}/craft/queries/Page.gql +0 -0
  254. /package/{templates → dist/templates}/craft/queries/SiteConfig.gql +0 -0
  255. /package/{templates → dist/templates}/craft/queries/fragments/Interfaces.gql +0 -0
  256. /package/{templates → dist/templates}/craft/queries/fragments/Media.gql +0 -0
  257. /package/{templates → dist/templates}/craft/queries/fragments/OrgSchemaField.gql +0 -0
  258. /package/{templates → dist/templates}/craft/queries/fragments/SEO.gql +0 -0
  259. /package/{templates → dist/templates}/craft/schema.graphql +0 -0
  260. /package/{templates → dist/templates}/craft/tsconfig.json +0 -0
  261. /package/{templates → dist/templates}/craft/uno.config.ts +0 -0
  262. /package/{templates → dist/templates}/strapi/.env.example +0 -0
  263. /package/{templates → dist/templates}/strapi/README.md +0 -0
  264. /package/{templates → dist/templates}/strapi/_gitignore +0 -0
  265. /package/{templates → dist/templates}/strapi/app/app.vue +0 -0
  266. /package/{templates → dist/templates}/strapi/app/components/DynamicZone.vue +0 -0
  267. /package/{templates → dist/templates}/strapi/app/components/SectionSingleImage.vue +0 -0
  268. /package/{templates → dist/templates}/strapi/app/components/VideoProgress.vue +0 -0
  269. /package/{templates → dist/templates}/strapi/app/pages/[slug].vue +0 -0
  270. /package/{templates → dist/templates}/strapi/app/pages/index.vue +0 -0
  271. /package/{templates → dist/templates}/strapi/app/plugins/gsap-reduced-motion.client.ts +0 -0
  272. /package/{templates → dist/templates}/strapi/app/plugins/site-config.server.ts +0 -0
  273. /package/{templates → dist/templates}/strapi/eslint.config.js +0 -0
  274. /package/{templates → dist/templates}/strapi/nuxt.config.ts +0 -0
  275. /package/{templates → dist/templates}/strapi/public/_robots.txt +0 -0
  276. /package/{templates → dist/templates}/strapi/public/favicon.ico +0 -0
  277. /package/{templates → dist/templates}/strapi/public/og-image.jpg +0 -0
  278. /package/{templates → dist/templates}/strapi/queries/PageCustomPage.gql +0 -0
  279. /package/{templates → dist/templates}/strapi/queries/PageHome.gql +0 -0
  280. /package/{templates → dist/templates}/strapi/queries/fragments/MetaSocial.gql +0 -0
  281. /package/{templates → dist/templates}/strapi/queries/fragments/PageCustomPage.gql +0 -0
  282. /package/{templates → dist/templates}/strapi/queries/fragments/SectionError.gql +0 -0
  283. /package/{templates → dist/templates}/strapi/queries/fragments/SectionSingleImage.gql +0 -0
  284. /package/{templates → dist/templates}/strapi/queries/fragments/SeoMeta.gql +0 -0
  285. /package/{templates → dist/templates}/strapi/queries/fragments/StrapiFile.gql +0 -0
  286. /package/{templates → dist/templates}/strapi/schema.graphql +0 -0
  287. /package/{templates → dist/templates}/strapi/tsconfig.json +0 -0
@@ -1,2064 +0,0 @@
1
- // --------------------------------------------------------------------------------
2
- // Type Helpers
3
- // --------------------------------------------------------------------------------
4
-
5
- type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] };
6
-
7
-
8
- // --------------------------------------------------------------------------------
9
- // Object Types
10
- // --------------------------------------------------------------------------------
11
-
12
- type Ether_SeoData = 'Ether_SeoData';
13
- type Ether_SEOKeyword = 'Ether_SEOKeyword';
14
- /** Social data for an individual Social network */
15
- type Ether_SeoSocialData = 'Ether_SeoSocialData';
16
- type media_Asset = 'media_Asset';
17
- type pageDefault_Entry = 'pageDefault_Entry';
18
-
19
-
20
- // --------------------------------------------------------------------------------
21
- // Interfaces & Unions
22
- // --------------------------------------------------------------------------------
23
-
24
- /** This is the interface implemented by all entries. */
25
- export type EntryInterface = pageDefault_Entry;
26
-
27
-
28
- // --------------------------------------------------------------------------------
29
- // Fragments
30
- // --------------------------------------------------------------------------------
31
-
32
- /**
33
- * @see {@link file://./../../queries/fragments/Interfaces.gql}
34
- *
35
- * @example
36
- * ```graphql
37
- * fragment EntryInterfaceType on EntryInterface {
38
- * id
39
- * url
40
- * slug
41
- * title
42
- * sectionHandle
43
- * __typename
44
- *
45
- * localized {
46
- * ...Localized
47
- * }
48
- * }
49
- * ```
50
- */
51
- export type EntryInterfaceTypeFragment = {
52
- __typename: EntryInterface;
53
- /** The ID of the entity */
54
- id?: string | number;
55
- /** The same element in other locales. */
56
- localized: LocalizedFragment[];
57
- /** The handle of the section that contains the entry. */
58
- sectionHandle?: string;
59
- /** The element’s slug. */
60
- slug?: string;
61
- /** The element’s title. */
62
- title?: string;
63
- /** The element’s full URL */
64
- url?: string;
65
- };
66
-
67
- /**
68
- * @see {@link file://./../../queries/fragments/Interfaces.gql}
69
- *
70
- * @example
71
- * ```graphql
72
- * fragment Localized on EntryInterface {
73
- * language
74
- * locale: siteHandle
75
- * slug
76
- * uri
77
- * ancestors {
78
- * language
79
- * locale: siteHandle
80
- * slug
81
- * uri
82
- * }
83
- * }
84
- * ```
85
- */
86
- export type LocalizedFragment = {
87
- /** The entry’s ancestors, if the section is a structure. Accepts the same arguments as the `entries` query. */
88
- ancestors: {
89
- /** The language of the site element is associated with. */
90
- language?: string;
91
- /** The handle of the site the element is associated with. */
92
- locale?: string;
93
- /** The element’s slug. */
94
- slug?: string;
95
- /** The element’s URI. */
96
- uri?: string;
97
- }[];
98
- /** The language of the site element is associated with. */
99
- language?: string;
100
- /** The handle of the site the element is associated with. */
101
- locale?: string;
102
- /** The element’s slug. */
103
- slug?: string;
104
- /** The element’s URI. */
105
- uri?: string;
106
- };
107
-
108
- /**
109
- * @see {@link file://./../../queries/fragments/Media.gql}
110
- *
111
- * @example
112
- * ```graphql
113
- * fragment Media on media_Asset {
114
- * id
115
- * url
116
- * alt
117
- * title
118
- * width
119
- * height
120
- * format
121
- * kind
122
- * __typename
123
- * }
124
- * ```
125
- */
126
- export type MediaFragment = {
127
- __typename: media_Asset;
128
- /** Alternative text for the asset. */
129
- alt?: string;
130
- /** Returns the file’s format. */
131
- format?: string;
132
- /** The height in pixels or null if it’s not an image. */
133
- height?: number;
134
- /** The ID of the entity */
135
- id?: string | number;
136
- /** The file kind. */
137
- kind: string;
138
- /** The element’s title. */
139
- title?: string;
140
- /** The full URL of the asset. This field accepts the same fields as the `transform` directive. */
141
- url?: string;
142
- /** The width in pixels or null if it’s not an image. */
143
- width?: number;
144
- };
145
-
146
- /**
147
- * @see {@link file://./../../queries/fragments/OrgSchemaField.gql}
148
- *
149
- * @example
150
- * ```graphql
151
- * fragment OrgSchemaFieldPieces on ToolkitOrgSchemaFieldPiece {
152
- * json
153
- * }
154
- * ```
155
- */
156
- export type OrgSchemaFieldPiecesFragment = {
157
- /** The fully resolved schema.org piece (type + properties merged, including @type), as a JSON string ready to be parsed and passed to a schema.org renderer such as Nuxt SEO's useSchemaOrg(). */
158
- json?: string;
159
- };
160
-
161
- /**
162
- * @see {@link file://./../../queries/Page.gql}
163
- *
164
- * @example
165
- * ```graphql
166
- * fragment PageEntry on pageDefault_Entry {
167
- * ...EntryInterfaceType
168
- * orgSchema {
169
- * ...OrgSchemaFieldPieces
170
- * }
171
- * }
172
- * ```
173
- */
174
- export type PageEntryFragment = {
175
- __typename: pageDefault_Entry;
176
- orgSchema?: (OrgSchemaFieldPiecesFragment | null)[];
177
- } & Omit<EntryInterfaceTypeFragment, '__typename'>;
178
-
179
- /**
180
- * @see {@link file://./../../queries/fragments/SEO.gql}
181
- *
182
- * @example
183
- * ```graphql
184
- * fragment SEO on Ether_SeoData {
185
- * title
186
- * description
187
- * keywords {
188
- * keyword
189
- * rating
190
- * __typename
191
- * }
192
- * social {
193
- * facebook {
194
- * ...seoSocialData
195
- * }
196
- * twitter {
197
- * ...seoSocialData
198
- * }
199
- * }
200
- * __typename
201
- * }
202
- * ```
203
- */
204
- export type SeoFragment = {
205
- __typename: Ether_SeoData;
206
- description?: string;
207
- keywords?: ({
208
- __typename: Ether_SEOKeyword;
209
- keyword?: string;
210
- rating?: string;
211
- } | null)[];
212
- social?: {
213
- facebook?: SeoSocialDataFragment;
214
- twitter?: SeoSocialDataFragment;
215
- };
216
- title?: string;
217
- };
218
-
219
- /**
220
- * @see {@link file://./../../queries/fragments/SEO.gql}
221
- *
222
- * @example
223
- * ```graphql
224
- * fragment seoSocialData on Ether_SeoSocialData {
225
- * description
226
- * image {
227
- * ...Media
228
- * }
229
- * title
230
- * __typename
231
- * }
232
- * ```
233
- */
234
- export type SeoSocialDataFragment = {
235
- __typename: Ether_SeoSocialData;
236
- description?: string;
237
- image?: MediaFragment;
238
- title?: string;
239
- };
240
-
241
-
242
- // --------------------------------------------------------------------------------
243
- // Operations
244
- // --------------------------------------------------------------------------------
245
-
246
- /**
247
- * @see {@link file://./../../queries/Entries.gql}
248
- *
249
- * @example
250
- * ```graphql
251
- * query Entries(
252
- * $section: [String]
253
- * $limit: Int = null
254
- * $offset: Int = null
255
- * $orderBy: String = null
256
- * $excludeIds: [QueryArgument] = null
257
- * $relatedToEntries: [EntryRelationCriteriaInput]
258
- * $relatedTo: [QueryArgument]
259
- * $search: String = null
260
- * $type: [String] = null
261
- * ) {
262
- * entries(
263
- * section: $section
264
- * limit: $limit
265
- * offset: $offset
266
- * orderBy: $orderBy
267
- * id: $excludeIds
268
- * relatedToEntries: $relatedToEntries
269
- * relatedTo: $relatedTo
270
- * search: $search
271
- * type: $type
272
- * ) {
273
- * ...EntryInterfaceType
274
- * }
275
- * entryCount(
276
- * section: $section
277
- * limit: $limit
278
- * offset: $offset
279
- * orderBy: $orderBy
280
- * id: $excludeIds
281
- * relatedToEntries: $relatedToEntries
282
- * search: $search
283
- * type: $type
284
- * )
285
- * }
286
- * ```
287
- */
288
- export type EntriesQuery = {
289
- /** This query is used to query for entries. */
290
- entries?: (EntryInterfaceTypeFragment | null)[];
291
- /** This query is used to return the number of entries. */
292
- entryCount: number;
293
- };
294
-
295
- /**
296
- * @see {@link file://./../../queries/Entry.gql}
297
- *
298
- * @example
299
- * ```graphql
300
- * query Entry(
301
- * $section: [String]
302
- * $slug: [String]
303
- * $uri: [String]
304
- * $site: [String]
305
- * $type: [String]
306
- * $level: Int
307
- * $hasDescendants: Boolean
308
- * ) {
309
- * entry(
310
- * section: $section
311
- * slug: $slug
312
- * uri: $uri
313
- * site: $site
314
- * type: $type
315
- * level: $level
316
- * hasDescendants: $hasDescendants
317
- * ) {
318
- * ...EntryInterfaceType
319
- * ...PageEntry
320
- * }
321
- * }
322
- * ```
323
- */
324
- export type EntryQuery = {
325
- /** This query is used to query for a single entry. */
326
- entry?: {
327
- __typename: EntryInterface;
328
- /** The ID of the entity */
329
- id?: string | number;
330
- /** The same element in other locales. */
331
- localized: LocalizedFragment[];
332
- /** The handle of the section that contains the entry. */
333
- sectionHandle?: string;
334
- /** The element’s slug. */
335
- slug?: string;
336
- /** The element’s title. */
337
- title?: string;
338
- /** The element’s full URL */
339
- url?: string;
340
- } & PageEntryFragment;
341
- };
342
-
343
- /**
344
- * @see {@link file://./../../queries/OrgSchema.gql}
345
- *
346
- * @example
347
- * ```graphql
348
- * query OrgSchema($site: String!) {
349
- * orgSchema(site: $site) {
350
- * type
351
- * name
352
- * legalName
353
- * url
354
- * logoUrl
355
- * email
356
- * telephone
357
- * sameAs
358
- * addresses {
359
- * streetAddress
360
- * addressLocality
361
- * addressRegion
362
- * postalCode
363
- * addressCountry
364
- * priceRange
365
- * openingHours
366
- * }
367
- * }
368
- * }
369
- * ```
370
- */
371
- export type OrgSchemaQuery = {
372
- /** Returns the default schema.org identity (Organization, LocalBusiness or Person) configured for the requested site handle. */
373
- orgSchema?: {
374
- /** One or more addresses/locations for this identity (e.g. multiple clinics for a multi-location business). Each address carries its own priceRange/openingHours, since those are place-specific. */
375
- addresses?: ({
376
- addressCountry?: string;
377
- addressLocality?: string;
378
- addressRegion?: string;
379
- /** e.g. ["Mo-Fr 09:00-18:00", "Sa 10:00-14:00"] for this specific location. Only meaningful for LocalBusiness-like identity types. */
380
- openingHours?: (string | null)[];
381
- postalCode?: string;
382
- /** e.g. "$" or "€€-€€€". Only meaningful for LocalBusiness-like identity types. */
383
- priceRange?: string;
384
- streetAddress?: string;
385
- } | null)[];
386
- email?: string;
387
- legalName?: string;
388
- logoUrl?: string;
389
- name?: string;
390
- sameAs?: (string | null)[];
391
- telephone?: string;
392
- /** The schema.org @type for this identity (Organization, LocalBusiness, MedicalClinic, Person, ...). */
393
- type?: string;
394
- url?: string;
395
- };
396
- };
397
-
398
- /**
399
- * @see {@link file://./../../queries/SiteConfig.gql}
400
- *
401
- * @example
402
- * ```graphql
403
- * query SiteConfig {
404
- * siteConfig {
405
- * siteName
406
- * siteUrl
407
- * }
408
- * }
409
- * ```
410
- */
411
- export type SiteConfigQuery = {
412
- /** Returns site metadata resolved from env defaults and Toolkit overrides. */
413
- siteConfig?: {
414
- siteName?: string;
415
- siteUrl?: string;
416
- };
417
- };
418
-
419
-
420
- // --------------------------------------------------------------------------------
421
- // Operation Variables
422
- // --------------------------------------------------------------------------------
423
-
424
- /** @see {@link file://./../../queries/Entries.gql} */
425
- export type EntriesQueryVariables = Exact<{
426
- excludeIds?: (any | null)[] | null;
427
- limit?: number | null;
428
- offset?: number | null;
429
- orderBy?: string | null;
430
- relatedTo?: (any | null)[] | null;
431
- relatedToEntries?: (EntryRelationCriteriaInput | null)[] | null;
432
- search?: string | null;
433
- section?: (string | null)[] | null;
434
- type?: (string | null)[] | null;
435
- }>;
436
-
437
- /** @see {@link file://./../../queries/Entry.gql} */
438
- export type EntryQueryVariables = Exact<{
439
- hasDescendants?: boolean | null;
440
- level?: number | null;
441
- section?: (string | null)[] | null;
442
- site?: (string | null)[] | null;
443
- slug?: (string | null)[] | null;
444
- type?: (string | null)[] | null;
445
- uri?: (string | null)[] | null;
446
- }>;
447
-
448
- /** @see {@link file://./../../queries/OrgSchema.gql} */
449
- export type OrgSchemaQueryVariables = Exact<{
450
- site: string;
451
- }>;
452
-
453
- /** @see {@link file://./../../queries/SiteConfig.gql} */
454
- export type SiteConfigQueryVariables = Exact<{ [key: string]: never; }>;
455
-
456
-
457
- // --------------------------------------------------------------------------------
458
- // Input Types
459
- // --------------------------------------------------------------------------------
460
-
461
- /**
462
- * @example
463
- * ```graphql
464
- * input AssetRelationCriteriaInput {
465
- * """Narrows the query results to only elements that have been archived."""
466
- * archived: Boolean
467
- * averageColor: [QueryArgument]
468
- *
469
- * """Narrows the query results based on the elements’ creation dates."""
470
- * dateCreated: [String]
471
- *
472
- * """
473
- * Narrows the query results based on the assets’ files’ last-modified dates.
474
- * """
475
- * dateModified: String
476
- *
477
- * """Narrows the query results based on the elements’ last-updated dates."""
478
- * dateUpdated: [String]
479
- *
480
- * """Narrows the query results based on the assets’ filenames."""
481
- * filename: [String]
482
- *
483
- * """
484
- * Causes the query results to be returned in the order specified by the `id` argument.
485
- * """
486
- * fixedOrder: Boolean
487
- *
488
- * """
489
- * Narrows the query results based on the folders the assets belong to, per the folders’ IDs.
490
- * """
491
- * folderId: [QueryArgument]
492
- *
493
- * """
494
- * Narrows the query results based on whether the assets have alternative text.
495
- * """
496
- * hasAlt: Boolean
497
- *
498
- * """Narrows the query results based on the assets’ image heights."""
499
- * height: [String]
500
- *
501
- * """Narrows the query results based on the elements’ IDs."""
502
- * id: [QueryArgument]
503
- *
504
- * """Causes the query results to be returned in reverse order."""
505
- * inReverse: Boolean
506
- *
507
- * """
508
- * Broadens the query results to include assets from any of the subfolders of the folder specified by `folderId`.
509
- * """
510
- * includeSubfolders: Boolean
511
- *
512
- * """Narrows the query results based on the assets’ file kinds."""
513
- * kind: [String]
514
- *
515
- * """
516
- * Determines which site(s) the elements should be queried in, based on their language.
517
- * """
518
- * language: [String]
519
- *
520
- * """Sets the limit for paginated results."""
521
- * limit: Int
522
- *
523
- * """
524
- * Narrows the query results to elements that do not relate to the provided element IDs.
525
- * """
526
- * notRelatedTo: [QueryArgument]
527
- *
528
- * """Sets the offset for paginated results."""
529
- * offset: Int
530
- *
531
- * """Sets the field the returned elements should be ordered by."""
532
- * orderBy: String
533
- *
534
- * """
535
- * Determines which site should be selected when querying multi-site elements.
536
- * """
537
- * preferSites: [QueryArgument]
538
- *
539
- * """Narrows the query results based on a reference string."""
540
- * ref: [String]
541
- *
542
- * """
543
- * Narrows the query results to elements that relate to the provided element IDs. This argument is ignored, if `relatedToAll` is also used.
544
- * """
545
- * relatedTo: [QueryArgument]
546
- *
547
- * """
548
- * Narrows the query results to elements that relate to *all* of the provided element IDs. Using this argument will cause `relatedTo` argument to be ignored. **This argument is deprecated.** `relatedTo: ["and", ...ids]` should be used instead.
549
- * """
550
- * relatedToAll: [QueryArgument]
551
- *
552
- * """
553
- * Narrows the query results to elements that relate to an asset list defined with this argument.
554
- * """
555
- * relatedToAssets: [AssetRelationCriteriaInput]
556
- *
557
- * """
558
- * Narrows the query results to elements that relate to a category list defined with this argument.
559
- * """
560
- * relatedToCategories: [CategoryRelationCriteriaInput]
561
- *
562
- * """
563
- * Narrows the query results to elements that relate to an entry list defined with this argument.
564
- * """
565
- * relatedToEntries: [EntryRelationCriteriaInput]
566
- *
567
- * """
568
- * Narrows the query results to elements that relate to a tag list defined with this argument.
569
- * """
570
- * relatedToTags: [TagRelationCriteriaInput]
571
- *
572
- * """
573
- * Narrows the query results to elements that relate to a use list defined with this argument.
574
- * """
575
- * relatedToUsers: [UserRelationCriteriaInput]
576
- *
577
- * """Narrows the relations based on the field they were created in."""
578
- * relatedViaField: [String]
579
- *
580
- * """Narrows the relations based on the site they were created in."""
581
- * relatedViaSite: [String]
582
- *
583
- * """Narrows the query results to only elements that match a search query."""
584
- * search: String
585
- *
586
- * """
587
- * Defines the default options that should be applied terms within the `search` argument.
588
- * """
589
- * searchTermOptions: SearchTermOptions
590
- *
591
- * """
592
- * Determines which site(s) the elements should be queried in. Defaults to the current (requested) site.
593
- * """
594
- * site: [String]
595
- *
596
- * """
597
- * Determines which site(s) the elements should be queried in. Defaults to the current (requested) site.
598
- * """
599
- * siteId: [QueryArgument]
600
- *
601
- * """
602
- * Narrows the query results based on the unique identifier for an element-site relation.
603
- * """
604
- * siteSettingsId: [QueryArgument]
605
- *
606
- * """Narrows the query results based on the assets’ file sizes (in bytes)."""
607
- * size: [String]
608
- *
609
- * """Narrows the query results based on the elements’ slugs."""
610
- * slug: [String]
611
- *
612
- * """Narrows the query results based on the elements’ statuses."""
613
- * status: [String]
614
- *
615
- * """Narrows the query results based on the elements’ titles."""
616
- * title: [String]
617
- *
618
- * """
619
- * Narrows the query results to only elements that have been soft-deleted.
620
- * """
621
- * trashed: Boolean
622
- *
623
- * """Narrows the query results based on the elements’ UIDs."""
624
- * uid: [String]
625
- *
626
- * """
627
- * Determines whether only elements with unique IDs should be returned by the query.
628
- * """
629
- * unique: Boolean
630
- *
631
- * """
632
- * Narrows the query results based on the user the assets were uploaded by, per the user’s ID.
633
- * """
634
- * uploader: QueryArgument
635
- *
636
- * """Narrows the query results based on the elements’ URIs."""
637
- * uri: [String]
638
- *
639
- * """
640
- * Narrows the query results based on the volumes the assets belong to, per the volumes’ handles.
641
- * """
642
- * volume: [String]
643
- *
644
- * """
645
- * Narrows the query results based on the volumes the assets belong to, per the volumes’ IDs.
646
- * """
647
- * volumeId: [QueryArgument]
648
- *
649
- * """Narrows the query results based on the assets’ image widths."""
650
- * width: [String]
651
- *
652
- * """A list of transform handles to preload."""
653
- * withTransforms: [String]
654
- * }
655
- * ```
656
- */
657
- export type AssetRelationCriteriaInput = {
658
- /** Narrows the query results to only elements that have been archived. */
659
- archived?: boolean | null;
660
- averageColor?: (any | null)[] | null;
661
- /** Narrows the query results based on the elements’ creation dates. */
662
- dateCreated?: (string | null)[] | null;
663
- /** Narrows the query results based on the assets’ files’ last-modified dates. */
664
- dateModified?: string | null;
665
- /** Narrows the query results based on the elements’ last-updated dates. */
666
- dateUpdated?: (string | null)[] | null;
667
- /** Narrows the query results based on the assets’ filenames. */
668
- filename?: (string | null)[] | null;
669
- /** Causes the query results to be returned in the order specified by the `id` argument. */
670
- fixedOrder?: boolean | null;
671
- /** Narrows the query results based on the folders the assets belong to, per the folders’ IDs. */
672
- folderId?: (any | null)[] | null;
673
- /** Narrows the query results based on whether the assets have alternative text. */
674
- hasAlt?: boolean | null;
675
- /** Narrows the query results based on the assets’ image heights. */
676
- height?: (string | null)[] | null;
677
- /** Narrows the query results based on the elements’ IDs. */
678
- id?: (any | null)[] | null;
679
- /** Causes the query results to be returned in reverse order. */
680
- inReverse?: boolean | null;
681
- /** Broadens the query results to include assets from any of the subfolders of the folder specified by `folderId`. */
682
- includeSubfolders?: boolean | null;
683
- /** Narrows the query results based on the assets’ file kinds. */
684
- kind?: (string | null)[] | null;
685
- /** Determines which site(s) the elements should be queried in, based on their language. */
686
- language?: (string | null)[] | null;
687
- /** Sets the limit for paginated results. */
688
- limit?: number | null;
689
- /** Narrows the query results to elements that do not relate to the provided element IDs. */
690
- notRelatedTo?: (any | null)[] | null;
691
- /** Sets the offset for paginated results. */
692
- offset?: number | null;
693
- /** Sets the field the returned elements should be ordered by. */
694
- orderBy?: string | null;
695
- /** Determines which site should be selected when querying multi-site elements. */
696
- preferSites?: (any | null)[] | null;
697
- /** Narrows the query results based on a reference string. */
698
- ref?: (string | null)[] | null;
699
- /** Narrows the query results to elements that relate to the provided element IDs. This argument is ignored, if `relatedToAll` is also used. */
700
- relatedTo?: (any | null)[] | null;
701
- /** Narrows the query results to elements that relate to *all* of the provided element IDs. Using this argument will cause `relatedTo` argument to be ignored. **This argument is deprecated.** `relatedTo: ["and", ...ids]` should be used instead. */
702
- relatedToAll?: (any | null)[] | null;
703
- /** Narrows the query results to elements that relate to an asset list defined with this argument. */
704
- relatedToAssets?: (AssetRelationCriteriaInput | null)[] | null;
705
- /** Narrows the query results to elements that relate to a category list defined with this argument. */
706
- relatedToCategories?: (CategoryRelationCriteriaInput | null)[] | null;
707
- /** Narrows the query results to elements that relate to an entry list defined with this argument. */
708
- relatedToEntries?: (EntryRelationCriteriaInput | null)[] | null;
709
- /** Narrows the query results to elements that relate to a tag list defined with this argument. */
710
- relatedToTags?: (TagRelationCriteriaInput | null)[] | null;
711
- /** Narrows the query results to elements that relate to a use list defined with this argument. */
712
- relatedToUsers?: (UserRelationCriteriaInput | null)[] | null;
713
- /** Narrows the relations based on the field they were created in. */
714
- relatedViaField?: (string | null)[] | null;
715
- /** Narrows the relations based on the site they were created in. */
716
- relatedViaSite?: (string | null)[] | null;
717
- /** Narrows the query results to only elements that match a search query. */
718
- search?: string | null;
719
- /** Defines the default options that should be applied terms within the `search` argument. */
720
- searchTermOptions?: SearchTermOptions | null;
721
- /** Determines which site(s) the elements should be queried in. Defaults to the current (requested) site. */
722
- site?: (string | null)[] | null;
723
- /** Determines which site(s) the elements should be queried in. Defaults to the current (requested) site. */
724
- siteId?: (any | null)[] | null;
725
- /** Narrows the query results based on the unique identifier for an element-site relation. */
726
- siteSettingsId?: (any | null)[] | null;
727
- /** Narrows the query results based on the assets’ file sizes (in bytes). */
728
- size?: (string | null)[] | null;
729
- /** Narrows the query results based on the elements’ slugs. */
730
- slug?: (string | null)[] | null;
731
- /** Narrows the query results based on the elements’ statuses. */
732
- status?: (string | null)[] | null;
733
- /** Narrows the query results based on the elements’ titles. */
734
- title?: (string | null)[] | null;
735
- /** Narrows the query results to only elements that have been soft-deleted. */
736
- trashed?: boolean | null;
737
- /** Narrows the query results based on the elements’ UIDs. */
738
- uid?: (string | null)[] | null;
739
- /** Determines whether only elements with unique IDs should be returned by the query. */
740
- unique?: boolean | null;
741
- /** Narrows the query results based on the user the assets were uploaded by, per the user’s ID. */
742
- uploader?: any | null;
743
- /** Narrows the query results based on the elements’ URIs. */
744
- uri?: (string | null)[] | null;
745
- /** Narrows the query results based on the volumes the assets belong to, per the volumes’ handles. */
746
- volume?: (string | null)[] | null;
747
- /** Narrows the query results based on the volumes the assets belong to, per the volumes’ IDs. */
748
- volumeId?: (any | null)[] | null;
749
- /** Narrows the query results based on the assets’ image widths. */
750
- width?: (string | null)[] | null;
751
- /** A list of transform handles to preload. */
752
- withTransforms?: (string | null)[] | null;
753
- };
754
-
755
- /**
756
- * @example
757
- * ```graphql
758
- * input CategoryRelationCriteriaInput {
759
- * """
760
- * Narrows the query results to only elements that are up to a certain distance away from the element in its structure specified by `ancestorOf`.
761
- * """
762
- * ancestorDist: Int
763
- *
764
- * """
765
- * Narrows the query results to only elements that are ancestors of another element in its structure, provided by its ID.
766
- * """
767
- * ancestorOf: Int
768
- *
769
- * """Narrows the query results to only elements that have been archived."""
770
- * archived: Boolean
771
- *
772
- * """Narrows the query results based on the elements’ creation dates."""
773
- * dateCreated: [String]
774
- *
775
- * """Narrows the query results based on the elements’ last-updated dates."""
776
- * dateUpdated: [String]
777
- *
778
- * """
779
- * Narrows the query results to only elements that are up to a certain distance away from the element in its structure specified by `descendantOf`.
780
- * """
781
- * descendantDist: Int
782
- *
783
- * """
784
- * Narrows the query results to only elements that are descendants of another element in its structure provided by its ID.
785
- * """
786
- * descendantOf: Int
787
- *
788
- * """
789
- * Whether to only return categories that the user has permission to edit.
790
- * """
791
- * editable: Boolean
792
- *
793
- * """
794
- * Causes the query results to be returned in the order specified by the `id` argument.
795
- * """
796
- * fixedOrder: Boolean
797
- *
798
- * """
799
- * Narrows the query results based on the category groups the categories belong to per the group’s handles.
800
- * """
801
- * group: [String]
802
- *
803
- * """
804
- * Narrows the query results based on the category groups the categories belong to, per the groups’ IDs.
805
- * """
806
- * groupId: [QueryArgument]
807
- *
808
- * """
809
- * Narrows the query results based on whether the elements have any descendants in their structure.
810
- * """
811
- * hasDescendants: Boolean
812
- *
813
- * """Narrows the query results based on the elements’ IDs."""
814
- * id: [QueryArgument]
815
- *
816
- * """Causes the query results to be returned in reverse order."""
817
- * inReverse: Boolean
818
- *
819
- * """
820
- * Determines which site(s) the elements should be queried in, based on their language.
821
- * """
822
- * language: [String]
823
- *
824
- * """
825
- * Narrows the query results based on whether the elements are “leaves” in their structure (element with no descendants).
826
- * """
827
- * leaves: Boolean
828
- *
829
- * """
830
- * Narrows the query results based on the elements’ level within the structure.
831
- * """
832
- * level: Int
833
- *
834
- * """Sets the limit for paginated results."""
835
- * limit: Int
836
- *
837
- * """
838
- * Narrows the query results to only the entry that comes immediately after another element in its structure, provided by its ID.
839
- * """
840
- * nextSiblingOf: Int
841
- *
842
- * """
843
- * Narrows the query results to elements that do not relate to the provided element IDs.
844
- * """
845
- * notRelatedTo: [QueryArgument]
846
- *
847
- * """Sets the offset for paginated results."""
848
- * offset: Int
849
- *
850
- * """Sets the field the returned elements should be ordered by."""
851
- * orderBy: String
852
- *
853
- * """
854
- * Narrows the query results to only entries that are positioned after another element in its structure, provided by its ID.
855
- * """
856
- * positionedAfter: Int
857
- *
858
- * """
859
- * Narrows the query results to only entries that are positioned before another element in its structure, provided by its ID.
860
- * """
861
- * positionedBefore: Int
862
- *
863
- * """
864
- * Determines which site should be selected when querying multi-site elements.
865
- * """
866
- * preferSites: [QueryArgument]
867
- *
868
- * """
869
- * Narrows the query results to only the entry that comes immediately before another element in its structure, provided by its ID.
870
- * """
871
- * prevSiblingOf: Int
872
- *
873
- * """Narrows the query results based on a reference string."""
874
- * ref: [String]
875
- *
876
- * """
877
- * Narrows the query results to elements that relate to the provided element IDs. This argument is ignored, if `relatedToAll` is also used.
878
- * """
879
- * relatedTo: [QueryArgument]
880
- *
881
- * """
882
- * Narrows the query results to elements that relate to *all* of the provided element IDs. Using this argument will cause `relatedTo` argument to be ignored. **This argument is deprecated.** `relatedTo: ["and", ...ids]` should be used instead.
883
- * """
884
- * relatedToAll: [QueryArgument]
885
- *
886
- * """
887
- * Narrows the query results to elements that relate to an asset list defined with this argument.
888
- * """
889
- * relatedToAssets: [AssetRelationCriteriaInput]
890
- *
891
- * """
892
- * Narrows the query results to elements that relate to a category list defined with this argument.
893
- * """
894
- * relatedToCategories: [CategoryRelationCriteriaInput]
895
- *
896
- * """
897
- * Narrows the query results to elements that relate to an entry list defined with this argument.
898
- * """
899
- * relatedToEntries: [EntryRelationCriteriaInput]
900
- *
901
- * """
902
- * Narrows the query results to elements that relate to a tag list defined with this argument.
903
- * """
904
- * relatedToTags: [TagRelationCriteriaInput]
905
- *
906
- * """
907
- * Narrows the query results to elements that relate to a use list defined with this argument.
908
- * """
909
- * relatedToUsers: [UserRelationCriteriaInput]
910
- *
911
- * """Narrows the relations based on the field they were created in."""
912
- * relatedViaField: [String]
913
- *
914
- * """Narrows the relations based on the site they were created in."""
915
- * relatedViaSite: [String]
916
- *
917
- * """Narrows the query results to only elements that match a search query."""
918
- * search: String
919
- *
920
- * """
921
- * Defines the default options that should be applied terms within the `search` argument.
922
- * """
923
- * searchTermOptions: SearchTermOptions
924
- *
925
- * """
926
- * Determines which site(s) the elements should be queried in. Defaults to the current (requested) site.
927
- * """
928
- * site: [String]
929
- *
930
- * """
931
- * Determines which site(s) the elements should be queried in. Defaults to the current (requested) site.
932
- * """
933
- * siteId: [QueryArgument]
934
- *
935
- * """
936
- * Narrows the query results based on the unique identifier for an element-site relation.
937
- * """
938
- * siteSettingsId: [QueryArgument]
939
- *
940
- * """Narrows the query results based on the elements’ slugs."""
941
- * slug: [String]
942
- *
943
- * """Narrows the query results based on the elements’ statuses."""
944
- * status: [String]
945
- *
946
- * """Determines which structure data should be joined into the query."""
947
- * structureId: Int
948
- *
949
- * """Narrows the query results based on the elements’ titles."""
950
- * title: [String]
951
- *
952
- * """
953
- * Narrows the query results to only elements that have been soft-deleted.
954
- * """
955
- * trashed: Boolean
956
- *
957
- * """Narrows the query results based on the elements’ UIDs."""
958
- * uid: [String]
959
- *
960
- * """
961
- * Determines whether only elements with unique IDs should be returned by the query.
962
- * """
963
- * unique: Boolean
964
- *
965
- * """Narrows the query results based on the elements’ URIs."""
966
- * uri: [String]
967
- *
968
- * """
969
- * Explicitly determines whether the query should join in the structure data.
970
- * """
971
- * withStructure: Boolean
972
- * }
973
- * ```
974
- */
975
- export type CategoryRelationCriteriaInput = {
976
- /** Narrows the query results to only elements that are up to a certain distance away from the element in its structure specified by `ancestorOf`. */
977
- ancestorDist?: number | null;
978
- /** Narrows the query results to only elements that are ancestors of another element in its structure, provided by its ID. */
979
- ancestorOf?: number | null;
980
- /** Narrows the query results to only elements that have been archived. */
981
- archived?: boolean | null;
982
- /** Narrows the query results based on the elements’ creation dates. */
983
- dateCreated?: (string | null)[] | null;
984
- /** Narrows the query results based on the elements’ last-updated dates. */
985
- dateUpdated?: (string | null)[] | null;
986
- /** Narrows the query results to only elements that are up to a certain distance away from the element in its structure specified by `descendantOf`. */
987
- descendantDist?: number | null;
988
- /** Narrows the query results to only elements that are descendants of another element in its structure provided by its ID. */
989
- descendantOf?: number | null;
990
- /** Whether to only return categories that the user has permission to edit. */
991
- editable?: boolean | null;
992
- /** Causes the query results to be returned in the order specified by the `id` argument. */
993
- fixedOrder?: boolean | null;
994
- /** Narrows the query results based on the category groups the categories belong to per the group’s handles. */
995
- group?: (string | null)[] | null;
996
- /** Narrows the query results based on the category groups the categories belong to, per the groups’ IDs. */
997
- groupId?: (any | null)[] | null;
998
- /** Narrows the query results based on whether the elements have any descendants in their structure. */
999
- hasDescendants?: boolean | null;
1000
- /** Narrows the query results based on the elements’ IDs. */
1001
- id?: (any | null)[] | null;
1002
- /** Causes the query results to be returned in reverse order. */
1003
- inReverse?: boolean | null;
1004
- /** Determines which site(s) the elements should be queried in, based on their language. */
1005
- language?: (string | null)[] | null;
1006
- /** Narrows the query results based on whether the elements are “leaves” in their structure (element with no descendants). */
1007
- leaves?: boolean | null;
1008
- /** Narrows the query results based on the elements’ level within the structure. */
1009
- level?: number | null;
1010
- /** Sets the limit for paginated results. */
1011
- limit?: number | null;
1012
- /** Narrows the query results to only the entry that comes immediately after another element in its structure, provided by its ID. */
1013
- nextSiblingOf?: number | null;
1014
- /** Narrows the query results to elements that do not relate to the provided element IDs. */
1015
- notRelatedTo?: (any | null)[] | null;
1016
- /** Sets the offset for paginated results. */
1017
- offset?: number | null;
1018
- /** Sets the field the returned elements should be ordered by. */
1019
- orderBy?: string | null;
1020
- /** Narrows the query results to only entries that are positioned after another element in its structure, provided by its ID. */
1021
- positionedAfter?: number | null;
1022
- /** Narrows the query results to only entries that are positioned before another element in its structure, provided by its ID. */
1023
- positionedBefore?: number | null;
1024
- /** Determines which site should be selected when querying multi-site elements. */
1025
- preferSites?: (any | null)[] | null;
1026
- /** Narrows the query results to only the entry that comes immediately before another element in its structure, provided by its ID. */
1027
- prevSiblingOf?: number | null;
1028
- /** Narrows the query results based on a reference string. */
1029
- ref?: (string | null)[] | null;
1030
- /** Narrows the query results to elements that relate to the provided element IDs. This argument is ignored, if `relatedToAll` is also used. */
1031
- relatedTo?: (any | null)[] | null;
1032
- /** Narrows the query results to elements that relate to *all* of the provided element IDs. Using this argument will cause `relatedTo` argument to be ignored. **This argument is deprecated.** `relatedTo: ["and", ...ids]` should be used instead. */
1033
- relatedToAll?: (any | null)[] | null;
1034
- /** Narrows the query results to elements that relate to an asset list defined with this argument. */
1035
- relatedToAssets?: (AssetRelationCriteriaInput | null)[] | null;
1036
- /** Narrows the query results to elements that relate to a category list defined with this argument. */
1037
- relatedToCategories?: (CategoryRelationCriteriaInput | null)[] | null;
1038
- /** Narrows the query results to elements that relate to an entry list defined with this argument. */
1039
- relatedToEntries?: (EntryRelationCriteriaInput | null)[] | null;
1040
- /** Narrows the query results to elements that relate to a tag list defined with this argument. */
1041
- relatedToTags?: (TagRelationCriteriaInput | null)[] | null;
1042
- /** Narrows the query results to elements that relate to a use list defined with this argument. */
1043
- relatedToUsers?: (UserRelationCriteriaInput | null)[] | null;
1044
- /** Narrows the relations based on the field they were created in. */
1045
- relatedViaField?: (string | null)[] | null;
1046
- /** Narrows the relations based on the site they were created in. */
1047
- relatedViaSite?: (string | null)[] | null;
1048
- /** Narrows the query results to only elements that match a search query. */
1049
- search?: string | null;
1050
- /** Defines the default options that should be applied terms within the `search` argument. */
1051
- searchTermOptions?: SearchTermOptions | null;
1052
- /** Determines which site(s) the elements should be queried in. Defaults to the current (requested) site. */
1053
- site?: (string | null)[] | null;
1054
- /** Determines which site(s) the elements should be queried in. Defaults to the current (requested) site. */
1055
- siteId?: (any | null)[] | null;
1056
- /** Narrows the query results based on the unique identifier for an element-site relation. */
1057
- siteSettingsId?: (any | null)[] | null;
1058
- /** Narrows the query results based on the elements’ slugs. */
1059
- slug?: (string | null)[] | null;
1060
- /** Narrows the query results based on the elements’ statuses. */
1061
- status?: (string | null)[] | null;
1062
- /** Determines which structure data should be joined into the query. */
1063
- structureId?: number | null;
1064
- /** Narrows the query results based on the elements’ titles. */
1065
- title?: (string | null)[] | null;
1066
- /** Narrows the query results to only elements that have been soft-deleted. */
1067
- trashed?: boolean | null;
1068
- /** Narrows the query results based on the elements’ UIDs. */
1069
- uid?: (string | null)[] | null;
1070
- /** Determines whether only elements with unique IDs should be returned by the query. */
1071
- unique?: boolean | null;
1072
- /** Narrows the query results based on the elements’ URIs. */
1073
- uri?: (string | null)[] | null;
1074
- /** Explicitly determines whether the query should join in the structure data. */
1075
- withStructure?: boolean | null;
1076
- };
1077
-
1078
- /**
1079
- * @example
1080
- * ```graphql
1081
- * input EntryRelationCriteriaInput {
1082
- * """
1083
- * Narrows the query results to only entries that were posted on or after a certain date.
1084
- * """
1085
- * after: String
1086
- *
1087
- * """
1088
- * Narrows the query results to only elements that are up to a certain distance away from the element in its structure specified by `ancestorOf`.
1089
- * """
1090
- * ancestorDist: Int
1091
- *
1092
- * """
1093
- * Narrows the query results to only elements that are ancestors of another element in its structure, provided by its ID.
1094
- * """
1095
- * ancestorOf: Int
1096
- *
1097
- * """Narrows the query results to only elements that have been archived."""
1098
- * archived: Boolean
1099
- *
1100
- * """
1101
- * Narrows the query results based on the user group the entries’ authors belong to.
1102
- * """
1103
- * authorGroup: [String]
1104
- *
1105
- * """
1106
- * Narrows the query results based on the user group the entries’ authors belong to, per the groups’ IDs.
1107
- * """
1108
- * authorGroupId: [QueryArgument]
1109
- *
1110
- * """Narrows the query results based on the entries’ authors."""
1111
- * authorId: [QueryArgument]
1112
- *
1113
- * """
1114
- * Narrows the query results to only entries that were posted before a certain date.
1115
- * """
1116
- * before: String
1117
- *
1118
- * """Narrows the query results based on the elements’ creation dates."""
1119
- * dateCreated: [String]
1120
- *
1121
- * """Narrows the query results based on the elements’ last-updated dates."""
1122
- * dateUpdated: [String]
1123
- *
1124
- * """
1125
- * Narrows the query results to only elements that are up to a certain distance away from the element in its structure specified by `descendantOf`.
1126
- * """
1127
- * descendantDist: Int
1128
- *
1129
- * """
1130
- * Narrows the query results to only elements that are descendants of another element in its structure provided by its ID.
1131
- * """
1132
- * descendantOf: Int
1133
- *
1134
- * """The drafts’ creator ID"""
1135
- * draftCreator: Int
1136
- *
1137
- * """The ID of the draft to return (from the `drafts` table)"""
1138
- * draftId: Int
1139
- *
1140
- * """
1141
- * Narrows the query results to only drafts of a given element. Set to `false` to fetch unpublished drafts.
1142
- * """
1143
- * draftOf: QueryArgument
1144
- *
1145
- * """Whether draft elements should be returned."""
1146
- * drafts: Boolean
1147
- *
1148
- * """Whether to only return entries that the user has permission to edit."""
1149
- * editable: Boolean
1150
- *
1151
- * """Narrows the query results based on the entries’ expiry dates."""
1152
- * expiryDate: [String]
1153
- *
1154
- * """
1155
- * Narrows the query results based on the field the entries are contained by.
1156
- * """
1157
- * field: [String]
1158
- *
1159
- * """
1160
- * Narrows the query results based on the field the entries are contained by, per the fields’ IDs.
1161
- * """
1162
- * fieldId: [QueryArgument]
1163
- *
1164
- * """
1165
- * Causes the query results to be returned in the order specified by the `id` argument.
1166
- * """
1167
- * fixedOrder: Boolean
1168
- *
1169
- * """
1170
- * Narrows the query results based on whether the elements have any descendants in their structure.
1171
- * """
1172
- * hasDescendants: Boolean
1173
- *
1174
- * """Narrows the query results based on the elements’ IDs."""
1175
- * id: [QueryArgument]
1176
- *
1177
- * """Causes the query results to be returned in reverse order."""
1178
- * inReverse: Boolean
1179
- *
1180
- * """
1181
- * Determines which site(s) the elements should be queried in, based on their language.
1182
- * """
1183
- * language: [String]
1184
- *
1185
- * """
1186
- * Narrows the query results based on whether the elements are “leaves” in their structure (element with no descendants).
1187
- * """
1188
- * leaves: Boolean
1189
- *
1190
- * """
1191
- * Narrows the query results based on the elements’ level within the structure.
1192
- * """
1193
- * level: Int
1194
- *
1195
- * """Sets the limit for paginated results."""
1196
- * limit: Int
1197
- *
1198
- * """
1199
- * Narrows the query results to only the entry that comes immediately after another element in its structure, provided by its ID.
1200
- * """
1201
- * nextSiblingOf: Int
1202
- *
1203
- * """
1204
- * Narrows the query results to elements that do not relate to the provided element IDs.
1205
- * """
1206
- * notRelatedTo: [QueryArgument]
1207
- *
1208
- * """Sets the offset for paginated results."""
1209
- * offset: Int
1210
- *
1211
- * """Sets the field the returned elements should be ordered by."""
1212
- * orderBy: String
1213
- * orgSchema: [QueryArgument]
1214
- *
1215
- * """
1216
- * Narrows the query results based on the owner element of the entries, per the owners’ IDs.
1217
- * """
1218
- * ownerId: [QueryArgument]
1219
- *
1220
- * """
1221
- * Narrows the query results to only entries that are positioned after another element in its structure, provided by its ID.
1222
- * """
1223
- * positionedAfter: Int
1224
- *
1225
- * """
1226
- * Narrows the query results to only entries that are positioned before another element in its structure, provided by its ID.
1227
- * """
1228
- * positionedBefore: Int
1229
- *
1230
- * """Narrows the query results based on the entries’ post dates."""
1231
- * postDate: [String]
1232
- *
1233
- * """
1234
- * Determines which site should be selected when querying multi-site elements.
1235
- * """
1236
- * preferSites: [QueryArgument]
1237
- *
1238
- * """
1239
- * Narrows the query results to only the entry that comes immediately before another element in its structure, provided by its ID.
1240
- * """
1241
- * prevSiblingOf: Int
1242
- *
1243
- * """
1244
- * Narrows the query results based on the primary owner element of the entries, per the owners’ IDs.
1245
- * """
1246
- * primaryOwnerId: [QueryArgument]
1247
- *
1248
- * """Whether provisional drafts should be returned."""
1249
- * provisionalDrafts: Boolean
1250
- *
1251
- * """Narrows the query results based on a reference string."""
1252
- * ref: [String]
1253
- *
1254
- * """
1255
- * Narrows the query results to elements that relate to the provided element IDs. This argument is ignored, if `relatedToAll` is also used.
1256
- * """
1257
- * relatedTo: [QueryArgument]
1258
- *
1259
- * """
1260
- * Narrows the query results to elements that relate to *all* of the provided element IDs. Using this argument will cause `relatedTo` argument to be ignored. **This argument is deprecated.** `relatedTo: ["and", ...ids]` should be used instead.
1261
- * """
1262
- * relatedToAll: [QueryArgument]
1263
- *
1264
- * """
1265
- * Narrows the query results to elements that relate to an asset list defined with this argument.
1266
- * """
1267
- * relatedToAssets: [AssetRelationCriteriaInput]
1268
- *
1269
- * """
1270
- * Narrows the query results to elements that relate to a category list defined with this argument.
1271
- * """
1272
- * relatedToCategories: [CategoryRelationCriteriaInput]
1273
- *
1274
- * """
1275
- * Narrows the query results to elements that relate to an entry list defined with this argument.
1276
- * """
1277
- * relatedToEntries: [EntryRelationCriteriaInput]
1278
- *
1279
- * """
1280
- * Narrows the query results to elements that relate to a tag list defined with this argument.
1281
- * """
1282
- * relatedToTags: [TagRelationCriteriaInput]
1283
- *
1284
- * """
1285
- * Narrows the query results to elements that relate to a use list defined with this argument.
1286
- * """
1287
- * relatedToUsers: [UserRelationCriteriaInput]
1288
- *
1289
- * """Narrows the relations based on the field they were created in."""
1290
- * relatedViaField: [String]
1291
- *
1292
- * """Narrows the relations based on the site they were created in."""
1293
- * relatedViaSite: [String]
1294
- *
1295
- * """The revisions’ creator ID"""
1296
- * revisionCreator: Int
1297
- *
1298
- * """The ID of the revision to return (from the `revisions` table)"""
1299
- * revisionId: Int
1300
- *
1301
- * """The source element ID that revisions should be returned for"""
1302
- * revisionOf: QueryArgument
1303
- *
1304
- * """Whether revision elements should be returned."""
1305
- * revisions: Boolean
1306
- *
1307
- * """Narrows the query results to only elements that match a search query."""
1308
- * search: String
1309
- *
1310
- * """
1311
- * Defines the default options that should be applied terms within the `search` argument.
1312
- * """
1313
- * searchTermOptions: SearchTermOptions
1314
- *
1315
- * """
1316
- * Narrows the query results based on the section handles the entries belong to.
1317
- * """
1318
- * section: [String]
1319
- *
1320
- * """
1321
- * Narrows the query results based on the sections the entries belong to, per the sections’ IDs.
1322
- * """
1323
- * sectionId: [QueryArgument]
1324
- * seo: [QueryArgument]
1325
- *
1326
- * """
1327
- * Determines which site(s) the elements should be queried in. Defaults to the current (requested) site.
1328
- * """
1329
- * site: [String]
1330
- *
1331
- * """
1332
- * Determines which site(s) the elements should be queried in. Defaults to the current (requested) site.
1333
- * """
1334
- * siteId: [QueryArgument]
1335
- *
1336
- * """
1337
- * Narrows the query results based on the unique identifier for an element-site relation.
1338
- * """
1339
- * siteSettingsId: [QueryArgument]
1340
- *
1341
- * """Narrows the query results based on the elements’ slugs."""
1342
- * slug: [String]
1343
- *
1344
- * """Narrows the query results based on the elements’ statuses."""
1345
- * status: [String]
1346
- *
1347
- * """Determines which structure data should be joined into the query."""
1348
- * structureId: Int
1349
- *
1350
- * """Narrows the query results based on the elements’ titles."""
1351
- * title: [String]
1352
- *
1353
- * """
1354
- * Narrows the query results to only elements that have been soft-deleted.
1355
- * """
1356
- * trashed: Boolean
1357
- *
1358
- * """Narrows the query results based on the entries’ entry type handles."""
1359
- * type: [String]
1360
- *
1361
- * """
1362
- * Narrows the query results based on the entries’ entry types, per the types’ IDs.
1363
- * """
1364
- * typeId: [QueryArgument]
1365
- *
1366
- * """Narrows the query results based on the elements’ UIDs."""
1367
- * uid: [String]
1368
- *
1369
- * """
1370
- * Determines whether only elements with unique IDs should be returned by the query.
1371
- * """
1372
- * unique: Boolean
1373
- *
1374
- * """Narrows the query results based on the elements’ URIs."""
1375
- * uri: [String]
1376
- *
1377
- * """
1378
- * Whether canonical elements should be replaced with provisional drafts if those exist.
1379
- * """
1380
- * withProvisionalDrafts: Boolean
1381
- *
1382
- * """
1383
- * Explicitly determines whether the query should join in the structure data.
1384
- * """
1385
- * withStructure: Boolean
1386
- * }
1387
- * ```
1388
- */
1389
- export type EntryRelationCriteriaInput = {
1390
- /** Narrows the query results to only entries that were posted on or after a certain date. */
1391
- after?: string | null;
1392
- /** Narrows the query results to only elements that are up to a certain distance away from the element in its structure specified by `ancestorOf`. */
1393
- ancestorDist?: number | null;
1394
- /** Narrows the query results to only elements that are ancestors of another element in its structure, provided by its ID. */
1395
- ancestorOf?: number | null;
1396
- /** Narrows the query results to only elements that have been archived. */
1397
- archived?: boolean | null;
1398
- /** Narrows the query results based on the user group the entries’ authors belong to. */
1399
- authorGroup?: (string | null)[] | null;
1400
- /** Narrows the query results based on the user group the entries’ authors belong to, per the groups’ IDs. */
1401
- authorGroupId?: (any | null)[] | null;
1402
- /** Narrows the query results based on the entries’ authors. */
1403
- authorId?: (any | null)[] | null;
1404
- /** Narrows the query results to only entries that were posted before a certain date. */
1405
- before?: string | null;
1406
- /** Narrows the query results based on the elements’ creation dates. */
1407
- dateCreated?: (string | null)[] | null;
1408
- /** Narrows the query results based on the elements’ last-updated dates. */
1409
- dateUpdated?: (string | null)[] | null;
1410
- /** Narrows the query results to only elements that are up to a certain distance away from the element in its structure specified by `descendantOf`. */
1411
- descendantDist?: number | null;
1412
- /** Narrows the query results to only elements that are descendants of another element in its structure provided by its ID. */
1413
- descendantOf?: number | null;
1414
- /** The drafts’ creator ID */
1415
- draftCreator?: number | null;
1416
- /** The ID of the draft to return (from the `drafts` table) */
1417
- draftId?: number | null;
1418
- /** Narrows the query results to only drafts of a given element. Set to `false` to fetch unpublished drafts. */
1419
- draftOf?: any | null;
1420
- /** Whether draft elements should be returned. */
1421
- drafts?: boolean | null;
1422
- /** Whether to only return entries that the user has permission to edit. */
1423
- editable?: boolean | null;
1424
- /** Narrows the query results based on the entries’ expiry dates. */
1425
- expiryDate?: (string | null)[] | null;
1426
- /** Narrows the query results based on the field the entries are contained by. */
1427
- field?: (string | null)[] | null;
1428
- /** Narrows the query results based on the field the entries are contained by, per the fields’ IDs. */
1429
- fieldId?: (any | null)[] | null;
1430
- /** Causes the query results to be returned in the order specified by the `id` argument. */
1431
- fixedOrder?: boolean | null;
1432
- /** Narrows the query results based on whether the elements have any descendants in their structure. */
1433
- hasDescendants?: boolean | null;
1434
- /** Narrows the query results based on the elements’ IDs. */
1435
- id?: (any | null)[] | null;
1436
- /** Causes the query results to be returned in reverse order. */
1437
- inReverse?: boolean | null;
1438
- /** Determines which site(s) the elements should be queried in, based on their language. */
1439
- language?: (string | null)[] | null;
1440
- /** Narrows the query results based on whether the elements are “leaves” in their structure (element with no descendants). */
1441
- leaves?: boolean | null;
1442
- /** Narrows the query results based on the elements’ level within the structure. */
1443
- level?: number | null;
1444
- /** Sets the limit for paginated results. */
1445
- limit?: number | null;
1446
- /** Narrows the query results to only the entry that comes immediately after another element in its structure, provided by its ID. */
1447
- nextSiblingOf?: number | null;
1448
- /** Narrows the query results to elements that do not relate to the provided element IDs. */
1449
- notRelatedTo?: (any | null)[] | null;
1450
- /** Sets the offset for paginated results. */
1451
- offset?: number | null;
1452
- /** Sets the field the returned elements should be ordered by. */
1453
- orderBy?: string | null;
1454
- orgSchema?: (any | null)[] | null;
1455
- /** Narrows the query results based on the owner element of the entries, per the owners’ IDs. */
1456
- ownerId?: (any | null)[] | null;
1457
- /** Narrows the query results to only entries that are positioned after another element in its structure, provided by its ID. */
1458
- positionedAfter?: number | null;
1459
- /** Narrows the query results to only entries that are positioned before another element in its structure, provided by its ID. */
1460
- positionedBefore?: number | null;
1461
- /** Narrows the query results based on the entries’ post dates. */
1462
- postDate?: (string | null)[] | null;
1463
- /** Determines which site should be selected when querying multi-site elements. */
1464
- preferSites?: (any | null)[] | null;
1465
- /** Narrows the query results to only the entry that comes immediately before another element in its structure, provided by its ID. */
1466
- prevSiblingOf?: number | null;
1467
- /** Narrows the query results based on the primary owner element of the entries, per the owners’ IDs. */
1468
- primaryOwnerId?: (any | null)[] | null;
1469
- /** Whether provisional drafts should be returned. */
1470
- provisionalDrafts?: boolean | null;
1471
- /** Narrows the query results based on a reference string. */
1472
- ref?: (string | null)[] | null;
1473
- /** Narrows the query results to elements that relate to the provided element IDs. This argument is ignored, if `relatedToAll` is also used. */
1474
- relatedTo?: (any | null)[] | null;
1475
- /** Narrows the query results to elements that relate to *all* of the provided element IDs. Using this argument will cause `relatedTo` argument to be ignored. **This argument is deprecated.** `relatedTo: ["and", ...ids]` should be used instead. */
1476
- relatedToAll?: (any | null)[] | null;
1477
- /** Narrows the query results to elements that relate to an asset list defined with this argument. */
1478
- relatedToAssets?: (AssetRelationCriteriaInput | null)[] | null;
1479
- /** Narrows the query results to elements that relate to a category list defined with this argument. */
1480
- relatedToCategories?: (CategoryRelationCriteriaInput | null)[] | null;
1481
- /** Narrows the query results to elements that relate to an entry list defined with this argument. */
1482
- relatedToEntries?: (EntryRelationCriteriaInput | null)[] | null;
1483
- /** Narrows the query results to elements that relate to a tag list defined with this argument. */
1484
- relatedToTags?: (TagRelationCriteriaInput | null)[] | null;
1485
- /** Narrows the query results to elements that relate to a use list defined with this argument. */
1486
- relatedToUsers?: (UserRelationCriteriaInput | null)[] | null;
1487
- /** Narrows the relations based on the field they were created in. */
1488
- relatedViaField?: (string | null)[] | null;
1489
- /** Narrows the relations based on the site they were created in. */
1490
- relatedViaSite?: (string | null)[] | null;
1491
- /** The revisions’ creator ID */
1492
- revisionCreator?: number | null;
1493
- /** The ID of the revision to return (from the `revisions` table) */
1494
- revisionId?: number | null;
1495
- /** The source element ID that revisions should be returned for */
1496
- revisionOf?: any | null;
1497
- /** Whether revision elements should be returned. */
1498
- revisions?: boolean | null;
1499
- /** Narrows the query results to only elements that match a search query. */
1500
- search?: string | null;
1501
- /** Defines the default options that should be applied terms within the `search` argument. */
1502
- searchTermOptions?: SearchTermOptions | null;
1503
- /** Narrows the query results based on the section handles the entries belong to. */
1504
- section?: (string | null)[] | null;
1505
- /** Narrows the query results based on the sections the entries belong to, per the sections’ IDs. */
1506
- sectionId?: (any | null)[] | null;
1507
- seo?: (any | null)[] | null;
1508
- /** Determines which site(s) the elements should be queried in. Defaults to the current (requested) site. */
1509
- site?: (string | null)[] | null;
1510
- /** Determines which site(s) the elements should be queried in. Defaults to the current (requested) site. */
1511
- siteId?: (any | null)[] | null;
1512
- /** Narrows the query results based on the unique identifier for an element-site relation. */
1513
- siteSettingsId?: (any | null)[] | null;
1514
- /** Narrows the query results based on the elements’ slugs. */
1515
- slug?: (string | null)[] | null;
1516
- /** Narrows the query results based on the elements’ statuses. */
1517
- status?: (string | null)[] | null;
1518
- /** Determines which structure data should be joined into the query. */
1519
- structureId?: number | null;
1520
- /** Narrows the query results based on the elements’ titles. */
1521
- title?: (string | null)[] | null;
1522
- /** Narrows the query results to only elements that have been soft-deleted. */
1523
- trashed?: boolean | null;
1524
- /** Narrows the query results based on the entries’ entry type handles. */
1525
- type?: (string | null)[] | null;
1526
- /** Narrows the query results based on the entries’ entry types, per the types’ IDs. */
1527
- typeId?: (any | null)[] | null;
1528
- /** Narrows the query results based on the elements’ UIDs. */
1529
- uid?: (string | null)[] | null;
1530
- /** Determines whether only elements with unique IDs should be returned by the query. */
1531
- unique?: boolean | null;
1532
- /** Narrows the query results based on the elements’ URIs. */
1533
- uri?: (string | null)[] | null;
1534
- /** Whether canonical elements should be replaced with provisional drafts if those exist. */
1535
- withProvisionalDrafts?: boolean | null;
1536
- /** Explicitly determines whether the query should join in the structure data. */
1537
- withStructure?: boolean | null;
1538
- };
1539
-
1540
- /**
1541
- * @example
1542
- * ```graphql
1543
- * input SearchTermOptions {
1544
- * exact: Boolean
1545
- * exclude: Boolean
1546
- * subLeft: Boolean
1547
- * subRight: Boolean
1548
- * }
1549
- * ```
1550
- */
1551
- export type SearchTermOptions = {
1552
- exact?: boolean | null;
1553
- exclude?: boolean | null;
1554
- subLeft?: boolean | null;
1555
- subRight?: boolean | null;
1556
- };
1557
-
1558
- /**
1559
- * @example
1560
- * ```graphql
1561
- * input TagRelationCriteriaInput {
1562
- * """Narrows the query results to only elements that have been archived."""
1563
- * archived: Boolean
1564
- *
1565
- * """Narrows the query results based on the elements’ creation dates."""
1566
- * dateCreated: [String]
1567
- *
1568
- * """Narrows the query results based on the elements’ last-updated dates."""
1569
- * dateUpdated: [String]
1570
- *
1571
- * """
1572
- * Causes the query results to be returned in the order specified by the `id` argument.
1573
- * """
1574
- * fixedOrder: Boolean
1575
- *
1576
- * """
1577
- * Narrows the query results based on the tag groups the tags belong to per the group’s handles.
1578
- * """
1579
- * group: [String]
1580
- *
1581
- * """
1582
- * Narrows the query results based on the tag groups the tags belong to, per the groups’ IDs.
1583
- * """
1584
- * groupId: [QueryArgument]
1585
- *
1586
- * """Narrows the query results based on the elements’ IDs."""
1587
- * id: [QueryArgument]
1588
- *
1589
- * """Causes the query results to be returned in reverse order."""
1590
- * inReverse: Boolean
1591
- *
1592
- * """
1593
- * Determines which site(s) the elements should be queried in, based on their language.
1594
- * """
1595
- * language: [String]
1596
- *
1597
- * """Sets the limit for paginated results."""
1598
- * limit: Int
1599
- *
1600
- * """
1601
- * Narrows the query results to elements that do not relate to the provided element IDs.
1602
- * """
1603
- * notRelatedTo: [QueryArgument]
1604
- *
1605
- * """Sets the offset for paginated results."""
1606
- * offset: Int
1607
- *
1608
- * """Sets the field the returned elements should be ordered by."""
1609
- * orderBy: String
1610
- *
1611
- * """
1612
- * Determines which site should be selected when querying multi-site elements.
1613
- * """
1614
- * preferSites: [QueryArgument]
1615
- *
1616
- * """Narrows the query results based on a reference string."""
1617
- * ref: [String]
1618
- *
1619
- * """
1620
- * Narrows the query results to elements that relate to the provided element IDs. This argument is ignored, if `relatedToAll` is also used.
1621
- * """
1622
- * relatedTo: [QueryArgument]
1623
- *
1624
- * """
1625
- * Narrows the query results to elements that relate to *all* of the provided element IDs. Using this argument will cause `relatedTo` argument to be ignored. **This argument is deprecated.** `relatedTo: ["and", ...ids]` should be used instead.
1626
- * """
1627
- * relatedToAll: [QueryArgument]
1628
- *
1629
- * """
1630
- * Narrows the query results to elements that relate to an asset list defined with this argument.
1631
- * """
1632
- * relatedToAssets: [AssetRelationCriteriaInput]
1633
- *
1634
- * """
1635
- * Narrows the query results to elements that relate to a category list defined with this argument.
1636
- * """
1637
- * relatedToCategories: [CategoryRelationCriteriaInput]
1638
- *
1639
- * """
1640
- * Narrows the query results to elements that relate to an entry list defined with this argument.
1641
- * """
1642
- * relatedToEntries: [EntryRelationCriteriaInput]
1643
- *
1644
- * """
1645
- * Narrows the query results to elements that relate to a tag list defined with this argument.
1646
- * """
1647
- * relatedToTags: [TagRelationCriteriaInput]
1648
- *
1649
- * """
1650
- * Narrows the query results to elements that relate to a use list defined with this argument.
1651
- * """
1652
- * relatedToUsers: [UserRelationCriteriaInput]
1653
- *
1654
- * """Narrows the relations based on the field they were created in."""
1655
- * relatedViaField: [String]
1656
- *
1657
- * """Narrows the relations based on the site they were created in."""
1658
- * relatedViaSite: [String]
1659
- *
1660
- * """Narrows the query results to only elements that match a search query."""
1661
- * search: String
1662
- *
1663
- * """
1664
- * Defines the default options that should be applied terms within the `search` argument.
1665
- * """
1666
- * searchTermOptions: SearchTermOptions
1667
- *
1668
- * """
1669
- * Determines which site(s) the elements should be queried in. Defaults to the current (requested) site.
1670
- * """
1671
- * site: [String]
1672
- *
1673
- * """
1674
- * Determines which site(s) the elements should be queried in. Defaults to the current (requested) site.
1675
- * """
1676
- * siteId: [QueryArgument]
1677
- *
1678
- * """
1679
- * Narrows the query results based on the unique identifier for an element-site relation.
1680
- * """
1681
- * siteSettingsId: [QueryArgument]
1682
- *
1683
- * """Narrows the query results based on the elements’ slugs."""
1684
- * slug: [String]
1685
- *
1686
- * """Narrows the query results based on the elements’ statuses."""
1687
- * status: [String]
1688
- *
1689
- * """Narrows the query results based on the elements’ titles."""
1690
- * title: [String]
1691
- *
1692
- * """
1693
- * Narrows the query results to only elements that have been soft-deleted.
1694
- * """
1695
- * trashed: Boolean
1696
- *
1697
- * """Narrows the query results based on the elements’ UIDs."""
1698
- * uid: [String]
1699
- *
1700
- * """
1701
- * Determines whether only elements with unique IDs should be returned by the query.
1702
- * """
1703
- * unique: Boolean
1704
- *
1705
- * """Narrows the query results based on the elements’ URIs."""
1706
- * uri: [String]
1707
- * }
1708
- * ```
1709
- */
1710
- export type TagRelationCriteriaInput = {
1711
- /** Narrows the query results to only elements that have been archived. */
1712
- archived?: boolean | null;
1713
- /** Narrows the query results based on the elements’ creation dates. */
1714
- dateCreated?: (string | null)[] | null;
1715
- /** Narrows the query results based on the elements’ last-updated dates. */
1716
- dateUpdated?: (string | null)[] | null;
1717
- /** Causes the query results to be returned in the order specified by the `id` argument. */
1718
- fixedOrder?: boolean | null;
1719
- /** Narrows the query results based on the tag groups the tags belong to per the group’s handles. */
1720
- group?: (string | null)[] | null;
1721
- /** Narrows the query results based on the tag groups the tags belong to, per the groups’ IDs. */
1722
- groupId?: (any | null)[] | null;
1723
- /** Narrows the query results based on the elements’ IDs. */
1724
- id?: (any | null)[] | null;
1725
- /** Causes the query results to be returned in reverse order. */
1726
- inReverse?: boolean | null;
1727
- /** Determines which site(s) the elements should be queried in, based on their language. */
1728
- language?: (string | null)[] | null;
1729
- /** Sets the limit for paginated results. */
1730
- limit?: number | null;
1731
- /** Narrows the query results to elements that do not relate to the provided element IDs. */
1732
- notRelatedTo?: (any | null)[] | null;
1733
- /** Sets the offset for paginated results. */
1734
- offset?: number | null;
1735
- /** Sets the field the returned elements should be ordered by. */
1736
- orderBy?: string | null;
1737
- /** Determines which site should be selected when querying multi-site elements. */
1738
- preferSites?: (any | null)[] | null;
1739
- /** Narrows the query results based on a reference string. */
1740
- ref?: (string | null)[] | null;
1741
- /** Narrows the query results to elements that relate to the provided element IDs. This argument is ignored, if `relatedToAll` is also used. */
1742
- relatedTo?: (any | null)[] | null;
1743
- /** Narrows the query results to elements that relate to *all* of the provided element IDs. Using this argument will cause `relatedTo` argument to be ignored. **This argument is deprecated.** `relatedTo: ["and", ...ids]` should be used instead. */
1744
- relatedToAll?: (any | null)[] | null;
1745
- /** Narrows the query results to elements that relate to an asset list defined with this argument. */
1746
- relatedToAssets?: (AssetRelationCriteriaInput | null)[] | null;
1747
- /** Narrows the query results to elements that relate to a category list defined with this argument. */
1748
- relatedToCategories?: (CategoryRelationCriteriaInput | null)[] | null;
1749
- /** Narrows the query results to elements that relate to an entry list defined with this argument. */
1750
- relatedToEntries?: (EntryRelationCriteriaInput | null)[] | null;
1751
- /** Narrows the query results to elements that relate to a tag list defined with this argument. */
1752
- relatedToTags?: (TagRelationCriteriaInput | null)[] | null;
1753
- /** Narrows the query results to elements that relate to a use list defined with this argument. */
1754
- relatedToUsers?: (UserRelationCriteriaInput | null)[] | null;
1755
- /** Narrows the relations based on the field they were created in. */
1756
- relatedViaField?: (string | null)[] | null;
1757
- /** Narrows the relations based on the site they were created in. */
1758
- relatedViaSite?: (string | null)[] | null;
1759
- /** Narrows the query results to only elements that match a search query. */
1760
- search?: string | null;
1761
- /** Defines the default options that should be applied terms within the `search` argument. */
1762
- searchTermOptions?: SearchTermOptions | null;
1763
- /** Determines which site(s) the elements should be queried in. Defaults to the current (requested) site. */
1764
- site?: (string | null)[] | null;
1765
- /** Determines which site(s) the elements should be queried in. Defaults to the current (requested) site. */
1766
- siteId?: (any | null)[] | null;
1767
- /** Narrows the query results based on the unique identifier for an element-site relation. */
1768
- siteSettingsId?: (any | null)[] | null;
1769
- /** Narrows the query results based on the elements’ slugs. */
1770
- slug?: (string | null)[] | null;
1771
- /** Narrows the query results based on the elements’ statuses. */
1772
- status?: (string | null)[] | null;
1773
- /** Narrows the query results based on the elements’ titles. */
1774
- title?: (string | null)[] | null;
1775
- /** Narrows the query results to only elements that have been soft-deleted. */
1776
- trashed?: boolean | null;
1777
- /** Narrows the query results based on the elements’ UIDs. */
1778
- uid?: (string | null)[] | null;
1779
- /** Determines whether only elements with unique IDs should be returned by the query. */
1780
- unique?: boolean | null;
1781
- /** Narrows the query results based on the elements’ URIs. */
1782
- uri?: (string | null)[] | null;
1783
- };
1784
-
1785
- /**
1786
- * @example
1787
- * ```graphql
1788
- * input UserRelationCriteriaInput {
1789
- * """Determines which site(s) the users should be affiliated with."""
1790
- * affiliatedSite: [String]
1791
- *
1792
- * """Determines which site(s) the users should be affiliated with."""
1793
- * affiliatedSiteId: [QueryArgument]
1794
- *
1795
- * """Narrows the query results to only elements that have been archived."""
1796
- * archived: Boolean
1797
- *
1798
- * """
1799
- * Narrows the query results based on whether the users have uploaded any assets.
1800
- * """
1801
- * assetUploaders: Boolean
1802
- *
1803
- * """
1804
- * Narrows the query results based on whether the users are listed as the author of any entries.
1805
- * """
1806
- * authors: Boolean
1807
- *
1808
- * """Narrows the query results based on the elements’ creation dates."""
1809
- * dateCreated: [String]
1810
- *
1811
- * """Narrows the query results based on the elements’ last-updated dates."""
1812
- * dateUpdated: [String]
1813
- *
1814
- * """Narrows the query results based on the users’ email addresses."""
1815
- * email: [String]
1816
- *
1817
- * """Narrows the query results based on the users’ first names."""
1818
- * firstName: [String]
1819
- *
1820
- * """
1821
- * Causes the query results to be returned in the order specified by the `id` argument.
1822
- * """
1823
- * fixedOrder: Boolean
1824
- *
1825
- * """Narrows the query results based on the users’ full names."""
1826
- * fullName: [String]
1827
- *
1828
- * """Narrows the query results based on the user group the users belong to."""
1829
- * group: [QueryArgument]
1830
- *
1831
- * """
1832
- * Narrows the query results based on the user group the users belong to, per the groups’ IDs.
1833
- * """
1834
- * groupId: [QueryArgument]
1835
- *
1836
- * """
1837
- * Narrows the query results to only users that have (or don’t have) a user photo.
1838
- * """
1839
- * hasPhoto: Boolean
1840
- *
1841
- * """Narrows the query results based on the elements’ IDs."""
1842
- * id: [QueryArgument]
1843
- *
1844
- * """Causes the query results to be returned in reverse order."""
1845
- * inReverse: Boolean
1846
- *
1847
- * """
1848
- * Determines which site(s) the elements should be queried in, based on their language.
1849
- * """
1850
- * language: [String]
1851
- *
1852
- * """Narrows the query results based on the users’ last names."""
1853
- * lastName: [String]
1854
- *
1855
- * """Sets the limit for paginated results."""
1856
- * limit: Int
1857
- *
1858
- * """
1859
- * Narrows the query results to elements that do not relate to the provided element IDs.
1860
- * """
1861
- * notRelatedTo: [QueryArgument]
1862
- *
1863
- * """Sets the offset for paginated results."""
1864
- * offset: Int
1865
- *
1866
- * """Sets the field the returned elements should be ordered by."""
1867
- * orderBy: String
1868
- *
1869
- * """
1870
- * Determines which site should be selected when querying multi-site elements.
1871
- * """
1872
- * preferSites: [QueryArgument]
1873
- *
1874
- * """Narrows the query results based on a reference string."""
1875
- * ref: [String]
1876
- *
1877
- * """
1878
- * Narrows the query results to elements that relate to the provided element IDs. This argument is ignored, if `relatedToAll` is also used.
1879
- * """
1880
- * relatedTo: [QueryArgument]
1881
- *
1882
- * """
1883
- * Narrows the query results to elements that relate to *all* of the provided element IDs. Using this argument will cause `relatedTo` argument to be ignored. **This argument is deprecated.** `relatedTo: ["and", ...ids]` should be used instead.
1884
- * """
1885
- * relatedToAll: [QueryArgument]
1886
- *
1887
- * """
1888
- * Narrows the query results to elements that relate to an asset list defined with this argument.
1889
- * """
1890
- * relatedToAssets: [AssetRelationCriteriaInput]
1891
- *
1892
- * """
1893
- * Narrows the query results to elements that relate to a category list defined with this argument.
1894
- * """
1895
- * relatedToCategories: [CategoryRelationCriteriaInput]
1896
- *
1897
- * """
1898
- * Narrows the query results to elements that relate to an entry list defined with this argument.
1899
- * """
1900
- * relatedToEntries: [EntryRelationCriteriaInput]
1901
- *
1902
- * """
1903
- * Narrows the query results to elements that relate to a tag list defined with this argument.
1904
- * """
1905
- * relatedToTags: [TagRelationCriteriaInput]
1906
- *
1907
- * """
1908
- * Narrows the query results to elements that relate to a use list defined with this argument.
1909
- * """
1910
- * relatedToUsers: [UserRelationCriteriaInput]
1911
- *
1912
- * """Narrows the relations based on the field they were created in."""
1913
- * relatedViaField: [String]
1914
- *
1915
- * """Narrows the relations based on the site they were created in."""
1916
- * relatedViaSite: [String]
1917
- *
1918
- * """Narrows the query results to only elements that match a search query."""
1919
- * search: String
1920
- *
1921
- * """
1922
- * Defines the default options that should be applied terms within the `search` argument.
1923
- * """
1924
- * searchTermOptions: SearchTermOptions
1925
- *
1926
- * """
1927
- * Determines which site(s) the elements should be queried in. Defaults to the current (requested) site.
1928
- * """
1929
- * site: [String]
1930
- *
1931
- * """
1932
- * Determines which site(s) the elements should be queried in. Defaults to the current (requested) site.
1933
- * """
1934
- * siteId: [QueryArgument]
1935
- *
1936
- * """
1937
- * Narrows the query results based on the unique identifier for an element-site relation.
1938
- * """
1939
- * siteSettingsId: [QueryArgument]
1940
- *
1941
- * """Narrows the query results based on the elements’ slugs."""
1942
- * slug: [String]
1943
- *
1944
- * """Narrows the query results based on the elements’ statuses."""
1945
- * status: [String]
1946
- *
1947
- * """Narrows the query results based on the elements’ titles."""
1948
- * title: [String]
1949
- *
1950
- * """
1951
- * Narrows the query results to only elements that have been soft-deleted.
1952
- * """
1953
- * trashed: Boolean
1954
- *
1955
- * """Narrows the query results based on the elements’ UIDs."""
1956
- * uid: [String]
1957
- *
1958
- * """
1959
- * Determines whether only elements with unique IDs should be returned by the query.
1960
- * """
1961
- * unique: Boolean
1962
- *
1963
- * """Narrows the query results based on the elements’ URIs."""
1964
- * uri: [String]
1965
- *
1966
- * """Narrows the query results based on the users’ usernames."""
1967
- * username: [String]
1968
- * }
1969
- * ```
1970
- */
1971
- export type UserRelationCriteriaInput = {
1972
- /** Determines which site(s) the users should be affiliated with. */
1973
- affiliatedSite?: (string | null)[] | null;
1974
- /** Determines which site(s) the users should be affiliated with. */
1975
- affiliatedSiteId?: (any | null)[] | null;
1976
- /** Narrows the query results to only elements that have been archived. */
1977
- archived?: boolean | null;
1978
- /** Narrows the query results based on whether the users have uploaded any assets. */
1979
- assetUploaders?: boolean | null;
1980
- /** Narrows the query results based on whether the users are listed as the author of any entries. */
1981
- authors?: boolean | null;
1982
- /** Narrows the query results based on the elements’ creation dates. */
1983
- dateCreated?: (string | null)[] | null;
1984
- /** Narrows the query results based on the elements’ last-updated dates. */
1985
- dateUpdated?: (string | null)[] | null;
1986
- /** Narrows the query results based on the users’ email addresses. */
1987
- email?: (string | null)[] | null;
1988
- /** Narrows the query results based on the users’ first names. */
1989
- firstName?: (string | null)[] | null;
1990
- /** Causes the query results to be returned in the order specified by the `id` argument. */
1991
- fixedOrder?: boolean | null;
1992
- /** Narrows the query results based on the users’ full names. */
1993
- fullName?: (string | null)[] | null;
1994
- /** Narrows the query results based on the user group the users belong to. */
1995
- group?: (any | null)[] | null;
1996
- /** Narrows the query results based on the user group the users belong to, per the groups’ IDs. */
1997
- groupId?: (any | null)[] | null;
1998
- /** Narrows the query results to only users that have (or don’t have) a user photo. */
1999
- hasPhoto?: boolean | null;
2000
- /** Narrows the query results based on the elements’ IDs. */
2001
- id?: (any | null)[] | null;
2002
- /** Causes the query results to be returned in reverse order. */
2003
- inReverse?: boolean | null;
2004
- /** Determines which site(s) the elements should be queried in, based on their language. */
2005
- language?: (string | null)[] | null;
2006
- /** Narrows the query results based on the users’ last names. */
2007
- lastName?: (string | null)[] | null;
2008
- /** Sets the limit for paginated results. */
2009
- limit?: number | null;
2010
- /** Narrows the query results to elements that do not relate to the provided element IDs. */
2011
- notRelatedTo?: (any | null)[] | null;
2012
- /** Sets the offset for paginated results. */
2013
- offset?: number | null;
2014
- /** Sets the field the returned elements should be ordered by. */
2015
- orderBy?: string | null;
2016
- /** Determines which site should be selected when querying multi-site elements. */
2017
- preferSites?: (any | null)[] | null;
2018
- /** Narrows the query results based on a reference string. */
2019
- ref?: (string | null)[] | null;
2020
- /** Narrows the query results to elements that relate to the provided element IDs. This argument is ignored, if `relatedToAll` is also used. */
2021
- relatedTo?: (any | null)[] | null;
2022
- /** Narrows the query results to elements that relate to *all* of the provided element IDs. Using this argument will cause `relatedTo` argument to be ignored. **This argument is deprecated.** `relatedTo: ["and", ...ids]` should be used instead. */
2023
- relatedToAll?: (any | null)[] | null;
2024
- /** Narrows the query results to elements that relate to an asset list defined with this argument. */
2025
- relatedToAssets?: (AssetRelationCriteriaInput | null)[] | null;
2026
- /** Narrows the query results to elements that relate to a category list defined with this argument. */
2027
- relatedToCategories?: (CategoryRelationCriteriaInput | null)[] | null;
2028
- /** Narrows the query results to elements that relate to an entry list defined with this argument. */
2029
- relatedToEntries?: (EntryRelationCriteriaInput | null)[] | null;
2030
- /** Narrows the query results to elements that relate to a tag list defined with this argument. */
2031
- relatedToTags?: (TagRelationCriteriaInput | null)[] | null;
2032
- /** Narrows the query results to elements that relate to a use list defined with this argument. */
2033
- relatedToUsers?: (UserRelationCriteriaInput | null)[] | null;
2034
- /** Narrows the relations based on the field they were created in. */
2035
- relatedViaField?: (string | null)[] | null;
2036
- /** Narrows the relations based on the site they were created in. */
2037
- relatedViaSite?: (string | null)[] | null;
2038
- /** Narrows the query results to only elements that match a search query. */
2039
- search?: string | null;
2040
- /** Defines the default options that should be applied terms within the `search` argument. */
2041
- searchTermOptions?: SearchTermOptions | null;
2042
- /** Determines which site(s) the elements should be queried in. Defaults to the current (requested) site. */
2043
- site?: (string | null)[] | null;
2044
- /** Determines which site(s) the elements should be queried in. Defaults to the current (requested) site. */
2045
- siteId?: (any | null)[] | null;
2046
- /** Narrows the query results based on the unique identifier for an element-site relation. */
2047
- siteSettingsId?: (any | null)[] | null;
2048
- /** Narrows the query results based on the elements’ slugs. */
2049
- slug?: (string | null)[] | null;
2050
- /** Narrows the query results based on the elements’ statuses. */
2051
- status?: (string | null)[] | null;
2052
- /** Narrows the query results based on the elements’ titles. */
2053
- title?: (string | null)[] | null;
2054
- /** Narrows the query results to only elements that have been soft-deleted. */
2055
- trashed?: boolean | null;
2056
- /** Narrows the query results based on the elements’ UIDs. */
2057
- uid?: (string | null)[] | null;
2058
- /** Determines whether only elements with unique IDs should be returned by the query. */
2059
- unique?: boolean | null;
2060
- /** Narrows the query results based on the elements’ URIs. */
2061
- uri?: (string | null)[] | null;
2062
- /** Narrows the query results based on the users’ usernames. */
2063
- username?: (string | null)[] | null;
2064
- };