mirror of
https://github.com/Portabase/portabase.git
synced 2026-07-14 11:16:13 +02:00
feat: add blob to db migration and register in channel helpers
This commit is contained in:
@@ -0,0 +1 @@
|
|||||||
|
ALTER TYPE "public"."provider_storage_kind" ADD VALUE 'blob';
|
||||||
File diff suppressed because it is too large
Load Diff
@@ -442,6 +442,13 @@
|
|||||||
"when": 1780934519843,
|
"when": 1780934519843,
|
||||||
"tag": "0062_futuristic_dragon_lord",
|
"tag": "0062_futuristic_dragon_lord",
|
||||||
"breakpoints": true
|
"breakpoints": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"idx": 63,
|
||||||
|
"version": "7",
|
||||||
|
"when": 1781898343882,
|
||||||
|
"tag": "0063_steady_randall_flagg",
|
||||||
|
"breakpoints": true
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -38,6 +38,9 @@ import {
|
|||||||
import {
|
import {
|
||||||
StorageGoogleDriveForm
|
StorageGoogleDriveForm
|
||||||
} from "@/features/channel/storages/google-drive/google-drive.form";
|
} from "@/features/channel/storages/google-drive/google-drive.form";
|
||||||
|
import {
|
||||||
|
StorageBlobForm
|
||||||
|
} from "@/features/channel/storages/Blob.form";
|
||||||
|
|
||||||
export type ChannelKind = "notification" | "storage";
|
export type ChannelKind = "notification" | "storage";
|
||||||
|
|
||||||
@@ -101,6 +104,8 @@ export const renderChannelForm = (provider: string | undefined, form: UseFormRet
|
|||||||
return <StorageS3Form form={form}/>
|
return <StorageS3Form form={form}/>
|
||||||
case "google-drive":
|
case "google-drive":
|
||||||
return <StorageGoogleDriveForm form={form}/>
|
return <StorageGoogleDriveForm form={form}/>
|
||||||
|
case "blob":
|
||||||
|
return <StorageBlobForm form={form}/>
|
||||||
case "local":
|
case "local":
|
||||||
return <></>
|
return <></>
|
||||||
default:
|
default:
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ export const storageProviders: ProviderIconTypes[] = [
|
|||||||
{value: "local", label: "Local", icon: Server},
|
{value: "local", label: "Local", icon: Server},
|
||||||
{value: "s3", label: "S3", icon: S3Icon},
|
{value: "s3", label: "S3", icon: S3Icon},
|
||||||
{value: "google-drive", label: "Google Drive", icon: GoogleDriveIcon},
|
{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},
|
{value: "gcs", label: "Google Cloud Storage", icon: GCSIcon, preview: true},
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user