{ "$schema": "https://ui.shadcn.com/schema/registry.json", "name": "trauibase", "homepage": "https://tra-ui-base.vercel.app", "items": [ { "name": "plugin-i18n", "type": "registry:block", "title": "i18n Plugin (Paraglide)", "description": "inlang Paraglide ile compile-time i18n. TR/EN dil desteği, LocaleContext, LocaleProvider, useLocale hook ve örnek dil dosyaları.", "dependencies": ["@inlang/paraglide-js@2.18.0", "@inlang/paraglide-vite@1.4.0"], "registryDependencies": ["@tra-kit/language-select", "@tra-kit/language-toggle"], "files": [ { "path": "registry/tra-plugins/i18n/lib/locale.tsx", "type": "registry:file", "target": "src/lib/locale.tsx" }, { "path": "registry/tra-plugins/i18n/lib/locales.ts", "type": "registry:file", "target": "src/lib/locales.ts" }, { "path": "registry/tra-plugins/i18n/messages/tr.json", "type": "registry:file", "target": "messages/tr.json" }, { "path": "registry/tra-plugins/i18n/messages/en.json", "type": "registry:file", "target": "messages/en.json" }, { "path": "registry/tra-plugins/i18n/project.inlang/settings.json", "type": "registry:file", "target": "project.inlang/settings.json" } ] }, { "name": "plugin-axios", "type": "registry:block", "title": "HTTP Client (Axios)", "description": "Axios instance, interceptors, token yönetimi, CustomAxiosResponse tipi, AuthContext/AuthProvider ve createService kalıbı.", "dependencies": ["axios@1.16.0"], "files": [ { "path": "registry/tra-plugins/axios/constants/ApiEnvironment.ts", "type": "registry:file", "target": "src/constants/ApiEnvironment.ts" }, { "path": "registry/tra-plugins/axios/constants/StorageKeys.ts", "type": "registry:file", "target": "src/constants/StorageKeys.ts" }, { "path": "registry/tra-plugins/axios/utilities/Environment.ts", "type": "registry:file", "target": "src/utilities/Environment.ts" }, { "path": "registry/tra-plugins/axios/lib/axios-config.ts", "type": "registry:file", "target": "src/lib/axios-config.ts" }, { "path": "registry/tra-plugins/axios/contexts/auth/AuthContext.tsx", "type": "registry:file", "target": "src/contexts/auth/AuthContext.tsx" }, { "path": "registry/tra-plugins/axios/hooks/useAuth.ts", "type": "registry:file", "target": "src/hooks/useAuth.ts" }, { "path": "registry/tra-plugins/axios/services/BaseService.ts", "type": "registry:file", "target": "src/services/BaseService.ts" } ] }, { "name": "plugin-signalr", "type": "registry:block", "title": "Real-time (SignalR)", "description": "SignalR HubConnection yönetimi, otomatik reconnect, MessageHubContext, useSignalR ve useMessageHub hook'ları.", "dependencies": ["@microsoft/signalr@10.0.0"], "files": [ { "path": "registry/tra-plugins/signalr/lib/signalr.ts", "type": "registry:file", "target": "src/lib/signalr.ts" }, { "path": "registry/tra-plugins/signalr/contexts/messageHub/MessageHubContext.tsx", "type": "registry:file", "target": "src/contexts/messageHub/MessageHubContext.tsx" }, { "path": "registry/tra-plugins/signalr/contexts/messageHub/MessageHubProvider.tsx", "type": "registry:file", "target": "src/contexts/messageHub/MessageHubProvider.tsx" }, { "path": "registry/tra-plugins/signalr/hooks/useSignalR.ts", "type": "registry:file", "target": "src/hooks/useSignalR.ts" }, { "path": "registry/tra-plugins/signalr/hooks/useMessageHub.ts", "type": "registry:file", "target": "src/hooks/useMessageHub.ts" } ] }, { "name": "plugin-table", "type": "registry:block", "title": "Data Table (TanStack Table)", "description": "TanStack Table tabanlı veri tablosu. Sıralama, filtreleme, sayfalama, skeleton ve filtre section bileşenleri.", "dependencies": ["@tanstack/react-table@8.21.3", "@tanstack/match-sorter-utils@8.19.4"], "registryDependencies": [ "@tra-kit/skeleton", "@tra-kit/input", "@tra-kit/select", "@tra-kit/pagination" ], "files": [ { "path": "registry/tra-plugins/table/components/table/custom-table.tsx", "type": "registry:file", "target": "src/components/table/custom-table.tsx" }, { "path": "registry/tra-plugins/table/components/table/table-skeleton.tsx", "type": "registry:file", "target": "src/components/table/table-skeleton.tsx" }, { "path": "registry/tra-plugins/table/components/table/custom-table-filter-section.tsx", "type": "registry:file", "target": "src/components/table/custom-table-filter-section.tsx" }, { "path": "registry/tra-plugins/table/hooks/useTableState.ts", "type": "registry:file", "target": "src/hooks/useTableState.ts" }, { "path": "registry/tra-plugins/table/types/table.types.ts", "type": "registry:file", "target": "src/types/table.types.ts" } ] }, { "name": "plugin-forms", "type": "registry:block", "title": "Form Yönetimi (Formik + Yup)", "description": "Formik + Yup form altyapısı. TRA UI Kit bileşenlerine bağlı TextField, Select, Checkbox, DatePicker, RadioButtons ve ortak Validations sabitleri.", "dependencies": ["formik@2.4.9", "yup@1.7.1"], "registryDependencies": [ "@tra-kit/text-field", "@tra-kit/select", "@tra-kit/checkbox", "@tra-kit/date-picker", "@tra-kit/radio-buttons", "@tra-kit/switch" ], "files": [ { "path": "registry/tra-plugins/forms/components/formik/formik-text-field.tsx", "type": "registry:file", "target": "src/components/formik/formik-text-field.tsx" }, { "path": "registry/tra-plugins/forms/components/formik/formik-select.tsx", "type": "registry:file", "target": "src/components/formik/formik-select.tsx" }, { "path": "registry/tra-plugins/forms/components/formik/formik-checkbox.tsx", "type": "registry:file", "target": "src/components/formik/formik-checkbox.tsx" }, { "path": "registry/tra-plugins/forms/components/formik/formik-date-picker.tsx", "type": "registry:file", "target": "src/components/formik/formik-date-picker.tsx" }, { "path": "registry/tra-plugins/forms/components/formik/formik-radio-buttons.tsx", "type": "registry:file", "target": "src/components/formik/formik-radio-buttons.tsx" }, { "path": "registry/tra-plugins/forms/components/formik/formik-switch.tsx", "type": "registry:file", "target": "src/components/formik/formik-switch.tsx" }, { "path": "registry/tra-plugins/forms/components/formik/formik-error-text.tsx", "type": "registry:file", "target": "src/components/formik/formik-error-text.tsx" }, { "path": "registry/tra-plugins/forms/components/formik/utils.ts", "type": "registry:file", "target": "src/components/formik/utils.ts" }, { "path": "registry/tra-plugins/forms/components/formik/index.ts", "type": "registry:file", "target": "src/components/formik/index.ts" }, { "path": "registry/tra-plugins/forms/constants/Validations.ts", "type": "registry:file", "target": "src/constants/Validations.ts" } ] } ] }