@knowledge-medium/agent-cli 0.1.0

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 (978) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +161 -0
  3. package/dist/cli.d.ts +3 -0
  4. package/dist/cli.d.ts.map +1 -0
  5. package/dist/cli.js +908 -0
  6. package/dist/cli.js.map +1 -0
  7. package/dist/config.d.ts +29 -0
  8. package/dist/config.d.ts.map +1 -0
  9. package/dist/config.js +91 -0
  10. package/dist/config.js.map +1 -0
  11. package/dist/kernel-types/assets.d.ts +14 -0
  12. package/dist/kernel-types/packages/agent-cli/src/protocol.d.ts +470 -0
  13. package/dist/kernel-types/packages/agent-cli/src/protocol.d.ts.map +1 -0
  14. package/dist/kernel-types/src/App.d.ts +3 -0
  15. package/dist/kernel-types/src/App.d.ts.map +1 -0
  16. package/dist/kernel-types/src/components/BlockComponent.d.ts +21 -0
  17. package/dist/kernel-types/src/components/BlockComponent.d.ts.map +1 -0
  18. package/dist/kernel-types/src/components/BlockEditor.d.ts +18 -0
  19. package/dist/kernel-types/src/components/BlockEditor.d.ts.map +1 -0
  20. package/dist/kernel-types/src/components/BlockLoadingPlaceholder.d.ts +15 -0
  21. package/dist/kernel-types/src/components/BlockLoadingPlaceholder.d.ts.map +1 -0
  22. package/dist/kernel-types/src/components/BlockProperties.d.ts +12 -0
  23. package/dist/kernel-types/src/components/BlockProperties.d.ts.map +1 -0
  24. package/dist/kernel-types/src/components/Header.d.ts +2 -0
  25. package/dist/kernel-types/src/components/Header.d.ts.map +1 -0
  26. package/dist/kernel-types/src/components/LazyBlockComponent.d.ts +29 -0
  27. package/dist/kernel-types/src/components/LazyBlockComponent.d.ts.map +1 -0
  28. package/dist/kernel-types/src/components/Login.d.ts +12 -0
  29. package/dist/kernel-types/src/components/Login.d.ts.map +1 -0
  30. package/dist/kernel-types/src/components/propertyEditors/RefPropertyEditor.d.ts +13 -0
  31. package/dist/kernel-types/src/components/propertyEditors/RefPropertyEditor.d.ts.map +1 -0
  32. package/dist/kernel-types/src/components/propertyEditors/RefTargetTypePicker.d.ts +7 -0
  33. package/dist/kernel-types/src/components/propertyEditors/RefTargetTypePicker.d.ts.map +1 -0
  34. package/dist/kernel-types/src/components/propertyEditors/TypesPropertyEditor.d.ts +3 -0
  35. package/dist/kernel-types/src/components/propertyEditors/TypesPropertyEditor.d.ts.map +1 -0
  36. package/dist/kernel-types/src/components/propertyEditors/defaults.d.ts +84 -0
  37. package/dist/kernel-types/src/components/propertyEditors/defaults.d.ts.map +1 -0
  38. package/dist/kernel-types/src/components/propertyEditors/kernelValuePresets.d.ts +7 -0
  39. package/dist/kernel-types/src/components/propertyEditors/kernelValuePresets.d.ts.map +1 -0
  40. package/dist/kernel-types/src/components/propertyEditors/refPropertyEditorOverride.d.ts +9 -0
  41. package/dist/kernel-types/src/components/propertyEditors/refPropertyEditorOverride.d.ts.map +1 -0
  42. package/dist/kernel-types/src/components/propertyEditors/typesPropertyUi.d.ts +7 -0
  43. package/dist/kernel-types/src/components/propertyEditors/typesPropertyUi.d.ts.map +1 -0
  44. package/dist/kernel-types/src/components/propertyPanel/AddPropertyForm.d.ts +16 -0
  45. package/dist/kernel-types/src/components/propertyPanel/AddPropertyForm.d.ts.map +1 -0
  46. package/dist/kernel-types/src/components/propertyPanel/PropertyPicker.d.ts +54 -0
  47. package/dist/kernel-types/src/components/propertyPanel/PropertyPicker.d.ts.map +1 -0
  48. package/dist/kernel-types/src/components/propertyPanel/PropertyRow.d.ts +21 -0
  49. package/dist/kernel-types/src/components/propertyPanel/PropertyRow.d.ts.map +1 -0
  50. package/dist/kernel-types/src/components/propertyPanel/Rows.d.ts +8 -0
  51. package/dist/kernel-types/src/components/propertyPanel/Rows.d.ts.map +1 -0
  52. package/dist/kernel-types/src/components/propertyPanel/actions.d.ts +26 -0
  53. package/dist/kernel-types/src/components/propertyPanel/actions.d.ts.map +1 -0
  54. package/dist/kernel-types/src/components/propertyPanel/layout.d.ts +7 -0
  55. package/dist/kernel-types/src/components/propertyPanel/layout.d.ts.map +1 -0
  56. package/dist/kernel-types/src/components/propertyPanel/model.d.ts +58 -0
  57. package/dist/kernel-types/src/components/propertyPanel/model.d.ts.map +1 -0
  58. package/dist/kernel-types/src/components/propertyPanel/shapeUi.d.ts +32 -0
  59. package/dist/kernel-types/src/components/propertyPanel/shapeUi.d.ts.map +1 -0
  60. package/dist/kernel-types/src/components/propertyPanel/shapes.d.ts +6 -0
  61. package/dist/kernel-types/src/components/propertyPanel/shapes.d.ts.map +1 -0
  62. package/dist/kernel-types/src/components/propertyPanel/visibility.d.ts +10 -0
  63. package/dist/kernel-types/src/components/propertyPanel/visibility.d.ts.map +1 -0
  64. package/dist/kernel-types/src/components/propertyPanelSections.d.ts +20 -0
  65. package/dist/kernel-types/src/components/propertyPanelSections.d.ts.map +1 -0
  66. package/dist/kernel-types/src/components/references/BlockEmbed.d.ts +4 -0
  67. package/dist/kernel-types/src/components/references/BlockEmbed.d.ts.map +1 -0
  68. package/dist/kernel-types/src/components/references/BlockRef.d.ts +6 -0
  69. package/dist/kernel-types/src/components/references/BlockRef.d.ts.map +1 -0
  70. package/dist/kernel-types/src/components/references/cycleGuard.d.ts +6 -0
  71. package/dist/kernel-types/src/components/references/cycleGuard.d.ts.map +1 -0
  72. package/dist/kernel-types/src/components/references/cycleGuardContext.d.ts +2 -0
  73. package/dist/kernel-types/src/components/references/cycleGuardContext.d.ts.map +1 -0
  74. package/dist/kernel-types/src/components/references/useBlockRefAncestors.d.ts +2 -0
  75. package/dist/kernel-types/src/components/references/useBlockRefAncestors.d.ts.map +1 -0
  76. package/dist/kernel-types/src/components/renderer/BlockTypeBlockRenderer.d.ts +12 -0
  77. package/dist/kernel-types/src/components/renderer/BlockTypeBlockRenderer.d.ts.map +1 -0
  78. package/dist/kernel-types/src/components/renderer/CodeMirrorContentRenderer.d.ts +3 -0
  79. package/dist/kernel-types/src/components/renderer/CodeMirrorContentRenderer.d.ts.map +1 -0
  80. package/dist/kernel-types/src/components/renderer/CodeMirrorExtensionBlockRenderer.d.ts +3 -0
  81. package/dist/kernel-types/src/components/renderer/CodeMirrorExtensionBlockRenderer.d.ts.map +1 -0
  82. package/dist/kernel-types/src/components/renderer/DefaultBlockRenderer.d.ts +26 -0
  83. package/dist/kernel-types/src/components/renderer/DefaultBlockRenderer.d.ts.map +1 -0
  84. package/dist/kernel-types/src/components/renderer/LayoutRenderer.d.ts +7 -0
  85. package/dist/kernel-types/src/components/renderer/LayoutRenderer.d.ts.map +1 -0
  86. package/dist/kernel-types/src/components/renderer/MarkdownContentRenderer.d.ts +9 -0
  87. package/dist/kernel-types/src/components/renderer/MarkdownContentRenderer.d.ts.map +1 -0
  88. package/dist/kernel-types/src/components/renderer/MissingDataRenderer.d.ts +7 -0
  89. package/dist/kernel-types/src/components/renderer/MissingDataRenderer.d.ts.map +1 -0
  90. package/dist/kernel-types/src/components/renderer/PanelRenderer.d.ts +7 -0
  91. package/dist/kernel-types/src/components/renderer/PanelRenderer.d.ts.map +1 -0
  92. package/dist/kernel-types/src/components/renderer/PropertySchemaBlockRenderer.d.ts +12 -0
  93. package/dist/kernel-types/src/components/renderer/PropertySchemaBlockRenderer.d.ts.map +1 -0
  94. package/dist/kernel-types/src/components/renderer/TopLevelRenderer.d.ts +7 -0
  95. package/dist/kernel-types/src/components/renderer/TopLevelRenderer.d.ts.map +1 -0
  96. package/dist/kernel-types/src/components/renderer/TypesPageBlockRenderer.d.ts +7 -0
  97. package/dist/kernel-types/src/components/renderer/TypesPageBlockRenderer.d.ts.map +1 -0
  98. package/dist/kernel-types/src/components/ui/anchored-floating.d.ts +25 -0
  99. package/dist/kernel-types/src/components/ui/anchored-floating.d.ts.map +1 -0
  100. package/dist/kernel-types/src/components/ui/button.d.ts +15 -0
  101. package/dist/kernel-types/src/components/ui/button.d.ts.map +1 -0
  102. package/dist/kernel-types/src/components/ui/card.d.ts +27 -0
  103. package/dist/kernel-types/src/components/ui/card.d.ts.map +1 -0
  104. package/dist/kernel-types/src/components/ui/checkbox.d.ts +8 -0
  105. package/dist/kernel-types/src/components/ui/checkbox.d.ts.map +1 -0
  106. package/dist/kernel-types/src/components/ui/collapsible.d.ts +6 -0
  107. package/dist/kernel-types/src/components/ui/collapsible.d.ts.map +1 -0
  108. package/dist/kernel-types/src/components/ui/command.d.ts +45 -0
  109. package/dist/kernel-types/src/components/ui/command.d.ts.map +1 -0
  110. package/dist/kernel-types/src/components/ui/context-menu.d.ts +52 -0
  111. package/dist/kernel-types/src/components/ui/context-menu.d.ts.map +1 -0
  112. package/dist/kernel-types/src/components/ui/dialog.d.ts +32 -0
  113. package/dist/kernel-types/src/components/ui/dialog.d.ts.map +1 -0
  114. package/dist/kernel-types/src/components/ui/dropdown-menu.d.ts +52 -0
  115. package/dist/kernel-types/src/components/ui/dropdown-menu.d.ts.map +1 -0
  116. package/dist/kernel-types/src/components/ui/floating-listbox.d.ts +20 -0
  117. package/dist/kernel-types/src/components/ui/floating-listbox.d.ts.map +1 -0
  118. package/dist/kernel-types/src/components/ui/index.d.ts +6 -0
  119. package/dist/kernel-types/src/components/ui/index.d.ts.map +1 -0
  120. package/dist/kernel-types/src/components/ui/input.d.ts +8 -0
  121. package/dist/kernel-types/src/components/ui/input.d.ts.map +1 -0
  122. package/dist/kernel-types/src/components/ui/kbd.d.ts +4 -0
  123. package/dist/kernel-types/src/components/ui/kbd.d.ts.map +1 -0
  124. package/dist/kernel-types/src/components/ui/label.d.ts +11 -0
  125. package/dist/kernel-types/src/components/ui/label.d.ts.map +1 -0
  126. package/dist/kernel-types/src/components/ui/textarea.d.ts +8 -0
  127. package/dist/kernel-types/src/components/ui/textarea.d.ts.map +1 -0
  128. package/dist/kernel-types/src/components/util/LazyViewportMount.d.ts +22 -0
  129. package/dist/kernel-types/src/components/util/LazyViewportMount.d.ts.map +1 -0
  130. package/dist/kernel-types/src/components/util/error.d.ts +4 -0
  131. package/dist/kernel-types/src/components/util/error.d.ts.map +1 -0
  132. package/dist/kernel-types/src/components/util/suspense.d.ts +2 -0
  133. package/dist/kernel-types/src/components/util/suspense.d.ts.map +1 -0
  134. package/dist/kernel-types/src/components/workspace/CreateWorkspaceDialog.d.ts +9 -0
  135. package/dist/kernel-types/src/components/workspace/CreateWorkspaceDialog.d.ts.map +1 -0
  136. package/dist/kernel-types/src/components/workspace/PendingInvitations.d.ts +2 -0
  137. package/dist/kernel-types/src/components/workspace/PendingInvitations.d.ts.map +1 -0
  138. package/dist/kernel-types/src/components/workspace/WorkspaceSettingsDialog.d.ts +10 -0
  139. package/dist/kernel-types/src/components/workspace/WorkspaceSettingsDialog.d.ts.map +1 -0
  140. package/dist/kernel-types/src/components/workspace/WorkspaceSwitcher.d.ts +4 -0
  141. package/dist/kernel-types/src/components/workspace/WorkspaceSwitcher.d.ts.map +1 -0
  142. package/dist/kernel-types/src/context/block.d.ts +13 -0
  143. package/dist/kernel-types/src/context/block.d.ts.map +1 -0
  144. package/dist/kernel-types/src/context/repo.d.ts +7 -0
  145. package/dist/kernel-types/src/context/repo.d.ts.map +1 -0
  146. package/dist/kernel-types/src/data/api/blockData.d.ts +73 -0
  147. package/dist/kernel-types/src/data/api/blockData.d.ts.map +1 -0
  148. package/dist/kernel-types/src/data/api/blockType.d.ts +19 -0
  149. package/dist/kernel-types/src/data/api/blockType.d.ts.map +1 -0
  150. package/dist/kernel-types/src/data/api/changeScope.d.ts +62 -0
  151. package/dist/kernel-types/src/data/api/changeScope.d.ts.map +1 -0
  152. package/dist/kernel-types/src/data/api/codecs.d.ts +72 -0
  153. package/dist/kernel-types/src/data/api/codecs.d.ts.map +1 -0
  154. package/dist/kernel-types/src/data/api/errors.d.ts +108 -0
  155. package/dist/kernel-types/src/data/api/errors.d.ts.map +1 -0
  156. package/dist/kernel-types/src/data/api/events.d.ts +19 -0
  157. package/dist/kernel-types/src/data/api/events.d.ts.map +1 -0
  158. package/dist/kernel-types/src/data/api/handle.d.ts +17 -0
  159. package/dist/kernel-types/src/data/api/handle.d.ts.map +1 -0
  160. package/dist/kernel-types/src/data/api/index.d.ts +20 -0
  161. package/dist/kernel-types/src/data/api/index.d.ts.map +1 -0
  162. package/dist/kernel-types/src/data/api/mutator.d.ts +42 -0
  163. package/dist/kernel-types/src/data/api/mutator.d.ts.map +1 -0
  164. package/dist/kernel-types/src/data/api/processor.d.ts +115 -0
  165. package/dist/kernel-types/src/data/api/processor.d.ts.map +1 -0
  166. package/dist/kernel-types/src/data/api/propertySchema.d.ts +90 -0
  167. package/dist/kernel-types/src/data/api/propertySchema.d.ts.map +1 -0
  168. package/dist/kernel-types/src/data/api/query.d.ts +81 -0
  169. package/dist/kernel-types/src/data/api/query.d.ts.map +1 -0
  170. package/dist/kernel-types/src/data/api/sameTxProcessor.d.ts +112 -0
  171. package/dist/kernel-types/src/data/api/sameTxProcessor.d.ts.map +1 -0
  172. package/dist/kernel-types/src/data/api/schema.d.ts +8 -0
  173. package/dist/kernel-types/src/data/api/schema.d.ts.map +1 -0
  174. package/dist/kernel-types/src/data/api/tx.d.ts +142 -0
  175. package/dist/kernel-types/src/data/api/tx.d.ts.map +1 -0
  176. package/dist/kernel-types/src/data/api/typedBlockQuery.d.ts +115 -0
  177. package/dist/kernel-types/src/data/api/typedBlockQuery.d.ts.map +1 -0
  178. package/dist/kernel-types/src/data/api/user.d.ts +9 -0
  179. package/dist/kernel-types/src/data/api/user.d.ts.map +1 -0
  180. package/dist/kernel-types/src/data/api/valuePresets.d.ts +56 -0
  181. package/dist/kernel-types/src/data/api/valuePresets.d.ts.map +1 -0
  182. package/dist/kernel-types/src/data/block.d.ts +140 -0
  183. package/dist/kernel-types/src/data/block.d.ts.map +1 -0
  184. package/dist/kernel-types/src/data/blockCache.d.ts +114 -0
  185. package/dist/kernel-types/src/data/blockCache.d.ts.map +1 -0
  186. package/dist/kernel-types/src/data/blockSchema.d.ts +102 -0
  187. package/dist/kernel-types/src/data/blockSchema.d.ts.map +1 -0
  188. package/dist/kernel-types/src/data/blockTypes.d.ts +21 -0
  189. package/dist/kernel-types/src/data/blockTypes.d.ts.map +1 -0
  190. package/dist/kernel-types/src/data/facets.d.ts +67 -0
  191. package/dist/kernel-types/src/data/facets.d.ts.map +1 -0
  192. package/dist/kernel-types/src/data/globalState.d.ts +72 -0
  193. package/dist/kernel-types/src/data/globalState.d.ts.map +1 -0
  194. package/dist/kernel-types/src/data/internals/clientSchema.d.ts +273 -0
  195. package/dist/kernel-types/src/data/internals/clientSchema.d.ts.map +1 -0
  196. package/dist/kernel-types/src/data/internals/commitPipeline.d.ts +127 -0
  197. package/dist/kernel-types/src/data/internals/commitPipeline.d.ts.map +1 -0
  198. package/dist/kernel-types/src/data/internals/coreProperties.d.ts +16 -0
  199. package/dist/kernel-types/src/data/internals/coreProperties.d.ts.map +1 -0
  200. package/dist/kernel-types/src/data/internals/handleStore.d.ts +366 -0
  201. package/dist/kernel-types/src/data/internals/handleStore.d.ts.map +1 -0
  202. package/dist/kernel-types/src/data/internals/kernelInvalidation.d.ts +77 -0
  203. package/dist/kernel-types/src/data/internals/kernelInvalidation.d.ts.map +1 -0
  204. package/dist/kernel-types/src/data/internals/kernelMutators.d.ts +174 -0
  205. package/dist/kernel-types/src/data/internals/kernelMutators.d.ts.map +1 -0
  206. package/dist/kernel-types/src/data/internals/kernelProcessors.d.ts +3 -0
  207. package/dist/kernel-types/src/data/internals/kernelProcessors.d.ts.map +1 -0
  208. package/dist/kernel-types/src/data/internals/kernelQueries.d.ts +225 -0
  209. package/dist/kernel-types/src/data/internals/kernelQueries.d.ts.map +1 -0
  210. package/dist/kernel-types/src/data/internals/mergeProperties.d.ts +21 -0
  211. package/dist/kernel-types/src/data/internals/mergeProperties.d.ts.map +1 -0
  212. package/dist/kernel-types/src/data/internals/normalizeReferencesProcessor.d.ts +28 -0
  213. package/dist/kernel-types/src/data/internals/normalizeReferencesProcessor.d.ts.map +1 -0
  214. package/dist/kernel-types/src/data/internals/processorRunner.d.ts +95 -0
  215. package/dist/kernel-types/src/data/internals/processorRunner.d.ts.map +1 -0
  216. package/dist/kernel-types/src/data/internals/rowEventsTail.d.ts +70 -0
  217. package/dist/kernel-types/src/data/internals/rowEventsTail.d.ts.map +1 -0
  218. package/dist/kernel-types/src/data/internals/timingMetrics.d.ts +115 -0
  219. package/dist/kernel-types/src/data/internals/timingMetrics.d.ts.map +1 -0
  220. package/dist/kernel-types/src/data/internals/treeQueries.d.ts +87 -0
  221. package/dist/kernel-types/src/data/internals/treeQueries.d.ts.map +1 -0
  222. package/dist/kernel-types/src/data/internals/txEngine.d.ts +155 -0
  223. package/dist/kernel-types/src/data/internals/txEngine.d.ts.map +1 -0
  224. package/dist/kernel-types/src/data/internals/txSnapshots.d.ts +32 -0
  225. package/dist/kernel-types/src/data/internals/txSnapshots.d.ts.map +1 -0
  226. package/dist/kernel-types/src/data/internals/typedBlockQuery.d.ts +37 -0
  227. package/dist/kernel-types/src/data/internals/typedBlockQuery.d.ts.map +1 -0
  228. package/dist/kernel-types/src/data/internals/undoManager.d.ts +88 -0
  229. package/dist/kernel-types/src/data/internals/undoManager.d.ts.map +1 -0
  230. package/dist/kernel-types/src/data/invalidation.d.ts +47 -0
  231. package/dist/kernel-types/src/data/invalidation.d.ts.map +1 -0
  232. package/dist/kernel-types/src/data/kernelDataExtension.d.ts +32 -0
  233. package/dist/kernel-types/src/data/kernelDataExtension.d.ts.map +1 -0
  234. package/dist/kernel-types/src/data/kernelPage.d.ts +36 -0
  235. package/dist/kernel-types/src/data/kernelPage.d.ts.map +1 -0
  236. package/dist/kernel-types/src/data/localSchema.d.ts +5 -0
  237. package/dist/kernel-types/src/data/localSchema.d.ts.map +1 -0
  238. package/dist/kernel-types/src/data/metricsConsoleHook.d.ts +22 -0
  239. package/dist/kernel-types/src/data/metricsConsoleHook.d.ts.map +1 -0
  240. package/dist/kernel-types/src/data/orderKey.d.ts +38 -0
  241. package/dist/kernel-types/src/data/orderKey.d.ts.map +1 -0
  242. package/dist/kernel-types/src/data/pluginStateExtensions.d.ts +27 -0
  243. package/dist/kernel-types/src/data/pluginStateExtensions.d.ts.map +1 -0
  244. package/dist/kernel-types/src/data/properties.d.ts +137 -0
  245. package/dist/kernel-types/src/data/properties.d.ts.map +1 -0
  246. package/dist/kernel-types/src/data/propertiesPage.d.ts +8 -0
  247. package/dist/kernel-types/src/data/propertiesPage.d.ts.map +1 -0
  248. package/dist/kernel-types/src/data/repo.d.ts +745 -0
  249. package/dist/kernel-types/src/data/repo.d.ts.map +1 -0
  250. package/dist/kernel-types/src/data/repoProvider.d.ts +35 -0
  251. package/dist/kernel-types/src/data/repoProvider.d.ts.map +1 -0
  252. package/dist/kernel-types/src/data/stateBlocks.d.ts +57 -0
  253. package/dist/kernel-types/src/data/stateBlocks.d.ts.map +1 -0
  254. package/dist/kernel-types/src/data/targets.d.ts +130 -0
  255. package/dist/kernel-types/src/data/targets.d.ts.map +1 -0
  256. package/dist/kernel-types/src/data/typeExtraction.d.ts +136 -0
  257. package/dist/kernel-types/src/data/typeExtraction.d.ts.map +1 -0
  258. package/dist/kernel-types/src/data/typesPage.d.ts +8 -0
  259. package/dist/kernel-types/src/data/typesPage.d.ts.map +1 -0
  260. package/dist/kernel-types/src/data/userPrefs.d.ts +7 -0
  261. package/dist/kernel-types/src/data/userPrefs.d.ts.map +1 -0
  262. package/dist/kernel-types/src/data/userSchemasService.d.ts +73 -0
  263. package/dist/kernel-types/src/data/userSchemasService.d.ts.map +1 -0
  264. package/dist/kernel-types/src/data/userTypesService.d.ts +70 -0
  265. package/dist/kernel-types/src/data/userTypesService.d.ts.map +1 -0
  266. package/dist/kernel-types/src/data/workspaceSchema.d.ts +49 -0
  267. package/dist/kernel-types/src/data/workspaceSchema.d.ts.map +1 -0
  268. package/dist/kernel-types/src/data/workspaces.d.ts +39 -0
  269. package/dist/kernel-types/src/data/workspaces.d.ts.map +1 -0
  270. package/dist/kernel-types/src/extensions/AppRuntimeProvider.d.ts +6 -0
  271. package/dist/kernel-types/src/extensions/AppRuntimeProvider.d.ts.map +1 -0
  272. package/dist/kernel-types/src/extensions/BlockFocusShellDecorator.d.ts +4 -0
  273. package/dist/kernel-types/src/extensions/BlockFocusShellDecorator.d.ts.map +1 -0
  274. package/dist/kernel-types/src/extensions/ExtensionRenderBoundary.d.ts +6 -0
  275. package/dist/kernel-types/src/extensions/ExtensionRenderBoundary.d.ts.map +1 -0
  276. package/dist/kernel-types/src/extensions/api.d.ts +25 -0
  277. package/dist/kernel-types/src/extensions/api.d.ts.map +1 -0
  278. package/dist/kernel-types/src/extensions/blockInteraction.d.ts +147 -0
  279. package/dist/kernel-types/src/extensions/blockInteraction.d.ts.map +1 -0
  280. package/dist/kernel-types/src/extensions/compileExtensionModule.d.ts +39 -0
  281. package/dist/kernel-types/src/extensions/compileExtensionModule.d.ts.map +1 -0
  282. package/dist/kernel-types/src/extensions/core.d.ts +99 -0
  283. package/dist/kernel-types/src/extensions/core.d.ts.map +1 -0
  284. package/dist/kernel-types/src/extensions/defaultEditorInteractions.d.ts +5 -0
  285. package/dist/kernel-types/src/extensions/defaultEditorInteractions.d.ts.map +1 -0
  286. package/dist/kernel-types/src/extensions/defaultRenderers.d.ts +5 -0
  287. package/dist/kernel-types/src/extensions/defaultRenderers.d.ts.map +1 -0
  288. package/dist/kernel-types/src/extensions/dialogAppMount.d.ts +4 -0
  289. package/dist/kernel-types/src/extensions/dialogAppMount.d.ts.map +1 -0
  290. package/dist/kernel-types/src/extensions/discoverToggleTree.d.ts +34 -0
  291. package/dist/kernel-types/src/extensions/discoverToggleTree.d.ts.map +1 -0
  292. package/dist/kernel-types/src/extensions/dynamicExtensions.d.ts +59 -0
  293. package/dist/kernel-types/src/extensions/dynamicExtensions.d.ts.map +1 -0
  294. package/dist/kernel-types/src/extensions/editor.d.ts +11 -0
  295. package/dist/kernel-types/src/extensions/editor.d.ts.map +1 -0
  296. package/dist/kernel-types/src/extensions/editorAutocomplete.d.ts +11 -0
  297. package/dist/kernel-types/src/extensions/editorAutocomplete.d.ts.map +1 -0
  298. package/dist/kernel-types/src/extensions/exampleExtensions.d.ts +19 -0
  299. package/dist/kernel-types/src/extensions/exampleExtensions.d.ts.map +1 -0
  300. package/dist/kernel-types/src/extensions/extensionLoadErrors.d.ts +28 -0
  301. package/dist/kernel-types/src/extensions/extensionLoadErrors.d.ts.map +1 -0
  302. package/dist/kernel-types/src/extensions/extensionLookup.d.ts +25 -0
  303. package/dist/kernel-types/src/extensions/extensionLookup.d.ts.map +1 -0
  304. package/dist/kernel-types/src/extensions/facet.d.ts +84 -0
  305. package/dist/kernel-types/src/extensions/facet.d.ts.map +1 -0
  306. package/dist/kernel-types/src/extensions/overridesCache.d.ts +36 -0
  307. package/dist/kernel-types/src/extensions/overridesCache.d.ts.map +1 -0
  308. package/dist/kernel-types/src/extensions/pluginIds.d.ts +20 -0
  309. package/dist/kernel-types/src/extensions/pluginIds.d.ts.map +1 -0
  310. package/dist/kernel-types/src/extensions/resolveAppRuntime.d.ts +50 -0
  311. package/dist/kernel-types/src/extensions/resolveAppRuntime.d.ts.map +1 -0
  312. package/dist/kernel-types/src/extensions/runtimeActions.d.ts +4 -0
  313. package/dist/kernel-types/src/extensions/runtimeActions.d.ts.map +1 -0
  314. package/dist/kernel-types/src/extensions/runtimeContext.d.ts +4 -0
  315. package/dist/kernel-types/src/extensions/runtimeContext.d.ts.map +1 -0
  316. package/dist/kernel-types/src/extensions/runtimeEvents.d.ts +3 -0
  317. package/dist/kernel-types/src/extensions/runtimeEvents.d.ts.map +1 -0
  318. package/dist/kernel-types/src/extensions/staticAppExtensions.d.ts +6 -0
  319. package/dist/kernel-types/src/extensions/staticAppExtensions.d.ts.map +1 -0
  320. package/dist/kernel-types/src/extensions/staticDataExtensions.d.ts +6 -0
  321. package/dist/kernel-types/src/extensions/staticDataExtensions.d.ts.map +1 -0
  322. package/dist/kernel-types/src/extensions/toastAppMount.d.ts +4 -0
  323. package/dist/kernel-types/src/extensions/toastAppMount.d.ts.map +1 -0
  324. package/dist/kernel-types/src/extensions/togglable.d.ts +79 -0
  325. package/dist/kernel-types/src/extensions/togglable.d.ts.map +1 -0
  326. package/dist/kernel-types/src/extensions/useOverrides.d.ts +36 -0
  327. package/dist/kernel-types/src/extensions/useOverrides.d.ts.map +1 -0
  328. package/dist/kernel-types/src/extensions/useShortcutSurfaceActivations.d.ts +22 -0
  329. package/dist/kernel-types/src/extensions/useShortcutSurfaceActivations.d.ts.map +1 -0
  330. package/dist/kernel-types/src/extensions/variantFacet.d.ts +70 -0
  331. package/dist/kernel-types/src/extensions/variantFacet.d.ts.map +1 -0
  332. package/dist/kernel-types/src/hooks/block.d.ts +153 -0
  333. package/dist/kernel-types/src/hooks/block.d.ts.map +1 -0
  334. package/dist/kernel-types/src/hooks/propertySchemas.d.ts +6 -0
  335. package/dist/kernel-types/src/hooks/propertySchemas.d.ts.map +1 -0
  336. package/dist/kernel-types/src/hooks/useIsFocalRender.d.ts +24 -0
  337. package/dist/kernel-types/src/hooks/useIsFocalRender.d.ts.map +1 -0
  338. package/dist/kernel-types/src/hooks/usePendingInvitations.d.ts +8 -0
  339. package/dist/kernel-types/src/hooks/usePendingInvitations.d.ts.map +1 -0
  340. package/dist/kernel-types/src/hooks/useRendererRegistry.d.ts +5 -0
  341. package/dist/kernel-types/src/hooks/useRendererRegistry.d.ts.map +1 -0
  342. package/dist/kernel-types/src/hooks/useWorkspaces.d.ts +19 -0
  343. package/dist/kernel-types/src/hooks/useWorkspaces.d.ts.map +1 -0
  344. package/dist/kernel-types/src/initData.d.ts +26 -0
  345. package/dist/kernel-types/src/initData.d.ts.map +1 -0
  346. package/dist/kernel-types/src/lib/utils.d.ts +3 -0
  347. package/dist/kernel-types/src/lib/utils.d.ts.map +1 -0
  348. package/dist/kernel-types/src/main.d.ts +2 -0
  349. package/dist/kernel-types/src/main.d.ts.map +1 -0
  350. package/dist/kernel-types/src/markdown/MarkdownImage.d.ts +6 -0
  351. package/dist/kernel-types/src/markdown/MarkdownImage.d.ts.map +1 -0
  352. package/dist/kernel-types/src/markdown/defaultMarkdownExtension.d.ts +4 -0
  353. package/dist/kernel-types/src/markdown/defaultMarkdownExtension.d.ts.map +1 -0
  354. package/dist/kernel-types/src/markdown/extensions.d.ts +18 -0
  355. package/dist/kernel-types/src/markdown/extensions.d.ts.map +1 -0
  356. package/dist/kernel-types/src/minimal-editor.d.ts +2 -0
  357. package/dist/kernel-types/src/minimal-editor.d.ts.map +1 -0
  358. package/dist/kernel-types/src/plugins/account-header/AccountHeaderItem.d.ts +2 -0
  359. package/dist/kernel-types/src/plugins/account-header/AccountHeaderItem.d.ts.map +1 -0
  360. package/dist/kernel-types/src/plugins/account-header/index.d.ts +6 -0
  361. package/dist/kernel-types/src/plugins/account-header/index.d.ts.map +1 -0
  362. package/dist/kernel-types/src/plugins/agent-runtime/AgentTokensDialog.d.ts +11 -0
  363. package/dist/kernel-types/src/plugins/agent-runtime/AgentTokensDialog.d.ts.map +1 -0
  364. package/dist/kernel-types/src/plugins/agent-runtime/authoringCatalog.d.ts +78 -0
  365. package/dist/kernel-types/src/plugins/agent-runtime/authoringCatalog.d.ts.map +1 -0
  366. package/dist/kernel-types/src/plugins/agent-runtime/bridge.d.ts +5 -0
  367. package/dist/kernel-types/src/plugins/agent-runtime/bridge.d.ts.map +1 -0
  368. package/dist/kernel-types/src/plugins/agent-runtime/commands.d.ts +5 -0
  369. package/dist/kernel-types/src/plugins/agent-runtime/commands.d.ts.map +1 -0
  370. package/dist/kernel-types/src/plugins/agent-runtime/describeRuntime.d.ts +156 -0
  371. package/dist/kernel-types/src/plugins/agent-runtime/describeRuntime.d.ts.map +1 -0
  372. package/dist/kernel-types/src/plugins/agent-runtime/extensionLint.d.ts +37 -0
  373. package/dist/kernel-types/src/plugins/agent-runtime/extensionLint.d.ts.map +1 -0
  374. package/dist/kernel-types/src/plugins/agent-runtime/index.d.ts +11 -0
  375. package/dist/kernel-types/src/plugins/agent-runtime/index.d.ts.map +1 -0
  376. package/dist/kernel-types/src/plugins/agent-runtime/protocol.d.ts +144 -0
  377. package/dist/kernel-types/src/plugins/agent-runtime/protocol.d.ts.map +1 -0
  378. package/dist/kernel-types/src/plugins/agent-runtime/serialization.d.ts +11 -0
  379. package/dist/kernel-types/src/plugins/agent-runtime/serialization.d.ts.map +1 -0
  380. package/dist/kernel-types/src/plugins/agent-runtime/tokens.d.ts +39 -0
  381. package/dist/kernel-types/src/plugins/agent-runtime/tokens.d.ts.map +1 -0
  382. package/dist/kernel-types/src/plugins/alias/dataExtension.d.ts +3 -0
  383. package/dist/kernel-types/src/plugins/alias/dataExtension.d.ts.map +1 -0
  384. package/dist/kernel-types/src/plugins/alias/index.d.ts +16 -0
  385. package/dist/kernel-types/src/plugins/alias/index.d.ts.map +1 -0
  386. package/dist/kernel-types/src/plugins/alias/syncProcessor.d.ts +54 -0
  387. package/dist/kernel-types/src/plugins/alias/syncProcessor.d.ts.map +1 -0
  388. package/dist/kernel-types/src/plugins/app-intents/appIntents.d.ts +44 -0
  389. package/dist/kernel-types/src/plugins/app-intents/appIntents.d.ts.map +1 -0
  390. package/dist/kernel-types/src/plugins/app-intents/index.d.ts +24 -0
  391. package/dist/kernel-types/src/plugins/app-intents/index.d.ts.map +1 -0
  392. package/dist/kernel-types/src/plugins/backlinks/BacklinkEntry.d.ts +6 -0
  393. package/dist/kernel-types/src/plugins/backlinks/BacklinkEntry.d.ts.map +1 -0
  394. package/dist/kernel-types/src/plugins/backlinks/BacklinkFilters.d.ts +14 -0
  395. package/dist/kernel-types/src/plugins/backlinks/BacklinkFilters.d.ts.map +1 -0
  396. package/dist/kernel-types/src/plugins/backlinks/BacklinksFilterPropertyEditor.d.ts +4 -0
  397. package/dist/kernel-types/src/plugins/backlinks/BacklinksFilterPropertyEditor.d.ts.map +1 -0
  398. package/dist/kernel-types/src/plugins/backlinks/LinkedReferences.d.ts +3 -0
  399. package/dist/kernel-types/src/plugins/backlinks/LinkedReferences.d.ts.map +1 -0
  400. package/dist/kernel-types/src/plugins/backlinks/backlinkBreadcrumbShortcuts.d.ts +19 -0
  401. package/dist/kernel-types/src/plugins/backlinks/backlinkBreadcrumbShortcuts.d.ts.map +1 -0
  402. package/dist/kernel-types/src/plugins/backlinks/dailyNoteDefaults.d.ts +13 -0
  403. package/dist/kernel-types/src/plugins/backlinks/dailyNoteDefaults.d.ts.map +1 -0
  404. package/dist/kernel-types/src/plugins/backlinks/dataExtension.d.ts +3 -0
  405. package/dist/kernel-types/src/plugins/backlinks/dataExtension.d.ts.map +1 -0
  406. package/dist/kernel-types/src/plugins/backlinks/filterProperty.d.ts +13 -0
  407. package/dist/kernel-types/src/plugins/backlinks/filterProperty.d.ts.map +1 -0
  408. package/dist/kernel-types/src/plugins/backlinks/index.d.ts +3 -0
  409. package/dist/kernel-types/src/plugins/backlinks/index.d.ts.map +1 -0
  410. package/dist/kernel-types/src/plugins/backlinks/propertyEditorOverride.d.ts +2 -0
  411. package/dist/kernel-types/src/plugins/backlinks/propertyEditorOverride.d.ts.map +1 -0
  412. package/dist/kernel-types/src/plugins/backlinks/propertyFilter.d.ts +35 -0
  413. package/dist/kernel-types/src/plugins/backlinks/propertyFilter.d.ts.map +1 -0
  414. package/dist/kernel-types/src/plugins/backlinks/query.d.ts +38 -0
  415. package/dist/kernel-types/src/plugins/backlinks/query.d.ts.map +1 -0
  416. package/dist/kernel-types/src/plugins/backlinks/useBacklinks.d.ts +5 -0
  417. package/dist/kernel-types/src/plugins/backlinks/useBacklinks.d.ts.map +1 -0
  418. package/dist/kernel-types/src/plugins/backlinks/useStoredBacklinkFilter.d.ts +11 -0
  419. package/dist/kernel-types/src/plugins/backlinks/useStoredBacklinkFilter.d.ts.map +1 -0
  420. package/dist/kernel-types/src/plugins/backlinks-view/BacklinksEmptyState.d.ts +5 -0
  421. package/dist/kernel-types/src/plugins/backlinks-view/BacklinksEmptyState.d.ts.map +1 -0
  422. package/dist/kernel-types/src/plugins/backlinks-view/BacklinksViewSection.d.ts +30 -0
  423. package/dist/kernel-types/src/plugins/backlinks-view/BacklinksViewSection.d.ts.map +1 -0
  424. package/dist/kernel-types/src/plugins/backlinks-view/facet.d.ts +23 -0
  425. package/dist/kernel-types/src/plugins/backlinks-view/facet.d.ts.map +1 -0
  426. package/dist/kernel-types/src/plugins/backlinks-view/index.d.ts +3 -0
  427. package/dist/kernel-types/src/plugins/backlinks-view/index.d.ts.map +1 -0
  428. package/dist/kernel-types/src/plugins/backlinks-view/prop.d.ts +20 -0
  429. package/dist/kernel-types/src/plugins/backlinks-view/prop.d.ts.map +1 -0
  430. package/dist/kernel-types/src/plugins/block-tagging/AddTagDialog.d.ts +6 -0
  431. package/dist/kernel-types/src/plugins/block-tagging/AddTagDialog.d.ts.map +1 -0
  432. package/dist/kernel-types/src/plugins/block-tagging/BlockTagsConfigEditor.d.ts +3 -0
  433. package/dist/kernel-types/src/plugins/block-tagging/BlockTagsConfigEditor.d.ts.map +1 -0
  434. package/dist/kernel-types/src/plugins/block-tagging/addTagAction.d.ts +7 -0
  435. package/dist/kernel-types/src/plugins/block-tagging/addTagAction.d.ts.map +1 -0
  436. package/dist/kernel-types/src/plugins/block-tagging/appendTag.d.ts +22 -0
  437. package/dist/kernel-types/src/plugins/block-tagging/appendTag.d.ts.map +1 -0
  438. package/dist/kernel-types/src/plugins/block-tagging/config.d.ts +21 -0
  439. package/dist/kernel-types/src/plugins/block-tagging/config.d.ts.map +1 -0
  440. package/dist/kernel-types/src/plugins/block-tagging/dataExtension.d.ts +3 -0
  441. package/dist/kernel-types/src/plugins/block-tagging/dataExtension.d.ts.map +1 -0
  442. package/dist/kernel-types/src/plugins/block-tagging/index.d.ts +6 -0
  443. package/dist/kernel-types/src/plugins/block-tagging/index.d.ts.map +1 -0
  444. package/dist/kernel-types/src/plugins/block-tagging/propertyEditorOverride.d.ts +2 -0
  445. package/dist/kernel-types/src/plugins/block-tagging/propertyEditorOverride.d.ts.map +1 -0
  446. package/dist/kernel-types/src/plugins/breadcrumbs/BreadcrumbList.d.ts +16 -0
  447. package/dist/kernel-types/src/plugins/breadcrumbs/BreadcrumbList.d.ts.map +1 -0
  448. package/dist/kernel-types/src/plugins/breadcrumbs/BreadcrumbRenderer.d.ts +7 -0
  449. package/dist/kernel-types/src/plugins/breadcrumbs/BreadcrumbRenderer.d.ts.map +1 -0
  450. package/dist/kernel-types/src/plugins/breadcrumbs/Breadcrumbs.d.ts +5 -0
  451. package/dist/kernel-types/src/plugins/breadcrumbs/Breadcrumbs.d.ts.map +1 -0
  452. package/dist/kernel-types/src/plugins/breadcrumbs/breadcrumbPreview.d.ts +2 -0
  453. package/dist/kernel-types/src/plugins/breadcrumbs/breadcrumbPreview.d.ts.map +1 -0
  454. package/dist/kernel-types/src/plugins/breadcrumbs/index.d.ts +9 -0
  455. package/dist/kernel-types/src/plugins/breadcrumbs/index.d.ts.map +1 -0
  456. package/dist/kernel-types/src/plugins/command-palette/CommandPalette.d.ts +2 -0
  457. package/dist/kernel-types/src/plugins/command-palette/CommandPalette.d.ts.map +1 -0
  458. package/dist/kernel-types/src/plugins/command-palette/HeaderItem.d.ts +2 -0
  459. package/dist/kernel-types/src/plugins/command-palette/HeaderItem.d.ts.map +1 -0
  460. package/dist/kernel-types/src/plugins/command-palette/context.d.ts +7 -0
  461. package/dist/kernel-types/src/plugins/command-palette/context.d.ts.map +1 -0
  462. package/dist/kernel-types/src/plugins/command-palette/events.d.ts +2 -0
  463. package/dist/kernel-types/src/plugins/command-palette/events.d.ts.map +1 -0
  464. package/dist/kernel-types/src/plugins/command-palette/index.d.ts +24 -0
  465. package/dist/kernel-types/src/plugins/command-palette/index.d.ts.map +1 -0
  466. package/dist/kernel-types/src/plugins/command-palette/useCommandPaletteActions.d.ts +8 -0
  467. package/dist/kernel-types/src/plugins/command-palette/useCommandPaletteActions.d.ts.map +1 -0
  468. package/dist/kernel-types/src/plugins/daily-notes/CalendarGrid.d.ts +39 -0
  469. package/dist/kernel-types/src/plugins/daily-notes/CalendarGrid.d.ts.map +1 -0
  470. package/dist/kernel-types/src/plugins/daily-notes/DailyNotePicker.d.ts +2 -0
  471. package/dist/kernel-types/src/plugins/daily-notes/DailyNotePicker.d.ts.map +1 -0
  472. package/dist/kernel-types/src/plugins/daily-notes/DateKeyboardScrubController.d.ts +2 -0
  473. package/dist/kernel-types/src/plugins/daily-notes/DateKeyboardScrubController.d.ts.map +1 -0
  474. package/dist/kernel-types/src/plugins/daily-notes/DateScrubOverlay.d.ts +2 -0
  475. package/dist/kernel-types/src/plugins/daily-notes/DateScrubOverlay.d.ts.map +1 -0
  476. package/dist/kernel-types/src/plugins/daily-notes/HeaderItem.d.ts +2 -0
  477. package/dist/kernel-types/src/plugins/daily-notes/HeaderItem.d.ts.map +1 -0
  478. package/dist/kernel-types/src/plugins/daily-notes/ReschedulePicker.d.ts +2 -0
  479. package/dist/kernel-types/src/plugins/daily-notes/ReschedulePicker.d.ts.map +1 -0
  480. package/dist/kernel-types/src/plugins/daily-notes/SpreadDatesDialog.d.ts +9 -0
  481. package/dist/kernel-types/src/plugins/daily-notes/SpreadDatesDialog.d.ts.map +1 -0
  482. package/dist/kernel-types/src/plugins/daily-notes/actions.d.ts +59 -0
  483. package/dist/kernel-types/src/plugins/daily-notes/actions.d.ts.map +1 -0
  484. package/dist/kernel-types/src/plugins/daily-notes/blockDateAdapter.d.ts +45 -0
  485. package/dist/kernel-types/src/plugins/daily-notes/blockDateAdapter.d.ts.map +1 -0
  486. package/dist/kernel-types/src/plugins/daily-notes/calendar.d.ts +26 -0
  487. package/dist/kernel-types/src/plugins/daily-notes/calendar.d.ts.map +1 -0
  488. package/dist/kernel-types/src/plugins/daily-notes/dailyNotes.d.ts +67 -0
  489. package/dist/kernel-types/src/plugins/daily-notes/dailyNotes.d.ts.map +1 -0
  490. package/dist/kernel-types/src/plugins/daily-notes/dataExtension.d.ts +3 -0
  491. package/dist/kernel-types/src/plugins/daily-notes/dataExtension.d.ts.map +1 -0
  492. package/dist/kernel-types/src/plugins/daily-notes/dateScrubGesture.d.ts +32 -0
  493. package/dist/kernel-types/src/plugins/daily-notes/dateScrubGesture.d.ts.map +1 -0
  494. package/dist/kernel-types/src/plugins/daily-notes/events.d.ts +15 -0
  495. package/dist/kernel-types/src/plugins/daily-notes/events.d.ts.map +1 -0
  496. package/dist/kernel-types/src/plugins/daily-notes/index.d.ts +71 -0
  497. package/dist/kernel-types/src/plugins/daily-notes/index.d.ts.map +1 -0
  498. package/dist/kernel-types/src/plugins/daily-notes/landing.d.ts +21 -0
  499. package/dist/kernel-types/src/plugins/daily-notes/landing.d.ts.map +1 -0
  500. package/dist/kernel-types/src/plugins/daily-notes/localSchema.d.ts +4 -0
  501. package/dist/kernel-types/src/plugins/daily-notes/localSchema.d.ts.map +1 -0
  502. package/dist/kernel-types/src/plugins/daily-notes/referenceDateAdapter.d.ts +20 -0
  503. package/dist/kernel-types/src/plugins/daily-notes/referenceDateAdapter.d.ts.map +1 -0
  504. package/dist/kernel-types/src/plugins/daily-notes/rescheduleAction.d.ts +6 -0
  505. package/dist/kernel-types/src/plugins/daily-notes/rescheduleAction.d.ts.map +1 -0
  506. package/dist/kernel-types/src/plugins/daily-notes/rescheduleEvents.d.ts +25 -0
  507. package/dist/kernel-types/src/plugins/daily-notes/rescheduleEvents.d.ts.map +1 -0
  508. package/dist/kernel-types/src/plugins/daily-notes/schema.d.ts +11 -0
  509. package/dist/kernel-types/src/plugins/daily-notes/schema.d.ts.map +1 -0
  510. package/dist/kernel-types/src/plugins/daily-notes/spreadBlockDates.d.ts +37 -0
  511. package/dist/kernel-types/src/plugins/daily-notes/spreadBlockDates.d.ts.map +1 -0
  512. package/dist/kernel-types/src/plugins/daily-notes/spreadDatesAction.d.ts +7 -0
  513. package/dist/kernel-types/src/plugins/daily-notes/spreadDatesAction.d.ts.map +1 -0
  514. package/dist/kernel-types/src/plugins/daily-notes/wikilinkDateDecorator.d.ts +3 -0
  515. package/dist/kernel-types/src/plugins/daily-notes/wikilinkDateDecorator.d.ts.map +1 -0
  516. package/dist/kernel-types/src/plugins/extensions-settings/ExtensionsOverridesEditor.d.ts +19 -0
  517. package/dist/kernel-types/src/plugins/extensions-settings/ExtensionsOverridesEditor.d.ts.map +1 -0
  518. package/dist/kernel-types/src/plugins/extensions-settings/ExtensionsSettings.d.ts +28 -0
  519. package/dist/kernel-types/src/plugins/extensions-settings/ExtensionsSettings.d.ts.map +1 -0
  520. package/dist/kernel-types/src/plugins/extensions-settings/actions.d.ts +16 -0
  521. package/dist/kernel-types/src/plugins/extensions-settings/actions.d.ts.map +1 -0
  522. package/dist/kernel-types/src/plugins/extensions-settings/config.d.ts +19 -0
  523. package/dist/kernel-types/src/plugins/extensions-settings/config.d.ts.map +1 -0
  524. package/dist/kernel-types/src/plugins/extensions-settings/dataExtension.d.ts +3 -0
  525. package/dist/kernel-types/src/plugins/extensions-settings/dataExtension.d.ts.map +1 -0
  526. package/dist/kernel-types/src/plugins/extensions-settings/effect.d.ts +36 -0
  527. package/dist/kernel-types/src/plugins/extensions-settings/effect.d.ts.map +1 -0
  528. package/dist/kernel-types/src/plugins/extensions-settings/index.d.ts +13 -0
  529. package/dist/kernel-types/src/plugins/extensions-settings/index.d.ts.map +1 -0
  530. package/dist/kernel-types/src/plugins/extensions-settings/propertyEditorOverride.d.ts +3 -0
  531. package/dist/kernel-types/src/plugins/extensions-settings/propertyEditorOverride.d.ts.map +1 -0
  532. package/dist/kernel-types/src/plugins/extensions-settings/useToggleTree.d.ts +21 -0
  533. package/dist/kernel-types/src/plugins/extensions-settings/useToggleTree.d.ts.map +1 -0
  534. package/dist/kernel-types/src/plugins/extract-type/ExtractTypeDialog.d.ts +17 -0
  535. package/dist/kernel-types/src/plugins/extract-type/ExtractTypeDialog.d.ts.map +1 -0
  536. package/dist/kernel-types/src/plugins/extract-type/FindTypeInstancesDialog.d.ts +18 -0
  537. package/dist/kernel-types/src/plugins/extract-type/FindTypeInstancesDialog.d.ts.map +1 -0
  538. package/dist/kernel-types/src/plugins/extract-type/PropertyShapePicker.d.ts +78 -0
  539. package/dist/kernel-types/src/plugins/extract-type/PropertyShapePicker.d.ts.map +1 -0
  540. package/dist/kernel-types/src/plugins/extract-type/action.d.ts +19 -0
  541. package/dist/kernel-types/src/plugins/extract-type/action.d.ts.map +1 -0
  542. package/dist/kernel-types/src/plugins/extract-type/events.d.ts +16 -0
  543. package/dist/kernel-types/src/plugins/extract-type/events.d.ts.map +1 -0
  544. package/dist/kernel-types/src/plugins/extract-type/index.d.ts +22 -0
  545. package/dist/kernel-types/src/plugins/extract-type/index.d.ts.map +1 -0
  546. package/dist/kernel-types/src/plugins/find-replace/FindReplaceDialog.d.ts +2 -0
  547. package/dist/kernel-types/src/plugins/find-replace/FindReplaceDialog.d.ts.map +1 -0
  548. package/dist/kernel-types/src/plugins/find-replace/HeaderItem.d.ts +2 -0
  549. package/dist/kernel-types/src/plugins/find-replace/HeaderItem.d.ts.map +1 -0
  550. package/dist/kernel-types/src/plugins/find-replace/dataExtension.d.ts +25 -0
  551. package/dist/kernel-types/src/plugins/find-replace/dataExtension.d.ts.map +1 -0
  552. package/dist/kernel-types/src/plugins/find-replace/events.d.ts +2 -0
  553. package/dist/kernel-types/src/plugins/find-replace/events.d.ts.map +1 -0
  554. package/dist/kernel-types/src/plugins/find-replace/index.d.ts +13 -0
  555. package/dist/kernel-types/src/plugins/find-replace/index.d.ts.map +1 -0
  556. package/dist/kernel-types/src/plugins/find-replace/search.d.ts +15 -0
  557. package/dist/kernel-types/src/plugins/find-replace/search.d.ts.map +1 -0
  558. package/dist/kernel-types/src/plugins/find-replace/types.d.ts +33 -0
  559. package/dist/kernel-types/src/plugins/find-replace/types.d.ts.map +1 -0
  560. package/dist/kernel-types/src/plugins/geo/LocationPropertyEditor.d.ts +14 -0
  561. package/dist/kernel-types/src/plugins/geo/LocationPropertyEditor.d.ts.map +1 -0
  562. package/dist/kernel-types/src/plugins/geo/MapView.d.ts +29 -0
  563. package/dist/kernel-types/src/plugins/geo/MapView.d.ts.map +1 -0
  564. package/dist/kernel-types/src/plugins/geo/blockTypes.d.ts +15 -0
  565. package/dist/kernel-types/src/plugins/geo/blockTypes.d.ts.map +1 -0
  566. package/dist/kernel-types/src/plugins/geo/codeMirrorExtensions.d.ts +17 -0
  567. package/dist/kernel-types/src/plugins/geo/codeMirrorExtensions.d.ts.map +1 -0
  568. package/dist/kernel-types/src/plugins/geo/codecs.d.ts +16 -0
  569. package/dist/kernel-types/src/plugins/geo/codecs.d.ts.map +1 -0
  570. package/dist/kernel-types/src/plugins/geo/createOrFindPlace.d.ts +36 -0
  571. package/dist/kernel-types/src/plugins/geo/createOrFindPlace.d.ts.map +1 -0
  572. package/dist/kernel-types/src/plugins/geo/currentLocation.d.ts +34 -0
  573. package/dist/kernel-types/src/plugins/geo/currentLocation.d.ts.map +1 -0
  574. package/dist/kernel-types/src/plugins/geo/dataExtension.d.ts +7 -0
  575. package/dist/kernel-types/src/plugins/geo/dataExtension.d.ts.map +1 -0
  576. package/dist/kernel-types/src/plugins/geo/geoContentDecorator.d.ts +18 -0
  577. package/dist/kernel-types/src/plugins/geo/geoContentDecorator.d.ts.map +1 -0
  578. package/dist/kernel-types/src/plugins/geo/googlePlacesClient.d.ts +102 -0
  579. package/dist/kernel-types/src/plugins/geo/googlePlacesClient.d.ts.map +1 -0
  580. package/dist/kernel-types/src/plugins/geo/index.d.ts +11 -0
  581. package/dist/kernel-types/src/plugins/geo/index.d.ts.map +1 -0
  582. package/dist/kernel-types/src/plugins/geo/locationsPage.d.ts +11 -0
  583. package/dist/kernel-types/src/plugins/geo/locationsPage.d.ts.map +1 -0
  584. package/dist/kernel-types/src/plugins/geo/pickCurrentLocation.d.ts +23 -0
  585. package/dist/kernel-types/src/plugins/geo/pickCurrentLocation.d.ts.map +1 -0
  586. package/dist/kernel-types/src/plugins/geo/placeAutocomplete.d.ts +103 -0
  587. package/dist/kernel-types/src/plugins/geo/placeAutocomplete.d.ts.map +1 -0
  588. package/dist/kernel-types/src/plugins/geo/properties.d.ts +33 -0
  589. package/dist/kernel-types/src/plugins/geo/properties.d.ts.map +1 -0
  590. package/dist/kernel-types/src/plugins/geo/propertyEditorOverrides.d.ts +6 -0
  591. package/dist/kernel-types/src/plugins/geo/propertyEditorOverrides.d.ts.map +1 -0
  592. package/dist/kernel-types/src/plugins/geo/query.d.ts +48 -0
  593. package/dist/kernel-types/src/plugins/geo/query.d.ts.map +1 -0
  594. package/dist/kernel-types/src/plugins/geo/usePlaceSearch.d.ts +43 -0
  595. package/dist/kernel-types/src/plugins/geo/usePlaceSearch.d.ts.map +1 -0
  596. package/dist/kernel-types/src/plugins/grouped-backlinks/GroupHeaderActionButton.d.ts +27 -0
  597. package/dist/kernel-types/src/plugins/grouped-backlinks/GroupHeaderActionButton.d.ts.map +1 -0
  598. package/dist/kernel-types/src/plugins/grouped-backlinks/GroupedBacklinksConfigEditor.d.ts +4 -0
  599. package/dist/kernel-types/src/plugins/grouped-backlinks/GroupedBacklinksConfigEditor.d.ts.map +1 -0
  600. package/dist/kernel-types/src/plugins/grouped-backlinks/GroupedLinkedReferences.d.ts +3 -0
  601. package/dist/kernel-types/src/plugins/grouped-backlinks/GroupedLinkedReferences.d.ts.map +1 -0
  602. package/dist/kernel-types/src/plugins/grouped-backlinks/config.d.ts +24 -0
  603. package/dist/kernel-types/src/plugins/grouped-backlinks/config.d.ts.map +1 -0
  604. package/dist/kernel-types/src/plugins/grouped-backlinks/dataExtension.d.ts +3 -0
  605. package/dist/kernel-types/src/plugins/grouped-backlinks/dataExtension.d.ts.map +1 -0
  606. package/dist/kernel-types/src/plugins/grouped-backlinks/facet.d.ts +31 -0
  607. package/dist/kernel-types/src/plugins/grouped-backlinks/facet.d.ts.map +1 -0
  608. package/dist/kernel-types/src/plugins/grouped-backlinks/grouping.d.ts +23 -0
  609. package/dist/kernel-types/src/plugins/grouped-backlinks/grouping.d.ts.map +1 -0
  610. package/dist/kernel-types/src/plugins/grouped-backlinks/index.d.ts +3 -0
  611. package/dist/kernel-types/src/plugins/grouped-backlinks/index.d.ts.map +1 -0
  612. package/dist/kernel-types/src/plugins/grouped-backlinks/propertyEditorOverride.d.ts +3 -0
  613. package/dist/kernel-types/src/plugins/grouped-backlinks/propertyEditorOverride.d.ts.map +1 -0
  614. package/dist/kernel-types/src/plugins/grouped-backlinks/query.d.ts +34 -0
  615. package/dist/kernel-types/src/plugins/grouped-backlinks/query.d.ts.map +1 -0
  616. package/dist/kernel-types/src/plugins/grouped-backlinks/useGroupedBacklinks.d.ts +6 -0
  617. package/dist/kernel-types/src/plugins/grouped-backlinks/useGroupedBacklinks.d.ts.map +1 -0
  618. package/dist/kernel-types/src/plugins/grouped-backlinks/useGroupedBacklinksConfig.d.ts +4 -0
  619. package/dist/kernel-types/src/plugins/grouped-backlinks/useGroupedBacklinksConfig.d.ts.map +1 -0
  620. package/dist/kernel-types/src/plugins/left-sidebar/HeaderItem.d.ts +2 -0
  621. package/dist/kernel-types/src/plugins/left-sidebar/HeaderItem.d.ts.map +1 -0
  622. package/dist/kernel-types/src/plugins/left-sidebar/LeftSidebar.d.ts +5 -0
  623. package/dist/kernel-types/src/plugins/left-sidebar/LeftSidebar.d.ts.map +1 -0
  624. package/dist/kernel-types/src/plugins/left-sidebar/actions.d.ts +5 -0
  625. package/dist/kernel-types/src/plugins/left-sidebar/actions.d.ts.map +1 -0
  626. package/dist/kernel-types/src/plugins/left-sidebar/events.d.ts +7 -0
  627. package/dist/kernel-types/src/plugins/left-sidebar/events.d.ts.map +1 -0
  628. package/dist/kernel-types/src/plugins/left-sidebar/facet.d.ts +11 -0
  629. package/dist/kernel-types/src/plugins/left-sidebar/facet.d.ts.map +1 -0
  630. package/dist/kernel-types/src/plugins/left-sidebar/index.d.ts +14 -0
  631. package/dist/kernel-types/src/plugins/left-sidebar/index.d.ts.map +1 -0
  632. package/dist/kernel-types/src/plugins/left-sidebar/shortcuts.d.ts +5 -0
  633. package/dist/kernel-types/src/plugins/left-sidebar/shortcuts.d.ts.map +1 -0
  634. package/dist/kernel-types/src/plugins/merge-blocks/MergePicker.d.ts +2 -0
  635. package/dist/kernel-types/src/plugins/merge-blocks/MergePicker.d.ts.map +1 -0
  636. package/dist/kernel-types/src/plugins/merge-blocks/events.d.ts +17 -0
  637. package/dist/kernel-types/src/plugins/merge-blocks/events.d.ts.map +1 -0
  638. package/dist/kernel-types/src/plugins/merge-blocks/index.d.ts +5 -0
  639. package/dist/kernel-types/src/plugins/merge-blocks/index.d.ts.map +1 -0
  640. package/dist/kernel-types/src/plugins/merge-blocks/mergeAction.d.ts +4 -0
  641. package/dist/kernel-types/src/plugins/merge-blocks/mergeAction.d.ts.map +1 -0
  642. package/dist/kernel-types/src/plugins/merge-blocks/strategy.d.ts +13 -0
  643. package/dist/kernel-types/src/plugins/merge-blocks/strategy.d.ts.map +1 -0
  644. package/dist/kernel-types/src/plugins/mobile-bottom-nav/Button.d.ts +9 -0
  645. package/dist/kernel-types/src/plugins/mobile-bottom-nav/Button.d.ts.map +1 -0
  646. package/dist/kernel-types/src/plugins/mobile-bottom-nav/MobileBottomNav.d.ts +2 -0
  647. package/dist/kernel-types/src/plugins/mobile-bottom-nav/MobileBottomNav.d.ts.map +1 -0
  648. package/dist/kernel-types/src/plugins/mobile-bottom-nav/defaultItems.d.ts +9 -0
  649. package/dist/kernel-types/src/plugins/mobile-bottom-nav/defaultItems.d.ts.map +1 -0
  650. package/dist/kernel-types/src/plugins/mobile-bottom-nav/facet.d.ts +12 -0
  651. package/dist/kernel-types/src/plugins/mobile-bottom-nav/facet.d.ts.map +1 -0
  652. package/dist/kernel-types/src/plugins/mobile-bottom-nav/index.d.ts +9 -0
  653. package/dist/kernel-types/src/plugins/mobile-bottom-nav/index.d.ts.map +1 -0
  654. package/dist/kernel-types/src/plugins/mobile-keyboard-toolbar/MobileKeyboardToolbar.d.ts +7 -0
  655. package/dist/kernel-types/src/plugins/mobile-keyboard-toolbar/MobileKeyboardToolbar.d.ts.map +1 -0
  656. package/dist/kernel-types/src/plugins/mobile-keyboard-toolbar/actions.d.ts +5 -0
  657. package/dist/kernel-types/src/plugins/mobile-keyboard-toolbar/actions.d.ts.map +1 -0
  658. package/dist/kernel-types/src/plugins/mobile-keyboard-toolbar/index.d.ts +7 -0
  659. package/dist/kernel-types/src/plugins/mobile-keyboard-toolbar/index.d.ts.map +1 -0
  660. package/dist/kernel-types/src/plugins/plain-outliner/index.d.ts +3 -0
  661. package/dist/kernel-types/src/plugins/plain-outliner/index.d.ts.map +1 -0
  662. package/dist/kernel-types/src/plugins/plain-outliner/interactions.d.ts +4 -0
  663. package/dist/kernel-types/src/plugins/plain-outliner/interactions.d.ts.map +1 -0
  664. package/dist/kernel-types/src/plugins/quick-find/HeaderItem.d.ts +2 -0
  665. package/dist/kernel-types/src/plugins/quick-find/HeaderItem.d.ts.map +1 -0
  666. package/dist/kernel-types/src/plugins/quick-find/QuickFind.d.ts +2 -0
  667. package/dist/kernel-types/src/plugins/quick-find/QuickFind.d.ts.map +1 -0
  668. package/dist/kernel-types/src/plugins/quick-find/events.d.ts +2 -0
  669. package/dist/kernel-types/src/plugins/quick-find/events.d.ts.map +1 -0
  670. package/dist/kernel-types/src/plugins/quick-find/index.d.ts +13 -0
  671. package/dist/kernel-types/src/plugins/quick-find/index.d.ts.map +1 -0
  672. package/dist/kernel-types/src/plugins/quick-find/recents.d.ts +13 -0
  673. package/dist/kernel-types/src/plugins/quick-find/recents.d.ts.map +1 -0
  674. package/dist/kernel-types/src/plugins/quick-find/selection.d.ts +40 -0
  675. package/dist/kernel-types/src/plugins/quick-find/selection.d.ts.map +1 -0
  676. package/dist/kernel-types/src/plugins/references/codeMirrorExtensions.d.ts +9 -0
  677. package/dist/kernel-types/src/plugins/references/codeMirrorExtensions.d.ts.map +1 -0
  678. package/dist/kernel-types/src/plugins/references/dataExtension.d.ts +3 -0
  679. package/dist/kernel-types/src/plugins/references/dataExtension.d.ts.map +1 -0
  680. package/dist/kernel-types/src/plugins/references/index.d.ts +3 -0
  681. package/dist/kernel-types/src/plugins/references/index.d.ts.map +1 -0
  682. package/dist/kernel-types/src/plugins/references/invalidation.d.ts +4 -0
  683. package/dist/kernel-types/src/plugins/references/invalidation.d.ts.map +1 -0
  684. package/dist/kernel-types/src/plugins/references/localSchema.d.ts +21 -0
  685. package/dist/kernel-types/src/plugins/references/localSchema.d.ts.map +1 -0
  686. package/dist/kernel-types/src/plugins/references/markdown/blockrefs/index.d.ts +3 -0
  687. package/dist/kernel-types/src/plugins/references/markdown/blockrefs/index.d.ts.map +1 -0
  688. package/dist/kernel-types/src/plugins/references/markdown/blockrefs/remark-blockrefs.d.ts +3 -0
  689. package/dist/kernel-types/src/plugins/references/markdown/blockrefs/remark-blockrefs.d.ts.map +1 -0
  690. package/dist/kernel-types/src/plugins/references/markdown/wikilinks/Wikilink.d.ts +14 -0
  691. package/dist/kernel-types/src/plugins/references/markdown/wikilinks/Wikilink.d.ts.map +1 -0
  692. package/dist/kernel-types/src/plugins/references/markdown/wikilinks/index.d.ts +3 -0
  693. package/dist/kernel-types/src/plugins/references/markdown/wikilinks/index.d.ts.map +1 -0
  694. package/dist/kernel-types/src/plugins/references/markdown/wikilinks/remark-wikilinks.d.ts +6 -0
  695. package/dist/kernel-types/src/plugins/references/markdown/wikilinks/remark-wikilinks.d.ts.map +1 -0
  696. package/dist/kernel-types/src/plugins/references/markdown/wikilinks/wikilinkDecorator.d.ts +49 -0
  697. package/dist/kernel-types/src/plugins/references/markdown/wikilinks/wikilinkDecorator.d.ts.map +1 -0
  698. package/dist/kernel-types/src/plugins/references/referenceParser.d.ts +84 -0
  699. package/dist/kernel-types/src/plugins/references/referenceParser.d.ts.map +1 -0
  700. package/dist/kernel-types/src/plugins/references/referenceProjection.d.ts +3 -0
  701. package/dist/kernel-types/src/plugins/references/referenceProjection.d.ts.map +1 -0
  702. package/dist/kernel-types/src/plugins/references/referencesProcessor.d.ts +59 -0
  703. package/dist/kernel-types/src/plugins/references/referencesProcessor.d.ts.map +1 -0
  704. package/dist/kernel-types/src/plugins/references/renameProcessor.d.ts +56 -0
  705. package/dist/kernel-types/src/plugins/references/renameProcessor.d.ts.map +1 -0
  706. package/dist/kernel-types/src/plugins/roam-import/action.d.ts +6 -0
  707. package/dist/kernel-types/src/plugins/roam-import/action.d.ts.map +1 -0
  708. package/dist/kernel-types/src/plugins/roam-import/content.d.ts +9 -0
  709. package/dist/kernel-types/src/plugins/roam-import/content.d.ts.map +1 -0
  710. package/dist/kernel-types/src/plugins/roam-import/effect.d.ts +7 -0
  711. package/dist/kernel-types/src/plugins/roam-import/effect.d.ts.map +1 -0
  712. package/dist/kernel-types/src/plugins/roam-import/ids.d.ts +9 -0
  713. package/dist/kernel-types/src/plugins/roam-import/ids.d.ts.map +1 -0
  714. package/dist/kernel-types/src/plugins/roam-import/import.d.ts +37 -0
  715. package/dist/kernel-types/src/plugins/roam-import/import.d.ts.map +1 -0
  716. package/dist/kernel-types/src/plugins/roam-import/index.d.ts +8 -0
  717. package/dist/kernel-types/src/plugins/roam-import/index.d.ts.map +1 -0
  718. package/dist/kernel-types/src/plugins/roam-import/plan.d.ts +82 -0
  719. package/dist/kernel-types/src/plugins/roam-import/plan.d.ts.map +1 -0
  720. package/dist/kernel-types/src/plugins/roam-import/plugin.d.ts +23 -0
  721. package/dist/kernel-types/src/plugins/roam-import/plugin.d.ts.map +1 -0
  722. package/dist/kernel-types/src/plugins/roam-import/promotion.d.ts +39 -0
  723. package/dist/kernel-types/src/plugins/roam-import/promotion.d.ts.map +1 -0
  724. package/dist/kernel-types/src/plugins/roam-import/properties.d.ts +62 -0
  725. package/dist/kernel-types/src/plugins/roam-import/properties.d.ts.map +1 -0
  726. package/dist/kernel-types/src/plugins/roam-import/references.d.ts +2 -0
  727. package/dist/kernel-types/src/plugins/roam-import/references.d.ts.map +1 -0
  728. package/dist/kernel-types/src/plugins/roam-import/report.d.ts +25 -0
  729. package/dist/kernel-types/src/plugins/roam-import/report.d.ts.map +1 -0
  730. package/dist/kernel-types/src/plugins/roam-import/roamMemo.d.ts +35 -0
  731. package/dist/kernel-types/src/plugins/roam-import/roamMemo.d.ts.map +1 -0
  732. package/dist/kernel-types/src/plugins/roam-import/runtime.d.ts +24 -0
  733. package/dist/kernel-types/src/plugins/roam-import/runtime.d.ts.map +1 -0
  734. package/dist/kernel-types/src/plugins/roam-import/schemaReconciliation.d.ts +75 -0
  735. package/dist/kernel-types/src/plugins/roam-import/schemaReconciliation.d.ts.map +1 -0
  736. package/dist/kernel-types/src/plugins/roam-import/srsMarkers.d.ts +22 -0
  737. package/dist/kernel-types/src/plugins/roam-import/srsMarkers.d.ts.map +1 -0
  738. package/dist/kernel-types/src/plugins/roam-import/todo.d.ts +7 -0
  739. package/dist/kernel-types/src/plugins/roam-import/todo.d.ts.map +1 -0
  740. package/dist/kernel-types/src/plugins/roam-import/typeCandidates.d.ts +26 -0
  741. package/dist/kernel-types/src/plugins/roam-import/typeCandidates.d.ts.map +1 -0
  742. package/dist/kernel-types/src/plugins/roam-import/types.d.ts +32 -0
  743. package/dist/kernel-types/src/plugins/roam-import/types.d.ts.map +1 -0
  744. package/dist/kernel-types/src/plugins/spatial-navigation/PanelFocusRecovery.d.ts +38 -0
  745. package/dist/kernel-types/src/plugins/spatial-navigation/PanelFocusRecovery.d.ts.map +1 -0
  746. package/dist/kernel-types/src/plugins/spatial-navigation/ShellDecorator.d.ts +35 -0
  747. package/dist/kernel-types/src/plugins/spatial-navigation/ShellDecorator.d.ts.map +1 -0
  748. package/dist/kernel-types/src/plugins/spatial-navigation/actions.d.ts +7 -0
  749. package/dist/kernel-types/src/plugins/spatial-navigation/actions.d.ts.map +1 -0
  750. package/dist/kernel-types/src/plugins/spatial-navigation/index.d.ts +5 -0
  751. package/dist/kernel-types/src/plugins/spatial-navigation/index.d.ts.map +1 -0
  752. package/dist/kernel-types/src/plugins/spatial-navigation/shell.d.ts +3 -0
  753. package/dist/kernel-types/src/plugins/spatial-navigation/shell.d.ts.map +1 -0
  754. package/dist/kernel-types/src/plugins/spatial-navigation/surface.d.ts +4 -0
  755. package/dist/kernel-types/src/plugins/spatial-navigation/surface.d.ts.map +1 -0
  756. package/dist/kernel-types/src/plugins/spatial-navigation/walker.d.ts +131 -0
  757. package/dist/kernel-types/src/plugins/spatial-navigation/walker.d.ts.map +1 -0
  758. package/dist/kernel-types/src/plugins/srs-rescheduling/RescheduleToast.d.ts +14 -0
  759. package/dist/kernel-types/src/plugins/srs-rescheduling/RescheduleToast.d.ts.map +1 -0
  760. package/dist/kernel-types/src/plugins/srs-rescheduling/dataExtension.d.ts +3 -0
  761. package/dist/kernel-types/src/plugins/srs-rescheduling/dataExtension.d.ts.map +1 -0
  762. package/dist/kernel-types/src/plugins/srs-rescheduling/index.d.ts +19 -0
  763. package/dist/kernel-types/src/plugins/srs-rescheduling/index.d.ts.map +1 -0
  764. package/dist/kernel-types/src/plugins/srs-rescheduling/indicator.d.ts +9 -0
  765. package/dist/kernel-types/src/plugins/srs-rescheduling/indicator.d.ts.map +1 -0
  766. package/dist/kernel-types/src/plugins/srs-rescheduling/moveSrsState.d.ts +8 -0
  767. package/dist/kernel-types/src/plugins/srs-rescheduling/moveSrsState.d.ts.map +1 -0
  768. package/dist/kernel-types/src/plugins/srs-rescheduling/rescheduleDecorator.d.ts +3 -0
  769. package/dist/kernel-types/src/plugins/srs-rescheduling/rescheduleDecorator.d.ts.map +1 -0
  770. package/dist/kernel-types/src/plugins/srs-rescheduling/scheduler.d.ts +24 -0
  771. package/dist/kernel-types/src/plugins/srs-rescheduling/scheduler.d.ts.map +1 -0
  772. package/dist/kernel-types/src/plugins/srs-rescheduling/schema.d.ts +17 -0
  773. package/dist/kernel-types/src/plugins/srs-rescheduling/schema.d.ts.map +1 -0
  774. package/dist/kernel-types/src/plugins/srs-rescheduling/srsBlockDateAdapter.d.ts +3 -0
  775. package/dist/kernel-types/src/plugins/srs-rescheduling/srsBlockDateAdapter.d.ts.map +1 -0
  776. package/dist/kernel-types/src/plugins/srs-rescheduling/srsClipboard.d.ts +9 -0
  777. package/dist/kernel-types/src/plugins/srs-rescheduling/srsClipboard.d.ts.map +1 -0
  778. package/dist/kernel-types/src/plugins/srs-rescheduling/swipeRightDecorator.d.ts +6 -0
  779. package/dist/kernel-types/src/plugins/srs-rescheduling/swipeRightDecorator.d.ts.map +1 -0
  780. package/dist/kernel-types/src/plugins/swipe-quick-actions/SwipeActionMenu.d.ts +15 -0
  781. package/dist/kernel-types/src/plugins/swipe-quick-actions/SwipeActionMenu.d.ts.map +1 -0
  782. package/dist/kernel-types/src/plugins/swipe-quick-actions/actions.d.ts +46 -0
  783. package/dist/kernel-types/src/plugins/swipe-quick-actions/actions.d.ts.map +1 -0
  784. package/dist/kernel-types/src/plugins/swipe-quick-actions/anchor.d.ts +9 -0
  785. package/dist/kernel-types/src/plugins/swipe-quick-actions/anchor.d.ts.map +1 -0
  786. package/dist/kernel-types/src/plugins/swipe-quick-actions/events.d.ts +31 -0
  787. package/dist/kernel-types/src/plugins/swipe-quick-actions/events.d.ts.map +1 -0
  788. package/dist/kernel-types/src/plugins/swipe-quick-actions/index.d.ts +6 -0
  789. package/dist/kernel-types/src/plugins/swipe-quick-actions/index.d.ts.map +1 -0
  790. package/dist/kernel-types/src/plugins/swipe-quick-actions/swipeGesture.d.ts +13 -0
  791. package/dist/kernel-types/src/plugins/swipe-quick-actions/swipeGesture.d.ts.map +1 -0
  792. package/dist/kernel-types/src/plugins/sync-status/RejectionDialog.d.ts +7 -0
  793. package/dist/kernel-types/src/plugins/sync-status/RejectionDialog.d.ts.map +1 -0
  794. package/dist/kernel-types/src/plugins/sync-status/SyncStatusHeaderItem.d.ts +2 -0
  795. package/dist/kernel-types/src/plugins/sync-status/SyncStatusHeaderItem.d.ts.map +1 -0
  796. package/dist/kernel-types/src/plugins/sync-status/index.d.ts +5 -0
  797. package/dist/kernel-types/src/plugins/sync-status/index.d.ts.map +1 -0
  798. package/dist/kernel-types/src/plugins/sync-status/model.d.ts +27 -0
  799. package/dist/kernel-types/src/plugins/sync-status/model.d.ts.map +1 -0
  800. package/dist/kernel-types/src/plugins/sync-status/rejectedHelpers.d.ts +25 -0
  801. package/dist/kernel-types/src/plugins/sync-status/rejectedHelpers.d.ts.map +1 -0
  802. package/dist/kernel-types/src/plugins/theme-toggle/ThemeToggle.d.ts +2 -0
  803. package/dist/kernel-types/src/plugins/theme-toggle/ThemeToggle.d.ts.map +1 -0
  804. package/dist/kernel-types/src/plugins/theme-toggle/index.d.ts +7 -0
  805. package/dist/kernel-types/src/plugins/theme-toggle/index.d.ts.map +1 -0
  806. package/dist/kernel-types/src/plugins/theme-toggle/theme.d.ts +6 -0
  807. package/dist/kernel-types/src/plugins/theme-toggle/theme.d.ts.map +1 -0
  808. package/dist/kernel-types/src/plugins/todo/actions.d.ts +9 -0
  809. package/dist/kernel-types/src/plugins/todo/actions.d.ts.map +1 -0
  810. package/dist/kernel-types/src/plugins/todo/dataExtension.d.ts +3 -0
  811. package/dist/kernel-types/src/plugins/todo/dataExtension.d.ts.map +1 -0
  812. package/dist/kernel-types/src/plugins/todo/index.d.ts +6 -0
  813. package/dist/kernel-types/src/plugins/todo/index.d.ts.map +1 -0
  814. package/dist/kernel-types/src/plugins/todo/schema.d.ts +7 -0
  815. package/dist/kernel-types/src/plugins/todo/schema.d.ts.map +1 -0
  816. package/dist/kernel-types/src/plugins/update-indicator/UpdateIndicator.d.ts +5 -0
  817. package/dist/kernel-types/src/plugins/update-indicator/UpdateIndicator.d.ts.map +1 -0
  818. package/dist/kernel-types/src/plugins/update-indicator/index.d.ts +3 -0
  819. package/dist/kernel-types/src/plugins/update-indicator/index.d.ts.map +1 -0
  820. package/dist/kernel-types/src/plugins/update-indicator/loadTimes.d.ts +17 -0
  821. package/dist/kernel-types/src/plugins/update-indicator/loadTimes.d.ts.map +1 -0
  822. package/dist/kernel-types/src/plugins/video-player/VideoPlayerRenderer.d.ts +15 -0
  823. package/dist/kernel-types/src/plugins/video-player/VideoPlayerRenderer.d.ts.map +1 -0
  824. package/dist/kernel-types/src/plugins/video-player/VideoTimeStamp.d.ts +7 -0
  825. package/dist/kernel-types/src/plugins/video-player/VideoTimeStamp.d.ts.map +1 -0
  826. package/dist/kernel-types/src/plugins/video-player/actions.d.ts +17 -0
  827. package/dist/kernel-types/src/plugins/video-player/actions.d.ts.map +1 -0
  828. package/dist/kernel-types/src/plugins/video-player/events.d.ts +13 -0
  829. package/dist/kernel-types/src/plugins/video-player/events.d.ts.map +1 -0
  830. package/dist/kernel-types/src/plugins/video-player/index.d.ts +3 -0
  831. package/dist/kernel-types/src/plugins/video-player/index.d.ts.map +1 -0
  832. package/dist/kernel-types/src/plugins/video-player/markdown.d.ts +3 -0
  833. package/dist/kernel-types/src/plugins/video-player/markdown.d.ts.map +1 -0
  834. package/dist/kernel-types/src/plugins/video-player/notes.d.ts +4 -0
  835. package/dist/kernel-types/src/plugins/video-player/notes.d.ts.map +1 -0
  836. package/dist/kernel-types/src/plugins/video-player/remark-timestamps.d.ts +4 -0
  837. package/dist/kernel-types/src/plugins/video-player/remark-timestamps.d.ts.map +1 -0
  838. package/dist/kernel-types/src/plugins/video-player/view.d.ts +5 -0
  839. package/dist/kernel-types/src/plugins/video-player/view.d.ts.map +1 -0
  840. package/dist/kernel-types/src/plugins/vim-normal-mode/actions.d.ts +10 -0
  841. package/dist/kernel-types/src/plugins/vim-normal-mode/actions.d.ts.map +1 -0
  842. package/dist/kernel-types/src/plugins/vim-normal-mode/index.d.ts +7 -0
  843. package/dist/kernel-types/src/plugins/vim-normal-mode/index.d.ts.map +1 -0
  844. package/dist/kernel-types/src/plugins/vim-normal-mode/interactions.d.ts +5 -0
  845. package/dist/kernel-types/src/plugins/vim-normal-mode/interactions.d.ts.map +1 -0
  846. package/dist/kernel-types/src/plugins/visual-navigation/VisualNavigationShellDecorator.d.ts +3 -0
  847. package/dist/kernel-types/src/plugins/visual-navigation/VisualNavigationShellDecorator.d.ts.map +1 -0
  848. package/dist/kernel-types/src/plugins/visual-navigation/actions.d.ts +7 -0
  849. package/dist/kernel-types/src/plugins/visual-navigation/actions.d.ts.map +1 -0
  850. package/dist/kernel-types/src/plugins/visual-navigation/index.d.ts +7 -0
  851. package/dist/kernel-types/src/plugins/visual-navigation/index.d.ts.map +1 -0
  852. package/dist/kernel-types/src/plugins/visual-navigation/navigation.d.ts +69 -0
  853. package/dist/kernel-types/src/plugins/visual-navigation/navigation.d.ts.map +1 -0
  854. package/dist/kernel-types/src/plugins/visual-navigation/shell.d.ts +3 -0
  855. package/dist/kernel-types/src/plugins/visual-navigation/shell.d.ts.map +1 -0
  856. package/dist/kernel-types/src/plugins/workspace-header/index.d.ts +8 -0
  857. package/dist/kernel-types/src/plugins/workspace-header/index.d.ts.map +1 -0
  858. package/dist/kernel-types/src/registerServiceWorker.d.ts +15 -0
  859. package/dist/kernel-types/src/registerServiceWorker.d.ts.map +1 -0
  860. package/dist/kernel-types/src/services/powersync.d.ts +49 -0
  861. package/dist/kernel-types/src/services/powersync.d.ts.map +1 -0
  862. package/dist/kernel-types/src/services/supabase.d.ts +6 -0
  863. package/dist/kernel-types/src/services/supabase.d.ts.map +1 -0
  864. package/dist/kernel-types/src/services/uploadErrorClassifier.d.ts +16 -0
  865. package/dist/kernel-types/src/services/uploadErrorClassifier.d.ts.map +1 -0
  866. package/dist/kernel-types/src/shortcuts/ActiveContexts.d.ts +26 -0
  867. package/dist/kernel-types/src/shortcuts/ActiveContexts.d.ts.map +1 -0
  868. package/dist/kernel-types/src/shortcuts/HotkeyReconciler.d.ts +24 -0
  869. package/dist/kernel-types/src/shortcuts/HotkeyReconciler.d.ts.map +1 -0
  870. package/dist/kernel-types/src/shortcuts/blockActions.d.ts +39 -0
  871. package/dist/kernel-types/src/shortcuts/blockActions.d.ts.map +1 -0
  872. package/dist/kernel-types/src/shortcuts/defaultContexts.d.ts +3 -0
  873. package/dist/kernel-types/src/shortcuts/defaultContexts.d.ts.map +1 -0
  874. package/dist/kernel-types/src/shortcuts/defaultShortcuts.d.ts +22 -0
  875. package/dist/kernel-types/src/shortcuts/defaultShortcuts.d.ts.map +1 -0
  876. package/dist/kernel-types/src/shortcuts/effectiveActions.d.ts +7 -0
  877. package/dist/kernel-types/src/shortcuts/effectiveActions.d.ts.map +1 -0
  878. package/dist/kernel-types/src/shortcuts/runAction.d.ts +20 -0
  879. package/dist/kernel-types/src/shortcuts/runAction.d.ts.map +1 -0
  880. package/dist/kernel-types/src/shortcuts/types.d.ts +118 -0
  881. package/dist/kernel-types/src/shortcuts/types.d.ts.map +1 -0
  882. package/dist/kernel-types/src/shortcuts/useActionContext.d.ts +25 -0
  883. package/dist/kernel-types/src/shortcuts/useActionContext.d.ts.map +1 -0
  884. package/dist/kernel-types/src/shortcuts/utils.d.ts +90 -0
  885. package/dist/kernel-types/src/shortcuts/utils.d.ts.map +1 -0
  886. package/dist/kernel-types/src/tutorial/outline.d.ts +39 -0
  887. package/dist/kernel-types/src/tutorial/outline.d.ts.map +1 -0
  888. package/dist/kernel-types/src/types.d.ts +104 -0
  889. package/dist/kernel-types/src/types.d.ts.map +1 -0
  890. package/dist/kernel-types/src/utils/AliasCollisionToast.d.ts +13 -0
  891. package/dist/kernel-types/src/utils/AliasCollisionToast.d.ts.map +1 -0
  892. package/dist/kernel-types/src/utils/ClientLocalSettings.d.ts +47 -0
  893. package/dist/kernel-types/src/utils/ClientLocalSettings.d.ts.map +1 -0
  894. package/dist/kernel-types/src/utils/array.d.ts +9 -0
  895. package/dist/kernel-types/src/utils/array.d.ts.map +1 -0
  896. package/dist/kernel-types/src/utils/async.d.ts +7 -0
  897. package/dist/kernel-types/src/utils/async.d.ts.map +1 -0
  898. package/dist/kernel-types/src/utils/backlinkAutocomplete.d.ts +33 -0
  899. package/dist/kernel-types/src/utils/backlinkAutocomplete.d.ts.map +1 -0
  900. package/dist/kernel-types/src/utils/blockrefAutocomplete.d.ts +18 -0
  901. package/dist/kernel-types/src/utils/blockrefAutocomplete.d.ts.map +1 -0
  902. package/dist/kernel-types/src/utils/callbackSet.d.ts +29 -0
  903. package/dist/kernel-types/src/utils/callbackSet.d.ts.map +1 -0
  904. package/dist/kernel-types/src/utils/codemirror.d.ts +46 -0
  905. package/dist/kernel-types/src/utils/codemirror.d.ts.map +1 -0
  906. package/dist/kernel-types/src/utils/codemirrorCompletion.d.ts +3 -0
  907. package/dist/kernel-types/src/utils/codemirrorCompletion.d.ts.map +1 -0
  908. package/dist/kernel-types/src/utils/copy.d.ts +8 -0
  909. package/dist/kernel-types/src/utils/copy.d.ts.map +1 -0
  910. package/dist/kernel-types/src/utils/dailyPage.d.ts +7 -0
  911. package/dist/kernel-types/src/utils/dailyPage.d.ts.map +1 -0
  912. package/dist/kernel-types/src/utils/dialogs.d.ts +38 -0
  913. package/dist/kernel-types/src/utils/dialogs.d.ts.map +1 -0
  914. package/dist/kernel-types/src/utils/dom.d.ts +4 -0
  915. package/dist/kernel-types/src/utils/dom.d.ts.map +1 -0
  916. package/dist/kernel-types/src/utils/exportSqliteDb.d.ts +29 -0
  917. package/dist/kernel-types/src/utils/exportSqliteDb.d.ts.map +1 -0
  918. package/dist/kernel-types/src/utils/lastWorkspace.d.ts +4 -0
  919. package/dist/kernel-types/src/utils/lastWorkspace.d.ts.map +1 -0
  920. package/dist/kernel-types/src/utils/layoutSessionId.d.ts +11 -0
  921. package/dist/kernel-types/src/utils/layoutSessionId.d.ts.map +1 -0
  922. package/dist/kernel-types/src/utils/linkTargetAutocomplete.d.ts +61 -0
  923. package/dist/kernel-types/src/utils/linkTargetAutocomplete.d.ts.map +1 -0
  924. package/dist/kernel-types/src/utils/markdownParser.d.ts +12 -0
  925. package/dist/kernel-types/src/utils/markdownParser.d.ts.map +1 -0
  926. package/dist/kernel-types/src/utils/navigation.d.ts +64 -0
  927. package/dist/kernel-types/src/utils/navigation.d.ts.map +1 -0
  928. package/dist/kernel-types/src/utils/object.d.ts +7 -0
  929. package/dist/kernel-types/src/utils/object.d.ts.map +1 -0
  930. package/dist/kernel-types/src/utils/panelHistory.d.ts +70 -0
  931. package/dist/kernel-types/src/utils/panelHistory.d.ts.map +1 -0
  932. package/dist/kernel-types/src/utils/panelLayoutProjection.d.ts +70 -0
  933. package/dist/kernel-types/src/utils/panelLayoutProjection.d.ts.map +1 -0
  934. package/dist/kernel-types/src/utils/paste.d.ts +22 -0
  935. package/dist/kernel-types/src/utils/paste.d.ts.map +1 -0
  936. package/dist/kernel-types/src/utils/processorRejectionToast.d.ts +26 -0
  937. package/dist/kernel-types/src/utils/processorRejectionToast.d.ts.map +1 -0
  938. package/dist/kernel-types/src/utils/propertyCreation.d.ts +4 -0
  939. package/dist/kernel-types/src/utils/propertyCreation.d.ts.map +1 -0
  940. package/dist/kernel-types/src/utils/propertyNavigation.d.ts +20 -0
  941. package/dist/kernel-types/src/utils/propertyNavigation.d.ts.map +1 -0
  942. package/dist/kernel-types/src/utils/react.d.ts +2 -0
  943. package/dist/kernel-types/src/utils/react.d.ts.map +1 -0
  944. package/dist/kernel-types/src/utils/relativeDate.d.ts +42 -0
  945. package/dist/kernel-types/src/utils/relativeDate.d.ts.map +1 -0
  946. package/dist/kernel-types/src/utils/routing.d.ts +23 -0
  947. package/dist/kernel-types/src/utils/routing.d.ts.map +1 -0
  948. package/dist/kernel-types/src/utils/safeMode.d.ts +5 -0
  949. package/dist/kernel-types/src/utils/safeMode.d.ts.map +1 -0
  950. package/dist/kernel-types/src/utils/scheduleIdle.d.ts +14 -0
  951. package/dist/kernel-types/src/utils/scheduleIdle.d.ts.map +1 -0
  952. package/dist/kernel-types/src/utils/selection.d.ts +74 -0
  953. package/dist/kernel-types/src/utils/selection.d.ts.map +1 -0
  954. package/dist/kernel-types/src/utils/state.d.ts +17 -0
  955. package/dist/kernel-types/src/utils/state.d.ts.map +1 -0
  956. package/dist/kernel-types/src/utils/templateLiterals.d.ts +6 -0
  957. package/dist/kernel-types/src/utils/templateLiterals.d.ts.map +1 -0
  958. package/dist/kernel-types/src/utils/time.d.ts +3 -0
  959. package/dist/kernel-types/src/utils/time.d.ts.map +1 -0
  960. package/dist/kernel-types/src/utils/toast.d.ts +65 -0
  961. package/dist/kernel-types/src/utils/toast.d.ts.map +1 -0
  962. package/dist/kernel-types/src/utils/types.d.ts +6 -0
  963. package/dist/kernel-types/src/utils/types.d.ts.map +1 -0
  964. package/dist/kernel-types/src/utils/viewTransition.d.ts +29 -0
  965. package/dist/kernel-types/src/utils/viewTransition.d.ts.map +1 -0
  966. package/dist/kernelDts.d.ts +13 -0
  967. package/dist/kernelDts.d.ts.map +1 -0
  968. package/dist/kernelDts.js +47 -0
  969. package/dist/kernelDts.js.map +1 -0
  970. package/dist/protocol.d.ts +470 -0
  971. package/dist/protocol.d.ts.map +1 -0
  972. package/dist/protocol.js +365 -0
  973. package/dist/protocol.js.map +1 -0
  974. package/dist/server.d.ts +3 -0
  975. package/dist/server.d.ts.map +1 -0
  976. package/dist/server.js +554 -0
  977. package/dist/server.js.map +1 -0
  978. package/package.json +59 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"repo.d.ts","sourceRoot":"","sources":["../../../../../../src/data/repo.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,EAAE,YAAY,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAA;AAC7D,OAAO,KAAK,EACV,UAAU,EACV,sBAAsB,EACtB,kBAAkB,EAClB,yBAAyB,EACzB,iBAAiB,EACjB,QAAQ,EACR,cAAc,EACd,SAAS,EAET,OAAO,EACP,eAAe,EACf,KAAK,EACL,aAAa,EAEb,aAAa,EACb,eAAe,EACf,gBAAgB,EAChB,oBAAoB,EACpB,EAAE,EACF,WAAW,EACX,IAAI,EACL,MAAM,YAAY,CAAA;AACnB,OAAO,EAEL,WAAW,EAGX,kBAAkB,EAInB,MAAM,YAAY,CAAA;AACnB,OAAO,EAAS,KAAK,WAAW,EAAE,MAAM,4BAA4B,CAAA;AACpE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAA;AAmBnD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAC/B,OAAO,EACL,WAAW,EACX,YAAY,EAIb,MAAM,yBAAyB,CAAA;AAEhC,OAAO,EACL,SAAS,EACT,YAAY,EAEb,MAAM,2BAA2B,CAAA;AAClC,OAAO,EAE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,CAAC,GAAG,IAAI;CAG/D"}
