obsidian-dev-utils 19.1.2-beta.2 → 19.1.2-beta.4

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 (275) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/dist/lib/cjs/Debug.d.cts +1 -1
  3. package/dist/lib/cjs/Library.cjs +1 -1
  4. package/dist/lib/cjs/ScriptUtils/CliUtils.d.cts +1 -1
  5. package/dist/lib/cjs/ScriptUtils/ESLint/index.d.cts +2 -2
  6. package/dist/lib/cjs/ScriptUtils/Fs.d.cts +1 -1
  7. package/dist/lib/cjs/ScriptUtils/JSON.d.cts +1 -1
  8. package/dist/lib/cjs/ScriptUtils/Npm.d.cts +1 -1
  9. package/dist/lib/cjs/ScriptUtils/Root.d.cts +1 -1
  10. package/dist/lib/cjs/ScriptUtils/esbuild/ObsidianPluginBuilder.d.cts +1 -1
  11. package/dist/lib/cjs/ScriptUtils/esbuild/index.d.cts +9 -9
  12. package/dist/lib/cjs/ScriptUtils/index.d.cts +17 -17
  13. package/dist/lib/cjs/String.d.cts +1 -1
  14. package/dist/lib/cjs/Transformers/DateTransformer.d.cts +1 -1
  15. package/dist/lib/cjs/Transformers/DurationTransformer.d.cts +1 -1
  16. package/dist/lib/cjs/Transformers/GroupTransformer.d.cts +1 -1
  17. package/dist/lib/cjs/Transformers/SkipPrivatePropertyTransformer.d.cts +1 -1
  18. package/dist/lib/cjs/Transformers/TypedTransformer.d.cts +1 -1
  19. package/dist/lib/cjs/Transformers/index.d.cts +6 -6
  20. package/dist/lib/cjs/ValueProvider.d.cts +1 -1
  21. package/dist/lib/cjs/codemirror/index.d.cts +1 -1
  22. package/dist/lib/cjs/index.d.cts +20 -20
  23. package/dist/lib/cjs/obsidian/@types/Dataview/api/data-array.d.cts +1 -1
  24. package/dist/lib/cjs/obsidian/@types/Dataview/api/extensions.d.cts +1 -1
  25. package/dist/lib/cjs/obsidian/@types/Dataview/api/inline-api.d.cts +9 -9
  26. package/dist/lib/cjs/obsidian/@types/Dataview/api/plugin-api.d.cts +10 -10
  27. package/dist/lib/cjs/obsidian/@types/Dataview/data-import/csv.d.cts +1 -1
  28. package/dist/lib/cjs/obsidian/@types/Dataview/data-import/inline-field.d.cts +1 -1
  29. package/dist/lib/cjs/obsidian/@types/Dataview/data-import/markdown-file.d.cts +3 -3
  30. package/dist/lib/cjs/obsidian/@types/Dataview/data-import/persister.d.cts +1 -1
  31. package/dist/lib/cjs/obsidian/@types/Dataview/data-import/web-worker/import-impl.d.cts +1 -1
  32. package/dist/lib/cjs/obsidian/@types/Dataview/data-index/index.d.cts +5 -5
  33. package/dist/lib/cjs/obsidian/@types/Dataview/data-index/resolver.d.cts +4 -4
  34. package/dist/lib/cjs/obsidian/@types/Dataview/data-model/markdown.d.cts +4 -4
  35. package/dist/lib/cjs/obsidian/@types/Dataview/data-model/serialized/markdown.d.cts +1 -1
  36. package/dist/lib/cjs/obsidian/@types/Dataview/data-model/value.d.cts +1 -1
  37. package/dist/lib/cjs/obsidian/@types/Dataview/expression/binaryop.d.cts +4 -4
  38. package/dist/lib/cjs/obsidian/@types/Dataview/expression/context.d.cts +6 -6
  39. package/dist/lib/cjs/obsidian/@types/Dataview/expression/field.d.cts +1 -1
  40. package/dist/lib/cjs/obsidian/@types/Dataview/expression/functions.d.cts +3 -3
  41. package/dist/lib/cjs/obsidian/@types/Dataview/expression/parse.d.cts +4 -4
  42. package/dist/lib/cjs/obsidian/@types/Dataview/index.d.cts +11 -11
  43. package/dist/lib/cjs/obsidian/@types/Dataview/main.d.cts +4 -4
  44. package/dist/lib/cjs/obsidian/@types/Dataview/query/engine.d.cts +9 -9
  45. package/dist/lib/cjs/obsidian/@types/Dataview/query/parse.d.cts +4 -4
  46. package/dist/lib/cjs/obsidian/@types/Dataview/query/query.d.cts +2 -2
  47. package/dist/lib/cjs/obsidian/@types/Dataview/typings/obsidian-ex.d.cts +1 -1
  48. package/dist/lib/cjs/obsidian/@types/Dataview/ui/export/markdown.d.cts +3 -3
  49. package/dist/lib/cjs/obsidian/@types/Dataview/ui/lp-render.d.cts +3 -3
  50. package/dist/lib/cjs/obsidian/@types/Dataview/ui/markdown.d.cts +3 -3
  51. package/dist/lib/cjs/obsidian/@types/Dataview/ui/refreshable-view.d.cts +2 -2
  52. package/dist/lib/cjs/obsidian/@types/Dataview/ui/render.d.cts +2 -2
  53. package/dist/lib/cjs/obsidian/@types/Dataview/ui/views/calendar-view.d.cts +4 -4
  54. package/dist/lib/cjs/obsidian/@types/Dataview/ui/views/inline-field-live-preview.d.cts +2 -2
  55. package/dist/lib/cjs/obsidian/@types/Dataview/ui/views/inline-view.d.cts +4 -4
  56. package/dist/lib/cjs/obsidian/@types/Dataview/ui/views/js-view.d.cts +2 -2
  57. package/dist/lib/cjs/obsidian/@types/Dataview/ui/views/list-view.d.cts +3 -3
  58. package/dist/lib/cjs/obsidian/@types/Dataview/ui/views/table-view.d.cts +3 -3
  59. package/dist/lib/cjs/obsidian/@types/Dataview/ui/views/task-view.d.cts +4 -4
  60. package/dist/lib/cjs/obsidian/@types/Dataview/util/media.d.cts +1 -1
  61. package/dist/lib/cjs/obsidian/@types/Dataview/util/normalize.d.cts +2 -2
  62. package/dist/lib/cjs/obsidian/AttachmentPath.d.cts +1 -1
  63. package/dist/lib/cjs/obsidian/Backlink.d.cts +2 -2
  64. package/dist/lib/cjs/obsidian/Callout.d.cts +2 -2
  65. package/dist/lib/cjs/obsidian/Components/DateComponent.d.cts +1 -1
  66. package/dist/lib/cjs/obsidian/Components/DateTimeComponent.d.cts +1 -1
  67. package/dist/lib/cjs/obsidian/Components/EmailComponent.d.cts +1 -1
  68. package/dist/lib/cjs/obsidian/Components/FileComponent.d.cts +1 -1
  69. package/dist/lib/cjs/obsidian/Components/MonthComponent.d.cts +1 -1
  70. package/dist/lib/cjs/obsidian/Components/MultipleDropdownComponent.d.cts +5 -5
  71. package/dist/lib/cjs/obsidian/Components/MultipleEmailComponent.d.cts +1 -1
  72. package/dist/lib/cjs/obsidian/Components/MultipleFileComponent.d.cts +1 -1
  73. package/dist/lib/cjs/obsidian/Components/MultipleTextComponent.d.cts +5 -5
  74. package/dist/lib/cjs/obsidian/Components/NumberComponent.d.cts +1 -1
  75. package/dist/lib/cjs/obsidian/Components/TimeComponent.d.cts +1 -1
  76. package/dist/lib/cjs/obsidian/Components/TypedRangeTextComponent.d.cts +1 -1
  77. package/dist/lib/cjs/obsidian/Components/TypedTextComponent.d.cts +6 -6
  78. package/dist/lib/cjs/obsidian/Components/UrlComponent.d.cts +1 -1
  79. package/dist/lib/cjs/obsidian/Components/ValidatorComponent.d.cts +1 -1
  80. package/dist/lib/cjs/obsidian/Components/ValueComponentWithChangeTracking.d.cts +2 -2
  81. package/dist/lib/cjs/obsidian/Components/WeekComponent.d.cts +1 -1
  82. package/dist/lib/cjs/obsidian/Components/index.d.cts +17 -17
  83. package/dist/lib/cjs/obsidian/Dataview.d.cts +6 -6
  84. package/dist/lib/cjs/obsidian/DataviewLink.d.cts +2 -2
  85. package/dist/lib/cjs/obsidian/FileChange.d.cts +3 -3
  86. package/dist/lib/cjs/obsidian/FileManager.d.cts +4 -4
  87. package/dist/lib/cjs/obsidian/Link.d.cts +3 -3
  88. package/dist/lib/cjs/obsidian/Logger.d.cts +1 -1
  89. package/dist/lib/cjs/obsidian/Loop.d.cts +1 -1
  90. package/dist/lib/cjs/obsidian/MarkdownCodeBlockProcessor.d.cts +1 -1
  91. package/dist/lib/cjs/obsidian/MetadataCache.d.cts +3 -3
  92. package/dist/lib/cjs/obsidian/Modals/ModalBase.d.cts +1 -1
  93. package/dist/lib/cjs/obsidian/Modals/Prompt.d.cts +2 -2
  94. package/dist/lib/cjs/obsidian/Modals/index.d.cts +5 -5
  95. package/dist/lib/cjs/obsidian/Plugin/EmptySettings.d.cts +1 -1
  96. package/dist/lib/cjs/obsidian/Plugin/PluginBase.d.cts +3 -3
  97. package/dist/lib/cjs/obsidian/Plugin/PluginSettingsBase.d.cts +1 -1
  98. package/dist/lib/cjs/obsidian/Plugin/PluginSettingsTabBase.d.cts +5 -5
  99. package/dist/lib/cjs/obsidian/Plugin/index.d.cts +8 -8
  100. package/dist/lib/cjs/obsidian/Queue.d.cts +1 -1
  101. package/dist/lib/cjs/obsidian/Reference.d.cts +1 -1
  102. package/dist/lib/cjs/obsidian/SettingEx.d.cts +13 -13
  103. package/dist/lib/cjs/obsidian/Vault.d.cts +3 -3
  104. package/dist/lib/cjs/obsidian/VaultEx.d.cts +1 -1
  105. package/dist/lib/cjs/obsidian/index.d.cts +29 -29
  106. package/dist/lib/esm/@types/debug.d.mts +16 -1
  107. package/dist/lib/esm/Async.d.mts +153 -1
  108. package/dist/lib/esm/Blob.d.mts +40 -1
  109. package/dist/lib/esm/CssClass.d.mts +97 -1
  110. package/dist/lib/esm/Debug.d.mts +41 -1
  111. package/dist/lib/esm/DebugController.d.mts +85 -1
  112. package/dist/lib/esm/Enum.d.mts +20 -1
  113. package/dist/lib/esm/Error.d.mts +45 -1
  114. package/dist/lib/esm/Function.d.mts +28 -1
  115. package/dist/lib/esm/HTMLElement.d.mts +49 -1
  116. package/dist/lib/esm/Library.d.mts +16 -1
  117. package/dist/lib/esm/Library.mjs +1 -1
  118. package/dist/lib/esm/Object.d.mts +211 -1
  119. package/dist/lib/esm/Path.d.mts +133 -1
  120. package/dist/lib/esm/RegExp.d.mts +18 -1
  121. package/dist/lib/esm/ScriptUtils/CliUtils.d.mts +70 -1
  122. package/dist/lib/esm/ScriptUtils/CodeGenerator.d.mts +12 -1
  123. package/dist/lib/esm/ScriptUtils/ESLint/@types/@guardian__eslint-plugin-tsdoc-required.d.mts +13 -1
  124. package/dist/lib/esm/ScriptUtils/ESLint/@types/eslint-plugin-modules-newlines.d.mts +13 -1
  125. package/dist/lib/esm/ScriptUtils/ESLint/@types/eslint-plugin-verify-tsdoc.d.mts +13 -1
  126. package/dist/lib/esm/ScriptUtils/ESLint/ESLint.d.mts +13 -1
  127. package/dist/lib/esm/ScriptUtils/ESLint/eslint.config.d.mts +16 -1
  128. package/dist/lib/esm/ScriptUtils/ESLint/index.d.mts +2 -1
  129. package/dist/lib/esm/ScriptUtils/Exec.d.mts +83 -1
  130. package/dist/lib/esm/ScriptUtils/Fs.d.mts +72 -1
  131. package/dist/lib/esm/ScriptUtils/JSON.d.mts +64 -1
  132. package/dist/lib/esm/ScriptUtils/NodeModules.d.mts +14 -1
  133. package/dist/lib/esm/ScriptUtils/Npm.d.mts +151 -1
  134. package/dist/lib/esm/ScriptUtils/NpmPublish.d.mts +9 -1
  135. package/dist/lib/esm/ScriptUtils/ObsidianDevUtilsRepoPaths.d.mts +106 -1
  136. package/dist/lib/esm/ScriptUtils/Root.d.mts +67 -1
  137. package/dist/lib/esm/ScriptUtils/build.d.mts +41 -1
  138. package/dist/lib/esm/ScriptUtils/cli.d.mts +14 -1
  139. package/dist/lib/esm/ScriptUtils/esbuild/Dependency.d.mts +18 -1
  140. package/dist/lib/esm/ScriptUtils/esbuild/ObsidianPluginBuilder.d.mts +53 -1
  141. package/dist/lib/esm/ScriptUtils/esbuild/changeExtensionPlugin.d.mts +12 -1
  142. package/dist/lib/esm/ScriptUtils/esbuild/copyToObsidianPluginsFolderPlugin.d.mts +18 -1
  143. package/dist/lib/esm/ScriptUtils/esbuild/fixEsmPlugin.d.mts +11 -1
  144. package/dist/lib/esm/ScriptUtils/esbuild/fixSourceMapsPlugin.d.mts +17 -1
  145. package/dist/lib/esm/ScriptUtils/esbuild/index.d.mts +9 -1
  146. package/dist/lib/esm/ScriptUtils/esbuild/preprocessPlugin.d.mts +23 -1
  147. package/dist/lib/esm/ScriptUtils/esbuild/renameCssPlugin.d.mts +8 -1
  148. package/dist/lib/esm/ScriptUtils/esbuild/svelteWrapperPlugin.d.mts +8 -1
  149. package/dist/lib/esm/ScriptUtils/format.d.mts +10 -1
  150. package/dist/lib/esm/ScriptUtils/index.d.mts +17 -1
  151. package/dist/lib/esm/ScriptUtils/spellcheck.d.mts +14 -1
  152. package/dist/lib/esm/ScriptUtils/version.d.mts +171 -1
  153. package/dist/lib/esm/String.d.mts +138 -1
  154. package/dist/lib/esm/Transformers/DateTransformer.d.mts +35 -1
  155. package/dist/lib/esm/Transformers/DurationTransformer.d.mts +34 -1
  156. package/dist/lib/esm/Transformers/GroupTransformer.d.mts +65 -1
  157. package/dist/lib/esm/Transformers/SkipPrivatePropertyTransformer.d.mts +32 -1
  158. package/dist/lib/esm/Transformers/Transformer.d.mts +67 -1
  159. package/dist/lib/esm/Transformers/TypedTransformer.d.mts +37 -1
  160. package/dist/lib/esm/Transformers/index.d.mts +6 -1
  161. package/dist/lib/esm/ValueProvider.d.mts +22 -1
  162. package/dist/lib/esm/codemirror/StateFieldSpec.d.mts +68 -1
  163. package/dist/lib/esm/codemirror/index.d.mts +1 -1
  164. package/dist/lib/esm/index.d.mts +20 -1
  165. package/dist/lib/esm/obsidian/@types/Dataview/api/data-array.d.mts +136 -1
  166. package/dist/lib/esm/obsidian/@types/Dataview/api/extensions.d.mts +15 -1
  167. package/dist/lib/esm/obsidian/@types/Dataview/api/inline-api.d.mts +186 -1
  168. package/dist/lib/esm/obsidian/@types/Dataview/api/plugin-api.d.mts +209 -1
  169. package/dist/lib/esm/obsidian/@types/Dataview/api/result.d.mts +38 -1
  170. package/dist/lib/esm/obsidian/@types/Dataview/data-import/common.d.mts +3 -1
  171. package/dist/lib/esm/obsidian/@types/Dataview/data-import/csv.d.mts +3 -1
  172. package/dist/lib/esm/obsidian/@types/Dataview/data-import/inline-field.d.mts +42 -1
  173. package/dist/lib/esm/obsidian/@types/Dataview/data-import/markdown-file.d.mts +52 -1
  174. package/dist/lib/esm/obsidian/@types/Dataview/data-import/persister.d.mts +32 -1
  175. package/dist/lib/esm/obsidian/@types/Dataview/data-import/web-worker/import-entry.d.mts +1 -1
  176. package/dist/lib/esm/obsidian/@types/Dataview/data-import/web-worker/import-impl.d.mts +6 -1
  177. package/dist/lib/esm/obsidian/@types/Dataview/data-import/web-worker/import-manager.d.mts +37 -1
  178. package/dist/lib/esm/obsidian/@types/Dataview/data-index/index.d.mts +186 -1
  179. package/dist/lib/esm/obsidian/@types/Dataview/data-index/resolver.d.mts +23 -1
  180. package/dist/lib/esm/obsidian/@types/Dataview/data-index/source.d.mts +71 -1
  181. package/dist/lib/esm/obsidian/@types/Dataview/data-model/markdown.d.mts +115 -1
  182. package/dist/lib/esm/obsidian/@types/Dataview/data-model/serialized/markdown.d.mts +106 -1
  183. package/dist/lib/esm/obsidian/@types/Dataview/data-model/transferable.d.mts +7 -1
  184. package/dist/lib/esm/obsidian/@types/Dataview/data-model/value.d.mts +175 -1
  185. package/dist/lib/esm/obsidian/@types/Dataview/expression/binaryop.d.mts +43 -1
  186. package/dist/lib/esm/obsidian/@types/Dataview/expression/context.d.mts +49 -1
  187. package/dist/lib/esm/obsidian/@types/Dataview/expression/field.d.mts +82 -1
  188. package/dist/lib/esm/obsidian/@types/Dataview/expression/functions.d.mts +149 -1
  189. package/dist/lib/esm/obsidian/@types/Dataview/expression/parse.d.mts +163 -1
  190. package/dist/lib/esm/obsidian/@types/Dataview/index.d.mts +55 -1
  191. package/dist/lib/esm/obsidian/@types/Dataview/main.d.mts +52 -1
  192. package/dist/lib/esm/obsidian/@types/Dataview/query/engine.d.mts +103 -1
  193. package/dist/lib/esm/obsidian/@types/Dataview/query/parse.d.mts +44 -1
  194. package/dist/lib/esm/obsidian/@types/Dataview/query/query.d.mts +95 -1
  195. package/dist/lib/esm/obsidian/@types/Dataview/settings.d.mts +60 -1
  196. package/dist/lib/esm/obsidian/@types/Dataview/typings/obsidian-ex.d.mts +28 -1
  197. package/dist/lib/esm/obsidian/@types/Dataview/typings/workers.d.mts +4 -1
  198. package/dist/lib/esm/obsidian/@types/Dataview/ui/export/markdown.d.mts +15 -1
  199. package/dist/lib/esm/obsidian/@types/Dataview/ui/lp-render.d.mts +37 -1
  200. package/dist/lib/esm/obsidian/@types/Dataview/ui/markdown.d.mts +86 -1
  201. package/dist/lib/esm/obsidian/@types/Dataview/ui/refreshable-view.d.mts +18 -1
  202. package/dist/lib/esm/obsidian/@types/Dataview/ui/render.d.mts +33 -1
  203. package/dist/lib/esm/obsidian/@types/Dataview/ui/views/calendar-view.d.mts +17 -1
  204. package/dist/lib/esm/obsidian/@types/Dataview/ui/views/inline-field-live-preview.d.mts +42 -1
  205. package/dist/lib/esm/obsidian/@types/Dataview/ui/views/inline-view.d.mts +28 -1
  206. package/dist/lib/esm/obsidian/@types/Dataview/ui/views/js-view.d.mts +23 -1
  207. package/dist/lib/esm/obsidian/@types/Dataview/ui/views/list-view.d.mts +25 -1
  208. package/dist/lib/esm/obsidian/@types/Dataview/ui/views/table-view.d.mts +28 -1
  209. package/dist/lib/esm/obsidian/@types/Dataview/ui/views/task-view.d.mts +51 -1
  210. package/dist/lib/esm/obsidian/@types/Dataview/util/hash.d.mts +1 -1
  211. package/dist/lib/esm/obsidian/@types/Dataview/util/locale.d.mts +2 -1
  212. package/dist/lib/esm/obsidian/@types/Dataview/util/media.d.mts +6 -1
  213. package/dist/lib/esm/obsidian/@types/Dataview/util/normalize.d.mts +44 -1
  214. package/dist/lib/esm/obsidian/App.d.mts +30 -1
  215. package/dist/lib/esm/obsidian/AttachmentPath.d.mts +54 -1
  216. package/dist/lib/esm/obsidian/Backlink.d.mts +60 -1
  217. package/dist/lib/esm/obsidian/Callout.d.mts +55 -1
  218. package/dist/lib/esm/obsidian/Components/DateComponent.d.mts +36 -1
  219. package/dist/lib/esm/obsidian/Components/DateTimeComponent.d.mts +36 -1
  220. package/dist/lib/esm/obsidian/Components/EmailComponent.d.mts +29 -1
  221. package/dist/lib/esm/obsidian/Components/FileComponent.d.mts +41 -1
  222. package/dist/lib/esm/obsidian/Components/MonthComponent.d.mts +49 -1
  223. package/dist/lib/esm/obsidian/Components/MultipleDropdownComponent.d.mts +73 -1
  224. package/dist/lib/esm/obsidian/Components/MultipleEmailComponent.d.mts +36 -1
  225. package/dist/lib/esm/obsidian/Components/MultipleFileComponent.d.mts +41 -1
  226. package/dist/lib/esm/obsidian/Components/MultipleTextComponent.d.mts +67 -1
  227. package/dist/lib/esm/obsidian/Components/NumberComponent.d.mts +29 -1
  228. package/dist/lib/esm/obsidian/Components/TimeComponent.d.mts +37 -1
  229. package/dist/lib/esm/obsidian/Components/TypedRangeTextComponent.d.mts +31 -1
  230. package/dist/lib/esm/obsidian/Components/TypedTextComponent.d.mts +84 -1
  231. package/dist/lib/esm/obsidian/Components/UrlComponent.d.mts +29 -1
  232. package/dist/lib/esm/obsidian/Components/ValidatorComponent.d.mts +22 -1
  233. package/dist/lib/esm/obsidian/Components/ValueComponentWithChangeTracking.d.mts +17 -1
  234. package/dist/lib/esm/obsidian/Components/WeekComponent.d.mts +49 -1
  235. package/dist/lib/esm/obsidian/Components/index.d.mts +17 -1
  236. package/dist/lib/esm/obsidian/Dataview.d.mts +215 -1
  237. package/dist/lib/esm/obsidian/DataviewLink.d.mts +23 -1
  238. package/dist/lib/esm/obsidian/FileChange.d.mts +68 -1
  239. package/dist/lib/esm/obsidian/FileManager.d.mts +38 -1
  240. package/dist/lib/esm/obsidian/FileSystem.d.mts +185 -1
  241. package/dist/lib/esm/obsidian/Frontmatter.d.mts +69 -1
  242. package/dist/lib/esm/obsidian/Link.d.mts +366 -1
  243. package/dist/lib/esm/obsidian/Logger.d.mts +13 -1
  244. package/dist/lib/esm/obsidian/Loop.d.mts +36 -1
  245. package/dist/lib/esm/obsidian/Markdown.d.mts +24 -1
  246. package/dist/lib/esm/obsidian/MarkdownCodeBlockProcessor.d.mts +23 -1
  247. package/dist/lib/esm/obsidian/MarkdownView.d.mts +12 -1
  248. package/dist/lib/esm/obsidian/MetadataCache.d.mts +87 -1
  249. package/dist/lib/esm/obsidian/Modals/Alert.d.mts +39 -1
  250. package/dist/lib/esm/obsidian/Modals/Confirm.d.mts +43 -1
  251. package/dist/lib/esm/obsidian/Modals/ModalBase.d.mts +35 -1
  252. package/dist/lib/esm/obsidian/Modals/Prompt.d.mts +50 -1
  253. package/dist/lib/esm/obsidian/Modals/SelectItem.d.mts +41 -1
  254. package/dist/lib/esm/obsidian/Modals/index.d.mts +5 -1
  255. package/dist/lib/esm/obsidian/ObsidianSettings.d.mts +17 -1
  256. package/dist/lib/esm/obsidian/Pdf.d.mts +24 -1
  257. package/dist/lib/esm/obsidian/Plugin/EmptySettings.d.mts +14 -1
  258. package/dist/lib/esm/obsidian/Plugin/ObsidianPluginRepoPaths.d.mts +53 -1
  259. package/dist/lib/esm/obsidian/Plugin/Plugin.d.mts +21 -1
  260. package/dist/lib/esm/obsidian/Plugin/PluginBase.d.mts +108 -1
  261. package/dist/lib/esm/obsidian/Plugin/PluginContext.d.mts +12 -1
  262. package/dist/lib/esm/obsidian/Plugin/PluginId.d.mts +20 -1
  263. package/dist/lib/esm/obsidian/Plugin/PluginSettingsBase.d.mts +31 -1
  264. package/dist/lib/esm/obsidian/Plugin/PluginSettingsTabBase.d.mts +99 -1
  265. package/dist/lib/esm/obsidian/Plugin/index.d.mts +8 -1
  266. package/dist/lib/esm/obsidian/Queue.d.mts +30 -1
  267. package/dist/lib/esm/obsidian/Reference.d.mts +21 -1
  268. package/dist/lib/esm/obsidian/RenameDeleteHandler.d.mts +49 -1
  269. package/dist/lib/esm/obsidian/ResourceUrl.d.mts +14 -1
  270. package/dist/lib/esm/obsidian/SettingEx.d.mts +124 -1
  271. package/dist/lib/esm/obsidian/Vault.d.mts +130 -1
  272. package/dist/lib/esm/obsidian/VaultEx.d.mts +27 -1
  273. package/dist/lib/esm/obsidian/index.d.mts +29 -1
  274. package/dist/lib/esm/url.d.mts +11 -1
  275. package/package.json +1 -1
