From e446d55e5a9db0bf9d6f295adec61ea6c50eb277 Mon Sep 17 00:00:00 2001 From: "Michael B. Gale" Date: Tue, 30 Jun 2026 12:59:35 +0100 Subject: [PATCH] Add initial `ActionState` type --- src/action-common.ts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/action-common.ts diff --git a/src/action-common.ts b/src/action-common.ts new file mode 100644 index 000000000..3b2238672 --- /dev/null +++ b/src/action-common.ts @@ -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; +}