node_modules ignore

This commit is contained in:
2025-05-08 23:43:47 +02:00
parent e19d52f172
commit 4574544c9f
65041 changed files with 10593536 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
import type { Action, Event, Params, Subscriber } from './types';
import type { Database } from '..';
export type * from './types';
export type State = Record<string, unknown>;
export type States = Map<Subscriber, State>;
export interface Properties {
params: Params;
result?: unknown;
}
export interface LifecycleProvider {
subscribe(subscriber: Subscriber): () => void;
clear(): void;
run(action: Action, uid: string, properties: Properties, states?: States): Promise<States>;
createEvent(action: Action, uid: string, properties: Properties, state: State): Event;
disable(): void;
enable(): void;
}
export declare const createLifecyclesProvider: (db: Database) => LifecycleProvider;
//# sourceMappingURL=index.d.ts.map