polen 0.11.0-next.12 → 0.11.0-next.14

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 (753) hide show
  1. package/README.md +1 -1
  2. package/build/api/api.d.ts +1 -0
  3. package/build/api/api.d.ts.map +1 -1
  4. package/build/api/api.js +1 -0
  5. package/build/api/api.js.map +1 -1
  6. package/build/api/cache/$$.d.ts +2 -0
  7. package/build/api/cache/$$.d.ts.map +1 -0
  8. package/build/api/cache/$$.js +2 -0
  9. package/build/api/cache/$$.js.map +1 -0
  10. package/build/api/cache/$.d.ts +2 -0
  11. package/build/api/cache/$.d.ts.map +1 -0
  12. package/build/api/cache/$.js +2 -0
  13. package/build/api/cache/$.js.map +1 -0
  14. package/build/api/cache/cache.d.ts +40 -0
  15. package/build/api/cache/cache.d.ts.map +1 -0
  16. package/build/api/cache/cache.js +158 -0
  17. package/build/api/cache/cache.js.map +1 -0
  18. package/build/api/content/navbar.d.ts +1 -0
  19. package/build/api/content/navbar.d.ts.map +1 -1
  20. package/build/api/content/navbar.js +1 -0
  21. package/build/api/content/navbar.js.map +1 -1
  22. package/build/api/content/page.d.ts +1 -1
  23. package/build/api/content/page.d.ts.map +1 -1
  24. package/build/api/content/scan.d.ts +1 -1
  25. package/build/api/content/scan.d.ts.map +1 -1
  26. package/build/api/content/scan.js +1 -1
  27. package/build/api/content/scan.js.map +1 -1
  28. package/build/api/content/sidebar.js +1 -1
  29. package/build/api/content/sidebar.js.map +1 -1
  30. package/build/api/hooks/helpers.d.ts +5 -0
  31. package/build/api/hooks/helpers.d.ts.map +1 -0
  32. package/build/api/hooks/helpers.js +4 -0
  33. package/build/api/hooks/helpers.js.map +1 -0
  34. package/build/api/hooks/index.d.ts +3 -0
  35. package/build/api/hooks/index.d.ts.map +1 -0
  36. package/build/api/hooks/index.js +3 -0
  37. package/build/api/hooks/index.js.map +1 -0
  38. package/build/api/hooks/types.d.ts +11 -0
  39. package/build/api/hooks/types.d.ts.map +1 -0
  40. package/build/api/hooks/types.js +2 -0
  41. package/build/api/hooks/types.js.map +1 -0
  42. package/build/api/iso/schema/$$.d.ts +0 -1
  43. package/build/api/iso/schema/$$.d.ts.map +1 -1
  44. package/build/api/iso/schema/routing.js +1 -1
  45. package/build/api/iso/schema/routing.js.map +1 -1
  46. package/build/api/iso/schema/validation.js +1 -1
  47. package/build/api/iso/schema/validation.js.map +1 -1
  48. package/build/api/schema/data-sources/introspection/introspection.d.ts +4 -3
  49. package/build/api/schema/data-sources/introspection/introspection.d.ts.map +1 -1
  50. package/build/api/schema/data-sources/introspection/introspection.js +6 -5
  51. package/build/api/schema/data-sources/introspection/introspection.js.map +1 -1
  52. package/build/api/schema/data-sources/memory/memory.d.ts +2 -2
  53. package/build/api/schema/data-sources/memory/memory.d.ts.map +1 -1
  54. package/build/api/schema/data-sources/memory/memory.js +24 -12
  55. package/build/api/schema/data-sources/memory/memory.js.map +1 -1
  56. package/build/api/schema/data-sources/schema-directory/schema-directory.d.ts +2 -2
  57. package/build/api/schema/data-sources/schema-directory/schema-directory.d.ts.map +1 -1
  58. package/build/api/schema/data-sources/schema-directory/schema-directory.js +24 -12
  59. package/build/api/schema/data-sources/schema-directory/schema-directory.js.map +1 -1
  60. package/build/api/schema/data-sources/schema-file/schema-file.d.ts +3 -3
  61. package/build/api/schema/data-sources/schema-file/schema-file.d.ts.map +1 -1
  62. package/build/api/schema/data-sources/schema-file/schema-file.js +5 -4
  63. package/build/api/schema/data-sources/schema-file/schema-file.js.map +1 -1
  64. package/build/api/schema/read.d.ts +4 -4
  65. package/build/api/schema/read.d.ts.map +1 -1
  66. package/build/api/schema/read.js +1 -1
  67. package/build/api/schema/read.js.map +1 -1
  68. package/build/api/schema/schema.d.ts +0 -10
  69. package/build/api/schema/schema.d.ts.map +1 -1
  70. package/build/api/schema/schema.js.map +1 -1
  71. package/build/api/schema-augmentation/augmentations/description.d.ts +1 -1
  72. package/build/api/schema-augmentation/augmentations/description.d.ts.map +1 -1
  73. package/build/api/schema-augmentation/schema-augmentation.d.ts +1 -1
  74. package/build/api/schema-augmentation/schema-augmentation.d.ts.map +1 -1
  75. package/build/api/schema-augmentation/target.d.ts +1 -1
  76. package/build/api/schema-augmentation/target.d.ts.map +1 -1
  77. package/build/api/schema-augmentation/target.js +1 -1
  78. package/build/api/schema-augmentation/target.js.map +1 -1
  79. package/build/api/schema-source/schema-source.d.ts +9 -5
  80. package/build/api/schema-source/schema-source.d.ts.map +1 -1
  81. package/build/api/schema-source/schema-source.js +37 -24
  82. package/build/api/schema-source/schema-source.js.map +1 -1
  83. package/build/api/vite/plugins/build.js +1 -1
  84. package/build/api/vite/plugins/build.js.map +1 -1
  85. package/build/api/vite/plugins/core.d.ts +2 -1
  86. package/build/api/vite/plugins/core.d.ts.map +1 -1
  87. package/build/api/vite/plugins/core.js +47 -9
  88. package/build/api/vite/plugins/core.js.map +1 -1
  89. package/build/api/vite/plugins/pages.js +1 -1
  90. package/build/api/vite/plugins/pages.js.map +1 -1
  91. package/build/api/vite/plugins/schema-assets.d.ts +1 -1
  92. package/build/api/vite/plugins/schema-assets.d.ts.map +1 -1
  93. package/build/api/vite/plugins/schema-assets.js +14 -5
  94. package/build/api/vite/plugins/schema-assets.js.map +1 -1
  95. package/build/api/vite/vi.d.ts +1 -1
  96. package/build/api/vite/vi.d.ts.map +1 -1
  97. package/build/api/vite/vi.js +1 -1
  98. package/build/api/vite/vi.js.map +1 -1
  99. package/build/cli/commands/cache/$default.d.ts +3 -0
  100. package/build/cli/commands/cache/$default.d.ts.map +1 -0
  101. package/build/cli/commands/cache/$default.js +10 -0
  102. package/build/cli/commands/cache/$default.js.map +1 -0
  103. package/build/cli/commands/cache/delete.d.ts +2 -0
  104. package/build/cli/commands/cache/delete.d.ts.map +1 -0
  105. package/build/cli/commands/cache/delete.js +22 -0
  106. package/build/cli/commands/cache/delete.js.map +1 -0
  107. package/build/cli/commands/cache/show.d.ts +2 -0
  108. package/build/cli/commands/cache/show.d.ts.map +1 -0
  109. package/build/cli/commands/cache/show.js +86 -0
  110. package/build/cli/commands/cache/show.js.map +1 -0
  111. package/build/cli/commands/cache.d.ts +3 -0
  112. package/build/cli/commands/cache.d.ts.map +1 -0
  113. package/build/cli/commands/cache.js +7 -0
  114. package/build/cli/commands/cache.js.map +1 -0
  115. package/build/cli/commands/config.js +2 -0
  116. package/build/cli/commands/config.js.map +1 -1
  117. package/build/cli/commands/open.js +2 -2
  118. package/build/cli/commands/open.js.map +1 -1
  119. package/build/cli/commands/static.js +2 -0
  120. package/build/cli/commands/static.js.map +1 -1
  121. package/build/exports/polen.d.ts +1 -0
  122. package/build/exports/polen.d.ts.map +1 -1
  123. package/build/exports/polen.js +1 -0
  124. package/build/exports/polen.js.map +1 -1
  125. package/build/exports/radix-ui/react-icons.d.ts +2 -0
  126. package/build/exports/radix-ui/react-icons.d.ts.map +1 -0
  127. package/build/exports/radix-ui/react-icons.js +4 -0
  128. package/build/exports/radix-ui/react-icons.js.map +1 -0
  129. package/build/exports/radix-ui/themes.d.ts +2 -0
  130. package/build/exports/radix-ui/themes.d.ts.map +1 -0
  131. package/build/exports/radix-ui/themes.js +4 -0
  132. package/build/exports/radix-ui/themes.js.map +1 -0
  133. package/build/lib/apple-touch-icon/{index.js → $.d.ts} +1 -1
  134. package/build/lib/apple-touch-icon/$.d.ts.map +1 -0
  135. package/build/lib/apple-touch-icon/{index.d.ts → $.js} +1 -1
  136. package/build/lib/apple-touch-icon/$.js.map +1 -0
  137. package/build/lib/errors/{errors.js → $$.d.ts} +1 -1
  138. package/build/lib/errors/$$.d.ts.map +1 -0
  139. package/build/lib/errors/{errors.d.ts → $$.js} +1 -1
  140. package/build/lib/errors/$$.js.map +1 -0
  141. package/build/lib/errors/$.d.ts +2 -0
  142. package/build/lib/errors/$.d.ts.map +1 -0
  143. package/build/lib/errors/$.js +2 -0
  144. package/build/lib/errors/$.js.map +1 -0
  145. package/build/lib/extensible-data/{index.js → $.d.ts} +1 -1
  146. package/build/lib/extensible-data/$.d.ts.map +1 -0
  147. package/build/lib/extensible-data/{index.d.ts → $.js} +1 -1
  148. package/build/lib/extensible-data/$.js.map +1 -0
  149. package/build/lib/favicon/{index.js → $.d.ts} +1 -1
  150. package/build/lib/favicon/$.d.ts.map +1 -0
  151. package/build/lib/favicon/{index.d.ts → $.js} +1 -1
  152. package/build/lib/favicon/$.js.map +1 -0
  153. package/build/lib/file-router/{file-router.js → $$.d.ts} +1 -1
  154. package/build/lib/file-router/$$.d.ts.map +1 -0
  155. package/build/lib/file-router/{file-router.d.ts → $$.js} +1 -1
  156. package/build/lib/file-router/$$.js.map +1 -0
  157. package/build/lib/file-router/$.d.ts +2 -0
  158. package/build/lib/file-router/$.d.ts.map +1 -0
  159. package/build/lib/file-router/$.js +2 -0
  160. package/build/lib/file-router/$.js.map +1 -0
  161. package/build/lib/grafaid/{grafaid.js → $$.d.ts} +1 -1
  162. package/build/lib/grafaid/$$.d.ts.map +1 -0
  163. package/build/lib/grafaid/{grafaid.d.ts → $$.js} +1 -1
  164. package/build/lib/grafaid/$$.js.map +1 -0
  165. package/build/lib/grafaid/$.d.ts +2 -0
  166. package/build/lib/grafaid/$.d.ts.map +1 -0
  167. package/build/lib/grafaid/$.js +2 -0
  168. package/build/lib/grafaid/$.js.map +1 -0
  169. package/build/lib/grafaid/schema/type.d.ts.map +1 -1
  170. package/build/lib/grafaid/schema/type.js.map +1 -1
  171. package/build/lib/grafaid-old/{index.js → $.d.ts} +1 -1
  172. package/build/lib/grafaid-old/$.d.ts.map +1 -0
  173. package/build/lib/grafaid-old/{index.d.ts → $.js} +1 -1
  174. package/build/lib/grafaid-old/$.js.map +1 -0
  175. package/build/lib/graphql-change/{graphql-change.d.ts → $$.d.ts} +2 -2
  176. package/build/lib/graphql-change/$$.d.ts.map +1 -0
  177. package/build/lib/graphql-change/{graphql-change.js → $$.js} +1 -1
  178. package/build/lib/graphql-change/$$.js.map +1 -0
  179. package/build/lib/graphql-change/$.d.ts +2 -0
  180. package/build/lib/graphql-change/$.d.ts.map +1 -0
  181. package/build/lib/graphql-change/$.js +2 -0
  182. package/build/lib/graphql-change/$.js.map +1 -0
  183. package/build/lib/graphql-change/change-groups.d.ts +5 -1
  184. package/build/lib/graphql-change/change-groups.d.ts.map +1 -1
  185. package/build/lib/graphql-change/change-groups.js.map +1 -1
  186. package/build/lib/graphql-changeset/$$.d.ts +4 -0
  187. package/build/lib/graphql-changeset/$$.d.ts.map +1 -0
  188. package/build/lib/graphql-changeset/$$.js +4 -0
  189. package/build/lib/graphql-changeset/$$.js.map +1 -0
  190. package/build/lib/graphql-changeset/$.d.ts +2 -0
  191. package/build/lib/graphql-changeset/$.d.ts.map +1 -0
  192. package/build/lib/graphql-changeset/$.js +2 -0
  193. package/build/lib/graphql-changeset/$.js.map +1 -0
  194. package/build/lib/graphql-changeset/changelog.d.ts +4 -0
  195. package/build/lib/graphql-changeset/changelog.d.ts.map +1 -0
  196. package/build/lib/graphql-changeset/changelog.js +2 -0
  197. package/build/lib/graphql-changeset/changelog.js.map +1 -0
  198. package/build/lib/graphql-changeset/changeset.d.ts +66 -0
  199. package/build/lib/graphql-changeset/changeset.d.ts.map +1 -0
  200. package/build/lib/graphql-changeset/changeset.js +139 -0
  201. package/build/lib/graphql-changeset/changeset.js.map +1 -0
  202. package/build/lib/graphql-changeset/versioned-schema.d.ts +31 -0
  203. package/build/lib/graphql-changeset/versioned-schema.d.ts.map +1 -0
  204. package/build/lib/graphql-changeset/versioned-schema.js +14 -0
  205. package/build/lib/graphql-changeset/versioned-schema.js.map +1 -0
  206. package/build/lib/graphql-path/$$.d.ts +42 -0
  207. package/build/lib/graphql-path/$$.d.ts.map +1 -0
  208. package/build/lib/graphql-path/$$.js +42 -0
  209. package/build/lib/graphql-path/$$.js.map +1 -0
  210. package/build/lib/graphql-path/$.d.ts +5 -0
  211. package/build/lib/graphql-path/$.d.ts.map +1 -0
  212. package/build/lib/graphql-path/$.js +5 -0
  213. package/build/lib/graphql-path/$.js.map +1 -0
  214. package/build/lib/graphql-path/constructors.d.ts +57 -0
  215. package/build/lib/graphql-path/constructors.d.ts.map +1 -0
  216. package/build/lib/graphql-path/constructors.js +73 -0
  217. package/build/lib/graphql-path/constructors.js.map +1 -0
  218. package/build/lib/graphql-path/definition.d.ts +152 -0
  219. package/build/lib/graphql-path/definition.d.ts.map +1 -0
  220. package/build/lib/graphql-path/definition.js +192 -0
  221. package/build/lib/graphql-path/definition.js.map +1 -0
  222. package/build/lib/graphql-path/query.d.ts +75 -0
  223. package/build/lib/graphql-path/query.d.ts.map +1 -0
  224. package/build/lib/graphql-path/query.js +111 -0
  225. package/build/lib/graphql-path/query.js.map +1 -0
  226. package/build/lib/graphql-path/types.d.ts +50 -0
  227. package/build/lib/graphql-path/types.d.ts.map +1 -0
  228. package/build/lib/graphql-path/types.js +5 -0
  229. package/build/lib/graphql-path/types.js.map +1 -0
  230. package/build/lib/graphql-schema-loader/{index.js → $.d.ts} +1 -1
  231. package/build/lib/graphql-schema-loader/$.d.ts.map +1 -0
  232. package/build/lib/graphql-schema-loader/{index.d.ts → $.js} +1 -1
  233. package/build/lib/graphql-schema-loader/$.js.map +1 -0
  234. package/build/lib/graphql-schema-loader/graphql-schema-loader.d.ts +1 -1
  235. package/build/lib/graphql-schema-loader/graphql-schema-loader.d.ts.map +1 -1
  236. package/build/lib/graphql-schema-loader/graphql-schema-loader.js +1 -1
  237. package/build/lib/graphql-schema-loader/graphql-schema-loader.js.map +1 -1
  238. package/build/lib/hono-aid/{index.js → $.d.ts} +1 -1
  239. package/build/lib/hono-aid/$.d.ts.map +1 -0
  240. package/build/lib/hono-aid/{index.d.ts → $.js} +1 -1
  241. package/build/lib/hono-aid/$.js.map +1 -0
  242. package/build/lib/html-utils/$$.d.ts +3 -0
  243. package/build/lib/html-utils/$$.d.ts.map +1 -0
  244. package/build/lib/html-utils/$$.js +3 -0
  245. package/build/lib/html-utils/$$.js.map +1 -0
  246. package/build/lib/html-utils/$.d.ts +2 -0
  247. package/build/lib/html-utils/$.d.ts.map +1 -0
  248. package/build/lib/html-utils/$.js +2 -0
  249. package/build/lib/html-utils/$.js.map +1 -0
  250. package/build/lib/kit-temp.d.ts +1 -0
  251. package/build/lib/kit-temp.d.ts.map +1 -1
  252. package/build/lib/react-router-aid/{react-router-aid.d.ts → $$.d.ts} +1 -1
  253. package/build/lib/react-router-aid/$$.d.ts.map +1 -0
  254. package/build/lib/react-router-aid/{react-router-aid.js → $$.js} +1 -1
  255. package/build/lib/react-router-aid/$$.js.map +1 -0
  256. package/build/lib/react-router-aid/$.d.ts +2 -0
  257. package/build/lib/react-router-aid/$.d.ts.map +1 -0
  258. package/build/lib/react-router-aid/$.js +2 -0
  259. package/build/lib/react-router-aid/$.js.map +1 -0
  260. package/build/lib/react-router-loader/{react-router-loader.d.ts → $$.d.ts} +1 -1
  261. package/build/lib/react-router-loader/$$.d.ts.map +1 -0
  262. package/build/lib/react-router-loader/{react-router-loader.js → $$.js} +1 -1
  263. package/build/lib/react-router-loader/$$.js.map +1 -0
  264. package/build/lib/react-router-loader/$.d.ts +2 -0
  265. package/build/lib/react-router-loader/$.d.ts.map +1 -0
  266. package/build/lib/react-router-loader/$.js +2 -0
  267. package/build/lib/react-router-loader/$.js.map +1 -0
  268. package/build/lib/schema-lifecycle/$$.d.ts +6 -0
  269. package/build/lib/schema-lifecycle/$$.d.ts.map +1 -0
  270. package/build/lib/schema-lifecycle/$$.js +6 -0
  271. package/build/lib/schema-lifecycle/$$.js.map +1 -0
  272. package/build/lib/schema-lifecycle/$.d.ts +2 -0
  273. package/build/lib/schema-lifecycle/$.d.ts.map +1 -0
  274. package/build/lib/schema-lifecycle/$.js +2 -0
  275. package/build/lib/schema-lifecycle/$.js.map +1 -0
  276. package/build/lib/schema-lifecycle/FieldLifecycle.d.ts +17 -0
  277. package/build/lib/schema-lifecycle/FieldLifecycle.d.ts.map +1 -0
  278. package/build/lib/schema-lifecycle/FieldLifecycle.js +2 -0
  279. package/build/lib/schema-lifecycle/FieldLifecycle.js.map +1 -0
  280. package/build/lib/schema-lifecycle/LifecycleEvent.d.ts +25 -0
  281. package/build/lib/schema-lifecycle/LifecycleEvent.d.ts.map +1 -0
  282. package/build/lib/schema-lifecycle/LifecycleEvent.js +2 -0
  283. package/build/lib/schema-lifecycle/LifecycleEvent.js.map +1 -0
  284. package/build/lib/schema-lifecycle/NamedTypeLifecycle.d.ts +59 -0
  285. package/build/lib/schema-lifecycle/NamedTypeLifecycle.d.ts.map +1 -0
  286. package/build/lib/schema-lifecycle/NamedTypeLifecycle.js +24 -0
  287. package/build/lib/schema-lifecycle/NamedTypeLifecycle.js.map +1 -0
  288. package/build/lib/schema-lifecycle/SchemaLifecycle.d.ts +25 -0
  289. package/build/lib/schema-lifecycle/SchemaLifecycle.d.ts.map +1 -0
  290. package/build/lib/schema-lifecycle/SchemaLifecycle.js +59 -0
  291. package/build/lib/schema-lifecycle/SchemaLifecycle.js.map +1 -0
  292. package/build/lib/schema-lifecycle/SchemaLink.d.ts +2 -0
  293. package/build/lib/schema-lifecycle/SchemaLink.d.ts.map +1 -0
  294. package/build/lib/schema-lifecycle/SchemaLink.js +38 -0
  295. package/build/lib/schema-lifecycle/SchemaLink.js.map +1 -0
  296. package/build/lib/schema-lifecycle/handlers.d.ts +20 -0
  297. package/build/lib/schema-lifecycle/handlers.d.ts.map +1 -0
  298. package/build/lib/schema-lifecycle/handlers.js +168 -0
  299. package/build/lib/schema-lifecycle/handlers.js.map +1 -0
  300. package/build/lib/schema-lifecycle/utils.d.ts +53 -0
  301. package/build/lib/schema-lifecycle/utils.d.ts.map +1 -0
  302. package/build/lib/schema-lifecycle/utils.js +160 -0
  303. package/build/lib/schema-lifecycle/utils.js.map +1 -0
  304. package/build/lib/stack-processor/{index.js → $.d.ts} +1 -1
  305. package/build/lib/stack-processor/$.d.ts.map +1 -0
  306. package/build/lib/stack-processor/{index.d.ts → $.js} +1 -1
  307. package/build/lib/stack-processor/$.js.map +1 -0
  308. package/build/lib/superjson-codec/{exports.js → $$.d.ts} +1 -1
  309. package/build/lib/superjson-codec/$$.d.ts.map +1 -0
  310. package/build/lib/superjson-codec/{exports.d.ts → $$.js} +1 -1
  311. package/build/lib/superjson-codec/$$.js.map +1 -0
  312. package/build/lib/superjson-codec/$.d.ts +2 -0
  313. package/build/lib/superjson-codec/$.d.ts.map +1 -0
  314. package/build/lib/superjson-codec/$.js +2 -0
  315. package/build/lib/superjson-codec/$.js.map +1 -0
  316. package/build/lib/superjson-codec/codecs/graphql-schema.d.ts +1 -1
  317. package/build/lib/superjson-codec/codecs/graphql-schema.d.ts.map +1 -1
  318. package/build/lib/superjson-codec/codecs/graphql-schema.js +1 -1
  319. package/build/lib/superjson-codec/codecs/graphql-schema.js.map +1 -1
  320. package/build/lib/theme/$$.d.ts +2 -0
  321. package/build/lib/theme/$$.d.ts.map +1 -0
  322. package/build/lib/theme/$$.js +2 -0
  323. package/build/lib/theme/$$.js.map +1 -0
  324. package/build/lib/theme/$.d.ts +1 -1
  325. package/build/lib/theme/$.d.ts.map +1 -1
  326. package/build/lib/theme/$.js +1 -1
  327. package/build/lib/theme/$.js.map +1 -1
  328. package/build/lib/vite-plugin-config/{vite-plugin-config.d.ts → $$.d.ts} +1 -1
  329. package/build/lib/vite-plugin-config/$$.d.ts.map +1 -0
  330. package/build/lib/vite-plugin-config/{vite-plugin-config.js → $$.js} +1 -1
  331. package/build/lib/vite-plugin-config/$$.js.map +1 -0
  332. package/build/lib/vite-plugin-config/$.d.ts +2 -0
  333. package/build/lib/vite-plugin-config/$.d.ts.map +1 -0
  334. package/build/lib/vite-plugin-config/$.js +2 -0
  335. package/build/lib/vite-plugin-config/$.js.map +1 -0
  336. package/build/lib/vite-plugin-json/{index.js → $.d.ts} +1 -1
  337. package/build/lib/vite-plugin-json/$.d.ts.map +1 -0
  338. package/build/lib/vite-plugin-json/{index.d.ts → $.js} +1 -1
  339. package/build/lib/vite-plugin-json/$.js.map +1 -0
  340. package/build/lib/vite-plugin-mdx/{index.js → $.d.ts} +1 -1
  341. package/build/lib/vite-plugin-mdx/$.d.ts.map +1 -0
  342. package/build/lib/vite-plugin-mdx/{index.d.ts → $.js} +1 -1
  343. package/build/lib/vite-plugin-mdx/$.js.map +1 -0
  344. package/build/lib/vite-plugin-reactive-data/{index.js → $.d.ts} +1 -1
  345. package/build/lib/vite-plugin-reactive-data/$.d.ts.map +1 -0
  346. package/build/lib/vite-plugin-reactive-data/{index.d.ts → $.js} +1 -1
  347. package/build/lib/vite-plugin-reactive-data/$.js.map +1 -0
  348. package/build/lib/vite-plugin-reactive-data/vite-plugin-reactive-data.d.ts +1 -1
  349. package/build/lib/vite-plugin-reactive-data/vite-plugin-reactive-data.d.ts.map +1 -1
  350. package/build/lib/vite-plugins/$$.d.ts +2 -0
  351. package/build/lib/vite-plugins/$$.d.ts.map +1 -0
  352. package/build/lib/vite-plugins/$$.js +2 -0
  353. package/build/lib/vite-plugins/$$.js.map +1 -0
  354. package/build/lib/vite-plugins/$.d.ts +5 -0
  355. package/build/lib/vite-plugins/$.d.ts.map +1 -0
  356. package/build/lib/vite-plugins/$.js +5 -0
  357. package/build/lib/vite-plugins/$.js.map +1 -0
  358. package/build/lib/vite-virtual/{vite-virtual.js → $$.d.ts} +1 -1
  359. package/build/lib/vite-virtual/$$.d.ts.map +1 -0
  360. package/build/lib/vite-virtual/{vite-virtual.d.ts → $$.js} +1 -1
  361. package/build/lib/vite-virtual/$$.js.map +1 -0
  362. package/build/lib/vite-virtual/$.d.ts +2 -0
  363. package/build/lib/vite-virtual/$.d.ts.map +1 -0
  364. package/build/lib/vite-virtual/$.js +2 -0
  365. package/build/lib/vite-virtual/$.js.map +1 -0
  366. package/build/lib/vite-virtual/identified-loader.js +1 -1
  367. package/build/lib/vite-virtual/identified-loader.js.map +1 -1
  368. package/build/sandbox.js +2 -40
  369. package/build/sandbox.js.map +1 -1
  370. package/build/singletons/superjson.js +1 -1
  371. package/build/singletons/superjson.js.map +1 -1
  372. package/build/template/components/ArgumentListAnnotation.js +1 -1
  373. package/build/template/components/ArgumentListAnnotation.js.map +1 -1
  374. package/build/template/components/Changelog/ChangeBase.d.ts +1 -1
  375. package/build/template/components/Changelog/ChangeBase.d.ts.map +1 -1
  376. package/build/template/components/Changelog/CriticalitySection.d.ts +1 -1
  377. package/build/template/components/Changelog/CriticalitySection.d.ts.map +1 -1
  378. package/build/template/components/Changelog/CriticalitySection.js.map +1 -1
  379. package/build/template/components/Changelog/groups/DirectiveArgument.d.ts +1 -1
  380. package/build/template/components/Changelog/groups/DirectiveArgument.d.ts.map +1 -1
  381. package/build/template/components/Changelog/groups/DirectiveArgumentDescription.d.ts +1 -1
  382. package/build/template/components/Changelog/groups/DirectiveArgumentDescription.d.ts.map +1 -1
  383. package/build/template/components/Changelog/groups/DirectiveArgumentOperation.d.ts +1 -1
  384. package/build/template/components/Changelog/groups/DirectiveArgumentOperation.d.ts.map +1 -1
  385. package/build/template/components/Changelog/groups/DirectiveDescription.d.ts +1 -1
  386. package/build/template/components/Changelog/groups/DirectiveDescription.d.ts.map +1 -1
  387. package/build/template/components/Changelog/groups/DirectiveLocationOperation.d.ts +1 -1
  388. package/build/template/components/Changelog/groups/DirectiveLocationOperation.d.ts.map +1 -1
  389. package/build/template/components/Changelog/groups/DirectiveOperation.d.ts +1 -1
  390. package/build/template/components/Changelog/groups/DirectiveOperation.d.ts.map +1 -1
  391. package/build/template/components/Changelog/groups/DirectiveUsage.d.ts +1 -1
  392. package/build/template/components/Changelog/groups/DirectiveUsage.d.ts.map +1 -1
  393. package/build/template/components/Changelog/groups/EnumValueDeprecationReason.d.ts +1 -1
  394. package/build/template/components/Changelog/groups/EnumValueDeprecationReason.d.ts.map +1 -1
  395. package/build/template/components/Changelog/groups/EnumValueDescription.d.ts +1 -1
  396. package/build/template/components/Changelog/groups/EnumValueDescription.d.ts.map +1 -1
  397. package/build/template/components/Changelog/groups/EnumValueOperation.d.ts +1 -1
  398. package/build/template/components/Changelog/groups/EnumValueOperation.d.ts.map +1 -1
  399. package/build/template/components/Changelog/groups/FieldArgument.d.ts +1 -1
  400. package/build/template/components/Changelog/groups/FieldArgument.d.ts.map +1 -1
  401. package/build/template/components/Changelog/groups/FieldArgumentDescription.d.ts +1 -1
  402. package/build/template/components/Changelog/groups/FieldArgumentDescription.d.ts.map +1 -1
  403. package/build/template/components/Changelog/groups/FieldArgumentOperation.d.ts +1 -1
  404. package/build/template/components/Changelog/groups/FieldArgumentOperation.d.ts.map +1 -1
  405. package/build/template/components/Changelog/groups/FieldDeprecation.d.ts +1 -1
  406. package/build/template/components/Changelog/groups/FieldDeprecation.d.ts.map +1 -1
  407. package/build/template/components/Changelog/groups/FieldDeprecationReason.d.ts +1 -1
  408. package/build/template/components/Changelog/groups/FieldDeprecationReason.d.ts.map +1 -1
  409. package/build/template/components/Changelog/groups/FieldDescription.d.ts +1 -1
  410. package/build/template/components/Changelog/groups/FieldDescription.d.ts.map +1 -1
  411. package/build/template/components/Changelog/groups/FieldOperation.d.ts +1 -1
  412. package/build/template/components/Changelog/groups/FieldOperation.d.ts.map +1 -1
  413. package/build/template/components/Changelog/groups/InputFieldDefaultValue.d.ts +1 -1
  414. package/build/template/components/Changelog/groups/InputFieldDefaultValue.d.ts.map +1 -1
  415. package/build/template/components/Changelog/groups/InputFieldDescription.d.ts +1 -1
  416. package/build/template/components/Changelog/groups/InputFieldDescription.d.ts.map +1 -1
  417. package/build/template/components/Changelog/groups/InputFieldOperation.d.ts +1 -1
  418. package/build/template/components/Changelog/groups/InputFieldOperation.d.ts.map +1 -1
  419. package/build/template/components/Changelog/groups/ObjectTypeInterfaceOperation.d.ts +1 -1
  420. package/build/template/components/Changelog/groups/ObjectTypeInterfaceOperation.d.ts.map +1 -1
  421. package/build/template/components/Changelog/groups/SchemaRootType.d.ts +1 -1
  422. package/build/template/components/Changelog/groups/SchemaRootType.d.ts.map +1 -1
  423. package/build/template/components/Changelog/groups/TypeDescription.d.ts +1 -1
  424. package/build/template/components/Changelog/groups/TypeDescription.d.ts.map +1 -1
  425. package/build/template/components/Changelog/groups/TypeOperation.d.ts +1 -1
  426. package/build/template/components/Changelog/groups/TypeOperation.d.ts.map +1 -1
  427. package/build/template/components/Changelog/groups/UnionMemberOperation.d.ts +1 -1
  428. package/build/template/components/Changelog/groups/UnionMemberOperation.d.ts.map +1 -1
  429. package/build/template/components/Changelog.d.ts +2 -2
  430. package/build/template/components/Changelog.d.ts.map +1 -1
  431. package/build/template/components/Changelog.js +11 -8
  432. package/build/template/components/Changelog.js.map +1 -1
  433. package/build/template/components/DeprecationReason.d.ts +1 -1
  434. package/build/template/components/DeprecationReason.d.ts.map +1 -1
  435. package/build/template/components/Description.d.ts +1 -1
  436. package/build/template/components/Description.d.ts.map +1 -1
  437. package/build/template/components/Field.d.ts +2 -1
  438. package/build/template/components/Field.d.ts.map +1 -1
  439. package/build/template/components/Field.js +23 -4
  440. package/build/template/components/Field.js.map +1 -1
  441. package/build/template/components/FieldList.d.ts +2 -1
  442. package/build/template/components/FieldList.d.ts.map +1 -1
  443. package/build/template/components/FieldList.js +3 -3
  444. package/build/template/components/FieldList.js.map +1 -1
  445. package/build/template/components/FieldListSection.js +2 -2
  446. package/build/template/components/FieldListSection.js.map +1 -1
  447. package/build/template/components/HamburgerMenu.d.ts +1 -0
  448. package/build/template/components/HamburgerMenu.d.ts.map +1 -1
  449. package/build/template/components/HamburgerMenu.js +2 -2
  450. package/build/template/components/HamburgerMenu.js.map +1 -1
  451. package/build/template/components/NamedType.d.ts.map +1 -1
  452. package/build/template/components/NamedType.js +11 -2
  453. package/build/template/components/NamedType.js.map +1 -1
  454. package/build/template/components/TypeIndex.js +1 -1
  455. package/build/template/components/TypeIndex.js.map +1 -1
  456. package/build/template/components/graphql/type-kind-icon.d.ts +1 -1
  457. package/build/template/components/graphql/type-kind-icon.d.ts.map +1 -1
  458. package/build/template/components/graphql/type-link.d.ts +1 -1
  459. package/build/template/components/graphql/type-link.d.ts.map +1 -1
  460. package/build/template/components/graphql/type-link.js +1 -1
  461. package/build/template/components/graphql/type-link.js.map +1 -1
  462. package/build/template/components/navbar/DefaultNavbar.d.ts +4 -0
  463. package/build/template/components/navbar/DefaultNavbar.d.ts.map +1 -0
  464. package/build/template/components/navbar/DefaultNavbar.js +10 -0
  465. package/build/template/components/navbar/DefaultNavbar.js.map +1 -0
  466. package/build/template/components/navbar/Item.d.ts +7 -0
  467. package/build/template/components/navbar/Item.d.ts.map +1 -0
  468. package/build/template/components/navbar/Item.js +6 -0
  469. package/build/template/components/navbar/Item.js.map +1 -0
  470. package/build/template/components/sidebar/Sidebar.d.ts +2 -1
  471. package/build/template/components/sidebar/Sidebar.d.ts.map +1 -1
  472. package/build/template/components/sidebar/Sidebar.js +2 -2
  473. package/build/template/components/sidebar/Sidebar.js.map +1 -1
  474. package/build/template/contexts/SchemaLifecycleContext.d.ts +14 -0
  475. package/build/template/contexts/SchemaLifecycleContext.d.ts.map +1 -0
  476. package/build/template/contexts/SchemaLifecycleContext.js +15 -0
  477. package/build/template/contexts/SchemaLifecycleContext.js.map +1 -0
  478. package/build/template/layouts/ChangelogLayout.d.ts +1 -1
  479. package/build/template/layouts/ChangelogLayout.d.ts.map +1 -1
  480. package/build/template/layouts/ChangelogLayout.js +11 -3
  481. package/build/template/layouts/ChangelogLayout.js.map +1 -1
  482. package/build/template/layouts/SidebarLayout.d.ts +1 -0
  483. package/build/template/layouts/SidebarLayout.d.ts.map +1 -1
  484. package/build/template/layouts/SidebarLayout.js +2 -2
  485. package/build/template/layouts/SidebarLayout.js.map +1 -1
  486. package/build/template/routes/changelog.d.ts +4 -2
  487. package/build/template/routes/changelog.d.ts.map +1 -1
  488. package/build/template/routes/changelog.js.map +1 -1
  489. package/build/template/routes/reference.d.ts +6 -1
  490. package/build/template/routes/reference.d.ts.map +1 -1
  491. package/build/template/routes/reference.js +8 -4
  492. package/build/template/routes/reference.js.map +1 -1
  493. package/build/template/routes/root.d.ts.map +1 -1
  494. package/build/template/routes/root.js +12 -2
  495. package/build/template/routes/root.js.map +1 -1
  496. package/build/template/server/middleware/unsupported-assets.js +2 -2
  497. package/build/template/server/middleware/unsupported-assets.js.map +1 -1
  498. package/build/template/server/ssg/get-route-paths.js +1 -1
  499. package/build/template/server/ssg/get-route-paths.js.map +1 -1
  500. package/build/template/sources/schema-source.d.ts +6 -4
  501. package/build/template/sources/schema-source.d.ts.map +1 -1
  502. package/package.json +124 -4
  503. package/src/api/api.ts +1 -0
  504. package/src/api/cache/$$.ts +1 -0
  505. package/src/api/cache/$.ts +1 -0
  506. package/src/api/cache/cache.ts +210 -0
  507. package/src/api/content/navbar.test.ts +3 -3
  508. package/src/api/content/navbar.ts +2 -0
  509. package/src/api/content/page.ts +1 -1
  510. package/src/api/content/scan.ts +1 -1
  511. package/src/api/content/sidebar.ts +1 -1
  512. package/src/api/hooks/helpers.ts +5 -0
  513. package/src/api/hooks/index.ts +2 -0
  514. package/src/api/hooks/types.ts +8 -0
  515. package/src/api/iso/schema/$$.ts +0 -3
  516. package/src/api/iso/schema/routing.ts +1 -1
  517. package/src/api/iso/schema/validation.ts +1 -1
  518. package/src/api/schema/data-sources/introspection/introspection.ts +13 -10
  519. package/src/api/schema/data-sources/memory/memory.ts +26 -16
  520. package/src/api/schema/data-sources/schema-directory/schema-directory.ts +28 -18
  521. package/src/api/schema/data-sources/schema-file/schema-file.ts +10 -10
  522. package/src/api/schema/read.ts +5 -5
  523. package/src/api/schema/schema.ts +0 -14
  524. package/src/api/schema-augmentation/augmentations/description.ts +1 -1
  525. package/src/api/schema-augmentation/schema-augmentation.ts +1 -1
  526. package/src/api/schema-augmentation/target.ts +1 -1
  527. package/src/api/schema-source/schema-source.ts +59 -32
  528. package/src/api/vite/plugins/build.ts +1 -1
  529. package/src/api/vite/plugins/core.ts +51 -12
  530. package/src/api/vite/plugins/pages.ts +1 -1
  531. package/src/api/vite/plugins/schema-assets.ts +21 -7
  532. package/src/api/vite/vi.ts +1 -1
  533. package/src/cli/commands/cache/$default.ts +10 -0
  534. package/src/cli/commands/cache/delete.ts +27 -0
  535. package/src/cli/commands/cache/show.ts +99 -0
  536. package/src/cli/commands/cache.ts +9 -0
  537. package/src/cli/commands/config.ts +3 -0
  538. package/src/cli/commands/open.ts +2 -2
  539. package/src/cli/commands/static.ts +3 -0
  540. package/src/exports/polen.ts +1 -0
  541. package/src/exports/radix-ui/react-icons.ts +3 -0
  542. package/src/exports/radix-ui/themes.ts +3 -0
  543. package/src/lib/errors/$.ts +1 -0
  544. package/src/lib/file-router/$.ts +1 -0
  545. package/src/lib/file-router/index.test.ts +1 -1
  546. package/src/lib/grafaid/$.ts +1 -0
  547. package/src/lib/grafaid/schema/type.ts +1 -0
  548. package/src/lib/graphql-change/{graphql-change.ts → $$.ts} +1 -1
  549. package/src/lib/graphql-change/$.ts +1 -0
  550. package/src/lib/graphql-change/change-groups.ts +56 -26
  551. package/src/lib/graphql-changeset/$$.ts +3 -0
  552. package/src/lib/graphql-changeset/$.ts +1 -0
  553. package/src/lib/graphql-changeset/changelog.ts +9 -0
  554. package/src/lib/graphql-changeset/changeset.ts +190 -0
  555. package/src/lib/graphql-changeset/versioned-schema.ts +43 -0
  556. package/src/lib/graphql-path/$$.ts +42 -0
  557. package/src/lib/graphql-path/$.ts +4 -0
  558. package/src/lib/graphql-path/constructors.ts +81 -0
  559. package/src/lib/graphql-path/definition.ts +240 -0
  560. package/src/lib/graphql-path/query.ts +118 -0
  561. package/src/lib/graphql-path/types.ts +55 -0
  562. package/src/lib/graphql-schema-loader/graphql-schema-loader.ts +1 -1
  563. package/src/lib/html-utils/$$.ts +2 -0
  564. package/src/lib/html-utils/$.ts +1 -0
  565. package/src/lib/kit-temp.ts +3 -0
  566. package/src/lib/path-map/$.test.ts +4 -3
  567. package/src/lib/react-router-aid/$.ts +1 -0
  568. package/src/lib/react-router-loader/$.ts +1 -0
  569. package/src/lib/schema-lifecycle/$$.ts +19 -0
  570. package/src/lib/schema-lifecycle/$.test.ts +222 -0
  571. package/src/lib/schema-lifecycle/$.ts +1 -0
  572. package/src/lib/schema-lifecycle/FieldLifecycle.ts +18 -0
  573. package/src/lib/schema-lifecycle/LifecycleEvent.ts +27 -0
  574. package/src/lib/schema-lifecycle/NamedTypeLifecycle.ts +96 -0
  575. package/src/lib/schema-lifecycle/SchemaLifecycle.ts +85 -0
  576. package/src/lib/schema-lifecycle/SchemaLink.ts +40 -0
  577. package/src/lib/schema-lifecycle/handlers.ts +215 -0
  578. package/src/lib/schema-lifecycle/utils.ts +234 -0
  579. package/src/lib/superjson-codec/$.ts +1 -0
  580. package/src/lib/superjson-codec/codecs/graphql-schema.ts +1 -1
  581. package/src/lib/theme/$$.ts +1 -0
  582. package/src/lib/theme/$.ts +1 -1
  583. package/src/lib/vite-plugin-config/$.ts +1 -0
  584. package/src/lib/vite-plugin-reactive-data/vite-plugin-reactive-data.ts +1 -1
  585. package/src/lib/vite-plugins/$.ts +4 -0
  586. package/src/lib/vite-virtual/$.ts +1 -0
  587. package/src/lib/vite-virtual/identified-loader.ts +1 -1
  588. package/src/sandbox.ts +1 -43
  589. package/src/singletons/superjson.ts +1 -1
  590. package/src/template/components/ArgumentListAnnotation.tsx +1 -1
  591. package/src/template/components/Changelog/ChangeBase.tsx +1 -1
  592. package/src/template/components/Changelog/CriticalitySection.tsx +1 -1
  593. package/src/template/components/Changelog/groups/DirectiveArgument.tsx +1 -1
  594. package/src/template/components/Changelog/groups/DirectiveArgumentDescription.tsx +1 -1
  595. package/src/template/components/Changelog/groups/DirectiveArgumentOperation.tsx +1 -1
  596. package/src/template/components/Changelog/groups/DirectiveDescription.tsx +1 -1
  597. package/src/template/components/Changelog/groups/DirectiveLocationOperation.tsx +1 -1
  598. package/src/template/components/Changelog/groups/DirectiveOperation.tsx +1 -1
  599. package/src/template/components/Changelog/groups/DirectiveUsage.tsx +1 -1
  600. package/src/template/components/Changelog/groups/EnumValueDeprecationReason.tsx +1 -1
  601. package/src/template/components/Changelog/groups/EnumValueDescription.tsx +1 -1
  602. package/src/template/components/Changelog/groups/EnumValueOperation.tsx +1 -1
  603. package/src/template/components/Changelog/groups/FieldArgument.tsx +1 -1
  604. package/src/template/components/Changelog/groups/FieldArgumentDescription.tsx +1 -1
  605. package/src/template/components/Changelog/groups/FieldArgumentOperation.tsx +1 -1
  606. package/src/template/components/Changelog/groups/FieldDeprecation.tsx +1 -1
  607. package/src/template/components/Changelog/groups/FieldDeprecationReason.tsx +1 -1
  608. package/src/template/components/Changelog/groups/FieldDescription.tsx +1 -1
  609. package/src/template/components/Changelog/groups/FieldOperation.tsx +1 -1
  610. package/src/template/components/Changelog/groups/InputFieldDefaultValue.tsx +1 -1
  611. package/src/template/components/Changelog/groups/InputFieldDescription.tsx +1 -1
  612. package/src/template/components/Changelog/groups/InputFieldOperation.tsx +1 -1
  613. package/src/template/components/Changelog/groups/ObjectTypeInterfaceOperation.tsx +1 -1
  614. package/src/template/components/Changelog/groups/SchemaRootType.tsx +1 -1
  615. package/src/template/components/Changelog/groups/TypeDescription.tsx +1 -1
  616. package/src/template/components/Changelog/groups/TypeOperation.tsx +1 -1
  617. package/src/template/components/Changelog/groups/UnionMemberOperation.tsx +1 -1
  618. package/src/template/components/Changelog.tsx +12 -11
  619. package/src/template/components/DeprecationReason.tsx +1 -1
  620. package/src/template/components/Description.tsx +1 -1
  621. package/src/template/components/Field.tsx +48 -4
  622. package/src/template/components/FieldList.tsx +4 -2
  623. package/src/template/components/FieldListSection.tsx +2 -2
  624. package/src/template/components/HamburgerMenu.tsx +3 -1
  625. package/src/template/components/NamedType.tsx +31 -2
  626. package/src/template/components/TypeIndex.tsx +1 -1
  627. package/src/template/components/graphql/type-kind-icon.tsx +1 -1
  628. package/src/template/components/graphql/type-kind-tokens.ts +1 -1
  629. package/src/template/components/graphql/type-link.tsx +1 -1
  630. package/src/template/components/navbar/DefaultNavbar.tsx +22 -0
  631. package/src/template/components/navbar/Item.tsx +11 -0
  632. package/src/template/components/sidebar/Sidebar.tsx +7 -1
  633. package/src/template/contexts/SchemaLifecycleContext.tsx +30 -0
  634. package/src/template/layouts/ChangelogLayout.tsx +11 -4
  635. package/src/template/layouts/SidebarLayout.tsx +4 -2
  636. package/src/template/routes/changelog.tsx +4 -2
  637. package/src/template/routes/reference.tsx +26 -11
  638. package/src/template/routes/root.tsx +25 -18
  639. package/src/template/server/create-page-html-response.ts +1 -1
  640. package/src/template/server/middleware/unsupported-assets.ts +2 -2
  641. package/src/template/server/ssg/get-route-paths.ts +1 -1
  642. package/src/vite-env.d.ts +5 -0
  643. package/build/lib/apple-touch-icon/index.d.ts.map +0 -1
  644. package/build/lib/apple-touch-icon/index.js.map +0 -1
  645. package/build/lib/errors/errors.d.ts.map +0 -1
  646. package/build/lib/errors/errors.js.map +0 -1
  647. package/build/lib/errors/index.d.ts +0 -2
  648. package/build/lib/errors/index.d.ts.map +0 -1
  649. package/build/lib/errors/index.js +0 -2
  650. package/build/lib/errors/index.js.map +0 -1
  651. package/build/lib/extensible-data/index.d.ts.map +0 -1
  652. package/build/lib/extensible-data/index.js.map +0 -1
  653. package/build/lib/favicon/index.d.ts.map +0 -1
  654. package/build/lib/favicon/index.js.map +0 -1
  655. package/build/lib/file-router/file-router.d.ts.map +0 -1
  656. package/build/lib/file-router/file-router.js.map +0 -1
  657. package/build/lib/file-router/index.d.ts +0 -2
  658. package/build/lib/file-router/index.d.ts.map +0 -1
  659. package/build/lib/file-router/index.js +0 -2
  660. package/build/lib/file-router/index.js.map +0 -1
  661. package/build/lib/grafaid/grafaid.d.ts.map +0 -1
  662. package/build/lib/grafaid/grafaid.js.map +0 -1
  663. package/build/lib/grafaid/index.d.ts +0 -2
  664. package/build/lib/grafaid/index.d.ts.map +0 -1
  665. package/build/lib/grafaid/index.js +0 -2
  666. package/build/lib/grafaid/index.js.map +0 -1
  667. package/build/lib/grafaid-old/index.d.ts.map +0 -1
  668. package/build/lib/grafaid-old/index.js.map +0 -1
  669. package/build/lib/graphql-change/graphql-change.d.ts.map +0 -1
  670. package/build/lib/graphql-change/graphql-change.js.map +0 -1
  671. package/build/lib/graphql-change/index.d.ts +0 -2
  672. package/build/lib/graphql-change/index.d.ts.map +0 -1
  673. package/build/lib/graphql-change/index.js +0 -2
  674. package/build/lib/graphql-change/index.js.map +0 -1
  675. package/build/lib/graphql-changeset/graphql-changeset.d.ts +0 -9
  676. package/build/lib/graphql-changeset/graphql-changeset.d.ts.map +0 -1
  677. package/build/lib/graphql-changeset/graphql-changeset.js +0 -2
  678. package/build/lib/graphql-changeset/graphql-changeset.js.map +0 -1
  679. package/build/lib/graphql-changeset/index.d.ts +0 -2
  680. package/build/lib/graphql-changeset/index.d.ts.map +0 -1
  681. package/build/lib/graphql-changeset/index.js +0 -2
  682. package/build/lib/graphql-changeset/index.js.map +0 -1
  683. package/build/lib/graphql-schema-loader/index.d.ts.map +0 -1
  684. package/build/lib/graphql-schema-loader/index.js.map +0 -1
  685. package/build/lib/hono-aid/index.d.ts.map +0 -1
  686. package/build/lib/hono-aid/index.js.map +0 -1
  687. package/build/lib/react-router-aid/index.d.ts +0 -2
  688. package/build/lib/react-router-aid/index.d.ts.map +0 -1
  689. package/build/lib/react-router-aid/index.js +0 -2
  690. package/build/lib/react-router-aid/index.js.map +0 -1
  691. package/build/lib/react-router-aid/react-router-aid.d.ts.map +0 -1
  692. package/build/lib/react-router-aid/react-router-aid.js.map +0 -1
  693. package/build/lib/react-router-loader/react-router-loader.d.ts.map +0 -1
  694. package/build/lib/react-router-loader/react-router-loader.js.map +0 -1
  695. package/build/lib/stack-processor/index.d.ts.map +0 -1
  696. package/build/lib/stack-processor/index.js.map +0 -1
  697. package/build/lib/superjson-codec/exports.d.ts.map +0 -1
  698. package/build/lib/superjson-codec/exports.js.map +0 -1
  699. package/build/lib/superjson-codec/index.d.ts +0 -2
  700. package/build/lib/superjson-codec/index.d.ts.map +0 -1
  701. package/build/lib/superjson-codec/index.js +0 -2
  702. package/build/lib/superjson-codec/index.js.map +0 -1
  703. package/build/lib/vite-plugin-config/vite-plugin-config.d.ts.map +0 -1
  704. package/build/lib/vite-plugin-config/vite-plugin-config.js.map +0 -1
  705. package/build/lib/vite-plugin-json/index.d.ts.map +0 -1
  706. package/build/lib/vite-plugin-json/index.js.map +0 -1
  707. package/build/lib/vite-plugin-mdx/index.d.ts.map +0 -1
  708. package/build/lib/vite-plugin-mdx/index.js.map +0 -1
  709. package/build/lib/vite-plugin-reactive-data/index.d.ts.map +0 -1
  710. package/build/lib/vite-plugin-reactive-data/index.js.map +0 -1
  711. package/build/lib/vite-plugins/index.d.ts +0 -5
  712. package/build/lib/vite-plugins/index.d.ts.map +0 -1
  713. package/build/lib/vite-plugins/index.js +0 -5
  714. package/build/lib/vite-plugins/index.js.map +0 -1
  715. package/build/lib/vite-plugins/vite-plugins.d.ts +0 -2
  716. package/build/lib/vite-plugins/vite-plugins.d.ts.map +0 -1
  717. package/build/lib/vite-plugins/vite-plugins.js +0 -2
  718. package/build/lib/vite-plugins/vite-plugins.js.map +0 -1
  719. package/build/lib/vite-virtual/index.d.ts +0 -2
  720. package/build/lib/vite-virtual/index.d.ts.map +0 -1
  721. package/build/lib/vite-virtual/index.js +0 -2
  722. package/build/lib/vite-virtual/index.js.map +0 -1
  723. package/build/lib/vite-virtual/vite-virtual.d.ts.map +0 -1
  724. package/build/lib/vite-virtual/vite-virtual.js.map +0 -1
  725. package/src/lib/errors/index.ts +0 -1
  726. package/src/lib/file-router/index.ts +0 -1
  727. package/src/lib/grafaid/index.ts +0 -1
  728. package/src/lib/graphql-change/index.ts +0 -1
  729. package/src/lib/graphql-changeset/graphql-changeset.ts +0 -9
  730. package/src/lib/graphql-changeset/index.ts +0 -1
  731. package/src/lib/react-router-aid/index.ts +0 -1
  732. package/src/lib/superjson-codec/index.ts +0 -1
  733. package/src/lib/vite-plugins/index.ts +0 -4
  734. package/src/lib/vite-virtual/index.ts +0 -1
  735. /package/src/lib/apple-touch-icon/{index.ts → $.ts} +0 -0
  736. /package/src/lib/errors/{errors.ts → $$.ts} +0 -0
  737. /package/src/lib/extensible-data/{index.ts → $.ts} +0 -0
  738. /package/src/lib/favicon/{index.ts → $.ts} +0 -0
  739. /package/src/lib/file-router/{file-router.ts → $$.ts} +0 -0
  740. /package/src/lib/grafaid/{grafaid.ts → $$.ts} +0 -0
  741. /package/src/lib/grafaid-old/{index.ts → $.ts} +0 -0
  742. /package/src/lib/graphql-schema-loader/{index.ts → $.ts} +0 -0
  743. /package/src/lib/hono-aid/{index.ts → $.ts} +0 -0
  744. /package/src/lib/react-router-aid/{react-router-aid.ts → $$.ts} +0 -0
  745. /package/src/lib/react-router-loader/{react-router-loader.ts → $$.ts} +0 -0
  746. /package/src/lib/stack-processor/{index.ts → $.ts} +0 -0
  747. /package/src/lib/superjson-codec/{exports.ts → $$.ts} +0 -0
  748. /package/src/lib/vite-plugin-config/{vite-plugin-config.ts → $$.ts} +0 -0
  749. /package/src/lib/vite-plugin-json/{index.ts → $.ts} +0 -0
  750. /package/src/lib/vite-plugin-mdx/{index.ts → $.ts} +0 -0
  751. /package/src/lib/vite-plugin-reactive-data/{index.ts → $.ts} +0 -0
  752. /package/src/lib/vite-plugins/{vite-plugins.ts → $$.ts} +0 -0
  753. /package/src/lib/vite-virtual/{vite-virtual.ts → $$.ts} +0 -0
