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,89 @@
1
+ /**
2
+ * GraphQL schema location utilities for definition paths
3
+ */
4
+ import { Grafaid } from '#lib/grafaid';
5
+ import { Data, Either, Match } from 'effect';
6
+ import * as Definition from './definition.js';
7
+ // ============================================================================
8
+ // Errors
9
+ // ============================================================================
10
+ export class TypeNotFoundError extends Data.TaggedError('TypeNotFoundError') {
11
+ }
12
+ export class FieldNotFoundError extends Data.TaggedError('FieldNotFoundError') {
13
+ }
14
+ // ============================================================================
15
+ // Locate Functions
16
+ // ============================================================================
17
+ /**
18
+ * Locate a type in the GraphQL schema from a type definition path.
19
+ *
20
+ * @param schema - The GraphQL schema
21
+ * @param path - The type definition path
22
+ * @returns Either the located type or a TypeNotFoundError
23
+ */
24
+ export const locateType = (schema, path) => {
25
+ const typeName = Definition.getType(path);
26
+ const type = schema.getType(typeName);
27
+ if (!type) {
28
+ return Either.left(new TypeNotFoundError({
29
+ typeName,
30
+ path: Definition.encodeSync(path),
31
+ }));
32
+ }
33
+ return Either.right(type);
34
+ };
35
+ /**
36
+ * Locate a field in the GraphQL schema from a field definition path.
37
+ *
38
+ * @param schema - The GraphQL schema
39
+ * @param path - The field definition path
40
+ * @returns Either the located field or a FieldNotFoundError
41
+ */
42
+ export const locateField = (schema, path) => {
43
+ const typeName = Definition.getType(path);
44
+ const fieldName = Definition.getField(path);
45
+ const type = schema.getType(typeName);
46
+ if (!type) {
47
+ return Either.left(new FieldNotFoundError({
48
+ typeName,
49
+ fieldName,
50
+ path: Definition.encodeSync(path),
51
+ }));
52
+ }
53
+ if (!Grafaid.Schema.TypesLike.isFielded(type)) {
54
+ return Either.left(new FieldNotFoundError({
55
+ typeName,
56
+ fieldName,
57
+ path: Definition.encodeSync(path),
58
+ }));
59
+ }
60
+ const fields = type.getFields();
61
+ const field = fields[fieldName];
62
+ if (!field) {
63
+ // dprint-ignore
64
+ return Either.left(new FieldNotFoundError({
65
+ typeName,
66
+ fieldName,
67
+ path: Definition.encodeSync(path),
68
+ }));
69
+ }
70
+ return Either.right(field);
71
+ };
72
+ /**
73
+ * Locate a type or field in the GraphQL schema from a definition path.
74
+ *
75
+ * @param schema - The GraphQL schema
76
+ * @param path - The definition path (type or field)
77
+ * @returns Either the located type/field or an error
78
+ */
79
+ export const locate = (schema, path) => {
80
+ return Match.value(path).pipe(Match.when(Definition.isTypeDefinitionPath, (p) => locateType(schema, p)), Match.when(Definition.isFieldDefinitionPath, (p) => locateField(schema, p)), Match.orElse(() => {
81
+ // This should never happen with proper path types
82
+ // Return a generic error for unsupported path types
83
+ return Either.left(new TypeNotFoundError({
84
+ typeName: 'unknown',
85
+ path: Definition.encodeSync(path),
86
+ }));
87
+ }));
88
+ };
89
+ //# sourceMappingURL=schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../src/lib/graphql-path/schema.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AACtC,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAA;AAC5C,OAAO,KAAK,UAAU,MAAM,iBAAiB,CAAA;AAE7C,+EAA+E;AAC/E,SAAS;AACT,+EAA+E;AAE/E,MAAM,OAAO,iBAAkB,SAAQ,IAAI,CAAC,WAAW,CAAC,mBAAmB,CAGzE;CAAG;AAEL,MAAM,OAAO,kBAAmB,SAAQ,IAAI,CAAC,WAAW,CAAC,oBAAoB,CAI3E;CAAG;AAEL,+EAA+E;AAC/E,mBAAmB;AACnB,+EAA+E;AAE/E;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG,CACxB,MAA6B,EAC7B,IAAmC,EAC+B,EAAE;IACpE,MAAM,QAAQ,GAAG,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,CAAA;IACzC,MAAM,IAAI,GAAG,MAAM,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAA;IACrC,IAAI,CAAC,IAAI,EAAE,CAAC;QACV,OAAO,MAAM,CAAC,IAAI,CAChB,IAAI,iBAAiB,CAAC;YACpB,QAAQ;YACR,IAAI,EAAE,UAAU,CAAC,UAAU,CAAC,IAAI,CAAC;SAClC,CAAC,CACH,CAAA;IACH,CAAC;IACD,OAAO,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,CAAA;AAC3B,CAAC,CAAA;AAED;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,CACzB,MAA6B,EAC7B,IAAoC,EAC+B,EAAE;IACrE,MA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ACR,UAAU,CAAC,oBAAoB,EAC/B,CAAC,CAAC,EAAE,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,CAAC,CAAC,CAC7B,EACD,KAAK,CAAC,IAAI,CACR,UAAU,CAAC,qBAAqB,EAChC,CAAC,CAAC,EAAE,EAAE,CAAC,WAAW,CAAC,MAAM,EAAE,CAAC,CAAC,CAC9B,EACD,KAAK,CAAC,MAAM,CAAC,GAAG,EAAE;QAChB,kDAAkD;QAClD,oDAAoD;QACpD,OAAO,MAAM,CAAC,IAAI,CAChB,IAAI,iBAAiB,CAAC;YACpB,QAAQ,EAAE,SAAS;YACnB,IAAI,EAAE,UAAU,CAAC,UAAU,CAAC,IAAI,CAAC;SAClC,CAAC,CACH,CAAA;IACH,CAAC,CAAC,CACH,CAAA;AACH,CAAC,CAAA"}
@@ -1,50 +1,98 @@
1
1
  /**
2
- * GraphQL Path type definitions
2
+ * GraphQL Path type definitions using Effect Schema
3
3
  */
