@breadboard-ai/data-store
Advanced tools
Comparing version 0.2.3 to 0.2.4
@@ -8,3 +8,3 @@ /** | ||
export declare function getDataStore(): DataStore; | ||
export declare function getRunStore(forceInMemoryStore?: boolean): RunStore; | ||
export declare function getRunStore(useInMemoryStore?: boolean): RunStore; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -12,5 +12,5 @@ /** | ||
} | ||
export function getRunStore(forceInMemoryStore = false) { | ||
if (forceInMemoryStore) { | ||
console.log("[Breadboard Run Store] Using In-Memory Store (forced)"); | ||
export function getRunStore(useInMemoryStore = true) { | ||
if (useInMemoryStore) { | ||
console.log("[Breadboard Run Store] Using In-Memory Store"); | ||
return createDefaultRunStore(); | ||
@@ -17,0 +17,0 @@ } |
@@ -6,4 +6,4 @@ /** | ||
*/ | ||
import { RunStore, RunTimestamp, RunURL } from "@google-labs/breadboard"; | ||
import { HarnessRunResult } from "@google-labs/breadboard/harness"; | ||
import { RunStore, RunTimestamp, RunURL } from "@google-labs/breadboard"; | ||
export declare class IDBRunStore implements RunStore { | ||
@@ -10,0 +10,0 @@ #private; |
@@ -6,4 +6,4 @@ /** | ||
*/ | ||
import { isLLMContent, isLLMContentArray, isMetadataEntry, isStoredData, toInlineDataPart, } from "@google-labs/breadboard"; | ||
import * as idb from "idb"; | ||
import { isLLMContent, isLLMContentArray, isMetadataEntry, isStoredData, toInlineDataPart, } from "@google-labs/breadboard"; | ||
const RUN_LISTING_DB = "run-listing"; | ||
@@ -10,0 +10,0 @@ const RUN_LISTING_VERSION = 1; |
{ | ||
"name": "@breadboard-ai/data-store", | ||
"version": "0.2.3", | ||
"version": "0.2.4", | ||
"description": "A data store implementation to support Breadboard", | ||
@@ -141,3 +141,3 @@ "main": "./dist/src/index.js", | ||
"@google-labs/tsconfig": "^0.0.1", | ||
"@types/mocha": "^10.0.8", | ||
"@types/mocha": "^10.0.9", | ||
"@types/node": "^22.0.0", | ||
@@ -150,3 +150,3 @@ "@typescript-eslint/eslint-plugin": "^7.18.0", | ||
"esbuild": "^0.24.0", | ||
"typescript": "^5.6.2" | ||
"typescript": "^5.6.3" | ||
}, | ||
@@ -157,5 +157,6 @@ "engines": { | ||
"dependencies": { | ||
"@google-labs/breadboard": "^0.27.0", | ||
"@breadboard-ai/types": "0.1.2", | ||
"@google-labs/breadboard": "^0.28.0", | ||
"idb": "^8.0.0" | ||
} | ||
} |
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
22968
3
+ Added@breadboard-ai/types@0.1.2
+ Added@breadboard-ai/types@0.1.2(transitive)
+ Added@google-labs/breadboard@0.28.0(transitive)
- Removed@breadboard-ai/types@0.1.1(transitive)
- Removed@google-labs/breadboard@0.27.3(transitive)