/**
 * Docker 镜像仓库数据源
 */
import type { DataSourceConfig } from '../types';

export const dockerRegistriesConfig: DataSourceConfig = {
  url: '/api/v1/docker-registry/list',
  params: { enabled: true },
  transform: (data: any[]) => {
    return data.map((item: any) => ({
      label: item.name,
      value: item.id,
      url: item.url
    }));
  }
};