4
+ import { S } from '#lib/kit-temp/effect';
4
5
  /**
5
- * Base segment representing a GraphQL type in a path
6
+ * Segment representing a GraphQL type in a path
6
7
  */
7
- export interface TypeSegment {
8
- kind: 'type';
9
- type: string;
10
- }
8
+ export declare const TypeSegment: S.TaggedStruct<"TypeSegment", {
9
+ type: typeof S.String;
10
+ }>;
11
+ export type TypeSegment = S.Schema.Type<typeof TypeSegment>;
12
+ export declare const isTypeSegment: (u: unknown, overrideOptions?: import("effect/SchemaAST").ParseOptions | number) => u is {
13
+ readonly _tag: "TypeSegment";
14
+ readonly type: string;
15
+ };
11
16
  /**
12
- * Base segment representing a field in a path
17
+ * Segment representing a field in a path
13
18
  */
14
- export interface FieldSegment {
15
- kind: 'field';
16
- field: string;
17
- }
19
+ export declare const FieldSegment: S.TaggedStruct<"FieldSegment", {
20
+ field: typeof S.String;
21
+ }>;
22
+ export type FieldSegment = S.Schema.Type<typeof FieldSegment>;
23
+ export declare const isFieldSegment: (u: unknown, overrideOptions?: import("effect/SchemaAST").ParseOptions | number) => u is {
24
+ readonly _tag: "FieldSegment";
25
+ readonly field: string;
26
+ };
18
27
  /**
19
- * Base segment representing an argument in a path
28
+ * Segment representing an argument in a path
20
29
  */
21
- export interface ArgumentSegment {
22
- kind: 'argument';
23
- argument: string;
24
- }
30
+ export declare const ArgumentSegment: S.TaggedStruct<"ArgumentSegment", {
31
+ argument: typeof S.String;
32
+ }>;
33
+ export type ArgumentSegment = S.Schema.Type<typeof ArgumentSegment>;
34
+ export declare const isArgumentSegment: (u: unknown, overrideOptions?: import("effect/SchemaAST").ParseOptions | number) => u is {
35
+ readonly _tag: "ArgumentSegment";
36
+ readonly argument: string;
37
+ };
25
38
  /**
26
39
  * Union of all possible segments
27
40
  */
28
- export type Segment = TypeSegment | FieldSegment | ArgumentSegment;
41
+ export declare const Segment: S.Union<[S.TaggedStruct<"TypeSegment", {
42
+ type: typeof S.String;
43
+ }>, S.TaggedStruct<"FieldSegment", {
44
+ field: typeof S.String;
45
+ }>, S.TaggedStruct<"ArgumentSegment", {
46
+ argument: typeof S.String;
47
+ }>]>;
48
+ export type Segment = S.Schema.Type<typeof Segment>;
49
+ export declare const isSegment: (u: unknown, overrideOptions?: import("effect/SchemaAST").ParseOptions | number) => u is {
50
+ readonly _tag: "TypeSegment";
51
+ readonly type: string;
52
+ } | {
53
+ readonly _tag: "FieldSegment";
54
+ readonly field: string;
55
+ } | {
56
+ readonly _tag: "ArgumentSegment";
57
+ readonly argument: string;
58
+ };
29
59
  /**
30
60
  * Query segments - only types and fields can be traversed in queries
31
61
  * Arguments cannot be part of query paths as they are not traversable
32
62
  */
