@fgv/ts-web-extras 5.1.0-0 → 5.1.0-2

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 (332) hide show
  1. package/.rush/temp/chunked-rush-logs/ts-web-extras.build.chunks.jsonl +56 -33
  2. package/.rush/temp/chunked-rush-logs/ts-web-extras.test.chunks.jsonl +75 -0
  3. package/.rush/temp/operation/build/all.log +56 -33
  4. package/.rush/temp/operation/build/error.log +18 -0
  5. package/.rush/temp/operation/build/log-chunks.jsonl +56 -33
  6. package/.rush/temp/operation/build/state.json +1 -1
  7. package/.rush/temp/operation/test/all.log +75 -0
  8. package/.rush/temp/operation/test/error.log +18 -0
  9. package/.rush/temp/operation/test/log-chunks.jsonl +75 -0
  10. package/.rush/temp/operation/test/state.json +3 -0
  11. package/dist/packlets/file-tree/fileApiTreeAccessors.js +15 -0
  12. package/dist/packlets/file-tree/fileApiTreeAccessors.js.map +1 -1
  13. package/dist/packlets/file-tree/fileSystemAccessTreeAccessors.js +79 -10
  14. package/dist/packlets/file-tree/fileSystemAccessTreeAccessors.js.map +1 -1
  15. package/dist/packlets/file-tree/httpTreeAccessors.js +336 -0
  16. package/dist/packlets/file-tree/httpTreeAccessors.js.map +1 -0
  17. package/dist/packlets/file-tree/index.js +1 -0
  18. package/dist/packlets/file-tree/index.js.map +1 -1
  19. package/dist/packlets/file-tree/localStorageTreeAccessors.js +51 -0
  20. package/dist/packlets/file-tree/localStorageTreeAccessors.js.map +1 -1
  21. package/dist/test/unit/fileApiTreeAccessors.test.js +51 -0
  22. package/dist/test/unit/fileApiTreeAccessors.test.js.map +1 -1
  23. package/dist/test/unit/fileSystemAccessTreeAccessors.test.js +265 -160
  24. package/dist/test/unit/fileSystemAccessTreeAccessors.test.js.map +1 -1
  25. package/dist/test/unit/httpTreeAccessors.test.js +1229 -0
  26. package/dist/test/unit/httpTreeAccessors.test.js.map +1 -0
  27. package/dist/test/unit/localStorageTreeAccessors.test.js +218 -1
  28. package/dist/test/unit/localStorageTreeAccessors.test.js.map +1 -1
  29. package/dist/ts-web-extras.d.ts +138 -0
  30. package/docs/@fgv/namespaces/CryptoUtils/README.md +18 -0
  31. package/docs/@fgv/namespaces/CryptoUtils/classes/BrowserCryptoProvider.md +203 -0
  32. package/docs/@fgv/namespaces/CryptoUtils/classes/BrowserHashProvider.md +63 -0
  33. package/docs/@fgv/namespaces/CryptoUtils/functions/createBrowserCryptoProvider.md +18 -0
  34. package/docs/@fgv/namespaces/FileTreeHelpers/README.md +19 -0
  35. package/docs/@fgv/namespaces/FileTreeHelpers/functions/extractFileListMetadata.md +23 -0
  36. package/docs/@fgv/namespaces/FileTreeHelpers/functions/extractFileMetadata.md +23 -0
  37. package/docs/@fgv/namespaces/FileTreeHelpers/functions/fromDirectoryUpload.md +33 -0
  38. package/docs/@fgv/namespaces/FileTreeHelpers/functions/fromFileList.md +33 -0
  39. package/docs/@fgv/namespaces/FileTreeHelpers/functions/getOriginalFile.md +25 -0
  40. package/docs/@fgv/namespaces/FileTreeHelpers/variables/defaultFileApiTreeInitParams.md +11 -0
  41. package/docs/README.md +78 -0
  42. package/docs/classes/DirectoryHandleStore.md +116 -0
  43. package/docs/classes/FileApiTreeAccessors.md +286 -0
  44. package/docs/classes/FileSystemAccessTreeAccessors.md +557 -0
  45. package/docs/classes/HttpTreeAccessors.md +508 -0
  46. package/docs/classes/LocalStorageTreeAccessors.md +520 -0
  47. package/docs/functions/exportAsJson.md +23 -0
  48. package/docs/functions/exportUsingFileSystemAPI.md +26 -0
  49. package/docs/functions/extractDirectoryPath.md +23 -0
  50. package/docs/functions/isDirectoryHandle.md +23 -0
  51. package/docs/functions/isFileHandle.md +23 -0
  52. package/docs/functions/isFilePath.md +21 -0
  53. package/docs/functions/parseContextFilter.md +22 -0
  54. package/docs/functions/parseQualifierDefaults.md +22 -0
  55. package/docs/functions/parseResourceTypes.md +22 -0
  56. package/docs/functions/parseUrlParameters.md +15 -0
  57. package/docs/functions/safeShowDirectoryPicker.md +24 -0
  58. package/docs/functions/safeShowOpenFilePicker.md +24 -0
  59. package/docs/functions/safeShowSaveFilePicker.md +24 -0
  60. package/docs/functions/supportsFileSystemAccess.md +23 -0
  61. package/docs/interfaces/FilePickerAcceptType.md +16 -0
  62. package/docs/interfaces/FileSystemCreateWritableOptions.md +15 -0
  63. package/docs/interfaces/FileSystemDirectoryHandle.md +187 -0
  64. package/docs/interfaces/FileSystemFileHandle.md +106 -0
  65. package/docs/interfaces/FileSystemGetDirectoryOptions.md +15 -0
  66. package/docs/interfaces/FileSystemGetFileOptions.md +15 -0
  67. package/docs/interfaces/FileSystemHandle.md +69 -0
  68. package/docs/interfaces/FileSystemHandlePermissionDescriptor.md +15 -0
  69. package/docs/interfaces/FileSystemRemoveOptions.md +15 -0
  70. package/docs/interfaces/FileSystemWritableFileStream.md +127 -0
  71. package/docs/interfaces/IDirectoryHandleTreeInitializer.md +17 -0
  72. package/docs/interfaces/IFileHandleTreeInitializer.md +16 -0
  73. package/docs/interfaces/IFileListTreeInitializer.md +15 -0
  74. package/docs/interfaces/IFileMetadata.md +19 -0
  75. package/docs/interfaces/IFileSystemAccessTreeParams.md +30 -0
  76. package/docs/interfaces/IFsAccessApis.md +57 -0
  77. package/docs/interfaces/IHttpTreeParams.md +32 -0
  78. package/docs/interfaces/ILocalStorageTreeParams.md +30 -0
  79. package/docs/interfaces/IUrlConfigOptions.md +27 -0
  80. package/docs/interfaces/ShowDirectoryPickerOptions.md +17 -0
  81. package/docs/interfaces/ShowOpenFilePickerOptions.md +19 -0
  82. package/docs/interfaces/ShowSaveFilePickerOptions.md +19 -0
  83. package/docs/type-aliases/TreeInitializer.md +11 -0
  84. package/docs/type-aliases/WellKnownDirectory.md +11 -0
  85. package/docs/type-aliases/WindowWithFsAccess.md +11 -0
  86. package/docs/variables/DEFAULT_DIRECTORY_HANDLE_DB.md +11 -0
  87. package/docs/variables/DEFAULT_DIRECTORY_HANDLE_STORE.md +11 -0
  88. package/etc/ts-web-extras.api.md +33 -0
  89. package/lib/packlets/file-tree/fileApiTreeAccessors.d.ts +9 -0
  90. package/lib/packlets/file-tree/fileApiTreeAccessors.d.ts.map +1 -1
  91. package/lib/packlets/file-tree/fileApiTreeAccessors.js +15 -0
  92. package/lib/packlets/file-tree/fileApiTreeAccessors.js.map +1 -1
  93. package/lib/packlets/file-tree/fileSystemAccessTreeAccessors.d.ts +17 -1
  94. package/lib/packlets/file-tree/fileSystemAccessTreeAccessors.d.ts.map +1 -1
  95. package/lib/packlets/file-tree/fileSystemAccessTreeAccessors.js +78 -9
  96. package/lib/packlets/file-tree/fileSystemAccessTreeAccessors.js.map +1 -1
  97. package/lib/packlets/file-tree/httpTreeAccessors.d.ts +102 -0
  98. package/lib/packlets/file-tree/httpTreeAccessors.d.ts.map +1 -0
  99. package/lib/packlets/file-tree/httpTreeAccessors.js +340 -0
  100. package/lib/packlets/file-tree/httpTreeAccessors.js.map +1 -0
  101. package/lib/packlets/file-tree/index.d.ts +1 -0
  102. package/lib/packlets/file-tree/index.d.ts.map +1 -1
  103. package/lib/packlets/file-tree/index.js +1 -0
  104. package/lib/packlets/file-tree/index.js.map +1 -1
  105. package/lib/packlets/file-tree/localStorageTreeAccessors.d.ts +12 -0
  106. package/lib/packlets/file-tree/localStorageTreeAccessors.d.ts.map +1 -1
  107. package/lib/packlets/file-tree/localStorageTreeAccessors.js +51 -0
  108. package/lib/packlets/file-tree/localStorageTreeAccessors.js.map +1 -1
  109. package/lib/test/unit/fileApiTreeAccessors.test.js +51 -0
  110. package/lib/test/unit/fileApiTreeAccessors.test.js.map +1 -1
  111. package/lib/test/unit/fileSystemAccessTreeAccessors.test.js +265 -160
  112. package/lib/test/unit/fileSystemAccessTreeAccessors.test.js.map +1 -1
  113. package/lib/test/unit/httpTreeAccessors.test.d.ts +2 -0
  114. package/lib/test/unit/httpTreeAccessors.test.d.ts.map +1 -0
  115. package/lib/test/unit/httpTreeAccessors.test.js +1231 -0
  116. package/lib/test/unit/httpTreeAccessors.test.js.map +1 -0
  117. package/lib/test/unit/localStorageTreeAccessors.test.js +218 -1
  118. package/lib/test/unit/localStorageTreeAccessors.test.js.map +1 -1
  119. package/package.json +25 -25
  120. package/rush-logs/ts-web-extras.build.cache.log +0 -3
  121. package/rush-logs/ts-web-extras.build.error.log +18 -0
  122. package/rush-logs/ts-web-extras.build.log +56 -33
  123. package/rush-logs/ts-web-extras.test.cache.log +1 -0
  124. package/rush-logs/ts-web-extras.test.error.log +18 -0
  125. package/rush-logs/ts-web-extras.test.log +75 -0
  126. package/src/packlets/file-tree/fileApiTreeAccessors.ts +18 -0
  127. package/src/packlets/file-tree/fileSystemAccessTreeAccessors.ts +100 -8
  128. package/src/packlets/file-tree/httpTreeAccessors.ts +448 -0
  129. package/src/packlets/file-tree/index.ts +1 -0
  130. package/src/packlets/file-tree/localStorageTreeAccessors.ts +53 -0
  131. package/src/test/unit/fileApiTreeAccessors.test.ts +69 -0
  132. package/src/test/unit/fileSystemAccessTreeAccessors.test.ts +341 -188
  133. package/src/test/unit/httpTreeAccessors.test.ts +1571 -0
  134. package/src/test/unit/localStorageTreeAccessors.test.ts +269 -1
  135. package/temp/build/typescript/ts_8nwakTlr.json +1 -1
  136. package/temp/coverage/crypto/browserHashProvider.ts.html +304 -0
  137. package/temp/coverage/crypto/index.html +116 -0
  138. package/temp/coverage/crypto-utils/browserCryptoProvider.ts.html +1 -1
  139. package/temp/coverage/crypto-utils/browserHashProvider.ts.html +1 -1
  140. package/temp/coverage/crypto-utils/index.html +1 -1
  141. package/temp/coverage/file-tree/directoryHandleStore.ts.html +1 -1
  142. package/temp/coverage/file-tree/fileApiTreeAccessors.ts.html +60 -6
  143. package/temp/coverage/file-tree/fileSystemAccessTreeAccessors.ts.html +410 -134
  144. package/temp/coverage/file-tree/httpTreeAccessors.ts.html +1429 -0
  145. package/temp/coverage/file-tree/index.html +35 -20
  146. package/temp/coverage/file-tree/localStorageTreeAccessors.ts.html +318 -159
  147. package/temp/coverage/helpers/fileTreeHelpers.ts.html +1 -1
  148. package/temp/coverage/helpers/index.html +1 -1
  149. package/temp/coverage/index.html +11 -11
  150. package/temp/coverage/lcov-report/crypto/browserHashProvider.ts.html +304 -0
  151. package/temp/coverage/lcov-report/crypto/index.html +116 -0
  152. package/temp/coverage/lcov-report/crypto-utils/browserCryptoProvider.ts.html +1 -1
  153. package/temp/coverage/lcov-report/crypto-utils/browserHashProvider.ts.html +1 -1
  154. package/temp/coverage/lcov-report/crypto-utils/index.html +1 -1
  155. package/temp/coverage/lcov-report/file-tree/directoryHandleStore.ts.html +1 -1
  156. package/temp/coverage/lcov-report/file-tree/fileApiTreeAccessors.ts.html +60 -6
  157. package/temp/coverage/lcov-report/file-tree/fileSystemAccessTreeAccessors.ts.html +410 -134
  158. package/temp/coverage/lcov-report/file-tree/httpTreeAccessors.ts.html +1429 -0
  159. package/temp/coverage/lcov-report/file-tree/index.html +35 -20
  160. package/temp/coverage/lcov-report/file-tree/localStorageTreeAccessors.ts.html +318 -159
  161. package/temp/coverage/lcov-report/helpers/fileTreeHelpers.ts.html +1 -1
  162. package/temp/coverage/lcov-report/helpers/index.html +1 -1
  163. package/temp/coverage/lcov-report/index.html +11 -11
  164. package/temp/coverage/lcov-report/url-utils/index.html +1 -1
  165. package/temp/coverage/lcov-report/url-utils/urlParams.ts.html +1 -1
  166. package/temp/coverage/lcov.info +2021 -1197
  167. package/temp/coverage/url-utils/index.html +1 -1
  168. package/temp/coverage/url-utils/urlParams.ts.html +1 -1
  169. package/temp/test/jest/haste-map-b931e4e63102f86c5bd4949f7dced44f-9d713eb41149188b4e5c0ae3d86d0a57-2ad8e16b24e391b8cdbe50b55c137169 +0 -0
  170. package/temp/test/jest/perf-cache-b931e4e63102f86c5bd4949f7dced44f-da39a3ee5e6b4b0d3255bfef95601890 +1 -0
  171. package/temp/ts-web-extras.api.json +1313 -354
  172. package/temp/ts-web-extras.api.md +33 -0
  173. package/.rush/temp/81e0881271ff236956b2f52e8ca99da6574c6e1e.tar.log +0 -223
  174. package/docs/index.md +0 -34
  175. package/docs/ts-web-extras.cryptoutils.browsercryptoprovider._constructor_.md +0 -50
  176. package/docs/ts-web-extras.cryptoutils.browsercryptoprovider.decrypt.md +0 -104
  177. package/docs/ts-web-extras.cryptoutils.browsercryptoprovider.derivekey.md +0 -88
  178. package/docs/ts-web-extras.cryptoutils.browsercryptoprovider.encrypt.md +0 -72
  179. package/docs/ts-web-extras.cryptoutils.browsercryptoprovider.frombase64.md +0 -56
  180. package/docs/ts-web-extras.cryptoutils.browsercryptoprovider.generatekey.md +0 -19
  181. package/docs/ts-web-extras.cryptoutils.browsercryptoprovider.generaterandombytes.md +0 -56
  182. package/docs/ts-web-extras.cryptoutils.browsercryptoprovider.md +0 -169
  183. package/docs/ts-web-extras.cryptoutils.browsercryptoprovider.tobase64.md +0 -56
  184. package/docs/ts-web-extras.cryptoutils.browserhashprovider.hashparts.md +0 -88
  185. package/docs/ts-web-extras.cryptoutils.browserhashprovider.hashstring.md +0 -72
  186. package/docs/ts-web-extras.cryptoutils.browserhashprovider.md +0 -66
  187. package/docs/ts-web-extras.cryptoutils.createbrowsercryptoprovider.md +0 -19
  188. package/docs/ts-web-extras.cryptoutils.md +0 -71
  189. package/docs/ts-web-extras.exportasjson.md +0 -70
  190. package/docs/ts-web-extras.exportusingfilesystemapi.md +0 -104
  191. package/docs/ts-web-extras.extractdirectorypath.md +0 -52
  192. package/docs/ts-web-extras.fileapitreeaccessors.create.md +0 -72
  193. package/docs/ts-web-extras.fileapitreeaccessors.createfromlocalstorage.md +0 -74
  194. package/docs/ts-web-extras.fileapitreeaccessors.createpersistent.md +0 -76
  195. package/docs/ts-web-extras.fileapitreeaccessors.extractfilemetadata.md +0 -54
  196. package/docs/ts-web-extras.fileapitreeaccessors.fromdirectoryupload.md +0 -72
  197. package/docs/ts-web-extras.fileapitreeaccessors.fromfilelist.md +0 -72
  198. package/docs/ts-web-extras.fileapitreeaccessors.getoriginalfile.md +0 -72
  199. package/docs/ts-web-extras.fileapitreeaccessors.md +0 -146
  200. package/docs/ts-web-extras.filepickeraccepttype.accept.md +0 -11
  201. package/docs/ts-web-extras.filepickeraccepttype.description.md +0 -11
  202. package/docs/ts-web-extras.filepickeraccepttype.md +0 -75
  203. package/docs/ts-web-extras.filesystemaccesstreeaccessors._constructor_.md +0 -114
  204. package/docs/ts-web-extras.filesystemaccesstreeaccessors.fileismutable.md +0 -52
  205. package/docs/ts-web-extras.filesystemaccesstreeaccessors.fromdirectoryhandle.md +0 -72
  206. package/docs/ts-web-extras.filesystemaccesstreeaccessors.getdirtypaths.md +0 -17
  207. package/docs/ts-web-extras.filesystemaccesstreeaccessors.isdirty.md +0 -17
  208. package/docs/ts-web-extras.filesystemaccesstreeaccessors.md +0 -159
  209. package/docs/ts-web-extras.filesystemaccesstreeaccessors.savefilecontents.md +0 -66
  210. package/docs/ts-web-extras.filesystemaccesstreeaccessors.synctodisk.md +0 -17
  211. package/docs/ts-web-extras.filesystemcreatewritableoptions_2.keepexistingdata.md +0 -11
  212. package/docs/ts-web-extras.filesystemcreatewritableoptions_2.md +0 -58
  213. package/docs/ts-web-extras.filesystemdirectoryhandle_2._symbol.asynciterator_.md +0 -15
  214. package/docs/ts-web-extras.filesystemdirectoryhandle_2.entries.md +0 -15
  215. package/docs/ts-web-extras.filesystemdirectoryhandle_2.getdirectoryhandle.md +0 -66
  216. package/docs/ts-web-extras.filesystemdirectoryhandle_2.getfilehandle.md +0 -66
  217. package/docs/ts-web-extras.filesystemdirectoryhandle_2.keys.md +0 -15
  218. package/docs/ts-web-extras.filesystemdirectoryhandle_2.kind.md +0 -11
  219. package/docs/ts-web-extras.filesystemdirectoryhandle_2.md +0 -146
  220. package/docs/ts-web-extras.filesystemdirectoryhandle_2.removeentry.md +0 -66
  221. package/docs/ts-web-extras.filesystemdirectoryhandle_2.resolve.md +0 -50
  222. package/docs/ts-web-extras.filesystemdirectoryhandle_2.values.md +0 -15
  223. package/docs/ts-web-extras.filesystemfilehandle_2.createwritable.md +0 -52
  224. package/docs/ts-web-extras.filesystemfilehandle_2.getfile.md +0 -15
  225. package/docs/ts-web-extras.filesystemfilehandle_2.kind.md +0 -11
  226. package/docs/ts-web-extras.filesystemfilehandle_2.md +0 -92
  227. package/docs/ts-web-extras.filesystemgetdirectoryoptions_2.create.md +0 -11
  228. package/docs/ts-web-extras.filesystemgetdirectoryoptions_2.md +0 -58
  229. package/docs/ts-web-extras.filesystemgetfileoptions_2.create.md +0 -11
  230. package/docs/ts-web-extras.filesystemgetfileoptions_2.md +0 -58
  231. package/docs/ts-web-extras.filesystemhandle_2.issameentry.md +0 -50
  232. package/docs/ts-web-extras.filesystemhandle_2.kind.md +0 -11
  233. package/docs/ts-web-extras.filesystemhandle_2.md +0 -119
  234. package/docs/ts-web-extras.filesystemhandle_2.name.md +0 -11
  235. package/docs/ts-web-extras.filesystemhandle_2.querypermission.md +0 -52
  236. package/docs/ts-web-extras.filesystemhandle_2.requestpermission.md +0 -52
  237. package/docs/ts-web-extras.filesystemhandlepermissiondescriptor.md +0 -58
  238. package/docs/ts-web-extras.filesystemhandlepermissiondescriptor.mode.md +0 -11
  239. package/docs/ts-web-extras.filesystemremoveoptions_2.md +0 -58
  240. package/docs/ts-web-extras.filesystemremoveoptions_2.recursive.md +0 -11
  241. package/docs/ts-web-extras.filesystemwritablefilestream_2.md +0 -57
  242. package/docs/ts-web-extras.filesystemwritablefilestream_2.seek.md +0 -50
  243. package/docs/ts-web-extras.filesystemwritablefilestream_2.truncate.md +0 -50
  244. package/docs/ts-web-extras.filesystemwritablefilestream_2.write.md +0 -50
  245. package/docs/ts-web-extras.filetreehelpers.defaultfileapitreeinitparams.md +0 -13
  246. package/docs/ts-web-extras.filetreehelpers.extractfilelistmetadata.md +0 -56
  247. package/docs/ts-web-extras.filetreehelpers.extractfilemetadata.md +0 -56
  248. package/docs/ts-web-extras.filetreehelpers.fromdirectoryupload.md +0 -76
  249. package/docs/ts-web-extras.filetreehelpers.fromfilelist.md +0 -76
  250. package/docs/ts-web-extras.filetreehelpers.getoriginalfile.md +0 -72
  251. package/docs/ts-web-extras.filetreehelpers.md +0 -102
  252. package/docs/ts-web-extras.idirectoryhandletreeinitializer.dirhandles.md +0 -11
  253. package/docs/ts-web-extras.idirectoryhandletreeinitializer.md +0 -100
  254. package/docs/ts-web-extras.idirectoryhandletreeinitializer.nonrecursive.md +0 -11
  255. package/docs/ts-web-extras.idirectoryhandletreeinitializer.prefix.md +0 -11
  256. package/docs/ts-web-extras.ifilehandletreeinitializer.filehandles.md +0 -11
  257. package/docs/ts-web-extras.ifilehandletreeinitializer.md +0 -79
  258. package/docs/ts-web-extras.ifilehandletreeinitializer.prefix.md +0 -11
  259. package/docs/ts-web-extras.ifilelisttreeinitializer.filelist.md +0 -11
  260. package/docs/ts-web-extras.ifilelisttreeinitializer.md +0 -58
  261. package/docs/ts-web-extras.ifilemetadata.lastmodified.md +0 -11
  262. package/docs/ts-web-extras.ifilemetadata.md +0 -124
  263. package/docs/ts-web-extras.ifilemetadata.name.md +0 -11
  264. package/docs/ts-web-extras.ifilemetadata.path.md +0 -11
  265. package/docs/ts-web-extras.ifilemetadata.size.md +0 -11
  266. package/docs/ts-web-extras.ifilemetadata.type.md +0 -11
  267. package/docs/ts-web-extras.ifilesystemaccesstreeparams.autosync.md +0 -13
  268. package/docs/ts-web-extras.ifilesystemaccesstreeparams.md +0 -78
  269. package/docs/ts-web-extras.ifilesystemaccesstreeparams.requirewritepermission.md +0 -13
  270. package/docs/ts-web-extras.ifsaccessapis.md +0 -56
  271. package/docs/ts-web-extras.ifsaccessapis.showdirectorypicker.md +0 -52
  272. package/docs/ts-web-extras.ifsaccessapis.showopenfilepicker.md +0 -52
  273. package/docs/ts-web-extras.ifsaccessapis.showsavefilepicker.md +0 -52
  274. package/docs/ts-web-extras.ilocalstoragetreeparams.autosync.md +0 -13
  275. package/docs/ts-web-extras.ilocalstoragetreeparams.md +0 -97
  276. package/docs/ts-web-extras.ilocalstoragetreeparams.pathtokeymap.md +0 -13
  277. package/docs/ts-web-extras.ilocalstoragetreeparams.storage.md +0 -13
  278. package/docs/ts-web-extras.isdirectoryhandle.md +0 -56
  279. package/docs/ts-web-extras.isfilehandle.md +0 -56
  280. package/docs/ts-web-extras.isfilepath.md +0 -52
  281. package/docs/ts-web-extras.iurlconfigoptions.config.md +0 -13
  282. package/docs/ts-web-extras.iurlconfigoptions.configstartdir.md +0 -13
  283. package/docs/ts-web-extras.iurlconfigoptions.contextfilter.md +0 -13
  284. package/docs/ts-web-extras.iurlconfigoptions.input.md +0 -13
  285. package/docs/ts-web-extras.iurlconfigoptions.inputstartdir.md +0 -13
  286. package/docs/ts-web-extras.iurlconfigoptions.interactive.md +0 -13
  287. package/docs/ts-web-extras.iurlconfigoptions.loadzip.md +0 -13
  288. package/docs/ts-web-extras.iurlconfigoptions.maxdistance.md +0 -13
  289. package/docs/ts-web-extras.iurlconfigoptions.md +0 -286
  290. package/docs/ts-web-extras.iurlconfigoptions.qualifierdefaults.md +0 -13
  291. package/docs/ts-web-extras.iurlconfigoptions.reducequalifiers.md +0 -13
  292. package/docs/ts-web-extras.iurlconfigoptions.resourcetypes.md +0 -13
  293. package/docs/ts-web-extras.iurlconfigoptions.zipfile.md +0 -13
  294. package/docs/ts-web-extras.iurlconfigoptions.zippath.md +0 -13
  295. package/docs/ts-web-extras.localstoragetreeaccessors.fileismutable.md +0 -56
  296. package/docs/ts-web-extras.localstoragetreeaccessors.fromstorage.md +0 -56
  297. package/docs/ts-web-extras.localstoragetreeaccessors.getdirtypaths.md +0 -19
  298. package/docs/ts-web-extras.localstoragetreeaccessors.isdirty.md +0 -19
  299. package/docs/ts-web-extras.localstoragetreeaccessors.md +0 -131
  300. package/docs/ts-web-extras.localstoragetreeaccessors.savefilecontents.md +0 -72
  301. package/docs/ts-web-extras.localstoragetreeaccessors.synctodisk.md +0 -19
  302. package/docs/ts-web-extras.md +0 -558
  303. package/docs/ts-web-extras.parsecontextfilter.md +0 -52
  304. package/docs/ts-web-extras.parsequalifierdefaults.md +0 -52
  305. package/docs/ts-web-extras.parseresourcetypes.md +0 -52
  306. package/docs/ts-web-extras.parseurlparameters.md +0 -17
  307. package/docs/ts-web-extras.safeshowdirectorypicker.md +0 -72
  308. package/docs/ts-web-extras.safeshowopenfilepicker.md +0 -72
  309. package/docs/ts-web-extras.safeshowsavefilepicker.md +0 -72
  310. package/docs/ts-web-extras.showdirectorypickeroptions.id.md +0 -11
  311. package/docs/ts-web-extras.showdirectorypickeroptions.md +0 -96
  312. package/docs/ts-web-extras.showdirectorypickeroptions.mode.md +0 -11
  313. package/docs/ts-web-extras.showdirectorypickeroptions.startin.md +0 -11
  314. package/docs/ts-web-extras.showopenfilepickeroptions.excludeacceptalloption.md +0 -11
  315. package/docs/ts-web-extras.showopenfilepickeroptions.id.md +0 -11
  316. package/docs/ts-web-extras.showopenfilepickeroptions.md +0 -134
  317. package/docs/ts-web-extras.showopenfilepickeroptions.multiple.md +0 -11
  318. package/docs/ts-web-extras.showopenfilepickeroptions.startin.md +0 -11
  319. package/docs/ts-web-extras.showopenfilepickeroptions.types.md +0 -11
  320. package/docs/ts-web-extras.showsavefilepickeroptions.excludeacceptalloption.md +0 -11
  321. package/docs/ts-web-extras.showsavefilepickeroptions.id.md +0 -11
  322. package/docs/ts-web-extras.showsavefilepickeroptions.md +0 -134
  323. package/docs/ts-web-extras.showsavefilepickeroptions.startin.md +0 -11
  324. package/docs/ts-web-extras.showsavefilepickeroptions.suggestedname.md +0 -11
  325. package/docs/ts-web-extras.showsavefilepickeroptions.types.md +0 -11
  326. package/docs/ts-web-extras.supportsfilesystemaccess.md +0 -56
  327. package/docs/ts-web-extras.treeinitializer.md +0 -15
  328. package/docs/ts-web-extras.wellknowndirectory.md +0 -13
  329. package/docs/ts-web-extras.windowwithfsaccess.md +0 -15
  330. package/temp/test/jest/haste-map-7492f1b44480e0cdd1f220078fb3afd8-c8dd6c3430605adeb2f1cadf4f75e791-8c9336785555d572065b28c111982ba4 +0 -0
  331. package/temp/test/jest/perf-cache-7492f1b44480e0cdd1f220078fb3afd8-da39a3ee5e6b4b0d3255bfef95601890 +0 -1
  332. /package/temp/test/jest/{jest-transform-cache-7492f1b44480e0cdd1f220078fb3afd8-79ef2876fae7ca75eedb2aa53dc48338/8d/package_8dcbedef69e4299f0f51fcda8f4f1c8e → jest-transform-cache-b931e4e63102f86c5bd4949f7dced44f-79ef2876fae7ca75eedb2aa53dc48338/b5/package_b5f57afc9ec2c011239b1608ee5bdfa5} +0 -0
