@effect/sql-sqlite-wasm 4.0.0-beta.7 → 4.0.0-beta.71

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.
@@ -1,19 +1,47 @@
1
1
  /**
2
- * @since 1.0.0
2
+ * Declares the wa-sqlite IndexedDB batch-atomic VFS example module.
3
+ *
4
+ * @since 4.0.0
3
5
  */
4
6
  declare module "@effect/wa-sqlite/src/examples/IDBBatchAtomicVFS.js" {
7
+ /**
8
+ * IndexedDB-backed wa-sqlite virtual file system that batches writes and
9
+ * commits them atomically.
10
+ *
11
+ * @category models
12
+ * @since 4.0.0
13
+ */
5
14
  // oxlint-disable-next-line @typescript-eslint/no-extraneous-class
6
15
  export class IDBBatchAtomicVFS {
16
+ /**
17
+ * Creates a batch-atomic IndexedDB VFS registered under `name` for the
18
+ * provided wa-sqlite module. The optional `options` value is forwarded to
19
+ * the upstream VFS implementation.
20
+ */
7
21
  static async create(name: string, module: any, options?: any): Promise<any>
8
22
  }
9
23
  }
10
24
 
11
25
  /**
12
- * @since 1.0.0
26
+ * Declares the wa-sqlite OPFS access-handle pool VFS example module.
27
+ *
28
+ * @since 4.0.0
13
29
  */
14
30
  declare module "@effect/wa-sqlite/src/examples/AccessHandlePoolVFS.js" {
31
+ /**
32
+ * OPFS-backed wa-sqlite virtual file system that pools file-system access
33
+ * handles for persistent browser storage.
34
+ *
35
+ * @category models
36
+ * @since 4.0.0
37
+ */
15
38
  // oxlint-disable-next-line @typescript-eslint/no-extraneous-class
16
39
  export class AccessHandlePoolVFS {
40
+ /**
41
+ * Creates an OPFS access-handle pool VFS registered under `name` for the
42
+ * provided wa-sqlite module. The optional `options` value is forwarded to
43
+ * the upstream VFS implementation.
44
+ */
17
45
  static async create(name: string, module: any, options?: any): Promise<any>
18
46
  }
19
47
  }