@forge/kvs
1.3.1-next.01.3.1-next.0-experimental-75a65ea
out/kvs.d.ts~
out/kvs.d.tsModified+10
Index: package/out/kvs.d.ts
===================================================================
--- package/out/kvs.d.ts
+++ package/out/kvs.d.ts
@@ -1,5 +1,6 @@
import { KvsEntity, Kvs } from './interfaces/kvs';
+import { BatchGetResult } from './interfaces/kvs-api';
import { QueryBuilder, QueryOptions } from './interfaces/query';
import { TransactionBuilder } from './interfaces/transaction';
import { GetOptions, GetResult, BatchResult, SetOptions, PolicySetOptions, OverrideAndReturnSetOptions, SetResult } from './interfaces/types';
import { StorageApi } from './storage-api';
@@ -16,8 +17,17 @@
value: T;
entityName?: string;
options?: SetOptions;
}>): Promise<BatchResult>;
+ batchDelete(items: Array<{
+ key: string;
+ entityName?: string;
+ }>): Promise<BatchResult>;
+ batchGet<T>(items: Array<{
+ key: string;
+ entityName?: string;
+ options?: GetOptions;
+ }>): Promise<BatchGetResult<T>>;
delete(key: string): Promise<void>;
query(options?: Pick<QueryOptions, 'metadataFields'>): QueryBuilder;
getSecret<T>(key: string): Promise<T | undefined>;
getSecret<T>(key: string, options: GetOptions): Promise<GetResult<T> | undefined>;