@@ -1849,6 +1849,111 @@
1849
1849
  "isAbstract": false,
1850
1850
  "name": "create"
1851
1851
  },
1852
+ {
1853
+ "kind": "Method",
1854
+ "canonicalReference": "@fgv/ts-web-extras!FileApiTreeAccessors.createFromHttp:member(1)",
1855
+ "docComment": "/**\n * Create a persistent FileTree from an HTTP storage service.\n *\n * @param params - Configuration including API base URL, namespace, and optional autoSync\n *\n * @returns Promise resolving to a FileTree with persistence capability\n *\n * @public\n */\n",
1856
+ "excerptTokens": [
1857
+ {
1858
+ "kind": "Content",
1859
+ "text": "static createFromHttp<TCT extends "
1860
+ },
1861
+ {
1862
+ "kind": "Content",
1863
+ "text": "string"
1864
+ },
1865
+ {
1866
+ "kind": "Content",
1867
+ "text": " = "
1868
+ },
1869
+ {
1870
+ "kind": "Content",
1871
+ "text": "string"
1872
+ },
1873
+ {
1874
+ "kind": "Content",
1875
+ "text": ">(params: "
1876
+ },
1877
+ {
1878
+ "kind": "Reference",
1879
+ "text": "IHttpTreeParams",
1880
+ "canonicalReference": "@fgv/ts-web-extras!IHttpTreeParams:interface"
1881
+ },
1882
+ {
1883
+ "kind": "Content",
1884
+ "text": "<TCT>"
1885
+ },
1886
+ {
1887
+ "kind": "Content",
1888
+ "text": "): "
1889
+ },
1890
+ {
1891
+ "kind": "Reference",
1892
+ "text": "Promise",
1893
+ "canonicalReference": "!Promise:interface"
1894
+ },
1895
+ {
1896
+ "kind": "Content",
1897
+ "text": "<"
1898
+ },
1899
+ {
1900
+ "kind": "Reference",
1901
+ "text": "Result",
1902
+ "canonicalReference": "@fgv/ts-utils!Result:type"
1903
+ },
1904
+ {
1905
+ "kind": "Content",
1906
+ "text": "<"
1907
+ },
1908
+ {
1909
+ "kind": "Reference",
1910
+ "text": "FileTree.FileTree",
1911
+ "canonicalReference": "@fgv/ts-json-base!FileTree_2:class"
1912
+ },
1913
+ {
1914
+ "kind": "Content",
1915
+ "text": "<TCT>>>"
1916
+ },
1917
+ {
1918
+ "kind": "Content",
1919
+ "text": ";"
1920
+ }
1921
+ ],
1922
+ "typeParameters": [
1923
+ {
1924
+ "typeParameterName": "TCT",
1925
+ "constraintTokenRange": {
1926
+ "startIndex": 1,
1927
+ "endIndex": 2
1928
+ },
1929
+ "defaultTypeTokenRange": {
1930
+ "startIndex": 3,
1931
+ "endIndex": 4
1932
+ }
1933
+ }
1934
+ ],
1935
+ "isStatic": true,
1936
+ "returnTypeTokenRange": {
1937
+ "startIndex": 8,
1938
+ "endIndex": 14
1939
+ },
1940
+ "releaseTag": "Public",
1941
+ "isProtected": false,
1942
+ "overloadIndex": 1,
1943
+ "parameters": [
1944
+ {
1945
+ "parameterName": "params",
1946
+ "parameterTypeTokenRange": {
1947
+ "startIndex": 5,
1948
+ "endIndex": 7
1949
+ },
1950
+ "isOptional": false
1951
+ }
1952
+ ],
1953
+ "isOptional": false,
1954
+ "isAbstract": false,
1955
+ "name": "createFromHttp"
1956
+ },
1852
1957
  {
1853
1958
  "kind": "Method",
1854
1959
  "canonicalReference": "@fgv/ts-web-extras!FileApiTreeAccessors.createFromLocalStorage:member(1)",
@@ -2834,6 +2939,59 @@
2834
2939
  }