@@ -0,0 +1,35 @@
1
+ /**
2
+ * Production bootstrap for the new data layer (replaces
3
+ * `src/data/repoInstance.ts`).
4
+ *
5
+ * Per-user PowerSync database — the database itself is the user
6
+ * isolation boundary (no shared CRUD queue, no shared cache, no risk
7
+ * of one session's pending uploads being retried under another user's
8
+ * JWT). Sign-out clears the Supabase session but leaves the local DB
9
+ * intact; sign-in as the same user reopens the same DB and unsynced
10
+ * edits resume uploading. Sign-in as a different user opens a fresh
11
+ * DB.
12
+ *
13
+ * What this DOES:
14
+ * - Open a `PowerSyncDatabase` keyed by user id
15
+ * - Run PowerSync's `init()` (sets up powersync_crud + ps_oplog)
16
+ * - Run the new client-side DDL: `blocks` + core indexes,
17
+ * workspaces + workspace_members tables/indexes,
18
+ * `CLIENT_SCHEMA_STATEMENTS` (tx_context, row_events,
19
+ * command_events, core side indexes, and triggers), then static
20
+ * data-plugin local schema contributions
21
+ * - Connect to the PowerSync server when `hasRemoteSyncConfig`
22
+ *
23
+ * What this does NOT do (vs. legacy):
24
+ * - No `block_event_context` / `block_events` tables (replaced by
25
+ * `tx_context` + `row_events` from clientSchema.ts)
26
+ * - No legacy CRUD-routing triggers (replaced by the 5 audit/upload
27
+ * triggers in clientSchema.ts that key on `tx_context.source`)
28
+ * - No `UndoRedoManager` (undo lands in a future stage; engine
29
+ * doesn't depend on it)
30
+ */
31
+ import { PowerSyncDatabase } from '@powersync/web';
32
+ export declare const dbFilenameForUser: (userId: string) => string;
33
+ export declare const getPowerSyncDb: (userId: string) => PowerSyncDatabase;
34
+ export declare const ensurePowerSyncReady: (userId: string, useRemoteSync?: boolean) => Promise<void>;
35
+ //# sourceMappingURL=repoProvider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"repoProvider.d.ts","sourceRoot":"","sources":["../../../../../../src/data/repoProvider.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AAEH,OAAO,EAAE,iBAAiB,EAA4C,MAAM,gBAAgB,CAAA;AAkD5F,eAAO,MAAM,iBAAiB,GAAI,QAAQ,MAAM,WAG/C,CAAA;AA8CD,eAAO,MAAM,cAAc,GAAI,QAAQ,MAAM,KAAG,iBAM/C,CAAA;AAOD,eAAO,MAAM,oBAAoB,GAC/B,QAAQ,MAAM,EACd,gBAAe,OAA6B,kBAuC7C,CAAA"}
@@ -0,0 +1,57 @@
1
+ /**
2
+ * User-local state plumbing — per-user "user page", synced user prefs,
3
+ * per-plugin sub-blocks, and per-panel ui-state child tree. Pure
4
+ * (non-React) helpers live here; React hooks that consume them live in
5
+ * `globalState.ts`. Splitting along this fault line keeps module-init
6
+ * import graphs out of `react`/`@/context/repo`, which is what lets
7
+ * `pluginStateExtensions.ts` import these helpers statically without
8
+ * cycling through `repoProvider → staticDataExtensions → plugin/*`.
9
+ *
10
+ * Deterministic ids derived from (workspace, user, ...) keep two
11
+ * offline clients converging on the same row when they later sync.
12
+ */
13
+ import { ChangeScope, type PropertySchema, type TypeContribution, type User } from '@/data/api';
14
+ import { Block } from './block';
15
+ import type { Repo } from './repo';
16
+ import type { BlockContextType } from '@/types';
17
+ import { type BlockSelectionState } from '@/data/properties';
18
+ export declare const requireWorkspaceId: (repo: Repo, caller: string) => string;
19
+ export declare const requireSchemaScope: <T>(schema: PropertySchema<T>, scope: ChangeScope, caller: string) => PropertySchema<T>;
20
+ /** Per-user "user page" block — created (or restored) on first access.
21
+ * The alias matches the user's display name so alias-based lookup
22
+ * surfaces can target it directly. Memoized per (repo, workspaceId,
23
+ * userId) — `use()` requires a stable promise per render.
24
+ *
25
+ * The fast path uses `repo.load` to skip the tx entirely when the row
26
+ * is already live in cache or in SQL. Tombstone branch lives INSIDE
27
+ * the tx because `repo.load` filters `deleted = 0` (so tombstones
28
+ * always come back as `null`); we have to use `tx.get` to see them. */
29
+ export declare const getUserBlock: ((repo: Repo, workspaceId: string, user: User) => Promise<Block>) & import("lodash").MemoizedFunction;
30
+ export declare const getUserPrefsBlock: ((repo: Repo, workspaceId: string, user: User) => Promise<Block>) & import("lodash").MemoizedFunction;
31
+ /** Per-plugin preferences sub-block under the root user-prefs block.
32
+ * Each plugin gets its own child keyed by the type contribution's `id`,
33
+ * carrying that id as its block type marker. Splitting preferences across
34
+ * per-plugin rows (rather than packing them all into the root block's
35
+ * `properties_json`) bounds the blast radius of any single PATCH upload
36
+ * to one plugin's settings — the row-level UPDATE trigger writes the full
37
+ * `properties_json` column on any property change, so unrelated plugins'
38
+ * values are no longer at risk of being clobbered by a peer's edit. */
39
+ export declare const getPluginPrefsBlock: ((repo: Repo, workspaceId: string, user: User, type: TypeContribution) => Promise<Block>) & import("lodash").MemoizedFunction;
40
+ /** Resolve the UI-state block scoped to the current panel context.
41
+ * In a panel context (`context.panelId`), returns the panel's own
42
+ * block — per-panel UI state lives directly on it. Outside a panel,
43
+ * returns the user-level `ui-state` child of the user page. */
44
+ export declare const getUIStateBlock: ((repo: Repo, workspaceId: string, user: User, context: BlockContextType) => Promise<Block>) & import("lodash").MemoizedFunction;
45
+ export declare const getLayoutSessionBlock: ((uiStateBlock: Block, layoutSessionId: string) => Promise<Block>) & import("lodash").MemoizedFunction;
46
+ /** Per-plugin ui-state sub-block under the root ui-state block. The
47
+ * mirror of `getPluginPrefsBlock` for state that is persistent but
48
+ * per-device (and therefore should NOT sync) — e.g. "what blocks did
49
+ * the user open recently on this device". Writes flow through
50
+ * `ChangeScope.UiState` so they stay out of the upload queue. */
51
+ export declare const getPluginUIStateBlock: ((repo: Repo, workspaceId: string, user: User, type: TypeContribution) => Promise<Block>) & import("lodash").MemoizedFunction;
52
+ /** Sync selection-state read; doesn't subscribe — for use in
53
+ * imperative shortcut handlers. Returns the schema default when
54
+ * nothing's stored. */
55
+ export declare const getSelectionStateSnapshot: (uiStateBlock: Block) => BlockSelectionState;
56
+ export declare const resetBlockSelection: (uiStateBlock: Block) => Promise<void>;
57
+ //# sourceMappingURL=stateBlocks.d.ts.map
@@ -0,0 +1 @@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OAAO,CAAC,KAAK,CAAC,qCAKrE,CAAA;AAED;;;;kEAIkE;AAClE,eAAO,MAAM,qBAAqB,UAExB,IAAI,eACG,MAAM,QACb,IAAI,QACJ,gBAAgB,KACrB,OAAO,CAAC,KAAK,CAAC,qCAclB,CAAA;AAID;;wBAEwB;AACxB,eAAO,MAAM,yBAAyB,GAAI,cAAc,KAAK,KAAG,mBACkB,CAAA;AAElF,eAAO,MAAM,mBAAmB,GAAU,cAAc,KAAK,KAAG,OAAO,CAAC,IAAI,CAI3E,CAAA"}
@@ -0,0 +1,130 @@
1
+ /**
2
+ * Target-block primitives for parseReferences + Roam import (spec §7,
3
+ * §13.1, v4.31).
4
+ *
5
+ * Layer 1 — `createOrRestoreTargetBlock(tx, args)` is the shared
6
+ * primitive: SELECT-then-branch via `tx.createOrGet`, restore
7
+ * tombstones via `tx.restore`. Same semantics every domain helper
8
+ * gets the catch-and-restore boilerplate from. Returns
9
+ * `{id, inserted}` where `inserted: true` covers both fresh-insert
10
+ * and tombstone-restore (both are "this tx wrote the row").
11
+ *
12
+ * Layer 2 — `ensureAliasTarget` (here) and `ensureDailyNoteTarget`
13
+ * (in `@/plugins/daily-notes`) are thin per-domain wrappers. Each
14
+ * computes its own deterministic id, picks `freshContent` (the
15
+ * alias text — so the freshly-materialised seat renders with a
16
+ * non-empty title; steady-state drift after a rename is still
17
+ * allowed and healed by the A3 sync rule), and supplies an
18
+ * `onInsertedOrRestored` callback that writes the alias list via
19
+ * `tx.setProperty`.
20
+ * Per-domain also drives the cleanup-eligibility routing in §7.6:
21
+ * only ensureAliasTarget results enter the newlyInsertedAliasTargetIds
22
+ * list passed to `references.cleanupOrphanAliases` (date-shaped aliases
23
+ * never enter the cleanup list — daily notes persist regardless of
24
+ * whether a referencing block is removed within 4s).
25
+ *
26
+ * Why `tx.createOrGet` doesn't restore on tombstone (v4.26): Restore
27
+ * is domain policy. The primitive throws DeletedConflictError loudly
28
+ * and lets the domain helper decide what fields to refresh. The
29
+ * shared helper here is the canonical refresh policy for parseReferences
30
+ * + Roam import.
31
+ *
32
+ * Indexed-deterministic seat ids: rather than a single deterministic
33
+ * id per `(alias, workspaceId)`, alias seats live in a probed sequence
34
+ * `id₀, id₁, id₂, …` derived from `uuidv5("${ws}:${alias}:${i}",
35
+ * ALIAS_NS)`. `ensureAliasTarget` walks the sequence until it finds
36
+ * an empty slot (insert here) or a live row that already claims the
37
+ * alias (reuse). Live rows that claim a different alias — typical
38
+ * post-rename case — and tombstones are skipped. Two offline clients
39
+ * with the same world-state probe the same way and land on the same
40
+ * slot, preserving the deterministic-id convergence guarantee. The
41
+ * "claims this alias?" check is what preserves the happy-path
42
+ * convergence at slot 0; without it the probe would always run past
43
+ * the existing seat.
44
+ *
45
+ * NOTE: `createOrRestoreTargetBlock` is helper-layer, NOT exposed on
46
+ * the public Tx surface (per v4.31). Plugin authors writing their own
47
+ * deterministic-id flows can import it from `@/data/targets`.
48
+ */
49
+ import { type ProcessorReadDb, type Tx, type TypeRegistrySnapshot } from '@/data/api';
50
+ import type { Repo } from '@/data/repo';
51
+ /** Layer 1 args. */
52
+ export interface CreateOrRestoreArgs {
53
+ id: string;
54
+ workspaceId: string;
55
+ parentId: string | null;
56
+ orderKey: string;
57
+ /** Applied on both insert and restore. */
58
+ freshContent: string;
59
+ /** Optional callback invoked after the row is inserted OR restored
60
+ * (NOT on the live-row-hit path). Used by per-domain wrappers to
61
+ * write properties (e.g. the alias list via tx.setProperty) that
62
+ * need codec encoding. The callback runs synchronously inside the
63
+ * outer tx; awaitable. */
64
+ onInsertedOrRestored?: (tx: Tx, id: string) => Promise<void> | void;
65
+ }
66
+ /** Shared primitive — see file header. Returns `{id, inserted}`;
67
+ * `inserted: true` means this tx wrote the row (fresh or restored). */
68
+ export declare const createOrRestoreTargetBlock: (tx: Tx, args: CreateOrRestoreArgs) => Promise<{
69
+ id: string;
70
+ inserted: boolean;
71
+ }>;
72
+ /** Deterministic id for the `index`-th alias-seat slot. Slot 0 is the
73
+ * happy-path id; higher slots are claimed by probes that skipped a
74
+ * live row claiming a different alias (post-rename) or a tombstoned
75
+ * prior occupant. Two clients in the same world-state hit the same
76
+ * index for a given `(alias, workspaceId)`. */
77
+ export declare const computeAliasSeatId: (alias: string, workspaceId: string, index?: number) => string;
78
+ /** Minimal alias-seat row shape the probe needs. `aliases` is the
79
+ * decoded `alias` property; `deleted` is the tombstone flag. */
80
+ export interface AliasSeatRow {
81
+ deleted: boolean;
82
+ aliases: readonly string[];
83
+ }
84
+ /** Read function passed to `resolveAliasSeatId`. Returns the row at
85
+ * `id` (live or tombstoned) or `null` if no row exists. Concrete
86
+ * readers below: `aliasSeatReaderFromTx` (inside ensureAliasTarget,
87
+ * honours read-your-own-writes) and `aliasSeatReaderFromDb`
88
+ * (read-phase of post-commit processors, hits committed state). */
89
+ export type AliasSeatReader = (id: string) => Promise<AliasSeatRow | null>;
90
+ /** Tx-scoped reader: `tx.get` returns the row including tombstones,
91
+ * with codec-encoded properties (we decode the `alias` list here). */
92
+ export declare const aliasSeatReaderFromTx: (tx: Tx) => AliasSeatReader;
93
+ /** Committed-state SQL reader: used by the read phase of post-commit
94
+ * processors that don't hold a tx. Reads `deleted` + `properties_json`
95
+ * directly. Robust to property-JSON parse errors (returns `[]` so the
96
+ * probe treats the slot as "live with different alias" and steps past
97
+ * it — same behavior as a normal row that doesn't claim our alias). */
98
+ export declare const aliasSeatReaderFromDb: (db: ProcessorReadDb) => AliasSeatReader;
99
+ /** Walk indexed-deterministic seat slots for `(alias, workspaceId)`
100
+ * until one of:
101
+ * - empty slot → return that id (caller will insert),
102
+ * - live row claiming `alias` → return that id (reuse / convergence).
103
+ * Skips tombstones and live rows claiming a different alias.
104
+ *
105
+ * Two clients with the same observed world-state probe the same way
106
+ * and land on the same slot — that's the deterministic-id convergence
107
+ * guarantee. Clients with divergent state may pick different slots,
108
+ * but PowerSync convergence + the alias-lookup query handle this
109
+ * case: `block_aliases` is exact-match by alias text, so a second
110
+ * parseReferences pass on either client resolves through the lookup
111
+ * rather than the probe. */
112
+ export declare const resolveAliasSeatId: (read: AliasSeatReader, alias: string, workspaceId: string) => Promise<string>;
113
+ /** Ensure a stub-block seat exists for `alias` in `workspaceId`. The
114
+ * seat is the indexed-deterministic id returned by
115
+ * `resolveAliasSeatId` — NOT a canonical id for "the block named
116
+ * alias". Callers should always lookup-first (a real block claiming
117
+ * the alias has its own id and that's what references should resolve
118
+ * to); this helper is only invoked when the lookup misses, to
119
+ * materialise the stub the reference will point at. Inserts at
120
+ * workspace-root with `content` defaulted to the alias text (so the
121
+ * freshly-materialised page renders with the alias as its title
122
+ * instead of empty); sets `aliases` property to `[alias]` on
123
+ * insert/restore. Steady-state `content !== aliases[0]` is still
124
+ * allowed — any rename produces it — this is just the creation-time
125
+ * default. Returns `{id, inserted}`. */
126
+ export declare const ensureAliasTarget: (tx: Tx, repo: Repo, alias: string, workspaceId: string, typeSnapshot?: TypeRegistrySnapshot) => Promise<{
127
+ id: string;
128
+ inserted: boolean;
129
+ }>;
130
+ //# sourceMappingURL=targets.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"targets.d.ts","sourceRoot":"","sources":["../../../../../../src/data/targets.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AAGH,OAAO,EAEL,KAAK,eAAe,EACpB,KAAK,EAAE,EACP,KAAK,oBAAoB,EAC1B,MAAM,YAAY,CAAA;AACnB,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AAKvC,oBAAoB;AACpB,MAAM,WAAW,mBAAmB;IAClC,EAAE,EAAE,MAAM,CAAA;IACV,WAAW,EAAE,MAAM,CAAA;IACnB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAA;IACvB,QAAQ,EAAE,MAAM,CAAA;IAChB,0CAA0C;IAC1C,YAAY,EAAE,MAAM,CAAA;IACpB;;;;+BAI2B;IAC3B,oBAAoB,CAAC,EAAE,CAAC,EA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3
+ * Three operations user-defined-types Phase 3 composes through:
4
+ *
5
+ * 1. `createTypeBlock(repo, args)` — materialize a fresh
6
+ * `block-type` block on the workspace's Types page with the
7
+ * caller's label + property-schema refList, then wait for
8
+ * `UserTypesService` to publish the contribution into the
9
+ * `typesFacet` user-data bucket. Returns the new block id, which
10
+ * IS the type id (the user-defined-types block-id = type-id rule).
11
+ *
12
+ * 2. `retagBlocks(repo, args)` — apply a type to an explicit list of
13
+ * block ids inside a single tx. Strict per-row existence checks
14
+ * (skips rows that were deleted or moved between caller's query
15
+ * and the tx open).
16
+ *
17
+ * 3. `findCandidatesByPropertyShape(repo, args)` — query primitive
18
+ * for "blocks whose properties bag carries this subset of
19
+ * property names, optionally constrained to specific values."
20
+ * Built on top of `repo.queryBlocks` — no new index needed.
21
+ *
22
+ * The user-facing "Extract type from this block" flow composes these
23
+ * three: the caller (UI) picks the property subset off the prototype,
24
+ * calls `createTypeBlock` to materialize a fresh definition, calls
25
+ * `findCandidatesByPropertyShape` to surface a candidate list, and
26
+ * finally calls `retagBlocks` with the user-confirmed instance ids.
27
+ * The orchestration deliberately stays in the UI layer — the
28
+ * candidate confirmation step is heuristic and the user is the
29
+ * arbiter, so wrapping the three into a single function would force
30
+ * every caller through the same confirmation shape. */
31
+ import type { Repo } from '@/data/repo';
32
+ /** Thrown by `createTypeBlock`'s Phase A→bridge handoff when the
33
+ * `UserTypesService` subscription doesn't publish the new id into
34
+ * `typesFacet`'s user-data bucket within `registrationTimeoutMs`.
35
+ * Realistic cause: `tryBuildType` returned null (the block-type
36
+ * block failed to parse — e.g. a property-schema ref doesn't
37
+ * resolve in the live registry). */
38
+ export declare class TypeRegistrationTimeout extends Error {
39
+ readonly typeBlockId: string;
40
+ readonly typeLabel: string;
41
+ readonly timeoutMs: number;
42
+ constructor(typeBlockId: string, typeLabel: string, timeoutMs: number);
43
+ }
44
+ export interface CreateTypeBlockArgs {
45
+ /** Workspace the new type lives in. Determines parent (the
46
+ * workspace's Types page) and the registry the new id needs to
47
+ * appear in before this function resolves. */
48
+ workspaceId: string;
49
+ /** Human label stamped onto `block-type:label`. Required non-empty
50
+ * — `UserTypesService.tryBuildType` silently drops a block with
51
+ * an empty label, which would surface here as a registration
52
+ * timeout instead of a clear pre-tx error. */
53
+ label: string;
54
+ /** Property-schema block ids the type's panel section surfaces.
55
+ * Each id must resolve to a live property-schema block in the
56
+ * same workspace and be published by `UserSchemasService` —
57
+ * pre-tx validation enforces both invariants, so a stale ref
58
+ * fails fast instead of producing a half-registered type with
59
+ * missing slots. */
60
+ propertySchemaIds: readonly string[];
61
+ /** Caller cancellation signal. Honored before the tx opens, after
62
+ * pre-tx validation reads, and during the bridge wait. */
63
+ signal?: AbortSignal;
64
+ /** Bound on the tx-commit → subscription-publish handoff. Default
65
+ * 10s — long enough to absorb inactive-tab throttling, short
66
+ * enough that a genuinely rejected block surfaces within an
67
+ * interactive UI window. */
68
+ registrationTimeoutMs?: number;
69
+ }
70
+ /** Create a fresh `block-type` block on the workspace's Types page.
71
+ * Returns the new block id (== type id once registered). The
72
+ * returned id is in the live `repo.types` registry by the time the
73
+ * promise resolves. */
74
+ export declare function createTypeBlock(repo: Repo, args: CreateTypeBlockArgs): Promise<string>;
75
+ export interface RetagBlocksArgs {
76
+ /** The type to apply. Must already be registered in `repo.types`. */
77
+ typeId: string;
78
+ /** Block ids to tag. Each is re-checked inside the tx — rows that
79
+ * were deleted or moved between caller's discovery and tx open
80
+ * are silently skipped (no exception). */
81
+ instanceIds: readonly string[];
82
+ signal?: AbortSignal;
83
+ }
84
+ /** Apply `typeId` to every block in `instanceIds` in a single tx.
85
+ * Idempotent per row: `addTypeInTx` no-ops when the type is already
86
+ * present. Throws if `typeId` isn't registered. */
87
+ export declare function retagBlocks(repo: Repo, args: RetagBlocksArgs): Promise<void>;
88
+ export interface PropertyShapeFilter {
89
+ /** Property name that must be set on the candidate. */
90
+ name: string;
91
+ /** Scalar equality filter — the candidate's value at `name` must
92
+ * equal `value` (compared via the schema's where-encoder). Mutually
93
+ * exclusive with `targetIds`; use for non-ref properties. */
94
+ value?: unknown;
95
+ /** Permissive ref / refList match: the candidate's value at `name`
96
+ * must reference EVERY id in `targetIds` (i.e. block's refList must
97
+ * be a superset). Compiled into one `match` predicate per id, each
98
+ * with `referencedBy: {id, sourceField: name}` — multiple ids ANDed.
99
+ *
100
+ * Empty array is treated as no filter (presence-only), same as
101
+ * omitting. Mutually exclusive with `value`. */
102
+ targetIds?: readonly string[];
103
+ }
104
+ export interface FindCandidatesByPropertyShapeArgs {
105
+ workspaceId: string;
106
+ /** Property-name set the candidate must carry. ANDed across the
107
+ * list — every named property must be set on the candidate. An
108
+ * empty array returns every block in the workspace (caller should
109
+ * enforce non-empty if that's not desired). */
110
+ shape: readonly PropertyShapeFilter[];
111
+ /** Block ids to exclude from the candidate set. Typical use: the
112
+ * prototype block the user is extracting FROM (it's already an
113
+ * instance-of-itself; surfacing it as a retag candidate is just
114
+ * noise). */
115
+ exclude?: ReadonlyArray<string>;
116
+ /** Optional candidate cap (defense against pathological matches
117
+ * on broad shapes — "every block that has `createdAt` set"
118
+ * would otherwise return the entire workspace). Default 1000. */
119
+ limit?: number;
120
+ }
121
+ /** Find blocks whose property bag carries every name in `shape`,
122
+ * optionally constrained by per-property equality / ref-target
123
+ * filters. Returns block ids (not full `BlockData`) — callers that
124
+ * need the rows can load them via `repo.load`.
125
+ *
126
+ * Filter semantics (per `PropertyShapeFilter`):
127
+ * - `value === undefined && (!targetIds || targetIds.length === 0)`:
128
+ * presence-only via `where: {[name]: {exists: true}}`.
129
+ * - `value` set: scalar equality via `where: {[name]: value}`.
130
+ * - `targetIds` non-empty: permissive ref / refList match — compiles
131
+ * to one `match` predicate per id with `referencedBy: {id,
132
+ * sourceField: name}`. ANDing these means the candidate's ref(List)
133
+ * at `name` must be a superset of `targetIds` (block can have
134
+ * additional refs). */
135
+ export declare function findCandidatesByPropertyShape(repo: Repo, args: FindCandidatesByPropertyShapeArgs): Promise<readonly string[]>;
136
+ //# sourceMappingURL=typeExtraction.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"typeExtraction.d.ts","sourceRoot":"","sources":["../../../../../../src/data/typeExtraction.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wDA6BwD;AAcxD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AAMvC;;;;;qCAKqC;AACrC,qBAAa,uBAAwB,SAAQ,KAAK;aAE9B,WAAW,EAAE,MAAM;aACnB,SAAS,EAAE,MAAM;aACjB,SAAS,EAAE,MAAM;gBAFjB,WAAW,EAAE,MAAM,EACnB,SAAS,EAAE,MAAM,EACjB,SAAS,EAAE,MAAM;CAWpC;AAID,MAAM,WAAW,mBAAmB;IAClC;;mDAE+C;IAC/C,WAAW,EAAE,MAAM,CAAA;IACnB;;;mDAG+C;IAC/C,KAAK,EAAE,MAAM,CAAA;IACb;;;;;yBAKqB;IACrB,iBAAiB,EAAE,SAAS,MAAM,EAAE,CAAA;IACpC;+DAC2D;IAC3D,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB;;;iCAG6B;IAC7B,qBAAqB,CAAC,EAAE,MAAM,CAAA;CAC/B;AAED;;;wBAGwB;AACxB,wBAAsB,eAAe,CACnC,IAAI,EAAE,IAAI,EACV,IAAI,EAAE,mBAAmB,GACxB,OAAO,CAAC,MAAM,CAAC,CAsHjB;AAID,MAAM,WAAW,eAAe;IAC9B,qEAAqE;IACrE,MAAM,EAAE,MAAM,CAAA;IACd;;+CAE2C;IAC3C,WAAW,EAAE,SAAS,MAAM,EAAE,CAAA;IAC9B,MAAM,CAAC,EAAE,WAAW,CAAA;CACrB;AAED;;oDAEoD;AACpD,wBAAsB,WAAW,CAC/B,IAAI,EAAE,IAAI,EACV,IAAI,EAAE,eAAe,GACpB,OAAO,CAAC,IAAI,CAAC,CAmDf;AAID,MAAM,WAAW,mBAAmB;IAClC,uDAAuD;IACvD,IAAI,EAAE,MAAM,CAAA;IACZ;;kEAE8D;IAC9D,KAAK,CAAC,EAAE,OAAO,CAAA;IACf;;;;;;qDAMiD;IACjD,SAAS,CAAC,EAAE,SAAS,MAAM,EAAE,CAAA;CAC9B;AAED,MAAM,WAAW,iCAAiC;IAChD,WAAW,EAAE,MAAM,CAAA;IACnB;;;oDAGgD;IAChD,KAAK,EAAE,SAAS,mBAAmB,EAAE,CAAA;IACrC;;;kBAGc;IACd,OAAO,CAAC,EAAE,aAAa,CAAC,MAAM,CAAC,CAAA;IAC/B;;sEAEkE;IAClE,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED;;;;;;;;;;;;;2BAa2B;AAC3B,wBAAsB,6BAA6B,CACjD,IAAI,EAAE,IAAI,EACV,IAAI,EAAE,iCAAiC,GACtC,OAAO,CAAC,SAAS,MAAM,EAAE,CAAC,CAmC5B"}
@@ -0,0 +1,8 @@
1
+ /** Types-page bootstrap. Thin wrapper around `getOrCreateKernelPage`
2
+ * with Types-specific args. Each workspace has one Types page;
3
+ * user-defined block-type blocks live as its children. */
4
+ import type { Block } from '@/data/block';
5
+ import type { Repo } from '@/data/repo';
6
+ export declare const typesPageBlockId: (workspaceId: string) => string;
7
+ export declare const getOrCreateTypesPage: (repo: Repo, workspaceId: string) => Promise<Block>;
8
+ //# sourceMappingURL=typesPage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"typesPage.d.ts","sourceRoot":"","sources":["../../../../../../src/data/typesPage.ts"],"names":[],"mappings":"AAAA;;2DAE2D;AAE3D,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AAOvC,eAAO,MAAM,gBAAgB,GAAI,aAAa,MAAM,KAAG,MACR,CAAA;AAE/C,eAAO,MAAM,oBAAoB,GAAI,MAAM,IAAI,EAAE,aAAa,MAAM,KAAG,OAAO,CAAC,KAAK,CAKhF,CAAA"}
@@ -0,0 +1,7 @@
1
+ /** Stable internal namespace for the deterministic id of the root
2
+ * Preferences block. Two clients bootstrapping the same user must
3
+ * agree on this so the rows converge on sync. The block's display
4
+ * content is set separately to "Preferences" by `ensureUserPrefsChild`;
5
+ * the block intentionally carries no type marker. */
6
+ export declare const USER_PREFS_PATH_PART = "user-prefs";
7
+ //# sourceMappingURL=userPrefs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"userPrefs.d.ts","sourceRoot":"","sources":["../../../../../../src/data/userPrefs.ts"],"names":[],"mappings":"AAAA;;;;sDAIsD;AACtD,eAAO,MAAM,oBAAoB,eAAe,CAAA"}
@@ -0,0 +1,73 @@
1
+ /** Reactive bridge between user-defined `'property-schema'` blocks and
2
+ * the `propertySchemasFacet`'s `'user-data'` runtime contribution
3
+ * bucket. See user-defined-properties.md §5 + §7. */
4
+ import { type AnyPropertySchema } from '@/data/api';
5
+ import type { Repo } from '@/data/repo';
6
+ export interface AddSchemaArgs {
7
+ name: string;
8
+ presetId: string;
9
+ /** Caller-supplied config. Runs through `preset.configCodec.decode`
10
+ * for validation. Pass `undefined` to fall back to
11
+ * `preset.defaultConfig` — `null` is a real (typically invalid)
12
+ * value that's passed through to the codec so it can reject. */
13
+ config?: unknown;
14
+ }
15
+ export declare class UserSchemasService {
16
+ private readonly repo;
17
+ /** Single source of truth for the user-data bucket. Both the
18
+ * subscription rebuild and `appendUserSchema` assign to this field
19
+ * and publish via `setRuntimeContributions`. */
20
+ private contributions;
21
+ /** Maps a registered schema's `name` to the property-schema block
22
+ * that materialised it. Lets UI surfaces (e.g. the property panel
23
+ * glyph button) open the schema block in a panel for in-place
24
+ * editing. Built from the same subscription that produces
25
+ * `contributions`, so it's always in sync. */
26
+ private nameToBlockId;
27
+ /** Reverse of `nameToBlockId`: maps a property-schema block id to
28
+ * the schema it resolves to in the runtime bucket. Used by
29
+ * `UserTypesService` to resolve `block-type:properties` refList
30
+ * entries (which carry block ids) to live schema records without
31
+ * peeking the schema block directly — a peek would silently drop
32
+ * refs whose row hasn't been hydrated by BlockCache yet. */
33
+ private blockIdToSchema;
34
+ /** Active block-subscription disposer, set by `start()`. */
35
+ private subscriptionDisposer;
36
+ /** Disposer for the value-preset listener; we re-resolve when
37
+ * presets change (a plugin contributing a new preset id makes
38
+ * previously-skipped schemas resolvable). */
39
+ private presetsListenerDisposer;
40
+ /** Latest blocks list captured by the subscription. Stored so the
41
+ * value-preset change path can re-resolve without a fresh DB read. */
42
+ private latestBlocks;
43
+ constructor(repo: Repo);
44
+ /** Look up the property-schema block id for a registered user-data
45
+ * schema name. Returns undefined for kernel/plugin schemas (which
46
+ * don't have backing blocks) or names that aren't registered. */
47
+ getSchemaBlockId(name: string): string | undefined;
48
+ /** Look up the published user-data schema for a property-schema
49
+ * block id. Returns undefined for blocks that aren't currently
50
+ * materializing a schema — including blocks pending hydration,
51
+ * blocks failing `tryBuildSchema` validation (empty name, unknown
52
+ * preset, invalid config), and ids that simply don't exist. */
53
+ getSchemaForBlockId(blockId: string): AnyPropertySchema | undefined;
54
+ start(): () => void;
55
+ dispose(): void;
56
+ /** Validates a schema block against the current presets and returns
57
+ * the schema if it parses, or null with a logged diagnostic if not.
58
+ * Three skip paths: (1) preset not loaded, (2) name empty,
59
+ * (3) configCodec.decode throws. The block stays in the database
60
+ * untouched; a fix re-runs this on the next subscription tick. */
61
+ private tryBuildSchema;
62
+ /** Synchronously add a user-data schema to the runtime bucket. Used
63
+ * by `addSchema` after persisting the schema block — registers
64
+ * before any dependent property write so the form's "create-then-
65
+ * write-initial-value" flow doesn't race the subscription tick.
66
+ * `blockId` is the property-schema block that produced `schema`. */
67
+ appendUserSchema(schema: AnyPropertySchema, blockId: string): void;
68
+ /** Create a property-schema block in the workspace's Properties
69
+ * page AND register the schema synchronously. Returns the freshly
70
+ * registered schema. */
71
+ addSchema(args: AddSchemaArgs): Promise<AnyPropertySchema>;
72
+ }
73
+ //# sourceMappingURL=userSchemasService.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"userSchemasService.d.ts","sourceRoot":"","sources":["../../../../../../src/data/userSchemasService.ts"],"names":[],"mappings":"AAAA;;sDAEsD;AAEtD,OAAO,EAEL,KAAK,iBAAiB,EAGvB,MAAM,YAAY,CAAA;AAEnB,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AAWvC,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,MAAM,CAAA;IAChB;;;qEAGiE;IACjE,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB;AAED,qBAAa,kBAAkB;IAiCjB,OAAO,CAAC,QAAQ,CAAC,IAAI;IAhCjC;;qDAEiD;IACjD,OAAO,CAAC,aAAa,CAAmC;IAExD;;;;mDAI+C;IAC/C,OAAO,CAAC,aAAa,CAA4B;IAEjD;;;;;iEAK6D;IAC7D,OAAO,CAAC,eAAe,CAAuC;IAE9D,4DAA4D;IAC5D,OAAO,CAAC,oBAAoB,CAA2B;IAEvD;;kDAE8C;IAC9C,OAAO,CAAC,uBAAuB,CAA4B;IAE3D;2EACuE;IACvE,OAAO,CAAC,YAAY,CAAuB;gBAEd,IAAI,EAAE,IAAI;IAEvC;;sEAEkE;IAClE,gBAAgB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS;IAIlD;;;;oEAIgE;IAChE,mBAAmB,CAAC,OAAO,EAAE,MAAM,GAAG,iBAAiB,GAAG,SAAS;IAInE,KAAK,IAAI,MAAM,IAAI;IAoDnB,OAAO,IAAI,IAAI;IAOf;;;;uEAImE;IACnE,OAAO,CAAC,cAAc;IA4CtB;;;;yEAIqE;IACrE,gBAAgB,CAAC,MAAM,EAAE,iBAAiB,EAAE,OAAO,EAAE,MAAM,GAAG,IAAI;IAUlE;;6BAEyB;IACnB,SAAS,CAAC,IAAI,EAAE,aAAa,GAAG,OAAO,CAAC,iBAAiB,CAAC;CAoEjE"}
@@ -0,0 +1,70 @@
1
+ /** Reactive bridge between user-defined `'block-type'` blocks and the
2
+ * `typesFacet`'s `'user-data'` runtime contribution bucket
3
+ * (user-defined-types Phase 1). Mirrors UserSchemasService in shape:
4
+ * subscribe to the meta-type blocks, build TypeContribution[],
5
+ * publish through `repo.setRuntimeContributions`. Re-resolves when
6
+ * the merged propertySchemas map changes (a newly-published schema
7
+ * resolves a previously-dropped block-type:properties ref).
8
+ *
9
+ * Deliberately narrow: NO synchronous-append / withProvisional path.
10
+ * See user-defined-types/design.html §Lessons from PR #50 — callers
11
+ * that need an in-tx dependent on a freshly-registered type use a
12
+ * two-tx flow (commit the type-definition block; wait for the
13
+ * subscription rebuild via `repo.onTypesChange`; then open the
14
+ * dependent tx). */
15
+ import type { Repo } from '@/data/repo';
16
+ import type { UserSchemasService } from '@/data/userSchemasService';
17
+ export declare class UserTypesService {
18
+ private readonly repo;
19
+ private readonly userSchemas;
20
+ /** Source of truth for the user-data bucket on `typesFacet`. */
21
+ private contributions;
22
+ /** Maps a published type id back to the block id that materialised
23
+ * it. Phase 1's type-id-IS-block-id decision makes the key and the
24
+ * value identical for resolved contributions; the map is kept
25
+ * explicit so future UI surfaces (a "navigate to type definition"
26
+ * action) read through a stable accessor. */
27
+ private blockIdByTypeId;
28
+ /** Active block-subscription disposer, set by `start()`. */
29
+ private subscriptionDisposer;
30
+ /** Disposer for the property-schemas listener; we re-resolve when
31
+ * the merged schema map changes so a newly-arriving schema makes
32
+ * previously-dropped `block-type:properties` refs resolvable. */
33
+ private schemasListenerDisposer;
34
+ /** Latest blocks list captured by the subscription. Stored so the
35
+ * schema-change re-resolve can run without a fresh DB read. Reset
36
+ * on dispose so a stale workspace's blocks don't get republished
37
+ * during the cross-workspace handoff. */
38
+ private latestBlocks;
39
+ /** True once the workspace-pinned subscription has delivered its
40
+ * first tick. Gates the schemas-listener rebuild path: between
41
+ * start() and the first subscription emit, `latestBlocks` is
42
+ * guaranteed empty (we just reset it in start), but the gate also
43
+ * prevents an early onPropertySchemasChange — fired by another
44
+ * workspace's userSchemas first publish during the React-effect
45
+ * remount sequence — from re-publishing something we don't own
46
+ * yet. Reset on dispose. */
47
+ private subscriptionPrimed;
48
+ constructor(repo: Repo, userSchemas: UserSchemasService);
49
+ /** Look up the source block id for a published type id. Returns
50
+ * undefined for kernel/plugin types (no backing block) or ids
51
+ * that aren't user-data registered. */
52
+ getTypeBlockId(typeId: string): string | undefined;
53
+ start(): () => void;
54
+ dispose(): void;
55
+ /** Field-wise equality on the contribution list. Element identity
56
+ * isn't useful because tryBuildType creates fresh objects per
57
+ * rebuild; compare the load-bearing fields and check the properties
58
+ * array element-wise (schemas come from UserSchemasService and ARE
59
+ * reused across rebuilds, so reference identity is the right check
60
+ * there). */
61
+ private contributionsEqual;
62
+ /** Build a TypeContribution from a user-authored block-type block.
63
+ * Returns null with a logged diagnostic when the label is empty;
64
+ * silently drops refList entries that don't resolve through
65
+ * `UserSchemasService.getSchemaForBlockId` (those will fill in on
66
+ * the next `onPropertySchemasChange` tick when the missing schema
67
+ * publishes). */
68
+ private tryBuildType;
69
+ }
70
+ //# sourceMappingURL=userTypesService.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"userTypesService.d.ts","sourceRoot":"","sources":["../../../../../../src/data/userTypesService.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;qBAaqB;AAQrB,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAWnE,qBAAa,gBAAgB;IAoCzB,OAAO,CAAC,QAAQ,CAAC,IAAI;IACrB,OAAO,CAAC,QAAQ,CAAC,WAAW;IApC9B,gEAAgE;IAChE,OAAO,CAAC,aAAa,CAAkC;IAEvD;;;;kDAI8C;IAC9C,OAAO,CAAC,eAAe,CAA4B;IAEnD,4DAA4D;IAC5D,OAAO,CAAC,oBAAoB,CAA2B;IAEvD;;sEAEkE;IAClE,OAAO,CAAC,uBAAuB,CAA4B;IAE3D;;;8CAG0C;IAC1C,OAAO,CAAC,YAAY,CAAuB;IAE3C;;;;;;;iCAO6B;IAC7B,OAAO,CAAC,kBAAkB,CAAQ;gBAGf,IAAI,EAAE,IAAI,EACV,WAAW,EAAE,kBAAkB;IAGlD;;4CAEwC;IACxC,cAAc,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS;IAIlD,KAAK,IAAI,MAAM,IAAI;IAkEnB,OAAO,IAAI,IAAI;IAiBf;;;;;kBAKc;IACd,OAAO,CAAC,kBAAkB;IAmB1B;;;;;sBAKkB;IAClB,OAAO,CAAC,YAAY;CAqBrB"}
@@ -0,0 +1,49 @@
1
+ import type { PendingStatementParameter } from '@powersync/web';
2
+ import type { Workspace, WorkspaceMembership } from '@/types';
3
+ type ColumnDef = {
4
+ readonly name: string;
5
+ readonly definition: string;
6
+ };
7
+ export interface WorkspaceRow {
8
+ id: string;
9
+ name: string;
10
+ owner_user_id: string;
11
+ create_time: number;
12
+ update_time: number;
13
+ }
14
+ export declare const WORKSPACE_COLUMNS: readonly ColumnDef[];
15
+ export declare const CREATE_WORKSPACES_TABLE_SQL: string;
16
+ export declare const WORKSPACES_RAW_TABLE: {
17
+ put: {
18
+ sql: string;
19
+ params: PendingStatementParameter[];
20
+ };
21
+ delete: {
22
+ sql: string;
23
+ params: "Id"[];
24
+ };
25
+ };
26
+ export declare const parseWorkspaceRow: (row: WorkspaceRow) => Workspace;
27
+ export interface WorkspaceMemberRow {
28
+ id: string;
29
+ workspace_id: string;
30
+ user_id: string;
31
+ role: string;
32
+ create_time: number;
33
+ }
34
+ export declare const WORKSPACE_MEMBER_COLUMNS: readonly ColumnDef[];
35
+ export declare const CREATE_WORKSPACE_MEMBERS_TABLE_SQL: string;
36
+ export declare const CREATE_WORKSPACE_MEMBERS_INDEX_SQL = "\n CREATE INDEX IF NOT EXISTS idx_workspace_members_user_id\n ON workspace_members (user_id)\n";
37
+ export declare const WORKSPACE_MEMBERS_RAW_TABLE: {
38
+ put: {
39
+ sql: string;
40
+ params: PendingStatementParameter[];
41
+ };
42
+ delete: {
43
+ sql: string;
44
+ params: "Id"[];
45
+ };
46
+ };
47
+ export declare const parseWorkspaceMemberRow: (row: WorkspaceMemberRow) => WorkspaceMembership;
48
+ export {};
49
+ //# sourceMappingURL=workspaceSchema.d.ts.map