33
- export type QuerySegment = TypeSegment | FieldSegment;
63
+ export declare const QuerySegment: S.Union<[S.TaggedStruct<"TypeSegment", {
64
+ type: typeof S.String;
65
+ }>, S.TaggedStruct<"FieldSegment", {
66
+ field: typeof S.String;
67
+ }>]>;
68
+ export type QuerySegment = S.Schema.Type<typeof QuerySegment>;
69
+ export declare const isQuerySegment: (u: unknown, overrideOptions?: import("effect/SchemaAST").ParseOptions | number) => u is {
70
+ readonly _tag: "TypeSegment";
71
+ readonly type: string;
72
+ } | {
73
+ readonly _tag: "FieldSegment";
74
+ readonly field: string;
75
+ };
34
76
  /**
35
77
  * Query/Data paths - potentially deep paths that span multiple types through fields
36
78
  * These represent traversal paths through the schema graph
37
79
  *
38
- * @example
39
- * User.posts.author.name would be:
40
- * [
41
- * { kind: 'type', type: 'User' },
42
- * { kind: 'field', field: 'posts' },
43
- * { kind: 'type', type: 'Post' },
44
- * { kind: 'field', field: 'author' },
45
- * { kind: 'type', type: 'User' },
46
- * { kind: 'field', field: 'name' }
80
+ * Encoded: "User.posts.Post.author.User.name"
81
+ * Decoded: [
82
+ * { _tag: 'TypeSegment', type: 'User' },
83
+ * { _tag: 'FieldSegment', field: 'posts' },
84
+ * { _tag: 'TypeSegment', type: 'Post' },
85
+ * { _tag: 'FieldSegment', field: 'author' },
86
+ * { _tag: 'TypeSegment', type: 'User' },
87
+ * { _tag: 'FieldSegment', field: 'name' }
47
88
  * ]
89
+ *
90
+ * Note: Assumes alternating type.field.type.field pattern
48
91
  */
49
- export type QueryPath = QuerySegment[];
92
+ export declare const QueryPath: S.transformOrFail<typeof S.String, S.Array$<S.Union<[S.TaggedStruct<"TypeSegment", {
93
+ type: typeof S.String;
94
+ }>, S.TaggedStruct<"FieldSegment", {
95
+ field: typeof S.String;
96
+ }>]>>, never>;
97
+ export type QueryPath = S.Schema.Type<typeof QueryPath>;
50
98
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/lib/graphql-path/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;CACb;AAED;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,OAAO,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;CACd;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H,eAAO,MAAM,YAAY;;;;IAAqC,CAAA;AAE9D,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,YAAY,CAAC,CAAA;AAG7D,eAAO,MAAM,cAAc;;;;;;CAAqB,CAAA;AAOhD;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,SAAS;;;;aA2CpB,CAAA;AAEF,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,SAAS,CAAC,CAAA"}
@@ -1,5 +1,104 @@
1
1
  /**
2
- * GraphQL Path type definitions
2
+ * GraphQL Path type definitions using Effect Schema
3
3
  */