2835
2940
  ]
2836
2941
  },
2942
+ {
2943
+ "kind": "Method",
2944
+ "canonicalReference": "@fgv/ts-web-extras!FileSystemAccessTreeAccessors#deleteFile:member(1)",
2945
+ "docComment": "/**\n * Override deleteFile to track pending deletions for syncToDisk.\n */\n",
2946
+ "excerptTokens": [
2947
+ {
2948
+ "kind": "Content",
2949
+ "text": "deleteFile(path: "
2950
+ },
2951
+ {
2952
+ "kind": "Content",
2953
+ "text": "string"
2954
+ },
2955
+ {
2956
+ "kind": "Content",
2957
+ "text": "): "
2958
+ },
2959
+ {
2960
+ "kind": "Reference",
2961
+ "text": "Result",
2962
+ "canonicalReference": "@fgv/ts-utils!Result:type"
2963
+ },
2964
+ {
2965
+ "kind": "Content",
2966
+ "text": "<boolean>"
2967
+ },
2968
+ {
2969
+ "kind": "Content",
2970
+ "text": ";"
2971
+ }
2972
+ ],
2973
+ "isStatic": false,
2974
+ "returnTypeTokenRange": {
2975
+ "startIndex": 3,
2976
+ "endIndex": 5
2977
+ },
2978
+ "releaseTag": "Public",
2979
+ "isProtected": false,
2980
+ "overloadIndex": 1,
2981
+ "parameters": [
2982
+ {
2983
+ "parameterName": "path",
2984
+ "parameterTypeTokenRange": {
2985
+ "startIndex": 1,
2986
+ "endIndex": 2
2987
+ },
2988
+ "isOptional": false
2989
+ }
2990
+ ],
2991
+ "isOptional": false,
2992
+ "isAbstract": false,
2993
+ "name": "deleteFile"
2994
+ },
2837
2995
  {
2838
2996
  "kind": "Method",
2839
2997
  "canonicalReference": "@fgv/ts-web-extras!FileSystemAccessTreeAccessors#fileIsMutable:member(1)",
@@ -5054,87 +5212,761 @@
5054
5212
  ]
5055
5213
  },
