@fgv/ts-http-storage 5.1.0-1

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 (137) hide show
  1. package/.rush/temp/chunked-rush-logs/ts-http-storage.build.chunks.jsonl +9 -0
  2. package/.rush/temp/fbfcc9487d290993ba47f1d36e9383196e7b12ac.tar.log +61 -0
  3. package/.rush/temp/operation/build/all.log +9 -0
  4. package/.rush/temp/operation/build/log-chunks.jsonl +9 -0
  5. package/.rush/temp/operation/build/state.json +3 -0
  6. package/.rush/temp/shrinkwrap-deps.json +647 -0
  7. package/config/api-extractor.json +36 -0
  8. package/config/rig.json +10 -0
  9. package/config/typedoc.json +7 -0
  10. package/dist/ts-http-storage.d.ts +225 -0
  11. package/dist/tsdoc-metadata.json +11 -0
  12. package/docs/README.md +298 -0
  13. package/docs/classes/FsStorageProvider.createDirectory.md +20 -0
  14. package/docs/classes/FsStorageProvider.getChildren.md +20 -0
  15. package/docs/classes/FsStorageProvider.getFile.md +20 -0
  16. package/docs/classes/FsStorageProvider.getItem.md +20 -0
  17. package/docs/classes/FsStorageProvider.md +134 -0
  18. package/docs/classes/FsStorageProvider.saveFile.md +22 -0
  19. package/docs/classes/FsStorageProvider.sync.md +13 -0
  20. package/docs/classes/FsStorageProviderFactory.forNamespace.md +20 -0
  21. package/docs/classes/FsStorageProviderFactory.md +69 -0
  22. package/docs/classes/HttpStorageService.createDirectory.md +20 -0
  23. package/docs/classes/HttpStorageService.getChildren.md +20 -0
  24. package/docs/classes/HttpStorageService.getFile.md +20 -0
  25. package/docs/classes/HttpStorageService.getItem.md +20 -0
  26. package/docs/classes/HttpStorageService.md +132 -0
  27. package/docs/classes/HttpStorageService.saveFile.md +20 -0
  28. package/docs/classes/HttpStorageService.sync.md +20 -0
  29. package/docs/functions/createStorageRoutes.md +11 -0
  30. package/docs/functions/normalizeRequestPath.md +11 -0
  31. package/docs/functions/sanitizeNamespace.md +11 -0
  32. package/docs/interfaces/ICreateStorageRoutesOptions.logger.md +9 -0
  33. package/docs/interfaces/ICreateStorageRoutesOptions.md +61 -0
  34. package/docs/interfaces/ICreateStorageRoutesOptions.providers.md +9 -0
  35. package/docs/interfaces/IFsStorageProviderFactoryOptions.md +44 -0
  36. package/docs/interfaces/IFsStorageProviderFactoryOptions.rootPath.md +9 -0
  37. package/docs/interfaces/IHttpStorageProvider.createDirectory.md +20 -0
  38. package/docs/interfaces/IHttpStorageProvider.getChildren.md +20 -0
  39. package/docs/interfaces/IHttpStorageProvider.getFile.md +20 -0
  40. package/docs/interfaces/IHttpStorageProvider.getItem.md +20 -0
  41. package/docs/interfaces/IHttpStorageProvider.md +102 -0
  42. package/docs/interfaces/IHttpStorageProvider.saveFile.md +22 -0
  43. package/docs/interfaces/IHttpStorageProvider.sync.md +13 -0
  44. package/docs/interfaces/IHttpStorageProviderFactory.forNamespace.md +20 -0
  45. package/docs/interfaces/IHttpStorageProviderFactory.md +36 -0
  46. package/docs/interfaces/IStorageFileResponse.contentType.md +9 -0
  47. package/docs/interfaces/IStorageFileResponse.contents.md +9 -0
  48. package/docs/interfaces/IStorageFileResponse.md +78 -0
  49. package/docs/interfaces/IStorageFileResponse.path.md +9 -0
  50. package/docs/interfaces/IStoragePathRequest.md +61 -0
  51. package/docs/interfaces/IStoragePathRequest.namespace.md +9 -0
  52. package/docs/interfaces/IStoragePathRequest.path.md +9 -0
  53. package/docs/interfaces/IStorageSyncRequest.md +44 -0
  54. package/docs/interfaces/IStorageSyncRequest.namespace.md +9 -0
  55. package/docs/interfaces/IStorageSyncResponse.md +44 -0
  56. package/docs/interfaces/IStorageSyncResponse.synced.md +9 -0
  57. package/docs/interfaces/IStorageTreeChildrenResponse.children.md +9 -0
  58. package/docs/interfaces/IStorageTreeChildrenResponse.md +61 -0
  59. package/docs/interfaces/IStorageTreeChildrenResponse.path.md +9 -0
  60. package/docs/interfaces/IStorageTreeItem.md +78 -0
  61. package/docs/interfaces/IStorageTreeItem.name.md +9 -0
  62. package/docs/interfaces/IStorageTreeItem.path.md +9 -0
  63. package/docs/interfaces/IStorageTreeItem.type.md +9 -0
  64. package/docs/interfaces/IStorageWriteFileRequest.contentType.md +9 -0
  65. package/docs/interfaces/IStorageWriteFileRequest.contents.md +9 -0
  66. package/docs/interfaces/IStorageWriteFileRequest.md +97 -0
  67. package/docs/type-aliases/StorageItemType.md +11 -0
  68. package/docs/type-aliases/StorageNamespace.md +11 -0
  69. package/docs/variables/storageFileResponse.md +9 -0
  70. package/docs/variables/storagePathRequest.md +9 -0
  71. package/docs/variables/storageSyncRequest.md +9 -0
  72. package/docs/variables/storageTreeChildrenResponse.md +9 -0
  73. package/docs/variables/storageTreeItem.md +9 -0
  74. package/docs/variables/storageWriteFileRequest.md +9 -0
  75. package/etc/ts-http-storage.api.md +184 -0
  76. package/lib/index.d.ts +6 -0
  77. package/lib/index.d.ts.map +1 -0
  78. package/lib/index.js +43 -0
  79. package/lib/index.js.map +1 -0
  80. package/lib/packlets/storage/converters.d.ts +33 -0
  81. package/lib/packlets/storage/converters.d.ts.map +1 -0
  82. package/lib/packlets/storage/converters.js +81 -0
  83. package/lib/packlets/storage/converters.js.map +1 -0
  84. package/lib/packlets/storage/fsProvider.d.ts +47 -0
  85. package/lib/packlets/storage/fsProvider.d.ts.map +1 -0
  86. package/lib/packlets/storage/fsProvider.js +260 -0
  87. package/lib/packlets/storage/fsProvider.js.map +1 -0
  88. package/lib/packlets/storage/index.d.ts +11 -0
  89. package/lib/packlets/storage/index.d.ts.map +1 -0
  90. package/lib/packlets/storage/index.js +48 -0
  91. package/lib/packlets/storage/index.js.map +1 -0
  92. package/lib/packlets/storage/model.d.ts +82 -0
  93. package/lib/packlets/storage/model.d.ts.map +1 -0
  94. package/lib/packlets/storage/model.js +24 -0
  95. package/lib/packlets/storage/model.js.map +1 -0
  96. package/lib/packlets/storage/provider.d.ts +10 -0
  97. package/lib/packlets/storage/provider.d.ts.map +1 -0
  98. package/lib/packlets/storage/provider.js +24 -0
  99. package/lib/packlets/storage/provider.js.map +1 -0
  100. package/lib/packlets/storage/routes.d.ts +17 -0
  101. package/lib/packlets/storage/routes.d.ts.map +1 -0
  102. package/lib/packlets/storage/routes.js +170 -0
  103. package/lib/packlets/storage/routes.js.map +1 -0
  104. package/lib/packlets/storage/service.d.ts +20 -0
  105. package/lib/packlets/storage/service.d.ts.map +1 -0
  106. package/lib/packlets/storage/service.js +95 -0
  107. package/lib/packlets/storage/service.js.map +1 -0
  108. package/lib/test/unit/storage/fsProvider.test.d.ts +2 -0
  109. package/lib/test/unit/storage/fsProvider.test.d.ts.map +1 -0
  110. package/lib/test/unit/storage/fsProvider.test.js +106 -0
  111. package/lib/test/unit/storage/fsProvider.test.js.map +1 -0
  112. package/lib/test/unit/storage/routes.test.d.ts +2 -0
  113. package/lib/test/unit/storage/routes.test.d.ts.map +1 -0
  114. package/lib/test/unit/storage/routes.test.js +124 -0
  115. package/lib/test/unit/storage/routes.test.js.map +1 -0
  116. package/lib/test/unit/storage/service.test.d.ts +2 -0
  117. package/lib/test/unit/storage/service.test.d.ts.map +1 -0
  118. package/lib/test/unit/storage/service.test.js +67 -0
  119. package/lib/test/unit/storage/service.test.js.map +1 -0
  120. package/package.json +66 -0
  121. package/rush-logs/ts-http-storage.build.cache.log +3 -0
  122. package/rush-logs/ts-http-storage.build.log +9 -0
  123. package/src/index.ts +28 -0
  124. package/src/packlets/storage/converters.ts +100 -0
  125. package/src/packlets/storage/fsProvider.ts +263 -0
  126. package/src/packlets/storage/index.ts +33 -0
  127. package/src/packlets/storage/model.ts +113 -0
  128. package/src/packlets/storage/provider.ts +33 -0
  129. package/src/packlets/storage/routes.ts +215 -0
  130. package/src/packlets/storage/service.ts +114 -0
  131. package/src/test/unit/storage/fsProvider.test.ts +129 -0
  132. package/src/test/unit/storage/routes.test.ts +165 -0
  133. package/src/test/unit/storage/service.test.ts +95 -0
  134. package/temp/build/typescript/ts_l9Fw4VUO.json +1 -0
  135. package/temp/ts-http-storage.api.json +3103 -0
  136. package/temp/ts-http-storage.api.md +184 -0
  137. package/tsconfig.json +7 -0