@@ -1,4 +1,4 @@
1
- import type { GraphqlChange } from '#lib/graphql-change/index'
1
+ import type { GraphqlChange } from '#lib/graphql-change'
2
2
  import { Code } from '@radix-ui/themes'
3
3
  import type React from 'react'
4
4
  import { ChangeBase } from '../ChangeBase.js'
@@ -1,4 +1,4 @@
1
- import type { GraphqlChange } from '#lib/graphql-change/index'
1
+ import type { GraphqlChange } from '#lib/graphql-change'
2
2
  import { Code } from '@radix-ui/themes'
3
3
  import type React from 'react'
4
4
  import { ChangeBase } from '../ChangeBase.js'
@@ -1,4 +1,4 @@
1
- import type { GraphqlChange } from '#lib/graphql-change/index'
1
+ import type { GraphqlChange } from '#lib/graphql-change'
2
2
  import { Code } from '@radix-ui/themes'
3
3
  import type React from 'react'
4
4
  import { ChangeBase } from '../ChangeBase.js'
@@ -1,4 +1,4 @@
1
- import type { GraphqlChange } from '#lib/graphql-change/index'
1
+ import type { GraphqlChange } from '#lib/graphql-change'
2
2
  import { Code } from '@radix-ui/themes'
3
3
  import type React from 'react'
