polen 0.11.0-next.24 → 0.11.0-next.26

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 (375) hide show
  1. package/build/api/config/input.d.ts +259 -77
  2. package/build/api/config/input.d.ts.map +1 -1
  3. package/build/api/config/input.js +2 -0
  4. package/build/api/config/input.js.map +1 -1
  5. package/build/api/config/normalized.d.ts +433 -143
  6. package/build/api/config/normalized.d.ts.map +1 -1
  7. package/build/api/config/normalized.js +47 -0
  8. package/build/api/config/normalized.js.map +1 -1
  9. package/build/api/config-template/template.d.ts +191 -121
  10. package/build/api/config-template/template.d.ts.map +1 -1
  11. package/build/api/config-template/template.js +18 -1
  12. package/build/api/config-template/template.js.map +1 -1
  13. package/build/api/examples/diagnostic/diagnostic.d.ts +0 -23
  14. package/build/api/examples/diagnostic/diagnostic.d.ts.map +1 -1
  15. package/build/api/examples/diagnostic/diagnostic.js +1 -3
  16. package/build/api/examples/diagnostic/diagnostic.js.map +1 -1
  17. package/build/api/examples/scanner.d.ts +27 -1
  18. package/build/api/examples/scanner.d.ts.map +1 -1
  19. package/build/api/examples/scanner.js +30 -17
  20. package/build/api/examples/scanner.js.map +1 -1
  21. package/build/api/examples/schemas/catalog.d.ts +56 -12
  22. package/build/api/examples/schemas/catalog.d.ts.map +1 -1
  23. package/build/api/examples/schemas/example/example.d.ts +54 -11
  24. package/build/api/examples/schemas/example/example.d.ts.map +1 -1
  25. package/build/api/examples/schemas/example/example.js +5 -0
  26. package/build/api/examples/schemas/example/example.js.map +1 -1
  27. package/build/api/reference/$.d.ts +4 -0
  28. package/build/api/reference/$.d.ts.map +1 -0
  29. package/build/api/reference/$.js +4 -0
  30. package/build/api/reference/$.js.map +1 -0
  31. package/build/api/reference/catalog.d.ts +69 -0
  32. package/build/api/reference/catalog.d.ts.map +1 -0
  33. package/build/api/reference/catalog.js +44 -0
  34. package/build/api/reference/catalog.js.map +1 -0
  35. package/build/api/reference/config.d.ts +616 -0
  36. package/build/api/reference/config.d.ts.map +1 -0
  37. package/build/api/reference/config.js +162 -0
  38. package/build/api/reference/config.js.map +1 -0
  39. package/build/api/reference/scanner.d.ts +26 -0
  40. package/build/api/reference/scanner.d.ts.map +1 -0
  41. package/build/api/reference/scanner.js +27 -0
  42. package/build/api/reference/scanner.js.map +1 -0
  43. package/build/api/schema/augmentations/$$.d.ts +7 -0
  44. package/build/api/schema/augmentations/$$.d.ts.map +1 -0
  45. package/build/api/schema/augmentations/$$.js +7 -0
  46. package/build/api/schema/augmentations/$$.js.map +1 -0
  47. package/build/api/schema/augmentations/$.d.ts +1 -1
  48. package/build/api/schema/augmentations/$.d.ts.map +1 -1
  49. package/build/api/schema/augmentations/$.js +1 -1
  50. package/build/api/schema/augmentations/$.js.map +1 -1
  51. package/build/api/schema/augmentations/apply.d.ts +29 -0
  52. package/build/api/schema/augmentations/apply.d.ts.map +1 -0
  53. package/build/api/schema/augmentations/apply.js +181 -0
  54. package/build/api/schema/augmentations/apply.js.map +1 -0
  55. package/build/api/schema/augmentations/augmentation.d.ts +31 -0
  56. package/build/api/schema/augmentations/augmentation.d.ts.map +1 -0
  57. package/build/api/schema/augmentations/augmentation.js +22 -0
  58. package/build/api/schema/augmentations/augmentation.js.map +1 -0
  59. package/build/api/schema/augmentations/config.d.ts +24 -0
  60. package/build/api/schema/augmentations/config.d.ts.map +1 -0
  61. package/build/api/schema/augmentations/config.js +9 -0
  62. package/build/api/schema/augmentations/config.js.map +1 -0
  63. package/build/api/schema/augmentations/diagnostics/diagnostic.d.ts +67 -0
  64. package/build/api/schema/augmentations/diagnostics/diagnostic.d.ts.map +1 -0
  65. package/build/api/schema/augmentations/diagnostics/diagnostic.js +13 -0
  66. package/build/api/schema/augmentations/diagnostics/diagnostic.js.map +1 -0
  67. package/build/api/schema/augmentations/diagnostics/duplicate-version.d.ts +45 -0
  68. package/build/api/schema/augmentations/diagnostics/duplicate-version.d.ts.map +1 -0
  69. package/build/api/schema/augmentations/diagnostics/duplicate-version.js +17 -0
  70. package/build/api/schema/augmentations/diagnostics/duplicate-version.js.map +1 -0
  71. package/build/api/schema/augmentations/diagnostics/invalid-path.d.ts +46 -0
  72. package/build/api/schema/augmentations/diagnostics/invalid-path.d.ts.map +1 -0
  73. package/build/api/schema/augmentations/diagnostics/invalid-path.js +18 -0
  74. package/build/api/schema/augmentations/diagnostics/invalid-path.js.map +1 -0
  75. package/build/api/schema/augmentations/diagnostics/version-mismatch.d.ts +46 -0
  76. package/build/api/schema/augmentations/diagnostics/version-mismatch.d.ts.map +1 -0
  77. package/build/api/schema/augmentations/diagnostics/version-mismatch.js +18 -0
  78. package/build/api/schema/augmentations/diagnostics/version-mismatch.js.map +1 -0
  79. package/build/api/schema/augmentations/input.d.ts +145 -0
  80. package/build/api/schema/augmentations/input.d.ts.map +1 -0
  81. package/build/api/schema/augmentations/input.js +191 -0
  82. package/build/api/schema/augmentations/input.js.map +1 -0
  83. package/build/api/schema/augmentations/placement.d.ts +8 -0
  84. package/build/api/schema/augmentations/placement.d.ts.map +1 -0
  85. package/build/api/schema/augmentations/placement.js +7 -0
  86. package/build/api/schema/augmentations/placement.js.map +1 -0
  87. package/build/api/schema/config-schema.d.ts +66 -66
  88. package/build/api/schema/config-schema.d.ts.map +1 -1
  89. package/build/api/schema/config-schema.js +2 -2
  90. package/build/api/schema/config-schema.js.map +1 -1
  91. package/build/api/schema/input-source/load.d.ts +2 -0
  92. package/build/api/schema/input-source/load.d.ts.map +1 -1
  93. package/build/api/schema/input-source/load.js.map +1 -1
  94. package/build/api/schema/input-sources/directory.d.ts +39 -39
  95. package/build/api/schema/input-sources/file.d.ts +39 -39
  96. package/build/api/schema/input-sources/introspection-file.d.ts +39 -39
  97. package/build/api/schema/input-sources/introspection.d.ts +39 -39
  98. package/build/api/schema/input-sources/memory.d.ts +39 -39
  99. package/build/api/schema/input-sources/versioned-directory.d.ts +79 -79
  100. package/build/api/schema/load.d.ts.map +1 -1
  101. package/build/api/schema/load.js +9 -2
  102. package/build/api/schema/load.js.map +1 -1
  103. package/build/lib/catalog/catalog.d.ts +1181 -1181
  104. package/build/lib/catalog/unversioned.d.ts +312 -312
  105. package/build/lib/catalog/versioned.d.ts +634 -634
  106. package/build/lib/change/change.d.ts +238 -238
  107. package/build/lib/document/document.d.ts +14 -8
  108. package/build/lib/document/document.d.ts.map +1 -1
  109. package/build/lib/document/versioned.d.ts +17 -10
  110. package/build/lib/document/versioned.d.ts.map +1 -1
  111. package/build/lib/grafaid/schema/KindMap/_.d.ts +1 -1
  112. package/build/lib/grafaid/schema/format-default-value.d.ts +11 -0
  113. package/build/lib/grafaid/schema/format-default-value.d.ts.map +1 -0
  114. package/build/lib/grafaid/schema/format-default-value.js +20 -0
  115. package/build/lib/grafaid/schema/format-default-value.js.map +1 -0
  116. package/build/lib/grafaid/schema/schema.d.ts +1 -0
  117. package/build/lib/grafaid/schema/schema.d.ts.map +1 -1
  118. package/build/lib/grafaid/schema/schema.js +1 -0
  119. package/build/lib/grafaid/schema/schema.js.map +1 -1
  120. package/build/lib/graphql-path/$$.d.ts +7 -13
  121. package/build/lib/graphql-path/$$.d.ts.map +1 -1
  122. package/build/lib/graphql-path/$$.js +7 -13
  123. package/build/lib/graphql-path/$$.js.map +1 -1
  124. package/build/lib/graphql-path/definition.d.ts +104 -94
  125. package/build/lib/graphql-path/definition.d.ts.map +1 -1
  126. package/build/lib/graphql-path/definition.js +126 -125
  127. package/build/lib/graphql-path/definition.js.map +1 -1
  128. package/build/lib/graphql-path/query.d.ts +25 -57
  129. package/build/lib/graphql-path/query.d.ts.map +1 -1
  130. package/build/lib/graphql-path/query.js +15 -93
  131. package/build/lib/graphql-path/query.js.map +1 -1
  132. package/build/lib/graphql-path/schema.d.ts +49 -0
  133. package/build/lib/graphql-path/schema.d.ts.map +1 -0
  134. package/build/lib/graphql-path/schema.js +89 -0
  135. package/build/lib/graphql-path/schema.js.map +1 -0
  136. package/build/lib/graphql-path/types.d.ts +76 -28
  137. package/build/lib/graphql-path/types.d.ts.map +1 -1
  138. package/build/lib/graphql-path/types.js +101 -2
  139. package/build/lib/graphql-path/types.js.map +1 -1
  140. package/build/lib/revision/revision.d.ts +1170 -1170
  141. package/build/lib/schema/schema.d.ts +708 -708
  142. package/build/lib/schema/unversioned.d.ts +1092 -1092
  143. package/build/lib/schema/versioned.d.ts +634 -634
  144. package/build/lib/semver/official-release.d.ts +10 -10
  145. package/build/lib/semver/pre-release.d.ts +10 -10
  146. package/build/lib/semver/semver.d.ts +50 -50
  147. package/build/lib/version-coverage/version-coverage.d.ts +43 -11
  148. package/build/lib/version-coverage/version-coverage.d.ts.map +1 -1
  149. package/build/lib/version-coverage/version-coverage.js +40 -6
  150. package/build/lib/version-coverage/version-coverage.js.map +1 -1
  151. package/build/template/components/ArgumentAnnotation.d.ts +2 -1
  152. package/build/template/components/ArgumentAnnotation.d.ts.map +1 -1
  153. package/build/template/components/ArgumentAnnotation.js +14 -4
  154. package/build/template/components/ArgumentAnnotation.js.map +1 -1
  155. package/build/template/components/ArgumentListAnnotation.d.ts +1 -0
  156. package/build/template/components/ArgumentListAnnotation.d.ts.map +1 -1
  157. package/build/template/components/ArgumentListAnnotation.js +21 -8
  158. package/build/template/components/ArgumentListAnnotation.js.map +1 -1
  159. package/build/template/components/Changelog/groups/FieldArgument.d.ts.map +1 -1
  160. package/build/template/components/Changelog/groups/FieldArgument.js +0 -1
  161. package/build/template/components/Changelog/groups/FieldArgument.js.map +1 -1
  162. package/build/template/components/CodeBlock.d.ts.map +1 -1
  163. package/build/template/components/CodeBlock.js +1 -1
  164. package/build/template/components/CodeBlock.js.map +1 -1
  165. package/build/template/components/Description.js +1 -1
  166. package/build/template/components/Description.js.map +1 -1
  167. package/build/template/components/ExampleLink.d.ts.map +1 -1
  168. package/build/template/components/ExampleLink.js +2 -1
  169. package/build/template/components/ExampleLink.js.map +1 -1
  170. package/build/template/components/Field.d.ts +2 -0
  171. package/build/template/components/Field.d.ts.map +1 -1
  172. package/build/template/components/Field.js +42 -4
  173. package/build/template/components/Field.js.map +1 -1
  174. package/build/template/components/FieldList.d.ts +2 -1
  175. package/build/template/components/FieldList.d.ts.map +1 -1
  176. package/build/template/components/FieldList.js +14 -3
  177. package/build/template/components/FieldList.js.map +1 -1
  178. package/build/template/components/FieldListSection.d.ts.map +1 -1
  179. package/build/template/components/FieldListSection.js +6 -1
  180. package/build/template/components/FieldListSection.js.map +1 -1
  181. package/build/template/components/GraphQLDocument.d.ts.map +1 -1
  182. package/build/template/components/GraphQLDocument.js +2 -1
  183. package/build/template/components/GraphQLDocument.js.map +1 -1
  184. package/build/template/components/GraphQLInteractive/GraphQLInteractive.d.ts +2 -0
  185. package/build/template/components/GraphQLInteractive/GraphQLInteractive.d.ts.map +1 -1
  186. package/build/template/components/GraphQLInteractive/GraphQLInteractive.js +4 -3
  187. package/build/template/components/GraphQLInteractive/GraphQLInteractive.js.map +1 -1
  188. package/build/template/components/GraphQLInteractive/lib/parser.d.ts +2 -2
  189. package/build/template/components/GraphQLInteractive/lib/parser.d.ts.map +1 -1
  190. package/build/template/components/GraphQLInteractive/lib/parser.js +17 -12
  191. package/build/template/components/GraphQLInteractive/lib/parser.js.map +1 -1
  192. package/build/template/components/IAPIndicator.d.ts +12 -0
  193. package/build/template/components/IAPIndicator.d.ts.map +1 -0
  194. package/build/template/components/IAPIndicator.js +21 -0
  195. package/build/template/components/IAPIndicator.js.map +1 -0
  196. package/build/template/components/Link.d.ts +1 -2
  197. package/build/template/components/Link.d.ts.map +1 -1
  198. package/build/template/components/Link.js +5 -2
  199. package/build/template/components/Link.js.map +1 -1
  200. package/build/template/components/NamedType.d.ts.map +1 -1
  201. package/build/template/components/NamedType.js +9 -5
  202. package/build/template/components/NamedType.js.map +1 -1
  203. package/build/template/components/ReferenceLink.d.ts +2 -2
  204. package/build/template/components/ReferenceLink.d.ts.map +1 -1
  205. package/build/template/components/ReferenceLink.js +5 -3
  206. package/build/template/components/ReferenceLink.js.map +1 -1
  207. package/build/template/components/TypeAnnotation.d.ts +2 -0
  208. package/build/template/components/TypeAnnotation.d.ts.map +1 -1
  209. package/build/template/components/TypeAnnotation.js +4 -4
  210. package/build/template/components/TypeAnnotation.js.map +1 -1
  211. package/build/template/components/ViewModeToggle.d.ts +3 -0
  212. package/build/template/components/ViewModeToggle.d.ts.map +1 -0
  213. package/build/template/components/ViewModeToggle.js +9 -0
  214. package/build/template/components/ViewModeToggle.js.map +1 -0
  215. package/build/template/components/graphql/type-link.d.ts +2 -0
  216. package/build/template/components/graphql/type-link.d.ts.map +1 -1
  217. package/build/template/components/graphql/type-link.js +15 -3
  218. package/build/template/components/graphql/type-link.js.map +1 -1
  219. package/build/template/components/home/PlaygroundPreview.d.ts.map +1 -1
  220. package/build/template/components/home/PlaygroundPreview.js +3 -2
  221. package/build/template/components/home/PlaygroundPreview.js.map +1 -1
  222. package/build/template/components/sidebar/SidebarItem.d.ts.map +1 -1
  223. package/build/template/components/sidebar/SidebarItem.js +18 -5
  224. package/build/template/components/sidebar/SidebarItem.js.map +1 -1
  225. package/build/template/contexts/ReferenceConfigContext.d.ts +16 -0
  226. package/build/template/contexts/ReferenceConfigContext.d.ts.map +1 -0
  227. package/build/template/contexts/ReferenceConfigContext.js +14 -0
  228. package/build/template/contexts/ReferenceConfigContext.js.map +1 -0
  229. package/build/template/contexts/ViewModeContext.d.ts +14 -0
  230. package/build/template/contexts/ViewModeContext.d.ts.map +1 -0
  231. package/build/template/contexts/ViewModeContext.js +40 -0
  232. package/build/template/contexts/ViewModeContext.js.map +1 -0
  233. package/build/template/hooks/use-examples.d.ts +4 -1
  234. package/build/template/hooks/use-examples.d.ts.map +1 -1
  235. package/build/template/hooks/useAlignedColumns.d.ts +10 -0
  236. package/build/template/hooks/useAlignedColumns.d.ts.map +1 -0
  237. package/build/template/hooks/useAlignedColumns.js +17 -0
  238. package/build/template/hooks/useAlignedColumns.js.map +1 -0
  239. package/build/template/routes/changelog/ChangelogSidebar.d.ts +2 -2
  240. package/build/template/routes/changelog/ChangelogSidebar.d.ts.map +1 -1
  241. package/build/template/routes/changelog/ChangelogSidebar.js +4 -4
  242. package/build/template/routes/changelog/ChangelogSidebar.js.map +1 -1
  243. package/build/template/routes/examples/_.d.ts +12 -3
  244. package/build/template/routes/examples/_.d.ts.map +1 -1
  245. package/build/template/routes/examples/_index.d.ts +8 -2
  246. package/build/template/routes/examples/_index.d.ts.map +1 -1
  247. package/build/template/routes/examples/name.d.ts +12 -3
  248. package/build/template/routes/examples/name.d.ts.map +1 -1
  249. package/build/template/routes/examples/name.js +6 -2
  250. package/build/template/routes/examples/name.js.map +1 -1
  251. package/build/template/routes/reference.d.ts.map +1 -1
  252. package/build/template/routes/reference.js +37 -10
  253. package/build/template/routes/reference.js.map +1 -1
  254. package/build/template/stores/changelog.d.ts +39 -39
  255. package/build/vite/plugins/core.d.ts.map +1 -1
  256. package/build/vite/plugins/core.js +6 -0
  257. package/build/vite/plugins/core.js.map +1 -1
  258. package/build/vite/plugins/examples.d.ts.map +1 -1
  259. package/build/vite/plugins/examples.js +10 -3
  260. package/build/vite/plugins/examples.js.map +1 -1
  261. package/build/vite/plugins/index.d.ts +1 -0
  262. package/build/vite/plugins/index.d.ts.map +1 -1
  263. package/build/vite/plugins/index.js +1 -0
  264. package/build/vite/plugins/index.js.map +1 -1
  265. package/build/vite/plugins/navbar.d.ts.map +1 -1
  266. package/build/vite/plugins/navbar.js +3 -1
  267. package/build/vite/plugins/navbar.js.map +1 -1
  268. package/build/vite/plugins/reference.d.ts +19 -0
  269. package/build/vite/plugins/reference.d.ts.map +1 -0
  270. package/build/vite/plugins/reference.js +96 -0
  271. package/build/vite/plugins/reference.js.map +1 -0
  272. package/build/vite/plugins/schemas.d.ts.map +1 -1
  273. package/build/vite/plugins/schemas.js +38 -2
  274. package/build/vite/plugins/schemas.js.map +1 -1
  275. package/package.json +1 -1
  276. package/src/api/config/input.ts +2 -0
  277. package/src/api/config/normalized.ts +54 -0
  278. package/src/api/config-template/template.ts +18 -1
  279. package/src/api/examples/diagnostic/diagnostic.ts +0 -3
  280. package/src/api/examples/scanner.test.ts +83 -0
  281. package/src/api/examples/scanner.ts +31 -21
  282. package/src/api/examples/schemas/example/example.ts +6 -0
  283. package/src/api/reference/$.ts +3 -0
  284. package/src/api/reference/catalog.ts +55 -0
  285. package/src/api/reference/config.ts +193 -0
  286. package/src/api/reference/scanner.ts +53 -0
  287. package/src/api/schema/augmentations/$$.ts +6 -0
  288. package/src/api/schema/augmentations/$.ts +1 -1
  289. package/src/api/schema/augmentations/apply.test.ts +89 -0
  290. package/src/api/schema/augmentations/apply.ts +277 -0
  291. package/src/api/schema/augmentations/augmentation.ts +24 -0
  292. package/src/api/schema/augmentations/config.ts +11 -0
  293. package/src/api/schema/augmentations/diagnostics/diagnostic.ts +20 -0
  294. package/src/api/schema/augmentations/diagnostics/duplicate-version.ts +20 -0
  295. package/src/api/schema/augmentations/diagnostics/invalid-path.ts +21 -0
  296. package/src/api/schema/augmentations/diagnostics/version-mismatch.ts +21 -0
  297. package/src/api/schema/augmentations/input.test.ts +144 -0
  298. package/src/api/schema/augmentations/input.ts +215 -0
  299. package/src/api/schema/augmentations/placement.ts +11 -0
  300. package/src/api/schema/config-schema.ts +2 -2
  301. package/src/api/schema/input-source/load.ts +2 -0
  302. package/src/api/schema/load.ts +19 -2
  303. package/src/lib/grafaid/schema/format-default-value.ts +22 -0
  304. package/src/lib/grafaid/schema/schema.ts +2 -0
  305. package/src/lib/graphql-path/$$.ts +7 -13
  306. package/src/lib/graphql-path/$.test.ts +175 -0
  307. package/src/lib/graphql-path/definition.ts +162 -162
  308. package/src/lib/graphql-path/query.ts +15 -98
  309. package/src/lib/graphql-path/schema.ts +136 -0
  310. package/src/lib/graphql-path/types.ts +108 -28
  311. package/src/lib/version-coverage/version-coverage.ts +48 -6
  312. package/src/template/components/ArgumentAnnotation.tsx +58 -9
  313. package/src/template/components/ArgumentListAnnotation.tsx +50 -17
  314. package/src/template/components/Changelog/groups/FieldArgument.tsx +0 -1
  315. package/src/template/components/CodeBlock.tsx +1 -0
  316. package/src/template/components/Description.tsx +1 -1
  317. package/src/template/components/ExampleLink.tsx +2 -1
  318. package/src/template/components/Field.tsx +148 -20
  319. package/src/template/components/FieldList.tsx +28 -13
  320. package/src/template/components/FieldListSection.tsx +12 -2
  321. package/src/template/components/GraphQLDocument.tsx +2 -0
  322. package/src/template/components/GraphQLInteractive/GraphQLInteractive.tsx +6 -1
  323. package/src/template/components/GraphQLInteractive/lib/parser.ts +16 -3
  324. package/src/template/components/IAPIndicator.tsx +73 -0
  325. package/src/template/components/Link.tsx +9 -3
  326. package/src/template/components/NamedType.tsx +54 -28
  327. package/src/template/components/ReferenceLink.tsx +16 -10
  328. package/src/template/components/TypeAnnotation.tsx +17 -5
  329. package/src/template/components/ViewModeToggle.tsx +27 -0
  330. package/src/template/components/graphql/type-link.tsx +34 -3
  331. package/src/template/components/home/PlaygroundPreview.tsx +3 -0
  332. package/src/template/components/sidebar/SidebarItem.tsx +21 -5
  333. package/src/template/contexts/ReferenceConfigContext.tsx +37 -0
  334. package/src/template/contexts/ViewModeContext.tsx +64 -0
  335. package/src/template/hooks/useAlignedColumns.ts +19 -0
  336. package/src/template/routes/changelog/ChangelogSidebar.tsx +4 -4
  337. package/src/template/routes/examples/name.tsx +13 -1
  338. package/src/template/routes/reference.tsx +67 -23
  339. package/src/types/virtual-modules.d.ts +5 -0
  340. package/src/vite/plugins/core.ts +6 -0
  341. package/src/vite/plugins/examples.ts +12 -2
  342. package/src/vite/plugins/index.ts +1 -0
  343. package/src/vite/plugins/navbar.ts +4 -1
  344. package/src/vite/plugins/reference.ts +130 -0
  345. package/src/vite/plugins/schemas.ts +51 -2
  346. package/build/api/examples/diagnostic/unused-default.d.ts +0 -49
  347. package/build/api/examples/diagnostic/unused-default.d.ts.map +0 -1
  348. package/build/api/examples/diagnostic/unused-default.js +0 -19
  349. package/build/api/examples/diagnostic/unused-default.js.map +0 -1
  350. package/build/api/schema/augmentations/augmentations/description.d.ts +0 -26
  351. package/build/api/schema/augmentations/augmentations/description.d.ts.map +0 -1
  352. package/build/api/schema/augmentations/augmentations/description.js +0 -55
  353. package/build/api/schema/augmentations/augmentations/description.js.map +0 -1
  354. package/build/api/schema/augmentations/schema-augmentation.d.ts +0 -20
  355. package/build/api/schema/augmentations/schema-augmentation.d.ts.map +0 -1
  356. package/build/api/schema/augmentations/schema-augmentation.js +0 -22
  357. package/build/api/schema/augmentations/schema-augmentation.js.map +0 -1
  358. package/build/api/schema/augmentations/target.d.ts +0 -25
  359. package/build/api/schema/augmentations/target.d.ts.map +0 -1
  360. package/build/api/schema/augmentations/target.js +0 -39
  361. package/build/api/schema/augmentations/target.js.map +0 -1
  362. package/build/lib/graphql-path/constructors.d.ts +0 -57
  363. package/build/lib/graphql-path/constructors.d.ts.map +0 -1
  364. package/build/lib/graphql-path/constructors.js +0 -73
  365. package/build/lib/graphql-path/constructors.js.map +0 -1
  366. package/build/template/components/ArgumentList.d.ts +0 -6
  367. package/build/template/components/ArgumentList.d.ts.map +0 -1
  368. package/build/template/components/ArgumentList.js +0 -9
  369. package/build/template/components/ArgumentList.js.map +0 -1
  370. package/src/api/examples/diagnostic/unused-default.ts +0 -22
  371. package/src/api/schema/augmentations/augmentations/description.ts +0 -69
  372. package/src/api/schema/augmentations/schema-augmentation.ts +0 -32
  373. package/src/api/schema/augmentations/target.ts +0 -61
  374. package/src/lib/graphql-path/constructors.ts +0 -81
  375. package/src/template/components/ArgumentList.tsx +0 -22
