npm package diff
Package: @forge/cache
Versions: 1.0.3-next.0 - 1.0.3-next.0-experimental-ab129b0
File: package/out/kvs/query.d.ts
Index: package/out/kvs/query.d.ts
===================================================================
--- package/out/kvs/query.d.ts
+++ package/out/kvs/query.d.ts
@@ -0,0 +1,14 @@
+import { QueryBuilder, QueryOptions, WhereClause } from './interfaces/query';
+import { ListResult, Result } from './interfaces/types';
+import { StorageApi } from './storage-api';
+export declare class KvsQueryBuilder implements QueryBuilder {
+ private storageApi;
+ private options;
+ constructor(storageApi: StorageApi, options?: QueryOptions);
+ where(property: 'key', condition: WhereClause): this;
+ cursor(cursor: string): this;
+ limit(limit: number): this;
+ getOne<T>(): Promise<Result<T> | undefined>;
+ getMany<T>(): Promise<ListResult<T>>;
+}
+//# sourceMappingURL=query.d.ts.map
\ No newline at end of file