@@ -0,0 +1,3103 @@
1
+ {
2
+ "metadata": {
3
+ "toolPackage": "@microsoft/api-extractor",
4
+ "toolVersion": "7.57.6",
5
+ "schemaVersion": 1011,
6
+ "oldestForwardsCompatibleVersion": 1001,
7
+ "tsdocConfig": {
8
+ "$schema": "https://developer.microsoft.com/json-schemas/tsdoc/v0/tsdoc.schema.json",
9
+ "noStandardTags": true,
10
+ "tagDefinitions": [
11
+ {
12
+ "tagName": "@alpha",
13
+ "syntaxKind": "modifier"
14
+ },
15
+ {
16
+ "tagName": "@beta",
17
+ "syntaxKind": "modifier"
18
+ },
19
+ {
20
+ "tagName": "@defaultValue",
21
+ "syntaxKind": "block"
22
+ },
23
+ {
24
+ "tagName": "@decorator",
25
+ "syntaxKind": "block",
26
+ "allowMultiple": true
27
+ },
28
+ {
29
+ "tagName": "@deprecated",
30
+ "syntaxKind": "block"
31
+ },
32
+ {
33
+ "tagName": "@eventProperty",
34
+ "syntaxKind": "modifier"
35
+ },
36
+ {
37
+ "tagName": "@example",
38
+ "syntaxKind": "block",
39
+ "allowMultiple": true
40
+ },
41
+ {
42
+ "tagName": "@experimental",
43
+ "syntaxKind": "modifier"
44
+ },
45
+ {
46
+ "tagName": "@inheritDoc",
47
+ "syntaxKind": "inline"
48
+ },
49
+ {
50
+ "tagName": "@internal",
51
+ "syntaxKind": "modifier"
52
+ },
53
+ {
54
+ "tagName": "@label",
55
+ "syntaxKind": "inline"
56
+ },
57
+ {
58
+ "tagName": "@link",
59
+ "syntaxKind": "inline",
60
+ "allowMultiple": true
61
+ },
62
+ {
63
+ "tagName": "@override",
64
+ "syntaxKind": "modifier"
65
+ },
66
+ {
67
+ "tagName": "@packageDocumentation",
68
+ "syntaxKind": "modifier"
69
+ },
70
+ {
71
+ "tagName": "@param",
72
+ "syntaxKind": "block",
73
+ "allowMultiple": true
74
+ },
75
+ {
76
+ "tagName": "@privateRemarks",
77
+ "syntaxKind": "block"
78
+ },
79
+ {
80
+ "tagName": "@public",
81
+ "syntaxKind": "modifier"
82
+ },
83
+ {
84
+ "tagName": "@readonly",
85
+ "syntaxKind": "modifier"
86
+ },
87
+ {
88
+ "tagName": "@remarks",
89
+ "syntaxKind": "block"
90
+ },
91
+ {
92
+ "tagName": "@returns",
93
+ "syntaxKind": "block"
94
+ },
95
+ {
96
+ "tagName": "@sealed",
97
+ "syntaxKind": "modifier"
98
+ },
99
+ {
100
+ "tagName": "@see",
101
+ "syntaxKind": "block"
102
+ },
103
+ {
104
+ "tagName": "@throws",
105
+ "syntaxKind": "block",
106
+ "allowMultiple": true
107
+ },
108
+ {
109
+ "tagName": "@typeParam",
110
+ "syntaxKind": "block",
111
+ "allowMultiple": true
112
+ },
113
+ {
114
+ "tagName": "@virtual",
115
+ "syntaxKind": "modifier"
116
+ },
117
+ {
118
+ "tagName": "@jsx",
119
+ "syntaxKind": "block"
120
+ },
121
+ {
122
+ "tagName": "@jsxRuntime",
123
+ "syntaxKind": "block"
124
+ },
125
+ {
126
+ "tagName": "@jsxFrag",
127
+ "syntaxKind": "block"
128
+ },
129
+ {
130
+ "tagName": "@jsxImportSource",
131
+ "syntaxKind": "block"
132
+ },
133
+ {
134
+ "tagName": "@betaDocumentation",
135
+ "syntaxKind": "modifier"
136
+ },
137
+ {
138
+ "tagName": "@internalRemarks",
139
+ "syntaxKind": "block"
140
+ },
141
+ {
142
+ "tagName": "@preapproved",
143
+ "syntaxKind": "modifier"
144
+ }
145
+ ],
146
+ "supportForTags": {
147
+ "@alpha": true,
148
+ "@beta": true,
149
+ "@defaultValue": true,
150
+ "@decorator": true,
151
+ "@deprecated": true,
152
+ "@eventProperty": true,
153
+ "@example": true,
154
+ "@experimental": true,
155
+ "@inheritDoc": true,
156
+ "@internal": true,
157
+ "@label": true,
158
+ "@link": true,
159
+ "@override": true,
160
+ "@packageDocumentation": true,
161
+ "@param": true,
162
+ "@privateRemarks": true,
163
+ "@public": true,
164
+ "@readonly": true,
165
+ "@remarks": true,
166
+ "@returns": true,
167
+ "@sealed": true,
168
+ "@see": true,
169
+ "@throws": true,
170
+ "@typeParam": true,
171
+ "@virtual": true,
172
+ "@betaDocumentation": true,
173
+ "@internalRemarks": true,
174
+ "@preapproved": true
175
+ },
176
+ "reportUnsupportedHtmlElements": false
177
+ }
178
+ },
179
+ "kind": "Package",
180
+ "canonicalReference": "@fgv/ts-http-storage!",
181
+ "docComment": "/**\n * Reusable HTTP storage services for FileTree-style backends.\n *\n * @packageDocumentation\n */\n",
182
+ "name": "@fgv/ts-http-storage",
183
+ "preserveMemberOrder": false,
184
+ "members": [
185
+ {
186
+ "kind": "EntryPoint",
187
+ "canonicalReference": "@fgv/ts-http-storage!",
188
+ "name": "",
189
+ "preserveMemberOrder": false,
190
+ "members": [
191
+ {
192
+ "kind": "Function",
193
+ "canonicalReference": "@fgv/ts-http-storage!createStorageRoutes:function(1)",
194
+ "docComment": "/**\n * Builds storage routes for a Hono app.\n *\n * @public\n */\n",
195
+ "excerptTokens": [
196
+ {
197
+ "kind": "Content",
198
+ "text": "export declare function createStorageRoutes(options: "
199
+ },
200
+ {
201
+ "kind": "Reference",
202
+ "text": "ICreateStorageRoutesOptions",
203
+ "canonicalReference": "@fgv/ts-http-storage!ICreateStorageRoutesOptions:interface"
204
+ },
205
+ {
206
+ "kind": "Content",
207
+ "text": "): "
208
+ },
209
+ {
210
+ "kind": "Reference",
211
+ "text": "Hono",
212
+ "canonicalReference": "hono!Hono:class"
213
+ },
214
+ {
215
+ "kind": "Content",
216
+ "text": ";"
217
+ }
218
+ ],
219
+ "fileUrlPath": "src/packlets/storage/routes.ts",
220
+ "returnTypeTokenRange": {
221
+ "startIndex": 3,
222
+ "endIndex": 4
223
+ },
224
+ "releaseTag": "Public",
225
+ "overloadIndex": 1,
226
+ "parameters": [
227
+ {
228
+ "parameterName": "options",
229
+ "parameterTypeTokenRange": {
230
+ "startIndex": 1,
231
+ "endIndex": 2
232
+ },
233
+ "isOptional": false
234
+ }
235
+ ],
236
+ "name": "createStorageRoutes"
237
+ },
238
+ {
239
+ "kind": "Class",
240
+ "canonicalReference": "@fgv/ts-http-storage!FsStorageProvider:class",
241
+ "docComment": "/**\n * Filesystem-backed implementation of {@link IHttpStorageProvider}.\n *\n * @public\n */\n",
242
+ "excerptTokens": [
243
+ {
244
+ "kind": "Content",
245
+ "text": "export declare class FsStorageProvider implements "
246
+ },
247
+ {
248
+ "kind": "Reference",
249
+ "text": "IHttpStorageProvider",
250
+ "canonicalReference": "@fgv/ts-http-storage!IHttpStorageProvider:interface"
251
+ },
252
+ {
253
+ "kind": "Content",
254
+ "text": " "
255
+ }
256
+ ],
257
+ "fileUrlPath": "src/packlets/storage/fsProvider.ts",
258
+ "releaseTag": "Public",
259
+ "isAbstract": false,
260
+ "name": "FsStorageProvider",
261
+ "preserveMemberOrder": false,
262
+ "members": [
263
+ {
264
+ "kind": "Constructor",
265
+ "canonicalReference": "@fgv/ts-http-storage!FsStorageProvider:constructor(1)",
266
+ "docComment": "/**\n * Constructs a new instance of the `FsStorageProvider` class\n */\n",
267
+ "excerptTokens": [
268
+ {
269
+ "kind": "Content",
270
+ "text": "constructor(rootPath: "
271
+ },
272
+ {
273
+ "kind": "Content",
274
+ "text": "string"
275
+ },
276
+ {
277
+ "kind": "Content",
278
+ "text": ");"
279
+ }
280
+ ],
281
+ "releaseTag": "Public",
282
+ "isProtected": false,
283
+ "overloadIndex": 1,
284
+ "parameters": [
285
+ {
286
+ "parameterName": "rootPath",
287
+ "parameterTypeTokenRange": {
288
+ "startIndex": 1,
289
+ "endIndex": 2
290
+ },
291
+ "isOptional": false
292
+ }
293
+ ]
294
+ },
295
+ {
296
+ "kind": "Method",
297
+ "canonicalReference": "@fgv/ts-http-storage!FsStorageProvider#createDirectory:member(1)",
298
+ "docComment": "",
299
+ "excerptTokens": [
300
+ {
301
+ "kind": "Content",
302
+ "text": "createDirectory(itemPath: "
303
+ },
304
+ {
305
+ "kind": "Content",
306
+ "text": "string"
307
+ },
308
+ {
309
+ "kind": "Content",
310
+ "text": "): "
311
+ },
312
+ {
313
+ "kind": "Reference",
314
+ "text": "Promise",
315
+ "canonicalReference": "!Promise:interface"
316
+ },
317
+ {
318
+ "kind": "Content",
319
+ "text": "<"
320
+ },
321
+ {
322
+ "kind": "Reference",
323
+ "text": "Result",
324
+ "canonicalReference": "@fgv/ts-utils!Result:type"
325
+ },
326
+ {
327
+ "kind": "Content",
328
+ "text": "<"
329
+ },
330
+ {
331
+ "kind": "Reference",
332
+ "text": "IStorageTreeItem",
333
+ "canonicalReference": "@fgv/ts-http-storage!IStorageTreeItem:interface"
334
+ },
335
+ {
336
+ "kind": "Content",
337
+ "text": ">>"
338
+ },
339
+ {
340
+ "kind": "Content",
341
+ "text": ";"
342
+ }
343
+ ],
344
+ "isStatic": false,
345
+ "returnTypeTokenRange": {
346
+ "startIndex": 3,
347
+ "endIndex": 9
348
+ },
349
+ "releaseTag": "Public",
350
+ "isProtected": false,
351
+ "overloadIndex": 1,
352
+ "parameters": [
353
+ {
354
+ "parameterName": "itemPath",
355
+ "parameterTypeTokenRange": {
356
+ "startIndex": 1,
357
+ "endIndex": 2
358
+ },
359
+ "isOptional": false
360
+ }
361
+ ],
362
+ "isOptional": false,
363
+ "isAbstract": false,
364
+ "name": "createDirectory"
365
+ },
366
+ {
367
+ "kind": "Method",
368
+ "canonicalReference": "@fgv/ts-http-storage!FsStorageProvider#deleteFile:member(1)",
369
+ "docComment": "",
370
+ "excerptTokens": [
371
+ {
372
+ "kind": "Content",
373
+ "text": "deleteFile(itemPath: "
374
+ },
375
+ {
376
+ "kind": "Content",
377
+ "text": "string"
378
+ },
379
+ {
380
+ "kind": "Content",
381
+ "text": "): "
382
+ },
383
+ {
384
+ "kind": "Reference",
385
+ "text": "Promise",
386
+ "canonicalReference": "!Promise:interface"
387
+ },
388
+ {
389
+ "kind": "Content",
390
+ "text": "<"
391
+ },
392
+ {
393
+ "kind": "Reference",
394
+ "text": "Result",
395
+ "canonicalReference": "@fgv/ts-utils!Result:type"
396
+ },
397
+ {
398
+ "kind": "Content",
399
+ "text": "<boolean>>"
400
+ },
401
+ {
402
+ "kind": "Content",
403
+ "text": ";"
404
+ }
405
+ ],
406
+ "isStatic": false,
407
+ "returnTypeTokenRange": {
408
+ "startIndex": 3,
409
+ "endIndex": 7
410
+ },
411
+ "releaseTag": "Public",
412
+ "isProtected": false,
413
+ "overloadIndex": 1,
414
+ "parameters": [
415
+ {
416
+ "parameterName": "itemPath",
417
+ "parameterTypeTokenRange": {
418
+ "startIndex": 1,
419
+ "endIndex": 2
420
+ },
421
+ "isOptional": false
422
+ }
423
+ ],
424
+ "isOptional": false,
425
+ "isAbstract": false,
426
+ "name": "deleteFile"
427
+ },
428
+ {
429
+ "kind": "Method",
430
+ "canonicalReference": "@fgv/ts-http-storage!FsStorageProvider#getChildren:member(1)",
431
+ "docComment": "",
432
+ "excerptTokens": [
433
+ {
434
+ "kind": "Content",
435
+ "text": "getChildren(itemPath: "
436
+ },
437
+ {
438
+ "kind": "Content",
439
+ "text": "string"
440
+ },
441
+ {
442
+ "kind": "Content",
443
+ "text": "): "
444
+ },
445
+ {
446
+ "kind": "Reference",
447
+ "text": "Promise",
448
+ "canonicalReference": "!Promise:interface"
449
+ },
450
+ {
451
+ "kind": "Content",
452
+ "text": "<"
453
+ },
454
+ {
455
+ "kind": "Reference",
456
+ "text": "Result",
457
+ "canonicalReference": "@fgv/ts-utils!Result:type"
458
+ },
459
+ {
460
+ "kind": "Content",
461
+ "text": "<"
462
+ },
463
+ {
464
+ "kind": "Reference",
465
+ "text": "ReadonlyArray",
466
+ "canonicalReference": "!ReadonlyArray:interface"
467
+ },
468
+ {
469
+ "kind": "Content",
470
+ "text": "<"
471
+ },
472
+ {
473
+ "kind": "Reference",
474
+ "text": "IStorageTreeItem",
475
+ "canonicalReference": "@fgv/ts-http-storage!IStorageTreeItem:interface"
476
+ },
477
+ {
478
+ "kind": "Content",
479
+ "text": ">>>"
480
+ },
481
+ {
482
+ "kind": "Content",
483
+ "text": ";"
484
+ }
485
+ ],
486
+ "isStatic": false,
487
+ "returnTypeTokenRange": {
488
+ "startIndex": 3,
489
+ "endIndex": 11
490
+ },
491
+ "releaseTag": "Public",
492
+ "isProtected": false,
493
+ "overloadIndex": 1,
494
+ "parameters": [
495
+ {
496
+ "parameterName": "itemPath",
497
+ "parameterTypeTokenRange": {
498
+ "startIndex": 1,
499
+ "endIndex": 2
500
+ },
501
+ "isOptional": false
502
+ }
503
+ ],
504
+ "isOptional": false,
505
+ "isAbstract": false,
506
+ "name": "getChildren"
507
+ },
508
+ {
509
+ "kind": "Method",
510
+ "canonicalReference": "@fgv/ts-http-storage!FsStorageProvider#getFile:member(1)",
511
+ "docComment": "",
512
+ "excerptTokens": [
513
+ {
514
+ "kind": "Content",
515
+ "text": "getFile(itemPath: "
516
+ },
517
+ {
518
+ "kind": "Content",
519
+ "text": "string"
520
+ },
521
+ {
522
+ "kind": "Content",
523
+ "text": "): "
524
+ },
525
+ {
526
+ "kind": "Reference",
527
+ "text": "Promise",
528
+ "canonicalReference": "!Promise:interface"
529
+ },
530
+ {
531
+ "kind": "Content",
532
+ "text": "<"
533
+ },
534
+ {
535
+ "kind": "Reference",
536
+ "text": "Result",
537
+ "canonicalReference": "@fgv/ts-utils!Result:type"
538
+ },
539
+ {
540
+ "kind": "Content",
541
+ "text": "<"
542
+ },
543
+ {
544
+ "kind": "Reference",
545
+ "text": "IStorageFileResponse",
546
+ "canonicalReference": "@fgv/ts-http-storage!IStorageFileResponse:interface"
547
+ },
548
+ {
549
+ "kind": "Content",
550
+ "text": ">>"
551
+ },
552
+ {
553
+ "kind": "Content",
554
+ "text": ";"
555
+ }
556
+ ],
557
+ "isStatic": false,
558
+ "returnTypeTokenRange": {
559
+ "startIndex": 3,
560
+ "endIndex": 9
561
+ },
562
+ "releaseTag": "Public",
563
+ "isProtected": false,
564
+ "overloadIndex": 1,
565
+ "parameters": [
566
+ {
567
+ "parameterName": "itemPath",
568
+ "parameterTypeTokenRange": {
569
+ "startIndex": 1,
570
+ "endIndex": 2
571
+ },
572
+ "isOptional": false
573
+ }
574
+ ],
575
+ "isOptional": false,
576
+ "isAbstract": false,
577
+ "name": "getFile"
578
+ },
579
+ {
580
+ "kind": "Method",
581
+ "canonicalReference": "@fgv/ts-http-storage!FsStorageProvider#getItem:member(1)",
582
+ "docComment": "",
583
+ "excerptTokens": [
584
+ {
585
+ "kind": "Content",
586
+ "text": "getItem(itemPath: "
587
+ },
588
+ {
589
+ "kind": "Content",
590
+ "text": "string"
591
+ },
592
+ {
593
+ "kind": "Content",
594
+ "text": "): "
595
+ },
596
+ {
597
+ "kind": "Reference",
598
+ "text": "Promise",
599
+ "canonicalReference": "!Promise:interface"
600
+ },
601
+ {
602
+ "kind": "Content",
603
+ "text": "<"
604
+ },
605
+ {
606
+ "kind": "Reference",
607
+ "text": "Result",
608
+ "canonicalReference": "@fgv/ts-utils!Result:type"
609
+ },
610
+ {
611
+ "kind": "Content",
612
+ "text": "<"
613
+ },
614
+ {
615
+ "kind": "Reference",
616
+ "text": "IStorageTreeItem",
617
+ "canonicalReference": "@fgv/ts-http-storage!IStorageTreeItem:interface"
618
+ },
619
+ {
620
+ "kind": "Content",
621
+ "text": ">>"
622
+ },
623
+ {
624
+ "kind": "Content",
625
+ "text": ";"
626
+ }
627
+ ],
628
+ "isStatic": false,
629
+ "returnTypeTokenRange": {
630
+ "startIndex": 3,
631
+ "endIndex": 9
632
+ },
633
+ "releaseTag": "Public",
634
+ "isProtected": false,
635
+ "overloadIndex": 1,
636
+ "parameters": [
637
+ {
638
+ "parameterName": "itemPath",
639
+ "parameterTypeTokenRange": {
640
+ "startIndex": 1,
641
+ "endIndex": 2
642
+ },
643
+ "isOptional": false
644
+ }
645
+ ],
646
+ "isOptional": false,
647
+ "isAbstract": false,
648
+ "name": "getItem"
649
+ },
650
+ {
651
+ "kind": "Method",
652
+ "canonicalReference": "@fgv/ts-http-storage!FsStorageProvider#saveFile:member(1)",
653
+ "docComment": "",
654
+ "excerptTokens": [
655
+ {
656
+ "kind": "Content",
657
+ "text": "saveFile(itemPath: "
658
+ },
659
+ {
660
+ "kind": "Content",
661
+ "text": "string"
662
+ },
663
+ {
664
+ "kind": "Content",
665
+ "text": ", contents: "
666
+ },
667
+ {
668
+ "kind": "Content",
669
+ "text": "string"
670
+ },
671
+ {
672
+ "kind": "Content",
673
+ "text": ", contentType?: "
674
+ },
675
+ {
676
+ "kind": "Content",
677
+ "text": "string"
678
+ },
679
+ {
680
+ "kind": "Content",
681
+ "text": "): "
682
+ },
683
+ {
684
+ "kind": "Reference",
685
+ "text": "Promise",
686
+ "canonicalReference": "!Promise:interface"
687
+ },
688
+ {
689
+ "kind": "Content",
690
+ "text": "<"
691
+ },
692
+ {
693
+ "kind": "Reference",
694
+ "text": "Result",
695
+ "canonicalReference": "@fgv/ts-utils!Result:type"
696
+ },
697
+ {
698
+ "kind": "Content",
699
+ "text": "<"
700
+ },
701
+ {
702
+ "kind": "Reference",
703
+ "text": "IStorageFileResponse",
704
+ "canonicalReference": "@fgv/ts-http-storage!IStorageFileResponse:interface"
705
+ },
706
+ {
707
+ "kind": "Content",
708
+ "text": ">>"
709
+ },
710
+ {
711
+ "kind": "Content",
712
+ "text": ";"
713
+ }
714
+ ],
715
+ "isStatic": false,
716
+ "returnTypeTokenRange": {
717
+ "startIndex": 7,
718
+ "endIndex": 13
719
+ },
720
+ "releaseTag": "Public",
721
+ "isProtected": false,
722
+ "overloadIndex": 1,
723
+ "parameters": [
724
+ {
725
+ "parameterName": "itemPath",
726
+ "parameterTypeTokenRange": {
727
+ "startIndex": 1,
728
+ "endIndex": 2
729
+ },
730
+ "isOptional": false
731
+ },
732
+ {
733
+ "parameterName": "contents",
734
+ "parameterTypeTokenRange": {
735
+ "startIndex": 3,
736
+ "endIndex": 4
737
+ },
738
+ "isOptional": false
739
+ },
740
+ {
741
+ "parameterName": "contentType",
742
+ "parameterTypeTokenRange": {
743
+ "startIndex": 5,
744
+ "endIndex": 6
745
+ },
746
+ "isOptional": true
747
+ }
748
+ ],
749
+ "isOptional": false,
750
+ "isAbstract": false,
751
+ "name": "saveFile"
752
+ },
753
+ {
754
+ "kind": "Method",
755
+ "canonicalReference": "@fgv/ts-http-storage!FsStorageProvider#sync:member(1)",
756
+ "docComment": "",
757
+ "excerptTokens": [
758
+ {
759
+ "kind": "Content",
760
+ "text": "sync(): "
761
+ },
762
+ {
763
+ "kind": "Reference",
764
+ "text": "Promise",
765
+ "canonicalReference": "!Promise:interface"
766
+ },
767
+ {
768
+ "kind": "Content",
769
+ "text": "<"
770
+ },
771
+ {
772
+ "kind": "Reference",
773
+ "text": "Result",
774
+ "canonicalReference": "@fgv/ts-utils!Result:type"
775
+ },
776
+ {
777
+ "kind": "Content",
778
+ "text": "<"
779
+ },
780
+ {
781
+ "kind": "Reference",
782
+ "text": "IStorageSyncResponse",
783
+ "canonicalReference": "@fgv/ts-http-storage!IStorageSyncResponse:interface"
784
+ },
785
+ {
786
+ "kind": "Content",
787
+ "text": ">>"
788
+ },
789
+ {
790
+ "kind": "Content",
791
+ "text": ";"
792
+ }
793
+ ],
794
+ "isStatic": false,
795
+ "returnTypeTokenRange": {
796
+ "startIndex": 1,
797
+ "endIndex": 7
798
+ },
799
+ "releaseTag": "Public",
800
+ "isProtected": false,
801
+ "overloadIndex": 1,
802
+ "parameters": [],
803
+ "isOptional": false,
804
+ "isAbstract": false,
805
+ "name": "sync"
806
+ }
807
+ ],
808
+ "implementsTokenRanges": [
809
+ {
810
+ "startIndex": 1,
811
+ "endIndex": 2
812
+ }
813
+ ]
814
+ },
815
+ {
816
+ "kind": "Class",
817
+ "canonicalReference": "@fgv/ts-http-storage!FsStorageProviderFactory:class",
818
+ "docComment": "/**\n * Namespace-aware provider factory backed by filesystem directories.\n *\n * @public\n */\n",
819
+ "excerptTokens": [
820
+ {
821
+ "kind": "Content",
822
+ "text": "export declare class FsStorageProviderFactory implements "
823
+ },
824
+ {
825
+ "kind": "Reference",
826
+ "text": "IHttpStorageProviderFactory",
827
+ "canonicalReference": "@fgv/ts-http-storage!IHttpStorageProviderFactory:interface"
828
+ },
829
+ {
830
+ "kind": "Content",
831
+ "text": " "
832
+ }
833
+ ],
834
+ "fileUrlPath": "src/packlets/storage/fsProvider.ts",
835
+ "releaseTag": "Public",
836
+ "isAbstract": false,
837
+ "name": "FsStorageProviderFactory",
838
+ "preserveMemberOrder": false,
839
+ "members": [
840
+ {
841
+ "kind": "Constructor",
842
+ "canonicalReference": "@fgv/ts-http-storage!FsStorageProviderFactory:constructor(1)",
843
+ "docComment": "/**\n * Constructs a new instance of the `FsStorageProviderFactory` class\n */\n",
844
+ "excerptTokens": [
845
+ {
846
+ "kind": "Content",
847
+ "text": "constructor(options: "
848
+ },
849
+ {
850
+ "kind": "Reference",
851
+ "text": "IFsStorageProviderFactoryOptions",
852
+ "canonicalReference": "@fgv/ts-http-storage!IFsStorageProviderFactoryOptions:interface"
853
+ },
854
+ {
855
+ "kind": "Content",
856
+ "text": ");"
857
+ }
858
+ ],
859
+ "releaseTag": "Public",
860
+ "isProtected": false,
861
+ "overloadIndex": 1,
862
+ "parameters": [
863
+ {
864
+ "parameterName": "options",
865
+ "parameterTypeTokenRange": {
866
+ "startIndex": 1,
867
+ "endIndex": 2
868
+ },
869
+ "isOptional": false
870
+ }
871
+ ]
872
+ },
873
+ {
874
+ "kind": "Method",
875
+ "canonicalReference": "@fgv/ts-http-storage!FsStorageProviderFactory#forNamespace:member(1)",
876
+ "docComment": "",
877
+ "excerptTokens": [
878
+ {
879
+ "kind": "Content",
880
+ "text": "forNamespace(namespace?: "
881
+ },
882
+ {
883
+ "kind": "Content",
884
+ "text": "string"
885
+ },
886
+ {
887
+ "kind": "Content",
888
+ "text": "): "
889
+ },
890
+ {
891
+ "kind": "Reference",
892
+ "text": "Result",
893
+ "canonicalReference": "@fgv/ts-utils!Result:type"
894
+ },
895
+ {
896
+ "kind": "Content",
897
+ "text": "<"
898
+ },
899
+ {
900
+ "kind": "Reference",
901
+ "text": "IHttpStorageProvider",
902
+ "canonicalReference": "@fgv/ts-http-storage!IHttpStorageProvider:interface"
903
+ },
904
+ {
905
+ "kind": "Content",
906
+ "text": ">"
907
+ },
908
+ {
909
+ "kind": "Content",
910
+ "text": ";"
911
+ }
912
+ ],
913
+ "isStatic": false,
914
+ "returnTypeTokenRange": {
915
+ "startIndex": 3,
916
+ "endIndex": 7
917
+ },
918
+ "releaseTag": "Public",
919
+ "isProtected": false,
920
+ "overloadIndex": 1,
921
+ "parameters": [
922
+ {
923
+ "parameterName": "namespace",
924
+ "parameterTypeTokenRange": {
925
+ "startIndex": 1,
926
+ "endIndex": 2
927
+ },
928
+ "isOptional": true
929
+ }
930
+ ],
931
+ "isOptional": false,
932
+ "isAbstract": false,
933
+ "name": "forNamespace"
934
+ }
935
+ ],
936
+ "implementsTokenRanges": [
937
+ {
938
+ "startIndex": 1,
939
+ "endIndex": 2
940
+ }
941
+ ]
942
+ },
943
+ {
944
+ "kind": "Class",
945
+ "canonicalReference": "@fgv/ts-http-storage!HttpStorageService:class",
946
+ "docComment": "/**\n * Service layer for storage API operations.\n *\n * @public\n */\n",
947
+ "excerptTokens": [
948
+ {
949
+ "kind": "Content",
950
+ "text": "export declare class HttpStorageService "
951
+ }
952
+ ],
953
+ "fileUrlPath": "src/packlets/storage/service.ts",
954
+ "releaseTag": "Public",
955
+ "isAbstract": false,
956
+ "name": "HttpStorageService",
957
+ "preserveMemberOrder": false,
958
+ "members": [
959
+ {
960
+ "kind": "Constructor",
961
+ "canonicalReference": "@fgv/ts-http-storage!HttpStorageService:constructor(1)",
962
+ "docComment": "/**\n * Constructs a new instance of the `HttpStorageService` class\n */\n",
963
+ "excerptTokens": [
964
+ {
965
+ "kind": "Content",
966
+ "text": "constructor(providers: "
967
+ },
968
+ {
969
+ "kind": "Reference",
970
+ "text": "IHttpStorageProviderFactory",
971
+ "canonicalReference": "@fgv/ts-http-storage!IHttpStorageProviderFactory:interface"
972
+ },
973
+ {
974
+ "kind": "Content",
975
+ "text": ");"
976
+ }
977
+ ],
978
+ "releaseTag": "Public",
979
+ "isProtected": false,
980
+ "overloadIndex": 1,
981
+ "parameters": [
982
+ {
983
+ "parameterName": "providers",
984
+ "parameterTypeTokenRange": {
985
+ "startIndex": 1,
986
+ "endIndex": 2
987
+ },
988
+ "isOptional": false
989
+ }
990
+ ]
991
+ },
992
+ {
993
+ "kind": "Method",
994
+ "canonicalReference": "@fgv/ts-http-storage!HttpStorageService#createDirectory:member(1)",
995
+ "docComment": "",
996
+ "excerptTokens": [
997
+ {
998
+ "kind": "Content",
999
+ "text": "createDirectory(request: "
1000
+ },
1001
+ {
1002
+ "kind": "Reference",
1003
+ "text": "IStoragePathRequest",
1004
+ "canonicalReference": "@fgv/ts-http-storage!IStoragePathRequest:interface"
1005
+ },
1006
+ {
1007
+ "kind": "Content",
1008
+ "text": "): "
1009
+ },
1010
+ {
1011
+ "kind": "Reference",
1012
+ "text": "Promise",
1013
+ "canonicalReference": "!Promise:interface"
1014
+ },
1015
+ {
1016
+ "kind": "Content",
1017
+ "text": "<"
1018
+ },
1019
+ {
1020
+ "kind": "Reference",
1021
+ "text": "Result",
1022
+ "canonicalReference": "@fgv/ts-utils!Result:type"
1023
+ },
1024
+ {
1025
+ "kind": "Content",
1026
+ "text": "<"
1027
+ },
1028
+ {
1029
+ "kind": "Reference",
1030
+ "text": "IStorageTreeItem",
1031
+ "canonicalReference": "@fgv/ts-http-storage!IStorageTreeItem:interface"
1032
+ },
1033
+ {
1034
+ "kind": "Content",
1035
+ "text": ">>"
1036
+ },
1037
+ {
1038
+ "kind": "Content",
1039
+ "text": ";"
1040
+ }
1041
+ ],
1042
+ "isStatic": false,
1043
+ "returnTypeTokenRange": {
1044
+ "startIndex": 3,
1045
+ "endIndex": 9
1046
+ },
1047
+ "releaseTag": "Public",
1048
+ "isProtected": false,
1049
+ "overloadIndex": 1,
1050
+ "parameters": [
1051
+ {
1052
+ "parameterName": "request",
1053
+ "parameterTypeTokenRange": {
1054
+ "startIndex": 1,
1055
+ "endIndex": 2
1056
+ },
1057
+ "isOptional": false
1058
+ }
1059
+ ],
1060
+ "isOptional": false,
1061
+ "isAbstract": false,
1062
+ "name": "createDirectory"
1063
+ },
1064
+ {
1065
+ "kind": "Method",
1066
+ "canonicalReference": "@fgv/ts-http-storage!HttpStorageService#deleteFile:member(1)",
1067
+ "docComment": "",
1068
+ "excerptTokens": [
1069
+ {
1070
+ "kind": "Content",
1071
+ "text": "deleteFile(request: "
1072
+ },
1073
+ {
1074
+ "kind": "Reference",
1075
+ "text": "IStoragePathRequest",
1076
+ "canonicalReference": "@fgv/ts-http-storage!IStoragePathRequest:interface"
1077
+ },
1078
+ {
1079
+ "kind": "Content",
1080
+ "text": "): "
1081
+ },
1082
+ {
1083
+ "kind": "Reference",
1084
+ "text": "Promise",
1085
+ "canonicalReference": "!Promise:interface"
1086
+ },
1087
+ {
1088
+ "kind": "Content",
1089
+ "text": "<"
1090
+ },
1091
+ {
1092
+ "kind": "Reference",
1093
+ "text": "Result",
1094
+ "canonicalReference": "@fgv/ts-utils!Result:type"
1095
+ },
1096
+ {
1097
+ "kind": "Content",
1098
+ "text": "<boolean>>"
1099
+ },
1100
+ {
1101
+ "kind": "Content",
1102
+ "text": ";"
1103
+ }
1104
+ ],
1105
+ "isStatic": false,
1106
+ "returnTypeTokenRange": {
1107
+ "startIndex": 3,
1108
+ "endIndex": 7
1109
+ },
1110
+ "releaseTag": "Public",
1111
+ "isProtected": false,
1112
+ "overloadIndex": 1,
1113
+ "parameters": [
1114
+ {
1115
+ "parameterName": "request",
1116
+ "parameterTypeTokenRange": {
1117
+ "startIndex": 1,
1118
+ "endIndex": 2
1119
+ },
1120
+ "isOptional": false
1121
+ }
1122
+ ],
1123
+ "isOptional": false,
1124
+ "isAbstract": false,
1125
+ "name": "deleteFile"
1126
+ },
1127
+ {
1128
+ "kind": "Method",
1129
+ "canonicalReference": "@fgv/ts-http-storage!HttpStorageService#getChildren:member(1)",
1130
+ "docComment": "",
1131
+ "excerptTokens": [
1132
+ {
1133
+ "kind": "Content",
1134
+ "text": "getChildren(request: "
1135
+ },
1136
+ {
1137
+ "kind": "Reference",
1138
+ "text": "IStoragePathRequest",
1139
+ "canonicalReference": "@fgv/ts-http-storage!IStoragePathRequest:interface"
1140
+ },
1141
+ {
1142
+ "kind": "Content",
1143
+ "text": "): "
1144
+ },
1145
+ {
1146
+ "kind": "Reference",
1147
+ "text": "Promise",
1148
+ "canonicalReference": "!Promise:interface"
1149
+ },
1150
+ {
1151
+ "kind": "Content",
1152
+ "text": "<"
1153
+ },
1154
+ {
1155
+ "kind": "Reference",
1156
+ "text": "Result",
1157
+ "canonicalReference": "@fgv/ts-utils!Result:type"
1158
+ },
1159
+ {
1160
+ "kind": "Content",
1161
+ "text": "<"
1162
+ },
1163
+ {
1164
+ "kind": "Reference",
1165
+ "text": "IStorageTreeChildrenResponse",
1166
+ "canonicalReference": "@fgv/ts-http-storage!IStorageTreeChildrenResponse:interface"
1167
+ },
1168
+ {
1169
+ "kind": "Content",
1170
+ "text": ">>"
1171
+ },
1172
+ {
1173
+ "kind": "Content",
1174
+ "text": ";"
1175
+ }
1176
+ ],
1177
+ "isStatic": false,
1178
+ "returnTypeTokenRange": {
1179
+ "startIndex": 3,
1180
+ "endIndex": 9
1181
+ },
1182
+ "releaseTag": "Public",
1183
+ "isProtected": false,
1184
+ "overloadIndex": 1,
1185
+ "parameters": [
1186
+ {
1187
+ "parameterName": "request",
1188
+ "parameterTypeTokenRange": {
1189
+ "startIndex": 1,
1190
+ "endIndex": 2
1191
+ },
1192
+ "isOptional": false
1193
+ }
1194
+ ],
1195
+ "isOptional": false,
1196
+ "isAbstract": false,
1197
+ "name": "getChildren"
1198
+ },
1199
+ {
1200
+ "kind": "Method",
1201
+ "canonicalReference": "@fgv/ts-http-storage!HttpStorageService#getFile:member(1)",
1202
+ "docComment": "",
1203
+ "excerptTokens": [
1204
+ {
1205
+ "kind": "Content",
1206
+ "text": "getFile(request: "
1207
+ },
1208
+ {
1209
+ "kind": "Reference",
1210
+ "text": "IStoragePathRequest",
1211
+ "canonicalReference": "@fgv/ts-http-storage!IStoragePathRequest:interface"
1212
+ },
1213
+ {
1214
+ "kind": "Content",
1215
+ "text": "): "
1216
+ },
1217
+ {
1218
+ "kind": "Reference",
1219
+ "text": "Promise",
1220
+ "canonicalReference": "!Promise:interface"
1221
+ },
1222
+ {
1223
+ "kind": "Content",
1224
+ "text": "<"
1225
+ },
1226
+ {
1227
+ "kind": "Reference",
1228
+ "text": "Result",
1229
+ "canonicalReference": "@fgv/ts-utils!Result:type"
1230
+ },
1231
+ {
1232
+ "kind": "Content",
1233
+ "text": "<"
1234
+ },
1235
+ {
1236
+ "kind": "Reference",
1237
+ "text": "IStorageFileResponse",
1238
+ "canonicalReference": "@fgv/ts-http-storage!IStorageFileResponse:interface"
1239
+ },
1240
+ {
1241
+ "kind": "Content",
1242
+ "text": ">>"
1243
+ },
1244
+ {
1245
+ "kind": "Content",
1246
+ "text": ";"
1247
+ }
1248
+ ],
1249
+ "isStatic": false,
1250
+ "returnTypeTokenRange": {
1251
+ "startIndex": 3,
1252
+ "endIndex": 9
1253
+ },
1254
+ "releaseTag": "Public",
1255
+ "isProtected": false,
1256
+ "overloadIndex": 1,
1257
+ "parameters": [
1258
+ {
1259
+ "parameterName": "request",
1260
+ "parameterTypeTokenRange": {
1261
+ "startIndex": 1,
1262
+ "endIndex": 2
1263
+ },
1264
+ "isOptional": false
1265
+ }
1266
+ ],
1267
+ "isOptional": false,
1268
+ "isAbstract": false,
1269
+ "name": "getFile"
1270
+ },
1271
+ {
1272
+ "kind": "Method",
1273
+ "canonicalReference": "@fgv/ts-http-storage!HttpStorageService#getItem:member(1)",
1274
+ "docComment": "",
1275
+ "excerptTokens": [
1276
+ {
1277
+ "kind": "Content",
1278
+ "text": "getItem(request: "
1279
+ },
1280
+ {
1281
+ "kind": "Reference",
1282
+ "text": "IStoragePathRequest",
1283
+ "canonicalReference": "@fgv/ts-http-storage!IStoragePathRequest:interface"
1284
+ },
1285
+ {
1286
+ "kind": "Content",
1287
+ "text": "): "
1288
+ },
1289
+ {
1290
+ "kind": "Reference",
1291
+ "text": "Promise",
1292
+ "canonicalReference": "!Promise:interface"
1293
+ },
1294
+ {
1295
+ "kind": "Content",
1296
+ "text": "<"
1297
+ },
1298
+ {
1299
+ "kind": "Reference",
1300
+ "text": "Result",
1301
+ "canonicalReference": "@fgv/ts-utils!Result:type"
1302
+ },
1303
+ {
1304
+ "kind": "Content",
1305
+ "text": "<"
1306
+ },
1307
+ {
1308
+ "kind": "Reference",
1309
+ "text": "IStorageTreeItem",
1310
+ "canonicalReference": "@fgv/ts-http-storage!IStorageTreeItem:interface"
1311
+ },
1312
+ {
1313
+ "kind": "Content",
1314
+ "text": ">>"
1315
+ },
1316
+ {
1317
+ "kind": "Content",
1318
+ "text": ";"
1319
+ }
1320
+ ],
1321
+ "isStatic": false,
1322
+ "returnTypeTokenRange": {
1323
+ "startIndex": 3,
1324
+ "endIndex": 9
1325
+ },
1326
+ "releaseTag": "Public",
1327
+ "isProtected": false,
1328
+ "overloadIndex": 1,
1329
+ "parameters": [
1330
+ {
1331
+ "parameterName": "request",
1332
+ "parameterTypeTokenRange": {
1333
+ "startIndex": 1,
1334
+ "endIndex": 2
1335
+ },
1336
+ "isOptional": false
1337
+ }
1338
+ ],
1339
+ "isOptional": false,
1340
+ "isAbstract": false,
1341
+ "name": "getItem"
1342
+ },
1343
+ {
1344
+ "kind": "Method",
1345
+ "canonicalReference": "@fgv/ts-http-storage!HttpStorageService#saveFile:member(1)",
1346
+ "docComment": "",
1347
+ "excerptTokens": [
1348
+ {
1349
+ "kind": "Content",
1350
+ "text": "saveFile(request: "
1351
+ },
1352
+ {
1353
+ "kind": "Reference",
1354
+ "text": "IStorageWriteFileRequest",
1355
+ "canonicalReference": "@fgv/ts-http-storage!IStorageWriteFileRequest:interface"
1356
+ },
1357
+ {
1358
+ "kind": "Content",
1359
+ "text": "): "
1360
+ },
1361
+ {
1362
+ "kind": "Reference",
1363
+ "text": "Promise",
1364
+ "canonicalReference": "!Promise:interface"
1365
+ },
1366
+ {
1367
+ "kind": "Content",
1368
+ "text": "<"
1369
+ },
1370
+ {
1371
+ "kind": "Reference",
1372
+ "text": "Result",
1373
+ "canonicalReference": "@fgv/ts-utils!Result:type"
1374
+ },
1375
+ {
1376
+ "kind": "Content",
1377
+ "text": "<"
1378
+ },
1379
+ {
1380
+ "kind": "Reference",
1381
+ "text": "IStorageFileResponse",
1382
+ "canonicalReference": "@fgv/ts-http-storage!IStorageFileResponse:interface"
1383
+ },
1384
+ {
1385
+ "kind": "Content",
1386
+ "text": ">>"
1387
+ },
1388
+ {
1389
+ "kind": "Content",
1390
+ "text": ";"
1391
+ }
1392
+ ],
1393
+ "isStatic": false,
1394
+ "returnTypeTokenRange": {
1395
+ "startIndex": 3,
1396
+ "endIndex": 9
1397
+ },
1398
+ "releaseTag": "Public",
1399
+ "isProtected": false,
1400
+ "overloadIndex": 1,
1401
+ "parameters": [
1402
+ {
1403
+ "parameterName": "request",
1404
+ "parameterTypeTokenRange": {
1405
+ "startIndex": 1,
1406
+ "endIndex": 2
1407
+ },
1408
+ "isOptional": false
1409
+ }
1410
+ ],
1411
+ "isOptional": false,
1412
+ "isAbstract": false,
1413
+ "name": "saveFile"
1414
+ },
1415
+ {
1416
+ "kind": "Method",
1417
+ "canonicalReference": "@fgv/ts-http-storage!HttpStorageService#sync:member(1)",
1418
+ "docComment": "",
1419
+ "excerptTokens": [
1420
+ {
1421
+ "kind": "Content",
1422
+ "text": "sync(request: "
1423
+ },
1424
+ {
1425
+ "kind": "Reference",
1426
+ "text": "IStorageSyncRequest",
1427
+ "canonicalReference": "@fgv/ts-http-storage!IStorageSyncRequest:interface"
1428
+ },
1429
+ {
1430
+ "kind": "Content",
1431
+ "text": "): "
1432
+ },
1433
+ {
1434
+ "kind": "Reference",
1435
+ "text": "Promise",
1436
+ "canonicalReference": "!Promise:interface"
1437
+ },
1438
+ {
1439
+ "kind": "Content",
1440
+ "text": "<"
1441
+ },
1442
+ {
1443
+ "kind": "Reference",
1444
+ "text": "Result",
1445
+ "canonicalReference": "@fgv/ts-utils!Result:type"
1446
+ },
1447
+ {
1448
+ "kind": "Content",
1449
+ "text": "<"
1450
+ },
1451
+ {
1452
+ "kind": "Reference",
1453
+ "text": "IStorageSyncResponse",
1454
+ "canonicalReference": "@fgv/ts-http-storage!IStorageSyncResponse:interface"
1455
+ },
1456
+ {
1457
+ "kind": "Content",
1458
+ "text": ">>"
1459
+ },
1460
+ {
1461
+ "kind": "Content",
1462
+ "text": ";"
1463
+ }
1464
+ ],
1465
+ "isStatic": false,
1466
+ "returnTypeTokenRange": {
1467
+ "startIndex": 3,
1468
+ "endIndex": 9
1469
+ },
1470
+ "releaseTag": "Public",
1471
+ "isProtected": false,
1472
+ "overloadIndex": 1,
1473
+ "parameters": [
1474
+ {
1475
+ "parameterName": "request",
1476
+ "parameterTypeTokenRange": {
1477
+ "startIndex": 1,
1478
+ "endIndex": 2
1479
+ },
1480
+ "isOptional": false
1481
+ }
1482
+ ],
1483
+ "isOptional": false,
1484
+ "isAbstract": false,
1485
+ "name": "sync"
1486
+ }
1487
+ ],
1488
+ "implementsTokenRanges": []
1489
+ },
1490
+ {
1491
+ "kind": "Interface",
1492
+ "canonicalReference": "@fgv/ts-http-storage!ICreateStorageRoutesOptions:interface",
1493
+ "docComment": "/**\n * Options for creating storage routes.\n *\n * @public\n */\n",
1494
+ "excerptTokens": [
1495
+ {
1496
+ "kind": "Content",
1497
+ "text": "export interface ICreateStorageRoutesOptions "
1498
+ }
1499
+ ],
1500
+ "fileUrlPath": "src/packlets/storage/routes.ts",
1501
+ "releaseTag": "Public",
1502
+ "name": "ICreateStorageRoutesOptions",
1503
+ "preserveMemberOrder": false,
1504
+ "members": [
1505
+ {
1506
+ "kind": "PropertySignature",
1507
+ "canonicalReference": "@fgv/ts-http-storage!ICreateStorageRoutesOptions#logger:member",
1508
+ "docComment": "",
1509
+ "excerptTokens": [
1510
+ {
1511
+ "kind": "Content",
1512
+ "text": "readonly logger?: "
1513
+ },
1514
+ {
1515
+ "kind": "Reference",
1516
+ "text": "Logging.ILogger",
1517
+ "canonicalReference": "@fgv/ts-utils!ILogger:interface"
1518
+ },
1519
+ {
1520
+ "kind": "Content",
1521
+ "text": ";"
1522
+ }
1523
+ ],
1524
+ "isReadonly": true,
1525
+ "isOptional": true,
1526
+ "releaseTag": "Public",
1527
+ "name": "logger",
1528
+ "propertyTypeTokenRange": {
1529
+ "startIndex": 1,
1530
+ "endIndex": 2
1531
+ }
1532
+ },
1533
+ {
1534
+ "kind": "PropertySignature",
1535
+ "canonicalReference": "@fgv/ts-http-storage!ICreateStorageRoutesOptions#providers:member",
1536
+ "docComment": "",
1537
+ "excerptTokens": [
1538
+ {
1539
+ "kind": "Content",
1540
+ "text": "readonly providers: "
1541
+ },
1542
+ {
1543
+ "kind": "Reference",
1544
+ "text": "IHttpStorageProviderFactory",
1545
+ "canonicalReference": "@fgv/ts-http-storage!IHttpStorageProviderFactory:interface"
1546
+ },
1547
+ {
1548
+ "kind": "Content",
1549
+ "text": ";"
1550
+ }
1551
+ ],
1552
+ "isReadonly": true,
1553
+ "isOptional": false,
1554
+ "releaseTag": "Public",
1555
+ "name": "providers",
1556
+ "propertyTypeTokenRange": {
1557
+ "startIndex": 1,
1558
+ "endIndex": 2
1559
+ }
1560
+ }
1561
+ ],
1562
+ "extendsTokenRanges": []
1563
+ },
1564
+ {
1565
+ "kind": "Interface",
1566
+ "canonicalReference": "@fgv/ts-http-storage!IFsStorageProviderFactoryOptions:interface",
1567
+ "docComment": "/**\n * Options for creating filesystem-backed storage providers.\n *\n * @public\n */\n",
1568
+ "excerptTokens": [
1569
+ {
1570
+ "kind": "Content",
1571
+ "text": "export interface IFsStorageProviderFactoryOptions "
1572
+ }
1573
+ ],
1574
+ "fileUrlPath": "src/packlets/storage/fsProvider.ts",
1575
+ "releaseTag": "Public",
1576
+ "name": "IFsStorageProviderFactoryOptions",
1577
+ "preserveMemberOrder": false,
1578
+ "members": [
1579
+ {
1580
+ "kind": "PropertySignature",
1581
+ "canonicalReference": "@fgv/ts-http-storage!IFsStorageProviderFactoryOptions#rootPath:member",
1582
+ "docComment": "",
1583
+ "excerptTokens": [
1584
+ {
1585
+ "kind": "Content",
1586
+ "text": "readonly rootPath: "
1587
+ },
1588
+ {
1589
+ "kind": "Content",
1590
+ "text": "string"
1591
+ },
1592
+ {
1593
+ "kind": "Content",
1594
+ "text": ";"
1595
+ }
1596
+ ],
1597
+ "isReadonly": true,
1598
+ "isOptional": false,
1599
+ "releaseTag": "Public",
1600
+ "name": "rootPath",
1601
+ "propertyTypeTokenRange": {
1602
+ "startIndex": 1,
1603
+ "endIndex": 2
1604
+ }
1605
+ }
1606
+ ],
1607
+ "extendsTokenRanges": []
1608
+ },
1609
+ {
1610
+ "kind": "Interface",
1611
+ "canonicalReference": "@fgv/ts-http-storage!IHttpStorageProvider:interface",
1612
+ "docComment": "/**\n * Provider contract for storage backends. All methods are async to support both filesystem and database backends.\n *\n * @public\n */\n",
1613
+ "excerptTokens": [
1614
+ {
1615
+ "kind": "Content",
1616
+ "text": "export interface IHttpStorageProvider "
1617
+ }
1618
+ ],
1619
+ "fileUrlPath": "src/packlets/storage/model.ts",
1620
+ "releaseTag": "Public",
1621
+ "name": "IHttpStorageProvider",
1622
+ "preserveMemberOrder": false,
1623
+ "members": [
1624
+ {
1625
+ "kind": "MethodSignature",
1626
+ "canonicalReference": "@fgv/ts-http-storage!IHttpStorageProvider#createDirectory:member(1)",
1627
+ "docComment": "",
1628
+ "excerptTokens": [
1629
+ {
1630
+ "kind": "Content",
1631
+ "text": "createDirectory(path: "
1632
+ },
1633
+ {
1634
+ "kind": "Content",
1635
+ "text": "string"
1636
+ },
1637
+ {
1638
+ "kind": "Content",
1639
+ "text": "): "
1640
+ },
1641
+ {
1642
+ "kind": "Reference",
1643
+ "text": "Promise",
1644
+ "canonicalReference": "!Promise:interface"
1645
+ },
1646
+ {
1647
+ "kind": "Content",
1648
+ "text": "<"
1649
+ },
1650
+ {
1651
+ "kind": "Reference",
1652
+ "text": "Result",
1653
+ "canonicalReference": "@fgv/ts-utils!Result:type"
1654
+ },
1655
+ {
1656
+ "kind": "Content",
1657
+ "text": "<"
1658
+ },
1659
+ {
1660
+ "kind": "Reference",
1661
+ "text": "IStorageTreeItem",
1662
+ "canonicalReference": "@fgv/ts-http-storage!IStorageTreeItem:interface"
1663
+ },
1664
+ {
1665
+ "kind": "Content",
1666
+ "text": ">>"
1667
+ },
1668
+ {
1669
+ "kind": "Content",
1670
+ "text": ";"
1671
+ }
1672
+ ],
1673
+ "isOptional": false,
1674
+ "returnTypeTokenRange": {
1675
+ "startIndex": 3,
1676
+ "endIndex": 9
1677
+ },
1678
+ "releaseTag": "Public",
1679
+ "overloadIndex": 1,
1680
+ "parameters": [
1681
+ {
1682
+ "parameterName": "path",
1683
+ "parameterTypeTokenRange": {
1684
+ "startIndex": 1,
1685
+ "endIndex": 2
1686
+ },
1687
+ "isOptional": false
1688
+ }
1689
+ ],
1690
+ "name": "createDirectory"
1691
+ },
1692
+ {
1693
+ "kind": "MethodSignature",
1694
+ "canonicalReference": "@fgv/ts-http-storage!IHttpStorageProvider#deleteFile:member(1)",
1695
+ "docComment": "",
1696
+ "excerptTokens": [
1697
+ {
1698
+ "kind": "Content",
1699
+ "text": "deleteFile(path: "
1700
+ },
1701
+ {
1702
+ "kind": "Content",
1703
+ "text": "string"
1704
+ },
1705
+ {
1706
+ "kind": "Content",
1707
+ "text": "): "
1708
+ },
1709
+ {
1710
+ "kind": "Reference",
1711
+ "text": "Promise",
1712
+ "canonicalReference": "!Promise:interface"
1713
+ },
1714
+ {
1715
+ "kind": "Content",
1716
+ "text": "<"
1717
+ },
1718
+ {
1719
+ "kind": "Reference",
1720
+ "text": "Result",
1721
+ "canonicalReference": "@fgv/ts-utils!Result:type"
1722
+ },
1723
+ {
1724
+ "kind": "Content",
1725
+ "text": "<boolean>>"
1726
+ },
1727
+ {
1728
+ "kind": "Content",
1729
+ "text": ";"
1730
+ }
1731
+ ],
1732
+ "isOptional": false,
1733
+ "returnTypeTokenRange": {
1734
+ "startIndex": 3,
1735
+ "endIndex": 7
1736
+ },
1737
+ "releaseTag": "Public",
1738
+ "overloadIndex": 1,
1739
+ "parameters": [
1740
+ {
1741
+ "parameterName": "path",
1742
+ "parameterTypeTokenRange": {
1743
+ "startIndex": 1,
1744
+ "endIndex": 2
1745
+ },
1746
+ "isOptional": false
1747
+ }
1748
+ ],
1749
+ "name": "deleteFile"
1750
+ },
1751
+ {
1752
+ "kind": "MethodSignature",
1753
+ "canonicalReference": "@fgv/ts-http-storage!IHttpStorageProvider#getChildren:member(1)",
1754
+ "docComment": "",
1755
+ "excerptTokens": [
1756
+ {
1757
+ "kind": "Content",
1758
+ "text": "getChildren(path: "
1759
+ },
1760
+ {
1761
+ "kind": "Content",
1762
+ "text": "string"
1763
+ },
1764
+ {
1765
+ "kind": "Content",
1766
+ "text": "): "
1767
+ },
1768
+ {
1769
+ "kind": "Reference",
1770
+ "text": "Promise",
1771
+ "canonicalReference": "!Promise:interface"
1772
+ },
1773
+ {
1774
+ "kind": "Content",
1775
+ "text": "<"
1776
+ },
1777
+ {
1778
+ "kind": "Reference",
1779
+ "text": "Result",
1780
+ "canonicalReference": "@fgv/ts-utils!Result:type"
1781
+ },
1782
+ {
1783
+ "kind": "Content",
1784
+ "text": "<"
1785
+ },
1786
+ {
1787
+ "kind": "Reference",
1788
+ "text": "ReadonlyArray",
1789
+ "canonicalReference": "!ReadonlyArray:interface"
1790
+ },
1791
+ {
1792
+ "kind": "Content",
1793
+ "text": "<"
1794
+ },
1795
+ {
1796
+ "kind": "Reference",
1797
+ "text": "IStorageTreeItem",
1798
+ "canonicalReference": "@fgv/ts-http-storage!IStorageTreeItem:interface"
1799
+ },
1800
+ {
1801
+ "kind": "Content",
1802
+ "text": ">>>"
1803
+ },
1804
+ {
1805
+ "kind": "Content",
1806
+ "text": ";"
1807
+ }
1808
+ ],
1809
+ "isOptional": false,
1810
+ "returnTypeTokenRange": {
1811
+ "startIndex": 3,
1812
+ "endIndex": 11
1813
+ },
1814
+ "releaseTag": "Public",
1815
+ "overloadIndex": 1,
1816
+ "parameters": [
1817
+ {
1818
+ "parameterName": "path",
1819
+ "parameterTypeTokenRange": {
1820
+ "startIndex": 1,
1821
+ "endIndex": 2
1822
+ },
1823
+ "isOptional": false
1824
+ }
1825
+ ],
1826
+ "name": "getChildren"
1827
+ },
1828
+ {
1829
+ "kind": "MethodSignature",
1830
+ "canonicalReference": "@fgv/ts-http-storage!IHttpStorageProvider#getFile:member(1)",
1831
+ "docComment": "",
1832
+ "excerptTokens": [
1833
+ {
1834
+ "kind": "Content",
1835
+ "text": "getFile(path: "
1836
+ },
1837
+ {
1838
+ "kind": "Content",
1839
+ "text": "string"
1840
+ },
1841
+ {
1842
+ "kind": "Content",
1843
+ "text": "): "
1844
+ },
1845
+ {
1846
+ "kind": "Reference",
1847
+ "text": "Promise",
1848
+ "canonicalReference": "!Promise:interface"
1849
+ },
1850
+ {
1851
+ "kind": "Content",
1852
+ "text": "<"
1853
+ },
1854
+ {
1855
+ "kind": "Reference",
1856
+ "text": "Result",
1857
+ "canonicalReference": "@fgv/ts-utils!Result:type"
1858
+ },
1859
+ {
1860
+ "kind": "Content",
1861
+ "text": "<"
1862
+ },
1863
+ {
1864
+ "kind": "Reference",
1865
+ "text": "IStorageFileResponse",
1866
+ "canonicalReference": "@fgv/ts-http-storage!IStorageFileResponse:interface"
1867
+ },
1868
+ {
1869
+ "kind": "Content",
1870
+ "text": ">>"
1871
+ },
1872
+ {
1873
+ "kind": "Content",
1874
+ "text": ";"
1875
+ }
1876
+ ],
1877
+ "isOptional": false,
1878
+ "returnTypeTokenRange": {
1879
+ "startIndex": 3,
1880
+ "endIndex": 9
1881
+ },
1882
+ "releaseTag": "Public",
1883
+ "overloadIndex": 1,
1884
+ "parameters": [
1885
+ {
1886
+ "parameterName": "path",
1887
+ "parameterTypeTokenRange": {
1888
+ "startIndex": 1,
1889
+ "endIndex": 2
1890
+ },
1891
+ "isOptional": false
1892
+ }
1893
+ ],
1894
+ "name": "getFile"
1895
+ },
1896
+ {
1897
+ "kind": "MethodSignature",
1898
+ "canonicalReference": "@fgv/ts-http-storage!IHttpStorageProvider#getItem:member(1)",
1899
+ "docComment": "",
1900
+ "excerptTokens": [
1901
+ {
1902
+ "kind": "Content",
1903
+ "text": "getItem(path: "
1904
+ },
1905
+ {
1906
+ "kind": "Content",
1907
+ "text": "string"
1908
+ },
1909
+ {
1910
+ "kind": "Content",
1911
+ "text": "): "
1912
+ },
1913
+ {
1914
+ "kind": "Reference",
1915
+ "text": "Promise",
1916
+ "canonicalReference": "!Promise:interface"
1917
+ },
1918
+ {
1919
+ "kind": "Content",
1920
+ "text": "<"
1921
+ },
1922
+ {
1923
+ "kind": "Reference",
1924
+ "text": "Result",
1925
+ "canonicalReference": "@fgv/ts-utils!Result:type"
1926
+ },
1927
+ {
1928
+ "kind": "Content",
1929
+ "text": "<"
1930
+ },
1931
+ {
1932
+ "kind": "Reference",
1933
+ "text": "IStorageTreeItem",
1934
+ "canonicalReference": "@fgv/ts-http-storage!IStorageTreeItem:interface"
1935
+ },
1936
+ {
1937
+ "kind": "Content",
1938
+ "text": ">>"
1939
+ },
1940
+ {
1941
+ "kind": "Content",
1942
+ "text": ";"
1943
+ }
1944
+ ],
1945
+ "isOptional": false,
1946
+ "returnTypeTokenRange": {
1947
+ "startIndex": 3,
1948
+ "endIndex": 9
1949
+ },
1950
+ "releaseTag": "Public",
1951
+ "overloadIndex": 1,
1952
+ "parameters": [
1953
+ {
1954
+ "parameterName": "path",
1955
+ "parameterTypeTokenRange": {
1956
+ "startIndex": 1,
1957
+ "endIndex": 2
1958
+ },
1959
+ "isOptional": false
1960
+ }
1961
+ ],
1962
+ "name": "getItem"
1963
+ },
1964
+ {
1965
+ "kind": "MethodSignature",
1966
+ "canonicalReference": "@fgv/ts-http-storage!IHttpStorageProvider#saveFile:member(1)",
1967
+ "docComment": "",
1968
+ "excerptTokens": [
1969
+ {
1970
+ "kind": "Content",
1971
+ "text": "saveFile(path: "
1972
+ },
1973
+ {
1974
+ "kind": "Content",
1975
+ "text": "string"
1976
+ },
1977
+ {
1978
+ "kind": "Content",
1979
+ "text": ", contents: "
1980
+ },
1981
+ {
1982
+ "kind": "Content",
1983
+ "text": "string"
1984
+ },
1985
+ {
1986
+ "kind": "Content",
1987
+ "text": ", contentType?: "
1988
+ },
1989
+ {
1990
+ "kind": "Content",
1991
+ "text": "string"
1992
+ },
1993
+ {
1994
+ "kind": "Content",
1995
+ "text": "): "
1996
+ },
1997
+ {
1998
+ "kind": "Reference",
1999
+ "text": "Promise",
2000
+ "canonicalReference": "!Promise:interface"
2001
+ },
2002
+ {
2003
+ "kind": "Content",
2004
+ "text": "<"
2005
+ },
2006
+ {
2007
+ "kind": "Reference",
2008
+ "text": "Result",
2009
+ "canonicalReference": "@fgv/ts-utils!Result:type"
2010
+ },
2011
+ {
2012
+ "kind": "Content",
2013
+ "text": "<"
2014
+ },
2015
+ {
2016
+ "kind": "Reference",
2017
+ "text": "IStorageFileResponse",
2018
+ "canonicalReference": "@fgv/ts-http-storage!IStorageFileResponse:interface"
2019
+ },
2020
+ {
2021
+ "kind": "Content",
2022
+ "text": ">>"
2023
+ },
2024
+ {
2025
+ "kind": "Content",
2026
+ "text": ";"
2027
+ }
2028
+ ],
2029
+ "isOptional": false,
2030
+ "returnTypeTokenRange": {
2031
+ "startIndex": 7,
2032
+ "endIndex": 13
2033
+ },
2034
+ "releaseTag": "Public",
2035
+ "overloadIndex": 1,
2036
+ "parameters": [
2037
+ {
2038
+ "parameterName": "path",
2039
+ "parameterTypeTokenRange": {
2040
+ "startIndex": 1,
2041
+ "endIndex": 2
2042
+ },
2043
+ "isOptional": false
2044
+ },
2045
+ {
2046
+ "parameterName": "contents",
2047
+ "parameterTypeTokenRange": {
2048
+ "startIndex": 3,
2049
+ "endIndex": 4
2050
+ },
2051
+ "isOptional": false
2052
+ },
2053
+ {
2054
+ "parameterName": "contentType",
2055
+ "parameterTypeTokenRange": {
2056
+ "startIndex": 5,
2057
+ "endIndex": 6
2058
+ },
2059
+ "isOptional": true
2060
+ }
2061
+ ],
2062
+ "name": "saveFile"
2063
+ },
2064
+ {
2065
+ "kind": "MethodSignature",
2066
+ "canonicalReference": "@fgv/ts-http-storage!IHttpStorageProvider#sync:member(1)",
2067
+ "docComment": "",
2068
+ "excerptTokens": [
2069
+ {
2070
+ "kind": "Content",
2071
+ "text": "sync(): "
2072
+ },
2073
+ {
2074
+ "kind": "Reference",
2075
+ "text": "Promise",
2076
+ "canonicalReference": "!Promise:interface"
2077
+ },
2078
+ {
2079
+ "kind": "Content",
2080
+ "text": "<"
2081
+ },
2082
+ {
2083
+ "kind": "Reference",
2084
+ "text": "Result",
2085
+ "canonicalReference": "@fgv/ts-utils!Result:type"
2086
+ },
2087
+ {
2088
+ "kind": "Content",
2089
+ "text": "<"
2090
+ },
2091
+ {
2092
+ "kind": "Reference",
2093
+ "text": "IStorageSyncResponse",
2094
+ "canonicalReference": "@fgv/ts-http-storage!IStorageSyncResponse:interface"
2095
+ },
2096
+ {
2097
+ "kind": "Content",
2098
+ "text": ">>"
2099
+ },
2100
+ {
2101
+ "kind": "Content",
2102
+ "text": ";"
2103
+ }
2104
+ ],
2105
+ "isOptional": false,
2106
+ "returnTypeTokenRange": {
2107
+ "startIndex": 1,
2108
+ "endIndex": 7
2109
+ },
2110
+ "releaseTag": "Public",
2111
+ "overloadIndex": 1,
2112
+ "parameters": [],
2113
+ "name": "sync"
2114
+ }
2115
+ ],
2116
+ "extendsTokenRanges": []
2117
+ },
2118
+ {
2119
+ "kind": "Interface",
2120
+ "canonicalReference": "@fgv/ts-http-storage!IHttpStorageProviderFactory:interface",
2121
+ "docComment": "/**\n * Factory for creating namespace-scoped storage providers.\n *\n * @public\n */\n",
2122
+ "excerptTokens": [
2123
+ {
2124
+ "kind": "Content",
2125
+ "text": "export interface IHttpStorageProviderFactory "
2126
+ }
2127
+ ],
2128
+ "fileUrlPath": "src/packlets/storage/provider.ts",
2129
+ "releaseTag": "Public",
2130
+ "name": "IHttpStorageProviderFactory",
2131
+ "preserveMemberOrder": false,
2132
+ "members": [
2133
+ {
2134
+ "kind": "MethodSignature",
2135
+ "canonicalReference": "@fgv/ts-http-storage!IHttpStorageProviderFactory#forNamespace:member(1)",
2136
+ "docComment": "",
2137
+ "excerptTokens": [
2138
+ {
2139
+ "kind": "Content",
2140
+ "text": "forNamespace(namespace?: "
2141
+ },
2142
+ {
2143
+ "kind": "Reference",
2144
+ "text": "StorageNamespace",
2145
+ "canonicalReference": "@fgv/ts-http-storage!StorageNamespace:type"
2146
+ },
2147
+ {
2148
+ "kind": "Content",
2149
+ "text": "): "
2150
+ },
2151
+ {
2152
+ "kind": "Reference",
2153
+ "text": "Result",
2154
+ "canonicalReference": "@fgv/ts-utils!Result:type"
2155
+ },
2156
+ {
2157
+ "kind": "Content",
2158
+ "text": "<"
2159
+ },
2160
+ {
2161
+ "kind": "Reference",
2162
+ "text": "IHttpStorageProvider",
2163
+ "canonicalReference": "@fgv/ts-http-storage!IHttpStorageProvider:interface"
2164
+ },
2165
+ {
2166
+ "kind": "Content",
2167
+ "text": ">"
2168
+ },
2169
+ {
2170
+ "kind": "Content",
2171
+ "text": ";"
2172
+ }
2173
+ ],
2174
+ "isOptional": false,
2175
+ "returnTypeTokenRange": {
2176
+ "startIndex": 3,
2177
+ "endIndex": 7
2178
+ },
2179
+ "releaseTag": "Public",
2180
+ "overloadIndex": 1,
2181
+ "parameters": [
2182
+ {
2183
+ "parameterName": "namespace",
2184
+ "parameterTypeTokenRange": {
2185
+ "startIndex": 1,
2186
+ "endIndex": 2
2187
+ },
2188
+ "isOptional": true
2189
+ }
2190
+ ],
2191
+ "name": "forNamespace"
2192
+ }
2193
+ ],
2194
+ "extendsTokenRanges": []
2195
+ },
2196
+ {
2197
+ "kind": "Interface",
2198
+ "canonicalReference": "@fgv/ts-http-storage!IStorageFileResponse:interface",
2199
+ "docComment": "/**\n * Response for reading a file.\n *\n * @public\n */\n",
2200
+ "excerptTokens": [
2201
+ {
2202
+ "kind": "Content",
2203
+ "text": "export interface IStorageFileResponse "
2204
+ }
2205
+ ],
2206
+ "fileUrlPath": "src/packlets/storage/model.ts",
2207
+ "releaseTag": "Public",
2208
+ "name": "IStorageFileResponse",
2209
+ "preserveMemberOrder": false,
2210
+ "members": [
2211
+ {
2212
+ "kind": "PropertySignature",
2213
+ "canonicalReference": "@fgv/ts-http-storage!IStorageFileResponse#contents:member",
2214
+ "docComment": "",
2215
+ "excerptTokens": [
2216
+ {
2217
+ "kind": "Content",
2218
+ "text": "readonly contents: "
2219
+ },
2220
+ {
2221
+ "kind": "Content",
2222
+ "text": "string"
2223
+ },
2224
+ {
2225
+ "kind": "Content",
2226
+ "text": ";"
2227
+ }
2228
+ ],
2229
+ "isReadonly": true,
2230
+ "isOptional": false,
2231
+ "releaseTag": "Public",
2232
+ "name": "contents",
2233
+ "propertyTypeTokenRange": {
2234
+ "startIndex": 1,
2235
+ "endIndex": 2
2236
+ }
2237
+ },
2238
+ {
2239
+ "kind": "PropertySignature",
2240
+ "canonicalReference": "@fgv/ts-http-storage!IStorageFileResponse#contentType:member",
2241
+ "docComment": "",
2242
+ "excerptTokens": [
2243
+ {
2244
+ "kind": "Content",
2245
+ "text": "readonly contentType?: "
2246
+ },
2247
+ {
2248
+ "kind": "Content",
2249
+ "text": "string"
2250
+ },
2251
+ {
2252
+ "kind": "Content",
2253
+ "text": ";"
2254
+ }
2255
+ ],
2256
+ "isReadonly": true,
2257
+ "isOptional": true,
2258
+ "releaseTag": "Public",
2259
+ "name": "contentType",
2260
+ "propertyTypeTokenRange": {
2261
+ "startIndex": 1,
2262
+ "endIndex": 2
2263
+ }
2264
+ },
2265
+ {
2266
+ "kind": "PropertySignature",
2267
+ "canonicalReference": "@fgv/ts-http-storage!IStorageFileResponse#path:member",
2268
+ "docComment": "",
2269
+ "excerptTokens": [
2270
+ {
2271
+ "kind": "Content",
2272
+ "text": "readonly path: "
2273
+ },
2274
+ {
2275
+ "kind": "Content",
2276
+ "text": "string"
2277
+ },
2278
+ {
2279
+ "kind": "Content",
2280
+ "text": ";"
2281
+ }
2282
+ ],
2283
+ "isReadonly": true,
2284
+ "isOptional": false,
2285
+ "releaseTag": "Public",
2286
+ "name": "path",
2287
+ "propertyTypeTokenRange": {
2288
+ "startIndex": 1,
2289
+ "endIndex": 2
2290
+ }
2291
+ }
2292
+ ],
2293
+ "extendsTokenRanges": []
2294
+ },
2295
+ {
2296
+ "kind": "Interface",
2297
+ "canonicalReference": "@fgv/ts-http-storage!IStoragePathRequest:interface",
2298
+ "docComment": "/**\n * Request for path-based operations.\n *\n * @public\n */\n",
2299
+ "excerptTokens": [
2300
+ {
2301
+ "kind": "Content",
2302
+ "text": "export interface IStoragePathRequest "
2303
+ }
2304
+ ],
2305
+ "fileUrlPath": "src/packlets/storage/model.ts",
2306
+ "releaseTag": "Public",
2307
+ "name": "IStoragePathRequest",
2308
+ "preserveMemberOrder": false,
2309
+ "members": [
2310
+ {
2311
+ "kind": "PropertySignature",
2312
+ "canonicalReference": "@fgv/ts-http-storage!IStoragePathRequest#namespace:member",
2313
+ "docComment": "",
2314
+ "excerptTokens": [
2315
+ {
2316
+ "kind": "Content",
2317
+ "text": "readonly namespace?: "
2318
+ },
2319
+ {
2320
+ "kind": "Reference",
2321
+ "text": "StorageNamespace",
2322
+ "canonicalReference": "@fgv/ts-http-storage!StorageNamespace:type"
2323
+ },
2324
+ {
2325
+ "kind": "Content",
2326
+ "text": ";"
2327
+ }
2328
+ ],
2329
+ "isReadonly": true,
2330
+ "isOptional": true,
2331
+ "releaseTag": "Public",
2332
+ "name": "namespace",
2333
+ "propertyTypeTokenRange": {
2334
+ "startIndex": 1,
2335
+ "endIndex": 2
2336
+ }
2337
+ },
2338
+ {
2339
+ "kind": "PropertySignature",
2340
+ "canonicalReference": "@fgv/ts-http-storage!IStoragePathRequest#path:member",
2341
+ "docComment": "",
2342
+ "excerptTokens": [
2343
+ {
2344
+ "kind": "Content",
2345
+ "text": "readonly path: "
2346
+ },
2347
+ {
2348
+ "kind": "Content",
2349
+ "text": "string"
2350
+ },
2351
+ {
2352
+ "kind": "Content",
2353
+ "text": ";"
2354
+ }
2355
+ ],
2356
+ "isReadonly": true,
2357
+ "isOptional": false,
2358
+ "releaseTag": "Public",
2359
+ "name": "path",
2360
+ "propertyTypeTokenRange": {
2361
+ "startIndex": 1,
2362
+ "endIndex": 2
2363
+ }
2364
+ }
2365
+ ],
2366
+ "extendsTokenRanges": []
2367
+ },
2368
+ {
2369
+ "kind": "Interface",
2370
+ "canonicalReference": "@fgv/ts-http-storage!IStorageSyncRequest:interface",
2371
+ "docComment": "/**\n * Request for sync operation.\n *\n * @public\n */\n",
2372
+ "excerptTokens": [
2373
+ {
2374
+ "kind": "Content",
2375
+ "text": "export interface IStorageSyncRequest "
2376
+ }
2377
+ ],
2378
+ "fileUrlPath": "src/packlets/storage/model.ts",
2379
+ "releaseTag": "Public",
2380
+ "name": "IStorageSyncRequest",
2381
+ "preserveMemberOrder": false,
2382
+ "members": [
2383
+ {
2384
+ "kind": "PropertySignature",
2385
+ "canonicalReference": "@fgv/ts-http-storage!IStorageSyncRequest#namespace:member",
2386
+ "docComment": "",
2387
+ "excerptTokens": [
2388
+ {
2389
+ "kind": "Content",
2390
+ "text": "readonly namespace?: "
2391
+ },
2392
+ {
2393
+ "kind": "Reference",
2394
+ "text": "StorageNamespace",
2395
+ "canonicalReference": "@fgv/ts-http-storage!StorageNamespace:type"
2396
+ },
2397
+ {
2398
+ "kind": "Content",
2399
+ "text": ";"
2400
+ }
2401
+ ],
2402
+ "isReadonly": true,
2403
+ "isOptional": true,
2404
+ "releaseTag": "Public",
2405
+ "name": "namespace",
2406
+ "propertyTypeTokenRange": {
2407
+ "startIndex": 1,
2408
+ "endIndex": 2
2409
+ }
2410
+ }
2411
+ ],
2412
+ "extendsTokenRanges": []
2413
+ },
2414
+ {
2415
+ "kind": "Interface",
2416
+ "canonicalReference": "@fgv/ts-http-storage!IStorageSyncResponse:interface",
2417
+ "docComment": "/**\n * Sync response metadata.\n *\n * @public\n */\n",
2418
+ "excerptTokens": [
2419
+ {
2420
+ "kind": "Content",
2421
+ "text": "export interface IStorageSyncResponse "
2422
+ }
2423
+ ],
2424
+ "fileUrlPath": "src/packlets/storage/model.ts",
2425
+ "releaseTag": "Public",
2426
+ "name": "IStorageSyncResponse",
2427
+ "preserveMemberOrder": false,
2428
+ "members": [
2429
+ {
2430
+ "kind": "PropertySignature",
2431
+ "canonicalReference": "@fgv/ts-http-storage!IStorageSyncResponse#synced:member",
2432
+ "docComment": "",
2433
+ "excerptTokens": [
2434
+ {
2435
+ "kind": "Content",
2436
+ "text": "readonly synced: "
2437
+ },
2438
+ {
2439
+ "kind": "Content",
2440
+ "text": "number"
2441
+ },
2442
+ {
2443
+ "kind": "Content",
2444
+ "text": ";"
2445
+ }
2446
+ ],
2447
+ "isReadonly": true,
2448
+ "isOptional": false,
2449
+ "releaseTag": "Public",
2450
+ "name": "synced",
2451
+ "propertyTypeTokenRange": {
2452
+ "startIndex": 1,
2453
+ "endIndex": 2
2454
+ }
2455
+ }
2456
+ ],
2457
+ "extendsTokenRanges": []
2458
+ },
2459
+ {
2460
+ "kind": "Interface",
2461
+ "canonicalReference": "@fgv/ts-http-storage!IStorageTreeChildrenResponse:interface",
2462
+ "docComment": "/**\n * Response for listing children.\n *\n * @public\n */\n",
2463
+ "excerptTokens": [
2464
+ {
2465
+ "kind": "Content",
2466
+ "text": "export interface IStorageTreeChildrenResponse "
2467
+ }
2468
+ ],
2469
+ "fileUrlPath": "src/packlets/storage/model.ts",
2470
+ "releaseTag": "Public",
2471
+ "name": "IStorageTreeChildrenResponse",
2472
+ "preserveMemberOrder": false,
2473
+ "members": [
2474
+ {
2475
+ "kind": "PropertySignature",
2476
+ "canonicalReference": "@fgv/ts-http-storage!IStorageTreeChildrenResponse#children:member",
2477
+ "docComment": "",
2478
+ "excerptTokens": [
2479
+ {
2480
+ "kind": "Content",
2481
+ "text": "readonly children: "
2482
+ },
2483
+ {
2484
+ "kind": "Reference",
2485
+ "text": "ReadonlyArray",
2486
+ "canonicalReference": "!ReadonlyArray:interface"
2487
+ },
2488
+ {
2489
+ "kind": "Content",
2490
+ "text": "<"
2491
+ },
2492
+ {
2493
+ "kind": "Reference",
2494
+ "text": "IStorageTreeItem",
2495
+ "canonicalReference": "@fgv/ts-http-storage!IStorageTreeItem:interface"
2496
+ },
2497
+ {
2498
+ "kind": "Content",
2499
+ "text": ">"
2500
+ },
2501
+ {
2502
+ "kind": "Content",
2503
+ "text": ";"
2504
+ }
2505
+ ],
2506
+ "isReadonly": true,
2507
+ "isOptional": false,
2508
+ "releaseTag": "Public",
2509
+ "name": "children",
2510
+ "propertyTypeTokenRange": {
2511
+ "startIndex": 1,
2512
+ "endIndex": 5
2513
+ }
2514
+ },
2515
+ {
2516
+ "kind": "PropertySignature",
2517
+ "canonicalReference": "@fgv/ts-http-storage!IStorageTreeChildrenResponse#path:member",
2518
+ "docComment": "",
2519
+ "excerptTokens": [
2520
+ {
2521
+ "kind": "Content",
2522
+ "text": "readonly path: "
2523
+ },
2524
+ {
2525
+ "kind": "Content",
2526
+ "text": "string"
2527
+ },
2528
+ {
2529
+ "kind": "Content",
2530
+ "text": ";"
2531
+ }
2532
+ ],
2533
+ "isReadonly": true,
2534
+ "isOptional": false,
2535
+ "releaseTag": "Public",
2536
+ "name": "path",
2537
+ "propertyTypeTokenRange": {
2538
+ "startIndex": 1,
2539
+ "endIndex": 2
2540
+ }
2541
+ }
2542
+ ],
2543
+ "extendsTokenRanges": []
2544
+ },
2545
+ {
2546
+ "kind": "Interface",
2547
+ "canonicalReference": "@fgv/ts-http-storage!IStorageTreeItem:interface",
2548
+ "docComment": "/**\n * Storage tree item metadata.\n *\n * @public\n */\n",
2549
+ "excerptTokens": [
2550
+ {
2551
+ "kind": "Content",
2552
+ "text": "export interface IStorageTreeItem "
2553
+ }
2554
+ ],
2555
+ "fileUrlPath": "src/packlets/storage/model.ts",
2556
+ "releaseTag": "Public",
2557
+ "name": "IStorageTreeItem",
2558
+ "preserveMemberOrder": false,
2559
+ "members": [
2560
+ {
2561
+ "kind": "PropertySignature",
2562
+ "canonicalReference": "@fgv/ts-http-storage!IStorageTreeItem#name:member",
2563
+ "docComment": "",
2564
+ "excerptTokens": [
2565
+ {
2566
+ "kind": "Content",
2567
+ "text": "readonly name: "
2568
+ },
2569
+ {
2570
+ "kind": "Content",
2571
+ "text": "string"
2572
+ },
2573
+ {
2574
+ "kind": "Content",
2575
+ "text": ";"
2576
+ }
2577
+ ],
2578
+ "isReadonly": true,
2579
+ "isOptional": false,
2580
+ "releaseTag": "Public",
2581
+ "name": "name",
2582
+ "propertyTypeTokenRange": {
2583
+ "startIndex": 1,
2584
+ "endIndex": 2
2585
+ }
2586
+ },
2587
+ {
2588
+ "kind": "PropertySignature",
2589
+ "canonicalReference": "@fgv/ts-http-storage!IStorageTreeItem#path:member",
2590
+ "docComment": "",
2591
+ "excerptTokens": [
2592
+ {
2593
+ "kind": "Content",
2594
+ "text": "readonly path: "
2595
+ },
2596
+ {
2597
+ "kind": "Content",
2598
+ "text": "string"
2599
+ },
2600
+ {
2601
+ "kind": "Content",
2602
+ "text": ";"
2603
+ }
2604
+ ],
2605
+ "isReadonly": true,
2606
+ "isOptional": false,
2607
+ "releaseTag": "Public",
2608
+ "name": "path",
2609
+ "propertyTypeTokenRange": {
2610
+ "startIndex": 1,
2611
+ "endIndex": 2
2612
+ }
2613
+ },
2614
+ {
2615
+ "kind": "PropertySignature",
2616
+ "canonicalReference": "@fgv/ts-http-storage!IStorageTreeItem#type:member",
2617
+ "docComment": "",
2618
+ "excerptTokens": [
2619
+ {
2620
+ "kind": "Content",
2621
+ "text": "readonly type: "
2622
+ },
2623
+ {
2624
+ "kind": "Reference",
2625
+ "text": "StorageItemType",
2626
+ "canonicalReference": "@fgv/ts-http-storage!StorageItemType:type"
2627
+ },
2628
+ {
2629
+ "kind": "Content",
2630
+ "text": ";"
2631
+ }
2632
+ ],
2633
+ "isReadonly": true,
2634
+ "isOptional": false,
2635
+ "releaseTag": "Public",
2636
+ "name": "type",
2637
+ "propertyTypeTokenRange": {
2638
+ "startIndex": 1,
2639
+ "endIndex": 2
2640
+ }
2641
+ }
2642
+ ],
2643
+ "extendsTokenRanges": []
2644
+ },
2645
+ {
2646
+ "kind": "Interface",
2647
+ "canonicalReference": "@fgv/ts-http-storage!IStorageWriteFileRequest:interface",
2648
+ "docComment": "/**\n * Request for writing file contents.\n *\n * @public\n */\n",
2649
+ "excerptTokens": [
2650
+ {
2651
+ "kind": "Content",
2652
+ "text": "export interface IStorageWriteFileRequest extends "
2653
+ },
2654
+ {
2655
+ "kind": "Reference",
2656
+ "text": "IStoragePathRequest",
2657
+ "canonicalReference": "@fgv/ts-http-storage!IStoragePathRequest:interface"
2658
+ },
2659
+ {
2660
+ "kind": "Content",
2661
+ "text": " "
2662
+ }
2663
+ ],
2664
+ "fileUrlPath": "src/packlets/storage/model.ts",
2665
+ "releaseTag": "Public",
2666
+ "name": "IStorageWriteFileRequest",
2667
+ "preserveMemberOrder": false,
2668
+ "members": [
2669
+ {
2670
+ "kind": "PropertySignature",
2671
+ "canonicalReference": "@fgv/ts-http-storage!IStorageWriteFileRequest#contents:member",
2672
+ "docComment": "",
2673
+ "excerptTokens": [
2674
+ {
2675
+ "kind": "Content",
2676
+ "text": "readonly contents: "
2677
+ },
2678
+ {
2679
+ "kind": "Content",
2680
+ "text": "string"
2681
+ },
2682
+ {
2683
+ "kind": "Content",
2684
+ "text": ";"
2685
+ }
2686
+ ],
2687
+ "isReadonly": true,
2688
+ "isOptional": false,
2689
+ "releaseTag": "Public",
2690
+ "name": "contents",
2691
+ "propertyTypeTokenRange": {
2692
+ "startIndex": 1,
2693
+ "endIndex": 2
2694
+ }
2695
+ },
2696
+ {
2697
+ "kind": "PropertySignature",
2698
+ "canonicalReference": "@fgv/ts-http-storage!IStorageWriteFileRequest#contentType:member",
2699
+ "docComment": "",
2700
+ "excerptTokens": [
2701
+ {
2702
+ "kind": "Content",
2703
+ "text": "readonly contentType?: "
2704
+ },
2705
+ {
2706
+ "kind": "Content",
2707
+ "text": "string"
2708
+ },
2709
+ {
2710
+ "kind": "Content",
2711
+ "text": ";"
2712
+ }
2713
+ ],
2714
+ "isReadonly": true,
2715
+ "isOptional": true,
2716
+ "releaseTag": "Public",
2717
+ "name": "contentType",
2718
+ "propertyTypeTokenRange": {
2719
+ "startIndex": 1,
2720
+ "endIndex": 2
2721
+ }
2722
+ }
2723
+ ],
2724
+ "extendsTokenRanges": [
2725
+ {
2726
+ "startIndex": 1,
2727
+ "endIndex": 2
2728
+ }
2729
+ ]
2730
+ },
2731
+ {
2732
+ "kind": "Function",
2733
+ "canonicalReference": "@fgv/ts-http-storage!normalizeRequestPath:function(1)",
2734
+ "docComment": "/**\n * Normalizes a request path to a consistent POSIX format.\n *\n * @public\n */\n",
2735
+ "excerptTokens": [
2736
+ {
2737
+ "kind": "Content",
2738
+ "text": "export declare function normalizeRequestPath(requestPath: "
2739
+ },
2740
+ {
2741
+ "kind": "Content",
2742
+ "text": "string"
2743
+ },
2744
+ {
2745
+ "kind": "Content",
2746
+ "text": "): "
2747
+ },
2748
+ {
2749
+ "kind": "Content",
2750
+ "text": "string"
2751
+ },
2752
+ {
2753
+ "kind": "Content",
2754
+ "text": ";"
2755
+ }
2756
+ ],
2757
+ "fileUrlPath": "src/packlets/storage/fsProvider.ts",
2758
+ "returnTypeTokenRange": {
2759
+ "startIndex": 3,
2760
+ "endIndex": 4
2761
+ },
2762
+ "releaseTag": "Public",
2763
+ "overloadIndex": 1,
2764
+ "parameters": [
2765
+ {
2766
+ "parameterName": "requestPath",
2767
+ "parameterTypeTokenRange": {
2768
+ "startIndex": 1,
2769
+ "endIndex": 2
2770
+ },
2771
+ "isOptional": false
2772
+ }
2773
+ ],
2774
+ "name": "normalizeRequestPath"
2775
+ },
2776
+ {
2777
+ "kind": "Function",
2778
+ "canonicalReference": "@fgv/ts-http-storage!sanitizeNamespace:function(1)",
2779
+ "docComment": "/**\n * Sanitize namespace path segment.\n *\n * @public\n */\n",
2780
+ "excerptTokens": [
2781
+ {
2782
+ "kind": "Content",
2783
+ "text": "export declare function sanitizeNamespace(namespace?: "
2784
+ },
2785
+ {
2786
+ "kind": "Content",
2787
+ "text": "string"
2788
+ },
2789
+ {
2790
+ "kind": "Content",
2791
+ "text": "): "
2792
+ },
2793
+ {
2794
+ "kind": "Reference",
2795
+ "text": "Result",
2796
+ "canonicalReference": "@fgv/ts-utils!Result:type"
2797
+ },
2798
+ {
2799
+ "kind": "Content",
2800
+ "text": "<string>"
2801
+ },
2802
+ {
2803
+ "kind": "Content",
2804
+ "text": ";"
2805
+ }
2806
+ ],
2807
+ "fileUrlPath": "src/packlets/storage/fsProvider.ts",
2808
+ "returnTypeTokenRange": {
2809
+ "startIndex": 3,
2810
+ "endIndex": 5
2811
+ },
2812
+ "releaseTag": "Public",
2813
+ "overloadIndex": 1,
2814
+ "parameters": [
2815
+ {
2816
+ "parameterName": "namespace",
2817
+ "parameterTypeTokenRange": {
2818
+ "startIndex": 1,
2819
+ "endIndex": 2
2820
+ },
2821
+ "isOptional": true
2822
+ }
2823
+ ],
2824
+ "name": "sanitizeNamespace"
2825
+ },
2826
+ {
2827
+ "kind": "Variable",
2828
+ "canonicalReference": "@fgv/ts-http-storage!storageFileResponse:var",
2829
+ "docComment": "/**\n * Converter for file responses.\n *\n * @public\n */\n",
2830
+ "excerptTokens": [
2831
+ {
2832
+ "kind": "Content",
2833
+ "text": "storageFileResponse: "
2834
+ },
2835
+ {
2836
+ "kind": "Reference",
2837
+ "text": "Converter",
2838
+ "canonicalReference": "@fgv/ts-utils!Converter:interface"
2839
+ },
2840
+ {
2841
+ "kind": "Content",
2842
+ "text": "<"
2843
+ },
2844
+ {
2845
+ "kind": "Reference",
2846
+ "text": "IStorageFileResponse",
2847
+ "canonicalReference": "@fgv/ts-http-storage!IStorageFileResponse:interface"
2848
+ },
2849
+ {
2850
+ "kind": "Content",
2851
+ "text": ">"
2852
+ }
2853
+ ],
2854
+ "fileUrlPath": "src/packlets/storage/converters.ts",
2855
+ "isReadonly": true,
2856
+ "releaseTag": "Public",
2857
+ "name": "storageFileResponse",
2858
+ "variableTypeTokenRange": {
2859
+ "startIndex": 1,
2860
+ "endIndex": 5
2861
+ }
2862
+ },
2863
+ {
2864
+ "kind": "TypeAlias",
2865
+ "canonicalReference": "@fgv/ts-http-storage!StorageItemType:type",
2866
+ "docComment": "/**\n * Storage item type.\n *\n * @public\n */\n",
2867
+ "excerptTokens": [
2868
+ {
2869
+ "kind": "Content",
2870
+ "text": "export type StorageItemType = "
2871
+ },
2872
+ {
2873
+ "kind": "Content",
2874
+ "text": "'file' | 'directory'"
2875
+ },
2876
+ {
2877
+ "kind": "Content",
2878
+ "text": ";"
2879
+ }
2880
+ ],
2881
+ "fileUrlPath": "src/packlets/storage/model.ts",
2882
+ "releaseTag": "Public",
2883
+ "name": "StorageItemType",
2884
+ "typeTokenRange": {
2885
+ "startIndex": 1,
2886
+ "endIndex": 2
2887
+ }
2888
+ },
2889
+ {
2890
+ "kind": "TypeAlias",
2891
+ "canonicalReference": "@fgv/ts-http-storage!StorageNamespace:type",
2892
+ "docComment": "/**\n * Namespace identifier for scoped storage.\n *\n * @public\n */\n",
2893
+ "excerptTokens": [
2894
+ {
2895
+ "kind": "Content",
2896
+ "text": "export type StorageNamespace = "
2897
+ },
2898
+ {
2899
+ "kind": "Content",
2900
+ "text": "string"
2901
+ },
2902
+ {
2903
+ "kind": "Content",
2904
+ "text": ";"
2905
+ }
2906
+ ],
2907
+ "fileUrlPath": "src/packlets/storage/model.ts",
2908
+ "releaseTag": "Public",
2909
+ "name": "StorageNamespace",
2910
+ "typeTokenRange": {
2911
+ "startIndex": 1,
2912
+ "endIndex": 2
2913
+ }
2914
+ },
2915
+ {
2916
+ "kind": "Variable",
2917
+ "canonicalReference": "@fgv/ts-http-storage!storagePathRequest:var",
2918
+ "docComment": "/**\n * Converter for path-based requests.\n *\n * @public\n */\n",
2919
+ "excerptTokens": [
2920
+ {
2921
+ "kind": "Content",
2922
+ "text": "storagePathRequest: "
2923
+ },
2924
+ {
2925
+ "kind": "Reference",
2926
+ "text": "Converter",
2927
+ "canonicalReference": "@fgv/ts-utils!Converter:interface"
2928
+ },
2929
+ {
2930
+ "kind": "Content",
2931
+ "text": "<"
2932
+ },
2933
+ {
2934
+ "kind": "Reference",
2935
+ "text": "IStoragePathRequest",
2936
+ "canonicalReference": "@fgv/ts-http-storage!IStoragePathRequest:interface"
2937
+ },
2938
+ {
2939
+ "kind": "Content",
2940
+ "text": ">"
2941
+ }
2942
+ ],
2943
+ "fileUrlPath": "src/packlets/storage/converters.ts",
2944
+ "isReadonly": true,
2945
+ "releaseTag": "Public",
2946
+ "name": "storagePathRequest",
2947
+ "variableTypeTokenRange": {
2948
+ "startIndex": 1,
2949
+ "endIndex": 5
2950
+ }
2951
+ },
2952
+ {
2953
+ "kind": "Variable",
2954
+ "canonicalReference": "@fgv/ts-http-storage!storageSyncRequest:var",
2955
+ "docComment": "/**\n * Converter for sync requests.\n *\n * @public\n */\n",
2956
+ "excerptTokens": [
2957
+ {
2958
+ "kind": "Content",
2959
+ "text": "storageSyncRequest: "
2960
+ },
2961
+ {
2962
+ "kind": "Reference",
2963
+ "text": "Converter",
2964
+ "canonicalReference": "@fgv/ts-utils!Converter:interface"
2965
+ },
2966
+ {
2967
+ "kind": "Content",
2968
+ "text": "<"
2969
+ },
2970
+ {
2971
+ "kind": "Reference",
2972
+ "text": "IStorageSyncRequest",
2973
+ "canonicalReference": "@fgv/ts-http-storage!IStorageSyncRequest:interface"
2974
+ },
2975
+ {
2976
+ "kind": "Content",
2977
+ "text": ">"
2978
+ }
2979
+ ],
2980
+ "fileUrlPath": "src/packlets/storage/converters.ts",
2981
+ "isReadonly": true,
2982
+ "releaseTag": "Public",
2983
+ "name": "storageSyncRequest",
2984
+ "variableTypeTokenRange": {
2985
+ "startIndex": 1,
2986
+ "endIndex": 5
2987
+ }
2988
+ },
2989
+ {
2990
+ "kind": "Variable",
2991
+ "canonicalReference": "@fgv/ts-http-storage!storageTreeChildrenResponse:var",
2992
+ "docComment": "/**\n * Converter for children list responses.\n *\n * @public\n */\n",
2993
+ "excerptTokens": [
2994
+ {
2995
+ "kind": "Content",
2996
+ "text": "storageTreeChildrenResponse: "
2997
+ },
2998
+ {
2999
+ "kind": "Reference",
3000
+ "text": "Converter",
3001
+ "canonicalReference": "@fgv/ts-utils!Converter:interface"
3002
+ },
3003
+ {
3004
+ "kind": "Content",
3005
+ "text": "<"
3006
+ },
3007
+ {
3008
+ "kind": "Reference",
3009
+ "text": "IStorageTreeChildrenResponse",
3010
+ "canonicalReference": "@fgv/ts-http-storage!IStorageTreeChildrenResponse:interface"
3011
+ },
3012
+ {
3013
+ "kind": "Content",
3014
+ "text": ">"
3015
+ }
3016
+ ],
3017
+ "fileUrlPath": "src/packlets/storage/converters.ts",
3018
+ "isReadonly": true,
3019
+ "releaseTag": "Public",
3020
+ "name": "storageTreeChildrenResponse",
3021
+ "variableTypeTokenRange": {
3022
+ "startIndex": 1,
3023
+ "endIndex": 5
3024
+ }
3025
+ },
3026
+ {
3027
+ "kind": "Variable",
3028
+ "canonicalReference": "@fgv/ts-http-storage!storageTreeItem:var",
3029
+ "docComment": "/**\n * Converter for {@link IStorageTreeItem}.\n *\n * @public\n */\n",
3030
+ "excerptTokens": [
3031
+ {
3032
+ "kind": "Content",
3033
+ "text": "storageTreeItem: "
3034
+ },
3035
+ {
3036
+ "kind": "Reference",
3037
+ "text": "Converter",
3038
+ "canonicalReference": "@fgv/ts-utils!Converter:interface"
3039
+ },
3040
+ {
3041
+ "kind": "Content",
3042
+ "text": "<"
3043
+ },
3044
+ {
3045
+ "kind": "Reference",
3046
+ "text": "IStorageTreeItem",
3047
+ "canonicalReference": "@fgv/ts-http-storage!IStorageTreeItem:interface"
3048
+ },
3049
+ {
3050
+ "kind": "Content",
3051
+ "text": ">"
3052
+ }
3053
+ ],
3054
+ "fileUrlPath": "src/packlets/storage/converters.ts",
3055
+ "isReadonly": true,
3056
+ "releaseTag": "Public",
3057
+ "name": "storageTreeItem",
3058
+ "variableTypeTokenRange": {
3059
+ "startIndex": 1,
3060
+ "endIndex": 5
3061
+ }
3062
+ },
3063
+ {
3064
+ "kind": "Variable",
3065
+ "canonicalReference": "@fgv/ts-http-storage!storageWriteFileRequest:var",
3066
+ "docComment": "/**\n * Converter for write-file requests.\n *\n * @public\n */\n",
3067
+ "excerptTokens": [
3068
+ {
3069
+ "kind": "Content",
3070
+ "text": "storageWriteFileRequest: "
3071
+ },
3072
+ {
3073
+ "kind": "Reference",
3074
+ "text": "Converter",
3075
+ "canonicalReference": "@fgv/ts-utils!Converter:interface"
3076
+ },
3077
+ {
3078
+ "kind": "Content",
3079
+ "text": "<"
3080
+ },
3081
+ {
3082
+ "kind": "Reference",
3083
+ "text": "IStorageWriteFileRequest",
3084
+ "canonicalReference": "@fgv/ts-http-storage!IStorageWriteFileRequest:interface"
3085
+ },
3086
+ {
3087
+ "kind": "Content",
3088
+ "text": ">"
3089
+ }
3090
+ ],
3091
+ "fileUrlPath": "src/packlets/storage/converters.ts",
3092
+ "isReadonly": true,
3093
+ "releaseTag": "Public",
3094
+ "name": "storageWriteFileRequest",
3095
+ "variableTypeTokenRange": {
3096
+ "startIndex": 1,
3097
+ "endIndex": 5
3098
+ }
3099
+ }
3100
+ ]
3101
+ }
3102
+ ]
3103
+ }