feat: add blob to db migration and register in channel helpers

This commit is contained in:
jingi
2026-06-19 13:53:58 -07:00
parent d6235adccd
commit 243d724fb2
5 changed files with 2982 additions and 1 deletions
@@ -0,0 +1 @@
ALTER TYPE "public"."provider_storage_kind" ADD VALUE 'blob';
File diff suppressed because it is too large Load Diff
+7
View File
@@ -442,6 +442,13 @@
"when": 1780934519843,
"tag": "0062_futuristic_dragon_lord",
"breakpoints": true
},
{
"idx": 63,
"version": "7",
"when": 1781898343882,
"tag": "0063_steady_randall_flagg",
"breakpoints": true
}
]
}
@@ -38,6 +38,9 @@ import {
import {
StorageGoogleDriveForm
} from "@/features/channel/storages/google-drive/google-drive.form";
import {
StorageBlobForm
} from "@/features/channel/storages/Blob.form";
export type ChannelKind = "notification" | "storage";
@@ -101,6 +104,8 @@ export const renderChannelForm = (provider: string | undefined, form: UseFormRet
return <StorageS3Form form={form}/>
case "google-drive":
return <StorageGoogleDriveForm form={form}/>
case "blob":
return <StorageBlobForm form={form}/>
case "local":
return <></>
default:
@@ -6,7 +6,7 @@ export const storageProviders: ProviderIconTypes[] = [
{value: "local", label: "Local", icon: Server},
{value: "s3", label: "S3", icon: S3Icon},
{value: "google-drive", label: "Google Drive", icon: GoogleDriveIcon},
{value: "blob", label: "Azure Blob Storage", icon: BlobIcon, preview: true},
{value: "blob", label: "Azure Blob Storage", icon: BlobIcon},
{value: "gcs", label: "Google Cloud Storage", icon: GCSIcon, preview: true},
]