@orkestrel/database 0.0.8 → 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.
- package/dist/src/browser/index.d.ts +14 -14
- package/dist/src/core/index.cjs.map +1 -1
- package/dist/src/core/index.d.cts +3 -3
- package/dist/src/core/index.d.ts +3 -3
- package/dist/src/core/index.js.map +1 -1
- package/dist/src/server/index.cjs.map +1 -1
- package/dist/src/server/index.d.cts +20 -20
- package/dist/src/server/index.d.ts +20 -20
- package/dist/src/server/index.js.map +1 -1
- package/package.json +5 -4
|
@@ -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
|
|
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<
|
|
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
|
|
1593
|
+
readonly indexes: ReadonlyArray<readonly string[]>;
|
|
1594
1594
|
}
|
|
1595
1595
|
|
|
1596
1596
|
/**
|
package/dist/src/core/index.d.ts
CHANGED
|
@@ -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
|
|
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<
|
|
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
|
|
1593
|
+
readonly indexes: ReadonlyArray<readonly string[]>;
|
|
1594
1594
|
}
|
|
1595
1595
|
|
|
1596
1596
|
/**
|