From c0c3b2b59304a8d937318955f1f21a621a3c4081 Mon Sep 17 00:00:00 2001 From: Sebastian Frank <sebastian@webmakers.de> Date: Thu, 25 May 2023 12:47:34 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=80=20feat(index.d.ts):=20add=20api(),?= =?UTF-8?q?=20project(),=20and=20collection()=20methods=20to=20global=20de?= =?UTF-8?q?claration=20This=20commit=20adds=20three=20new=20methods=20to?= =?UTF-8?q?=20the=20global=20declaration=20file:=20api(),=20project(),=20a?= =?UTF-8?q?nd=20collection().=20These=20methods=20return=20an=20object=20w?= =?UTF-8?q?ith=20any=20key-value=20pairs,=20allowing=20for=20more=20flexib?= =?UTF-8?q?ility=20in=20the=20codebase.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.d.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/index.d.ts b/index.d.ts index aecba49..24b3a1b 100644 --- a/index.d.ts +++ b/index.d.ts @@ -632,6 +632,18 @@ declare global { bodyBytes(): string } + api(): { + [key: string]: any + } + + project(): { + [key: string]: any + } + + collection(): { + [key: string]: any + } + db: DbPackage smtp: SmtpPackage fs: FsPackage