@@ -0,0 +1,8 @@
1
+ import { S } from '#lib/kit-temp/effect';
2
+ export declare const Placement: S.Enums<{
3
+ readonly before: "before";
4
+ readonly after: "after";
5
+ readonly over: "over";
6
+ }>;
7
+ export type Placement = S.Schema.Type<typeof Placement>;
8
+ //# sourceMappingURL=placement.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"placement.d.ts","sourceRoot":"","sources":["../../../../src/api/schema/augmentations/placement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,sBAAsB,CAAA;AAExC,eAAO,MAAM,SAAS;;;;EAMrB,CAAA;AAED,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,SAAS,CAAC,CAAA"}
@@ -0,0 +1,7 @@
1
+ import { S } from '#lib/kit-temp/effect';
2
+ export const Placement = S.Enums({
3
+ before: 'before',
4
+ after: 'after',
5
+ over: 'over',
6
+ });
7
+ //# sourceMappingURL=placement.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"placement.js","sourceRoot":"","sources":["../../../../src/api/schema/augmentations/placement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,sBAAsB,CAAA;AAExC,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAC9B;IACE,MAAM,EAAE,QAAQ;IAChB,KAAK,EAAE,OAAO;IACd,IAAI,EAAE,MAAM;CACJ,CACX,CAAA"}
@@ -114,17 +114,22 @@ export declare const ConfigSchema: S.Struct<{
114
114
  * ```
115
115
  */
116
116
  augmentations: S.optional<S.Array$<S.Struct<{
117
- type: S.Literal<["description"]>;
118
- on: S.Union<[S.Struct<{
119
- type: S.Literal<["TargetType"]>;
120
- name: typeof S.String;
121
- }>, S.Struct<{
122
- type: S.Literal<["TargetField"]>;
123
- name: typeof S.String;
124
- targetType: typeof S.String;
125
- }>]>;
126
- placement: S.Literal<["before", "after", "over"]>;
127
- content: typeof S.String;
117
+ on: S.optional<typeof S.String>;
118
+ placement: S.optional<S.Enums<{
119
+ readonly before: "before";
120
+ readonly after: "after";
121
+ readonly over: "over";
122
+ }>>;
123
+ content: S.optional<typeof S.String>;
124
+ versions: S.optional<S.Record$<typeof S.String, S.Struct<{
125
+ on: S.optional<typeof S.String>;
126
+ placement: S.optional<S.Enums<{
127
+ readonly before: "before";
128
+ readonly after: "after";
129
+ readonly over: "over";
130
+ }>>;
131
+ content: S.optional<typeof S.String>;
132
+ }>>>;
128
133
  }>>>;
129
134
  /**
130
135
  * Which data sources to use for loading schemas.
@@ -357,17 +362,16 @@ export type Config = ConfigInput;
357
362
  export declare const decode: (i: {
358
363
  readonly enabled?: boolean | undefined;
359
364
  readonly augmentations?: readonly {
360
- readonly type: "description";
361
- readonly content: string;
362
- readonly on: {
363
- readonly name: string;
364
- readonly type: "TargetType";
365
- } | {
366
- readonly name: string;
367
- readonly type: "TargetField";
368
- readonly targetType: string;
369
- };
370
- readonly placement: "before" | "after" | "over";
365
+ readonly content?: string | undefined;
366
+ readonly on?: string | undefined;
367
+ readonly placement?: "before" | "after" | "over" | undefined;
368
+ readonly versions?: {
369
+ readonly [x: string]: {
370
+ readonly content?: string | undefined;
371
+ readonly on?: string | undefined;
372
+ readonly placement?: "before" | "after" | "over" | undefined;
373
+ };
374
+ } | undefined;
371
375
  }[] | undefined;
372
376
  readonly useSources?: "file" | "directory" | "versionedDirectory" | "memory" | "introspection" | "introspectionFile" | readonly ("file" | "directory" | "versionedDirectory" | "memory" | "introspection" | "introspectionFile")[] | undefined;
373
377
  readonly sources?: {
@@ -396,17 +400,16 @@ export declare const decode: (i: {
396
400
  }, overrideOptions?: import("effect/SchemaAST").ParseOptions) => import("effect/Effect").Effect<{
397
401
  readonly enabled?: boolean | undefined;
398
402
  readonly augmentations?: readonly {
399
- readonly type: "description";
400
- readonly content: string;
401
- readonly on: {
402
- readonly name: string;
403
- readonly type: "TargetType";
404
- } | {
405
- readonly name: string;
406
- readonly type: "TargetField";
407
- readonly targetType: string;
408
- };
409
- readonly placement: "before" | "after" | "over";
403
+ readonly content?: string | undefined;
404
+ readonly on?: string | undefined;
405
+ readonly placement?: "before" | "after" | "over" | undefined;
406
+ readonly versions?: {
407
+ readonly [x: string]: {
408
+ readonly content?: string | undefined;
409
+ readonly on?: string | undefined;
410
+ readonly placement?: "before" | "after" | "over" | undefined;
411
+ };
412
+ } | undefined;
410
413
  }[] | undefined;
411
414
  readonly useSources?: "file" | "directory" | "versionedDirectory" | "memory" | "introspection" | "introspectionFile" | readonly ("file" | "directory" | "versionedDirectory" | "memory" | "introspection" | "introspectionFile")[] | undefined;
412
415
  readonly sources?: {
@@ -436,17 +439,16 @@ export declare const decode: (i: {
436
439
  export declare const encode: (a: {
437
440
  readonly enabled?: boolean | undefined;
438
441
  readonly augmentations?: readonly {
439
- readonly type: "description";
440
- readonly content: string;
441
- readonly on: {
442
- readonly name: string;
443
- readonly type: "TargetType";
444
- } | {
445
- readonly name: string;
446
- readonly type: "TargetField";
447
- readonly targetType: string;
448
- };
449
- readonly placement: "before" | "after" | "over";
442
+ readonly content?: string | undefined;
443
+ readonly on?: string | undefined;
444
+ readonly placement?: "before" | "after" | "over" | undefined;
445
+ readonly versions?: {
446
+ readonly [x: string]: {
447
+ readonly content?: string | undefined;
448
+ readonly on?: string | undefined;
449
+ readonly placement?: "before" | "after" | "over" | undefined;
450
+ };
451
+ } | undefined;
450
452
  }[] | undefined;
451
453
  readonly useSources?: "file" | "directory" | "versionedDirectory" | "memory" | "introspection" | "introspectionFile" | readonly ("file" | "directory" | "versionedDirectory" | "memory" | "introspection" | "introspectionFile")[] | undefined;
452
454
  readonly sources?: {
@@ -475,17 +477,16 @@ export declare const encode: (a: {
475
477
  }, overrideOptions?: import("effect/SchemaAST").ParseOptions) => import("effect/Effect").Effect<{
476
478
  readonly enabled?: boolean | undefined;
477
479
  readonly augmentations?: readonly {
478
- readonly type: "description";
479
- readonly content: string;
480
- readonly on: {
481
- readonly name: string;
482
- readonly type: "TargetType";
483
- } | {
484
- readonly name: string;
485
- readonly type: "TargetField";
486
- readonly targetType: string;
487
- };
488
- readonly placement: "before" | "after" | "over";
480
+ readonly content?: string | undefined;
481
+ readonly on?: string | undefined;
482
+ readonly placement?: "before" | "after" | "over" | undefined;
483
+ readonly versions?: {
484
+ readonly [x: string]: {
485
+ readonly content?: string | undefined;
486
+ readonly on?: string | undefined;
487
+ readonly placement?: "before" | "after" | "over" | undefined;
488
+ };
489
+ } | undefined;
489
490
  }[] | undefined;
490
491
  readonly useSources?: "file" | "directory" | "versionedDirectory" | "memory" | "introspection" | "introspectionFile" | readonly ("file" | "directory" | "versionedDirectory" | "memory" | "introspection" | "introspectionFile")[] | undefined;
491
492
  readonly sources?: {
@@ -515,17 +516,16 @@ export declare const encode: (a: {
515
516
  export declare const validate: (u: unknown, overrideOptions?: import("effect/SchemaAST").ParseOptions) => import("effect/Effect").Effect<{
516
517
  readonly enabled?: boolean | undefined;
517
518
  readonly augmentations?: readonly {
518
- readonly type: "description";
519
- readonly content: string;
520
- readonly on: {
521
- readonly name: string;
522
- readonly type: "TargetType";
523
- } | {
524
- readonly name: string;
525
- readonly type: "TargetField";
526
- readonly targetType: string;
527
- };
528
- readonly placement: "before" | "after" | "over";
519
+ readonly content?: string | undefined;
520
+ readonly on?: string | undefined;
521
+ readonly placement?: "before" | "after" | "over" | undefined;
522
+ readonly versions?: {
523
+ readonly [x: string]: {
524
+ readonly content?: string | undefined;
525
+ readonly on?: string | undefined;
526
+ readonly placement?: "before" | "after" | "over" | undefined;
527
+ };
528
+ } | undefined;
529
529
  }[] | undefined;
530
530
  readonly useSources?: "file" | "directory" | "versionedDirectory" | "memory" | "introspection" | "introspectionFile" | readonly ("file" | "directory" | "versionedDirectory" | "memory" | "introspection" | "introspectionFile")[] | undefined;
531
531
  readonly sources?: {
@@ -1 +1 @@
1
- {"version":3,"file":"config-schema.d.ts","sourceRoot":"","sources":["../../../src/api/schema/config-schema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,sBAAsB,CAAA;AAMxC,eAAO,MAAM,qBAAqB;;;;;;;EASjC,CAAA;AAED,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,qBAAqB,CAAC,CAAA;AAmPzE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyDG;AACH,eAAO,MAAM,YAAY;IACvB;;;;;;;;;;;;;OAaG;;IAEH;;;;;;;;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ema/augmentations/$';
2
2
  import { S } from '#lib/kit-temp/effect';
3
3
  // ============================================================================
4
4
  // Schema - Input Source Names
@@ -343,7 +343,7 @@ export const ConfigSchema = S.Struct({
343
343
  * ]
344
344
  * ```
345
345
  */
346
- augmentations: S.optional(S.Array(AugmentationSchema)),
346
+ augmentations: S.optional(S.Array(Augmentations.AugmentationInput)),
347
347
  /**
348
348
  * Which data sources to use for loading schemas.
349
349
  *
@@ -1 +1 @@
1
- {"version":3,"file":"config-schema.js","sourceRoot":"","sources":["../../../src/api/schema/config-schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,+CAA+C,CAAA;AAClF,OAAO,EAAE,CAAC,EAAE,MAAM,sBAAsB,CAAA;AAExC,+EAA+E;AAC/E,8BAA8B;AAC9B,+EAA+E;AAE/E,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAC1C;IACE,IAAI,EAAE,MAAM;IACZ,SAAS,EAAE,WAAW;IACtB,kBAAkB,EAAE,oBAAoB;IACxC,MAAM,EAAE,QAAQ;IAChB,aAAa,EAAE,eAAe;IAC9B,iBAAiB,EAAE,mBAAmB;CAC9B,CACX,CAAA;AAID,+EAA+E;AAC/E,yBAAyB;AACzB,+EAA+E;AAE/E,MAAM,iBAAiB,GAAG,CAAC,CAAC,MAAM,CAAC;IACjC;;;;;;;;;;;;;;;OAeG;IACH,IAAI,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC;CAC3B,CAAC,CAAC,WAAW,CAAC;IACb,UAAU,EAAE,aAAa;IACzB,WAAW,EAAE,0DAA0D;CACxE,CAAC,CAAA;AAEF,MAAM,sBAAsB,GAAG,CAAC,CAAC,MAAM,CAAC;IACtC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA8BG;IACH,IAAI,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC;CAC3B,CAAC,CAAC,WAAW,CAAC;I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MAAM,CAAC;IACnC;;;;;;;;;;;;;OAaG;IACH,OAAO,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC;IAC9B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA8BG;IACH,aAAa,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,iBAAiB,CAAC,CAAC;IACnE;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;IACH,UAAU,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,qBAAqB,EAAE,CAAC,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAAC,CAAC;IACtF;;OAEG;IACH,OAAO,EAAE,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC;CACnC,CAAC,CAAC,WAAW,CAAC;IACb,UAAU,EAAE,cAAc;IAC1B,KAAK,EAAE,sBAAsB;IAC7B,WAAW,EAAE,wDAAwD;CACtE,CAAC,CAAA;AAOF,+EAA+E;AAC/E,QAAQ;AACR,+EAA+E;AAE/E,MAAM,CAAC,MAAM,MAAM,GAAG,CAAC,CAAC,MAAM,CAAC,YAAY,CAAC,CAAA;AAC5C,MAAM,CAAC,MAAM,MAAM,GAAG,CAAC,CAAC,MAAM,CAAC,YAAY,CAAC,CAAA;AAC5C,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,CAAC,QAAQ,CAAC,YAAY,CAAC,CAAA"}
@@ -1,4 +1,5 @@
1
1
  import { Config as PolenConfig } from '#api/config/$';
2
+ import type { Diagnostic } from '#api/schema/augmentations/diagnostics/diagnostic';
2
3
  import type { Config } from '#api/schema/config';
3
4
  import type { InputSource } from '#api/schema/input-source/input-source';
4
5
  import type { Catalog } from '#lib/catalog/$';
@@ -8,6 +9,7 @@ import type { Catalog } from '#lib/catalog/$';
8
9
  export interface LoadedCatalog {
9
10
  data: Catalog.Catalog | null;
10
11
  source: InputSource;
12
+ diagnostics?: Diagnostic[];
11
13
  }
12
14
  export interface Context {
13
15
  paths: PolenConfig.Config['paths'];
@@ -1 +1 @@
1
- {"version":3,"file":"load.d.ts","sourceRoot":"","sources":["../../../../src/api/schema/input-source/load.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,IAAI,WAAW,EAAE,MAAM,eAAe,CAAA;AACrD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAA;AAChD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAA;AACxE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAA;AAE7C;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,OAAO,CAAC,OAAO,GAAG,IAAI,CAAA;IAC5B,MAAM,EAAE,WAAW,CAAA;CAapB;AAED,MAAM,WAAW,OAAO;IACtB,KAAK,EAAE,WAAW,CAAC,MAAM,CAAC,OAAO,CAAC,CAAA;CACnC;AAED,KAAK,eAAe,GAAG,MAAM,CAAA;AAE7B,eAAO,MAAM,WAAW,GACtB,QAAQ;IACN,OAAO,EAAE,OAAO,CAAA;IAChB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAA;IACrB,QAAQ,EAAE,CAAC,eAAe,EAAE,CAAC,GAAG,IAAI,CAAA;IACpC,OAAO,EAAE,WAAW,EAAE,CAAA;CACvB,KACA,OAAO,CAAC,aAAa,CAoCvB,CAAA"}
1
+ {"version":3,"file":"load.d.ts","sourceRoot":"","sources":["../../../../src/api/schema/input-source/load.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,IAAI,WAAW,EAAE,MAAM,eAAe,CAAA;AACrD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kDAAkD,CAAA;AAClF,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAA;AAChD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAA;AACxE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,gBAAg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AAY,CAAA;IACrB,CAAC,CAAA;IACD,+DAA+D;IAC/D,IAAI,MAAM,CAAC,QAAQ,EAAE,CAAC;QACpB,KAAK,MAAM,UAAU,IAAI,MAAM,CAAC,QAAQ,EAAE,CAAC;YACzC,MAAM,MAAM,GAAG,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,UAAU,CAAC,CAAA;YAC9D,IAAI,CAAC,MAAM;gBAAE,SAAQ;YAErB,MAAM,YAAY,GAAG,eAAe,CAAC,MAAM,CAAC,IAAI,CAAC,CAAA;YACjD,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,uBAAuB,CAAC,YAAmB,EAAE,MAAM,CAAC,OAAO,CAAC,CAAA;YACxF,IAAI,MAAM,EAAE,CAAC;gBACX,OAAO;oBACL,IAAI,EAAE,MAAM;oBACZ,MAAM;iBACP,CAAA;YACH,CAAC;QACH,CAAC;IACH,CAAC;SAAM,CAAC;QACN,6DAA6D;QAC7D,KAAK,MAAM,MAAM,IAAI,MAAM,CAAC,OAAO,EAAE,CAAC;YACpC,MAAM,YAAY,GAAG,eAAe,CAAC,MAAM,CAAC,IAAI,CAAC,CAAA;YACjD,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,uBAAuB,CAAC,YAAmB,EAAE,MAAM,CAAC,OAAO,CAAC,CAAA;YACxF,IAAI,MAAM,EAAE,CAAC;gBACX,OAAO;oBACL,IAAI,EAAE,MAAM;oBACZ,MAAM;iBACP,CAAA;YACH,CAAC;QACH,CAAC;IACH,CAAC;IAED,MAAM,IAAI,KAAK,CAAC,qEAAqE,CAAC,CAAA;AACxF,CAAC,CAAA"}
@@ -115,34 +115,34 @@ export declare const loader: InputSource.EffectInputSource<"directory", Options,
115
115
  readonly _tag: "FIELD_ADDED";
116
116
  readonly path?: string | undefined;
117
117
  readonly message: string;
118
+ readonly typeName: string;
119
+ readonly fieldName: string;
118
120
  readonly criticality: {
119
121
  readonly reason?: string | undefined;
120
122
  readonly level: "BREAKING" | "DANGEROUS" | "NON_BREAKING";
121
123
  };
122
- readonly typeName: string;
123
- readonly fieldName: string;
124
124
  readonly isDeprecated: boolean;
125
125
  readonly isSafe: boolean;
126
126
  } | {
127
127
  readonly _tag: "FIELD_REMOVED";
128
128
  readonly path?: string | undefined;
129
129
  readonly message: string;
130
+ readonly typeName: string;
131
+ readonly fieldName: string;
130
132
  readonly criticality: {
131
133
  readonly reason?: string | undefined;
132
134
  readonly level: "BREAKING" | "DANGEROUS" | "NON_BREAKING";
133
135
  };
134
- readonly typeName: string;
135
- readonly fieldName: string;
136
136
  } | {
137
137
  readonly _tag: "FIELD_TYPE_CHANGED";
138
138
  readonly path?: string | undefined;
139
139
  readonly message: string;
140
+ readonly typeName: string;
141
+ readonly fieldName: string;
140
142
  readonly criticality: {
141
143
  readonly reason?: string | undefined;
142
144
  readonly level: "BREAKING" | "DANGEROUS" | "NON_BREAKING";
143
145
  };
144
- readonly typeName: string;
145
- readonly fieldName: string;
146
146
  readonly isSafe: boolean;
147
147
  readonly oldType: string;
148
148
  readonly newType: string;
@@ -151,32 +151,32 @@ export declare const loader: InputSource.EffectInputSource<"directory", Options,
151
151
  readonly reason?: string | undefined;
152
152
  readonly path?: string | undefined;
153
153
  readonly message: string;
154
+ readonly typeName: string;
155
+ readonly fieldName: string;
154
156
  readonly criticality: {
155
157
  readonly reason?: string | undefined;
156
158
  readonly level: "BREAKING" | "DANGEROUS" | "NON_BREAKING";
157
159
  };
158
- readonly typeName: string;
159
- readonly fieldName: string;
160
160
  } | {
161
161
  readonly _tag: "FIELD_DEPRECATION_REMOVED";
162
162
  readonly path?: string | undefined;
163
163
  readonly message: string;
164
+ readonly typeName: string;
165
+ readonly fieldName: string;
164
166
  readonly criticality: {
165
167
  readonly reason?: string | undefined;
166
168
  readonly level: "BREAKING" | "DANGEROUS" | "NON_BREAKING";
167
169
  };
168
- readonly typeName: string;
169
- readonly fieldName: string;
170
170
  } | {
171
171
  readonly _tag: "FIELD_DEPRECATION_REASON_CHANGED";
172
172
  readonly path?: string | undefined;
173
173
  readonly message: string;
174
+ readonly typeName: string;
175
+ readonly fieldName: string;
174
176
  readonly criticality: {
175
177
  readonly reason?: string | undefined;
176
178
  readonly level: "BREAKING" | "DANGEROUS" | "NON_BREAKING";
177
179
  };
178
- readonly typeName: string;
179
- readonly fieldName: string;
180
180
  readonly oldReason?: string | undefined;
181
181
  readonly newReason?: string | undefined;
182
182
  } | {
@@ -184,89 +184,89 @@ export declare const loader: InputSource.EffectInputSource<"directory", Options,
184
184
  readonly reason: string;
185
185
  readonly path?: string | undefined;
186
186
  readonly message: string;
187
+ readonly typeName: string;
188
+ readonly fieldName: string;
187
189
  readonly criticality: {
188
190
  readonly reason?: string | undefined;
189
191
  readonly level: "BREAKING" | "DANGEROUS" | "NON_BREAKING";
190
192
  };
191
- readonly typeName: string;
192
- readonly fieldName: string;
193
193
  } | {
194
194
  readonly _tag: "FIELD_DEPRECATION_REASON_REMOVED";
195
195
  readonly path?: string | undefined;
196
196
  readonly message: string;
197
+ readonly typeName: string;
198
+ readonly fieldName: string;
197
199
  readonly criticality: {
198
200
  readonly reason?: string | undefined;
199
201
  readonly level: "BREAKING" | "DANGEROUS" | "NON_BREAKING";
200
202
  };
201
- readonly typeName: string;
202
- readonly fieldName: string;
203
203
  } | {
204
204
  readonly _tag: "FIELD_DESCRIPTION_CHANGED";
205
205
  readonly path?: string | undefined;
206
206
  readonly message: string;
207
+ readonly typeName: string;
208
+ readonly fieldName: string;
207
209
  readonly criticality: {
208
210
  readonly reason?: string | undefined;
209
211
  readonly level: "BREAKING" | "DANGEROUS" | "NON_BREAKING";
210
212
  };
211
213
  readonly oldDescription?: string | undefined;
212
214
  readonly newDescription?: string | undefined;
213
- readonly typeName: string;
214
- readonly fieldName: string;
215
215
  } | {
216
216
  readonly _tag: "FIELD_DESCRIPTION_ADDED";
217
217
  readonly description: string;
218
218
  readonly path?: string | undefined;
219
219
  readonly message: string;
220
+ readonly typeName: string;
221
+ readonly fieldName: string;
220
222
  readonly criticality: {
221
223
  readonly reason?: string | undefined;
222
224
  readonly level: "BREAKING" | "DANGEROUS" | "NON_BREAKING";
223
225
  };
224
- readonly typeName: string;
225
- readonly fieldName: string;
226
226
  } | {
227
227
  readonly _tag: "FIELD_DESCRIPTION_REMOVED";
228
228
  readonly path?: string | undefined;
229
229
  readonly message: string;
230
+ readonly typeName: string;
231
+ readonly fieldName: string;
230
232
  readonly criticality: {
231
233
  readonly reason?: string | undefined;
232
234
  readonly level: "BREAKING" | "DANGEROUS" | "NON_BREAKING";
233
235
  };
234
- readonly typeName: string;
235
- readonly fieldName: string;
236
236
  } | {
237
237
  readonly _tag: "FIELD_ARGUMENT_ADDED";
238
238
  readonly path?: string | undefined;
239
239
  readonly message: string;
240
240
  readonly type: string;
241
241
  readonly defaultValue?: unknown;
242
+ readonly typeName: string;
243
+ readonly fieldName: string;
242
244
  readonly criticality: {
243
245
  readonly reason?: string | undefined;
244
246
  readonly level: "BREAKING" | "DANGEROUS" | "NON_BREAKING";
245
247
  };
246
- readonly typeName: string;
247
- readonly fieldName: string;
248
248
  readonly argumentName: string;
249
249
  } | {
250
250
  readonly _tag: "FIELD_ARGUMENT_REMOVED";
251
251
  readonly path?: string | undefined;
252
252
  readonly message: string;
253
+ readonly typeName: string;
254
+ readonly fieldName: string;
253
255
  readonly criticality: {
254
256
  readonly reason?: string | undefined;
255
257
  readonly level: "BREAKING" | "DANGEROUS" | "NON_BREAKING";
256
258
  };
257
- readonly typeName: string;
258
- readonly fieldName: string;
259
259
  readonly argumentName: string;
260
260
  } | {
261
261
  readonly _tag: "FIELD_ARGUMENT_TYPE_CHANGED";
262
262
  readonly path?: string | undefined;
263
263
  readonly message: string;
264
+ readonly typeName: string;
265
+ readonly fieldName: string;
264
266
  readonly criticality: {
265
267
  readonly reason?: string | undefined;
266
268
  readonly level: "BREAKING" | "DANGEROUS" | "NON_BREAKING";
267
269
  };
268
- readonly typeName: string;
269
- readonly fieldName: string;
270
270
  readonly oldType: string;
271
271
  readonly newType: string;
272
272
  readonly argumentName: string;
@@ -274,25 +274,25 @@ export declare const loader: InputSource.EffectInputSource<"directory", Options,
274
274
  readonly _tag: "FIELD_ARGUMENT_DESCRIPTION_CHANGED";
275
275
  readonly path?: string | undefined;
276
276
  readonly message: string;
277
+ readonly typeName: string;
278
+ readonly fieldName: string;
277
279
  readonly criticality: {
278
280
  readonly reason?: string | undefined;
279
281
  readonly level: "BREAKING" | "DANGEROUS" | "NON_BREAKING";
280
282
  };
281
283
  readonly oldDescription?: string | undefined;
282
284
  readonly newDescription?: string | undefined;
283
- readonly typeName: string;
284
- readonly fieldName: string;
285
285
  readonly argumentName: string;
286
286
  } | {
287
287
  readonly _tag: "FIELD_ARGUMENT_DEFAULT_CHANGED";
288
288
  readonly path?: string | undefined;
289
289
  readonly message: string;
290
+ readonly typeName: string;
291
+ readonly fieldName: string;
290
292
  readonly criticality: {
291
293
  readonly reason?: string | undefined;
292
294
  readonly level: "BREAKING" | "DANGEROUS" | "NON_BREAKING";
293
295
  };
294
- readonly typeName: string;
295
- readonly fieldName: string;
296
296
  readonly argumentName: string;
297
297
  readonly oldDefault?: unknown;
298
298
  readonly newDefault?: unknown;
@@ -387,32 +387,32 @@ export declare const loader: InputSource.EffectInputSource<"directory", Options,
387
387
  readonly _tag: "INPUT_FIELD_ADDED";
388
388
  readonly path?: string | undefined;
389
389
  readonly message: string;
390
+ readonly fieldName: string;
390
391
  readonly criticality: {
391
392
  readonly reason?: string | undefined;
392
393
  readonly level: "BREAKING" | "DANGEROUS" | "NON_BREAKING";
393
394
  };
394
- readonly fieldName: string;
395
395
  readonly inputName: string;
396
396
  readonly isNullable: boolean;
397
397
  } | {
398
398
  readonly _tag: "INPUT_FIELD_REMOVED";
399
399
  readonly path?: string | undefined;
400
400
  readonly message: string;
401
+ readonly fieldName: string;
401
402
  readonly criticality: {
402
403
  readonly reason?: string | undefined;
403
404
  readonly level: "BREAKING" | "DANGEROUS" | "NON_BREAKING";
404
405
  };
405
- readonly fieldName: string;
406
406
  readonly inputName: string;
407
407
  } | {
408
408
  readonly _tag: "INPUT_FIELD_TYPE_CHANGED";
409
409
  readonly path?: string | undefined;
410
410
  readonly message: string;
411
+ readonly fieldName: string;
411
412
  readonly criticality: {
412
413
  readonly reason?: string | undefined;
413
414
  readonly level: "BREAKING" | "DANGEROUS" | "NON_BREAKING";
414
415
  };
415
- readonly fieldName: string;
416
416
  readonly oldType: string;
417
417
  readonly newType: string;
418
418
  readonly inputName: string;
@@ -421,43 +421,43 @@ export declare const loader: InputSource.EffectInputSource<"directory", Options,
421
421
  readonly description: string;
422
422
  readonly path?: string | undefined;
423
423
  readonly message: string;
424
+ readonly fieldName: string;
424
425
  readonly criticality: {
425
426
  readonly reason?: string | undefined;
426
427
  readonly level: "BREAKING" | "DANGEROUS" | "NON_BREAKING";
427
428
  };
428
- readonly fieldName: string;
429
429
  readonly inputName: string;
430
430
  } | {
431
431
  readonly _tag: "INPUT_FIELD_DESCRIPTION_REMOVED";
432
432
  readonly path?: string | undefined;
433
433
  readonly message: string;
434
+ readonly fieldName: string;
434
435
  readonly criticality: {
435
436
  readonly reason?: string | undefined;
436
437
  readonly level: "BREAKING" | "DANGEROUS" | "NON_BREAKING";
437
438
  };
438
- readonly fieldName: string;
439
439
  readonly inputName: string;
440
440
  } | {
441
441
  readonly _tag: "INPUT_FIELD_DESCRIPTION_CHANGED";
442
442
  readonly path?: string | undefined;
443
443
  readonly message: string;
444
+ readonly fieldName: string;
444
445
  readonly criticality: {
445
446
  readonly reason?: string | undefined;
446
447
  readonly level: "BREAKING" | "DANGEROUS" | "NON_BREAKING";
447
448
  };
448
449
  readonly oldDescription?: string | undefined;
449
450
  readonly newDescription?: string | undefined;
450
- readonly fieldName: string;
451
451
  readonly inputName: string;
452
452
  } | {
453
453
  readonly _tag: "INPUT_FIELD_DEFAULT_VALUE_CHANGED";
454
454
  readonly path?: string | undefined;
455
455
  readonly message: string;
456
+ readonly fieldName: string;
456
457
  readonly criticality: {
457
458
  readonly reason?: string | undefined;
458
459
  readonly level: "BREAKING" | "DANGEROUS" | "NON_BREAKING";
459
460
  };
460
- readonly fieldName: string;
461
461
  readonly oldDefault?: unknown;
462
462
  readonly newDefault?: unknown;
463
463
  readonly inputName: string;