4
4
  import { ChangeBase } from '../ChangeBase.js'
@@ -1,4 +1,4 @@
1
- import type { GraphqlChange } from '#lib/graphql-change/index'
1
+ import type { GraphqlChange } from '#lib/graphql-change'
2
2
  import { Code } from '@radix-ui/themes'
3
3
  import type React from 'react'
4
4
  import { ChangeBase } from '../ChangeBase.js'
@@ -1,4 +1,4 @@
1
- import type { GraphqlChange } from '#lib/graphql-change/index'
1
+ import type { GraphqlChange } from '#lib/graphql-change'
2
2
  import { Code } from '@radix-ui/themes'
3
3
  import type React from 'react'
4
4
  import { ChangeBase } from '../ChangeBase.js'
@@ -1,4 +1,4 @@
1
- import type { GraphqlChange } from '#lib/graphql-change/index'
1
+ import type { GraphqlChange } from '#lib/graphql-change'
2
2
  import { Code } from '@radix-ui/themes'
3
3
  import type React from 'react'
4
4
  import { ChangeBase } from '../ChangeBase.js'
@@ -1,4 +1,4 @@
1
- import type { GraphqlChange } from '#lib/graphql-change/index'
1
+ import type { GraphqlChange } from '#lib/graphql-change'
2
2
  import { Code } from '@radix-ui/themes'
