From 5082135d62f1add939566ccbb9c1cb127edfed98 Mon Sep 17 00:00:00 2001 From: Hieuhuy Pham Date: Wed, 12 Mar 2025 13:52:49 -0400 Subject: [PATCH] Linkvertise addition --- global.d.ts | 3 +++ src/app/layout.tsx | 9 +++++++++ 2 files changed, 12 insertions(+) diff --git a/global.d.ts b/global.d.ts index 943f9c6..28448d8 100644 --- a/global.d.ts +++ b/global.d.ts @@ -1,3 +1,5 @@ +import { link } from "fs"; + declare namespace NodeJS { interface ProcessEnv { NEXT_PUBLIC_API_URL: string; @@ -17,5 +19,6 @@ declare namespace NodeJS { enableServices: () => void; }; } + function linkvertise(id: number, options: { whitelist: string[]; blacklist: string[] }): void; } export {}; \ No newline at end of file diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 33faaa0..c9da5e1 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -88,6 +88,15 @@ export default function RootLayout({ children }: { children: React.ReactNode }) }); }} /> +