@orkestrel/database 0.0.7 → 0.0.9

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.
@@ -739,7 +739,7 @@ export declare function filterRows(rows: readonly Row[], conditions: readonly Co
739
739
  * and flow into each {@link TableSchema}'s `indexes` (SQLite `CREATE INDEX`,
740
740
  * IndexedDB `createIndex`). Mirrors {@link PrimaryMap}.
741
741
  */
742
- export declare type IndexMap = Readonly<Record<string, readonly (readonly string[])[]>>;
742
+ export declare type IndexMap = Readonly<Record<string, ReadonlyArray<readonly string[]>>>;
743
743
 
744
744
  /**
745
745
  * Test whether a value is a portable column schema.
@@ -1437,7 +1437,7 @@ export declare interface TableInterface<T = Row> {
1437
1437
  readonly primary: string;
1438
1438
  readonly contract: ContractInterface<T>;
1439
1439
  get(key: Key): Promise<T | undefined>;
1440
- get(keys: readonly Key[]): Promise<readonly (T | undefined)[]>;
1440
+ get(keys: readonly Key[]): Promise<ReadonlyArray<T | undefined>>;
1441
1441
  resolve(key: Key): Promise<T>;
1442
1442
  resolve(keys: readonly Key[]): Promise<readonly T[]>;
1443
1443
  has(key: Key): Promise<boolean>;
@@ -1590,7 +1590,7 @@ export declare interface TableSchema {
1590
1590
  readonly name: string;
1591
1591
  readonly primary: string;
1592
1592
  readonly columns: readonly ColumnSchema[];
1593
- readonly indexes: readonly (readonly string[])[];
1593
+ readonly indexes: ReadonlyArray<readonly string[]>;
1594
1594
  }
1595
1595
 
1596
1596
  /**
@@ -739,7 +739,7 @@ export declare function filterRows(rows: readonly Row[], conditions: readonly Co
739
739
  * and flow into each {@link TableSchema}'s `indexes` (SQLite `CREATE INDEX`,
740
740
  * IndexedDB `createIndex`). Mirrors {@link PrimaryMap}.
741
741
  */
742
- export declare type IndexMap = Readonly<Record<string, readonly (readonly string[])[]>>;
742
+ export declare type IndexMap = Readonly<Record<string, ReadonlyArray<readonly string[]>>>;
743
743
 
744
744
  /**
745
745
  * Test whether a value is a portable column schema.
@@ -1437,7 +1437,7 @@ export declare interface TableInterface<T = Row> {
1437
1437
  readonly primary: string;
1438
1438
  readonly contract: ContractInterface<T>;
1439
1439
  get(key: Key): Promise<T | undefined>;
1440
- get(keys: readonly Key[]): Promise<readonly (T | undefined)[]>;
1440
+ get(keys: readonly Key[]): Promise<ReadonlyArray<T | undefined>>;
1441
1441
  resolve(key: Key): Promise<T>;
1442
1442
  resolve(keys: readonly Key[]): Promise<readonly T[]>;
1443
1443
  has(key: Key): Promise<boolean>;
@@ -1590,7 +1590,7 @@ export declare interface TableSchema {
1590
1590
  readonly name: string;
1591
1591
  readonly primary: string;
1592
1592
  readonly columns: readonly ColumnSchema[];
1593
- readonly indexes: readonly (readonly string[])[];
1593
+ readonly indexes: ReadonlyArray<readonly string[]>;
1594
1594
  }
1595
1595
 
1596
1596
  /**