@forge/kvs
1.3.1-next.0-experimental-75a65ea1.3.1-next.0-experimental-1dcd593
out/interfaces/kvs.d.ts~
out/interfaces/kvs.d.tsModified+1−9
Index: package/out/interfaces/kvs.d.ts
===================================================================
--- package/out/interfaces/kvs.d.ts
+++ package/out/interfaces/kvs.d.ts
@@ -1,8 +1,8 @@
import { IndexQueryBuilder } from './entity-query';
import { QueryBuilder } from './query';
import { TransactionBuilder } from './transaction';
-import { GetOptions, GetResult, BatchResult, PolicySetOptions, OverrideAndReturnSetOptions, SetResult, SetOptions, QueryOptions, BatchGetResult } from './types';
+import { GetOptions, GetResult, BatchResult, PolicySetOptions, OverrideAndReturnSetOptions, SetResult, SetOptions, QueryOptions } from './types';
export interface Kvs {
get<T>(key: string): Promise<T | undefined>;
get<T>(key: string, options: GetOptions): Promise<GetResult<T> | undefined>;
set<T>(key: string, value: T, options?: SetOptions): Promise<void>;
@@ -13,16 +13,8 @@
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;
- }>): Promise<BatchGetResult<T>>;
delete(key: string): Promise<void>;
query(options?: QueryOptions): QueryBuilder;
getSecret<T>(key: string): Promise<T | undefined>;
getSecret<T>(key: string, options: GetOptions): Promise<GetResult<T> | undefined>;