polen 0.11.0-next.11 → 0.11.0-next.13

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 (788) hide show
  1. package/build/api/api.d.ts +1 -0
  2. package/build/api/api.d.ts.map +1 -1
  3. package/build/api/api.js +1 -0
  4. package/build/api/api.js.map +1 -1
  5. package/build/api/cache/$$.d.ts +2 -0
  6. package/build/api/cache/$$.d.ts.map +1 -0
  7. package/build/api/cache/$$.js +2 -0
  8. package/build/api/cache/$$.js.map +1 -0
  9. package/build/api/cache/$.d.ts +2 -0
  10. package/build/api/cache/$.d.ts.map +1 -0
  11. package/build/api/cache/$.js +2 -0
  12. package/build/api/cache/$.js.map +1 -0
  13. package/build/api/cache/cache.d.ts +40 -0
  14. package/build/api/cache/cache.d.ts.map +1 -0
  15. package/build/api/cache/cache.js +158 -0
  16. package/build/api/cache/cache.js.map +1 -0
  17. package/build/api/content/navbar.d.ts +1 -0
  18. package/build/api/content/navbar.d.ts.map +1 -1
  19. package/build/api/content/navbar.js +1 -0
  20. package/build/api/content/navbar.js.map +1 -1
  21. package/build/api/content/page.d.ts +1 -1
  22. package/build/api/content/page.d.ts.map +1 -1
  23. package/build/api/content/scan.d.ts +1 -1
  24. package/build/api/content/scan.d.ts.map +1 -1
  25. package/build/api/content/scan.js +1 -1
  26. package/build/api/content/scan.js.map +1 -1
  27. package/build/api/content/sidebar.js +1 -1
  28. package/build/api/content/sidebar.js.map +1 -1
  29. package/build/api/iso/schema/$$.d.ts +1 -1
  30. package/build/api/iso/schema/$$.d.ts.map +1 -1
  31. package/build/api/iso/schema/$$.js +1 -0
  32. package/build/api/iso/schema/$$.js.map +1 -1
  33. package/build/api/iso/schema/routing.d.ts +34 -0
  34. package/build/api/iso/schema/routing.d.ts.map +1 -1
  35. package/build/api/iso/schema/routing.js +58 -0
  36. package/build/api/iso/schema/routing.js.map +1 -1
  37. package/build/api/iso/schema/validation.d.ts +32 -0
  38. package/build/api/iso/schema/validation.d.ts.map +1 -0
  39. package/build/api/iso/schema/validation.js +101 -0
  40. package/build/api/iso/schema/validation.js.map +1 -0
  41. package/build/api/schema/data-sources/introspection/introspection.d.ts +4 -3
  42. package/build/api/schema/data-sources/introspection/introspection.d.ts.map +1 -1
  43. package/build/api/schema/data-sources/introspection/introspection.js +6 -5
  44. package/build/api/schema/data-sources/introspection/introspection.js.map +1 -1
  45. package/build/api/schema/data-sources/memory/memory.d.ts +2 -2
  46. package/build/api/schema/data-sources/memory/memory.d.ts.map +1 -1
  47. package/build/api/schema/data-sources/memory/memory.js +24 -12
  48. package/build/api/schema/data-sources/memory/memory.js.map +1 -1
  49. package/build/api/schema/data-sources/schema-directory/schema-directory.d.ts +2 -2
  50. package/build/api/schema/data-sources/schema-directory/schema-directory.d.ts.map +1 -1
  51. package/build/api/schema/data-sources/schema-directory/schema-directory.js +24 -12
  52. package/build/api/schema/data-sources/schema-directory/schema-directory.js.map +1 -1
  53. package/build/api/schema/data-sources/schema-file/schema-file.d.ts +3 -3
  54. package/build/api/schema/data-sources/schema-file/schema-file.d.ts.map +1 -1
  55. package/build/api/schema/data-sources/schema-file/schema-file.js +5 -4
  56. package/build/api/schema/data-sources/schema-file/schema-file.js.map +1 -1
  57. package/build/api/schema/read.d.ts +4 -4
  58. package/build/api/schema/read.d.ts.map +1 -1
  59. package/build/api/schema/read.js +1 -1
  60. package/build/api/schema/read.js.map +1 -1
  61. package/build/api/schema/schema.d.ts +0 -10
  62. package/build/api/schema/schema.d.ts.map +1 -1
  63. package/build/api/schema/schema.js.map +1 -1
  64. package/build/api/schema-augmentation/augmentations/description.d.ts +1 -1
  65. package/build/api/schema-augmentation/augmentations/description.d.ts.map +1 -1
  66. package/build/api/schema-augmentation/schema-augmentation.d.ts +1 -1
  67. package/build/api/schema-augmentation/schema-augmentation.d.ts.map +1 -1
  68. package/build/api/schema-augmentation/target.d.ts +1 -1
  69. package/build/api/schema-augmentation/target.d.ts.map +1 -1
  70. package/build/api/schema-augmentation/target.js +1 -1
  71. package/build/api/schema-augmentation/target.js.map +1 -1
  72. package/build/api/schema-source/schema-source.d.ts +9 -5
  73. package/build/api/schema-source/schema-source.d.ts.map +1 -1
  74. package/build/api/schema-source/schema-source.js +37 -24
  75. package/build/api/schema-source/schema-source.js.map +1 -1
  76. package/build/api/vite/plugins/build.js +1 -1
  77. package/build/api/vite/plugins/build.js.map +1 -1
  78. package/build/api/vite/plugins/core.d.ts +1 -1
  79. package/build/api/vite/plugins/core.d.ts.map +1 -1
  80. package/build/api/vite/plugins/core.js +20 -9
  81. package/build/api/vite/plugins/core.js.map +1 -1
  82. package/build/api/vite/plugins/pages.js +1 -1
  83. package/build/api/vite/plugins/pages.js.map +1 -1
  84. package/build/api/vite/plugins/schema-assets.d.ts +1 -1
  85. package/build/api/vite/plugins/schema-assets.d.ts.map +1 -1
  86. package/build/api/vite/plugins/schema-assets.js +14 -5
  87. package/build/api/vite/plugins/schema-assets.js.map +1 -1
  88. package/build/api/vite/vi.d.ts +1 -1
  89. package/build/api/vite/vi.d.ts.map +1 -1
  90. package/build/api/vite/vi.js +1 -1
  91. package/build/api/vite/vi.js.map +1 -1
  92. package/build/cli/commands/cache/$default.d.ts +3 -0
  93. package/build/cli/commands/cache/$default.d.ts.map +1 -0
  94. package/build/cli/commands/cache/$default.js +10 -0
  95. package/build/cli/commands/cache/$default.js.map +1 -0
  96. package/build/cli/commands/cache/delete.d.ts +2 -0
  97. package/build/cli/commands/cache/delete.d.ts.map +1 -0
  98. package/build/cli/commands/cache/delete.js +22 -0
  99. package/build/cli/commands/cache/delete.js.map +1 -0
  100. package/build/cli/commands/cache/show.d.ts +2 -0
  101. package/build/cli/commands/cache/show.d.ts.map +1 -0
  102. package/build/cli/commands/cache/show.js +86 -0
  103. package/build/cli/commands/cache/show.js.map +1 -0
  104. package/build/cli/commands/cache.d.ts +3 -0
  105. package/build/cli/commands/cache.d.ts.map +1 -0
  106. package/build/cli/commands/cache.js +7 -0
  107. package/build/cli/commands/cache.js.map +1 -0
  108. package/build/cli/commands/config.js +2 -0
  109. package/build/cli/commands/config.js.map +1 -1
  110. package/build/cli/commands/open.js +2 -2
  111. package/build/cli/commands/open.js.map +1 -1
  112. package/build/cli/commands/static.js +2 -0
  113. package/build/cli/commands/static.js.map +1 -1
  114. package/build/lib/apple-touch-icon/{index.js → $.d.ts} +1 -1
  115. package/build/lib/apple-touch-icon/$.d.ts.map +1 -0
  116. package/build/lib/apple-touch-icon/{index.d.ts → $.js} +1 -1
  117. package/build/lib/apple-touch-icon/$.js.map +1 -0
  118. package/build/lib/errors/{errors.js → $$.d.ts} +1 -1
  119. package/build/lib/errors/$$.d.ts.map +1 -0
  120. package/build/lib/errors/{errors.d.ts → $$.js} +1 -1
  121. package/build/lib/errors/$$.js.map +1 -0
  122. package/build/lib/errors/$.d.ts +2 -0
  123. package/build/lib/errors/$.d.ts.map +1 -0
  124. package/build/lib/errors/$.js +2 -0
  125. package/build/lib/errors/$.js.map +1 -0
  126. package/build/lib/extensible-data/{index.js → $.d.ts} +1 -1
  127. package/build/lib/extensible-data/$.d.ts.map +1 -0
  128. package/build/lib/extensible-data/{index.d.ts → $.js} +1 -1
  129. package/build/lib/extensible-data/$.js.map +1 -0
  130. package/build/lib/favicon/{index.js → $.d.ts} +1 -1
  131. package/build/lib/favicon/$.d.ts.map +1 -0
  132. package/build/lib/favicon/{index.d.ts → $.js} +1 -1
  133. package/build/lib/favicon/$.js.map +1 -0
  134. package/build/lib/file-router/{file-router.js → $$.d.ts} +1 -1
  135. package/build/lib/file-router/$$.d.ts.map +1 -0
  136. package/build/lib/file-router/{file-router.d.ts → $$.js} +1 -1
  137. package/build/lib/file-router/$$.js.map +1 -0
  138. package/build/lib/file-router/$.d.ts +2 -0
  139. package/build/lib/file-router/$.d.ts.map +1 -0
  140. package/build/lib/file-router/$.js +2 -0
  141. package/build/lib/file-router/$.js.map +1 -0
  142. package/build/lib/grafaid/{grafaid.js → $$.d.ts} +1 -1
  143. package/build/lib/grafaid/$$.d.ts.map +1 -0
  144. package/build/lib/grafaid/{grafaid.d.ts → $$.js} +1 -1
  145. package/build/lib/grafaid/$$.js.map +1 -0
  146. package/build/lib/grafaid/$.d.ts +2 -0
  147. package/build/lib/grafaid/$.d.ts.map +1 -0
  148. package/build/lib/grafaid/$.js +2 -0
  149. package/build/lib/grafaid/$.js.map +1 -0
  150. package/build/lib/grafaid/schema/type.d.ts.map +1 -1
  151. package/build/lib/grafaid/schema/type.js.map +1 -1
  152. package/build/lib/grafaid-old/{index.js → $.d.ts} +1 -1
  153. package/build/lib/grafaid-old/$.d.ts.map +1 -0
  154. package/build/lib/grafaid-old/{index.d.ts → $.js} +1 -1
  155. package/build/lib/grafaid-old/$.js.map +1 -0
  156. package/build/lib/graphql-change/{graphql-change.d.ts → $$.d.ts} +2 -2
  157. package/build/lib/graphql-change/$$.d.ts.map +1 -0
  158. package/build/lib/graphql-change/{graphql-change.js → $$.js} +1 -1
  159. package/build/lib/graphql-change/$$.js.map +1 -0
  160. package/build/lib/graphql-change/$.d.ts +2 -0
  161. package/build/lib/graphql-change/$.d.ts.map +1 -0
  162. package/build/lib/graphql-change/$.js +2 -0
  163. package/build/lib/graphql-change/$.js.map +1 -0
  164. package/build/lib/graphql-change/change-groups.d.ts +5 -1
  165. package/build/lib/graphql-change/change-groups.d.ts.map +1 -1
  166. package/build/lib/graphql-change/change-groups.js.map +1 -1
  167. package/build/lib/graphql-changeset/$$.d.ts +4 -0
  168. package/build/lib/graphql-changeset/$$.d.ts.map +1 -0
  169. package/build/lib/graphql-changeset/$$.js +4 -0
  170. package/build/lib/graphql-changeset/$$.js.map +1 -0
  171. package/build/lib/graphql-changeset/$.d.ts +2 -0
  172. package/build/lib/graphql-changeset/$.d.ts.map +1 -0
  173. package/build/lib/graphql-changeset/$.js +2 -0
  174. package/build/lib/graphql-changeset/$.js.map +1 -0
  175. package/build/lib/graphql-changeset/changelog.d.ts +4 -0
  176. package/build/lib/graphql-changeset/changelog.d.ts.map +1 -0
  177. package/build/lib/graphql-changeset/changelog.js +2 -0
  178. package/build/lib/graphql-changeset/changelog.js.map +1 -0
  179. package/build/lib/graphql-changeset/changeset.d.ts +66 -0
  180. package/build/lib/graphql-changeset/changeset.d.ts.map +1 -0
  181. package/build/lib/graphql-changeset/changeset.js +139 -0
  182. package/build/lib/graphql-changeset/changeset.js.map +1 -0
  183. package/build/lib/graphql-changeset/versioned-schema.d.ts +31 -0
  184. package/build/lib/graphql-changeset/versioned-schema.d.ts.map +1 -0
  185. package/build/lib/graphql-changeset/versioned-schema.js +14 -0
  186. package/build/lib/graphql-changeset/versioned-schema.js.map +1 -0
  187. package/build/lib/graphql-path/$$.d.ts +42 -0
  188. package/build/lib/graphql-path/$$.d.ts.map +1 -0
  189. package/build/lib/graphql-path/$$.js +42 -0
  190. package/build/lib/graphql-path/$$.js.map +1 -0
  191. package/build/lib/graphql-path/$.d.ts +5 -0
  192. package/build/lib/graphql-path/$.d.ts.map +1 -0
  193. package/build/lib/graphql-path/$.js +5 -0
  194. package/build/lib/graphql-path/$.js.map +1 -0
  195. package/build/lib/graphql-path/constructors.d.ts +57 -0
  196. package/build/lib/graphql-path/constructors.d.ts.map +1 -0
  197. package/build/lib/graphql-path/constructors.js +73 -0
  198. package/build/lib/graphql-path/constructors.js.map +1 -0
  199. package/build/lib/graphql-path/definition.d.ts +152 -0
  200. package/build/lib/graphql-path/definition.d.ts.map +1 -0
  201. package/build/lib/graphql-path/definition.js +192 -0
  202. package/build/lib/graphql-path/definition.js.map +1 -0
  203. package/build/lib/graphql-path/query.d.ts +75 -0
  204. package/build/lib/graphql-path/query.d.ts.map +1 -0
  205. package/build/lib/graphql-path/query.js +111 -0
  206. package/build/lib/graphql-path/query.js.map +1 -0
  207. package/build/lib/graphql-path/types.d.ts +50 -0
  208. package/build/lib/graphql-path/types.d.ts.map +1 -0
  209. package/build/lib/graphql-path/types.js +5 -0
  210. package/build/lib/graphql-path/types.js.map +1 -0
  211. package/build/lib/graphql-schema-loader/{index.js → $.d.ts} +1 -1
  212. package/build/lib/graphql-schema-loader/$.d.ts.map +1 -0
  213. package/build/lib/graphql-schema-loader/{index.d.ts → $.js} +1 -1
  214. package/build/lib/graphql-schema-loader/$.js.map +1 -0
  215. package/build/lib/graphql-schema-loader/graphql-schema-loader.d.ts +1 -1
  216. package/build/lib/graphql-schema-loader/graphql-schema-loader.d.ts.map +1 -1
  217. package/build/lib/graphql-schema-loader/graphql-schema-loader.js +1 -1
  218. package/build/lib/graphql-schema-loader/graphql-schema-loader.js.map +1 -1
  219. package/build/lib/hono-aid/{index.js → $.d.ts} +1 -1
  220. package/build/lib/hono-aid/$.d.ts.map +1 -0
  221. package/build/lib/hono-aid/{index.d.ts → $.js} +1 -1
  222. package/build/lib/hono-aid/$.js.map +1 -0
  223. package/build/lib/html-utils/$$.d.ts +3 -0
  224. package/build/lib/html-utils/$$.d.ts.map +1 -0
  225. package/build/lib/html-utils/$$.js +3 -0
  226. package/build/lib/html-utils/$$.js.map +1 -0
  227. package/build/lib/html-utils/$.d.ts +2 -0
  228. package/build/lib/html-utils/$.d.ts.map +1 -0
  229. package/build/lib/html-utils/$.js +2 -0
  230. package/build/lib/html-utils/$.js.map +1 -0
  231. package/build/lib/kit-temp.d.ts +1 -0
  232. package/build/lib/kit-temp.d.ts.map +1 -1
  233. package/build/lib/react-router-aid/{react-router-aid.d.ts → $$.d.ts} +1 -1
  234. package/build/lib/react-router-aid/$$.d.ts.map +1 -0
  235. package/build/lib/react-router-aid/{react-router-aid.js → $$.js} +1 -1
  236. package/build/lib/react-router-aid/$$.js.map +1 -0
  237. package/build/lib/react-router-aid/$.d.ts +2 -0
  238. package/build/lib/react-router-aid/$.d.ts.map +1 -0
  239. package/build/lib/react-router-aid/$.js +2 -0
  240. package/build/lib/react-router-aid/$.js.map +1 -0
  241. package/build/lib/react-router-loader/{react-router-loader.d.ts → $$.d.ts} +1 -1
  242. package/build/lib/react-router-loader/$$.d.ts.map +1 -0
  243. package/build/lib/react-router-loader/{react-router-loader.js → $$.js} +1 -1
  244. package/build/lib/react-router-loader/$$.js.map +1 -0
  245. package/build/lib/react-router-loader/$.d.ts +2 -0
  246. package/build/lib/react-router-loader/$.d.ts.map +1 -0
  247. package/build/lib/react-router-loader/$.js +2 -0
  248. package/build/lib/react-router-loader/$.js.map +1 -0
  249. package/build/lib/schema-lifecycle/$$.d.ts +6 -0
  250. package/build/lib/schema-lifecycle/$$.d.ts.map +1 -0
  251. package/build/lib/schema-lifecycle/$$.js +6 -0
  252. package/build/lib/schema-lifecycle/$$.js.map +1 -0
  253. package/build/lib/schema-lifecycle/$.d.ts +2 -0
  254. package/build/lib/schema-lifecycle/$.d.ts.map +1 -0
  255. package/build/lib/schema-lifecycle/$.js +2 -0
  256. package/build/lib/schema-lifecycle/$.js.map +1 -0
  257. package/build/lib/schema-lifecycle/FieldLifecycle.d.ts +17 -0
  258. package/build/lib/schema-lifecycle/FieldLifecycle.d.ts.map +1 -0
  259. package/build/lib/schema-lifecycle/FieldLifecycle.js +2 -0
  260. package/build/lib/schema-lifecycle/FieldLifecycle.js.map +1 -0
  261. package/build/lib/schema-lifecycle/LifecycleEvent.d.ts +25 -0
  262. package/build/lib/schema-lifecycle/LifecycleEvent.d.ts.map +1 -0
  263. package/build/lib/schema-lifecycle/LifecycleEvent.js +2 -0
  264. package/build/lib/schema-lifecycle/LifecycleEvent.js.map +1 -0
  265. package/build/lib/schema-lifecycle/NamedTypeLifecycle.d.ts +59 -0
  266. package/build/lib/schema-lifecycle/NamedTypeLifecycle.d.ts.map +1 -0
  267. package/build/lib/schema-lifecycle/NamedTypeLifecycle.js +24 -0
  268. package/build/lib/schema-lifecycle/NamedTypeLifecycle.js.map +1 -0
  269. package/build/lib/schema-lifecycle/SchemaLifecycle.d.ts +25 -0
  270. package/build/lib/schema-lifecycle/SchemaLifecycle.d.ts.map +1 -0
  271. package/build/lib/schema-lifecycle/SchemaLifecycle.js +59 -0
  272. package/build/lib/schema-lifecycle/SchemaLifecycle.js.map +1 -0
  273. package/build/lib/schema-lifecycle/SchemaLink.d.ts +2 -0
  274. package/build/lib/schema-lifecycle/SchemaLink.d.ts.map +1 -0
  275. package/build/lib/schema-lifecycle/SchemaLink.js +38 -0
  276. package/build/lib/schema-lifecycle/SchemaLink.js.map +1 -0
  277. package/build/lib/schema-lifecycle/handlers.d.ts +20 -0
  278. package/build/lib/schema-lifecycle/handlers.d.ts.map +1 -0
  279. package/build/lib/schema-lifecycle/handlers.js +168 -0
  280. package/build/lib/schema-lifecycle/handlers.js.map +1 -0
  281. package/build/lib/schema-lifecycle/utils.d.ts +53 -0
  282. package/build/lib/schema-lifecycle/utils.d.ts.map +1 -0
  283. package/build/lib/schema-lifecycle/utils.js +160 -0
  284. package/build/lib/schema-lifecycle/utils.js.map +1 -0
  285. package/build/lib/stack-processor/{index.js → $.d.ts} +1 -1
  286. package/build/lib/stack-processor/$.d.ts.map +1 -0
  287. package/build/lib/stack-processor/{index.d.ts → $.js} +1 -1
  288. package/build/lib/stack-processor/$.js.map +1 -0
  289. package/build/lib/superjson-codec/{exports.js → $$.d.ts} +1 -1
  290. package/build/lib/superjson-codec/$$.d.ts.map +1 -0
  291. package/build/lib/superjson-codec/{exports.d.ts → $$.js} +1 -1
  292. package/build/lib/superjson-codec/$$.js.map +1 -0
  293. package/build/lib/superjson-codec/$.d.ts +2 -0
  294. package/build/lib/superjson-codec/$.d.ts.map +1 -0
  295. package/build/lib/superjson-codec/$.js +2 -0
  296. package/build/lib/superjson-codec/$.js.map +1 -0
  297. package/build/lib/superjson-codec/codecs/graphql-schema.d.ts +1 -1
  298. package/build/lib/superjson-codec/codecs/graphql-schema.d.ts.map +1 -1
  299. package/build/lib/superjson-codec/codecs/graphql-schema.js +1 -1
  300. package/build/lib/superjson-codec/codecs/graphql-schema.js.map +1 -1
  301. package/build/lib/theme/$$.d.ts +2 -0
  302. package/build/lib/theme/$$.d.ts.map +1 -0
  303. package/build/lib/theme/$$.js +2 -0
  304. package/build/lib/theme/$$.js.map +1 -0
  305. package/build/lib/theme/$.d.ts +1 -1
  306. package/build/lib/theme/$.d.ts.map +1 -1
  307. package/build/lib/theme/$.js +1 -1
  308. package/build/lib/theme/$.js.map +1 -1
  309. package/build/lib/vite-plugin-config/{vite-plugin-config.d.ts → $$.d.ts} +1 -1
  310. package/build/lib/vite-plugin-config/$$.d.ts.map +1 -0
  311. package/build/lib/vite-plugin-config/{vite-plugin-config.js → $$.js} +1 -1
  312. package/build/lib/vite-plugin-config/$$.js.map +1 -0
  313. package/build/lib/vite-plugin-config/$.d.ts +2 -0
  314. package/build/lib/vite-plugin-config/$.d.ts.map +1 -0
  315. package/build/lib/vite-plugin-config/$.js +2 -0
  316. package/build/lib/vite-plugin-config/$.js.map +1 -0
  317. package/build/lib/vite-plugin-json/{index.js → $.d.ts} +1 -1
  318. package/build/lib/vite-plugin-json/$.d.ts.map +1 -0
  319. package/build/lib/vite-plugin-json/{index.d.ts → $.js} +1 -1
  320. package/build/lib/vite-plugin-json/$.js.map +1 -0
  321. package/build/lib/vite-plugin-mdx/{index.js → $.d.ts} +1 -1
  322. package/build/lib/vite-plugin-mdx/$.d.ts.map +1 -0
  323. package/build/lib/vite-plugin-mdx/{index.d.ts → $.js} +1 -1
  324. package/build/lib/vite-plugin-mdx/$.js.map +1 -0
  325. package/build/lib/vite-plugin-reactive-data/{index.js → $.d.ts} +1 -1
  326. package/build/lib/vite-plugin-reactive-data/$.d.ts.map +1 -0
  327. package/build/lib/vite-plugin-reactive-data/{index.d.ts → $.js} +1 -1
  328. package/build/lib/vite-plugin-reactive-data/$.js.map +1 -0
  329. package/build/lib/vite-plugin-reactive-data/vite-plugin-reactive-data.d.ts +1 -1
  330. package/build/lib/vite-plugin-reactive-data/vite-plugin-reactive-data.d.ts.map +1 -1
  331. package/build/lib/vite-plugins/$$.d.ts +2 -0
  332. package/build/lib/vite-plugins/$$.d.ts.map +1 -0
  333. package/build/lib/vite-plugins/$$.js +2 -0
  334. package/build/lib/vite-plugins/$$.js.map +1 -0
  335. package/build/lib/vite-plugins/$.d.ts +5 -0
  336. package/build/lib/vite-plugins/$.d.ts.map +1 -0
  337. package/build/lib/vite-plugins/$.js +5 -0
  338. package/build/lib/vite-plugins/$.js.map +1 -0
  339. package/build/lib/vite-virtual/{vite-virtual.js → $$.d.ts} +1 -1
  340. package/build/lib/vite-virtual/$$.d.ts.map +1 -0
  341. package/build/lib/vite-virtual/{vite-virtual.d.ts → $$.js} +1 -1
  342. package/build/lib/vite-virtual/$$.js.map +1 -0
  343. package/build/lib/vite-virtual/$.d.ts +2 -0
  344. package/build/lib/vite-virtual/$.d.ts.map +1 -0
  345. package/build/lib/vite-virtual/$.js +2 -0
  346. package/build/lib/vite-virtual/$.js.map +1 -0
  347. package/build/lib/vite-virtual/identified-loader.js +1 -1
  348. package/build/lib/vite-virtual/identified-loader.js.map +1 -1
  349. package/build/sandbox.js +2 -40
  350. package/build/sandbox.js.map +1 -1
  351. package/build/singletons/superjson.js +1 -1
  352. package/build/singletons/superjson.js.map +1 -1
  353. package/build/template/components/ArgumentList.d.ts +3 -4
  354. package/build/template/components/ArgumentList.d.ts.map +1 -1
  355. package/build/template/components/ArgumentList.js.map +1 -1
  356. package/build/template/components/ArgumentListAnnotation.js +1 -1
  357. package/build/template/components/ArgumentListAnnotation.js.map +1 -1
  358. package/build/template/components/Changelog/ChangeBase.d.ts +1 -1
  359. package/build/template/components/Changelog/ChangeBase.d.ts.map +1 -1
  360. package/build/template/components/Changelog/CriticalitySection.d.ts +1 -1
  361. package/build/template/components/Changelog/CriticalitySection.d.ts.map +1 -1
  362. package/build/template/components/Changelog/CriticalitySection.js.map +1 -1
  363. package/build/template/components/Changelog/groups/DirectiveArgument.d.ts +1 -1
  364. package/build/template/components/Changelog/groups/DirectiveArgument.d.ts.map +1 -1
  365. package/build/template/components/Changelog/groups/DirectiveArgumentDescription.d.ts +1 -1
  366. package/build/template/components/Changelog/groups/DirectiveArgumentDescription.d.ts.map +1 -1
  367. package/build/template/components/Changelog/groups/DirectiveArgumentOperation.d.ts +1 -1
  368. package/build/template/components/Changelog/groups/DirectiveArgumentOperation.d.ts.map +1 -1
  369. package/build/template/components/Changelog/groups/DirectiveDescription.d.ts +1 -1
  370. package/build/template/components/Changelog/groups/DirectiveDescription.d.ts.map +1 -1
  371. package/build/template/components/Changelog/groups/DirectiveLocationOperation.d.ts +1 -1
  372. package/build/template/components/Changelog/groups/DirectiveLocationOperation.d.ts.map +1 -1
  373. package/build/template/components/Changelog/groups/DirectiveOperation.d.ts +1 -1
  374. package/build/template/components/Changelog/groups/DirectiveOperation.d.ts.map +1 -1
  375. package/build/template/components/Changelog/groups/DirectiveUsage.d.ts +1 -1
  376. package/build/template/components/Changelog/groups/DirectiveUsage.d.ts.map +1 -1
  377. package/build/template/components/Changelog/groups/EnumValueDeprecationReason.d.ts +1 -1
  378. package/build/template/components/Changelog/groups/EnumValueDeprecationReason.d.ts.map +1 -1
  379. package/build/template/components/Changelog/groups/EnumValueDescription.d.ts +1 -1
  380. package/build/template/components/Changelog/groups/EnumValueDescription.d.ts.map +1 -1
  381. package/build/template/components/Changelog/groups/EnumValueOperation.d.ts +1 -1
  382. package/build/template/components/Changelog/groups/EnumValueOperation.d.ts.map +1 -1
  383. package/build/template/components/Changelog/groups/FieldArgument.d.ts +1 -1
  384. package/build/template/components/Changelog/groups/FieldArgument.d.ts.map +1 -1
  385. package/build/template/components/Changelog/groups/FieldArgumentDescription.d.ts +1 -1
  386. package/build/template/components/Changelog/groups/FieldArgumentDescription.d.ts.map +1 -1
  387. package/build/template/components/Changelog/groups/FieldArgumentOperation.d.ts +1 -1
  388. package/build/template/components/Changelog/groups/FieldArgumentOperation.d.ts.map +1 -1
  389. package/build/template/components/Changelog/groups/FieldDeprecation.d.ts +1 -1
  390. package/build/template/components/Changelog/groups/FieldDeprecation.d.ts.map +1 -1
  391. package/build/template/components/Changelog/groups/FieldDeprecationReason.d.ts +1 -1
  392. package/build/template/components/Changelog/groups/FieldDeprecationReason.d.ts.map +1 -1
  393. package/build/template/components/Changelog/groups/FieldDescription.d.ts +1 -1
  394. package/build/template/components/Changelog/groups/FieldDescription.d.ts.map +1 -1
  395. package/build/template/components/Changelog/groups/FieldOperation.d.ts +1 -1
  396. package/build/template/components/Changelog/groups/FieldOperation.d.ts.map +1 -1
  397. package/build/template/components/Changelog/groups/InputFieldDefaultValue.d.ts +1 -1
  398. package/build/template/components/Changelog/groups/InputFieldDefaultValue.d.ts.map +1 -1
  399. package/build/template/components/Changelog/groups/InputFieldDescription.d.ts +1 -1
  400. package/build/template/components/Changelog/groups/InputFieldDescription.d.ts.map +1 -1
  401. package/build/template/components/Changelog/groups/InputFieldOperation.d.ts +1 -1
  402. package/build/template/components/Changelog/groups/InputFieldOperation.d.ts.map +1 -1
  403. package/build/template/components/Changelog/groups/ObjectTypeInterfaceOperation.d.ts +1 -1
  404. package/build/template/components/Changelog/groups/ObjectTypeInterfaceOperation.d.ts.map +1 -1
  405. package/build/template/components/Changelog/groups/SchemaRootType.d.ts +1 -1
  406. package/build/template/components/Changelog/groups/SchemaRootType.d.ts.map +1 -1
  407. package/build/template/components/Changelog/groups/TypeDescription.d.ts +1 -1
  408. package/build/template/components/Changelog/groups/TypeDescription.d.ts.map +1 -1
  409. package/build/template/components/Changelog/groups/TypeOperation.d.ts +1 -1
  410. package/build/template/components/Changelog/groups/TypeOperation.d.ts.map +1 -1
  411. package/build/template/components/Changelog/groups/UnionMemberOperation.d.ts +1 -1
  412. package/build/template/components/Changelog/groups/UnionMemberOperation.d.ts.map +1 -1
  413. package/build/template/components/Changelog.d.ts +2 -2
  414. package/build/template/components/Changelog.d.ts.map +1 -1
  415. package/build/template/components/Changelog.js +13 -10
  416. package/build/template/components/Changelog.js.map +1 -1
  417. package/build/template/components/DeprecationReason.d.ts +3 -3
  418. package/build/template/components/DeprecationReason.d.ts.map +1 -1
  419. package/build/template/components/DeprecationReason.js.map +1 -1
  420. package/build/template/components/Description.d.ts +3 -3
  421. package/build/template/components/Description.d.ts.map +1 -1
  422. package/build/template/components/Description.js.map +1 -1
  423. package/build/template/components/Field.d.ts +5 -5
  424. package/build/template/components/Field.d.ts.map +1 -1
  425. package/build/template/components/Field.js +23 -4
  426. package/build/template/components/Field.js.map +1 -1
  427. package/build/template/components/FieldList.d.ts +2 -1
  428. package/build/template/components/FieldList.d.ts.map +1 -1
  429. package/build/template/components/FieldList.js +3 -3
  430. package/build/template/components/FieldList.js.map +1 -1
  431. package/build/template/components/FieldListSection.d.ts +3 -4
  432. package/build/template/components/FieldListSection.d.ts.map +1 -1
  433. package/build/template/components/FieldListSection.js +2 -2
  434. package/build/template/components/FieldListSection.js.map +1 -1
  435. package/build/template/components/HamburgerMenu.d.ts +1 -0
  436. package/build/template/components/HamburgerMenu.d.ts.map +1 -1
  437. package/build/template/components/HamburgerMenu.js +2 -2
  438. package/build/template/components/HamburgerMenu.js.map +1 -1
  439. package/build/template/components/MissingSchema.d.ts +2 -1
  440. package/build/template/components/MissingSchema.d.ts.map +1 -1
  441. package/build/template/components/MissingSchema.js.map +1 -1
  442. package/build/template/components/NamedType.d.ts.map +1 -1
  443. package/build/template/components/NamedType.js +11 -2
  444. package/build/template/components/NamedType.js.map +1 -1
  445. package/build/template/components/ReferenceLink.d.ts +9 -11
  446. package/build/template/components/ReferenceLink.d.ts.map +1 -1
  447. package/build/template/components/ReferenceLink.js.map +1 -1
  448. package/build/template/components/ToastContainer.d.ts +3 -0
  449. package/build/template/components/ToastContainer.d.ts.map +1 -0
  450. package/build/template/components/ToastContainer.js +44 -0
  451. package/build/template/components/ToastContainer.js.map +1 -0
  452. package/build/template/components/ToastItem.d.ts +7 -0
  453. package/build/template/components/ToastItem.d.ts.map +1 -0
  454. package/build/template/components/ToastItem.js +48 -0
  455. package/build/template/components/ToastItem.js.map +1 -0
  456. package/build/template/components/TypeAnnotation.d.ts +4 -5
  457. package/build/template/components/TypeAnnotation.d.ts.map +1 -1
  458. package/build/template/components/TypeAnnotation.js.map +1 -1
  459. package/build/template/components/TypeIndex.js +1 -1
  460. package/build/template/components/TypeIndex.js.map +1 -1
  461. package/build/template/components/VersionPicker.d.ts +8 -0
  462. package/build/template/components/VersionPicker.d.ts.map +1 -0
  463. package/build/template/components/VersionPicker.js +66 -0
  464. package/build/template/components/VersionPicker.js.map +1 -0
  465. package/build/template/components/graphql/type-kind-icon.d.ts +1 -1
  466. package/build/template/components/graphql/type-kind-icon.d.ts.map +1 -1
  467. package/build/template/components/graphql/type-link.d.ts +1 -1
  468. package/build/template/components/graphql/type-link.d.ts.map +1 -1
  469. package/build/template/components/graphql/type-link.js +1 -1
  470. package/build/template/components/graphql/type-link.js.map +1 -1
  471. package/build/template/components/sidebar/Sidebar.d.ts +2 -1
  472. package/build/template/components/sidebar/Sidebar.d.ts.map +1 -1
  473. package/build/template/components/sidebar/Sidebar.js +2 -2
  474. package/build/template/components/sidebar/Sidebar.js.map +1 -1
  475. package/build/template/contexts/SchemaLifecycleContext.d.ts +14 -0
  476. package/build/template/contexts/SchemaLifecycleContext.d.ts.map +1 -0
  477. package/build/template/contexts/SchemaLifecycleContext.js +15 -0
  478. package/build/template/contexts/SchemaLifecycleContext.js.map +1 -0
  479. package/build/template/hooks/useReferencePath.d.ts +9 -0
  480. package/build/template/hooks/useReferencePath.d.ts.map +1 -0
  481. package/build/template/hooks/useReferencePath.js +18 -0
  482. package/build/template/hooks/useReferencePath.js.map +1 -0
  483. package/build/template/layouts/ChangelogLayout.d.ts +1 -1
  484. package/build/template/layouts/ChangelogLayout.d.ts.map +1 -1
  485. package/build/template/layouts/ChangelogLayout.js +11 -3
  486. package/build/template/layouts/ChangelogLayout.js.map +1 -1
  487. package/build/template/layouts/SidebarLayout.d.ts +1 -0
  488. package/build/template/layouts/SidebarLayout.d.ts.map +1 -1
  489. package/build/template/layouts/SidebarLayout.js +2 -2
  490. package/build/template/layouts/SidebarLayout.js.map +1 -1
  491. package/build/template/routes/changelog.d.ts +4 -2
  492. package/build/template/routes/changelog.d.ts.map +1 -1
  493. package/build/template/routes/changelog.js.map +1 -1
  494. package/build/template/routes/reference.d.ts +30 -9
  495. package/build/template/routes/reference.d.ts.map +1 -1
  496. package/build/template/routes/reference.js +53 -55
  497. package/build/template/routes/reference.js.map +1 -1
  498. package/build/template/routes/root.d.ts +1 -0
  499. package/build/template/routes/root.d.ts.map +1 -1
  500. package/build/template/routes/root.js +21 -6
  501. package/build/template/routes/root.js.map +1 -1
  502. package/build/template/server/middleware/unsupported-assets.js +2 -2
  503. package/build/template/server/middleware/unsupported-assets.js.map +1 -1
  504. package/build/template/server/ssg/get-route-paths.js +1 -1
  505. package/build/template/server/ssg/get-route-paths.js.map +1 -1
  506. package/build/template/sources/schema-source.d.ts +6 -4
  507. package/build/template/sources/schema-source.d.ts.map +1 -1
  508. package/build/template/stores/$$.d.ts +13 -0
  509. package/build/template/stores/$$.d.ts.map +1 -0
  510. package/build/template/stores/$$.js +5 -0
  511. package/build/template/stores/$$.js.map +1 -0
  512. package/build/template/stores/$.d.ts +2 -0
  513. package/build/template/stores/$.d.ts.map +1 -0
  514. package/build/template/stores/$.js +2 -0
  515. package/build/template/stores/$.js.map +1 -0
  516. package/build/template/stores/schema.d.ts +40 -0
  517. package/build/template/stores/schema.d.ts.map +1 -0
  518. package/build/template/stores/schema.js +36 -0
  519. package/build/template/stores/schema.js.map +1 -0
  520. package/build/template/stores/toast.d.ts +103 -0
  521. package/build/template/stores/toast.d.ts.map +1 -0
  522. package/build/template/stores/toast.js +105 -0
  523. package/build/template/stores/toast.js.map +1 -0
  524. package/build/template/utils/try-with-toast.d.ts +9 -0
  525. package/build/template/utils/try-with-toast.d.ts.map +1 -0
  526. package/build/template/utils/try-with-toast.js +37 -0
  527. package/build/template/utils/try-with-toast.js.map +1 -0
  528. package/package.json +119 -4
  529. package/src/api/api.ts +1 -0
  530. package/src/api/cache/$$.ts +1 -0
  531. package/src/api/cache/$.ts +1 -0
  532. package/src/api/cache/cache.ts +210 -0
  533. package/src/api/content/navbar.test.ts +3 -3
  534. package/src/api/content/navbar.ts +2 -0
  535. package/src/api/content/page.ts +1 -1
  536. package/src/api/content/scan.ts +1 -1
  537. package/src/api/content/sidebar.ts +1 -1
  538. package/src/api/iso/schema/$$.ts +1 -3
  539. package/src/api/iso/schema/routing.ts +89 -0
  540. package/src/api/iso/schema/validation.ts +136 -0
  541. package/src/api/schema/data-sources/introspection/introspection.ts +13 -10
  542. package/src/api/schema/data-sources/memory/memory.ts +26 -16
  543. package/src/api/schema/data-sources/schema-directory/schema-directory.ts +28 -18
  544. package/src/api/schema/data-sources/schema-file/schema-file.ts +10 -10
  545. package/src/api/schema/read.ts +5 -5
  546. package/src/api/schema/schema.ts +0 -14
  547. package/src/api/schema-augmentation/augmentations/description.ts +1 -1
  548. package/src/api/schema-augmentation/schema-augmentation.ts +1 -1
  549. package/src/api/schema-augmentation/target.ts +1 -1
  550. package/src/api/schema-source/schema-source.ts +59 -32
  551. package/src/api/vite/plugins/build.ts +1 -1
  552. package/src/api/vite/plugins/core.ts +21 -12
  553. package/src/api/vite/plugins/pages.ts +1 -1
  554. package/src/api/vite/plugins/schema-assets.ts +21 -7
  555. package/src/api/vite/vi.ts +1 -1
  556. package/src/cli/commands/cache/$default.ts +10 -0
  557. package/src/cli/commands/cache/delete.ts +27 -0
  558. package/src/cli/commands/cache/show.ts +99 -0
  559. package/src/cli/commands/cache.ts +9 -0
  560. package/src/cli/commands/config.ts +3 -0
  561. package/src/cli/commands/open.ts +2 -2
  562. package/src/cli/commands/static.ts +3 -0
  563. package/src/lib/errors/$.ts +1 -0
  564. package/src/lib/file-router/$.ts +1 -0
  565. package/src/lib/file-router/index.test.ts +1 -1
  566. package/src/lib/grafaid/$.ts +1 -0
  567. package/src/lib/grafaid/schema/type.ts +1 -0
  568. package/src/lib/graphql-change/{graphql-change.ts → $$.ts} +1 -1
  569. package/src/lib/graphql-change/$.ts +1 -0
  570. package/src/lib/graphql-change/change-groups.ts +56 -26
  571. package/src/lib/graphql-changeset/$$.ts +3 -0
  572. package/src/lib/graphql-changeset/$.ts +1 -0
  573. package/src/lib/graphql-changeset/changelog.ts +9 -0
  574. package/src/lib/graphql-changeset/changeset.ts +190 -0
  575. package/src/lib/graphql-changeset/versioned-schema.ts +43 -0
  576. package/src/lib/graphql-path/$$.ts +42 -0
  577. package/src/lib/graphql-path/$.ts +4 -0
  578. package/src/lib/graphql-path/constructors.ts +81 -0
  579. package/src/lib/graphql-path/definition.ts +240 -0
  580. package/src/lib/graphql-path/query.ts +118 -0
  581. package/src/lib/graphql-path/types.ts +55 -0
  582. package/src/lib/graphql-schema-loader/graphql-schema-loader.ts +1 -1
  583. package/src/lib/html-utils/$$.ts +2 -0
  584. package/src/lib/html-utils/$.ts +1 -0
  585. package/src/lib/kit-temp.ts +3 -0
  586. package/src/lib/path-map/$.test.ts +4 -3
  587. package/src/lib/react-router-aid/$.ts +1 -0
  588. package/src/lib/react-router-loader/$.ts +1 -0
  589. package/src/lib/schema-lifecycle/$$.ts +19 -0
  590. package/src/lib/schema-lifecycle/$.test.ts +222 -0
  591. package/src/lib/schema-lifecycle/$.ts +1 -0
  592. package/src/lib/schema-lifecycle/FieldLifecycle.ts +18 -0
  593. package/src/lib/schema-lifecycle/LifecycleEvent.ts +27 -0
  594. package/src/lib/schema-lifecycle/NamedTypeLifecycle.ts +96 -0
  595. package/src/lib/schema-lifecycle/SchemaLifecycle.ts +85 -0
  596. package/src/lib/schema-lifecycle/SchemaLink.ts +40 -0
  597. package/src/lib/schema-lifecycle/handlers.ts +215 -0
  598. package/src/lib/schema-lifecycle/utils.ts +234 -0
  599. package/src/lib/superjson-codec/$.ts +1 -0
  600. package/src/lib/superjson-codec/codecs/graphql-schema.ts +1 -1
  601. package/src/lib/theme/$$.ts +1 -0
  602. package/src/lib/theme/$.ts +1 -1
  603. package/src/lib/vite-plugin-config/$.ts +1 -0
  604. package/src/lib/vite-plugin-reactive-data/vite-plugin-reactive-data.ts +1 -1
  605. package/src/lib/vite-plugins/$.ts +4 -0
  606. package/src/lib/vite-virtual/$.ts +1 -0
  607. package/src/lib/vite-virtual/identified-loader.ts +1 -1
  608. package/src/sandbox.ts +1 -43
  609. package/src/singletons/superjson.ts +1 -1
  610. package/src/template/components/ArgumentList.tsx +2 -6
  611. package/src/template/components/ArgumentListAnnotation.tsx +1 -1
  612. package/src/template/components/Changelog/ChangeBase.tsx +1 -1
  613. package/src/template/components/Changelog/CriticalitySection.tsx +1 -1
  614. package/src/template/components/Changelog/groups/DirectiveArgument.tsx +1 -1
  615. package/src/template/components/Changelog/groups/DirectiveArgumentDescription.tsx +1 -1
  616. package/src/template/components/Changelog/groups/DirectiveArgumentOperation.tsx +1 -1
  617. package/src/template/components/Changelog/groups/DirectiveDescription.tsx +1 -1
  618. package/src/template/components/Changelog/groups/DirectiveLocationOperation.tsx +1 -1
  619. package/src/template/components/Changelog/groups/DirectiveOperation.tsx +1 -1
  620. package/src/template/components/Changelog/groups/DirectiveUsage.tsx +1 -1
  621. package/src/template/components/Changelog/groups/EnumValueDeprecationReason.tsx +1 -1
  622. package/src/template/components/Changelog/groups/EnumValueDescription.tsx +1 -1
  623. package/src/template/components/Changelog/groups/EnumValueOperation.tsx +1 -1
  624. package/src/template/components/Changelog/groups/FieldArgument.tsx +1 -1
  625. package/src/template/components/Changelog/groups/FieldArgumentDescription.tsx +1 -1
  626. package/src/template/components/Changelog/groups/FieldArgumentOperation.tsx +1 -1
  627. package/src/template/components/Changelog/groups/FieldDeprecation.tsx +1 -1
  628. package/src/template/components/Changelog/groups/FieldDeprecationReason.tsx +1 -1
  629. package/src/template/components/Changelog/groups/FieldDescription.tsx +1 -1
  630. package/src/template/components/Changelog/groups/FieldOperation.tsx +1 -1
  631. package/src/template/components/Changelog/groups/InputFieldDefaultValue.tsx +1 -1
  632. package/src/template/components/Changelog/groups/InputFieldDescription.tsx +1 -1
  633. package/src/template/components/Changelog/groups/InputFieldOperation.tsx +1 -1
  634. package/src/template/components/Changelog/groups/ObjectTypeInterfaceOperation.tsx +1 -1
  635. package/src/template/components/Changelog/groups/SchemaRootType.tsx +1 -1
  636. package/src/template/components/Changelog/groups/TypeDescription.tsx +1 -1
  637. package/src/template/components/Changelog/groups/TypeOperation.tsx +1 -1
  638. package/src/template/components/Changelog/groups/UnionMemberOperation.tsx +1 -1
  639. package/src/template/components/Changelog.tsx +14 -13
  640. package/src/template/components/DeprecationReason.tsx +3 -3
  641. package/src/template/components/Description.tsx +3 -3
  642. package/src/template/components/Field.tsx +48 -8
  643. package/src/template/components/FieldList.tsx +4 -2
  644. package/src/template/components/FieldListSection.tsx +4 -8
  645. package/src/template/components/HamburgerMenu.tsx +3 -1
  646. package/src/template/components/MissingSchema.tsx +3 -1
  647. package/src/template/components/NamedType.tsx +31 -2
  648. package/src/template/components/ReferenceLink.tsx +9 -11
  649. package/src/template/components/ToastContainer.tsx +67 -0
  650. package/src/template/components/ToastItem.tsx +119 -0
  651. package/src/template/components/TypeAnnotation.tsx +2 -6
  652. package/src/template/components/TypeIndex.tsx +1 -1
  653. package/src/template/components/VersionPicker.tsx +94 -0
  654. package/src/template/components/graphql/type-kind-icon.tsx +1 -1
  655. package/src/template/components/graphql/type-kind-tokens.ts +1 -1
  656. package/src/template/components/graphql/type-link.tsx +1 -1
  657. package/src/template/components/sidebar/Sidebar.tsx +7 -1
  658. package/src/template/contexts/SchemaLifecycleContext.tsx +30 -0
  659. package/src/template/hooks/useReferencePath.ts +20 -0
  660. package/src/template/layouts/ChangelogLayout.tsx +11 -4
  661. package/src/template/layouts/SidebarLayout.tsx +4 -2
  662. package/src/template/routes/changelog.tsx +4 -2
  663. package/src/template/routes/reference.tsx +70 -69
  664. package/src/template/routes/root.tsx +45 -11
  665. package/src/template/server/create-page-html-response.ts +1 -1
  666. package/src/template/server/middleware/unsupported-assets.ts +2 -2
  667. package/src/template/server/ssg/get-route-paths.ts +1 -1
  668. package/src/template/stores/$$.ts +15 -0
  669. package/src/template/stores/$.ts +1 -0
  670. package/src/template/stores/schema.ts +52 -0
  671. package/src/template/stores/toast.ts +153 -0
  672. package/src/template/utils/try-with-toast.ts +41 -0
  673. package/build/lib/apple-touch-icon/index.d.ts.map +0 -1
  674. package/build/lib/apple-touch-icon/index.js.map +0 -1
  675. package/build/lib/errors/errors.d.ts.map +0 -1
  676. package/build/lib/errors/errors.js.map +0 -1
  677. package/build/lib/errors/index.d.ts +0 -2
  678. package/build/lib/errors/index.d.ts.map +0 -1
  679. package/build/lib/errors/index.js +0 -2
  680. package/build/lib/errors/index.js.map +0 -1
  681. package/build/lib/extensible-data/index.d.ts.map +0 -1
  682. package/build/lib/extensible-data/index.js.map +0 -1
  683. package/build/lib/favicon/index.d.ts.map +0 -1
  684. package/build/lib/favicon/index.js.map +0 -1
  685. package/build/lib/file-router/file-router.d.ts.map +0 -1
  686. package/build/lib/file-router/file-router.js.map +0 -1
  687. package/build/lib/file-router/index.d.ts +0 -2
  688. package/build/lib/file-router/index.d.ts.map +0 -1
  689. package/build/lib/file-router/index.js +0 -2
  690. package/build/lib/file-router/index.js.map +0 -1
  691. package/build/lib/grafaid/grafaid.d.ts.map +0 -1
  692. package/build/lib/grafaid/grafaid.js.map +0 -1
  693. package/build/lib/grafaid/index.d.ts +0 -2
  694. package/build/lib/grafaid/index.d.ts.map +0 -1
  695. package/build/lib/grafaid/index.js +0 -2
  696. package/build/lib/grafaid/index.js.map +0 -1
  697. package/build/lib/grafaid-old/index.d.ts.map +0 -1
  698. package/build/lib/grafaid-old/index.js.map +0 -1
  699. package/build/lib/graphql-change/graphql-change.d.ts.map +0 -1
  700. package/build/lib/graphql-change/graphql-change.js.map +0 -1
  701. package/build/lib/graphql-change/index.d.ts +0 -2
  702. package/build/lib/graphql-change/index.d.ts.map +0 -1
  703. package/build/lib/graphql-change/index.js +0 -2
  704. package/build/lib/graphql-change/index.js.map +0 -1
  705. package/build/lib/graphql-changeset/graphql-changeset.d.ts +0 -9
  706. package/build/lib/graphql-changeset/graphql-changeset.d.ts.map +0 -1
  707. package/build/lib/graphql-changeset/graphql-changeset.js +0 -2
  708. package/build/lib/graphql-changeset/graphql-changeset.js.map +0 -1
  709. package/build/lib/graphql-changeset/index.d.ts +0 -2
  710. package/build/lib/graphql-changeset/index.d.ts.map +0 -1
  711. package/build/lib/graphql-changeset/index.js +0 -2
  712. package/build/lib/graphql-changeset/index.js.map +0 -1
  713. package/build/lib/graphql-schema-loader/index.d.ts.map +0 -1
  714. package/build/lib/graphql-schema-loader/index.js.map +0 -1
  715. package/build/lib/hono-aid/index.d.ts.map +0 -1
  716. package/build/lib/hono-aid/index.js.map +0 -1
  717. package/build/lib/react-router-aid/index.d.ts +0 -2
  718. package/build/lib/react-router-aid/index.d.ts.map +0 -1
  719. package/build/lib/react-router-aid/index.js +0 -2
  720. package/build/lib/react-router-aid/index.js.map +0 -1
  721. package/build/lib/react-router-aid/react-router-aid.d.ts.map +0 -1
  722. package/build/lib/react-router-aid/react-router-aid.js.map +0 -1
  723. package/build/lib/react-router-loader/react-router-loader.d.ts.map +0 -1
  724. package/build/lib/react-router-loader/react-router-loader.js.map +0 -1
  725. package/build/lib/stack-processor/index.d.ts.map +0 -1
  726. package/build/lib/stack-processor/index.js.map +0 -1
  727. package/build/lib/superjson-codec/exports.d.ts.map +0 -1
  728. package/build/lib/superjson-codec/exports.js.map +0 -1
  729. package/build/lib/superjson-codec/index.d.ts +0 -2
  730. package/build/lib/superjson-codec/index.d.ts.map +0 -1
  731. package/build/lib/superjson-codec/index.js +0 -2
  732. package/build/lib/superjson-codec/index.js.map +0 -1
  733. package/build/lib/vite-plugin-config/vite-plugin-config.d.ts.map +0 -1
  734. package/build/lib/vite-plugin-config/vite-plugin-config.js.map +0 -1
  735. package/build/lib/vite-plugin-json/index.d.ts.map +0 -1
  736. package/build/lib/vite-plugin-json/index.js.map +0 -1
  737. package/build/lib/vite-plugin-mdx/index.d.ts.map +0 -1
  738. package/build/lib/vite-plugin-mdx/index.js.map +0 -1
  739. package/build/lib/vite-plugin-reactive-data/index.d.ts.map +0 -1
  740. package/build/lib/vite-plugin-reactive-data/index.js.map +0 -1
  741. package/build/lib/vite-plugins/index.d.ts +0 -5
  742. package/build/lib/vite-plugins/index.d.ts.map +0 -1
  743. package/build/lib/vite-plugins/index.js +0 -5
  744. package/build/lib/vite-plugins/index.js.map +0 -1
  745. package/build/lib/vite-plugins/vite-plugins.d.ts +0 -2
  746. package/build/lib/vite-plugins/vite-plugins.d.ts.map +0 -1
  747. package/build/lib/vite-plugins/vite-plugins.js +0 -2
  748. package/build/lib/vite-plugins/vite-plugins.js.map +0 -1
  749. package/build/lib/vite-virtual/index.d.ts +0 -2
  750. package/build/lib/vite-virtual/index.d.ts.map +0 -1
  751. package/build/lib/vite-virtual/index.js +0 -2
  752. package/build/lib/vite-virtual/index.js.map +0 -1
  753. package/build/lib/vite-virtual/vite-virtual.d.ts.map +0 -1
  754. package/build/lib/vite-virtual/vite-virtual.js.map +0 -1
  755. package/build/template/components/VersionSelector.d.ts +0 -8
  756. package/build/template/components/VersionSelector.d.ts.map +0 -1
  757. package/build/template/components/VersionSelector.js +0 -22
  758. package/build/template/components/VersionSelector.js.map +0 -1
  759. package/src/lib/errors/index.ts +0 -1
  760. package/src/lib/file-router/index.ts +0 -1
  761. package/src/lib/grafaid/index.ts +0 -1
  762. package/src/lib/graphql-change/index.ts +0 -1
  763. package/src/lib/graphql-changeset/graphql-changeset.ts +0 -9
  764. package/src/lib/graphql-changeset/index.ts +0 -1
  765. package/src/lib/react-router-aid/index.ts +0 -1
  766. package/src/lib/superjson-codec/index.ts +0 -1
  767. package/src/lib/vite-plugins/index.ts +0 -4
  768. package/src/lib/vite-virtual/index.ts +0 -1
  769. package/src/template/components/VersionSelector.tsx +0 -42
  770. /package/src/lib/apple-touch-icon/{index.ts → $.ts} +0 -0
  771. /package/src/lib/errors/{errors.ts → $$.ts} +0 -0
  772. /package/src/lib/extensible-data/{index.ts → $.ts} +0 -0
  773. /package/src/lib/favicon/{index.ts → $.ts} +0 -0
  774. /package/src/lib/file-router/{file-router.ts → $$.ts} +0 -0
  775. /package/src/lib/grafaid/{grafaid.ts → $$.ts} +0 -0
  776. /package/src/lib/grafaid-old/{index.ts → $.ts} +0 -0
  777. /package/src/lib/graphql-schema-loader/{index.ts → $.ts} +0 -0
  778. /package/src/lib/hono-aid/{index.ts → $.ts} +0 -0
  779. /package/src/lib/react-router-aid/{react-router-aid.ts → $$.ts} +0 -0
  780. /package/src/lib/react-router-loader/{react-router-loader.ts → $$.ts} +0 -0
  781. /package/src/lib/stack-processor/{index.ts → $.ts} +0 -0
  782. /package/src/lib/superjson-codec/{exports.ts → $$.ts} +0 -0
  783. /package/src/lib/vite-plugin-config/{vite-plugin-config.ts → $$.ts} +0 -0
  784. /package/src/lib/vite-plugin-json/{index.ts → $.ts} +0 -0
  785. /package/src/lib/vite-plugin-mdx/{index.ts → $.ts} +0 -0
  786. /package/src/lib/vite-plugin-reactive-data/{index.ts → $.ts} +0 -0
  787. /package/src/lib/vite-plugins/{vite-plugins.ts → $$.ts} +0 -0
  788. /package/src/lib/vite-virtual/{vite-virtual.ts → $$.ts} +0 -0
