diff --git a/types/src/index.ts b/types/src/index.ts index efcf1b25083d7..baf2324057cf0 100644 --- a/types/src/index.ts +++ b/types/src/index.ts @@ -247,6 +247,11 @@ export interface ServiceDBProp extends BasePropInterface { type: "$.service.db"; } +export interface ServiceDB { + get(key: string): T | undefined; + set(key: string, value: JSONValue | undefined): void; +} + // https://pipedream.com/docs/code/nodejs/using-data-stores/#using-the-data-store export interface DataStoreProp extends BasePropInterface { type: "data_store";