fix: mettre à jour la configuration de wrangler et ajuster les scripts de build et de déploiement

This commit is contained in:
2025-12-18 20:30:15 +01:00
parent fbe223b50c
commit 7206a17a6a
4 changed files with 10 additions and 39 deletions

View File

@@ -1,10 +1,7 @@
/* eslint-disable */
// Generated by Wrangler by running `wrangler types` (hash: 62d6edfcbe10d837218cb1a518a9ad0a)
// Generated by Wrangler by running `wrangler types` (hash: 889e96b9a6e7cd90ad202f69774b6cc7)
// Runtime types generated with workerd@1.20251213.0 2025-12-13 nodejs_compat
declare namespace Cloudflare {
interface GlobalProps {
mainModule: typeof import("./.output/server/index");
}
interface Env {
CACHE: KVNamespace;
NUXT_PUBLIC_I18N_BASE_URL: string;
@@ -12,7 +9,6 @@ declare namespace Cloudflare {
STUDIO_GITHUB_CLIENT_ID: string;
STUDIO_GITHUB_CLIENT_SECRET: string;
DB: D1Database;
ASSETS: Fetcher;
}
}
interface Env extends Cloudflare.Env {}
@@ -8603,7 +8599,7 @@ type AIGatewayHeaders = {
[key: string]: string | number | boolean | object;
};
type AIGatewayUniversalRequest = {
provider: AIGatewayProviders | string;
provider: AIGatewayProviders | string; // eslint-disable-line
endpoint: string;
headers: Partial<AIGatewayHeaders>;
query: unknown;
@@ -8619,7 +8615,7 @@ declare abstract class AiGateway {
gateway?: UniversalGatewayOptions;
extraHeaders?: object;
}): Promise<Response>;
getUrl(provider?: AIGatewayProviders | string): Promise<string>;
getUrl(provider?: AIGatewayProviders | string): Promise<string>; // eslint-disable-line
}
interface AutoRAGInternalError extends Error {
}