@@ -0,0 +1,168 @@
1
+ import { Grafaid } from '#lib/grafaid';
2
+ import { GraphQLPath } from '#lib/graphql-path/$';
3
+ import { isInputObjectType, isInterfaceType, isNamedType, isObjectType } from 'graphql';
4
+ import { createNamedTypeLifecycle } from './NamedTypeLifecycle.js';
5
+ /**
6
+ * Populate fields for a type that has fields (Object, Interface, or InputObject types)
7
+ */
8
+ const populateTypeFields = (typeLifecycle, graphqlType, date, changeSet, schema) => {
9
+ if (isObjectType(graphqlType) || isInterfaceType(graphqlType) || isInputObjectType(graphqlType)) {
10
+ const fields = graphqlType.getFields();
11
+ const typeWithFields = typeLifecycle;
12
+ if (typeWithFields.fields) {
13
+ for (const [fieldName] of Object.entries(fields)) {
14
+ const fieldAddedEvent = {
15
+ type: 'added',
16
+ date,
17
+ changeSet,
18
+ schema,
19
+ };
20
+ typeWithFields.fields[fieldName] = {
21
+ name: fieldName,
22
+ events: [fieldAddedEvent],
23
+ };
24
+ }
25
+ }
26
+ }
27
+ };
28
+ /**
29
+ * Handle field changes (add/remove) for both regular fields and input fields
30
+ */
31
+ const handleFieldChange = (data, change, changeSet, isInputField) => {
32
+ const addType = isInputField ? 'INPUT_FIELD_ADDED' : 'FIELD_ADDED';
33
+ const removeType = isInputField ? 'INPUT_FIELD_REMOVED' : 'FIELD_REMOVED';
34
+ if (change.type === addType) {
35
+ const { typeName, fieldName } = GraphQLPath.Definition.parseFieldPath(change.path);
36
+ if (!typeName || !fieldName)
37
+ return;
38
+ const addedEvent = {
39
+ type: 'added',
40
+ date: changeSet.date,
41
+ changeSet: changeSet,
42
+ schema: changeSet.after,
43
+ };
44
+ // Ensure type exists
45
+ if (!data[typeName]) {
46
+ const graphqlType = changeSet.after.data.getType(typeName);
47
+ if (!graphqlType || !isNamedType(graphqlType)) {
48
+ throw new Error(`Type ${typeName} not found in schema`);
49
+ }
50
+ const kind = Grafaid.Schema.typeKindFromClass(graphqlType);
51
+ const typeEvent = {
52
+ type: 'added',
53
+ date: new Date('1970-01-01'), // Unknown when type was added
54
+ changeSet: null,
55
+ schema: { version: null, data: null },
56
+ };
57
+ data[typeName] = createNamedTypeLifecycle(typeName, kind, typeEvent);
58
+ }
59
+ const typeLifecycle = data[typeName];
60
+ if ('fields' in typeLifecycle) {
61
+ typeLifecycle.fields[fieldName] = {
62
+ name: fieldName,
63
+ events: [addedEvent],
64
+ };
65
+ }
66
+ }
67
+ else if (change.type === removeType) {
68
+ const { typeName, fieldName } = GraphQLPath.Definition.parseFieldPath(change.path);
69
+ if (!typeName || !fieldName)
70
+ return;
71
+ const removedEvent = {
72
+ type: 'removed',
73
+ date: changeSet.date,
74
+ changeSet: changeSet,
75
+ schema: changeSet.after,
76
+ };
77
+ const typeLifecycle = data[typeName];
78
+ if (typeLifecycle && 'fields' in typeLifecycle && typeLifecycle.fields[fieldName]) {
79
+ typeLifecycle.fields[fieldName].events = [
80
+ removedEvent,
81
+ ...typeLifecycle.fields[fieldName].events,
82
+ ];
83
+ }
84
+ }
85
+ // TODO: Handle FIELD_TYPE_CHANGED / INPUT_FIELD_TYPE_CHANGED
86
+ };
87
+ /**
88
+ * Create lifecycle entries for all types in an initial schema (treat as "create events")
89
+ */
90
+ export const createInitialTypeLifecycles = (data, changeSet) => {
91
+ const typeMap = changeSet.after.data.getTypeMap();
92
+ for (const [typeName, graphqlType] of Object.entries(typeMap)) {
93
+ // Skip built-in types that start with __
94
+ if (typeName.startsWith('__'))
95
+ continue;
96
+ if (!isNamedType(graphqlType))
97
+ continue;
98
+ const addedEvent = {
99
+ type: 'added',
100
+ date: changeSet.date,
101
+ changeSet: changeSet,
102
+ schema: changeSet.after,
103
+ };
104
+ const kind = Grafaid.Schema.typeKindFromClass(graphqlType);
105
+ const typeLifecycle = createNamedTypeLifecycle(typeName, kind, addedEvent);
106
+ data[typeName] = typeLifecycle;
107
+ // Populate fields for types that have them
108
+ populateTypeFields(typeLifecycle, graphqlType, changeSet.date, changeSet, changeSet.after);
109
+ }
110
+ };
111
+ /**
112
+ * Handler for type operations (TYPE_ADDED, TYPE_REMOVED, TYPE_KIND_CHANGED)
113
+ */
114
+ export const TypeOperation = (data, change, changeSet) => {
115
+ if (change.type === 'TYPE_ADDED') {
116
+ const typeName = change.path || change.message || 'Unknown';
117
+ if (!typeName)
118
+ return;
119
+ const addedEvent = {
120
+ type: 'added',
121
+ date: changeSet.date,
122
+ changeSet: changeSet,
123
+ schema: changeSet.after,
124
+ };
125
+ // Get actual type from schema to determine kind
126
+ const graphqlType = changeSet.after.data.getType(typeName);
127
+ if (!graphqlType || !isNamedType(graphqlType)) {
128
+ throw new Error(`Type ${typeName} not found in schema`);
129
+ }
130
+ const kind = Grafaid.Schema.typeKindFromClass(graphqlType);
131
+ const typeLifecycle = createNamedTypeLifecycle(typeName, kind, addedEvent);
132
+ data[typeName] = typeLifecycle;
133
+ // Populate fields for types that have them
134
+ populateTypeFields(typeLifecycle, graphqlType, changeSet.date, changeSet, changeSet.after);
135
+ }
136
+ else if (change.type === 'TYPE_REMOVED') {
137
+ const typeName = change.path || change.message || 'Unknown';
138
+ if (!typeName)
139
+ return;
140
+ const removedEvent = {
141
+ type: 'removed',
142
+ date: changeSet.date,
143
+ changeSet: changeSet,
144
+ schema: changeSet.after,
145
+ };
146
+ // Add removal event to existing type
147
+ if (data[typeName]) {
148
+ data[typeName].events = [removedEvent, ...data[typeName].events];
149
+ }
150
+ }
151
+ else if (change.type === 'TYPE_KIND_CHANGED') {
152
+ // TODO: Handle type kind changes
153
+ // This would update the kind property of an existing type
154
+ }
155
+ };
156
+ /**
157
+ * Handler for field operations (FIELD_ADDED, FIELD_REMOVED, FIELD_TYPE_CHANGED)
158
+ */
159
+ export const FieldOperation = (data, change, changeSet) => {
160
+ handleFieldChange(data, change, changeSet, false);
161
+ };
162
+ /**
163
+ * Handler for input field operations (INPUT_FIELD_ADDED, INPUT_FIELD_REMOVED, INPUT_FIELD_TYPE_CHANGED)
164
+ */
165
+ export const InputFieldOperation = (data, change, changeSet) => {
166
+ handleFieldChange(data, change, changeSet, true);
167
+ };
168
+ //# sourceMappingURL=handlers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handlers.js","sourceRoot":"","sources":["../../../src/lib/schema-lifecycle/handlers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AAGtC,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAEjD,OAAO,EAAyB,iBAAiB,EAAE,eAAe,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAG9G,OAAO,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAA;AAElE;;GAEG;AACH,MAAM,kBAAkB,GAAG,CACzB,aAAiC,EACjC,WAA6B,EAC7B,IAAU,EACV,SAA4C,EAC5C,MAA0C,EAC1C,EAAE;IACF,IAAI,YAAY,CAAC,WAAW,CAAC,IAAI,eAAe,CAAC,WAAW,CAAC,IAAI,iBAAiB,CAAC,WAAW,CAAC,EAAE,CAAC;QA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AAI,IAAI,MAAM,CAAC,OAAO,IAAI,SAAS,CAAA;QAC3D,IAAI,CAAC,QAAQ;YAAE,OAAM;QAErB,MAAM,YAAY,GAAiB;YACjC,IAAI,EAAE,SAAS;YACf,IAAI,EAAE,SAAS,CAAC,IAAI;YACpB,SAAS,EAAE,SAAS;YACpB,MAAM,EAAE,SAAS,CAAC,KAAK;SACxB,CAAA;QAED,qCAAqC;QACrC,IAAI,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC;YACnB,IAAI,CAAC,QAAQ,CAAC,CAAC,MAAM,GAAG,CAAC,YAAY,EAAE,GAAG,IAAI,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAuB,CAAA;QACxF,CAAC;IACH,CAAC;SAAM,IAAI,MAAM,CAAC,IAAI,KAAK,mBAAmB,EAAE,CAAC;QAC/C,iCAAiC;QACjC,0DAA0D;IAC5D,CAAC;AACH,CAAC,CAAA;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,CAC5B,IAAwC,EACxC,MAA0C,EAC1C,SAAuD,EACvD,EAAE;IACF,iBAAiB,CAAC,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,KAAK,CAAC,CAAA;AACnD,CAAC,CAAA;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG,CACjC,IAAwC,EACxC,MAA+C,EAC/C,SAAuD,EACvD,EAAE;IACF,iBAAiB,CAAC,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,IAAI,CAAC,CAAA;AAClD,CAAC,CAAA"}
@@ -0,0 +1,53 @@
1
+ import { GraphQLPath } from '#lib/graphql-path';
2
+ import type { FieldLifecycle, InputFieldLifecycle } from './FieldLifecycle.js';
3
+ import type { NamedTypeLifecycle } from './NamedTypeLifecycle.js';
4
+ import type { SchemaLifecycle } from './SchemaLifecycle.js';
5
+ /**
6
+ * Get lifecycle data for a specific type
7
+ */
8
+ export declare const getTypeLifecycle: (lifecycle: SchemaLifecycle, typeName: string) => NamedTypeLifecycle | null;
9
+ /**
10
+ * Get lifecycle data for a specific field
11
+ */
12
+ export declare const getFieldLifecycle: (lifecycle: SchemaLifecycle, path: GraphQLPath.Definition.FieldDefinitionPath) => FieldLifecycle | InputFieldLifecycle | null;
13
+ /**
14
+ * Check if a type is currently available (not removed)
15
+ */
16
+ export declare const isTypeCurrentlyAvailable: (lifecycle: SchemaLifecycle, typeName: string) => boolean;
17
+ /**
18
+ * Check if a field is currently available (not removed)
19
+ */
20
+ export declare const isFieldCurrentlyAvailable: (lifecycle: SchemaLifecycle, path: GraphQLPath.Definition.FieldDefinitionPath) => boolean;
21
+ /**
22
+ * Get the date when a type was first added
23
+ */
24
+ export declare const getTypeAddedDate: (lifecycle: SchemaLifecycle, typeName: string) => Date | null;
25
+ /**
26
+ * Get the date when a type was most recently removed (if any)
27
+ */
28
+ export declare const getTypeRemovedDate: (lifecycle: SchemaLifecycle, typeName: string) => Date | null;
29
+ /**
30
+ * Get the date when a field was first added
31
+ */
32
+ export declare const getFieldAddedDate: (lifecycle: SchemaLifecycle, path: GraphQLPath.Definition.FieldDefinitionPath) => Date | null;
33
+ /**
34
+ * Get the date when a field was most recently removed (if any)
35
+ */
36
+ export declare const getFieldRemovedDate: (lifecycle: SchemaLifecycle, path: GraphQLPath.Definition.FieldDefinitionPath) => Date | null;
37
+ /**
38
+ * Get all types that were added on a specific date
39
+ */
40
+ export declare const getTypesAddedOnDate: (lifecycle: SchemaLifecycle, date: Date) => string[];
41
+ /**
42
+ * Get all types that were removed on a specific date
43
+ */
44
+ export declare const getTypesRemovedOnDate: (lifecycle: SchemaLifecycle, date: Date) => string[];
45
+ /**
46
+ * Get a human-readable description of a type's lifecycle status
47
+ */
48
+ export declare const getTypeLifecycleDescription: (lifecycle: SchemaLifecycle, typeName: string) => string;
49
+ /**
50
+ * Get a human-readable description of a field's lifecycle status
51
+ */
52
+ export declare const getFieldLifecycleDescription: (lifecycle: SchemaLifecycle, path: GraphQLPath.Definition.FieldDefinitionPath) => string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WAAW,eAAe,EAC1B,MAAM,WAAW,CAAC,UAAU,CAAC,mBAAmB,KAC/C,IAAI,GAAG,IAUT,CAAA;AAED;;GAEG;AACH,eAAO,MAAM,mBAAmB,GAC9B,WAAW,eAAe,EAC1B,MAAM,IAAI,KACT,MAAM,EAcR,CAAA;AAED;;GAEG;AACH,eAAO,MAAM,qBAAqB,GAChC,WAAW,eAAe,EAC1B,MAAM,IAAI,KACT,MAAM,EAcR,CAAA;AAED;;GAEG;AACH,eAAO,MAAM,2BAA2B,GACtC,WAAW,eAAe,EAC1B,UAAU,MAAM,KACf,MAeF,CAAA;AAED;;GAEG;AACH,eAAO,MAAM,4BAA4B,GACvC,WAAW,eAAe,EAC1B,MAAM,WAAW,CAAC,UAAU,CAAC,mBAAmB,KAC/C,MAkBF,CAAA"}
@@ -0,0 +1,160 @@
1
+ import { GraphQLPath } from '#lib/graphql-path';
2
+ /**
3
+ * Get lifecycle data for a specific type
4
+ */
5
+ export const getTypeLifecycle = (lifecycle, typeName) => {
6
+ return lifecycle.data[typeName] || null;
7
+ };
8
+ /**
9
+ * Get lifecycle data for a specific field
10
+ */
11
+ export const getFieldLifecycle = (lifecycle, path) => {
12
+ const typeName = GraphQLPath.Definition.getType(path);
13
+ const fieldName = GraphQLPath.Definition.getField(path);
14
+ const typeLifecycle = getTypeLifecycle(lifecycle, typeName);
15
+ if (!typeLifecycle)
16
+ return null;
17
+ if ('fields' in typeLifecycle) {
18
+ return typeLifecycle.fields[fieldName] || null;
19
+ }
20
+ return null;
21
+ };
22
+ /**
23
+ * Check if a type is currently available (not removed)
24
+ */
25
+ export const isTypeCurrentlyAvailable = (lifecycle, typeName) => {
26
+ const typeLifecycle = getTypeLifecycle(lifecycle, typeName);
27
+ if (!typeLifecycle)
28
+ return false;
29
+ const mostRecentEvent = typeLifecycle.events[0];
30
+ return mostRecentEvent.type === 'added';
31
+ };
32
+ /**
33
+ * Check if a field is currently available (not removed)
34
+ */
35
+ export const isFieldCurrentlyAvailable = (lifecycle, path) => {
36
+ const fieldLifecycle = getFieldLifecycle(lifecycle, path);
37
+ if (!fieldLifecycle)
38
+ return false;
39
+ const mostRecentEvent = fieldLifecycle.events[0];
40
+ return mostRecentEvent.type === 'added';
41
+ };
42
+ /**
43
+ * Get the date when a type was first added
44
+ */
45
+ export const getTypeAddedDate = (lifecycle, typeName) => {
46
+ const typeLifecycle = getTypeLifecycle(lifecycle, typeName);
47
+ if (!typeLifecycle)
48
+ return null;
49
+ // Find the first (oldest) added event
50
+ const addedEvents = typeLifecycle.events.filter((event) => event.type === 'added');
51
+ if (addedEvents.length === 0)
52
+ return null;
53
+ // Events are in reverse chronological order, so last item is oldest
54
+ return addedEvents[addedEvents.length - 1]?.date || null;
55
+ };
56
+ /**
57
+ * Get the date when a type was most recently removed (if any)
58
+ */
59
+ export const getTypeRemovedDate = (lifecycle, typeName) => {
60
+ const typeLifecycle = getTypeLifecycle(lifecycle, typeName);
61
+ if (!typeLifecycle)
62
+ return null;
63
+ // Find the most recent removed event
64
+ const removedEvent = typeLifecycle.events.find((event) => event.type === 'removed');
65
+ return removedEvent?.date || null;
66
+ };
67
+ /**
68
+ * Get the date when a field was first added
69
+ */
70
+ export const getFieldAddedDate = (lifecycle, path) => {
71
+ const fieldLifecycle = getFieldLifecycle(lifecycle, path);
72
+ if (!fieldLifecycle)
73
+ return null;
74
+ // Find the first (oldest) added event
75
+ const addedEvents = fieldLifecycle.events.filter((event) => event.type === 'added');
76
+ if (addedEvents.length === 0)
77
+ return null;
78
+ // Events are in reverse chronological order, so last item is oldest
79
+ return addedEvents[addedEvents.length - 1]?.date || null;
80
+ };
81
+ /**
82
+ * Get the date when a field was most recently removed (if any)
83
+ */
84
+ export const getFieldRemovedDate = (lifecycle, path) => {
85
+ const fieldLifecycle = getFieldLifecycle(lifecycle, path);
86
+ if (!fieldLifecycle)
87
+ return null;
88
+ // Find the most recent removed event
89
+ const removedEvent = fieldLifecycle.events.find((event) => event.type === 'removed');
90
+ return removedEvent?.date || null;
91
+ };
92
+ /**
93
+ * Get all types that were added on a specific date
94
+ */
95
+ export const getTypesAddedOnDate = (lifecycle, date) => {
96
+ const result = [];
97
+ for (const [typeName, typeLifecycle] of Object.entries(lifecycle.data)) {
98
+ const addedOnDate = typeLifecycle.events.some(event => event.type === 'added' && event.date.getTime() === date.getTime());
99
+ if (addedOnDate) {
100
+ result.push(typeName);
101
+ }
102
+ }
103
+ return result;
104
+ };
105
+ /**
106
+ * Get all types that were removed on a specific date
107
+ */
108
+ export const getTypesRemovedOnDate = (lifecycle, date) => {
109
+ const result = [];
110
+ for (const [typeName, typeLifecycle] of Object.entries(lifecycle.data)) {
111
+ const removedOnDate = typeLifecycle.events.some(event => event.type === 'removed' && event.date.getTime() === date.getTime());
112
+ if (removedOnDate) {
113
+ result.push(typeName);
114
+ }
115
+ }
116
+ return result;
117
+ };
118
+ /**
119
+ * Get a human-readable description of a type's lifecycle status
120
+ */
121
+ export const getTypeLifecycleDescription = (lifecycle, typeName) => {
122
+ const typeLifecycle = getTypeLifecycle(lifecycle, typeName);
123
+ if (!typeLifecycle)
124
+ return `Type "${typeName}" not found`;
125
+ const isAvailable = isTypeCurrentlyAvailable(lifecycle, typeName);
126
+ const addedDate = getTypeAddedDate(lifecycle, typeName);
127
+ const removedDate = getTypeRemovedDate(lifecycle, typeName);
128
+ if (isAvailable) {
129
+ return `Available since ${addedDate?.toISOString().split('T')[0] || 'unknown'}`;
130
+ }
131
+ else if (removedDate) {
132
+ return `Removed on ${removedDate.toISOString().split('T')[0]}`;
133
+ }
134
+ else {
135
+ return 'Status unknown';
136
+ }
137
+ };
138
+ /**
139
+ * Get a human-readable description of a field's lifecycle status
140
+ */
141
+ export const getFieldLifecycleDescription = (lifecycle, path) => {
142
+ const typeName = GraphQLPath.Definition.getType(path);
143
+ const fieldName = GraphQLPath.Definition.getField(path);
144
+ const fieldLifecycle = getFieldLifecycle(lifecycle, path);
145
+ if (!fieldLifecycle)
146
+ return `Field "${typeName}.${fieldName}" not found`;
147
+ const isAvailable = isFieldCurrentlyAvailable(lifecycle, path);
148
+ const addedDate = getFieldAddedDate(lifecycle, path);
149
+ const removedDate = getFieldRemovedDate(lifecycle, path);
150
+ if (isAvailable) {
151
+ return `Available since ${addedDate?.toISOString().split('T')[0] || 'unknown'}`;
152
+ }
153
+ else if (removedDate) {
154
+ return `Removed on ${removedDate.toISOString().split('T')[0]}`;
155
+ }
156
+ else {
157
+ return 'Status unknown';
158
+ }
159
+ };
160
+ //# sourceMappingURL=utils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../src/lib/schema-lifecycle/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAM/C;;GAEG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAC9B,SAA0B,EAC1B,QAAgB,EACW,EAAE;IAC7B,OAAO,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,IAAI,CAAA;AACzC,CAAC,CAAA;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAC/B,SAA0B,EAC1B,IAAgD,EACH,EAAE;IAC/C,MAAM,QAAQ,GAAG,WAAW,CAAC,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,CAAA;IACrD,MAAM,SAAS,GAAG,WAAW,CAAC,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAA;IAEvD,MAAM,aAAa,GAAG,gBAAgB,CAAC,SAAS,EAAE,QAAQ,CAAC,CAAA;IAC3D,IAAI,CAAC,aAAa;QAAE,OAAO,IAAI,CAAA;IAE/B,IAAI,QAAQ,IAAI,aAAa,EAAE,CAAC;QAC9B,OAAO,aAAa,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,IAAI,CAAA;IAChD,CAAC;IAED,OAAO,IAAI,CAAA;AACb,CAAC,CAAA;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAG,CACtC,SAA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MAAM,WAAW,GAAG,yBAAyB,CAAC,SAAS,EAAE,IAAI,CAAC,CAAA;IAC9D,MAAM,SAAS,GAAG,iBAAiB,CAAC,SAAS,EAAE,IAAI,CAAC,CAAA;IACpD,MAAM,WAAW,GAAG,mBAAmB,CAAC,SAAS,EAAE,IAAI,CAAC,CAAA;IAExD,IAAI,WAAW,EAAE,CAAC;QAChB,OAAO,mBAAmB,SAAS,EAAE,WAAW,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,SAAS,EAAE,CAAA;IACjF,CAAC;SAAM,IAAI,WAAW,EAAE,CAAC;QACvB,OAAO,cAAc,WAAW,CAAC,WAAW,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,EAAE,CAAA;IAChE,CAAC;SAAM,CAAC;QACN,OAAO,gBAAgB,CAAA;IACzB,CAAC;AACH,CAAC,CAAA"}
@@ -1,2 +1,2 @@
1
1
  export * as StackProcessor from './stack-processor.js';
