fix: mettre à jour le nom de la variable d'environnement NUXT_ARTAPI en NUXT_API_URL

This commit is contained in:
2025-12-17 10:52:55 +01:00
parent daa3b6e1e4
commit 28c4caf60d

View File

@@ -1,5 +1,5 @@
/* eslint-disable */ /* eslint-disable */
// Generated by Wrangler by running `wrangler types` (hash: 57f22bacacc3bbcbd55db3166120e80f) // Generated by Wrangler by running `wrangler types` (hash: 62d6edfcbe10d837218cb1a518a9ad0a)
// Runtime types generated with workerd@1.20251213.0 2025-12-13 nodejs_compat // Runtime types generated with workerd@1.20251213.0 2025-12-13 nodejs_compat
declare namespace Cloudflare { declare namespace Cloudflare {
interface GlobalProps { interface GlobalProps {
@@ -8,7 +8,7 @@ declare namespace Cloudflare {
interface Env { interface Env {
CACHE: KVNamespace; CACHE: KVNamespace;
NUXT_PUBLIC_I18N_BASE_URL: string; NUXT_PUBLIC_I18N_BASE_URL: string;
NUXT_ARTAPI: string; NUXT_API_URL: string;
STUDIO_GITHUB_CLIENT_ID: string; STUDIO_GITHUB_CLIENT_ID: string;
STUDIO_GITHUB_CLIENT_SECRET: string; STUDIO_GITHUB_CLIENT_SECRET: string;
DB: D1Database; DB: D1Database;
@@ -20,7 +20,7 @@ type StringifyValues<EnvType extends Record<string, unknown>> = {
[Binding in keyof EnvType]: EnvType[Binding] extends string ? EnvType[Binding] : string; [Binding in keyof EnvType]: EnvType[Binding] extends string ? EnvType[Binding] : string;
}; };
declare namespace NodeJS { declare namespace NodeJS {
interface ProcessEnv extends StringifyValues<Pick<Cloudflare.Env, "NUXT_PUBLIC_I18N_BASE_URL" | "NUXT_ARTAPI" | "STUDIO_GITHUB_CLIENT_ID" | "STUDIO_GITHUB_CLIENT_SECRET">> {} interface ProcessEnv extends StringifyValues<Pick<Cloudflare.Env, "NUXT_PUBLIC_I18N_BASE_URL" | "NUXT_API_URL" | "STUDIO_GITHUB_CLIENT_ID" | "STUDIO_GITHUB_CLIENT_SECRET">> {}
} }
// Begin runtime types // Begin runtime types