npm package diff
Package: @forge/cache
Versions: 1.0.3-next.0-experimental-ab129b0-experimental-3bf9516 - 1.0.3-next.0-experimental-47556b0
File: package/out/kvs/interfaces/transaction.d.ts
Index: package/out/kvs/interfaces/transaction.d.ts
===================================================================
--- package/out/kvs/interfaces/transaction.d.ts
+++ package/out/kvs/interfaces/transaction.d.ts
@@ -1,29 +0,0 @@
-import { BaseFilter } from '../entity-query';
-export interface TransactSet<T> {
- key: string;
- value: T;
- entity?: EntityConditions<T>;
-}
-export interface TransactDelete<T> {
- key: string;
- entity?: EntityConditions<T>;
-}
-export interface TransactCheck<T> {
- key: string;
- entity: EntityRequiredConditions<T>;
-}
-export declare type EntityConditions<T> = {
- entityName: string;
- conditions?: BaseFilter<T>;
-};
-export declare type EntityRequiredConditions<T> = Omit<EntityConditions<T>, 'conditions'> & {
- conditions: BaseFilter<T>;
-};
-export declare type StorageValue = string | number | boolean | Record<string, any> | any[];
-export interface TransactionBuilder {
- set<T>(key: string, value: T, entity?: EntityConditions<T>): this;
- delete<T>(key: string, entity?: EntityConditions<T>): this;
- check<T>(key: string, entity: EntityRequiredConditions<T>): this;
- execute(): Promise<void>;
-}
-//# sourceMappingURL=transaction.d.ts.map
\ No newline at end of file