2
- //# sourceMappingURL=index.js.map
2
+ //# sourceMappingURL=$.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"$.d.ts","sourceRoot":"","sources":["../../../src/lib/stack-processor/$.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,cAAc,MAAM,sBAAsB,CAAA"}
@@ -1,2 +1,2 @@
1
1
  export * as StackProcessor from './stack-processor.js';
2
- //# sourceMappingURL=index.d.ts.map
2
+ //# sourceMappingURL=$.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"$.js","sourceRoot":"","sources":["../../../src/lib/stack-processor/$.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,cAAc,MAAM,sBAAsB,CAAA"}
@@ -1,3 +1,3 @@
1
1
  export * from './codec.js';
2
2
  export * from './codecs/graphql-schema.js';
3
- //# sourceMappingURL=exports.js.map
3
+ //# sourceMappingURL=$$.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"$$.d.ts","sourceRoot":"","sources":["../../../src/lib/superjson-codec/$$.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,4BAA4B,CAAA"}
@@ -1,3 +1,3 @@
1
1
  export * from './codec.js';
2
2
  export * from './codecs/graphql-schema.js';
3
- //# sourceMappingURL=exports.d.ts.map
3
+ //# sourceMappingURL=$$.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"$$.js","sourceRoot":"","sources":["../../../src/lib/superjson-codec/$$.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,4BAA4B,CAAA"}
@@ -0,0 +1,2 @@
1
+ export * as SuperjsonCodecs from './$$.js';
2
+ //# sourceMappingURL=$.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"$.d.ts","sourceRoot":"","sources":["../../../src/lib/superjson-codec/$.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,eAAe,MAAM,SAAS,CAAA"}
@@ -0,0 +1,2 @@
1
+ export * as SuperjsonCodecs from './$$.js';
2
+ //# sourceMappingURL=$.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"$.js","sourceRoot":"","sources":["../../../src/lib/superjson-codec/$.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,eAAe,MAAM,SAAS,CAAA"}
@@ -1,3 +1,3 @@
1
- import { Grafaid } from '#lib/grafaid/index';
1
+ import { Grafaid } from '#lib/grafaid';
2
2
  export declare const GraphQLSchema: import("../codec.js").Codec<Grafaid.Schema.Schema, string>;