5056
5214
  {
5057
- "kind": "Interface",
5058
- "canonicalReference": "@fgv/ts-web-extras!IDirectoryHandleTreeInitializer:interface",
5059
- "docComment": "/**\n * Tree initializer for File System Access API directory handles.\n *\n * @public\n */\n",
5215
+ "kind": "Class",
5216
+ "canonicalReference": "@fgv/ts-web-extras!HttpTreeAccessors:class",
5217
+ "docComment": "/**\n * HTTP-backed file tree accessors that cache data in memory and persist via REST API.\n *\n * @public\n */\n",
5060
5218
  "excerptTokens": [
5061
5219
  {
5062
5220
  "kind": "Content",
5063
- "text": "export interface IDirectoryHandleTreeInitializer "
5221
+ "text": "export declare class HttpTreeAccessors<TCT extends "
5222
+ },
5223
+ {
5224
+ "kind": "Content",
5225
+ "text": "string"
5226
+ },
5227
+ {
5228
+ "kind": "Content",
5229
+ "text": " = "
5230
+ },
5231
+ {
5232
+ "kind": "Content",
5233
+ "text": "string"
5234
+ },
5235
+ {
5236
+ "kind": "Content",
5237
+ "text": "> extends "
5238
+ },
5239
+ {
5240
+ "kind": "Reference",
5241
+ "text": "FileTree.InMemoryTreeAccessors",
5242
+ "canonicalReference": "@fgv/ts-json-base!InMemoryTreeAccessors:class"
5243
+ },
5244
+ {
5245
+ "kind": "Content",
5246
+ "text": "<TCT>"
5247
+ },
5248
+ {
5249
+ "kind": "Content",
5250
+ "text": " implements "
5251
+ },
5252
+ {
5253
+ "kind": "Reference",
5254
+ "text": "FileTree.IPersistentFileTreeAccessors",
5255
+ "canonicalReference": "@fgv/ts-json-base!IPersistentFileTreeAccessors:interface"
5256
+ },
5257
+ {
5258
+ "kind": "Content",
5259
+ "text": "<TCT>"
5260
+ },
5261
+ {
5262
+ "kind": "Content",
5263
+ "text": " "
5064
5264
  }
5065
5265
  ],
5066
- "fileUrlPath": "src/packlets/file-tree/fileApiTreeAccessors.ts",
5266
+ "fileUrlPath": "src/packlets/file-tree/httpTreeAccessors.ts",
5067
5267
  "releaseTag": "Public",
5068
- "name": "IDirectoryHandleTreeInitializer",
5268
+ "typeParameters": [
5269
+ {
5270
+ "typeParameterName": "TCT",
5271
+ "constraintTokenRange": {
5272
+ "startIndex": 1,
5273
+ "endIndex": 2
5274
+ },
5275
+ "defaultTypeTokenRange": {
5276
+ "startIndex": 3,
5277
+ "endIndex": 4
5278
+ }
5279
+ }
5280
+ ],
5281
+ "isAbstract": false,
5282
+ "name": "HttpTreeAccessors",
5069
5283
  "preserveMemberOrder": false,
5070
5284
  "members": [
5071
5285
  {
5072
- "kind": "PropertySignature",
5073
- "canonicalReference": "@fgv/ts-web-extras!IDirectoryHandleTreeInitializer#dirHandles:member",
5286
+ "kind": "Method",
5287
+ "canonicalReference": "@fgv/ts-web-extras!HttpTreeAccessors#deleteFile:member(1)",
5074
5288
  "docComment": "",
5075
5289
  "excerptTokens": [
5076
5290
  {
5077
5291
  "kind": "Content",
5078
- "text": "readonly dirHandles: "
5079
- },
5080
- {
5081
- "kind": "Reference",
5082
- "text": "FileSystemDirectoryHandle",
5083
- "canonicalReference": "@fgv/ts-web-extras!FileSystemDirectoryHandle_2:interface"
5292
+ "text": "deleteFile(path: "
5084
5293
  },
5085
5294
  {
5086
5295
  "kind": "Content",
5087
- "text": "[]"
5296
+ "text": "string"
5088
5297
  },
5089
5298
  {
5090
5299
  "kind": "Content",
5091
- "text": ";"
5092
- }
5093
- ],
5094
- "isReadonly": true,
5095
- "isOptional": false,
5096
- "releaseTag": "Public",
5097
- "name": "dirHandles",
5098
- "propertyTypeTokenRange": {
5099
- "startIndex": 1,
5100
- "endIndex": 3
5101
- }
5102
- },
5103
- {
5104
- "kind": "PropertySignature",
5105
- "canonicalReference": "@fgv/ts-web-extras!IDirectoryHandleTreeInitializer#nonRecursive:member",
5106
- "docComment": "",
5107
- "excerptTokens": [
5300
+ "text": "): "
5301
+ },
5108
5302
  {
5109
- "kind": "Content",
5110
- "text": "readonly nonRecursive?: "
5303
+ "kind": "Reference",
5304
+ "text": "Result",
5305
+ "canonicalReference": "@fgv/ts-utils!Result:type"
5111
5306
  },
5112
5307
  {
5113
5308
  "kind": "Content",
5114
- "text": "boolean"
5309
+ "text": "<boolean>"
5115
5310
  },
5116
5311
  {
5117
5312
  "kind": "Content",
5118
5313
  "text": ";"
5119
5314
  }
5120
5315
  ],
5121
- "isReadonly": true,
5122
- "isOptional": true,
5316
+ "isStatic": false,
5317
+ "returnTypeTokenRange": {
5318
+ "startIndex": 3,
5319
+ "endIndex": 5
5320
+ },
5123
5321
  "releaseTag": "Public",
5124
- "name": "nonRecursive",
5125
- "propertyTypeTokenRange": {
5322
+ "isProtected": false,
5323
+ "overloadIndex": 1,
5324
+ "parameters": [
5325
+ {
5326
+ "parameterName": "path",
5327
+ "parameterTypeTokenRange": {
5328
+ "startIndex": 1,
5329
+ "endIndex": 2
5330
+ },
5331
+ "isOptional": false
5332
+ }
5333
+ ],
5334
+ "isOptional": false,
5335
+ "isAbstract": false,
5336
+ "name": "deleteFile"
5337
+ },
5338
+ {
5339
+ "kind": "Method",
5340
+ "canonicalReference": "@fgv/ts-web-extras!HttpTreeAccessors#fileIsMutable:member(1)",
5341
+ "docComment": "/**\n * Checks if a file is mutable (can be modified).\n *\n * @param path - The path to the file.\n *\n * @returns A detailed result indicating if the file is mutable and the reason.\n */\n",
5342
+ "excerptTokens": [
5343
+ {
5344
+ "kind": "Content",
5345
+ "text": "fileIsMutable(path: "
5346
+ },
5347
+ {
5348
+ "kind": "Content",
5349
+ "text": "string"
5350
+ },
5351
+ {
5352
+ "kind": "Content",
5353
+ "text": "): "
5354
+ },
5355
+ {
5356
+ "kind": "Reference",
5357
+ "text": "DetailedResult",
5358
+ "canonicalReference": "@fgv/ts-utils!DetailedResult:type"
5359
+ },
5360
+ {
5361
+ "kind": "Content",
5362
+ "text": "<boolean, "
5363
+ },
5364
+ {
5365
+ "kind": "Reference",
5366
+ "text": "FileTree.SaveDetail",
5367
+ "canonicalReference": "@fgv/ts-json-base!SaveDetail:type"
5368
+ },
5369
+ {
5370
+ "kind": "Content",
5371
+ "text": ">"
5372
+ },
5373
+ {
5374
+ "kind": "Content",
5375
+ "text": ";"
5376
+ }
5377
+ ],
5378
+ "isStatic": false,
5379
+ "returnTypeTokenRange": {
5380
+ "startIndex": 3,
5381
+ "endIndex": 7
5382
+ },
5383
+ "releaseTag": "Public",
5384
+ "isProtected": false,
5385
+ "overloadIndex": 1,
5386
+ "parameters": [
5387
+ {
5388
+ "parameterName": "path",
5389
+ "parameterTypeTokenRange": {
5390
+ "startIndex": 1,
5391
+ "endIndex": 2
5392
+ },
5393
+ "isOptional": false
5394
+ }
5395
+ ],
5396
+ "isOptional": false,
5397
+ "isAbstract": false,
5398
+ "name": "fileIsMutable"
5399
+ },
5400
+ {
5401
+ "kind": "Method",
5402
+ "canonicalReference": "@fgv/ts-web-extras!HttpTreeAccessors.fromHttp:member(1)",
5403
+ "docComment": "/**\n * Creates a new HttpTreeAccessors instance from an HTTP backend.\n *\n * @param params - Configuration parameters for the HTTP tree accessors.\n *\n * @returns A promise that resolves to a result containing the new HttpTreeAccessors instance or an error message.\n */\n",
5404
+ "excerptTokens": [
5405
+ {
5406
+ "kind": "Content",
5407
+ "text": "static fromHttp<TCT extends "
5408
+ },
5409
+ {
5410
+ "kind": "Content",
5411
+ "text": "string"
5412
+ },
5413
+ {
5414
+ "kind": "Content",
5415
+ "text": " = "
5416
+ },
5417
+ {
5418
+ "kind": "Content",
5419
+ "text": "string"
5420
+ },
5421
+ {
5422
+ "kind": "Content",
5423
+ "text": ">(params: "
5424
+ },
5425
+ {
5426
+ "kind": "Reference",
5427
+ "text": "IHttpTreeParams",
5428
+ "canonicalReference": "@fgv/ts-web-extras!IHttpTreeParams:interface"
5429
+ },
5430
+ {
5431
+ "kind": "Content",
5432
+ "text": "<TCT>"
5433
+ },
5434
+ {
5435
+ "kind": "Content",
5436
+ "text": "): "
5437
+ },
5438
+ {
5439
+ "kind": "Reference",
5440
+ "text": "Promise",
5441
+ "canonicalReference": "!Promise:interface"
5442
+ },
5443
+ {
5444
+ "kind": "Content",
5445
+ "text": "<"
5446
+ },
5447
+ {
5448
+ "kind": "Reference",
5449
+ "text": "Result",
5450
+ "canonicalReference": "@fgv/ts-utils!Result:type"
5451
+ },
5452
+ {
5453
+ "kind": "Content",
5454
+ "text": "<"
5455
+ },
5456
+ {
5457
+ "kind": "Reference",
5458
+ "text": "HttpTreeAccessors",
5459
+ "canonicalReference": "@fgv/ts-web-extras!HttpTreeAccessors:class"
5460
+ },
5461
+ {
5462
+ "kind": "Content",
5463
+ "text": "<TCT>>>"
5464
+ },
5465
+ {
5466
+ "kind": "Content",
5467
+ "text": ";"
5468
+ }
5469
+ ],
5470
+ "typeParameters": [
5471
+ {
5472
+ "typeParameterName": "TCT",
5473
+ "constraintTokenRange": {
5474
+ "startIndex": 1,
5475
+ "endIndex": 2
5476
+ },
5477
+ "defaultTypeTokenRange": {
5478
+ "startIndex": 3,
5479
+ "endIndex": 4
5480
+ }
5481
+ }
5482
+ ],
5483
+ "isStatic": true,
5484
+ "returnTypeTokenRange": {
5485
+ "startIndex": 8,
5486
+ "endIndex": 14
5487
+ },
5488
+ "releaseTag": "Public",
5489
+ "isProtected": false,
5490
+ "overloadIndex": 1,
5491
+ "parameters": [
5492
+ {
5493
+ "parameterName": "params",
5494
+ "parameterTypeTokenRange": {
5495
+ "startIndex": 5,
5496
+ "endIndex": 7
5497
+ },
5498
+ "isOptional": false
5499
+ }
5500
+ ],
5501
+ "isOptional": false,
5502
+ "isAbstract": false,
5503
+ "name": "fromHttp"
5504
+ },
5505
+ {
5506
+ "kind": "Method",
5507
+ "canonicalReference": "@fgv/ts-web-extras!HttpTreeAccessors#getDirtyPaths:member(1)",
5508
+ "docComment": "/**\n * Gets the list of paths for all dirty files.\n *\n * @returns An array of file paths that have been modified but not yet synchronized.\n */\n",
5509
+ "excerptTokens": [
5510
+ {
5511
+ "kind": "Content",
5512
+ "text": "getDirtyPaths(): "
5513
+ },
5514
+ {
5515
+ "kind": "Content",
5516
+ "text": "string[]"
5517
+ },
5518
+ {
5519
+ "kind": "Content",
5520
+ "text": ";"
5521
+ }
5522
+ ],
5523
+ "isStatic": false,
5524
+ "returnTypeTokenRange": {
5525
+ "startIndex": 1,
5526
+ "endIndex": 2
5527
+ },
5528
+ "releaseTag": "Public",
5529
+ "isProtected": false,
5530
+ "overloadIndex": 1,
5531
+ "parameters": [],
5532
+ "isOptional": false,
5533
+ "isAbstract": false,
5534
+ "name": "getDirtyPaths"
5535
+ },
5536
+ {
5537
+ "kind": "Method",
5538
+ "canonicalReference": "@fgv/ts-web-extras!HttpTreeAccessors#isDirty:member(1)",
5539
+ "docComment": "/**\n * Checks if there are any dirty files that need synchronization.\n *\n * @returns True if there are dirty files, false otherwise.\n */\n",
5540
+ "excerptTokens": [
5541
+ {
5542
+ "kind": "Content",
5543
+ "text": "isDirty(): "
5544
+ },
5545
+ {
5546
+ "kind": "Content",
5547
+ "text": "boolean"
5548
+ },
5549
+ {
5550
+ "kind": "Content",
5551
+ "text": ";"
5552
+ }
5553
+ ],
5554
+ "isStatic": false,
5555
+ "returnTypeTokenRange": {
5556
+ "startIndex": 1,
5557
+ "endIndex": 2
5558
+ },
5559
+ "releaseTag": "Public",
5560
+ "isProtected": false,
5561
+ "overloadIndex": 1,
5562
+ "parameters": [],
5563
+ "isOptional": false,
5564
+ "isAbstract": false,
5565
+ "name": "isDirty"
5566
+ },
5567
+ {
5568
+ "kind": "Method",
5569
+ "canonicalReference": "@fgv/ts-web-extras!HttpTreeAccessors#saveFileContents:member(1)",
5570
+ "docComment": "/**\n * Saves file contents and marks the file as dirty for synchronization.\n *\n * @param path - The path to the file.\n *\n * @param contents - The new contents of the file.\n *\n * @returns A result indicating success or failure.\n */\n",
5571
+ "excerptTokens": [
5572
+ {
5573
+ "kind": "Content",
5574
+ "text": "saveFileContents(path: "
5575
+ },
5576
+ {
5577
+ "kind": "Content",
5578
+ "text": "string"
5579
+ },
5580
+ {
5581
+ "kind": "Content",
5582
+ "text": ", contents: "
5583
+ },
5584
+ {
5585
+ "kind": "Content",
5586
+ "text": "string"
5587
+ },
5588
+ {
5589
+ "kind": "Content",
5590
+ "text": "): "
5591
+ },
5592
+ {
5593
+ "kind": "Reference",
5594
+ "text": "Result",
5595
+ "canonicalReference": "@fgv/ts-utils!Result:type"
5596
+ },
5597
+ {
5598
+ "kind": "Content",
5599
+ "text": "<string>"
5600
+ },
5601
+ {
5602
+ "kind": "Content",
5603
+ "text": ";"
5604
+ }
5605
+ ],
5606
+ "isStatic": false,
5607
+ "returnTypeTokenRange": {
5608
+ "startIndex": 5,
5609
+ "endIndex": 7
5610
+ },
5611
+ "releaseTag": "Public",
5612
+ "isProtected": false,
5613
+ "overloadIndex": 1,
5614
+ "parameters": [
5615
+ {
5616
+ "parameterName": "path",
5617
+ "parameterTypeTokenRange": {
5618
+ "startIndex": 1,
5619
+ "endIndex": 2
5620
+ },
5621
+ "isOptional": false
5622
+ },
5623
+ {
5624
+ "parameterName": "contents",
5625
+ "parameterTypeTokenRange": {
5626
+ "startIndex": 3,
5627
+ "endIndex": 4
5628
+ },
5629
+ "isOptional": false
5630
+ }
5631
+ ],
5632
+ "isOptional": false,
5633
+ "isAbstract": false,
5634
+ "name": "saveFileContents"
5635
+ },
5636
+ {
5637
+ "kind": "Method",
5638
+ "canonicalReference": "@fgv/ts-web-extras!HttpTreeAccessors#syncToDisk:member(1)",
5639
+ "docComment": "/**\n * Synchronizes all dirty files to the HTTP backend.\n *\n * Uses a concurrency guard: if a sync is already in progress, callers await the existing operation rather than starting a parallel one. This prevents the thundering herd that occurs when autoSync fires for every file written during a bulk operation (e.g. restore).\n *\n * @returns A promise that resolves to a result indicating success or failure.\n */\n",
5640
+ "excerptTokens": [
5641
+ {
5642
+ "kind": "Content",
5643
+ "text": "syncToDisk(): "
5644
+ },
5645
+ {
5646
+ "kind": "Reference",
5647
+ "text": "Promise",
5648
+ "canonicalReference": "!Promise:interface"
5649
+ },
5650
+ {
5651
+ "kind": "Content",
5652
+ "text": "<"
5653
+ },
5654
+ {
5655
+ "kind": "Reference",
5656
+ "text": "Result",
5657
+ "canonicalReference": "@fgv/ts-utils!Result:type"
5658
+ },
5659
+ {
5660
+ "kind": "Content",
5661
+ "text": "<void>>"
5662
+ },
5663
+ {
5664
+ "kind": "Content",
5665
+ "text": ";"
5666
+ }
5667
+ ],
5668
+ "isStatic": false,
5669
+ "returnTypeTokenRange": {
5670
+ "startIndex": 1,
5671
+ "endIndex": 5
5672
+ },
5673
+ "releaseTag": "Public",
5674
+ "isProtected": false,
5675
+ "overloadIndex": 1,
5676
+ "parameters": [],
5677
+ "isOptional": false,
5678
+ "isAbstract": false,
5679
+ "name": "syncToDisk"
5680
+ }
5681
+ ],
5682
+ "extendsTokenRange": {
5683
+ "startIndex": 5,
5684
+ "endIndex": 7
5685
+ },
5686
+ "implementsTokenRanges": [
5687
+ {
5688
+ "startIndex": 8,
5689
+ "endIndex": 10
5690
+ }
5691
+ ]
5692
+ },
5693
+ {
5694
+ "kind": "Interface",
5695
+ "canonicalReference": "@fgv/ts-web-extras!IDirectoryHandleTreeInitializer:interface",
5696
+ "docComment": "/**\n * Tree initializer for File System Access API directory handles.\n *\n * @public\n */\n",
5697
+ "excerptTokens": [
5698
+ {
5699
+ "kind": "Content",
5700
+ "text": "export interface IDirectoryHandleTreeInitializer "
5701
+ }
5702
+ ],
5703
+ "fileUrlPath": "src/packlets/file-tree/fileApiTreeAccessors.ts",
5704
+ "releaseTag": "Public",
5705
+ "name": "IDirectoryHandleTreeInitializer",
5706
+ "preserveMemberOrder": false,
5707
+ "members": [
5708
+ {
5709
+ "kind": "PropertySignature",
5710
+ "canonicalReference": "@fgv/ts-web-extras!IDirectoryHandleTreeInitializer#dirHandles:member",
5711
+ "docComment": "",
5712
+ "excerptTokens": [
5713
+ {
5714
+ "kind": "Content",
5715
+ "text": "readonly dirHandles: "
5716
+ },
5717
+ {
5718
+ "kind": "Reference",
5719
+ "text": "FileSystemDirectoryHandle",
5720
+ "canonicalReference": "@fgv/ts-web-extras!FileSystemDirectoryHandle_2:interface"
5721
+ },
5722
+ {
5723
+ "kind": "Content",
5724
+ "text": "[]"
5725
+ },
5726
+ {
5727
+ "kind": "Content",
5728
+ "text": ";"
5729
+ }
5730
+ ],
5731
+ "isReadonly": true,
5732
+ "isOptional": false,
5733
+ "releaseTag": "Public",
5734
+ "name": "dirHandles",
5735
+ "propertyTypeTokenRange": {
5736
+ "startIndex": 1,
5737
+ "endIndex": 3
5738
+ }
5739
+ },
5740
+ {
5741
+ "kind": "PropertySignature",
5742
+ "canonicalReference": "@fgv/ts-web-extras!IDirectoryHandleTreeInitializer#nonRecursive:member",
5743
+ "docComment": "",
5744
+ "excerptTokens": [
5745
+ {
5746
+ "kind": "Content",
5747
+ "text": "readonly nonRecursive?: "
5748
+ },
5749
+ {
5750
+ "kind": "Content",
5751
+ "text": "boolean"
5752
+ },
5753
+ {
5754
+ "kind": "Content",
5755
+ "text": ";"
5756
+ }
5757
+ ],
5758
+ "isReadonly": true,
5759
+ "isOptional": true,
5760
+ "releaseTag": "Public",
5761
+ "name": "nonRecursive",
5762
+ "propertyTypeTokenRange": {
5763
+ "startIndex": 1,
5764
+ "endIndex": 2
5765
+ }
5766
+ },
5767
+ {
5768
+ "kind": "PropertySignature",
5769
+ "canonicalReference": "@fgv/ts-web-extras!IDirectoryHandleTreeInitializer#prefix:member",
5770
+ "docComment": "",
5771
+ "excerptTokens": [
5772
+ {
5773
+ "kind": "Content",
5774
+ "text": "readonly prefix?: "
5775
+ },
5776
+ {
5777
+ "kind": "Content",
5778
+ "text": "string"
5779
+ },
5780
+ {
5781
+ "kind": "Content",
5782
+ "text": ";"
5783
+ }
5784
+ ],
5785
+ "isReadonly": true,
5786
+ "isOptional": true,
5787
+ "releaseTag": "Public",
5788
+ "name": "prefix",
5789
+ "propertyTypeTokenRange": {
5790
+ "startIndex": 1,
5791
+ "endIndex": 2
5792
+ }
5793
+ }
5794
+ ],
5795
+ "extendsTokenRanges": []
5796
+ },
5797
+ {
5798
+ "kind": "Interface",
5799
+ "canonicalReference": "@fgv/ts-web-extras!IFileHandleTreeInitializer:interface",
5800
+ "docComment": "/**\n * Tree initializer for File System Access API file handles.\n *\n * @public\n */\n",
5801
+ "excerptTokens": [
5802
+ {
5803
+ "kind": "Content",
5804
+ "text": "export interface IFileHandleTreeInitializer "
5805
+ }
5806
+ ],
5807
+ "fileUrlPath": "src/packlets/file-tree/fileApiTreeAccessors.ts",
5808
+ "releaseTag": "Public",
5809
+ "name": "IFileHandleTreeInitializer",
5810
+ "preserveMemberOrder": false,
5811
+ "members": [
5812
+ {
5813
+ "kind": "PropertySignature",
5814
+ "canonicalReference": "@fgv/ts-web-extras!IFileHandleTreeInitializer#fileHandles:member",
5815
+ "docComment": "",
5816
+ "excerptTokens": [
5817
+ {
5818
+ "kind": "Content",
5819
+ "text": "readonly fileHandles: "
5820
+ },
5821
+ {
5822
+ "kind": "Reference",
5823
+ "text": "FileSystemFileHandle",
5824
+ "canonicalReference": "@fgv/ts-web-extras!FileSystemFileHandle_2:interface"
5825
+ },
5826
+ {
5827
+ "kind": "Content",
5828
+ "text": "[]"
5829
+ },
5830
+ {
5831
+ "kind": "Content",
5832
+ "text": ";"
5833
+ }
5834
+ ],
5835
+ "isReadonly": true,
5836
+ "isOptional": false,
5837
+ "releaseTag": "Public",
5838
+ "name": "fileHandles",
5839
+ "propertyTypeTokenRange": {
5840
+ "startIndex": 1,
5841
+ "endIndex": 3
5842
+ }
5843
+ },
5844
+ {
5845
+ "kind": "PropertySignature",
5846
+ "canonicalReference": "@fgv/ts-web-extras!IFileHandleTreeInitializer#prefix:member",
5847
+ "docComment": "",
5848
+ "excerptTokens": [
5849
+ {
5850
+ "kind": "Content",
5851
+ "text": "readonly prefix?: "
5852
+ },
5853
+ {
5854
+ "kind": "Content",
5855
+ "text": "string"
5856
+ },
5857
+ {
5858
+ "kind": "Content",
5859
+ "text": ";"
5860
+ }
5861
+ ],
5862
+ "isReadonly": true,
5863
+ "isOptional": true,
5864
+ "releaseTag": "Public",
5865
+ "name": "prefix",
5866
+ "propertyTypeTokenRange": {
5867
+ "startIndex": 1,
5868
+ "endIndex": 2
5869
+ }
5870
+ }
5871
+ ],
5872
+ "extendsTokenRanges": []
5873
+ },
5874
+ {
5875
+ "kind": "Interface",
5876
+ "canonicalReference": "@fgv/ts-web-extras!IFileListTreeInitializer:interface",
5877
+ "docComment": "/**\n * Tree initializer for FileList objects (from File API).\n *\n * @public\n */\n",
5878
+ "excerptTokens": [
5879
+ {
5880
+ "kind": "Content",
5881
+ "text": "export interface IFileListTreeInitializer "
5882
+ }
5883
+ ],
5884
+ "fileUrlPath": "src/packlets/file-tree/fileApiTreeAccessors.ts",
5885
+ "releaseTag": "Public",
5886
+ "name": "IFileListTreeInitializer",
5887
+ "preserveMemberOrder": false,
5888
+ "members": [
5889
+ {
5890
+ "kind": "PropertySignature",
5891
+ "canonicalReference": "@fgv/ts-web-extras!IFileListTreeInitializer#fileList:member",
5892
+ "docComment": "",
5893
+ "excerptTokens": [
5894
+ {
5895
+ "kind": "Content",
5896
+ "text": "readonly fileList: "
5897
+ },
5898
+ {
5899
+ "kind": "Reference",
5900
+ "text": "FileList",
5901
+ "canonicalReference": "!FileList:interface"
5902
+ },
5903
+ {
5904
+ "kind": "Content",
5905
+ "text": ";"
5906
+ }
5907
+ ],
5908
+ "isReadonly": true,
5909
+ "isOptional": false,
5910
+ "releaseTag": "Public",
5911
+ "name": "fileList",
5912
+ "propertyTypeTokenRange": {
5913
+ "startIndex": 1,
5914
+ "endIndex": 2
5915
+ }
5916
+ }
5917
+ ],
5918
+ "extendsTokenRanges": []
5919
+ },
5920
+ {
5921
+ "kind": "Interface",
5922
+ "canonicalReference": "@fgv/ts-web-extras!IFileMetadata:interface",
5923
+ "docComment": "/**\n * Interface for file metadata.\n *\n * @public\n */\n",
5924
+ "excerptTokens": [
5925
+ {
5926
+ "kind": "Content",
5927
+ "text": "export interface IFileMetadata "
5928
+ }
5929
+ ],
5930
+ "fileUrlPath": "src/packlets/file-tree/fileApiTreeAccessors.ts",
5931
+ "releaseTag": "Public",
5932
+ "name": "IFileMetadata",
5933
+ "preserveMemberOrder": false,
5934
+ "members": [
5935
+ {
5936
+ "kind": "PropertySignature",
5937
+ "canonicalReference": "@fgv/ts-web-extras!IFileMetadata#lastModified:member",
5938
+ "docComment": "",
5939
+ "excerptTokens": [
5940
+ {
5941
+ "kind": "Content",
5942
+ "text": "lastModified: "
5943
+ },
5944
+ {
5945
+ "kind": "Content",
5946
+ "text": "number"
5947
+ },
5948
+ {
5949
+ "kind": "Content",
5950
+ "text": ";"
5951
+ }
5952
+ ],
5953
+ "isReadonly": false,
5954
+ "isOptional": false,
5955
+ "releaseTag": "Public",
5956
+ "name": "lastModified",
5957
+ "propertyTypeTokenRange": {
5126
5958
  "startIndex": 1,
5127
5959
  "endIndex": 2
5128
5960
  }
5129
5961
  },
5130
5962
  {
5131
5963
  "kind": "PropertySignature",
5132
- "canonicalReference": "@fgv/ts-web-extras!IDirectoryHandleTreeInitializer#prefix:member",
5964
+ "canonicalReference": "@fgv/ts-web-extras!IFileMetadata#name:member",
5133
5965
  "docComment": "",
5134
5966
  "excerptTokens": [
5135
5967
  {
5136
5968
  "kind": "Content",
5137
- "text": "readonly prefix?: "
5969
+ "text": "name: "
5138
5970
  },
5139
5971
  {
5140
5972
  "kind": "Content",
@@ -5145,10 +5977,91 @@
5145
5977
  "text": ";"
5146
5978
  }
5147
5979
  ],
5148
- "isReadonly": true,
5149
- "isOptional": true,
5980
+ "isReadonly": false,
5981
+ "isOptional": false,
5150
5982
  "releaseTag": "Public",
5151
- "name": "prefix",
5983
+ "name": "name",
5984
+ "propertyTypeTokenRange": {
5985
+ "startIndex": 1,
5986
+ "endIndex": 2
5987
+ }
5988
+ },
5989
+ {
5990
+ "kind": "PropertySignature",
5991
+ "canonicalReference": "@fgv/ts-web-extras!IFileMetadata#path:member",
5992
+ "docComment": "",
5993
+ "excerptTokens": [
5994
+ {
5995
+ "kind": "Content",
5996
+ "text": "path: "
5997
+ },
5998
+ {
5999
+ "kind": "Content",
6000
+ "text": "string"
6001
+ },
6002
+ {
6003
+ "kind": "Content",
6004
+ "text": ";"
6005
+ }
6006
+ ],
6007
+ "isReadonly": false,
6008
+ "isOptional": false,
6009
+ "releaseTag": "Public",
6010
+ "name": "path",
6011
+ "propertyTypeTokenRange": {
6012
+ "startIndex": 1,
6013
+ "endIndex": 2
6014
+ }
6015
+ },
6016
+ {
6017
+ "kind": "PropertySignature",
6018
+ "canonicalReference": "@fgv/ts-web-extras!IFileMetadata#size:member",
6019
+ "docComment": "",
6020
+ "excerptTokens": [
6021
+ {
6022
+ "kind": "Content",
6023
+ "text": "size: "
6024
+ },
6025
+ {
6026
+ "kind": "Content",
6027
+ "text": "number"
6028
+ },
6029
+ {
6030
+ "kind": "Content",
6031
+ "text": ";"
6032
+ }
6033
+ ],
6034
+ "isReadonly": false,
6035
+ "isOptional": false,
6036
+ "releaseTag": "Public",
6037
+ "name": "size",
6038
+ "propertyTypeTokenRange": {
6039
+ "startIndex": 1,
6040
+ "endIndex": 2
6041
+ }
6042
+ },
6043
+ {
6044
+ "kind": "PropertySignature",
6045
+ "canonicalReference": "@fgv/ts-web-extras!IFileMetadata#type:member",
6046
+ "docComment": "",
6047
+ "excerptTokens": [
6048
+ {
6049
+ "kind": "Content",
6050
+ "text": "type: "
6051
+ },
6052
+ {
6053
+ "kind": "Content",
6054
+ "text": "string"
6055
+ },
6056
+ {
6057
+ "kind": "Content",
6058
+ "text": ";"
6059
+ }
6060
+ ],
6061
+ "isReadonly": false,
6062
+ "isOptional": false,
6063
+ "releaseTag": "Public",
6064
+ "name": "type",
5152
6065
  "propertyTypeTokenRange": {
5153
6066
  "startIndex": 1,
5154
6067
  "endIndex": 2
@@ -5159,46 +6072,142 @@
5159
6072
  },
5160
6073
  {
5161
6074
  "kind": "Interface",
5162
- "canonicalReference": "@fgv/ts-web-extras!IFileHandleTreeInitializer:interface",
5163
- "docComment": "/**\n * Tree initializer for File System Access API file handles.\n *\n * @public\n */\n",
6075
+ "canonicalReference": "@fgv/ts-web-extras!IFileSystemAccessTreeParams:interface",
6076
+ "docComment": "/**\n * Options for creating persistent file trees.\n *\n * @public\n */\n",
5164
6077
  "excerptTokens": [
5165
6078
  {
5166
6079
  "kind": "Content",
5167
- "text": "export interface IFileHandleTreeInitializer "
6080
+ "text": "export interface IFileSystemAccessTreeParams<TCT extends "
6081
+ },
6082
+ {
6083
+ "kind": "Content",
6084
+ "text": "string"
6085
+ },
6086
+ {
6087
+ "kind": "Content",
6088
+ "text": " = "
6089
+ },
6090
+ {
6091
+ "kind": "Content",
6092
+ "text": "string"
6093
+ },
6094
+ {
6095
+ "kind": "Content",
6096
+ "text": "> extends "
6097
+ },
6098
+ {
6099
+ "kind": "Reference",
6100
+ "text": "FileTree.IFileTreeInitParams",
6101
+ "canonicalReference": "@fgv/ts-json-base!IFileTreeInitParams:interface"
6102
+ },
6103
+ {
6104
+ "kind": "Content",
6105
+ "text": "<TCT>"
6106
+ },
6107
+ {
6108
+ "kind": "Content",
6109
+ "text": " "
5168
6110
  }
5169
6111
  ],
5170
- "fileUrlPath": "src/packlets/file-tree/fileApiTreeAccessors.ts",
6112
+ "fileUrlPath": "src/packlets/file-tree/fileSystemAccessTreeAccessors.ts",
5171
6113
  "releaseTag": "Public",
5172
- "name": "IFileHandleTreeInitializer",
6114
+ "typeParameters": [
6115
+ {
6116
+ "typeParameterName": "TCT",
6117
+ "constraintTokenRange": {
6118
+ "startIndex": 1,
6119
+ "endIndex": 2
6120
+ },
6121
+ "defaultTypeTokenRange": {
6122
+ "startIndex": 3,
6123
+ "endIndex": 4
6124
+ }
6125
+ }
6126
+ ],
6127
+ "name": "IFileSystemAccessTreeParams",
5173
6128
  "preserveMemberOrder": false,
5174
6129
  "members": [
5175
6130
  {
5176
6131
  "kind": "PropertySignature",
5177
- "canonicalReference": "@fgv/ts-web-extras!IFileHandleTreeInitializer#fileHandles:member",
5178
- "docComment": "",
6132
+ "canonicalReference": "@fgv/ts-web-extras!IFileSystemAccessTreeParams#autoSync:member",
6133
+ "docComment": "/**\n * Automatically sync changes to disk immediately after each save. If false, changes are batched and written on explicit syncToDisk() call.\n *\n * @defaultValue false\n */\n",
5179
6134
  "excerptTokens": [
5180
6135
  {
5181
6136
  "kind": "Content",
5182
- "text": "readonly fileHandles: "
6137
+ "text": "autoSync?: "
6138
+ },
6139
+ {
6140
+ "kind": "Content",
6141
+ "text": "boolean"
6142
+ },
6143
+ {
6144
+ "kind": "Content",
6145
+ "text": ";"
6146
+ }
6147
+ ],
6148
+ "isReadonly": false,
6149
+ "isOptional": true,
6150
+ "releaseTag": "Public",
6151
+ "name": "autoSync",
6152
+ "propertyTypeTokenRange": {
6153
+ "startIndex": 1,
6154
+ "endIndex": 2
6155
+ }
6156
+ },
6157
+ {
6158
+ "kind": "PropertySignature",
6159
+ "canonicalReference": "@fgv/ts-web-extras!IFileSystemAccessTreeParams#filePath:member",
6160
+ "docComment": "/**\n * Override the path at which the file is stored in the tree (for fromFileHandle). Must be an absolute path (e.g., '/data/confections/common.yaml'). If omitted, defaults to `/<filename>`.\n */\n",
6161
+ "excerptTokens": [
6162
+ {
6163
+ "kind": "Content",
6164
+ "text": "filePath?: "
6165
+ },
6166
+ {
6167
+ "kind": "Content",
6168
+ "text": "string"
6169
+ },
6170
+ {
6171
+ "kind": "Content",
6172
+ "text": ";"
6173
+ }
6174
+ ],
6175
+ "isReadonly": false,
6176
+ "isOptional": true,
6177
+ "releaseTag": "Public",
6178
+ "name": "filePath",
6179
+ "propertyTypeTokenRange": {
6180
+ "startIndex": 1,
6181
+ "endIndex": 2
6182
+ }
6183
+ },
6184
+ {
6185
+ "kind": "PropertySignature",
6186
+ "canonicalReference": "@fgv/ts-web-extras!IFileSystemAccessTreeParams#logger:member",
6187
+ "docComment": "/**\n * Optional logger for auto-sync and persistence failures.\n */\n",
6188
+ "excerptTokens": [
6189
+ {
6190
+ "kind": "Content",
6191
+ "text": "logger?: "
5183
6192
  },
5184
6193
  {
5185
6194
  "kind": "Reference",
5186
- "text": "FileSystemFileHandle",
5187
- "canonicalReference": "@fgv/ts-web-extras!FileSystemFileHandle_2:interface"
6195
+ "text": "Logging.LogReporter",
6196
+ "canonicalReference": "@fgv/ts-utils!LogReporter:class"
5188
6197
  },
5189
6198
  {
5190
6199
  "kind": "Content",
5191
- "text": "[]"
6200
+ "text": "<unknown>"
5192
6201
  },
5193
6202
  {
5194
6203
  "kind": "Content",
5195
6204
  "text": ";"
5196
6205
  }
5197
6206
  ],
5198
- "isReadonly": true,
5199
- "isOptional": false,
6207
+ "isReadonly": false,
6208
+ "isOptional": true,
5200
6209
  "releaseTag": "Public",
5201
- "name": "fileHandles",
6210
+ "name": "logger",
5202
6211
  "propertyTypeTokenRange": {
5203
6212
  "startIndex": 1,
5204
6213
  "endIndex": 3
@@ -5206,241 +6215,245 @@
5206
6215
  },
5207
6216
  {
5208
6217
  "kind": "PropertySignature",
5209
- "canonicalReference": "@fgv/ts-web-extras!IFileHandleTreeInitializer#prefix:member",
5210
- "docComment": "",
6218
+ "canonicalReference": "@fgv/ts-web-extras!IFileSystemAccessTreeParams#requireWritePermission:member",
6219
+ "docComment": "/**\n * Require write permission on the directory handle. If true, fails if write permission cannot be obtained. If false, falls back to read-only mode.\n *\n * @defaultValue true\n */\n",
5211
6220
  "excerptTokens": [
5212
6221
  {
5213
6222
  "kind": "Content",
5214
- "text": "readonly prefix?: "
6223
+ "text": "requireWritePermission?: "
5215
6224
  },
5216
6225
  {
5217
6226
  "kind": "Content",
5218
- "text": "string"
6227
+ "text": "boolean"
5219
6228
  },
5220
6229
  {
5221
6230
  "kind": "Content",
5222
6231
  "text": ";"
5223
6232
  }
5224
6233
  ],
5225
- "isReadonly": true,
6234
+ "isReadonly": false,
5226
6235
  "isOptional": true,
5227
6236
  "releaseTag": "Public",
5228
- "name": "prefix",
6237
+ "name": "requireWritePermission",
5229
6238
  "propertyTypeTokenRange": {
5230
6239
  "startIndex": 1,
5231
6240
  "endIndex": 2
5232
6241
  }
5233
6242
  }
5234
6243
  ],
5235
- "extendsTokenRanges": []
6244
+ "extendsTokenRanges": [
6245
+ {
6246
+ "startIndex": 5,
6247
+ "endIndex": 7
6248
+ }
6249
+ ]
5236
6250
  },
5237
6251
  {
5238
6252
  "kind": "Interface",
5239
- "canonicalReference": "@fgv/ts-web-extras!IFileListTreeInitializer:interface",
5240
- "docComment": "/**\n * Tree initializer for FileList objects (from File API).\n *\n * @public\n */\n",
6253
+ "canonicalReference": "@fgv/ts-web-extras!IFsAccessApis:interface",
6254
+ "docComment": "/**\n * File System Access API methods available on Window\n *\n * @public\n */\n",
5241
6255
  "excerptTokens": [
5242
6256
  {
5243
6257
  "kind": "Content",
5244
- "text": "export interface IFileListTreeInitializer "
6258
+ "text": "export interface IFsAccessApis "
5245
6259
  }
5246
6260
  ],
5247
- "fileUrlPath": "src/packlets/file-tree/fileApiTreeAccessors.ts",
6261
+ "fileUrlPath": "src/packlets/file-api-types/index.ts",
5248
6262
  "releaseTag": "Public",
5249
- "name": "IFileListTreeInitializer",
6263
+ "name": "IFsAccessApis",
5250
6264
  "preserveMemberOrder": false,
5251
6265
  "members": [
5252
6266
  {
5253
- "kind": "PropertySignature",
5254
- "canonicalReference": "@fgv/ts-web-extras!IFileListTreeInitializer#fileList:member",
6267
+ "kind": "MethodSignature",
6268
+ "canonicalReference": "@fgv/ts-web-extras!IFsAccessApis#showDirectoryPicker:member(1)",
5255
6269
  "docComment": "",
5256
6270
  "excerptTokens": [
5257
6271
  {
5258
6272
  "kind": "Content",
5259
- "text": "readonly fileList: "
6273
+ "text": "showDirectoryPicker(options?: "
5260
6274
  },
5261
6275
  {
5262
6276
  "kind": "Reference",
5263
- "text": "FileList",
5264
- "canonicalReference": "!FileList:interface"
6277
+ "text": "ShowDirectoryPickerOptions",
6278
+ "canonicalReference": "@fgv/ts-web-extras!ShowDirectoryPickerOptions:interface"
5265
6279
  },
5266
6280
  {
5267
6281
  "kind": "Content",
5268
- "text": ";"
5269
- }
5270
- ],
5271
- "isReadonly": true,
5272
- "isOptional": false,
5273
- "releaseTag": "Public",
5274
- "name": "fileList",
5275
- "propertyTypeTokenRange": {
5276
- "startIndex": 1,
5277
- "endIndex": 2
5278
- }
5279
- }
5280
- ],
5281
- "extendsTokenRanges": []
5282
- },
5283
- {
5284
- "kind": "Interface",
5285
- "canonicalReference": "@fgv/ts-web-extras!IFileMetadata:interface",
5286
- "docComment": "/**\n * Interface for file metadata.\n *\n * @public\n */\n",
5287
- "excerptTokens": [
5288
- {
5289
- "kind": "Content",
5290
- "text": "export interface IFileMetadata "
5291
- }
5292
- ],
5293
- "fileUrlPath": "src/packlets/file-tree/fileApiTreeAccessors.ts",
5294
- "releaseTag": "Public",
5295
- "name": "IFileMetadata",
5296
- "preserveMemberOrder": false,
5297
- "members": [
5298
- {
5299
- "kind": "PropertySignature",
5300
- "canonicalReference": "@fgv/ts-web-extras!IFileMetadata#lastModified:member",
5301
- "docComment": "",
5302
- "excerptTokens": [
6282
+ "text": "): "
6283
+ },
6284
+ {
6285
+ "kind": "Reference",
6286
+ "text": "Promise",
6287
+ "canonicalReference": "!Promise:interface"
6288
+ },
5303
6289
  {
5304
6290
  "kind": "Content",
5305
- "text": "lastModified: "
6291
+ "text": "<"
6292
+ },
6293
+ {
6294
+ "kind": "Reference",
6295
+ "text": "FileSystemDirectoryHandle",
6296
+ "canonicalReference": "@fgv/ts-web-extras!FileSystemDirectoryHandle_2:interface"
5306
6297
  },
5307
6298
  {
5308
6299
  "kind": "Content",
5309
- "text": "number"
6300
+ "text": ">"
5310
6301
  },
5311
6302
  {
5312
6303
  "kind": "Content",
5313
6304
  "text": ";"
5314
6305
  }
5315
6306
  ],
5316
- "isReadonly": false,
5317
6307
  "isOptional": false,
6308
+ "returnTypeTokenRange": {
6309
+ "startIndex": 3,
6310
+ "endIndex": 7
6311
+ },
5318
6312
  "releaseTag": "Public",
5319
- "name": "lastModified",
5320
- "propertyTypeTokenRange": {
5321
- "startIndex": 1,
5322
- "endIndex": 2
5323
- }
6313
+ "overloadIndex": 1,
6314
+ "parameters": [
6315
+ {
6316
+ "parameterName": "options",
6317
+ "parameterTypeTokenRange": {
6318
+ "startIndex": 1,
6319
+ "endIndex": 2
6320
+ },
6321
+ "isOptional": true
6322
+ }
6323
+ ],
6324
+ "name": "showDirectoryPicker"
5324
6325
  },
5325
6326
  {
5326
- "kind": "PropertySignature",
5327
- "canonicalReference": "@fgv/ts-web-extras!IFileMetadata#name:member",
6327
+ "kind": "MethodSignature",
6328
+ "canonicalReference": "@fgv/ts-web-extras!IFsAccessApis#showOpenFilePicker:member(1)",
5328
6329
  "docComment": "",
5329
6330
  "excerptTokens": [
5330
6331
  {
5331
6332
  "kind": "Content",
5332
- "text": "name: "
6333
+ "text": "showOpenFilePicker(options?: "
5333
6334
  },
5334
6335
  {
5335
- "kind": "Content",
5336
- "text": "string"
6336
+ "kind": "Reference",
6337
+ "text": "ShowOpenFilePickerOptions",
6338
+ "canonicalReference": "@fgv/ts-web-extras!ShowOpenFilePickerOptions:interface"
5337
6339
  },
5338
6340
  {
5339
6341
  "kind": "Content",
5340
- "text": ";"
5341
- }
5342
- ],
5343
- "isReadonly": false,
5344
- "isOptional": false,
5345
- "releaseTag": "Public",
5346
- "name": "name",
5347
- "propertyTypeTokenRange": {
5348
- "startIndex": 1,
5349
- "endIndex": 2
5350
- }
5351
- },
5352
- {
5353
- "kind": "PropertySignature",
5354
- "canonicalReference": "@fgv/ts-web-extras!IFileMetadata#path:member",
5355
- "docComment": "",
5356
- "excerptTokens": [
6342
+ "text": "): "
6343
+ },
6344
+ {
6345
+ "kind": "Reference",
6346
+ "text": "Promise",
6347
+ "canonicalReference": "!Promise:interface"
6348
+ },
5357
6349
  {
5358
6350
  "kind": "Content",
5359
- "text": "path: "
6351
+ "text": "<"
6352
+ },
6353
+ {
6354
+ "kind": "Reference",
6355
+ "text": "FileSystemFileHandle",
6356
+ "canonicalReference": "@fgv/ts-web-extras!FileSystemFileHandle_2:interface"
5360
6357
  },
5361
6358
  {
5362
6359
  "kind": "Content",
5363
- "text": "string"
6360
+ "text": "[]>"
5364
6361
  },
5365
6362
  {
5366
6363
  "kind": "Content",
5367
6364
  "text": ";"
5368
6365
  }
5369
6366
  ],
5370
- "isReadonly": false,
5371
6367
  "isOptional": false,
6368
+ "returnTypeTokenRange": {
6369
+ "startIndex": 3,
6370
+ "endIndex": 7
6371
+ },
5372
6372
  "releaseTag": "Public",
5373
- "name": "path",
5374
- "propertyTypeTokenRange": {
5375
- "startIndex": 1,
5376
- "endIndex": 2
5377
- }
6373
+ "overloadIndex": 1,
6374
+ "parameters": [
6375
+ {
6376
+ "parameterName": "options",
6377
+ "parameterTypeTokenRange": {
6378
+ "startIndex": 1,
6379
+ "endIndex": 2
6380
+ },
6381
+ "isOptional": true
6382
+ }
6383
+ ],
6384
+ "name": "showOpenFilePicker"
5378
6385
  },
5379
6386
  {
5380
- "kind": "PropertySignature",
5381
- "canonicalReference": "@fgv/ts-web-extras!IFileMetadata#size:member",
6387
+ "kind": "MethodSignature",
6388
+ "canonicalReference": "@fgv/ts-web-extras!IFsAccessApis#showSaveFilePicker:member(1)",
5382
6389
  "docComment": "",
5383
6390
  "excerptTokens": [
5384
6391
  {
5385
6392
  "kind": "Content",
5386
- "text": "size: "
6393
+ "text": "showSaveFilePicker(options?: "
5387
6394
  },
5388
6395
  {
5389
- "kind": "Content",
5390
- "text": "number"
6396
+ "kind": "Reference",
6397
+ "text": "ShowSaveFilePickerOptions",
6398
+ "canonicalReference": "@fgv/ts-web-extras!ShowSaveFilePickerOptions:interface"
5391
6399
  },
5392
6400
  {
5393
6401
  "kind": "Content",
5394
- "text": ";"
5395
- }
5396
- ],
5397
- "isReadonly": false,
5398
- "isOptional": false,
5399
- "releaseTag": "Public",
5400
- "name": "size",
5401
- "propertyTypeTokenRange": {
5402
- "startIndex": 1,
5403
- "endIndex": 2
5404
- }
5405
- },
5406
- {
5407
- "kind": "PropertySignature",
5408
- "canonicalReference": "@fgv/ts-web-extras!IFileMetadata#type:member",
5409
- "docComment": "",
5410
- "excerptTokens": [
6402
+ "text": "): "
6403
+ },
6404
+ {
6405
+ "kind": "Reference",
6406
+ "text": "Promise",
6407
+ "canonicalReference": "!Promise:interface"
6408
+ },
5411
6409
  {
5412
6410
  "kind": "Content",
5413
- "text": "type: "
6411
+ "text": "<"
6412
+ },
6413
+ {
6414
+ "kind": "Reference",
6415
+ "text": "FileSystemFileHandle",
6416
+ "canonicalReference": "@fgv/ts-web-extras!FileSystemFileHandle_2:interface"
5414
6417
  },
5415
6418
  {
5416
6419
  "kind": "Content",
5417
- "text": "string"
6420
+ "text": ">"
5418
6421
  },
5419
6422
  {
5420
6423
  "kind": "Content",
5421
6424
  "text": ";"
5422
6425
  }
5423
6426
  ],
5424
- "isReadonly": false,
5425
6427
  "isOptional": false,
6428
+ "returnTypeTokenRange": {
6429
+ "startIndex": 3,
6430
+ "endIndex": 7
6431
+ },
5426
6432
  "releaseTag": "Public",
5427
- "name": "type",
5428
- "propertyTypeTokenRange": {
5429
- "startIndex": 1,
5430
- "endIndex": 2
5431
- }
6433
+ "overloadIndex": 1,
6434
+ "parameters": [
6435
+ {
6436
+ "parameterName": "options",
6437
+ "parameterTypeTokenRange": {
6438
+ "startIndex": 1,
6439
+ "endIndex": 2
6440
+ },
6441
+ "isOptional": true
6442
+ }
6443
+ ],
6444
+ "name": "showSaveFilePicker"
5432
6445
  }
5433
6446
  ],
5434
6447
  "extendsTokenRanges": []
5435
6448
  },
5436
6449
  {
5437
6450
  "kind": "Interface",
5438
- "canonicalReference": "@fgv/ts-web-extras!IFileSystemAccessTreeParams:interface",
5439
- "docComment": "/**\n * Options for creating persistent file trees.\n *\n * @public\n */\n",
6451
+ "canonicalReference": "@fgv/ts-web-extras!IHttpTreeParams:interface",
6452
+ "docComment": "/**\n * Configuration for creating HTTP-backed tree accessors.\n *\n * @public\n */\n",
5440
6453
  "excerptTokens": [
5441
6454
  {
5442
6455
  "kind": "Content",
5443
- "text": "export interface IFileSystemAccessTreeParams<TCT extends "
6456
+ "text": "export interface IHttpTreeParams<TCT extends "
5444
6457
  },
5445
6458
  {
5446
6459
  "kind": "Content",
@@ -5472,7 +6485,7 @@
5472
6485
  "text": " "
5473
6486
  }
5474
6487
  ],
5475
- "fileUrlPath": "src/packlets/file-tree/fileSystemAccessTreeAccessors.ts",
6488
+ "fileUrlPath": "src/packlets/file-tree/httpTreeAccessors.ts",
5476
6489
  "releaseTag": "Public",
5477
6490
  "typeParameters": [
5478
6491
  {
@@ -5487,17 +6500,17 @@
5487
6500
  }
5488
6501
  }
5489
6502
  ],
5490
- "name": "IFileSystemAccessTreeParams",
6503
+ "name": "IHttpTreeParams",
5491
6504
  "preserveMemberOrder": false,
5492
6505
  "members": [
5493
6506
  {
5494
6507
  "kind": "PropertySignature",
5495
- "canonicalReference": "@fgv/ts-web-extras!IFileSystemAccessTreeParams#autoSync:member",
5496
- "docComment": "/**\n * Automatically sync changes to disk immediately after each save. If false, changes are batched and written on explicit syncToDisk() call.\n *\n * @defaultValue false\n */\n",
6508
+ "canonicalReference": "@fgv/ts-web-extras!IHttpTreeParams#autoSync:member",
6509
+ "docComment": "",
5497
6510
  "excerptTokens": [
5498
6511
  {
5499
6512
  "kind": "Content",
5500
- "text": "autoSync?: "
6513
+ "text": "readonly autoSync?: "
5501
6514
  },
5502
6515
  {
5503
6516
  "kind": "Content",
@@ -5508,7 +6521,7 @@
5508
6521
  "text": ";"
5509
6522
  }
5510
6523
  ],
5511
- "isReadonly": false,
6524
+ "isReadonly": true,
5512
6525
  "isOptional": true,
5513
6526
  "releaseTag": "Public",
5514
6527
  "name": "autoSync",
@@ -5519,12 +6532,12 @@
5519
6532
  },
5520
6533
  {
5521
6534
  "kind": "PropertySignature",
5522
- "canonicalReference": "@fgv/ts-web-extras!IFileSystemAccessTreeParams#filePath:member",
5523
- "docComment": "/**\n * Override the path at which the file is stored in the tree (for fromFileHandle). Must be an absolute path (e.g., '/data/confections/common.yaml'). If omitted, defaults to `/<filename>`.\n */\n",
6535
+ "canonicalReference": "@fgv/ts-web-extras!IHttpTreeParams#baseUrl:member",
6536
+ "docComment": "",
5524
6537
  "excerptTokens": [
5525
6538
  {
5526
6539
  "kind": "Content",
5527
- "text": "filePath?: "
6540
+ "text": "readonly baseUrl: "
5528
6541
  },
5529
6542
  {
5530
6543
  "kind": "Content",
@@ -5535,10 +6548,10 @@
5535
6548
  "text": ";"
5536
6549
  }
5537
6550
  ],
5538
- "isReadonly": false,
5539
- "isOptional": true,
6551
+ "isReadonly": true,
6552
+ "isOptional": false,
5540
6553
  "releaseTag": "Public",
5541
- "name": "filePath",
6554
+ "name": "baseUrl",
5542
6555
  "propertyTypeTokenRange": {
5543
6556
  "startIndex": 1,
5544
6557
  "endIndex": 2
@@ -5546,236 +6559,129 @@
5546
6559
  },
5547
6560
  {
5548
6561
  "kind": "PropertySignature",
5549
- "canonicalReference": "@fgv/ts-web-extras!IFileSystemAccessTreeParams#requireWritePermission:member",
5550
- "docComment": "/**\n * Require write permission on the directory handle. If true, fails if write permission cannot be obtained. If false, falls back to read-only mode.\n *\n * @defaultValue true\n */\n",
6562
+ "canonicalReference": "@fgv/ts-web-extras!IHttpTreeParams#fetchImpl:member",
6563
+ "docComment": "",
5551
6564
  "excerptTokens": [
5552
6565
  {
5553
6566
  "kind": "Content",
5554
- "text": "requireWritePermission?: "
6567
+ "text": "readonly fetchImpl?: "
5555
6568
  },
5556
6569
  {
5557
6570
  "kind": "Content",
5558
- "text": "boolean"
6571
+ "text": "typeof "
6572
+ },
6573
+ {
6574
+ "kind": "Reference",
6575
+ "text": "fetch",
6576
+ "canonicalReference": "!fetch:function"
5559
6577
  },
5560
6578
  {
5561
6579
  "kind": "Content",
5562
6580
  "text": ";"
5563
6581
  }
5564
6582
  ],
5565
- "isReadonly": false,
6583
+ "isReadonly": true,
5566
6584
  "isOptional": true,
5567
6585
  "releaseTag": "Public",
5568
- "name": "requireWritePermission",
6586
+ "name": "fetchImpl",
5569
6587
  "propertyTypeTokenRange": {
5570
6588
  "startIndex": 1,
5571
- "endIndex": 2
6589
+ "endIndex": 3
5572
6590
  }
5573
- }
5574
- ],
5575
- "extendsTokenRanges": [
5576
- {
5577
- "startIndex": 5,
5578
- "endIndex": 7
5579
- }
5580
- ]
5581
- },
5582
- {
5583
- "kind": "Interface",
5584
- "canonicalReference": "@fgv/ts-web-extras!IFsAccessApis:interface",
5585
- "docComment": "/**\n * File System Access API methods available on Window\n *\n * @public\n */\n",
5586
- "excerptTokens": [
5587
- {
5588
- "kind": "Content",
5589
- "text": "export interface IFsAccessApis "
5590
- }
5591
- ],
5592
- "fileUrlPath": "src/packlets/file-api-types/index.ts",
5593
- "releaseTag": "Public",
5594
- "name": "IFsAccessApis",
5595
- "preserveMemberOrder": false,
5596
- "members": [
6591
+ },
5597
6592
  {
5598
- "kind": "MethodSignature",
5599
- "canonicalReference": "@fgv/ts-web-extras!IFsAccessApis#showDirectoryPicker:member(1)",
6593
+ "kind": "PropertySignature",
6594
+ "canonicalReference": "@fgv/ts-web-extras!IHttpTreeParams#logger:member",
5600
6595
  "docComment": "",
5601
6596
  "excerptTokens": [
5602
6597
  {
5603
6598
  "kind": "Content",
5604
- "text": "showDirectoryPicker(options?: "
5605
- },
5606
- {
5607
- "kind": "Reference",
5608
- "text": "ShowDirectoryPickerOptions",
5609
- "canonicalReference": "@fgv/ts-web-extras!ShowDirectoryPickerOptions:interface"
5610
- },
5611
- {
5612
- "kind": "Content",
5613
- "text": "): "
5614
- },
5615
- {
5616
- "kind": "Reference",
5617
- "text": "Promise",
5618
- "canonicalReference": "!Promise:interface"
5619
- },
5620
- {
5621
- "kind": "Content",
5622
- "text": "<"
6599
+ "text": "readonly logger?: "
5623
6600
  },
5624
6601
  {
5625
6602
  "kind": "Reference",
5626
- "text": "FileSystemDirectoryHandle",
5627
- "canonicalReference": "@fgv/ts-web-extras!FileSystemDirectoryHandle_2:interface"
6603
+ "text": "Logging.LogReporter",
6604
+ "canonicalReference": "@fgv/ts-utils!LogReporter:class"
5628
6605
  },
5629
6606
  {
5630
6607
  "kind": "Content",
5631
- "text": ">"
6608
+ "text": "<unknown>"
5632
6609
  },
5633
6610
  {
5634
6611
  "kind": "Content",
5635
6612
  "text": ";"
5636
6613
  }
5637
6614
  ],
5638
- "isOptional": false,
5639
- "returnTypeTokenRange": {
5640
- "startIndex": 3,
5641
- "endIndex": 7
5642
- },
6615
+ "isReadonly": true,
6616
+ "isOptional": true,
5643
6617
  "releaseTag": "Public",
5644
- "overloadIndex": 1,
5645
- "parameters": [
5646
- {
5647
- "parameterName": "options",
5648
- "parameterTypeTokenRange": {
5649
- "startIndex": 1,
5650
- "endIndex": 2
5651
- },
5652
- "isOptional": true
5653
- }
5654
- ],
5655
- "name": "showDirectoryPicker"
6618
+ "name": "logger",
6619
+ "propertyTypeTokenRange": {
6620
+ "startIndex": 1,
6621
+ "endIndex": 3
6622
+ }
5656
6623
  },
5657
6624
  {
5658
- "kind": "MethodSignature",
5659
- "canonicalReference": "@fgv/ts-web-extras!IFsAccessApis#showOpenFilePicker:member(1)",
6625
+ "kind": "PropertySignature",
6626
+ "canonicalReference": "@fgv/ts-web-extras!IHttpTreeParams#namespace:member",
5660
6627
  "docComment": "",
5661
6628
  "excerptTokens": [
5662
6629
  {
5663
6630
  "kind": "Content",
5664
- "text": "showOpenFilePicker(options?: "
5665
- },
5666
- {
5667
- "kind": "Reference",
5668
- "text": "ShowOpenFilePickerOptions",
5669
- "canonicalReference": "@fgv/ts-web-extras!ShowOpenFilePickerOptions:interface"
5670
- },
5671
- {
5672
- "kind": "Content",
5673
- "text": "): "
5674
- },
5675
- {
5676
- "kind": "Reference",
5677
- "text": "Promise",
5678
- "canonicalReference": "!Promise:interface"
5679
- },
5680
- {
5681
- "kind": "Content",
5682
- "text": "<"
5683
- },
5684
- {
5685
- "kind": "Reference",
5686
- "text": "FileSystemFileHandle",
5687
- "canonicalReference": "@fgv/ts-web-extras!FileSystemFileHandle_2:interface"
6631
+ "text": "readonly namespace?: "
5688
6632
  },
5689
6633
  {
5690
6634
  "kind": "Content",
5691
- "text": "[]>"
6635
+ "text": "string"
5692
6636
  },
5693
6637
  {
5694
6638
  "kind": "Content",
5695
6639
  "text": ";"
5696
6640
  }
5697
6641
  ],
5698
- "isOptional": false,
5699
- "returnTypeTokenRange": {
5700
- "startIndex": 3,
5701
- "endIndex": 7
5702
- },
6642
+ "isReadonly": true,
6643
+ "isOptional": true,
5703
6644
  "releaseTag": "Public",
5704
- "overloadIndex": 1,
5705
- "parameters": [
5706
- {
5707
- "parameterName": "options",
5708
- "parameterTypeTokenRange": {
5709
- "startIndex": 1,
5710
- "endIndex": 2
5711
- },
5712
- "isOptional": true
5713
- }
5714
- ],
5715
- "name": "showOpenFilePicker"
6645
+ "name": "namespace",
6646
+ "propertyTypeTokenRange": {
6647
+ "startIndex": 1,
6648
+ "endIndex": 2
6649
+ }
5716
6650
  },
5717
6651
  {
5718
- "kind": "MethodSignature",
5719
- "canonicalReference": "@fgv/ts-web-extras!IFsAccessApis#showSaveFilePicker:member(1)",
6652
+ "kind": "PropertySignature",
6653
+ "canonicalReference": "@fgv/ts-web-extras!IHttpTreeParams#userId:member",
5720
6654
  "docComment": "",
5721
6655
  "excerptTokens": [
5722
6656
  {
5723
6657
  "kind": "Content",
5724
- "text": "showSaveFilePicker(options?: "
5725
- },
5726
- {
5727
- "kind": "Reference",
5728
- "text": "ShowSaveFilePickerOptions",
5729
- "canonicalReference": "@fgv/ts-web-extras!ShowSaveFilePickerOptions:interface"
5730
- },
5731
- {
5732
- "kind": "Content",
5733
- "text": "): "
5734
- },
5735
- {
5736
- "kind": "Reference",
5737
- "text": "Promise",
5738
- "canonicalReference": "!Promise:interface"
5739
- },
5740
- {
5741
- "kind": "Content",
5742
- "text": "<"
5743
- },
5744
- {
5745
- "kind": "Reference",
5746
- "text": "FileSystemFileHandle",
5747
- "canonicalReference": "@fgv/ts-web-extras!FileSystemFileHandle_2:interface"
6658
+ "text": "readonly userId?: "
5748
6659
  },
5749
6660
  {
5750
6661
  "kind": "Content",
5751
- "text": ">"
6662
+ "text": "string"
5752
6663
  },
5753
6664
  {
5754
6665
  "kind": "Content",
5755
6666
  "text": ";"
5756
6667
  }
5757
6668
  ],
5758
- "isOptional": false,
5759
- "returnTypeTokenRange": {
5760
- "startIndex": 3,
5761
- "endIndex": 7
5762
- },
6669
+ "isReadonly": true,
6670
+ "isOptional": true,
5763
6671
  "releaseTag": "Public",
5764
- "overloadIndex": 1,
5765
- "parameters": [
5766
- {
5767
- "parameterName": "options",
5768
- "parameterTypeTokenRange": {
5769
- "startIndex": 1,
5770
- "endIndex": 2
5771
- },
5772
- "isOptional": true
5773
- }
5774
- ],
5775
- "name": "showSaveFilePicker"
6672
+ "name": "userId",
6673
+ "propertyTypeTokenRange": {
6674
+ "startIndex": 1,
6675
+ "endIndex": 2
6676
+ }
5776
6677
  }
5777
6678
  ],
5778
- "extendsTokenRanges": []
6679
+ "extendsTokenRanges": [
6680
+ {
6681
+ "startIndex": 5,
6682
+ "endIndex": 7
6683
+ }
6684
+ ]
5779
6685
  },
