npm package diff

Package: @forge/storage

Versions: 1.5.15-experimental-10722bc - 1.6.0-next.0

File: package/out/storage-adapter.d.ts

Index: package/out/storage-adapter.d.ts
===================================================================
--- package/out/storage-adapter.d.ts
+++ package/out/storage-adapter.d.ts
@@ -1,28 +1,13 @@
 import { EntityStorageBuilderType } from './entity-storage';
-import { CustomEntityTransactionBuilder } from './entity-storage/custom-entity-transaction-api';
 import { BeginsWithClause, BetweenClause, ExistsClause, DoesNotExistClause, GreaterThanClause, GreaterThanEqualToClause, StartsWith, NotEqualTo, In, LessThanClause, LessThanEqualToClause, ContainsClause, DoesNotContainClause, IsNotEqualToClause, EqualToClause } from './query-interfaces';
-export interface BulkItem {
-    key: string;
-    value: string | number | boolean | Record<string, any> | any[];
-}
-export interface FailedKey {
-    key: string;
-    code: string;
-    message: string;
-}
-export interface BulkResponse {
-    savedKeys: string[];
-    failedKeys: FailedKey[];
-}
 export interface StorageAdapter {
     get(key: string): Promise<any>;
     set(key: string, value: string | number | boolean | Record<string, any> | any[]): Promise<void>;
     delete(key: string): Promise<void>;
     getSecret(key: string): Promise<any>;
     setSecret(key: string, value: any): Promise<void>;
     deleteSecret(key: string): Promise<void>;
-    bulkSet(items: BulkItem[]): Promise<BulkResponse>;
 }
 export interface EntityStorageAdapter {
     getEntity<T>(entityName: string, entityKey: string): Promise<T>;
     setEntity<T>(entityName: string, entityKey: string, value: T): Promise<void>;
@@ -34,11 +19,8 @@
 export declare type SharedStorageAdapter = StorageAdapter & EntityStorageAdapter;
 export interface QueryApi {
     query(): QueryBuilder;
 }
-export interface TransactionApi {
-    transaction(): TransactionBuilder;
-}
 export declare type Predicate = StartsWith | NotEqualTo | In;
 export declare type Condition = Predicate;
 export interface QueryBuilder {
     where(field: 'key', condition: Condition): QueryBuilder;
@@ -46,19 +28,8 @@
     limit(limit: number): QueryBuilder;
     getMany(): Promise<ListResult>;
     getOne(): Promise<Result | undefined>;
 }
-export interface KVSTransactionBuilderInterface {
-    set(key: string, value: string | number | boolean | Record<string, any> | any[]): KVSTransactionBuilderInterface;
-    delete(key: string): KVSTransactionBuilderInterface;
-    execute(): Promise<void>;
-}
-export interface TransactionBuilder {
-    entity(name: string): CustomEntityTransactionBuilder;
-    set(key: string, value: string | number | boolean | Record<string, any> | any[]): KVSTransactionBuilderInterface;
-    delete(key: string): KVSTransactionBuilderInterface;
-    execute(): Promise<void>;
-}
 export declare type FilterPredicate = BetweenClause | BeginsWithClause | ExistsClause | DoesNotExistClause | GreaterThanClause | GreaterThanEqualToClause | LessThanClause | LessThanEqualToClause | ContainsClause | DoesNotContainClause | EqualToClause | IsNotEqualToClause;
 export declare type WherePredicate = BetweenClause | BeginsWithClause | EqualToClause | GreaterThanClause | GreaterThanEqualToClause | LessThanClause | LessThanEqualToClause;
 export interface Result<T = object> {
     key: string;