3
3
  import type React from 'react'
4
4
  import { ChangeBase } from '../ChangeBase.js'
@@ -1,4 +1,4 @@
1
- import type { GraphqlChange } from '#lib/graphql-change/index'
1
+ import type { GraphqlChange } from '#lib/graphql-change'
2
2
  import { Code } from '@radix-ui/themes'
3
3
  import type React from 'react'
4
4
  import { ChangeBase } from '../ChangeBase.js'
@@ -1,4 +1,4 @@
1
- import type { GraphqlChange } from '#lib/graphql-change/index'
1
+ import type { GraphqlChange } from '#lib/graphql-change'
2
2
  import { Code } from '@radix-ui/themes'
3
3
  import type React from 'react'
4
4
  import { ChangeBase } from '../ChangeBase.js'
@@ -1,4 +1,4 @@
1
- import type { GraphqlChange } from '#lib/graphql-change/index'
1
+ import type { GraphqlChange } from '#lib/graphql-change'
2
2
  import { Code } from '@radix-ui/themes'
3
3
  import type React from 'react'
4
4
  import { ChangeBase } from '../ChangeBase.js'
@@ -1,7 +1,6 @@
1
- import type { Api } from '#api/index'
1
+ import { GraphqlChange } from '#lib/graphql-change'
2
2
  import { CRITICALITY_LEVELS } from '#lib/graphql-change/criticality'
