import { EnterpriseBadge, IconSpark } from "@humansignal/ui";
|
import { Alert, AlertTitle, AlertDescription } from "@humansignal/shad/components/ui/alert";
|
import { IconCloudProviderDatabricks } from "@humansignal/icons";
|
import type { ProviderConfig } from "@humansignal/app-common/blocks/StorageProviderForm/types/provider";
|
|
const databricksProvider: ProviderConfig = {
|
name: "databricks",
|
title: "Databricks 文件\n(UC 卷)",
|
description: "配置您的 Databricks Unity Catalog 卷连接以及所有必需的设置(仅代理模式)",
|
icon: IconCloudProviderDatabricks,
|
disabled: true,
|
badge: <EnterpriseBadge />,
|
fields: [
|
{
|
name: "enterprise_info",
|
type: "message",
|
content: (
|
<Alert variant="gradient">
|
<IconSpark />
|
<AlertTitle>Enterprise Feature</AlertTitle>
|
<AlertDescription>
|
Databricks Files (UC Volumes) is available in Label Studio Enterprise.{" "}
|
<a
|
href="https://docs.humansignal.com/guide/storage.html#Databricks-Files-UC-Volumes"
|
target="_blank"
|
rel="noopener noreferrer"
|
className="underline hover:no-underline"
|
>
|
Learn more
|
</a>
|
</AlertDescription>
|
</Alert>
|
),
|
},
|
],
|
layout: [{ fields: ["enterprise_info"] }],
|
};
|
|
export default databricksProvider;
|