5780
6686
  {
5781
6687
  "kind": "Interface",
@@ -6526,6 +7432,59 @@
6526
7432
  "name": "LocalStorageTreeAccessors",
6527
7433
  "preserveMemberOrder": false,
6528
7434
  "members": [
7435
+ {
7436
+ "kind": "Method",
7437
+ "canonicalReference": "@fgv/ts-web-extras!LocalStorageTreeAccessors#deleteFile:member(1)",
7438
+ "docComment": "/**\n * Delete a file and remove it from localStorage.\n *\n * @param path - File path to delete\n *\n * @returns Result with true if deleted, or error\n *\n * @public\n */\n",
7439
+ "excerptTokens": [
7440
+ {
7441
+ "kind": "Content",
7442
+ "text": "deleteFile(path: "
7443
+ },
7444
+ {
7445
+ "kind": "Content",
7446
+ "text": "string"
7447
+ },
7448
+ {
7449
+ "kind": "Content",
7450
+ "text": "): "
7451
+ },
7452
+ {
7453
+ "kind": "Reference",
7454
+ "text": "Result",
7455
+ "canonicalReference": "@fgv/ts-utils!Result:type"
7456
+ },
7457
+ {
7458
+ "kind": "Content",
7459
+ "text": "<boolean>"
7460
+ },
7461
+ {
7462
+ "kind": "Content",
7463
+ "text": ";"
7464
+ }
7465
+ ],
7466
+ "isStatic": false,
7467
+ "returnTypeTokenRange": {
7468
+ "startIndex": 3,
7469
+ "endIndex": 5
7470
+ },
7471
+ "releaseTag": "Public",
7472
+ "isProtected": false,
7473
+ "overloadIndex": 1,
7474
+ "parameters": [
7475
+ {
7476
+ "parameterName": "path",
7477
+ "parameterTypeTokenRange": {
7478
+ "startIndex": 1,
7479
+ "endIndex": 2
7480
+ },
7481
+ "isOptional": false
7482
+ }
7483
+ ],
7484
+ "isOptional": false,
7485
+ "isAbstract": false,
7486
+ "name": "deleteFile"
7487
+ },
6529
7488
  {
6530
7489
  "kind": "Method",
6531
7490
  "canonicalReference": "@fgv/ts-web-extras!LocalStorageTreeAccessors#fileIsMutable:member(1)",