3
- import { GraphqlChange } from '#lib/graphql-change/index'
4
- import type { GraphqlChangeset } from '#lib/graphql-changeset/index'
3
+ import { GraphqlChangeset } from '#lib/graphql-changeset'
5
4
  import type { CriticalityLevel } from '@graphql-inspector/core'
6
5
  import { Box } from '@radix-ui/themes'
7
6
  import React from 'react'
@@ -19,7 +18,7 @@ export const renderDate = (date: Date) => {
19
18
  })
20
19
  }
21
20
 
22
- export const Changelog: React.FC<{ changesets: Api.Schema.NonEmptyChangeSets }> = ({ changesets }) => {
21
+ export const Changelog: React.FC<{ changesets: GraphqlChangeset.Changelog }> = ({ changesets }) => {
23
22
  return (
24
23
  <Box>
25
24
  {changesets.map(changeset => <Changeset key={changeset.date.toISOString()} changeset={changeset} />)}
@@ -38,12 +37,14 @@ const Changeset: React.FC<{ changeset: GraphqlChangeset.ChangeSet }> = ({ change
38
37
  })
39
38
 
40
39
  // Group changes
41
- changeset.changes.forEach(change => {
42
- const level = change.criticality.level
43
- if (groups[level]) {
44
- groups[level].push(change)
45
- }
46
- })
40
+ if (GraphqlChangeset.isIntermediateChangeSet(changeset)) {
41
+ changeset.changes.forEach(change => {
42
+ const level = change.criticality.level
43
+ if (groups[level]) {
44
+ groups[level].push(change)
45
+ }
46
+ })
47
+ }
47
48
 
48
49
  // Return only non-empty groups in order
49
50
  return CRITICALITY_LEVELS
@@ -52,7 +53,7 @@ const Changeset: React.FC<{ changeset: GraphqlChangeset.ChangeSet }> = ({ change
52
53
  level,
53
54
  changes: groups[level],
54
55
  }))
55
- }, [changeset.changes])
56
+ }, [changeset])
56
57
 