3
3
  //# sourceMappingURL=graphql-schema.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"graphql-schema.d.ts","sourceRoot":"","sources":["../../../../src/lib/superjson-codec/codecs/graphql-schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAA;AAG5C,eAAO,MAAM,aAAa,4DAoBxB,CAAA"}
1
+ {"version":3,"file":"graphql-schema.d.ts","sourceRoot":"","sources":["../../../../src/lib/superjson-codec/codecs/graphql-schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AAGtC,eAAO,MAAM,aAAa,4DAoBxB,CAAA"}
@@ -1,4 +1,4 @@
1
- import { Grafaid } from '#lib/grafaid/index';
1
+ import { Grafaid } from '#lib/grafaid';
2
2
  import { create } from '../codec.js';
3
3
  export const GraphQLSchema = create({
4
4
  name: `GraphQLSchema`,
@@ -1 +1 @@
1
- {"version":3,"file":"graphql-schema.js","sourceRoot":"","sources":["../../../../src/lib/superjson-codec/codecs/graphql-schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAA;AAC5C,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AAEpC,MAAM,CAAC,MAAM,aAAa,GAAG,MAAM,CAAC;IAClC,IAAI,EAAE,eAAe;IACrB,WAAW,EAAE;QACX,YAAY,EAAE,CAAC,KAAc,EAAE,EAAE,CAAC,KAAK,YAAY,OAAO,CAAC,MAAM,CAAC,MAAM;QACxE,SAAS,EAAE,KAAK,CAAC,EAAE;YACjB,MAAM,GAAG,GAAG,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,CAAA;YAEvC,IAAI,GAAG,KAAK,EAAE,EAAE,CAAC;gBACf,MAAM,OAAO,GAAG,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,CAAA;gBACxD,OAAO,OAAO,CAAA;YAChB,CAAC;YAED,MAAM,GAAG,GAAG,OAAO,CAAC,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAA;YACzC,MAAM,OAAO,GAAG,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,CAAA;YACnC,OAAO,OAAO,CAAA;QAChB,CAAC;QACD,WAAW,EAAE,OAAO,CAAC,EAAE;YACrB,OAAO,OAAO,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAA;QACpD,CAAC;KACF;CACF,CAAC,CAAA"}
1
+ {"version":3,"file":"graphql-schema.js","sourceRoot":"","sources":["../../../../src/lib/superjson-codec/codecs/graphql-schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AACtC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AAEpC,MAAM,CAAC,MAAM,aAAa,GAAG,MAAM,CAAC;IAClC,IAAI,EAAE,eAAe;IACrB,WAAW,EAAE;QACX,YAAY,EAAE,CAAC,KAAc,EAAE,EAAE,CAAC,KAAK,YAAY,OAAO,CAAC,MAAM,CAAC,MAAM;QACxE,SAAS,EAAE,KAAK,CAAC,EAAE;YACjB,MAAM,GAAG,GAAG,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,CAAA;YAEvC,IAAI,GAAG,KAAK,EAAE,EAAE,CAAC;gBACf,MAAM,OAAO,GAAG,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,CAAA;gBACxD,OAAO,OAAO,CAAA;YAChB,CAAC;YAED,MAAM,GAAG,GAAG,OAAO,CAAC,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAA;YACzC,MAAM,OAAO,GAAG,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,CAAA;YACnC,OAAO,OAAO,CAAA;QAChB,CAAC;QACD,WAAW,EAAE,OAAO,CAAC,EAAE;YACrB,OAAO,OAAO,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAA;QACpD,CAAC;KACF;CACF,CAAC,CAAA"}
@@ -0,0 +1,2 @@
1
+ export * from './theme.js';
2
+ //# sourceMappingURL=$$.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"$$.d.ts","sourceRoot":"","sources":["../../../src/lib/theme/$$.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA"}
@@ -0,0 +1,2 @@
1
+ export * from './theme.js';
2
+ //# sourceMappingURL=$$.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"$$.js","sourceRoot":"","sources":["../../../src/lib/theme/$$.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA"}
@@ -1,2 +1,2 @@
1
- export * as Theme from './theme.js';
1
+ export * as Theme from './$$.js';
2
2
  //# sourceMappingURL=$.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"$.d.ts","sourceRoot":"","sources":["../../../src/lib/theme/$.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,YAAY,CAAA"}
1
+ {"version":3,"file":"$.d.ts","sourceRoot":"","sources":["../../../src/lib/theme/$.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,SAAS,CAAA"}
@@ -1,3 +1,3 @@
1
1
  // Namespace export
2
- export * as Theme from './theme.js';
2
+ export * as Theme from './$$.js';
3
3
  //# sourceMappingURL=$.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"$.js","sourceRoot":"","sources":["../../../src/lib/theme/$.ts"],"names":[],"mappings":"AAAA,mBAAmB;AACnB,OAAO,KAAK,KAAK,MAAM,YAAY,CAAA"}
1
+ {"version":3,"file":"$.js","sourceRoot":"","sources":["../../../src/lib/theme/$.ts"],"names":[],"mappings":"AAAA,mBAAmB;AACnB,OAAO,KAAK,KAAK,MAAM,SAAS,CAAA"}
@@ -1,3 +1,3 @@
1
1
  import type { Vite } from '#dep/vite/index';
2
2
  export declare const ViteConfig: (config: Vite.UserConfig) => Vite.Plugin;
3
- //# sourceMappingURL=vite-plugin-config.d.ts.map
3
+ //# sourceMappingURL=$$.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"$$.d.ts","sourceRoot":"","sources":["../../../src/lib/vite-plugin-config/$$.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAA;AAE3C,eAAO,MAAM,UAAU,GAAI,QAAQ,IAAI,CAAC,UAAU,KAAG,IAAI,CAAC,MAQzD,CAAA"}
@@ -7,4 +7,4 @@ export const ViteConfig = (config) => {
7
7
  },
8
8
  };
9
9
  };
10
- //# sourceMappingURL=vite-plugin-config.js.map
10
+ //# sourceMappingURL=$$.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"$$.js","sourceRoot":"","sources":["../../../src/lib/vite-plugin-config/$$.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,MAAuB,EAAe,EAAE;IACjE,OAAO;QACL,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,KAAK;QACd,MAAM;YACJ,OAAO,MAAM,CAAA;QACf,CAAC;KACF,CAAA;AACH,CAAC,CAAA"}
@@ -0,0 +1,2 @@
1
+ export * as VitePluginConfig from './$$.js';
2
+ //# sourceMappingURL=$.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"$.d.ts","sourceRoot":"","sources":["../../../src/lib/vite-plugin-config/$.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,gBAAgB,MAAM,SAAS,CAAA"}
@@ -0,0 +1,2 @@
1
+ export * as VitePluginConfig from './$$.js';
2
+ //# sourceMappingURL=$.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"$.js","sourceRoot":"","sources":["../../../src/lib/vite-plugin-config/$.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,gBAAgB,MAAM,SAAS,CAAA"}
@@ -1,2 +1,2 @@
1
1
  export * as VitePluginJson from './vite-plugin-json.js';
2
- //# sourceMappingURL=index.js.map
2
+ //# sourceMappingURL=$.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"$.d.ts","sourceRoot":"","sources":["../../../src/lib/vite-plugin-json/$.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,cAAc,MAAM,uBAAuB,CAAA"}
@@ -1,2 +1,2 @@
1
1
  export * as VitePluginJson from './vite-plugin-json.js';
2
- //# sourceMappingURL=index.d.ts.map
2
+ //# sourceMappingURL=$.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"$.js","sourceRoot":"","sources":["../../../src/lib/vite-plugin-json/$.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,cAAc,MAAM,uBAAuB,CAAA"}
@@ -1,2 +1,2 @@
1
1
  export * from './vite-plugin-mdx.js';
2
- //# sourceMappingURL=index.js.map
2
+ //# sourceMappingURL=$.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"$.d.ts","sourceRoot":"","sources":["../../../src/lib/vite-plugin-mdx/$.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAA"}
@@ -1,2 +1,2 @@
1
1
  export * from './vite-plugin-mdx.js';
2
- //# sourceMappingURL=index.d.ts.map
2
+ //# sourceMappingURL=$.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"$.js","sourceRoot":"","sources":["../../../src/lib/vite-plugin-mdx/$.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAA"}
@@ -1,2 +1,2 @@
1
1
  export * as VitePluginReactiveData from './vite-plugin-reactive-data.js';
2
- //# sourceMappingURL=index.js.map
2
+ //# sourceMappingURL=$.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"$.d.ts","sourceRoot":"","sources":["../../../src/lib/vite-plugin-reactive-data/$.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,sBAAsB,MAAM,gCAAgC,CAAA"}
@@ -1,2 +1,2 @@
1
1
  export * as VitePluginReactiveData from './vite-plugin-reactive-data.js';
2
- //# sourceMappingURL=index.d.ts.map
2
+ //# sourceMappingURL=$.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"$.js","sourceRoot":"","sources":["../../../src/lib/vite-plugin-reactive-data/$.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,sBAAsB,MAAM,gCAAgC,CAAA"}
@@ -1,4 +1,4 @@
1
- import type { VitePluginJson } from '#lib/vite-plugin-json/index';
1
+ import type { VitePluginJson } from '#lib/vite-plugin-json';
2
2
  import { type ComputedRef } from '@vue/reactivity';
3
3
  import type { Plugin } from 'vite';
4
4
  interface ReactiveDataOptions {