4
- export {};
4
+ import { S } from '#lib/kit-temp/effect';
5
+ import { ParseResult } from 'effect';
6
+ // ============================================================================
7
+ // Schema
8
+ // ============================================================================
9
+ /**
10
+ * Segment representing a GraphQL type in a path
11
+ */
12
+ export const TypeSegment = S.TaggedStruct('TypeSegment', {
13
+ type: S.String,
14
+ });
15
+ // Type guard derived from Effect Schema
16
+ export const isTypeSegment = S.is(TypeSegment);
17
+ /**
18
+ * Segment representing a field in a path
19
+ */
20
+ export const FieldSegment = S.TaggedStruct('FieldSegment', {
21
+ field: S.String,
22
+ });
23
+ // Type guard derived from Effect Schema
24
+ export const isFieldSegment = S.is(FieldSegment);
25
+ /**
26
+ * Segment representing an argument in a path
27
+ */
28
+ export const ArgumentSegment = S.TaggedStruct('ArgumentSegment', {
29
+ argument: S.String,
30
+ });
31
+ // Type guard derived from Effect Schema
32
+ export const isArgumentSegment = S.is(ArgumentSegment);
33
+ /**
34
+ * Union of all possible segments
35
+ */
36
+ export const Segment = S.Union(TypeSegment, FieldSegment, ArgumentSegment);
37
+ // Type guard derived from Effect Schema
38
+ export const isSegment = S.is(Segment);
39
+ /**
40
+ * Query segments - only types and fields can be traversed in queries
41
+ * Arguments cannot be part of query paths as they are not traversable
42
+ */
43
+ export const QuerySegment = S.Union(TypeSegment, FieldSegment);
44
+ // Type guard derived from Effect Schema
45
+ export const isQuerySegment = S.is(QuerySegment);
46
+ /**
47
+ * Internal decoded form of QueryPath
48
+ */
49
+ const QueryPathDecoded = S.Array(QuerySegment);
50
+ /**
51
+ * Query/Data paths - potentially deep paths that span multiple types through fields
52
+ * These represent traversal paths through the schema graph
53
+ *
54
+ * Encoded: "User.posts.Post.author.User.name"
55
+ * Decoded: [
56
+ * { _tag: 'TypeSegment', type: 'User' },
57
+ * { _tag: 'FieldSegment', field: 'posts' },
58
+ * { _tag: 'TypeSegment', type: 'Post' },
59
+ * { _tag: 'FieldSegment', field: 'author' },
60
+ * { _tag: 'TypeSegment', type: 'User' },
61
+ * { _tag: 'FieldSegment', field: 'name' }
62
+ * ]
63
+ *
64
+ * Note: Assumes alternating type.field.type.field pattern
65
+ */
66
+ export const QueryPath = S.transformOrFail(S.String, QueryPathDecoded, {
67
+ decode: (str, _options, ast) => {
68
+ if (!str) {
69
+ return ParseResult.fail(new ParseResult.Type(ast, str));
70
+ }
71
+ const parts = str.split('.');
72
+ const segments = [];
73
+ // Assume alternating pattern: type.field.type.field...
74
+ for (let i = 0; i < parts.length; i++) {
75
+ const part = parts[i];
76
+ if (!part) {
77
+ return ParseResult.fail(new ParseResult.Type(ast, str));
78
+ }
79
+ if (i % 2 === 0) {
80
+ // Even indices are types
81
+ segments.push(TypeSegment.make({ type: part }));
82
+ }
83
+ else {
84
+ // Odd indices are fields
85
+ segments.push(FieldSegment.make({ field: part }));
86
+ }
87
+ }
88
+ return ParseResult.succeed(segments);
89
+ },
90
+ encode: (path) => {
91
+ const str = path.map(segment => {
92
+ if (segment._tag === 'TypeSegment')
93
+ return segment.type;
94
+ if (segment._tag === 'FieldSegment')
95
+ return segment.field;
96
+ return '';
97
+ }).filter(Boolean).join('.');
98
+ return ParseResult.succeed(str);
99
+ },
100
+ }).annotations({
101
+ identifier: 'QueryPath',
102
+ description: 'Query path through a GraphQL schema',
103
+ });
5
104
  //# sourceMappingURL=types.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/lib/graphql-path/types.ts"],"names":[],"mappings":"AAAA;;GAEG"}
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/lib/graphql-path/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,sBAAsB,CAAA;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAA;AAEpC,+EAA+E;AAC/E,SAAS;AACT,+EAA+E;AAE/E;;GAEG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,CAAC,YAAY,CAAC,aAAa,EAAE;IACvD,IAAI,EAAE,CAAC,CAAC,MAAM;CACf,CAAC,CAAA;AAIF,wCAAwC;AACxC,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,CAAC,EAAE,CAAC,WAAW,CAAC,CAAA;AAE9C;;GAEG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,CAAC,YAAY,CAAC,cAAc,EAAE;IACzD,KAAK,EAAE,CAAC,CAAC,MAAM;CAChB,CAAC,CAAA;AAIF,wCAAwC;AACxC,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,EAAE,CAAC,YAAY,CAAC,CAAA;AAEhD;;GAEG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,CAAC,YAAY,CAAC,iBAAiB,EAAE;IAC/D,QAAQ,EAAE,CAAC,CAAC,MAAM;CACnB,CAAC,CAAA;AAIF,wCAAwC;AACxC,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAC,EAAE,CAAC,eAAe,CAAC,CAAA;AAEtD;;GAEG;AACH,MAAM,CAAC,MAAM,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,WAAW,EAAE,YAAY,EAAE,eAAe,CAAC,CAAA;AAI1E,wCAAwC;AACxC,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,CAAA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