mol_db 0.0.668 → 0.0.669

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 (3) hide show
  1. package/node.d.ts +2 -2
  2. package/package.json +1 -1
  3. package/web.d.ts +2 -2
package/node.d.ts CHANGED
@@ -240,10 +240,10 @@ declare namespace $ {
240
240
  get name(): string;
241
241
  get path(): string | string[];
242
242
  get incremental(): boolean;
243
- get indexes(): Schema["Indexes"] extends infer T ? { [Name in keyof T]: $mol_db_index<{
243
+ get indexes(): { [Name in keyof Schema["Indexes"]]: $mol_db_index<{
244
244
  Key: Schema["Indexes"][Name];
245
245
  Doc: Schema['Doc'];
246
- }>; } : never;
246
+ }>; };
247
247
  index_make(name: string, path?: string[], unique?: boolean, multiEntry?: boolean): IDBIndex;
248
248
  index_drop(name: string): this;
249
249
  get transaction(): $mol_db_transaction<$mol_db_schema>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mol_db",
3
- "version": "0.0.668",
3
+ "version": "0.0.669",
4
4
  "exports": {
5
5
  "node": {
6
6
  "import": "./node.mjs",
package/web.d.ts CHANGED
@@ -31,10 +31,10 @@ declare namespace $ {
31
31
  get name(): string;
32
32
  get path(): string | string[];
33
33
  get incremental(): boolean;
34
- get indexes(): Schema["Indexes"] extends infer T ? { [Name in keyof T]: $mol_db_index<{
34
+ get indexes(): { [Name in keyof Schema["Indexes"]]: $mol_db_index<{
35
35
  Key: Schema["Indexes"][Name];
36
36
  Doc: Schema['Doc'];
37
- }>; } : never;
37
+ }>; };
38
38
  index_make(name: string, path?: string[], unique?: boolean, multiEntry?: boolean): IDBIndex;
39
39
  index_drop(name: string): this;
40
40
  get transaction(): $mol_db_transaction<$mol_db_schema>;