ac-storage 0.16.1 → 0.16.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.
- package/dist/bundle.cjs.map +1 -1
- package/dist/bundle.mjs.map +1 -1
- package/dist/index.d.ts +2 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { JSONTree, IJSONAccessor } from '@hve/json-accessor';
|
|
1
|
+
import { JSONTree, ValidateJSONTree, IJSONAccessor } from '@hve/json-accessor';
|
|
2
2
|
export { IJSONAccessor, IJSONFS, JSONAccessor, JSONTree, JSONType, MemJSONAccessor, ValidateJSONTree } from '@hve/json-accessor';
|
|
3
3
|
import { Leaf } from 'tree-navigate';
|
|
4
4
|
|
|
@@ -155,6 +155,7 @@ declare class StorageAccess {
|
|
|
155
155
|
static Text(): Leaf<Accesses>;
|
|
156
156
|
static Binary(): Leaf<Accesses>;
|
|
157
157
|
static JSON(structure?: JSONTree): Leaf<Accesses>;
|
|
158
|
+
static JSON<Schema>(structure: ValidateJSONTree<Schema>): Leaf<Accesses>;
|
|
158
159
|
static Custom(id: string, ...args: any[]): Leaf<Accesses>;
|
|
159
160
|
static Union(...accesses: Leaf<Accesses>[]): Leaf<UnionAccess>;
|
|
160
161
|
}
|