@cinderlink/ipld-database
Advanced tools
Comparing version 0.0.6 to 0.0.7
import { | ||
Schema | ||
} from "./chunk-SFPC3HPK.js"; | ||
} from "./chunk-5YCHJ7VF.js"; | ||
import { | ||
Table | ||
} from "./chunk-VMPKSYS3.js"; | ||
} from "./chunk-3F5OTX3Z.js"; | ||
import "./chunk-VCP4PIZ5.js"; | ||
@@ -8,0 +8,0 @@ import { |
import * as multiformats_dist_types_src from 'multiformats/dist/types/src'; | ||
import * as multiformats_dist_types_src_cid from 'multiformats/dist/types/src/cid'; | ||
import * as _cinderlink_core_types_dist_table_613a468d from '@cinderlink/core-types/dist/table-613a468d'; | ||
import * as _cinderlink_core_types_dist_table_1707ccfb from '@cinderlink/core-types/dist/table-1707ccfb'; | ||
import Minisearch from 'minisearch'; | ||
@@ -24,3 +24,3 @@ import { TableRow, TableDefinition, TableBlockInterface, TableInterface, BlockData, BlockHeaders, BlockFilters, BlockAggregates } from '@cinderlink/core-types'; | ||
hasIndex(name: string): Promise<boolean>; | ||
getIndex(name: string): Promise<Record<string, _cinderlink_core_types_dist_table_613a468d.n<Row>>>; | ||
getIndex(name: string): Promise<Record<string, _cinderlink_core_types_dist_table_1707ccfb.n<Row>>>; | ||
/** | ||
@@ -27,0 +27,0 @@ * Determine if a value is indexed in this block |
@@ -12,3 +12,3 @@ export { DatabaseCache, DatabaseCacheInterface, DatabaseCacheState, cache } from './cache.js'; | ||
import '@cinderlink/core-types/src/database/schema'; | ||
import '@cinderlink/core-types/dist/table-613a468d'; | ||
import '@cinderlink/core-types/dist/table-1707ccfb'; | ||
import './query.js'; | ||
@@ -15,0 +15,0 @@ import '@cinderlink/core-types/src/database/query'; |
import { | ||
Schema | ||
} from "./chunk-SFPC3HPK.js"; | ||
} from "./chunk-5YCHJ7VF.js"; | ||
import { | ||
Table | ||
} from "./chunk-VMPKSYS3.js"; | ||
} from "./chunk-3F5OTX3Z.js"; | ||
import "./chunk-VCP4PIZ5.js"; | ||
@@ -8,0 +8,0 @@ import { |
@@ -19,2 +19,3 @@ import * as multiformats_dist_types_src from 'multiformats/dist/types/src'; | ||
dropTable(name: string): Promise<void>; | ||
hasChanges(): boolean; | ||
getTable<Row extends TableRow = TableRow, Def extends TableDefinition<Row> = TableDefinition<Row>>(tableId: string): TableInterface<Row, Def>; | ||
@@ -21,0 +22,0 @@ serialize(): Promise<SavedSchema | undefined>; |
import { | ||
Schema | ||
} from "./chunk-SFPC3HPK.js"; | ||
import "./chunk-VMPKSYS3.js"; | ||
} from "./chunk-5YCHJ7VF.js"; | ||
import "./chunk-3F5OTX3Z.js"; | ||
import "./chunk-VCP4PIZ5.js"; | ||
@@ -6,0 +6,0 @@ import "./chunk-GLHYJPZP.js"; |
@@ -1,2 +0,2 @@ | ||
import * as _cinderlink_core_types_dist_table_613a468d from '@cinderlink/core-types/dist/table-613a468d'; | ||
import * as _cinderlink_core_types_dist_table_1707ccfb from '@cinderlink/core-types/dist/table-1707ccfb'; | ||
import * as multiformats_dist_types_src from 'multiformats/dist/types/src'; | ||
@@ -37,5 +37,6 @@ import { DIDDagInterface, TableBlockInterface, BlockData } from '@cinderlink/core-types'; | ||
save(): Promise<CID<unknown, number, number, multiformats_dist_types_src.Version> | undefined>; | ||
serialize(): Promise<BlockData<Row, _cinderlink_core_types_dist_table_613a468d.b<Row>> | undefined>; | ||
serialize(): Promise<BlockData<Row, _cinderlink_core_types_dist_table_1707ccfb.b<Row>> | undefined>; | ||
deserialize(cache: BlockData<Row, Def>): Promise<void>; | ||
load(cid: CID): Promise<void>; | ||
hasChanges(): boolean; | ||
unwind(next: (event: TableUnwindEvent<Row, Def>) => Promise<void> | void): Promise<void>; | ||
@@ -42,0 +43,0 @@ assertValid(data: Partial<Row>): void; |
import { | ||
Table | ||
} from "./chunk-VMPKSYS3.js"; | ||
} from "./chunk-3F5OTX3Z.js"; | ||
import "./chunk-VCP4PIZ5.js"; | ||
@@ -5,0 +5,0 @@ import "./chunk-GLHYJPZP.js"; |
@@ -5,3 +5,3 @@ { | ||
"authors": "Drew <drew@cinderlink.com>", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"type": "module", | ||
@@ -36,3 +36,3 @@ "main": "./dist/index.js", | ||
"vitest": "^0.28.5", | ||
"@cinderlink/core-types": "0.0.3", | ||
"@cinderlink/core-types": "0.0.4", | ||
"@cinderlink/identifiers": "0.0.1", | ||
@@ -39,0 +39,0 @@ "@cinderlink/test-adapters": "0.0.4", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
827113
9139