57
58
  return (
58
59
  <Box mb='6'>
@@ -1,5 +1,5 @@
1
1
  import type { React } from '#dep/react/index'
2
- import type { GrafaidOld } from '#lib/grafaid-old/index'
2
+ import type { GrafaidOld } from '#lib/grafaid-old'
3
3
  import { Text } from '@radix-ui/themes'
4
4
  import { Markdown } from './Markdown.js'
5
5
 
@@ -2,7 +2,7 @@ import type { React } from '#dep/react/index'
2
2
  import { Text } from '@radix-ui/themes'
3
3
  import { Markdown } from './Markdown.js'
4
4
  // import type { Grafaid } from '#lib/grafaid'
5
- import type { GrafaidOld } from '#lib/grafaid-old/index'
5
+ import type { GrafaidOld } from '#lib/grafaid-old'
6
6
  import type { GraphQLNamedType } from 'graphql'
7
7
 
8
8
  export const Description: React.FC<{ data: GraphQLNamedType | GrafaidOld.GraphQLField }> = ({ data }) => {
@@ -1,22 +1,66 @@
1
+ import { Api } from '#api/iso'
1
2
  import type { React } from '#dep/react/index'
2
- import { GrafaidOld } from '#lib/grafaid-old/index'
3
+ import { GrafaidOld } from '#lib/grafaid-old'
4
+ import { GraphQLPath } from '#lib/graphql-path'
5
+ import { SchemaLifecycle } from '#lib/schema-lifecycle'
3
6
  import type { BoxProps } from '@radix-ui/themes'
4
- import { Box, Text } from '@radix-ui/themes'
7
+ import { Badge, Box, Text } from '@radix-ui/themes'
8
+ import { useSchemaLifecycle } from '../contexts/SchemaLifecycleContext.js'
5
9
  import { ArgumentListAnnotation } from './ArgumentListAnnotation.js'
6
10
  import { DeprecationReason } from './DeprecationReason.js'
7
11
  import { Description } from './Description.js'
8
12
  import { TypeAnnotation } from './TypeAnnotation.js'
9
13
 
10
- export const Field: React.FC<BoxProps & { data: GrafaidOld.GraphQLField }> = ({ data, ...boxProps }) => {
14
+ export const Field: React.FC<
15
+ BoxProps & {
16
+ data: GrafaidOld.GraphQLField
17
+ parentTypeName?: string
18
+ }
19
+ > = ({ data, parentTypeName, ...boxProps }) => {
20
+ const { lifecycle, currentVersion } = useSchemaLifecycle()
21
+
11
22
  const argumentList = GrafaidOld.isOutputField(data)
12
23
  ? <ArgumentListAnnotation field={data} />
13
24
  : null
14
25
 
26
+ // Get field lifecycle information if available
27
+ let fieldLifecycle = null
28
+ let addedDate = null
29
+ let removedDate = null
30
+ let isAvailable = true
31
+
32
+ if (lifecycle && parentTypeName) {
33
+ const fieldPath = GraphQLPath.Definition.field(parentTypeName, data.name)
34
+ fieldLifecycle = SchemaLifecycle.getFieldLifecycle(lifecycle, fieldPath)
35
+ if (fieldLifecycle) {
36
+ addedDate = SchemaLifecycle.getFieldAddedDate(lifecycle, fieldPath)
37
+ removedDate = SchemaLifecycle.getFieldRemovedDate(lifecycle, fieldPath)
38
+ isAvailable = SchemaLifecycle.isFieldCurrentlyAvailable(lifecycle, fieldPath)
39
+ }
40
+ }
41
+
15
42
  return (
16
43
  <Box {...boxProps} id={data.name}>
17
44
  <Description data={data} />
18
45
  <DeprecationReason data={data} />
19
- <Text weight='medium'>{data.name}</Text>
46
+ <Box style={{ display: 'flex', alignItems: 'center', gap: '8px' }}>
47
+ <Text weight='medium'>{data.name}</Text>
48
+ {addedDate && (
49
+ <Badge color='green' variant='soft' size='1'>
50
+ Added {Api.Schema.dateToVersionString(addedDate)}
51
+ </Badge>
52
+ )}
53
+ {removedDate && (
54
+ <Badge color='red' variant='soft' size='1'>
55
+ Removed {Api.Schema.dateToVersionString(removedDate)}
56
+ </Badge>
57
+ )}
58
+ {!isAvailable && (
59
+ <Badge color='orange' variant='soft' size='1'>
60
+ Not available in current version
61
+ </Badge>
62
+ )}
63
+ </Box>
20
64
  <Text>
21
65
  {argumentList}
22
66
  :{` `}
@@ -1,13 +1,14 @@
1
- import { Grafaid } from '#lib/grafaid/index'
1
+ import { Grafaid } from '#lib/grafaid'
2
2
  import { Box } from '@radix-ui/themes'
3
3
  import type { FC } from 'react'
4
4
  import { Field } from './Field.js'
5
5
 
6
6
  export interface Props {
7
7
  data: Grafaid.Schema.TypesLike.Named
8
+ parentTypeName?: string
8
9
  }
9
10
 
10
- export const FieldList: FC<Props> = ({ data }) => {
11
+ export const FieldList: FC<Props> = ({ data, parentTypeName }) => {
11
12
  if (!Grafaid.Schema.TypesLike.isFielded(data)) return null
12
13
 
13
14
  const fields = Grafaid.Schema.NodesLike.getFields(data)
@@ -20,6 +21,7 @@ export const FieldList: FC<Props> = ({ data }) => {
20
21
  mt='3'
21
22
  key={field.name}
22
23
  data={field}
24
+ parentTypeName={parentTypeName ?? data.name}
23
25
  />
24
26
  ))}
25
27
  </Box>
@@ -1,5 +1,5 @@
1
1
  import type { React } from '#dep/react/index'
2
- import { Grafaid } from '#lib/grafaid/index'
2
+ import { Grafaid } from '#lib/grafaid'
3
3
  import { Box, Heading } from '@radix-ui/themes'
4
4
  import type { GraphQLNamedType } from 'graphql'
5
5
  import { FieldList } from './FieldList.js'
@@ -13,7 +13,7 @@ export const FieldListSection: React.FC<{ data: GraphQLNamedType }> = ({ data })
13
13
  return (
14
14
  <Box>
15
15
  <Heading>Fields</Heading>
16
- <FieldList data={data} />
16
+ <FieldList data={data} parentTypeName={data.name} />
17
17
  </Box>
18
18
  )
19
19
  }
@@ -10,6 +10,7 @@ export interface HamburgerMenuProps {
10
10
  onClose: () => void
11
11
  sidebarData: Content.Item[]
12
12
  basePath?: string
13
+ topContent?: React.ReactNode
13
14
  }
14
15
 
15
16
  export const HamburgerMenu: React.FC<HamburgerMenuProps> = ({
@@ -18,6 +19,7 @@ export const HamburgerMenu: React.FC<HamburgerMenuProps> = ({
18
19
  onClose,
19
20
  sidebarData,
20
21
  basePath,
22
+ topContent,
21
23
  }) => {
22
24
  // Prevent body scroll when mobile menu is open
23
25
  useEffect(() => {
@@ -89,7 +91,7 @@ export const HamburgerMenu: React.FC<HamburgerMenuProps> = ({
89
91
  <Cross2Icon width='18' height='18' />
90
92
  </IconButton>
91
93
  </Flex>
92
- <Sidebar data={sidebarData} basePath={basePath} />
94
+ <Sidebar data={sidebarData} basePath={basePath} topContent={topContent} />
93
95
  </Box>
94
96
  </>
95
97
  )}
@@ -1,6 +1,9 @@
1
- import { Box, Heading, Text } from '@radix-ui/themes'
1
+ import { Api } from '#api/iso'
2
+ import { SchemaLifecycle } from '#lib/schema-lifecycle'
3
+ import { Badge, Box, Heading, Text } from '@radix-ui/themes'
2
4
  import { type GraphQLNamedType } from 'graphql'
3
5
  import type { FC } from 'react'
6
+ import { useSchemaLifecycle } from '../contexts/SchemaLifecycleContext.js'
4
7
  import { FieldListSection } from './FieldListSection.js'
5
8
  import { Markdown } from './Markdown.js'
6
9
 
@@ -9,6 +12,8 @@ export interface Props {
9
12
  }
10
13
 
11
14
  export const NamedType: FC<Props> = ({ data }) => {
15
+ const { lifecycle, currentVersion } = useSchemaLifecycle()
16
+
12
17
  const description = data.description
13
18
  ? (
14
19
  <Text as='div' color='gray'>
@@ -16,9 +21,33 @@ export const NamedType: FC<Props> = ({ data }) => {
16
21
  </Text>
17
22
  )
18
23
  : null
24
+
25
+ // Get lifecycle information for this type
26
+ const typeLifecycle = lifecycle ? SchemaLifecycle.getTypeLifecycle(lifecycle, data.name) : null
27
+ const addedDate = lifecycle ? SchemaLifecycle.getTypeAddedDate(lifecycle, data.name) : null
28
+ const removedDate = lifecycle ? SchemaLifecycle.getTypeRemovedDate(lifecycle, data.name) : null
29
+ const isAvailable = lifecycle ? SchemaLifecycle.isTypeCurrentlyAvailable(lifecycle, data.name) : true
30
+
19
31
  return (
20
32
  <Box>
21
- <Heading size='8'>{data.name}</Heading>
33
+ <Box style={{ display: 'flex', alignItems: 'center', gap: '8px', marginBottom: '8px' }}>
34
+ <Heading size='8'>{data.name}</Heading>
35
+ {addedDate && (
36
+ <Badge color='green' variant='soft' size='1'>
37
+ Added {Api.Schema.dateToVersionString(addedDate)}
38
+ </Badge>
39
+ )}
40
+ {removedDate && (
41
+ <Badge color='red' variant='soft' size='1'>
42
+ Removed {Api.Schema.dateToVersionString(removedDate)}
43
+ </Badge>
44
+ )}
45
+ {!isAvailable && (
46
+ <Badge color='orange' variant='soft' size='1'>
47
+ Not available in current version
48
+ </Badge>
49
+ )}
50
+ </Box>
22
51
  {description}
23
52
  <FieldListSection data={data} />
24
53
  </Box>
@@ -1,4 +1,4 @@
1
- import { GrafaidOld } from '#lib/grafaid-old/index'
1
+ import { GrafaidOld } from '#lib/grafaid-old'
2
2
  import { Box, Flex, Heading } from '@radix-ui/themes'
3
3
  import { Obj } from '@wollybeard/kit'
4
4
  import type { GraphQLNamedType, GraphQLSchema } from 'graphql'
@@ -1,5 +1,5 @@
1
1
  import type { React } from '#dep/react/index'
2
- import type { Grafaid } from '#lib/grafaid/index'
2
+ import type { Grafaid } from '#lib/grafaid'
3
3
  import { Code } from '@radix-ui/themes'
4
4
  import { typeKindTokensIndex, unknownTypeKindToken } from './type-kind-tokens.js'
5
5
 
@@ -1,4 +1,4 @@
1
- import type { Grafaid } from '#lib/grafaid/index'
1
+ import type { Grafaid } from '#lib/grafaid'
2
2
  import type { colorPropDef } from '@radix-ui/themes/props'
3
3
 
4
4
  type RadixColor = typeof colorPropDef[`color`][`values`][number]
@@ -1,4 +1,4 @@
1
- import { Grafaid } from '#lib/grafaid/index'
1
+ import { Grafaid } from '#lib/grafaid'
2
2
  import { Code, Flex } from '@radix-ui/themes'
3
3
  import { ReferenceLink } from '../ReferenceLink.js'
4
4
  import { TypeKindIcon } from './graphql.js'
@@ -0,0 +1,22 @@
1
+ import type { NavbarProps } from '#api/hooks/types'
2
+ import { Flex } from '@radix-ui/themes'
3
+ import type React from 'react'
4
+
5
+ export const DefaultNavbar: React.FC<NavbarProps> = ({ items, Item, Logo, ThemeToggle }) => {
6
+ return (
7
+ <>
8
+ <Logo />
9
+ <Flex direction='row' gap='4' style={{ flex: 1 }}>
10
+ {items
11
+ .filter(item => item.position !== 'right')
12
+ .map((item, index) => <Item key={index} item={item} index={index} />)}
13
+ </Flex>
14
+ <Flex direction='row' gap='4'>
15
+ {items
16
+ .filter(item => item.position === 'right')
17
+ .map((item, index) => <Item key={index} item={item} index={index} />)}
18
+ </Flex>
19
+ <ThemeToggle />
20
+ </>
21
+ )
22
+ }
@@ -0,0 +1,11 @@
1
+ import type { NavbarItem } from '#api/content/navbar'
2
+ import type React from 'react'
3
+ import { Link as PolenLink } from '../Link.js'
4
+
5
+ export const Item: React.FC<{ item: NavbarItem; index: number }> = ({ item }) => {
6
+ return (
7
+ <PolenLink color='gray' to={item.pathExp}>
8
+ {item.title}
9
+ </PolenLink>
10
+ )
11
+ }
@@ -8,9 +8,10 @@ interface Props extends LayoutProps, MarginProps, BoxOwnProps {
8
8
  data: Content.Item[]
9
9
  basePath?: string
10
10
  style?: React.CSSProperties
11
+ topContent?: React.ReactNode
11
12
  }
12
13
 
13
- export const Sidebar = ({ data, basePath, ...props }: Props) => {
14
+ export const Sidebar = ({ data, basePath, topContent, ...props }: Props) => {
14
15
  return (
15
16
  <SidebarContext.Provider value={{ basePath }}>
16
17
  <Box
@@ -25,6 +26,11 @@ export const Sidebar = ({ data, basePath, ...props }: Props) => {
25
26
  }
26
27
  `}
27
28
  </style>
29
+ {topContent && (
30
+ <Box mb='4'>
31
+ {topContent}
32
+ </Box>
33
+ )}
28
34
  <Items items={data} />
29
35
  </Box>
30
36
  </SidebarContext.Provider>
@@ -0,0 +1,30 @@
1
+ import type { React } from '#dep/react/index'
2
+ import { SchemaLifecycle } from '#lib/schema-lifecycle'
3
+ import { createContext, useContext } from 'react'
4
+
5
+ interface SchemaLifecycleContextValue {
6
+ lifecycle: SchemaLifecycle.SchemaLifecycle | null
7
+ currentVersion: string
8
+ }
9
+
10
+ const SchemaLifecycleContext = createContext<SchemaLifecycleContextValue | undefined>(undefined)
11
+
12
+ export const SchemaLifecycleProvider: React.FC<{
13
+ children: React.ReactNode
14
+ lifecycle: SchemaLifecycle.SchemaLifecycle | null
15
+ currentVersion: string
16
+ }> = ({ children, lifecycle, currentVersion }) => {
17
+ return (
18
+ <SchemaLifecycleContext.Provider value={{ lifecycle, currentVersion }}>
19
+ {children}
20
+ </SchemaLifecycleContext.Provider>
21
+ )
22
+ }
23
+
24
+ export const useSchemaLifecycle = () => {
25
+ const context = useContext(SchemaLifecycleContext)
26
+ if (!context) {
27
+ throw new Error(`useSchemaLifecycle must be used within a SchemaLifecycleProvider`)
28
+ }
29
+ return context
30
+ }
@@ -4,7 +4,7 @@ import {
4
4
  isCriticalityDangerous,
5
5
  isCriticalitySafe,
6
6
  } from '#lib/graphql-change/criticality'
7
- import type { GraphqlChangeset } from '#lib/graphql-changeset/index'
7
+ import { GraphqlChangeset } from '#lib/graphql-changeset'
8
8
  import { Box, Flex, Text } from '@radix-ui/themes'
9
9
  import type React from 'react'
10
10
  import { useEffect, useState } from 'react'
@@ -22,10 +22,17 @@ interface VersionCounts {
22
22
  }
23
23
 
24
24
  const calculateCounts = (version: GraphqlChangeset.ChangeSet): VersionCounts => {
25
+ if (GraphqlChangeset.isIntermediateChangeSet(version)) {
26
+ return {
27
+ breaking: version.changes.filter(isCriticalityBreaking).length,
28
+ dangerous: version.changes.filter(isCriticalityDangerous).length,
29
+ safe: version.changes.filter(isCriticalitySafe).length,
30
+ }
31
+ }
25
32
  return {
26
- breaking: version.changes.filter(isCriticalityBreaking).length,
27
- dangerous: version.changes.filter(isCriticalityDangerous).length,
28
- safe: version.changes.filter(isCriticalitySafe).length,
33
+ breaking: 0,
34
+ dangerous: 0,
35
+ safe: 0,
29
36
  }
30
37
  }
31
38
 
@@ -10,9 +10,10 @@ interface Props {
10
10
  children: React.ReactNode
11
11
  sidebar: Content.Item[]
12
12
  basePath?: string
13
+ topContent?: React.ReactNode
13
14
  }
14
15
 
15
- export const SidebarLayout: React.FC<Props> = ({ children, sidebar, basePath }) => {
16
+ export const SidebarLayout: React.FC<Props> = ({ children, sidebar, basePath, topContent }) => {
16
17
  const location = useLocation()
17
18
  const [mobileMenuOpen, setMobileMenuOpen] = useState(false)
18
19
 
@@ -47,6 +48,7 @@ export const SidebarLayout: React.FC<Props> = ({ children, sidebar, basePath })
47
48
  }}
48
49
  sidebarData={sidebar}
49
50
  basePath={basePath}
51
+ topContent={topContent}
50
52
  />
51
53
  </Box>
52
54
  )}
@@ -58,7 +60,7 @@ export const SidebarLayout: React.FC<Props> = ({ children, sidebar, basePath })
58
60
  gridColumn='1 / 3'
59
61
  gridRow='1 / auto'
60
62
  >
61
- <Sidebar data={sidebar} basePath={basePath} />
63
+ <Sidebar data={sidebar} basePath={basePath} topContent={topContent} />
62
64
  </Box>
63
65
  )}
64
66
 
@@ -1,4 +1,4 @@
1
- import type { GraphqlChangeset } from '#lib/graphql-changeset/index'
1
+ import type { GraphqlChangeset } from '#lib/graphql-changeset'
2
2
  import { route } from '#lib/react-router-aid/react-router-aid'
3
3
  import { createLoader, useLoaderData } from '#lib/react-router-loader/react-router-loader'
4
4
  import { Changelog } from '../components/Changelog.js'
@@ -28,7 +28,9 @@ const Component = () => {
28
28
 
29
29
  return (
30
30
  <ChangelogLayout versions={data.changesets}>
31
- <Changelog changesets={data.changesets as [GraphqlChangeset.ChangeSet, ...GraphqlChangeset.ChangeSet[]]} />
31
+ <Changelog
32
+ changesets={data.changesets as [GraphqlChangeset.ChangeSet, ...GraphqlChangeset.ChangeSet[]]}
33
+ />
32
34
  </ChangelogLayout>
33
35
  )
34
36
  }
@@ -1,7 +1,7 @@
1
1
  import type { Content } from '#api/content/$'
2
2
  import { Api } from '#api/iso'
3
3
  import type { React } from '#dep/react/index'
4
- import { GrafaidOld } from '#lib/grafaid-old/index'
4
+ import { GrafaidOld } from '#lib/grafaid-old'
5
5
  import { route, routeIndex } from '#lib/react-router-aid/react-router-aid'
6
6
  import { createLoader, useLoaderData } from '#lib/react-router-loader/react-router-loader'
7
7
  import { Box } from '@radix-ui/themes'
@@ -11,6 +11,7 @@ import { Field } from '../components/Field.js'
11
11
  import { MissingSchema } from '../components/MissingSchema.js'
12
12
  import { NamedType } from '../components/NamedType.js'
13
13
  import { VersionPicker } from '../components/VersionPicker.js'
14
+ import { SchemaLifecycleProvider } from '../contexts/SchemaLifecycleContext.js'
14
15
  import { SidebarLayout } from '../layouts/index.js'
15
16
  import { schemaSource } from '../sources/schema-source.js'
16
17
 
@@ -23,10 +24,14 @@ export const loader = createLoader(async ({ params }) => {
23
24
  const schema = await schemaSource.get(currentVersion)
24
25
  const availableVersions = schemaSource.versions
25
26
 
27
+ // Load lifecycle data if available
28
+ const lifecycle = await schemaSource.getLifecycle()
29
+
26
30
  return {
27
31
  schema,
28
32
  currentVersion,
29
33
  availableVersions,
34
+ lifecycle,
30
35
  }
31
36
  })
32
37
 
@@ -81,22 +86,32 @@ const ReferenceView = () => {
81
86
  const type = data.schema.getType(params.type!)!
82
87
  const fields = (type as any).getFields()
83
88
  const field = fields[params.field!]
84
- return <Field data={field} />
89
+ return (
90
+ <Field
91
+ data={field}
92
+ parentTypeName={params.type!}
93
+ />
94
+ )
85
95
  } else {
86
96
  neverCase(viewType)
87
97
  }
88
98
  })()
89
99
 
90
100
  return (
91
- <SidebarLayout sidebar={sidebarItems} basePath={basePath}>
92
- <Box mb={`4`}>
93
- <VersionPicker
94
- all={[...data.availableVersions]} // Convert readonly to mutable
95
- current={data.currentVersion}
96
- />
97
- </Box>
98
- {content}
99
- </SidebarLayout>
101
+ <SchemaLifecycleProvider lifecycle={data.lifecycle} currentVersion={data.currentVersion}>
102
+ <SidebarLayout
103
+ sidebar={sidebarItems}
104
+ basePath={basePath}
105
+ topContent={
106
+ <VersionPicker
107
+ all={[...data.availableVersions]} // Convert readonly to mutable
108
+ current={data.currentVersion}
109
+ />
110
+ }
111
+ >
112
+ {content}
113
+ </SidebarLayout>
114
+ </SchemaLifecycleProvider>
100
115
  )
101
116
  }
102
117