From afc7f82d9a7018927c620867501afbbeb10fd63a Mon Sep 17 00:00:00 2001 From: Vitaly Gashkov Date: Sun, 1 Dec 2024 13:29:25 +0500 Subject: [PATCH] feat: expose logger to plugin context --- apps/cli | 2 +- packages/api/types/global.d.ts | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/cli b/apps/cli index f1d6811..6ae695a 160000 --- a/apps/cli +++ b/apps/cli @@ -1 +1 @@ -Subproject commit f1d68118c25b06950a3cd45e8c6514dca7d39008 +Subproject commit 6ae695aa63122001e5c2fe6500a32cb939392e22 diff --git a/packages/api/types/global.d.ts b/packages/api/types/global.d.ts index fa2b008..cb7c92a 100644 --- a/packages/api/types/global.d.ts +++ b/packages/api/types/global.d.ts @@ -1,9 +1,11 @@ import { App } from './app'; import { AppStorage } from './storage'; import { AppHttp } from './http'; +import { AppLogger } from './logger'; declare global { const app: App; const storage: AppStorage; const http: AppHttp; + const logger: AppLogger; }