@forge/kvs

1.3.2-next.01.3.2-next.0-experimental-bf21d1e
out/kvs.d.ts
~out/kvs.d.tsModified
+4−6
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 { BatchDeleteItem, BatchGetItem, BatchGetResult, BatchSetItem } 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';
@@ -10,14 +11,11 @@
     get<T>(key: string, options: GetOptions): Promise<GetResult<T> | undefined>;
     set<T>(key: string, value: T, options?: SetOptions): Promise<void>;
     set<T>(key: string, value: T, options: PolicySetOptions): Promise<void>;
     set<T, U = T>(key: string, value: T, options: OverrideAndReturnSetOptions): Promise<SetResult<U> | undefined>;
-    batchSet<T>(items: Array<{
-        key: string;
-        value: T;
-        entityName?: string;
-        options?: SetOptions;
-    }>): Promise<BatchResult>;
+    batchSet<T>(items: Array<BatchSetItem<T>>): Promise<BatchResult>;
+    batchDelete(items: Array<BatchDeleteItem>): Promise<BatchResult>;
+    batchGet<T>(items: Array<BatchGetItem>): 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>;