diff --git a/apps/client/app/components/create-repository-form.tsx b/apps/client/app/components/create-repository-form.tsx
index 3153af1..03891b1 100644
--- a/apps/client/app/components/create-repository-form.tsx
+++ b/apps/client/app/components/create-repository-form.tsx
@@ -30,6 +30,7 @@ type Props = {
const defaultValuesForType = {
local: { backend: "local" as const, compressionMode: "auto" as const },
s3: { backend: "s3" as const, compressionMode: "auto" as const },
+ gcs: { backend: "gcs" as const, compressionMode: "auto" as const },
};
export const CreateRepositoryForm = ({
@@ -100,6 +101,7 @@ export const CreateRepositoryForm = ({
Local
S3
+ Google Cloud Storage
Choose the storage backend for this repository.
@@ -195,6 +197,53 @@ export const CreateRepositoryForm = ({
>
)}
+ {watchedBackend === "gcs" && (
+ <>
+ (
+
+ Bucket
+
+
+
+ GCS bucket name for storing backups.
+
+
+ )}
+ />
+ (
+
+ Project ID
+
+
+
+ Google Cloud project ID.
+
+
+ )}
+ />
+ (
+
+ Service Account JSON
+
+
+
+ Service account JSON credentials for authentication.
+
+
+ )}
+ />
+ >
+ )}
+
{mode === "update" && (