Add initial ActionState type

This commit is contained in:
Michael B. Gale
2026-06-30 12:59:35 +01:00
parent d8d1d6d754
commit e446d55e5a

14
src/action-common.ts Normal file
View File

@@ -0,0 +1,14 @@
import { Env } from "./environment";
import { FeatureEnablement } from "./feature-flags";
import { Logger } from "./logging";
export interface ActionState {
/** The logger that is in use. */
logger: Logger;
/** Information about environment variables. */
env: Env;
/** Information about enabled feature flags. */
features: FeatureEnablement;
}