-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathenvironment.d.ts
33 lines (28 loc) · 1.03 KB
/
environment.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/* eslint no-var: 0 */
import type { TPGInstance } from '@/lib/db/dbInstance';
import type { TChatOllamaSingleton } from '@/lib/models/chat/chatOllama';
import type { THuggingFaceEmbeddingSingleton } from '@/lib/models/embeddings/huggingfaceEmbeddings';
import type { TOllamaEmbeddingSingleton } from '@/lib/models/embeddings/ollamaEmbeddings';
import type { TVectorStore } from '@/lib/models/vectorStore';
declare global {
namespace NodeJS {
interface ProcessEnv {
NEXT_PUBLIC_VAR_ONE: string;
VAR_ONE: string;
DB_HOST: string;
DB_PORT: number;
DB_NAME: string;
DB_USER: string;
DB_PASSWORD: string;
OLLAMA_BASE_URL: string;
}
}
namespace globalThis {
var HuggingFaceEmbeddingSingleton: THuggingFaceEmbeddingSingleton | undefined;
var OllamaEmbeddingSingleton: TOllamaEmbeddingSingleton | undefined;
var VectorStoreSingleton: TVectorStore | undefined;
var ChatOllamaSingleton: TChatOllamaSingleton | undefined;
var PgInstance: TPGInstance | undefined;
}
}
export {};