Add variables for database and collection IDs

This commit is contained in:
Maciej Pędzich 2023-05-30 17:53:53 +02:00
parent 2bbd0960ef
commit 6c0a095fe2

5
src/global.d.ts vendored
View File

@ -2,4 +2,9 @@ interface ImportMetaEnv {
BASE_URL: string;
VITE_APPWRITE_ENDPOINT: string;
VITE_APPWRITE_PROJECT_ID: string;
VITE_DATABASE_ID: string;
VITE_PHOTOS_COLLECTION_ID: string;
VITE_VOTES_COLLECTION_ID: string;
VITE_PHOTO_APPEARANCE_COUNT_COLLECTION_ID: string;
VITE_NUMBER_OF_PHOTOS: number;
}