@@ -1 +1,163 @@
1
- export * from '../../../../../cjs/obsidian/@types/Dataview/expression/parse.cjs';
1
+ import type {
2
+ DateTime,
3
+ Duration
4
+ } from 'luxon';
5
+ import * as P from 'parsimmon';
6
+ import type { Result } from '../api/result.d.d.mts';
7
+ import type {
8
+ CsvSource,
9
+ FolderSource,
10
+ NegatedSource,
11
+ Source,
12
+ TagSource
13
+ } from '../data-index/source.d.d.mts';
14
+ import type {
15
+ Link,
16
+ Literal
17
+ } from '../data-model/value.d.d.mts';
18
+ import type {
19
+ BinaryOp,
20
+ Field,
21
+ LambdaField,
22
+ ListField,
23
+ LiteralField,
24
+ ObjectField,
25
+ VariableField
26
+ } from './field.d.d.mts';
27
+ /** Provides a lookup table for unit durations of the given type. */
28
+ export declare const DURATION_TYPES: {
29
+ year: Duration;
30
+ years: Duration;
31
+ yr: Duration;
32
+ yrs: Duration;
33
+ month: Duration;
34
+ months: Duration;
35
+ mo: Duration;
36
+ mos: Duration;
37
+ week: Duration;
38
+ weeks: Duration;
39
+ wk: Duration;
40
+ wks: Duration;
41
+ w: Duration;
42
+ day: Duration;
43
+ days: Duration;
44
+ d: Duration;
45
+ hour: Duration;
46
+ hours: Duration;
47
+ hr: Duration;
48
+ hrs: Duration;
49
+ h: Duration;
50
+ minute: Duration;
51
+ minutes: Duration;
52
+ min: Duration;
53
+ mins: Duration;
54
+ m: Duration;
55
+ second: Duration;
56
+ seconds: Duration;
57
+ sec: Duration;
58
+ secs: Duration;
59
+ s: Duration;
60
+ };
61
+ /** Shorthand for common dates (relative to right now). */
62
+ export declare const DATE_SHORTHANDS: {
63
+ now: () => DateTime;
64
+ today: () => DateTime;
65
+ yesterday: () => DateTime;
66
+ tomorrow: () => DateTime;
67
+ sow: () => DateTime;
68
+ 'start-of-week': () => DateTime;
69
+ eow: () => DateTime;
70
+ 'end-of-week': () => DateTime;
71
+ soy: () => DateTime;
72
+ 'start-of-year': () => DateTime;
73
+ eoy: () => DateTime;
74
+ 'end-of-year': () => DateTime;
75
+ som: () => DateTime;
76
+ 'start-of-month': () => DateTime;
77
+ eom: () => DateTime;
78
+ 'end-of-month': () => DateTime;
79
+ };
80
+ /**
81
+ * Keywords which cannot be used as variables directly. Use `row.<thing>` if it is a variable you have defined and want
82
+ * to access.
83
+ */
84
+ export declare const KEYWORDS: string[];
85
+ /** Attempt to parse the inside of a link to pull out display name, subpath, etc. */
86
+ export declare function parseInnerLink(rawlink: string): Link;
87
+ /** Create a left-associative binary parser which parses the given sub-element and separator. Handles whitespace. */
88
+ export declare function createBinaryParser<T, U>(child: P.Parser<T>, sep: P.Parser<U>, combine: (a: T, b: U, c: T) => T): P.Parser<T>;
89
+ export declare function chainOpt<T>(base: P.Parser<T>, ...funcs: ((r: T) => P.Parser<T>)[]): P.Parser<T>;
90
+ export type PostfixFragment = {
91
+ type: 'dot';
92
+ field: string;
93
+ } | {
94
+ type: 'index';
95
+ field: Field;
96
+ } | {
97
+ type: 'function';
98
+ fields: Field[];
99
+ };
100
+ export interface ExpressionLanguage {
101
+ number: number;
102
+ string: string;
103
+ escapeCharacter: string;
104
+ bool: boolean;
105
+ tag: string;
106
+ identifier: string;
107
+ link: Link;
108
+ embedLink: Link;
109
+ rootDate: DateTime;
110
+ dateShorthand: keyof typeof DATE_SHORTHANDS;
111
+ date: DateTime;
112
+ datePlus: DateTime;
113
+ durationType: keyof typeof DURATION_TYPES;
114
+ duration: Duration;
115
+ rawNull: string;
116
+ binaryPlusMinus: BinaryOp;
117
+ binaryMulDiv: BinaryOp;
118
+ binaryCompareOp: BinaryOp;
119
+ binaryBooleanOp: BinaryOp;
120
+ tagSource: TagSource;
121
+ csvSource: CsvSource;
122
+ folderSource: FolderSource;
123
+ parensSource: Source;
124
+ atomSource: Source;
125
+ linkIncomingSource: Source;
126
+ linkOutgoingSource: Source;
127
+ negateSource: NegatedSource;
128
+ binaryOpSource: Source;
129
+ source: Source;
130
+ variableField: VariableField;
131
+ numberField: LiteralField;
132
+ boolField: LiteralField;
133
+ stringField: LiteralField;
134
+ dateField: LiteralField;
135
+ durationField: LiteralField;
136
+ linkField: LiteralField;
137
+ nullField: LiteralField;
138
+ listField: ListField;
139
+ objectField: ObjectField;
140
+ atomInlineField: Literal;
141
+ inlineFieldList: Literal[];
142
+ inlineField: Literal;
143
+ negatedField: Field;
144
+ atomField: Field;
145
+ indexField: Field;
146
+ lambdaField: LambdaField;
147
+ dotPostfix: PostfixFragment;
148
+ indexPostfix: PostfixFragment;
149
+ functionPostfix: PostfixFragment;
150
+ binaryMulDivField: Field;
151
+ binaryPlusMinusField: Field;
152
+ binaryCompareField: Field;
153
+ binaryBooleanField: Field;
154
+ binaryOpField: Field;
155
+ parensField: Field;
156
+ field: Field;
157
+ }
158
+ export declare const EXPRESSION: P.TypedLanguage<ExpressionLanguage>;
159
+ /**
160
+ * Attempt to parse a field from the given text, returning a string error if the
161
+ * parse failed.
162
+ */
163
+ export declare function parseField(text: string): Result<Field, string>;
@@ -1 +1,55 @@
1
- export * from '../../../../cjs/obsidian/@types/Dataview/index.cjs';
1
+ export type {
2
+ DateTime,
3
+ Duration
4
+ } from 'luxon';
5
+ export type { DataArray } from './api/data-array.d.ts';
6
+ export type { DataviewApi } from './api/plugin-api.d.ts';
7
+ export type {
8
+ Failure,
9
+ Result,
10
+ Success
11
+ } from './api/result.d.ts';
12
+ export type {
13
+ FullIndex,
14
+ IndexMap,
15
+ PrefixIndex
16
+ } from './data-index/index.d.ts';
17
+ export type {
18
+ ListItem,
19
+ PageMetadata
20
+ } from './data-model/markdown.d.ts';
21
+ export type {
22
+ SListEntry,
23
+ SMarkdownPage,
24
+ STask
25
+ } from './data-model/serialized/markdown.d.ts';
26
+ export type {
27
+ DataObject,
28
+ Link,
29
+ Literal,
30
+ LiteralRepr,
31
+ LiteralType,
32
+ LiteralWrapper,
33
+ Widget,
34
+ WrappedLiteral
35
+ } from './data-model/value.d.ts';
36
+ export type {
37
+ DATE_SHORTHANDS,
38
+ DURATION_TYPES,
39
+ EXPRESSION,
40
+ ExpressionLanguage,
41
+ KEYWORDS,
42
+ parseField
43
+ } from './expression/parse.d.ts';
44
+ export type { QUERY_LANGUAGE } from './query/parse.d.ts';
45
+ export type { Query } from './query/query.d.ts';
46
+ import type { DataviewApi } from './api/plugin-api.d.d.mts';
47
+ import 'obsidian';
48
+ import type { App } from 'obsidian';
49
+ /**
50
+ * Get the current Dataview API from the app if provided; if not, it is inferred from the global API object installed
51
+ * on the window.
52
+ */
53
+ export declare const getAPI: (app?: App) => DataviewApi | undefined;
54
+ /** Determine if Dataview is enabled in the given application. */
55
+ export declare const isPluginEnabled: (app: App) => boolean;
@@ -1 +1,52 @@
1
- export * from '../../../../cjs/obsidian/@types/Dataview/main.cjs';
1
+ import type {
2
+ Component,
3
+ MarkdownPostProcessorContext,
4
+ Plugin
5
+ } from 'obsidian';
6
+ import type { DataviewInlineApi } from './api/inline-api.d.d.mts';
7
+ import type { DataviewApi } from './api/plugin-api.d.d.mts';
8
+ import type { FullIndex } from './data-index/index.d.d.mts';
9
+ import type { DataviewSettings } from './settings.d.d.mts';
10
+ export default class DataviewPlugin extends Plugin {
11
+ /** Plugin-wide default settings. */
12
+ settings: DataviewSettings;
13
+ /** The index that stores all dataview data. */
14
+ index: FullIndex;
15
+ /** External-facing plugin API. */
16
+ api: DataviewApi;
17
+ /** CodeMirror 6 extensions that dataview installs. Tracked via array to allow for dynamic updates. */
18
+ private cmExtension;
19
+ onload(): Promise<void>;
20
+ registerDataviewjsCodeHighlighting(): void;
21
+ unregisterDataviewjsCodeHighlighting(): void;
22
+ private debouncedRefresh;
23
+ private updateRefreshSettings;
24
+ onunload(): void;
25
+ /** Register a markdown post processor with the given priority. */
26
+ registerPriorityMarkdownPostProcessor(priority: number, processor: (el: HTMLElement, ctx: MarkdownPostProcessorContext) => Promise<void>): void;
27
+ /** Register a markdown codeblock post processor with the given priority. */
28
+ registerPriorityCodeblockPostProcessor(
29
+ language: string,
30
+ priority: number,
31
+ processor: (source: string, el: HTMLElement, ctx: MarkdownPostProcessorContext) => Promise<void>
32
+ ): void;
33
+ updateEditorExtensions(): void;
34
+ /**
35
+ * Based on the source, generate a dataview view. This works by doing an initial parsing pass, and then adding
36
+ * a long-lived view object to the given component for life-cycle management.
37
+ */
38
+ dataview(source: string, el: HTMLElement, component: Component | MarkdownPostProcessorContext, sourcePath: string): Promise<void>;
39
+ /** Generate a DataviewJS view running the given source in the given element. */
40
+ dataviewjs(source: string, el: HTMLElement, component: Component | MarkdownPostProcessorContext, sourcePath: string): Promise<void>;
41
+ /** Render all dataview inline expressions in the given element. */
42
+ dataviewInline(el: HTMLElement, component: Component | MarkdownPostProcessorContext, sourcePath: string): Promise<void>;
43
+ /** Update plugin settings. */
44
+ updateSettings(settings: Partial<DataviewSettings>): Promise<void>;
45
+ /** @deprecated Call the given callback when the dataview API has initialized. */
46
+ withApi(callback: (api: DataviewApi) => void): void;
47
+ /**
48
+ * Create an API element localized to the given path, with lifecycle management managed by the given component.
49
+ * The API will output results to the given HTML element.
50
+ */
51
+ localApi(path: string, component: Component, el: HTMLElement): DataviewInlineApi;
52
+ }
@@ -1 +1,103 @@
1
- export * from '../../../../../cjs/obsidian/@types/Dataview/query/engine.cjs';
1
+ /**
2
+ * Takes a full query and a set of indices, and (hopefully quickly) returns all relevant files.
3
+ */
4
+ import type { DateTime } from 'luxon';
5
+ import type { Result } from '../api/result.d.d.mts';
6
+ import type { FullIndex } from '../data-index/index.d.d.mts';
7
+ import type { Datarow } from '../data-index/resolver.d.d.mts';
8
+ import type { SListItem } from '../data-model/serialized/markdown.d.d.mts';
9
+ import type {
10
+ DataObject,
11
+ Grouping,
12
+ Link,
13
+ Literal
14
+ } from '../data-model/value.d.d.mts';
15
+ import type {
16
+ Context,
17
+ LinkHandler
18
+ } from '../expression/context.d.d.mts';
19
+ import type { Field } from '../expression/field.d.d.mts';
20
+ import type {
21
+ Query,
22
+ QueryOperation
23
+ } from '../query/query.d.d.mts';
24
+ import type { QuerySettings } from '../settings.d.d.mts';
25
+ /** Operation diagnostics collected during the execution of each query step. */
26
+ export interface OperationDiagnostics {
27
+ timeMs: number;
28
+ incomingRows: number;
29
+ outgoingRows: number;
30
+ errors: {
31
+ index: number;
32
+ message: string;
33
+ }[];
34
+ }
35
+ /** The meaning of the 'id' field for a data row - i.e., where it came from. */
36
+ export type IdentifierMeaning = {
37
+ type: 'group';
38
+ name: string;
39
+ on: IdentifierMeaning;
40
+ } | {
41
+ type: 'path';
42
+ };
43
+ /** A data row over an object. */
44
+ export type Pagerow = Datarow<DataObject>;
45
+ /** An error during execution. */
46
+ export type ExecutionError = {
47
+ index: number;
48
+ message: string;
49
+ };
50
+ /** The result of executing query operations over incoming data rows; includes timing and error information. */
51
+ export interface CoreExecution {
52
+ data: Pagerow[];
53
+ idMeaning: IdentifierMeaning;
54
+ timeMs: number;
55
+ ops: QueryOperation[];
56
+ diagnostics: OperationDiagnostics[];
57
+ }
58
+ /** Shared execution code which just takes in arbitrary data, runs operations over it, and returns it + per-row errors. */
59
+ export declare function executeCore(rows: Pagerow[], context: Context, ops: QueryOperation[]): Result<CoreExecution, string>;
60
+ /** Expanded version of executeCore which adds an additional "extraction" step to the pipeline. */
61
+ export declare function executeCoreExtract(
62
+ rows: Pagerow[],
63
+ context: Context,
64
+ ops: QueryOperation[],
65
+ fields: Record<string, Field>
66
+ ): Result<CoreExecution, string>;
67
+ export interface ListExecution {
68
+ core: CoreExecution;
69
+ data: Literal[];
70
+ primaryMeaning: IdentifierMeaning;
71
+ }
72
+ /** Execute a list-based query, returning the final results. */
73
+ export declare function executeList(query: Query, index: FullIndex, origin: string, settings: QuerySettings): Promise<Result<ListExecution, string>>;
74
+ /** Result of executing a table query. */
75
+ export interface TableExecution {
76
+ core: CoreExecution;
77
+ names: string[];
78
+ data: Literal[][];
79
+ idMeaning: IdentifierMeaning;
80
+ }
81
+ /** Execute a table query. */
82
+ export declare function executeTable(query: Query, index: FullIndex, origin: string, settings: QuerySettings): Promise<Result<TableExecution, string>>;
83
+ /** The result of executing a task query. */
84
+ export interface TaskExecution {
85
+ core: CoreExecution;
86
+ tasks: Grouping<SListItem>;
87
+ }
88
+ /** Execute a task query, returning all matching tasks. */
89
+ export declare function executeTask(query: Query, origin: string, index: FullIndex, settings: QuerySettings): Promise<Result<TaskExecution, string>>;
90
+ /** Execute a single field inline a file, returning the evaluated result. */
91
+ export declare function executeInline(field: Field, origin: string, index: FullIndex, settings: QuerySettings): Result<Literal, string>;
92
+ /** The default link resolver used when creating contexts. */
93
+ export declare function defaultLinkHandler(index: FullIndex, origin: string): LinkHandler;
94
+ /** Execute a calendar-based query, returning the final results. */
95
+ export declare function executeCalendar(query: Query, index: FullIndex, origin: string, settings: QuerySettings): Promise<Result<CalendarExecution, string>>;
96
+ export interface CalendarExecution {
97
+ core: CoreExecution;
98
+ data: {
99
+ date: DateTime;
100
+ link: Link;
101
+ value?: Literal[];
102
+ }[];
103
+ }
@@ -1 +1,44 @@
1
- export * from '../../../../../cjs/obsidian/@types/Dataview/query/parse.cjs';
1
+ import type * as P from 'parsimmon';
2
+ import type { Result } from '../api/result.d.d.mts';
3
+ import type { Source } from '../data-index/source.d.d.mts';
4
+ import type {
5
+ Comment,
6
+ FlattenStep,
7
+ GroupStep,
8
+ LimitStep,
9
+ NamedField,
10
+ Query,
11
+ QueryHeader,
12
+ QueryOperation,
13
+ QuerySortBy,
14
+ QueryType,
15
+ SortByStep,
16
+ WhereStep
17
+ } from './query.d.d.mts';
18
+ /** Typings for the outputs of all of the parser combinators. */
19
+ interface QueryLanguageTypes {
20
+ queryType: QueryType;
21
+ comment: Comment;
22
+ explicitNamedField: NamedField;
23
+ namedField: NamedField;
24
+ sortField: QuerySortBy;
25
+ headerClause: QueryHeader;
26
+ fromClause: Source;
27
+ whereClause: WhereStep;
28
+ sortByClause: SortByStep;
29
+ limitClause: LimitStep;
30
+ flattenClause: FlattenStep;
31
+ groupByClause: GroupStep;
32
+ clause: QueryOperation;
33
+ query: Query;
34
+ }
35
+ /** Return a new parser which executes the underlying parser and returns it's raw string representation. */
36
+ export declare function captureRaw<T>(base: P.Parser<T>): P.Parser<[T, string]>;
37
+ /** A parsimmon-powered parser-combinator implementation of the query language. */
38
+ export declare const QUERY_LANGUAGE: P.TypedLanguage<QueryLanguageTypes>;
39
+ /**
40
+ * Attempt to parse a query from the given query text, returning a string error
41
+ * if the parse failed.
42
+ */
43
+ export declare function parseQuery(text: string): Result<Query, string>;
44
+ export {};
@@ -1 +1,95 @@
1
- export * from '../../../../../cjs/obsidian/@types/Dataview/query/query.cjs';
1
+ /** Provides an AST for complex queries. */
2
+ import type { Source } from '../data-index/source.d.d.mts';
3
+ import type { Field } from '../expression/field.d.d.mts';
4
+ /** The supported query types (corresponding to view types). */
5
+ export type QueryType = 'list' | 'table' | 'task' | 'calendar';
6
+ /** A single-line comment. */
7
+ export type Comment = string;
8
+ /** Fields used in the query portion. */
9
+ export interface NamedField {
10
+ /** The effective name of this field. */
11
+ name: string;
12
+ /** The value of this field. */
13
+ field: Field;
14
+ }
15
+ /** A query sort by field, for determining sort order. */
16
+ export interface QuerySortBy {
17
+ /** The field to sort on. */
18
+ field: Field;
19
+ /** The direction to sort in. */
20
+ direction: 'ascending' | 'descending';
21
+ }
22
+ /** Utility functions for quickly creating fields. */
23
+ export declare namespace QueryFields {
24
+ function named(name: string, field: Field): NamedField;
25
+ function sortBy(field: Field, dir: 'ascending' | 'descending'): QuerySortBy;
26
+ }
27
+ /** A query which should render a list of elements. */
28
+ export interface ListQuery {
29
+ type: 'list';
30
+ /** What should be rendered in the list. */
31
+ format?: Field;
32
+ /** If true, show the default DI field; otherwise, don't. */
33
+ showId: boolean;
34
+ }
35
+ /** A query which renders a table of elements. */
36
+ export interface TableQuery {
37
+ type: 'table';
38
+ /** The fields (computed or otherwise) to select. */
39
+ fields: NamedField[];
40
+ /** If true, show the default ID field; otherwise, don't. */
41
+ showId: boolean;
42
+ }
43
+ /** A query which renders a collection of tasks. */
44
+ export interface TaskQuery {
45
+ type: 'task';
46
+ }
47
+ /** A query which renders a collection of notes in a calendar view. */
48
+ export interface CalendarQuery {
49
+ type: 'calendar';
50
+ /** The date field that we'll be grouping notes by for the calendar view */
51
+ field: NamedField;
52
+ }
53
+ export type QueryHeader = ListQuery | TableQuery | TaskQuery | CalendarQuery;
54
+ /** A step which only retains rows whose 'clause' field is truthy. */
55
+ export interface WhereStep {
56
+ type: 'where';
57
+ clause: Field;
58
+ }
59
+ /** A step which sorts all current rows by the given list of sorts. */
60
+ export interface SortByStep {
61
+ type: 'sort';
62
+ fields: QuerySortBy[];
63
+ }
64
+ /** A step which truncates the number of rows to the given amount. */
65
+ export interface LimitStep {
66
+ type: 'limit';
67
+ amount: Field;
68
+ }
69
+ /** A step which flattens rows into multiple child rows. */
70
+ export interface FlattenStep {
71
+ type: 'flatten';
72
+ field: NamedField;
73
+ }
74
+ /** A step which groups rows into groups by the given field. */
75
+ export interface GroupStep {
76
+ type: 'group';
77
+ field: NamedField;
78
+ }
79
+ /** A virtual step which extracts an array of values from each row. */
80
+ export interface ExtractStep {
81
+ type: 'extract';
82
+ fields: Record<string, Field>;
83
+ }
84
+ export type QueryOperation = WhereStep | SortByStep | LimitStep | FlattenStep | GroupStep | ExtractStep;
85
+ /**
86
+ * A query over the Obsidian database. Queries have a specific and deterministic execution order:
87
+ */
88
+ export interface Query {
89
+ /** The view type to render this query in. */
90
+ header: QueryHeader;
91
+ /** The source that file candidates will come from. */
92
+ source: Source;
93
+ /** The operations to apply to the data to produce the final result that will be rendered. */
94
+ operations: QueryOperation[];
95
+ }
@@ -1 +1,60 @@
1
- export * from '../../../../cjs/obsidian/@types/Dataview/settings.cjs';
1
+ export interface QuerySettings {
2
+ /** What to render 'null' as in tables. Defaults to '-'. */
3
+ renderNullAs: string;
4
+ /** If enabled, tasks in Dataview views will automatically have their completion date appended when they are checked. */
5
+ taskCompletionTracking: boolean;
6
+ /** If enabled, automatic completions will use emoji shorthand ✅ YYYY-MM-DD instead of [completion:: date]. */
7
+ taskCompletionUseEmojiShorthand: boolean;
8
+ /** The name of the inline field to be added as a task's completion when checked. Only used if completionTracking is enabled and emojiShorthand is not. */
9
+ taskCompletionText: string;
10
+ /** Date format of the task's completion timestamp. Only used if completionTracking is enabled and emojiShorthand is not. */
11
+ taskCompletionDateFormat: string;
12
+ /** Whether or not subtasks should be recursively completed in addition to their parent task. */
13
+ recursiveSubTaskCompletion: boolean;
14
+ /** If true, render a modal which shows no results were returned. */
15
+ warnOnEmptyResult: boolean;
16
+ /** Whether or not automatic view refreshing is enabled. */
17
+ refreshEnabled: boolean;
18
+ /** The interval that views are refreshed, by default. */
19
+ refreshInterval: number;
20
+ /** The default format that dates are rendered in (using luxon's moment-like formatting). */
21
+ defaultDateFormat: string;
22
+ /** The default format that date-times are rendered in (using luxon's moment-like formatting). */
23
+ defaultDateTimeFormat: string;
24
+ /** Maximum depth that objects will be expanded when being rendered recursively. */
25
+ maxRecursiveRenderDepth: number;
26
+ /** The name of the default ID field ('File'). */
27
+ tableIdColumnName: string;
28
+ /** The name of default ID fields on grouped data ('Group'). */
29
+ tableGroupColumnName: string;
30
+ /** Include the result count as part of the output. */
31
+ showResultCount: boolean;
32
+ }
33
+ export declare const DEFAULT_QUERY_SETTINGS: QuerySettings;
34
+ export interface ExportSettings {
35
+ /** Whether or not HTML should be used for formatting in exports. */
36
+ allowHtml: boolean;
37
+ }
38
+ export declare const DEFAULT_EXPORT_SETTINGS: ExportSettings;
39
+ export interface DataviewSettings extends QuerySettings, ExportSettings {
40
+ /** The prefix for inline queries by default. */
41
+ inlineQueryPrefix: string;
42
+ /** The prefix for inline JS queries by default. */
43
+ inlineJsQueryPrefix: string;
44
+ /** If true, inline queries are also evaluated in full codeblocks. */
45
+ inlineQueriesInCodeblocks: boolean;
46
+ /** Enable or disable executing DataviewJS queries. */
47
+ enableDataviewJs: boolean;
48
+ /** Enable or disable regular inline queries. */
49
+ enableInlineDataview: boolean;
50
+ /** Enable or disable executing inline DataviewJS queries. */
51
+ enableInlineDataviewJs: boolean;
52
+ /** Enable or disable rendering inline fields prettily in Reading View. */
53
+ prettyRenderInlineFields: boolean;
54
+ /** Enable or disable rendering inline fields prettily in Live Preview. */
55
+ prettyRenderInlineFieldsInLivePreview: boolean;
56
+ /** The keyword for DataviewJS blocks. */
57
+ dataviewJsKeyword: string;
58
+ }
59
+ /** Default settings for dataview on install. */
60
+ export declare const DEFAULT_SETTINGS: DataviewSettings;
@@ -1 +1,28 @@
1
- export * from '../../../../../cjs/obsidian/@types/Dataview/typings/obsidian-ex.cjs';
1
+ import type { Plugin } from 'obsidian';
2
+ import type { DataviewApi } from '../api/plugin-api.d.d.mts';
3
+
4
+ declare module 'obsidian' {
5
+ interface MetadataCache {
6
+ trigger(...args: Parameters<MetadataCache['on']>): void;
7
+ trigger(name: string, ...data: any[]): void;
8
+ }
9
+
10
+ interface Workspace {
11
+ /** Sent to rendered dataview components to tell them to possibly refresh */
12
+ on(name: 'dataview:refresh-views', callback: () => void, ctx?: any): EventRef;
13
+ }
14
+ }
15
+
16
+ declare global {
17
+ interface Window {
18
+ DataviewAPI?: DataviewApi;
19
+ }
20
+ }
21
+
22
+ declare module 'obsidian-typings' {
23
+ interface PluginsPluginsRecord {
24
+ dataview?: Plugin & {
25
+ api: DataviewApi;
26
+ };
27
+ }
28
+ }
@@ -1 +1,4 @@
1
- export * from '../../../../../cjs/obsidian/@types/Dataview/typings/workers.cjs';
1
+ declare module 'web-worker:*' {
2
+ const WorkerFactory: new (options: any) => Worker;
3
+ export default WorkerFactory;
4
+ }
@@ -1 +1,15 @@
1
- export * from '../../../../../../cjs/obsidian/@types/Dataview/ui/export/markdown.cjs';
1
+ import type { SListItem } from '../../data-model/serialized/markdown.d.d.mts';
2
+ import type {
3
+ Grouping,
4
+ Literal
5
+ } from '../../data-model/value.d.d.mts';
6
+ import type {
7
+ ExportSettings,
8
+ QuerySettings
9
+ } from '../../settings.d.d.mts';
10
+ /** Render a table of literals to Markdown. */
11
+ export declare function markdownTable(headers: string[], values: Literal[][], settings?: QuerySettings & ExportSettings): string;
12
+ /** Render a list of literal elements to a markdown list. */
13
+ export declare function markdownList(values: Literal[], settings?: QuerySettings & ExportSettings): string;
14
+ /** Render the result of a task query to markdown. */
15
+ export declare function markdownTaskList(tasks: Grouping<SListItem>, settings?: QuerySettings & ExportSettings, depth?: number): string;
@@ -1 +1,37 @@
1
- export * from '../../../../../cjs/obsidian/@types/Dataview/ui/lp-render.cjs';
1
+ import type {
2
+ EditorSelection,
3
+ Range
4
+ } from '@codemirror/state';
5
+ import type {
6
+ Decoration,
7
+ DecorationSet,
8
+ EditorView,
9
+ ViewPlugin,
10
+ ViewUpdate
11
+ } from '@codemirror/view';
12
+ import type { SyntaxNode } from '@lezer/common';
13
+ import type {
14
+ App,
15
+ Component,
16
+ TFile
17
+ } from 'obsidian';
18
+ import type { DataviewApi } from '../api/plugin-api.d.d.mts';
19
+ import type { FullIndex } from '../data-index/index.d.d.mts';
20
+ import type { DataviewSettings } from '../settings.d.d.mts';
21
+ export declare function selectionAndRangeOverlap(selection: EditorSelection, rangeFrom: number, rangeTo: number): boolean;
22
+ export declare function inlinePlugin(app: App, index: FullIndex, settings: DataviewSettings, api: DataviewApi): ViewPlugin<{
23
+ decorations: DecorationSet;
24
+ component: Component;
25
+ update(update: ViewUpdate): void;
26
+ updateTree(view: EditorView): void;
27
+ removeDeco(node: SyntaxNode): void;
28
+ addDeco(node: SyntaxNode, view: EditorView): void;
29
+ renderNode(view: EditorView, node: SyntaxNode): {
30
+ render: boolean;
31
+ isQuery: boolean;
32
+ };
33
+ isInlineQuery(view: EditorView, start: number, end: number): boolean;
34
+ inlineRender(view: EditorView): DecorationSet | undefined;
35
+ renderWidget(node: SyntaxNode, view: EditorView, currentFile: TFile): Range<Decoration> | undefined;
36
+ destroy(): void;
37
+ }>;